aws-sdk-lightsail 1.69.0 → 1.71.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9baebf1e630e2bbcfdd20455f13720431b902f14c20a3d353528f48e23b67fe0
4
- data.tar.gz: 85ea4afa5f3ac708763a5ac7c87d378563bce9cc940e78a5b19eb8df565cad25
3
+ metadata.gz: 3975d7383ab429f76e0c13bec4bfb5ab91fc446429140d06d44df00e2c95ba74
4
+ data.tar.gz: d053de241d3cb52798c9a064e5bd67c741227a3f653d09f92ab1a73a5ebb00a6
5
5
  SHA512:
6
- metadata.gz: da418d088c539533105348341c7fb676a85fe2468045db59e6f6cfae847bf2723536a3b0bcbc0b028756418f26a695b04c683ff999fd7313020ecae51771fe2f
7
- data.tar.gz: 8a91c45d777d1a4a5b8860347111fe5dd44467f3c8e3fdaad35524709a146678c4d72654501a75fe2aa2f018f2477b86ff47c40c9eb161425cbb3d1e4de7f9ed
6
+ metadata.gz: 2061ead705084264522c1d9b7f60ee89657c55dfabb566894cab17479233b7cafb08e6d707399a6b85f752d513e1b6c84e76e5be2b7b8a5d14882b4002938d38
7
+ data.tar.gz: c0f48e7cd9625e992e95757e169e21219f322fc8efec64b47947cff9964d6d4f8050d4a7625d9a704fd63cb01fa539d14242277b6c27aee40cbecd17d4157001
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.71.0 (2022-11-08)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for Amazon Lightsail to automate the delegation of domains registered through Amazon Route 53 to Lightsail DNS management and to automate record creation for DNS validation of Lightsail SSL/TLS certificates.
8
+
9
+ 1.70.0 (2022-10-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.69.0 (2022-09-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.69.0
1
+ 1.71.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:lightsail)
@@ -79,8 +79,9 @@ module Aws::Lightsail
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::Lightsail::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::Lightsail
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::Lightsail
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::Lightsail::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Lightsail::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -1171,6 +1188,9 @@ module Aws::Lightsail
1171
1188
  # resp.certificate.certificate_detail.domain_validation_records[0].resource_record.name #=> String
1172
1189
  # resp.certificate.certificate_detail.domain_validation_records[0].resource_record.type #=> String
1173
1190
  # resp.certificate.certificate_detail.domain_validation_records[0].resource_record.value #=> String
1191
+ # resp.certificate.certificate_detail.domain_validation_records[0].dns_record_creation_state.code #=> String, one of "SUCCEEDED", "STARTED", "FAILED"
1192
+ # resp.certificate.certificate_detail.domain_validation_records[0].dns_record_creation_state.message #=> String
1193
+ # resp.certificate.certificate_detail.domain_validation_records[0].validation_status #=> String, one of "PENDING_VALIDATION", "FAILED", "SUCCESS"
1174
1194
  # resp.certificate.certificate_detail.request_failure_reason #=> String
1175
1195
  # resp.certificate.certificate_detail.in_use_resource_count #=> Integer
1176
1196
  # resp.certificate.certificate_detail.key_algorithm #=> String
@@ -1185,6 +1205,9 @@ module Aws::Lightsail
1185
1205
  # resp.certificate.certificate_detail.renewal_summary.domain_validation_records[0].resource_record.name #=> String
1186
1206
  # resp.certificate.certificate_detail.renewal_summary.domain_validation_records[0].resource_record.type #=> String
1187
1207
  # resp.certificate.certificate_detail.renewal_summary.domain_validation_records[0].resource_record.value #=> String
1208
+ # resp.certificate.certificate_detail.renewal_summary.domain_validation_records[0].dns_record_creation_state.code #=> String, one of "SUCCEEDED", "STARTED", "FAILED"
1209
+ # resp.certificate.certificate_detail.renewal_summary.domain_validation_records[0].dns_record_creation_state.message #=> String
1210
+ # resp.certificate.certificate_detail.renewal_summary.domain_validation_records[0].validation_status #=> String, one of "PENDING_VALIDATION", "FAILED", "SUCCESS"
1188
1211
  # resp.certificate.certificate_detail.renewal_summary.renewal_status #=> String, one of "PendingAutoRenewal", "PendingValidation", "Success", "Failed"
1189
1212
  # resp.certificate.certificate_detail.renewal_summary.renewal_status_reason #=> String
1190
1213
  # resp.certificate.certificate_detail.renewal_summary.updated_at #=> Time
@@ -1398,8 +1421,9 @@ module Aws::Lightsail
1398
1421
  # typically
1399
1422
  # `https://<ServiceName>.<RandomGUID>.<AWSRegion>.cs.amazonlightsail.com`.
1400
1423
  # If the name of your container service is `container-service-1`, and
1401
- # it's located in the US East (Ohio) AWS region (`us-east-2`), then the
1402
- # domain for your container service will be like the following example:
1424
+ # it's located in the US East (Ohio) Amazon Web Services Region
1425
+ # (`us-east-2`), then the domain for your container service will be like
1426
+ # the following example:
1403
1427
  # `https://container-service-1.ur4EXAMPLE2uq.us-east-2.cs.amazonlightsail.com`
1404
1428
  #
1405
1429
  # The following are the requirements for container service names:
@@ -3348,7 +3372,7 @@ module Aws::Lightsail
3348
3372
  # block of time for each AWS Region. For more information about the
3349
3373
  # preferred backup window time blocks for each region, see the [Working
3350
3374
  # With Backups][1] guide in the Amazon Relational Database Service
3351
- # (Amazon RDS) documentation.
3375
+ # documentation.
3352
3376
  #
3353
3377
  # Constraints:
3354
3378
  #
@@ -5871,6 +5895,9 @@ module Aws::Lightsail
5871
5895
  # resp.certificates[0].certificate_detail.domain_validation_records[0].resource_record.name #=> String
5872
5896
  # resp.certificates[0].certificate_detail.domain_validation_records[0].resource_record.type #=> String
5873
5897
  # resp.certificates[0].certificate_detail.domain_validation_records[0].resource_record.value #=> String
5898
+ # resp.certificates[0].certificate_detail.domain_validation_records[0].dns_record_creation_state.code #=> String, one of "SUCCEEDED", "STARTED", "FAILED"
5899
+ # resp.certificates[0].certificate_detail.domain_validation_records[0].dns_record_creation_state.message #=> String
5900
+ # resp.certificates[0].certificate_detail.domain_validation_records[0].validation_status #=> String, one of "PENDING_VALIDATION", "FAILED", "SUCCESS"
5874
5901
  # resp.certificates[0].certificate_detail.request_failure_reason #=> String
5875
5902
  # resp.certificates[0].certificate_detail.in_use_resource_count #=> Integer
5876
5903
  # resp.certificates[0].certificate_detail.key_algorithm #=> String
@@ -5885,6 +5912,9 @@ module Aws::Lightsail
5885
5912
  # resp.certificates[0].certificate_detail.renewal_summary.domain_validation_records[0].resource_record.name #=> String
5886
5913
  # resp.certificates[0].certificate_detail.renewal_summary.domain_validation_records[0].resource_record.type #=> String
5887
5914
  # resp.certificates[0].certificate_detail.renewal_summary.domain_validation_records[0].resource_record.value #=> String
5915
+ # resp.certificates[0].certificate_detail.renewal_summary.domain_validation_records[0].dns_record_creation_state.code #=> String, one of "SUCCEEDED", "STARTED", "FAILED"
5916
+ # resp.certificates[0].certificate_detail.renewal_summary.domain_validation_records[0].dns_record_creation_state.message #=> String
5917
+ # resp.certificates[0].certificate_detail.renewal_summary.domain_validation_records[0].validation_status #=> String, one of "PENDING_VALIDATION", "FAILED", "SUCCESS"
5888
5918
  # resp.certificates[0].certificate_detail.renewal_summary.renewal_status #=> String, one of "PendingAutoRenewal", "PendingValidation", "Success", "Failed"
5889
5919
  # resp.certificates[0].certificate_detail.renewal_summary.renewal_status_reason #=> String
5890
5920
  # resp.certificates[0].certificate_detail.renewal_summary.updated_at #=> Time
@@ -6087,7 +6117,7 @@ module Aws::Lightsail
6087
6117
  #
6088
6118
  # <note markdown="1"> Container logs are retained for a certain amount of time. For more
6089
6119
  # information, see [Amazon Lightsail endpoints and quotas][1] in the
6090
- # *AWS General Reference*.
6120
+ # *Amazon Web Services General Reference*.
6091
6121
  #
6092
6122
  # </note>
6093
6123
  #
@@ -6210,7 +6240,8 @@ module Aws::Lightsail
6210
6240
  #
6211
6241
  # <note markdown="1"> A set number of deployments are kept before the oldest one is replaced
6212
6242
  # with the newest one. For more information, see [Amazon Lightsail
6213
- # endpoints and quotas][1] in the *AWS General Reference*.
6243
+ # endpoints and quotas][1] in the *Amazon Web Services General
6244
+ # Reference*.
6214
6245
  #
6215
6246
  # </note>
6216
6247
  #
@@ -7074,6 +7105,10 @@ module Aws::Lightsail
7074
7105
  # resp.domain.domain_entries[0].type #=> String
7075
7106
  # resp.domain.domain_entries[0].options #=> Hash
7076
7107
  # resp.domain.domain_entries[0].options["DomainEntryOptionsKeys"] #=> String
7108
+ # resp.domain.registered_domain_delegation_info.name_servers_update_state.code #=> String, one of "SUCCEEDED", "PENDING", "FAILED", "STARTED"
7109
+ # resp.domain.registered_domain_delegation_info.name_servers_update_state.message #=> String
7110
+ # resp.domain.registered_domain_delegation_info.r53_hosted_zone_deletion_state.code #=> String, one of "SUCCEEDED", "PENDING", "FAILED", "STARTED"
7111
+ # resp.domain.registered_domain_delegation_info.r53_hosted_zone_deletion_state.message #=> String
7077
7112
  #
7078
7113
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomain AWS API Documentation
7079
7114
  #
@@ -7125,6 +7160,10 @@ module Aws::Lightsail
7125
7160
  # resp.domains[0].domain_entries[0].type #=> String
7126
7161
  # resp.domains[0].domain_entries[0].options #=> Hash
7127
7162
  # resp.domains[0].domain_entries[0].options["DomainEntryOptionsKeys"] #=> String
7163
+ # resp.domains[0].registered_domain_delegation_info.name_servers_update_state.code #=> String, one of "SUCCEEDED", "PENDING", "FAILED", "STARTED"
7164
+ # resp.domains[0].registered_domain_delegation_info.name_servers_update_state.message #=> String
7165
+ # resp.domains[0].registered_domain_delegation_info.r53_hosted_zone_deletion_state.code #=> String, one of "SUCCEEDED", "PENDING", "FAILED", "STARTED"
7166
+ # resp.domains[0].registered_domain_delegation_info.r53_hosted_zone_deletion_state.message #=> String
7128
7167
  # resp.next_page_token #=> String
7129
7168
  #
7130
7169
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomains AWS API Documentation
@@ -8302,6 +8341,8 @@ module Aws::Lightsail
8302
8341
  # resp.tls_certificates[0].domain_validation_records[0].value #=> String
8303
8342
  # resp.tls_certificates[0].domain_validation_records[0].validation_status #=> String, one of "PENDING_VALIDATION", "FAILED", "SUCCESS"
8304
8343
  # resp.tls_certificates[0].domain_validation_records[0].domain_name #=> String
8344
+ # resp.tls_certificates[0].domain_validation_records[0].dns_record_creation_state.code #=> String, one of "SUCCEEDED", "STARTED", "FAILED"
8345
+ # resp.tls_certificates[0].domain_validation_records[0].dns_record_creation_state.message #=> String
8305
8346
  # resp.tls_certificates[0].failure_reason #=> String, one of "NO_AVAILABLE_CONTACTS", "ADDITIONAL_VERIFICATION_REQUIRED", "DOMAIN_NOT_ALLOWED", "INVALID_PUBLIC_DOMAIN", "OTHER"
8306
8347
  # resp.tls_certificates[0].issued_at #=> Time
8307
8348
  # resp.tls_certificates[0].issuer #=> String
@@ -10957,10 +10998,11 @@ module Aws::Lightsail
10957
10998
  #
10958
10999
  # A bucket bundle specifies the monthly cost, storage space, and data
10959
11000
  # transfer quota for a bucket. You can update a bucket's bundle only
10960
- # one time within a monthly AWS billing cycle. To determine if you can
10961
- # update a bucket's bundle, use the [GetBuckets][1] action. The
10962
- # `ableToUpdateBundle` parameter in the response will indicate whether
10963
- # you can currently update a bucket's bundle.
11001
+ # one time within a monthly Amazon Web Services billing cycle. To
11002
+ # determine if you can update a bucket's bundle, use the
11003
+ # [GetBuckets][1] action. The `ableToUpdateBundle` parameter in the
11004
+ # response will indicate whether you can currently update a bucket's
11005
+ # bundle.
10964
11006
  #
10965
11007
  # Update a bucket's bundle if it's consistently going over its storage
10966
11008
  # space or data transfer quota, or if a bucket's usage is consistently
@@ -11301,10 +11343,10 @@ module Aws::Lightsail
11301
11343
  # its monthly network transfer quota and is incurring an overage fee.
11302
11344
  #
11303
11345
  # You can update your distribution's bundle only one time within your
11304
- # monthly AWS billing cycle. To determine if you can update your
11305
- # distribution's bundle, use the `GetDistributions` action. The
11306
- # `ableToUpdateBundle` parameter in the result will indicate whether you
11307
- # can currently update your distribution's bundle.
11346
+ # monthly Amazon Web Services billing cycle. To determine if you can
11347
+ # update your distribution's bundle, use the `GetDistributions` action.
11348
+ # The `ableToUpdateBundle` parameter in the result will indicate whether
11349
+ # you can currently update your distribution's bundle.
11308
11350
  #
11309
11351
  # @option params [String] :distribution_name
11310
11352
  # The name of the distribution for which to update the bundle.
@@ -11664,8 +11706,8 @@ module Aws::Lightsail
11664
11706
  # your database.
11665
11707
  #
11666
11708
  # The default is a 30-minute window selected at random from an 8-hour
11667
- # block of time for each AWS Region, occurring on a random day of the
11668
- # week.
11709
+ # block of time for each Amazon Web Services Region, occurring on a
11710
+ # random day of the week.
11669
11711
  #
11670
11712
  # Constraints:
11671
11713
  #
@@ -11845,7 +11887,7 @@ module Aws::Lightsail
11845
11887
  params: params,
11846
11888
  config: config)
