You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53Domains::Types::ContactDetail

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ContactDetail as input to an Aws::Client method, you can use a vanilla Hash:

{
  first_name: "ContactName",
  last_name: "ContactName",
  contact_type: "PERSON", # accepts PERSON, COMPANY, ASSOCIATION, PUBLIC_BODY, RESELLER
  organization_name: "ContactName",
  address_line_1: "AddressLine",
  address_line_2: "AddressLine",
  city: "City",
  state: "State",
  country_code: "AD", # accepts AD, AE, AF, AG, AI, AL, AM, AN, AO, AQ, AR, AS, AT, AU, AW, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BR, BS, BT, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GH, GI, GL, GM, GN, GQ, GR, GT, GU, GW, GY, HK, HN, HR, HT, HU, ID, IE, IL, IM, IN, IQ, IR, IS, IT, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PT, PW, PY, QA, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SK, SL, SM, SN, SO, SR, ST, SV, SY, SZ, TC, TD, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, YT, ZA, ZM, ZW
  zip_code: "ZipCode",
  phone_number: "ContactNumber",
  email: "Email",
  fax: "ContactNumber",
  extra_params: [
    {
      name: "DUNS_NUMBER", # required, accepts DUNS_NUMBER, BRAND_NUMBER, BIRTH_DEPARTMENT, BIRTH_DATE_IN_YYYY_MM_DD, BIRTH_COUNTRY, BIRTH_CITY, DOCUMENT_NUMBER, AU_ID_NUMBER, AU_ID_TYPE, CA_LEGAL_TYPE, CA_BUSINESS_ENTITY_TYPE, ES_IDENTIFICATION, ES_IDENTIFICATION_TYPE, ES_LEGAL_FORM, FI_BUSINESS_NUMBER, FI_ID_NUMBER, FI_NATIONALITY, FI_ORGANIZATION_TYPE, IT_PIN, IT_REGISTRANT_ENTITY_TYPE, RU_PASSPORT_DATA, SE_ID_NUMBER, SG_ID_NUMBER, VAT_NUMBER, UK_CONTACT_TYPE, UK_COMPANY_NUMBER
      value: "ExtraParamValue", # required
    },
  ],
}

ContactDetail includes the following elements.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#address_line_1String

First line of the contact\'s address.

Returns:

  • (String)

    First line of the contact\'s address.

#address_line_2String

Second line of contact\'s address, if any.

Returns:

  • (String)

    Second line of contact\'s address, if any.

#cityString

The city of the contact\'s address.

Returns:

  • (String)

    The city of the contact\'s address.

#contact_typeString

Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON, you must enter an organization name, and you can\'t enable privacy protection for the contact.

Possible values:

  • PERSON
  • COMPANY
  • ASSOCIATION
  • PUBLIC_BODY
  • RESELLER

Returns:

  • (String)

    Indicates whether the contact is a person, company, association, or public organization.

#country_codeString

Code for the country of the contact\'s address.

Possible values:

  • AD
  • AE
  • AF
  • AG
  • AI
  • AL
  • AM
  • AN
  • AO
  • AQ
  • AR
  • AS
  • AT
  • AU
  • AW
  • AZ
  • BA
  • BB
  • BD
  • BE
  • BF
  • BG
  • BH
  • BI
  • BJ
  • BL
  • BM
  • BN
  • BO
  • BR
  • BS
  • BT
  • BW
  • BY
  • BZ
  • CA
  • CC
  • CD
  • CF
  • CG
  • CH
  • CI
  • CK
  • CL
  • CM
  • CN
  • CO
  • CR
  • CU
  • CV
  • CX
  • CY
  • CZ
  • DE
  • DJ
  • DK
  • DM
  • DO
  • DZ
  • EC
  • EE
  • EG
  • ER
  • ES
  • ET
  • FI
  • FJ
  • FK
  • FM
  • FO
  • FR
  • GA
  • GB
  • GD
  • GE
  • GH
  • GI
  • GL
  • GM
  • GN
  • GQ
  • GR
  • GT
  • GU
  • GW
  • GY
  • HK
  • HN
  • HR
  • HT
  • HU
  • ID
  • IE
  • IL
  • IM
  • IN
  • IQ
  • IR
  • IS
  • IT
  • JM
  • JO
  • JP
  • KE
  • KG
  • KH
  • KI
  • KM
  • KN
  • KP
  • KR
  • KW
  • KY
  • KZ
  • LA
  • LB
  • LC
  • LI
  • LK
  • LR
  • LS
  • LT
  • LU
  • LV
  • LY
  • MA
  • MC
  • MD
  • ME
  • MF
  • MG
  • MH
  • MK
  • ML
  • MM
  • MN
  • MO
  • MP
  • MR
  • MS
  • MT
  • MU
  • MV
  • MW
  • MX
  • MY
  • MZ
  • NA
  • NC
  • NE
  • NG
  • NI
  • NL
  • NO
  • NP
  • NR
  • NU
  • NZ
  • OM
  • PA
  • PE
  • PF
  • PG
  • PH
  • PK
  • PL
  • PM
  • PN
  • PR
  • PT
  • PW
  • PY
  • QA
  • RO
  • RS
  • RU
  • RW
  • SA
  • SB
  • SC
  • SD
  • SE
  • SG
  • SH
  • SI
  • SK
  • SL
  • SM
  • SN
  • SO
  • SR
  • ST
  • SV
  • SY
  • SZ
  • TC
  • TD
  • TG
  • TH
  • TJ
  • TK
  • TL
  • TM
  • TN
  • TO
  • TR
  • TT
  • TV
  • TW
  • TZ
  • UA
  • UG
  • US
  • UY
  • UZ
  • VA
  • VC
  • VE
  • VG
  • VI
  • VN
  • VU
  • WF
  • WS
  • YE
  • YT
  • ZA
  • ZM
  • ZW

Returns:

  • (String)

    Code for the country of the contact\'s address.

#emailString

Email address of the contact.

Returns:

  • (String)

    Email address of the contact.

#extra_paramsArray<Types::ExtraParam>

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

Returns:

  • (Array<Types::ExtraParam>)

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

#faxString

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

Returns:

  • (String)

    Fax number of the contact.

#first_nameString

First name of contact.

Returns:

  • (String)

    First name of contact.

#last_nameString

Last name of contact.

Returns:

  • (String)

    Last name of contact.

#organization_nameString

Name of the organization for contact types other than PERSON.

Returns:

  • (String)

    Name of the organization for contact types other than PERSON.

#phone_numberString

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

Returns:

  • (String)

    The phone number of the contact.

#stateString

The state or province of the contact\'s city.

Returns:

  • (String)

    The state or province of the contact\'s city.

#zip_codeString

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

Returns:

  • (String)

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