Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Takes an AddressId
and returns specific details about that address in
the form of an Address
object.
Synopsis
- data DescribeAddress = DescribeAddress' {}
- newDescribeAddress :: Text -> DescribeAddress
- describeAddress_addressId :: Lens' DescribeAddress Text
- data DescribeAddressResponse = DescribeAddressResponse' {
- address :: Maybe Address
- httpStatus :: Int
- newDescribeAddressResponse :: Int -> DescribeAddressResponse
- describeAddressResponse_address :: Lens' DescribeAddressResponse (Maybe Address)
- describeAddressResponse_httpStatus :: Lens' DescribeAddressResponse Int
Creating a Request
data DescribeAddress Source #
See: newDescribeAddress
smart constructor.
Instances
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.
DescribeAddressResponse' | |
|
Instances
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.
describeAddressResponse_httpStatus :: Lens' DescribeAddressResponse Int Source #
The response's http status code.