11847
11889
  context[:gem_name] = 'aws-sdk-lightsail'
11848
- context[:gem_version] = '1.69.0'
11890
+ context[:gem_version] = '1.71.0'
11849
11891
  Seahorse::Client::Request.new(handlers, context)
11850
11892
  end
11851
11893
 
@@ -76,6 +76,7 @@ module Aws::Lightsail
76
76
  CacheBehaviorPerPath = Shapes::StructureShape.new(name: 'CacheBehaviorPerPath')
77
77
  CacheSettings = Shapes::StructureShape.new(name: 'CacheSettings')
78
78
  Certificate = Shapes::StructureShape.new(name: 'Certificate')
79
+ CertificateDomainValidationStatus = Shapes::StringShape.new(name: 'CertificateDomainValidationStatus')
79
80
  CertificateName = Shapes::StringShape.new(name: 'CertificateName')
80
81
  CertificateStatus = Shapes::StringShape.new(name: 'CertificateStatus')
81
82
  CertificateStatusList = Shapes::ListShape.new(name: 'CertificateStatusList')
@@ -246,6 +247,8 @@ module Aws::Lightsail
246
247
  DistributionBundleList = Shapes::ListShape.new(name: 'DistributionBundleList')
247
248
  DistributionList = Shapes::ListShape.new(name: 'DistributionList')
