| 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 | 
Amazonka.SageMaker.DeleteAssociation
Description
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' {
- destinationArn :: Maybe Text
 - sourceArn :: Maybe Text
 - httpStatus :: Int
 
 - newDeleteAssociationResponse :: Int -> DeleteAssociationResponse
 - deleteAssociationResponse_destinationArn :: Lens' DeleteAssociationResponse (Maybe Text)
 - deleteAssociationResponse_sourceArn :: Lens' DeleteAssociationResponse (Maybe Text)
 - deleteAssociationResponse_httpStatus :: Lens' DeleteAssociationResponse Int
 
Creating a Request
data DeleteAssociation Source #
See: newDeleteAssociation smart constructor.
Constructors
| DeleteAssociation' | |
Fields 
  | |
Instances
Arguments
| :: 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:
DeleteAssociation, deleteAssociation_sourceArn - The ARN of the source.
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.
Constructors
| DeleteAssociationResponse' | |
Fields 
  | |
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:
DeleteAssociation, deleteAssociationResponse_destinationArn - The Amazon Resource Name (ARN) of the destination.
DeleteAssociation, deleteAssociationResponse_sourceArn - The ARN of the source.
$sel:httpStatus:DeleteAssociationResponse', deleteAssociationResponse_httpStatus - The response's http status code.
Response Lenses
deleteAssociationResponse_destinationArn :: Lens' DeleteAssociationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the destination.
deleteAssociationResponse_sourceArn :: Lens' DeleteAssociationResponse (Maybe Text) Source #
The ARN of the source.
deleteAssociationResponse_httpStatus :: Lens' DeleteAssociationResponse Int Source #
The response's http status code.