Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets the site address of the specified site.
Synopsis
- data GetSiteAddress = GetSiteAddress' {
- siteId :: Text
- addressType :: AddressType
- newGetSiteAddress :: Text -> AddressType -> GetSiteAddress
- getSiteAddress_siteId :: Lens' GetSiteAddress Text
- getSiteAddress_addressType :: Lens' GetSiteAddress AddressType
- data GetSiteAddressResponse = GetSiteAddressResponse' {
- address :: Maybe Address
- addressType :: Maybe AddressType
- siteId :: Maybe Text
- httpStatus :: Int
- newGetSiteAddressResponse :: Int -> GetSiteAddressResponse
- getSiteAddressResponse_address :: Lens' GetSiteAddressResponse (Maybe Address)
- getSiteAddressResponse_addressType :: Lens' GetSiteAddressResponse (Maybe AddressType)
- getSiteAddressResponse_siteId :: Lens' GetSiteAddressResponse (Maybe Text)
- getSiteAddressResponse_httpStatus :: Lens' GetSiteAddressResponse Int
Creating a Request
data GetSiteAddress Source #
See: newGetSiteAddress
smart constructor.
GetSiteAddress' | |
|
Instances
Create a value of GetSiteAddress
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:
GetSiteAddress
, getSiteAddress_siteId
- The ID or the Amazon Resource Name (ARN) of the site.
GetSiteAddress
, getSiteAddress_addressType
- The type of the address you request.
Request Lenses
getSiteAddress_siteId :: Lens' GetSiteAddress Text Source #
The ID or the Amazon Resource Name (ARN) of the site.
getSiteAddress_addressType :: Lens' GetSiteAddress AddressType Source #
The type of the address you request.
Destructuring the Response
data GetSiteAddressResponse Source #
See: newGetSiteAddressResponse
smart constructor.
GetSiteAddressResponse' | |
|
Instances
newGetSiteAddressResponse Source #
Create a value of GetSiteAddressResponse
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:GetSiteAddressResponse'
, getSiteAddressResponse_address
- Information about the address.
GetSiteAddress
, getSiteAddressResponse_addressType
- The type of the address you receive.
GetSiteAddress
, getSiteAddressResponse_siteId
- Undocumented member.
$sel:httpStatus:GetSiteAddressResponse'
, getSiteAddressResponse_httpStatus
- The response's http status code.
Response Lenses
getSiteAddressResponse_address :: Lens' GetSiteAddressResponse (Maybe Address) Source #
Information about the address.
getSiteAddressResponse_addressType :: Lens' GetSiteAddressResponse (Maybe AddressType) Source #
The type of the address you receive.
getSiteAddressResponse_siteId :: Lens' GetSiteAddressResponse (Maybe Text) Source #
Undocumented member.
getSiteAddressResponse_httpStatus :: Lens' GetSiteAddressResponse Int Source #
The response's http status code.