248
249
  DistributionMetricName = Shapes::StringShape.new(name: 'DistributionMetricName')
250
+ DnsRecordCreationState = Shapes::StructureShape.new(name: 'DnsRecordCreationState')
251
+ DnsRecordCreationStateCode = Shapes::StringShape.new(name: 'DnsRecordCreationStateCode')
249
252
  Domain = Shapes::StructureShape.new(name: 'Domain')
250
253
  DomainEntry = Shapes::StructureShape.new(name: 'DomainEntry')
251
254
  DomainEntryList = Shapes::ListShape.new(name: 'DomainEntryList')
@@ -457,6 +460,8 @@ module Aws::Lightsail
457
460
  LoadBalancerProtocol = Shapes::StringShape.new(name: 'LoadBalancerProtocol')
458
461
  LoadBalancerState = Shapes::StringShape.new(name: 'LoadBalancerState')
459
462
  LoadBalancerTlsCertificate = Shapes::StructureShape.new(name: 'LoadBalancerTlsCertificate')
463
+ LoadBalancerTlsCertificateDnsRecordCreationState = Shapes::StructureShape.new(name: 'LoadBalancerTlsCertificateDnsRecordCreationState')
464
+ LoadBalancerTlsCertificateDnsRecordCreationStateCode = Shapes::StringShape.new(name: 'LoadBalancerTlsCertificateDnsRecordCreationStateCode')
460
465
  LoadBalancerTlsCertificateDomainStatus = Shapes::StringShape.new(name: 'LoadBalancerTlsCertificateDomainStatus')
