amazonka-route53-domains-2.0: Amazon Route 53 Domains SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53Domains.Types.ContactDetail

Description

 
Synopsis

Documentation

data ContactDetail Source #

ContactDetail includes the following elements.

See: newContactDetail smart constructor.

Constructors

ContactDetail' 

Fields

  • addressLine1 :: Maybe Text

    First line of the contact's address.

  • addressLine2 :: Maybe Text

    Second line of contact's address, if any.

  • city :: Maybe Text

    The city of the contact's address.

  • contactType :: Maybe 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 for OrganizationName.
    • 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 ContactType must be PERSON for all three contacts.
  • countryCode :: Maybe CountryCode

    Code for the country of the contact's address.

  • email :: Maybe Text

    Email address of the contact.

  • extraParams :: Maybe [ExtraParam]

    A list of name-value pairs for parameters required by certain top-level domains.

  • fax :: Maybe Text

    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".

  • firstName :: Maybe Text

    First name of contact.

  • lastName :: Maybe Text

    Last name of contact.

  • organizationName :: Maybe Text

    Name of the organization for contact types other than PERSON.

  • phoneNumber :: Maybe Text

    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".

  • state :: Maybe Text

    The state or province of the contact's city.

  • zipCode :: Maybe Text

    The zip or postal code of the contact's address.

Instances

Instances details
FromJSON ContactDetail Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.ContactDetail

ToJSON ContactDetail Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.ContactDetail

Generic ContactDetail Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.ContactDetail

Associated Types

type Rep ContactDetail :: Type -> Type #

Show ContactDetail Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.ContactDetail

NFData ContactDetail Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.ContactDetail

Methods

rnf :: ContactDetail -> () #

Eq ContactDetail Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.ContactDetail

Hashable ContactDetail Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.ContactDetail

type Rep ContactDetail Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.ContactDetail

type Rep ContactDetail = D1 ('MetaData "ContactDetail" "Amazonka.Route53Domains.Types.ContactDetail" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "ContactDetail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "addressLine1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "addressLine2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "city") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "contactType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContactType)) :*: S1 ('MetaSel ('Just "countryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CountryCode))) :*: (S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "extraParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExtraParam]))))) :*: ((S1 ('MetaSel ('Just "fax") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "firstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "organizationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "zipCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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 for OrganizationName.
  • 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 ContactType must be PERSON for 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 for OrganizationName.
  • 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 ContactType must be PERSON for 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_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.