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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb

Overview

Note:

When making an API call, you may pass ContactDetail data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#address_line_1String

First line of the contact's address.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#address_line_2String

Second line of contact's address, if any.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#cityString

The city of the contact's address.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

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

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#country_codeString

Code for the country of the contact's address.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#emailString

Email address of the contact.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#extra_paramsArray<Types::ExtraParam>

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

Returns:



291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#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)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#first_nameString

First name of contact.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#last_nameString

Last name of contact.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#organization_nameString

Name of the organization for contact types other than PERSON.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#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)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#stateString

The state or province of the contact's city.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end

#zip_codeString

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

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 291

class ContactDetail < Struct.new(
  :first_name,
  :last_name,
  :contact_type,
  :organization_name,
  :address_line_1,
  :address_line_2,
  :city,
  :state,
  :country_code,
  :zip_code,
  :phone_number,
  :email,
  :fax,
  :extra_params)
  include Aws::Structure
end