461
466
  LoadBalancerTlsCertificateDomainValidationOption = Shapes::StructureShape.new(name: 'LoadBalancerTlsCertificateDomainValidationOption')
462
467
  LoadBalancerTlsCertificateDomainValidationOptionList = Shapes::ListShape.new(name: 'LoadBalancerTlsCertificateDomainValidationOptionList')
@@ -483,6 +488,8 @@ module Aws::Lightsail
483
488
  MetricUnit = Shapes::StringShape.new(name: 'MetricUnit')
484
489
  MonitoredResourceInfo = Shapes::StructureShape.new(name: 'MonitoredResourceInfo')
485
490
  MonthlyTransfer = Shapes::StructureShape.new(name: 'MonthlyTransfer')
491
+ NameServersUpdateState = Shapes::StructureShape.new(name: 'NameServersUpdateState')
492
+ NameServersUpdateStateCode = Shapes::StringShape.new(name: 'NameServersUpdateStateCode')
486
493
  NetworkProtocol = Shapes::StringShape.new(name: 'NetworkProtocol')
487
494
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
488
495
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
@@ -518,6 +525,8 @@ module Aws::Lightsail
518
525
  PutInstancePublicPortsRequest = Shapes::StructureShape.new(name: 'PutInstancePublicPortsRequest')
