| 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 |
Amazonka.Route53Domains.Types.ContactDetail
Description
Synopsis
- data ContactDetail = ContactDetail' {
- addressLine1 :: Maybe Text
- addressLine2 :: Maybe Text
- city :: Maybe Text
- contactType :: Maybe ContactType
- countryCode :: Maybe CountryCode
- email :: Maybe Text
- extraParams :: Maybe [ExtraParam]
- fax :: Maybe Text
- firstName :: Maybe Text
- lastName :: Maybe Text
- organizationName :: Maybe Text
- phoneNumber :: Maybe Text
- state :: Maybe Text
- zipCode :: Maybe Text
- newContactDetail :: ContactDetail
- contactDetail_addressLine1 :: Lens' ContactDetail (Maybe Text)
- contactDetail_addressLine2 :: Lens' ContactDetail (Maybe Text)
- contactDetail_city :: Lens' ContactDetail (Maybe Text)
- contactDetail_contactType :: Lens' ContactDetail (Maybe ContactType)
- contactDetail_countryCode :: Lens' ContactDetail (Maybe CountryCode)
- contactDetail_email :: Lens' ContactDetail (Maybe Text)
- contactDetail_extraParams :: Lens' ContactDetail (Maybe [ExtraParam])
- contactDetail_fax :: Lens' ContactDetail (Maybe Text)
- contactDetail_firstName :: Lens' ContactDetail (Maybe Text)
- contactDetail_lastName :: Lens' ContactDetail (Maybe Text)
- contactDetail_organizationName :: Lens' ContactDetail (Maybe Text)
- contactDetail_phoneNumber :: Lens' ContactDetail (Maybe Text)
- contactDetail_state :: Lens' ContactDetail (Maybe Text)
- contactDetail_zipCode :: Lens' ContactDetail (Maybe Text)
Documentation
data ContactDetail Source #
ContactDetail includes the following elements.
See: newContactDetail smart constructor.
Constructors
| ContactDetail' | |
Fields
| |
Instances
newContactDetail :: ContactDetail Source #
Create a value of ContactDetail 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:addressLine1:ContactDetail', contactDetail_addressLine1 - First line of the contact's address.
$sel:addressLine2:ContactDetail', contactDetail_addressLine2 - Second line of contact's address, if any.
$sel:city:ContactDetail', contactDetail_city - The city of the contact's address.
$sel:contactType:ContactDetail', contactDetail_contactType - Indicates whether the contact is a person, company, association, or
public organization. Note the following:
- If you specify a value other than
PERSON, you must also specify a value forOrganizationName. - For some TLDs, the privacy protection available depends on the value
that you specify for
Contact Type. For the privacy protection settings for your TLD, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide - For .es domains, the value of
ContactTypemust bePERSONfor all three contacts.
$sel:countryCode:ContactDetail', contactDetail_countryCode - Code for the country of the contact's address.
$sel:email:ContactDetail', contactDetail_email - Email address of the contact.
$sel:extraParams:ContactDetail', contactDetail_extraParams - A list of name-value pairs for parameters required by certain top-level
domains.
$sel:fax:ContactDetail', contactDetail_fax - Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country
dialing code].[number including any area code]". For example, a US
phone number might appear as "+1.1234567890".
$sel:firstName:ContactDetail', contactDetail_firstName - First name of contact.
$sel:lastName:ContactDetail', contactDetail_lastName - Last name of contact.
$sel:organizationName:ContactDetail', contactDetail_organizationName - Name of the organization for contact types other than PERSON.
$sel:phoneNumber:ContactDetail', contactDetail_phoneNumber - The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country
dialing code].[number including any area code>]". For example, a US
phone number might appear as "+1.1234567890".
$sel:state:ContactDetail', contactDetail_state - The state or province of the contact's city.
$sel:zipCode:ContactDetail', contactDetail_zipCode - The zip or postal code of the contact's address.
contactDetail_addressLine1 :: Lens' ContactDetail (Maybe Text) Source #
First line of the contact's address.
contactDetail_addressLine2 :: Lens' ContactDetail (Maybe Text) Source #
Second line of contact's address, if any.
contactDetail_city :: Lens' ContactDetail (Maybe Text) Source #
The city of the contact's address.
contactDetail_contactType :: Lens' ContactDetail (Maybe ContactType) Source #
Indicates whether the contact is a person, company, association, or public organization. Note the following:
- If you specify a value other than
PERSON, you must also specify a value forOrganizationName. - For some TLDs, the privacy protection available depends on the value
that you specify for
Contact Type. For the privacy protection settings for your TLD, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide - For .es domains, the value of
ContactTypemust bePERSONfor all three contacts.
contactDetail_countryCode :: Lens' ContactDetail (Maybe CountryCode) Source #
Code for the country of the contact's address.
contactDetail_email :: Lens' ContactDetail (Maybe Text) Source #
Email address of the contact.
contactDetail_extraParams :: Lens' ContactDetail (Maybe [ExtraParam]) Source #
A list of name-value pairs for parameters required by certain top-level domains.
contactDetail_fax :: Lens' ContactDetail (Maybe Text) Source #
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country
dialing code].[number including any area code]". For example, a US
phone number might appear as "+1.1234567890".
contactDetail_firstName :: Lens' ContactDetail (Maybe Text) Source #
First name of contact.
contactDetail_lastName :: Lens' ContactDetail (Maybe Text) Source #
Last name of contact.
contactDetail_organizationName :: Lens' ContactDetail (Maybe Text) Source #
Name of the organization for contact types other than PERSON.
contactDetail_phoneNumber :: Lens' ContactDetail (Maybe Text) Source #
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country
dialing code].[number including any area code>]". For example, a US
phone number might appear as "+1.1234567890".
contactDetail_state :: Lens' ContactDetail (Maybe Text) Source #
The state or province of the contact's city.
contactDetail_zipCode :: Lens' ContactDetail (Maybe Text) Source #
The zip or postal code of the contact's address.