| 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.Transfer.DeleteAgreement
Description
Delete the agreement that's specified in the provided AgreementId.
Synopsis
- data DeleteAgreement = DeleteAgreement' {
- agreementId :: Text
- serverId :: Text
- newDeleteAgreement :: Text -> Text -> DeleteAgreement
- deleteAgreement_agreementId :: Lens' DeleteAgreement Text
- deleteAgreement_serverId :: Lens' DeleteAgreement Text
- data DeleteAgreementResponse = DeleteAgreementResponse' {
- newDeleteAgreementResponse :: DeleteAgreementResponse
Creating a Request
data DeleteAgreement Source #
See: newDeleteAgreement smart constructor.
Constructors
| DeleteAgreement' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteAgreement |
Create a value of DeleteAgreement 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:
DeleteAgreement, deleteAgreement_agreementId - A unique identifier for the agreement. This identifier is returned when
you create an agreement.
DeleteAgreement, deleteAgreement_serverId - The server identifier associated with the agreement that you are
deleting.
Request Lenses
deleteAgreement_agreementId :: Lens' DeleteAgreement Text Source #
A unique identifier for the agreement. This identifier is returned when you create an agreement.
deleteAgreement_serverId :: Lens' DeleteAgreement Text Source #
The server identifier associated with the agreement that you are deleting.
Destructuring the Response
data DeleteAgreementResponse Source #
See: newDeleteAgreementResponse smart constructor.
Constructors
| DeleteAgreementResponse' | |
Instances
newDeleteAgreementResponse :: DeleteAgreementResponse Source #
Create a value of DeleteAgreementResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.