519
526
  PutInstancePublicPortsResult = Shapes::StructureShape.new(name: 'PutInstancePublicPortsResult')
520
527
  QueryStringObject = Shapes::StructureShape.new(name: 'QueryStringObject')
528
+ R53HostedZoneDeletionState = Shapes::StructureShape.new(name: 'R53HostedZoneDeletionState')
529
+ R53HostedZoneDeletionStateCode = Shapes::StringShape.new(name: 'R53HostedZoneDeletionStateCode')
521
530
  RebootInstanceRequest = Shapes::StructureShape.new(name: 'RebootInstanceRequest')
522
531
  RebootInstanceResult = Shapes::StructureShape.new(name: 'RebootInstanceResult')
523
532
  RebootRelationalDatabaseRequest = Shapes::StructureShape.new(name: 'RebootRelationalDatabaseRequest')
@@ -528,6 +537,7 @@ module Aws::Lightsail
528
537
  RegionName = Shapes::StringShape.new(name: 'RegionName')
529
538
  RegisterContainerImageRequest = Shapes::StructureShape.new(name: 'RegisterContainerImageRequest')
530
539
  RegisterContainerImageResult = Shapes::StructureShape.new(name: 'RegisterContainerImageResult')
540
+ RegisteredDomainDelegationInfo = Shapes::StructureShape.new(name: 'RegisteredDomainDelegationInfo')
531
541
  RelationalDatabase = Shapes::StructureShape.new(name: 'RelationalDatabase')
