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 |
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.
DeleteAgreement' | |
|
Instances
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.
Instances
Generic DeleteAgreementResponse Source # | |
Defined in Amazonka.Transfer.DeleteAgreement type Rep DeleteAgreementResponse :: Type -> Type # | |
Read DeleteAgreementResponse Source # | |
Show DeleteAgreementResponse Source # | |
Defined in Amazonka.Transfer.DeleteAgreement showsPrec :: Int -> DeleteAgreementResponse -> ShowS # show :: DeleteAgreementResponse -> String # showList :: [DeleteAgreementResponse] -> ShowS # | |
NFData DeleteAgreementResponse Source # | |
Defined in Amazonka.Transfer.DeleteAgreement rnf :: DeleteAgreementResponse -> () # | |
Eq DeleteAgreementResponse Source # | |
Defined in Amazonka.Transfer.DeleteAgreement | |
type Rep DeleteAgreementResponse Source # | |
newDeleteAgreementResponse :: DeleteAgreementResponse Source #
Create a value of DeleteAgreementResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.