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 |
Amazonka.AppIntegrationS.DeleteDataIntegration
Description
Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
Synopsis
- data DeleteDataIntegration = DeleteDataIntegration' {}
- newDeleteDataIntegration :: Text -> DeleteDataIntegration
- deleteDataIntegration_dataIntegrationIdentifier :: Lens' DeleteDataIntegration Text
- data DeleteDataIntegrationResponse = DeleteDataIntegrationResponse' {
- httpStatus :: Int
- newDeleteDataIntegrationResponse :: Int -> DeleteDataIntegrationResponse
- deleteDataIntegrationResponse_httpStatus :: Lens' DeleteDataIntegrationResponse Int
Creating a Request
data DeleteDataIntegration Source #
See: newDeleteDataIntegration
smart constructor.
Constructors
DeleteDataIntegration' | |
Fields
|
Instances
newDeleteDataIntegration Source #
Create a value of DeleteDataIntegration
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:dataIntegrationIdentifier:DeleteDataIntegration'
, deleteDataIntegration_dataIntegrationIdentifier
- A unique identifier for the DataIntegration.
Request Lenses
deleteDataIntegration_dataIntegrationIdentifier :: Lens' DeleteDataIntegration Text Source #
A unique identifier for the DataIntegration.
Destructuring the Response
data DeleteDataIntegrationResponse Source #
See: newDeleteDataIntegrationResponse
smart constructor.
Constructors
DeleteDataIntegrationResponse' | |
Fields
|
Instances
newDeleteDataIntegrationResponse Source #
Create a value of DeleteDataIntegrationResponse
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:DeleteDataIntegrationResponse'
, deleteDataIntegrationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDataIntegrationResponse_httpStatus :: Lens' DeleteDataIntegrationResponse Int Source #
The response's http status code.