532
542
  RelationalDatabaseBlueprint = Shapes::StructureShape.new(name: 'RelationalDatabaseBlueprint')
533
543
  RelationalDatabaseBlueprintList = Shapes::ListShape.new(name: 'RelationalDatabaseBlueprintList')
@@ -1542,6 +1552,10 @@ module Aws::Lightsail
1542
1552
 
1543
1553
  DistributionList.member = Shapes::ShapeRef.new(shape: LightsailDistribution)
1544
1554
 
1555
+ DnsRecordCreationState.add_member(:code, Shapes::ShapeRef.new(shape: DnsRecordCreationStateCode, location_name: "code"))
1556
+ DnsRecordCreationState.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
1557
+ DnsRecordCreationState.struct_class = Types::DnsRecordCreationState
1558
+
1545
1559
  Domain.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
1546
1560
  Domain.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
1547
1561
  Domain.add_member(:support_code, Shapes::ShapeRef.new(shape: string, location_name: "supportCode"))
@@ -1550,6 +1564,7 @@ module Aws::Lightsail
1550
1564
  Domain.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
1551
1565
  Domain.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1552
1566
  Domain.add_member(:domain_entries, Shapes::ShapeRef.new(shape: DomainEntryList, location_name: "domainEntries"))
1567
+ Domain.add_member(:registered_domain_delegation_info, Shapes::ShapeRef.new(shape: RegisteredDomainDelegationInfo, location_name: "registeredDomainDelegationInfo"))
1553
1568
  Domain.struct_class = Types::Domain
1554
1569
 
1555
1570
  DomainEntry.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
@@ -1571,6 +1586,8 @@ module Aws::Lightsail
1571
1586
 
1572
1587
  DomainValidationRecord.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
1573
1588
  DomainValidationRecord.add_member(:resource_record, Shapes::ShapeRef.new(shape: ResourceRecord, location_name: "resourceRecord"))
1589
+ DomainValidationRecord.add_member(:dns_record_creation_state, Shapes::ShapeRef.new(shape: DnsRecordCreationState, location_name: "dnsRecordCreationState"))
1590
+ DomainValidationRecord.add_member(:validation_status, Shapes::ShapeRef.new(shape: CertificateDomainValidationStatus, location_name: "validationStatus"))
1574
1591
  DomainValidationRecord.struct_class = Types::DomainValidationRecord
1575
1592
 
1576
1593
  DomainValidationRecordList.member = Shapes::ShapeRef.new(shape: DomainValidationRecord)
@@ -2355,6 +2372,10 @@ module Aws::Lightsail
2355
2372
  LoadBalancerTlsCertificate.add_member(:subject_alternative_names, Shapes::ShapeRef.new(shape: StringList, location_name: "subjectAlternativeNames"))
2356
2373
  LoadBalancerTlsCertificate.struct_class = Types::LoadBalancerTlsCertificate
2357
2374
 
2375
+ LoadBalancerTlsCertificateDnsRecordCreationState.add_member(:code, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDnsRecordCreationStateCode, location_name: "code"))
2376
+ LoadBalancerTlsCertificateDnsRecordCreationState.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
2377
+ LoadBalancerTlsCertificateDnsRecordCreationState.struct_class = Types::LoadBalancerTlsCertificateDnsRecordCreationState
2378
+
2358
2379
  LoadBalancerTlsCertificateDomainValidationOption.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
