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.DeleteHostKey

Description

Deletes the host key that's specified in the HoskKeyId parameter.

Synopsis

Creating a Request

data DeleteHostKey Source #

See: newDeleteHostKey smart constructor.

Constructors

DeleteHostKey' 

Fields

  • serverId :: Text

    The identifier of the server that contains the host key that you are deleting.

  • hostKeyId :: Text

    The identifier of the host key that you are deleting.

Instances

Instances details
ToJSON DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

ToHeaders DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

ToPath DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

ToQuery DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

AWSRequest DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

Associated Types

type AWSResponse DeleteHostKey #

Generic DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

Associated Types

type Rep DeleteHostKey :: Type -> Type #

Read DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

Show DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

NFData DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

Methods

rnf :: DeleteHostKey -> () #

Eq DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

Hashable DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

type AWSResponse DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

type Rep DeleteHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

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

newDeleteHostKey Source #

Create a value of DeleteHostKey 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:

DeleteHostKey, deleteHostKey_serverId - The identifier of the server that contains the host key that you are deleting.

DeleteHostKey, deleteHostKey_hostKeyId - The identifier of the host key that you are deleting.

Request Lenses

deleteHostKey_serverId :: Lens' DeleteHostKey Text Source #

The identifier of the server that contains the host key that you are deleting.

deleteHostKey_hostKeyId :: Lens' DeleteHostKey Text Source #

The identifier of the host key that you are deleting.

Destructuring the Response

data DeleteHostKeyResponse Source #

See: newDeleteHostKeyResponse smart constructor.

Instances

Instances details
Generic DeleteHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

Associated Types

type Rep DeleteHostKeyResponse :: Type -> Type #

Read DeleteHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

Show DeleteHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

NFData DeleteHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

Methods

rnf :: DeleteHostKeyResponse -> () #

Eq DeleteHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

type Rep DeleteHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DeleteHostKey

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

newDeleteHostKeyResponse :: DeleteHostKeyResponse Source #

Create a value of DeleteHostKeyResponse with all optional fields omitted.

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