Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
In a management account, an environment account connection request is accepted. When the environment account connection request is accepted, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
For more information, see Environment account connections in the AWS Proton Administrator guide.
Synopsis
- data AcceptEnvironmentAccountConnection = AcceptEnvironmentAccountConnection' {}
- newAcceptEnvironmentAccountConnection :: Text -> AcceptEnvironmentAccountConnection
- acceptEnvironmentAccountConnection_id :: Lens' AcceptEnvironmentAccountConnection Text
- data AcceptEnvironmentAccountConnectionResponse = AcceptEnvironmentAccountConnectionResponse' {}
- newAcceptEnvironmentAccountConnectionResponse :: Int -> EnvironmentAccountConnection -> AcceptEnvironmentAccountConnectionResponse
- acceptEnvironmentAccountConnectionResponse_httpStatus :: Lens' AcceptEnvironmentAccountConnectionResponse Int
- acceptEnvironmentAccountConnectionResponse_environmentAccountConnection :: Lens' AcceptEnvironmentAccountConnectionResponse EnvironmentAccountConnection
Creating a Request
data AcceptEnvironmentAccountConnection Source #
See: newAcceptEnvironmentAccountConnection
smart constructor.
Instances
newAcceptEnvironmentAccountConnection Source #
Create a value of AcceptEnvironmentAccountConnection
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:id:AcceptEnvironmentAccountConnection'
, acceptEnvironmentAccountConnection_id
- The ID of the environment account connection.
Request Lenses
acceptEnvironmentAccountConnection_id :: Lens' AcceptEnvironmentAccountConnection Text Source #
The ID of the environment account connection.
Destructuring the Response
data AcceptEnvironmentAccountConnectionResponse Source #
See: newAcceptEnvironmentAccountConnectionResponse
smart constructor.
AcceptEnvironmentAccountConnectionResponse' | |
|
Instances
newAcceptEnvironmentAccountConnectionResponse Source #
:: Int | |
-> EnvironmentAccountConnection |
|
-> AcceptEnvironmentAccountConnectionResponse |
Create a value of AcceptEnvironmentAccountConnectionResponse
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:AcceptEnvironmentAccountConnectionResponse'
, acceptEnvironmentAccountConnectionResponse_httpStatus
- The response's http status code.
$sel:environmentAccountConnection:AcceptEnvironmentAccountConnectionResponse'
, acceptEnvironmentAccountConnectionResponse_environmentAccountConnection
- The environment account connection data that's returned by AWS Proton.
Response Lenses
acceptEnvironmentAccountConnectionResponse_httpStatus :: Lens' AcceptEnvironmentAccountConnectionResponse Int Source #
The response's http status code.
acceptEnvironmentAccountConnectionResponse_environmentAccountConnection :: Lens' AcceptEnvironmentAccountConnectionResponse EnvironmentAccountConnection Source #
The environment account connection data that's returned by AWS Proton.