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

Class: Aws::Route53Domains::Types::RegisterDomainRequest

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 RegisterDomainRequest data as a hash:

{
  domain_name: "DomainName", # required
  idn_lang_code: "LangCode",
  duration_in_years: 1, # required
  auto_renew: false,
  admin_contact: { # required
    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
      },
    ],
  },
  registrant_contact: { # required
    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
      },
    ],
  },
  tech_contact: { # required
    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
      },
    ],
  },
  privacy_protect_admin_contact: false,
  privacy_protect_registrant_contact: false,
  privacy_protect_tech_contact: false,
}

The RegisterDomain request includes the following elements.

Instance Attribute Summary collapse

Instance Attribute Details

#admin_contactTypes::ContactDetail

Provides detailed contact information.



1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1306

class RegisterDomainRequest < Struct.new(
  :domain_name,
  :idn_lang_code,
  :duration_in_years,
  :auto_renew,
  :admin_contact,
  :registrant_contact,
  :tech_contact,
  :privacy_protect_admin_contact,
  :privacy_protect_registrant_contact,
  :privacy_protect_tech_contact)
  include Aws::Structure
end

#auto_renewBoolean

Indicates whether the domain will be automatically renewed (true) or not (false). Autorenewal only takes effect after the account is charged.

Default: true

Returns:

  • (Boolean)


1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1306

class RegisterDomainRequest < Struct.new(
  :domain_name,
  :idn_lang_code,
  :duration_in_years,
  :auto_renew,
  :admin_contact,
  :registrant_contact,
  :tech_contact,
  :privacy_protect_admin_contact,
  :privacy_protect_registrant_contact,
  :privacy_protect_tech_contact)
  include Aws::Structure
end

#domain_nameString

The domain name that you want to register.

Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.

Returns:

  • (String)


1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1306

class RegisterDomainRequest < Struct.new(
  :domain_name,
  :idn_lang_code,
  :duration_in_years,
  :auto_renew,
  :admin_contact,
  :registrant_contact,
  :tech_contact,
  :privacy_protect_admin_contact,
  :privacy_protect_registrant_contact,
  :privacy_protect_tech_contact)
  include Aws::Structure
end

#duration_in_yearsInteger

The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

Default: 1

Returns:

  • (Integer)


1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1306

class RegisterDomainRequest < Struct.new(
  :domain_name,
  :idn_lang_code,
  :duration_in_years,
  :auto_renew,
  :admin_contact,
  :registrant_contact,
  :tech_contact,
  :privacy_protect_admin_contact,
  :privacy_protect_registrant_contact,
  :privacy_protect_tech_contact)
  include Aws::Structure
end

#idn_lang_codeString

Reserved for future use.

Returns:

  • (String)


1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1306

class RegisterDomainRequest < Struct.new(
  :domain_name,
  :idn_lang_code,
  :duration_in_years,
  :auto_renew,
  :admin_contact,
  :registrant_contact,
  :tech_contact,
  :privacy_protect_admin_contact,
  :privacy_protect_registrant_contact,
  :privacy_protect_tech_contact)
  include Aws::Structure
end

#privacy_protect_admin_contactBoolean

Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Default: true

Returns:

  • (Boolean)


1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1306

class RegisterDomainRequest < Struct.new(
  :domain_name,
  :idn_lang_code,
  :duration_in_years,
  :auto_renew,
  :admin_contact,
  :registrant_contact,
  :tech_contact,
  :privacy_protect_admin_contact,
  :privacy_protect_registrant_contact,
  :privacy_protect_tech_contact)
  include Aws::Structure
end

#privacy_protect_registrant_contactBoolean

Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Default: true

Returns:

  • (Boolean)


1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1306

class RegisterDomainRequest < Struct.new(
  :domain_name,
  :idn_lang_code,
  :duration_in_years,
  :auto_renew,
  :admin_contact,
  :registrant_contact,
  :tech_contact,
  :privacy_protect_admin_contact,
  :privacy_protect_registrant_contact,
  :privacy_protect_tech_contact)
  include Aws::Structure
end

#privacy_protect_tech_contactBoolean

Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries will return contact information for our registrar partner, Gandi, instead of the contact information that you enter.

Default: true

Returns:

  • (Boolean)


1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1306

class RegisterDomainRequest < Struct.new(
  :domain_name,
  :idn_lang_code,
  :duration_in_years,
  :auto_renew,
  :admin_contact,
  :registrant_contact,
  :tech_contact,
  :privacy_protect_admin_contact,
  :privacy_protect_registrant_contact,
  :privacy_protect_tech_contact)
  include Aws::Structure
end

#registrant_contactTypes::ContactDetail

Provides detailed contact information.



1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1306

class RegisterDomainRequest < Struct.new(
  :domain_name,
  :idn_lang_code,
  :duration_in_years,
  :auto_renew,
  :admin_contact,
  :registrant_contact,
  :tech_contact,
  :privacy_protect_admin_contact,
  :privacy_protect_registrant_contact,
  :privacy_protect_tech_contact)
  include Aws::Structure
end

#tech_contactTypes::ContactDetail

Provides detailed contact information.



1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1306

class RegisterDomainRequest < Struct.new(
  :domain_name,
  :idn_lang_code,
  :duration_in_years,
  :auto_renew,
  :admin_contact,
  :registrant_contact,
  :tech_contact,
  :privacy_protect_admin_contact,
  :privacy_protect_registrant_contact,
  :privacy_protect_tech_contact)
  include Aws::Structure
end