Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
In a management account, reject an environment account connection from another environment account.
After you reject an environment account connection request, you can't accept or use the rejected environment account connection.
You can’t reject an environment account connection that's connected to an environment.
For more information, see Environment account connections in the Proton User guide.
Synopsis
- data RejectEnvironmentAccountConnection = RejectEnvironmentAccountConnection' {}
- newRejectEnvironmentAccountConnection :: Text -> RejectEnvironmentAccountConnection
- rejectEnvironmentAccountConnection_id :: Lens' RejectEnvironmentAccountConnection Text
- data RejectEnvironmentAccountConnectionResponse = RejectEnvironmentAccountConnectionResponse' {}
- newRejectEnvironmentAccountConnectionResponse :: Int -> EnvironmentAccountConnection -> RejectEnvironmentAccountConnectionResponse
- rejectEnvironmentAccountConnectionResponse_httpStatus :: Lens' RejectEnvironmentAccountConnectionResponse Int
- rejectEnvironmentAccountConnectionResponse_environmentAccountConnection :: Lens' RejectEnvironmentAccountConnectionResponse EnvironmentAccountConnection
Creating a Request
data RejectEnvironmentAccountConnection Source #
See: newRejectEnvironmentAccountConnection
smart constructor.
Instances
newRejectEnvironmentAccountConnection Source #
Create a value of RejectEnvironmentAccountConnection
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
RejectEnvironmentAccountConnection
, rejectEnvironmentAccountConnection_id
- The ID of the environment account connection to reject.
Request Lenses
rejectEnvironmentAccountConnection_id :: Lens' RejectEnvironmentAccountConnection Text Source #
The ID of the environment account connection to reject.
Destructuring the Response
data RejectEnvironmentAccountConnectionResponse Source #
See: newRejectEnvironmentAccountConnectionResponse
smart constructor.
RejectEnvironmentAccountConnectionResponse' | |
|
Instances
newRejectEnvironmentAccountConnectionResponse Source #
:: Int | |
-> EnvironmentAccountConnection |
|
-> RejectEnvironmentAccountConnectionResponse |
Create a value of RejectEnvironmentAccountConnectionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:RejectEnvironmentAccountConnectionResponse'
, rejectEnvironmentAccountConnectionResponse_httpStatus
- The response's http status code.
$sel:environmentAccountConnection:RejectEnvironmentAccountConnectionResponse'
, rejectEnvironmentAccountConnectionResponse_environmentAccountConnection
- The environment connection account detail data that's returned by
Proton.
Response Lenses
rejectEnvironmentAccountConnectionResponse_httpStatus :: Lens' RejectEnvironmentAccountConnectionResponse Int Source #
The response's http status code.
rejectEnvironmentAccountConnectionResponse_environmentAccountConnection :: Lens' RejectEnvironmentAccountConnectionResponse EnvironmentAccountConnection Source #
The environment connection account detail data that's returned by Proton.