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

Description

Returns the details of the host key that's specified by the HostKeyId and ServerId.

Synopsis

Creating a Request

data DescribeHostKey Source #

See: newDescribeHostKey smart constructor.

Constructors

DescribeHostKey' 

Fields

  • serverId :: Text

    The identifier of the server that contains the host key that you want described.

  • hostKeyId :: Text

    The identifier of the host key that you want described.

Instances

Instances details
ToJSON DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

ToHeaders DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

ToPath DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

ToQuery DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

AWSRequest DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

Associated Types

type AWSResponse DescribeHostKey #

Generic DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

Associated Types

type Rep DescribeHostKey :: Type -> Type #

Read DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

Show DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

NFData DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

Methods

rnf :: DescribeHostKey -> () #

Eq DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

Hashable DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

type AWSResponse DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

type Rep DescribeHostKey Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

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

newDescribeHostKey Source #

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

DescribeHostKey, describeHostKey_serverId - The identifier of the server that contains the host key that you want described.

DescribeHostKey, describeHostKey_hostKeyId - The identifier of the host key that you want described.

Request Lenses

describeHostKey_serverId :: Lens' DescribeHostKey Text Source #

The identifier of the server that contains the host key that you want described.

describeHostKey_hostKeyId :: Lens' DescribeHostKey Text Source #

The identifier of the host key that you want described.

Destructuring the Response

data DescribeHostKeyResponse Source #

See: newDescribeHostKeyResponse smart constructor.

Constructors

DescribeHostKeyResponse' 

Fields

Instances

Instances details
Generic DescribeHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

Associated Types

type Rep DescribeHostKeyResponse :: Type -> Type #

Read DescribeHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

Show DescribeHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

NFData DescribeHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

Methods

rnf :: DescribeHostKeyResponse -> () #

Eq DescribeHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

type Rep DescribeHostKeyResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeHostKey

type Rep DescribeHostKeyResponse = D1 ('MetaData "DescribeHostKeyResponse" "Amazonka.Transfer.DescribeHostKey" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "DescribeHostKeyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "hostKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DescribedHostKey)))

newDescribeHostKeyResponse Source #

Create a value of DescribeHostKeyResponse 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:DescribeHostKeyResponse', describeHostKeyResponse_httpStatus - The response's http status code.

$sel:hostKey:DescribeHostKeyResponse', describeHostKeyResponse_hostKey - Returns the details for the specified host key.

Response Lenses

describeHostKeyResponse_hostKey :: Lens' DescribeHostKeyResponse DescribedHostKey Source #

Returns the details for the specified host key.