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 |
Synopsis
- data ContactDetail = ContactDetail' {
- organizationName :: Maybe Text
- email :: Maybe Text
- state :: Maybe Text
- fax :: Maybe Text
- lastName :: Maybe Text
- extraParams :: Maybe [ExtraParam]
- zipCode :: Maybe Text
- addressLine1 :: Maybe Text
- city :: Maybe Text
- phoneNumber :: Maybe Text
- addressLine2 :: Maybe Text
- firstName :: Maybe Text
- countryCode :: Maybe CountryCode
- contactType :: Maybe ContactType
- newContactDetail :: ContactDetail
- contactDetail_organizationName :: Lens' ContactDetail (Maybe Text)
- contactDetail_email :: Lens' ContactDetail (Maybe Text)
- contactDetail_state :: Lens' ContactDetail (Maybe Text)
- contactDetail_fax :: Lens' ContactDetail (Maybe Text)
- contactDetail_lastName :: Lens' ContactDetail (Maybe Text)
- contactDetail_extraParams :: Lens' ContactDetail (Maybe [ExtraParam])
- contactDetail_zipCode :: Lens' ContactDetail (Maybe Text)
- contactDetail_addressLine1 :: Lens' ContactDetail (Maybe Text)
- contactDetail_city :: Lens' ContactDetail (Maybe Text)
- contactDetail_phoneNumber :: Lens' ContactDetail (Maybe Text)
- contactDetail_addressLine2 :: Lens' ContactDetail (Maybe Text)
- contactDetail_firstName :: Lens' ContactDetail (Maybe Text)
- contactDetail_countryCode :: Lens' ContactDetail (Maybe CountryCode)
- contactDetail_contactType :: Lens' ContactDetail (Maybe ContactType)
Documentation
data ContactDetail Source #
ContactDetail includes the following elements.
See: newContactDetail
smart constructor.
ContactDetail' | |
|
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:organizationName:ContactDetail'
, contactDetail_organizationName
- Name of the organization for contact types other than PERSON
.
$sel:email:ContactDetail'
, contactDetail_email
- Email address of the contact.
$sel:state:ContactDetail'
, contactDetail_state
- The state or province of the contact's city.
$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:lastName:ContactDetail'
, contactDetail_lastName
- Last name of contact.
$sel:extraParams:ContactDetail'
, contactDetail_extraParams
- A list of name-value pairs for parameters required by certain top-level
domains.
$sel:zipCode:ContactDetail'
, contactDetail_zipCode
- The zip or postal code of the contact's address.
$sel:addressLine1:ContactDetail'
, contactDetail_addressLine1
- First line of the contact's address.
$sel:city:ContactDetail'
, contactDetail_city
- The city of the contact's address.
$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:addressLine2:ContactDetail'
, contactDetail_addressLine2
- Second line of contact's address, if any.
$sel:firstName:ContactDetail'
, contactDetail_firstName
- First name of contact.
$sel:countryCode:ContactDetail'
, contactDetail_countryCode
- Code for the country 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, if you specify
PERSON
, you must specifyINDIVIDUAL
for the value ofES_LEGAL_FORM
.
contactDetail_organizationName :: Lens' ContactDetail (Maybe Text) Source #
Name of the organization for contact types other than PERSON
.
contactDetail_email :: Lens' ContactDetail (Maybe Text) Source #
Email address of the contact.
contactDetail_state :: Lens' ContactDetail (Maybe Text) Source #
The state or province of the contact's city.
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_lastName :: Lens' ContactDetail (Maybe Text) Source #
Last name of contact.
contactDetail_extraParams :: Lens' ContactDetail (Maybe [ExtraParam]) Source #
A list of name-value pairs for parameters required by certain top-level domains.
contactDetail_zipCode :: Lens' ContactDetail (Maybe Text) Source #
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_city :: Lens' ContactDetail (Maybe Text) Source #
The city of the contact's address.
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_addressLine2 :: Lens' ContactDetail (Maybe Text) Source #
Second line of contact's address, if any.
contactDetail_firstName :: Lens' ContactDetail (Maybe Text) Source #
First name of contact.
contactDetail_countryCode :: Lens' ContactDetail (Maybe CountryCode) Source #
Code for the country 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, if you specify
PERSON
, you must specifyINDIVIDUAL
for the value ofES_LEGAL_FORM
.