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 |
Deletes an association.
Synopsis
- data DeleteAssociation = DeleteAssociation' {
- sourceArn :: Text
- destinationArn :: Text
- newDeleteAssociation :: Text -> Text -> DeleteAssociation
- deleteAssociation_sourceArn :: Lens' DeleteAssociation Text
- deleteAssociation_destinationArn :: Lens' DeleteAssociation Text
- data DeleteAssociationResponse = DeleteAssociationResponse' {
- sourceArn :: Maybe Text
- destinationArn :: Maybe Text
- httpStatus :: Int
- newDeleteAssociationResponse :: Int -> DeleteAssociationResponse
- deleteAssociationResponse_sourceArn :: Lens' DeleteAssociationResponse (Maybe Text)
- deleteAssociationResponse_destinationArn :: Lens' DeleteAssociationResponse (Maybe Text)
- deleteAssociationResponse_httpStatus :: Lens' DeleteAssociationResponse Int
Creating a Request
data DeleteAssociation Source #
See: newDeleteAssociation
smart constructor.
DeleteAssociation' | |
|
Instances
:: Text | |
-> Text | |
-> DeleteAssociation |
Create a value of DeleteAssociation
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:sourceArn:DeleteAssociation'
, deleteAssociation_sourceArn
- The ARN of the source.
$sel:destinationArn:DeleteAssociation'
, deleteAssociation_destinationArn
- The Amazon Resource Name (ARN) of the destination.
Request Lenses
deleteAssociation_sourceArn :: Lens' DeleteAssociation Text Source #
The ARN of the source.
deleteAssociation_destinationArn :: Lens' DeleteAssociation Text Source #
The Amazon Resource Name (ARN) of the destination.
Destructuring the Response
data DeleteAssociationResponse Source #
See: newDeleteAssociationResponse
smart constructor.
DeleteAssociationResponse' | |
|
Instances
newDeleteAssociationResponse Source #
Create a value of DeleteAssociationResponse
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:sourceArn:DeleteAssociation'
, deleteAssociationResponse_sourceArn
- The ARN of the source.
$sel:destinationArn:DeleteAssociation'
, deleteAssociationResponse_destinationArn
- The Amazon Resource Name (ARN) of the destination.
$sel:httpStatus:DeleteAssociationResponse'
, deleteAssociationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAssociationResponse_sourceArn :: Lens' DeleteAssociationResponse (Maybe Text) Source #
The ARN of the source.
deleteAssociationResponse_destinationArn :: Lens' DeleteAssociationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the destination.
deleteAssociationResponse_httpStatus :: Lens' DeleteAssociationResponse Int Source #
The response's http status code.