amazonka-snowball-2.0: Amazon Import/Export Snowball 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.Snowball.DescribeAddress

Description

Takes an AddressId and returns specific details about that address in the form of an Address object.

Synopsis

Creating a Request

data DescribeAddress Source #

See: newDescribeAddress smart constructor.

Constructors

DescribeAddress' 

Fields

  • addressId :: Text

    The automatically generated ID for a specific address.

Instances

Instances details
ToJSON DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

ToHeaders DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

ToPath DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

ToQuery DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

AWSRequest DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Associated Types

type AWSResponse DescribeAddress #

Generic DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Associated Types

type Rep DescribeAddress :: Type -> Type #

Read DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Show DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

NFData DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Methods

rnf :: DescribeAddress -> () #

Eq DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Hashable DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

type AWSResponse DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

type Rep DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

type Rep DescribeAddress = D1 ('MetaData "DescribeAddress" "Amazonka.Snowball.DescribeAddress" "amazonka-snowball-2.0-6vnXQdr1CFv4zLyXDWX7zH" 'False) (C1 ('MetaCons "DescribeAddress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "addressId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeAddress Source #

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

DescribeAddress, describeAddress_addressId - The automatically generated ID for a specific address.

Request Lenses

describeAddress_addressId :: Lens' DescribeAddress Text Source #

The automatically generated ID for a specific address.

Destructuring the Response

data DescribeAddressResponse Source #

See: newDescribeAddressResponse smart constructor.

Constructors

DescribeAddressResponse' 

Fields

  • address :: Maybe Address

    The address that you want the Snow device(s) associated with a specific job to be shipped to.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Associated Types

type Rep DescribeAddressResponse :: Type -> Type #

Read DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Show DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

NFData DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Methods

rnf :: DescribeAddressResponse -> () #

Eq DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

type Rep DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

type Rep DescribeAddressResponse = D1 ('MetaData "DescribeAddressResponse" "Amazonka.Snowball.DescribeAddress" "amazonka-snowball-2.0-6vnXQdr1CFv4zLyXDWX7zH" 'False) (C1 ('MetaCons "DescribeAddressResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Address)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeAddressResponse Source #

Create a value of DescribeAddressResponse 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:address:DescribeAddressResponse', describeAddressResponse_address - The address that you want the Snow device(s) associated with a specific job to be shipped to.

$sel:httpStatus:DescribeAddressResponse', describeAddressResponse_httpStatus - The response's http status code.

Response Lenses

describeAddressResponse_address :: Lens' DescribeAddressResponse (Maybe Address) Source #

The address that you want the Snow device(s) associated with a specific job to be shipped to.