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 an environment account, delete an environment account connection.
After you delete an environment account connection that’s in use by an AWS Proton environment, AWS Proton can’t manage the environment infrastructure resources until a new environment account connection is accepted for the environment account and associated environment. You're responsible for cleaning up provisioned resources that remain without an environment connection.
For more information, see Environment account connections in the AWS Proton Administrator guide.
Synopsis
- data DeleteEnvironmentAccountConnection = DeleteEnvironmentAccountConnection' {}
- newDeleteEnvironmentAccountConnection :: Text -> DeleteEnvironmentAccountConnection
- deleteEnvironmentAccountConnection_id :: Lens' DeleteEnvironmentAccountConnection Text
- data DeleteEnvironmentAccountConnectionResponse = DeleteEnvironmentAccountConnectionResponse' {}
- newDeleteEnvironmentAccountConnectionResponse :: Int -> DeleteEnvironmentAccountConnectionResponse
- deleteEnvironmentAccountConnectionResponse_environmentAccountConnection :: Lens' DeleteEnvironmentAccountConnectionResponse (Maybe EnvironmentAccountConnection)
- deleteEnvironmentAccountConnectionResponse_httpStatus :: Lens' DeleteEnvironmentAccountConnectionResponse Int
Creating a Request
data DeleteEnvironmentAccountConnection Source #
See: newDeleteEnvironmentAccountConnection
smart constructor.
Instances
newDeleteEnvironmentAccountConnection Source #
Create a value of DeleteEnvironmentAccountConnection
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:DeleteEnvironmentAccountConnection'
, deleteEnvironmentAccountConnection_id
- The ID of the environment account connection to delete.
Request Lenses
deleteEnvironmentAccountConnection_id :: Lens' DeleteEnvironmentAccountConnection Text Source #
The ID of the environment account connection to delete.
Destructuring the Response
data DeleteEnvironmentAccountConnectionResponse Source #
See: newDeleteEnvironmentAccountConnectionResponse
smart constructor.
DeleteEnvironmentAccountConnectionResponse' | |
|
Instances
newDeleteEnvironmentAccountConnectionResponse Source #
Create a value of DeleteEnvironmentAccountConnectionResponse
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:environmentAccountConnection:DeleteEnvironmentAccountConnectionResponse'
, deleteEnvironmentAccountConnectionResponse_environmentAccountConnection
- The environment account connection detail data that's returned by AWS
Proton.
$sel:httpStatus:DeleteEnvironmentAccountConnectionResponse'
, deleteEnvironmentAccountConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEnvironmentAccountConnectionResponse_environmentAccountConnection :: Lens' DeleteEnvironmentAccountConnectionResponse (Maybe EnvironmentAccountConnection) Source #
The environment account connection detail data that's returned by AWS Proton.
deleteEnvironmentAccountConnectionResponse_httpStatus :: Lens' DeleteEnvironmentAccountConnectionResponse Int Source #
The response's http status code.