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 |
Synopsis
- data ContactInformation = ContactInformation' {
- addressLine2 :: Maybe (Sensitive Text)
- addressLine3 :: Maybe (Sensitive Text)
- companyName :: Maybe (Sensitive Text)
- districtOrCounty :: Maybe (Sensitive Text)
- stateOrRegion :: Maybe (Sensitive Text)
- websiteUrl :: Maybe (Sensitive Text)
- addressLine1 :: Sensitive Text
- city :: Sensitive Text
- countryCode :: Sensitive Text
- fullName :: Sensitive Text
- phoneNumber :: Sensitive Text
- postalCode :: Sensitive Text
- newContactInformation :: Text -> Text -> Text -> Text -> Text -> Text -> ContactInformation
- contactInformation_addressLine2 :: Lens' ContactInformation (Maybe Text)
- contactInformation_addressLine3 :: Lens' ContactInformation (Maybe Text)
- contactInformation_companyName :: Lens' ContactInformation (Maybe Text)
- contactInformation_districtOrCounty :: Lens' ContactInformation (Maybe Text)
- contactInformation_stateOrRegion :: Lens' ContactInformation (Maybe Text)
- contactInformation_websiteUrl :: Lens' ContactInformation (Maybe Text)
- contactInformation_addressLine1 :: Lens' ContactInformation Text
- contactInformation_city :: Lens' ContactInformation Text
- contactInformation_countryCode :: Lens' ContactInformation Text
- contactInformation_fullName :: Lens' ContactInformation Text
- contactInformation_phoneNumber :: Lens' ContactInformation Text
- contactInformation_postalCode :: Lens' ContactInformation Text
Documentation
data ContactInformation Source #
Contains the details of the primary contact information associated with an Amazon Web Services account.
See: newContactInformation
smart constructor.
ContactInformation' | |
|
Instances
newContactInformation Source #
Create a value of ContactInformation
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:addressLine2:ContactInformation'
, contactInformation_addressLine2
- The second line of the primary contact address, if any.
$sel:addressLine3:ContactInformation'
, contactInformation_addressLine3
- The third line of the primary contact address, if any.
$sel:companyName:ContactInformation'
, contactInformation_companyName
- The name of the company associated with the primary contact information,
if any.
$sel:districtOrCounty:ContactInformation'
, contactInformation_districtOrCounty
- The district or county of the primary contact address, if any.
$sel:stateOrRegion:ContactInformation'
, contactInformation_stateOrRegion
- The state or region of the primary contact address. This field is
required in selected countries.
$sel:websiteUrl:ContactInformation'
, contactInformation_websiteUrl
- The URL of the website associated with the primary contact information,
if any.
$sel:addressLine1:ContactInformation'
, contactInformation_addressLine1
- The first line of the primary contact address.
$sel:city:ContactInformation'
, contactInformation_city
- The city of the primary contact address.
$sel:countryCode:ContactInformation'
, contactInformation_countryCode
- The ISO-3166 two-letter country code for the primary contact address.
$sel:fullName:ContactInformation'
, contactInformation_fullName
- The full name of the primary contact address.
$sel:phoneNumber:ContactInformation'
, contactInformation_phoneNumber
- The phone number of the primary contact information. The number will be
validated and, in some countries, checked for activation.
$sel:postalCode:ContactInformation'
, contactInformation_postalCode
- The postal code of the primary contact address.
contactInformation_addressLine2 :: Lens' ContactInformation (Maybe Text) Source #
The second line of the primary contact address, if any.
contactInformation_addressLine3 :: Lens' ContactInformation (Maybe Text) Source #
The third line of the primary contact address, if any.
contactInformation_companyName :: Lens' ContactInformation (Maybe Text) Source #
The name of the company associated with the primary contact information, if any.
contactInformation_districtOrCounty :: Lens' ContactInformation (Maybe Text) Source #
The district or county of the primary contact address, if any.
contactInformation_stateOrRegion :: Lens' ContactInformation (Maybe Text) Source #
The state or region of the primary contact address. This field is required in selected countries.
contactInformation_websiteUrl :: Lens' ContactInformation (Maybe Text) Source #
The URL of the website associated with the primary contact information, if any.
contactInformation_addressLine1 :: Lens' ContactInformation Text Source #
The first line of the primary contact address.
contactInformation_city :: Lens' ContactInformation Text Source #
The city of the primary contact address.
contactInformation_countryCode :: Lens' ContactInformation Text Source #
The ISO-3166 two-letter country code for the primary contact address.
contactInformation_fullName :: Lens' ContactInformation Text Source #
The full name of the primary contact address.
contactInformation_phoneNumber :: Lens' ContactInformation Text Source #
The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
contactInformation_postalCode :: Lens' ContactInformation Text Source #
The postal code of the primary contact address.