amazonka-transfer-2.0: Amazon Transfer Family SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Transfer.DeleteAgreement

Description

Delete the agreement that's specified in the provided AgreementId.

Synopsis

Creating a Request

data DeleteAgreement Source #

See: newDeleteAgreement smart constructor.

Constructors

DeleteAgreement' 

Fields

  • agreementId :: Text

    A unique identifier for the agreement. This identifier is returned when you create an agreement.

  • serverId :: Text

    The server identifier associated with the agreement that you are deleting.

Instances

Instances details
ToJSON DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

ToHeaders DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

ToPath DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

ToQuery DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

AWSRequest DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

Associated Types

type AWSResponse DeleteAgreement #

Generic DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

Associated Types

type Rep DeleteAgreement :: Type -> Type #

Read DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

Show DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

NFData DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

Methods

rnf :: DeleteAgreement -> () #

Eq DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

Hashable DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

type AWSResponse DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

type Rep DeleteAgreement Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

type Rep DeleteAgreement = D1 ('MetaData "DeleteAgreement" "Amazonka.Transfer.DeleteAgreement" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "DeleteAgreement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "agreementId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "serverId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteAgreement Source #

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

Instances details
Generic DeleteAgreementResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

Associated Types

type Rep DeleteAgreementResponse :: Type -> Type #

Read DeleteAgreementResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

Show DeleteAgreementResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

NFData DeleteAgreementResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

Methods

rnf :: DeleteAgreementResponse -> () #

Eq DeleteAgreementResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

type Rep DeleteAgreementResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteAgreement

type Rep DeleteAgreementResponse = D1 ('MetaData "DeleteAgreementResponse" "Amazonka.Transfer.DeleteAgreement" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "DeleteAgreementResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteAgreementResponse :: DeleteAgreementResponse Source #

Create a value of DeleteAgreementResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.