2359
2380
  LoadBalancerTlsCertificateDomainValidationOption.add_member(:validation_status, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDomainStatus, location_name: "validationStatus"))
2360
2381
  LoadBalancerTlsCertificateDomainValidationOption.struct_class = Types::LoadBalancerTlsCertificateDomainValidationOption
@@ -2366,6 +2387,7 @@ module Aws::Lightsail
2366
2387
  LoadBalancerTlsCertificateDomainValidationRecord.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "value"))
2367
2388
  LoadBalancerTlsCertificateDomainValidationRecord.add_member(:validation_status, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDomainStatus, location_name: "validationStatus"))
2368
2389
  LoadBalancerTlsCertificateDomainValidationRecord.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
2390
+ LoadBalancerTlsCertificateDomainValidationRecord.add_member(:dns_record_creation_state, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDnsRecordCreationState, location_name: "dnsRecordCreationState"))
2369
2391
  LoadBalancerTlsCertificateDomainValidationRecord.struct_class = Types::LoadBalancerTlsCertificateDomainValidationRecord
2370
2392
 
2371
2393
  LoadBalancerTlsCertificateDomainValidationRecordList.member = Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDomainValidationRecord)
@@ -2418,6 +2440,10 @@ module Aws::Lightsail
2418
2440
  MonthlyTransfer.add_member(:gb_per_month_allocated, Shapes::ShapeRef.new(shape: integer, location_name: "gbPerMonthAllocated"))
2419
2441
  MonthlyTransfer.struct_class = Types::MonthlyTransfer
2420
2442
 
2443
+ NameServersUpdateState.add_member(:code, Shapes::ShapeRef.new(shape: NameServersUpdateStateCode, location_name: "code"))
2444
+ NameServersUpdateState.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
2445
+ NameServersUpdateState.struct_class = Types::NameServersUpdateState
2446
+
2421
2447
  NotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
2422
2448
  NotFoundException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
2423
2449
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
@@ -2532,6 +2558,10 @@ module Aws::Lightsail
2532
2558
  QueryStringObject.add_member(:query_strings_allow_list, Shapes::ShapeRef.new(shape: StringList, location_name: "queryStringsAllowList"))
2533
2559
  QueryStringObject.struct_class = Types::QueryStringObject
2534
2560
 
2561
+ R53HostedZoneDeletionState.add_member(:code, Shapes::ShapeRef.new(shape: R53HostedZoneDeletionStateCode, location_name: "code"))
2562
+ R53HostedZoneDeletionState.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
2563
+ R53HostedZoneDeletionState.struct_class = Types::R53HostedZoneDeletionState
2564
+
2535
2565
  RebootInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
2536
2566
  RebootInstanceRequest.struct_class = Types::RebootInstanceRequest
2537
2567
 
@@ -2562,6 +2592,10 @@ module Aws::Lightsail
2562
2592
  RegisterContainerImageResult.add_member(:container_image, Shapes::ShapeRef.new(shape: ContainerImage, location_name: "containerImage"))
2563
2593
  RegisterContainerImageResult.struct_class = Types::RegisterContainerImageResult
2564
2594
 
2595
+ RegisteredDomainDelegationInfo.add_member(:name_servers_update_state, Shapes::ShapeRef.new(shape: NameServersUpdateState, location_name: "nameServersUpdateState"))
2596
+ RegisteredDomainDelegationInfo.add_member(:r53_hosted_zone_deletion_state, Shapes::ShapeRef.new(shape: R53HostedZoneDeletionState, location_name: "r53HostedZoneDeletionState"))
2597
+ RegisteredDomainDelegationInfo.struct_class = Types::RegisteredDomainDelegationInfo
2598
+
2565
2599
  RelationalDatabase.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
2566
2600
  RelationalDatabase.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
2567
2601
  RelationalDatabase.add_member(:support_code, Shapes::ShapeRef.new(shape: string, location_name: "supportCode"))
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Lightsail
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,112 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Lightsail
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
+ dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0a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