libZSservicesZSamazonka-snowballZSamazonka-snowball
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Read DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Show DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Generic DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Associated Types

type Rep DescribeAddress :: Type -> Type #

NFData DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Methods

rnf :: DescribeAddress -> () #

Hashable DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

ToJSON DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

AWSRequest DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Associated Types

type AWSResponse 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

type Rep DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

type Rep DescribeAddress = D1 ('MetaData "DescribeAddress" "Amazonka.Snowball.DescribeAddress" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "DescribeAddress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "addressId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeAddress Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

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:

$sel:addressId: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
Eq DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Read DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Show DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Generic DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Associated Types

type Rep DescribeAddressResponse :: Type -> Type #

NFData DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

Methods

rnf :: DescribeAddressResponse -> () #

type Rep DescribeAddressResponse Source # 
Instance details

Defined in Amazonka.Snowball.DescribeAddress

type Rep DescribeAddressResponse = D1 ('MetaData "DescribeAddressResponse" "Amazonka.Snowball.DescribeAddress" "libZSservicesZSamazonka-snowballZSamazonka-snowball" '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.