aws-sdk-lightsail 1.113.0 → 1.114.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,6 +32,7 @@ module Aws::Lightsail
32
32
  # * {InvalidInputException}
33
33
  # * {NotFoundException}
34
34
  # * {OperationFailureException}
35
+ # * {RegionSetupInProgressException}
35
36
  # * {ServiceException}
36
37
  # * {UnauthenticatedException}
37
38
  #
@@ -191,6 +192,36 @@ module Aws::Lightsail
191
192
  end
192
193
  end
193
194
 
195
+ class RegionSetupInProgressException < ServiceError
196
+
197
+ # @param [Seahorse::Client::RequestContext] context
198
+ # @param [String] message
199
+ # @param [Aws::Lightsail::Types::RegionSetupInProgressException] data
200
+ def initialize(context, message, data = Aws::EmptyStructure.new)
201
+ super(context, message, data)
202
+ end
203
+
204
+ # @return [String]
205
+ def code
206
+ @code || @data[:code]
207
+ end
208
+
209
+ # @return [String]
210
+ def docs
211
+ @data[:docs]
212
+ end
213
+
214
+ # @return [String]
215
+ def message
216
+ @message || @data[:message]
217
+ end
218
+
219
+ # @return [String]
220
+ def tip
221
+ @data[:tip]
222
+ end
223
+ end
224
+
194
225
  class ServiceException < ServiceError
195
226
 
196
227
  # @param [Seahorse::Client::RequestContext] context
@@ -12728,6 +12728,39 @@ module Aws::Lightsail
12728
12728
  include Aws::Structure
12729
12729
  end
12730
12730
 
12731
+ # Lightsail throws this exception when an operation is performed on
12732
+ # resources in an opt-in Region that is currently being set up.
12733
+ #
12734
+ # @!attribute [rw] code
12735
+ # @return [String]
12736
+ #
12737
+ # @!attribute [rw] docs
12738
+ # [Regions and Availability Zones for Lightsail][1]
12739
+ #
12740
+ #
12741
+ #
12742
+ # [1]: https://docs.aws.amazon.com/lightsail/latest/userguide/understanding-regions-and-availability-zones-in-amazon-lightsail.html
12743
+ # @return [String]
12744
+ #
12745
+ # @!attribute [rw] message
12746
+ # @return [String]
12747
+ #
12748
+ # @!attribute [rw] tip
12749
+ # Opt-in Regions typically take a few minutes to finish setting up
12750
+ # before you can work with them. Wait a few minutes and try again.
12751
+ # @return [String]
12752
+ #
12753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RegionSetupInProgressException AWS API Documentation
12754
+ #
12755
+ class RegionSetupInProgressException < Struct.new(
12756
+ :code,
12757
+ :docs,
12758
+ :message,
12759
+ :tip)
12760
+ SENSITIVE = []
12761
+ include Aws::Structure
12762
+ end
12763
+
12731
12764
  # @!attribute [rw] service_name
12732
12765
  # The name of the container service for which to register a container
12733
12766
  # image.
@@ -54,7 +54,7 @@ module Aws::Lightsail
54
54
  autoload :EndpointProvider, 'aws-sdk-lightsail/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-lightsail/endpoints'
56
56
 
57
- GEM_VERSION = '1.113.0'
57
+ GEM_VERSION = '1.114.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -175,7 +175,7 @@ module Aws
175
175
  ?restore_date: ::String,
176
176
  ?use_latest_restorable_auto_snapshot: bool,
177
177
  target_snapshot_name: ::String,
178
- source_region: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")
178
+ source_region: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1" | "ap-southeast-3")
179
179
  ) -> _CopySnapshotResponseSuccess
180
180
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopySnapshotResponseSuccess
181
181
 
@@ -430,7 +430,7 @@ module Aws
430
430
  distribution_name: ::String,
431
431
  origin: {
432
432
  name: ::String?,
433
- region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")?,
433
+ region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1" | "ap-southeast-3")?,
434
434
  protocol_policy: ("http-only" | "https-only")?,
435
435
  response_timeout: ::Integer?
436
436
  },
@@ -2183,7 +2183,7 @@ module Aws
2183
2183
  distribution_name: ::String,
2184
2184
  ?origin: {
2185
2185
  name: ::String?,
2186
- region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")?,
2186
+ region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1" | "ap-southeast-3")?,
2187
2187
  protocol_policy: ("http-only" | "https-only")?,
2188
2188
  response_timeout: ::Integer?
2189
2189
  },
data/sig/errors.rbs CHANGED
@@ -41,6 +41,12 @@ module Aws
41
41
  def message: () -> ::String
42
42
  def tip: () -> ::String
43
43
  end
44
+ class RegionSetupInProgressException < ::Aws::Errors::ServiceError
45
+ def code: () -> ::String
46
+ def docs: () -> ::String
47
+ def message: () -> ::String
48
+ def tip: () -> ::String
49
+ end
44
50
  class ServiceException < ::Aws::Errors::ServiceError
45
51
  def code: () -> ::String
46
52
  def docs: () -> ::String
data/sig/types.rbs CHANGED
@@ -492,7 +492,7 @@ module Aws::Lightsail
492
492
  attr_accessor restore_date: ::String
493
493
  attr_accessor use_latest_restorable_auto_snapshot: bool
494
494
  attr_accessor target_snapshot_name: ::String
495
- attr_accessor source_region: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")
495
+ attr_accessor source_region: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1" | "ap-southeast-3")
496
496
  SENSITIVE: []
497
497
  end
498
498
 
@@ -2086,7 +2086,7 @@ module Aws::Lightsail
2086
2086
 
2087
2087
  class InputOrigin
2088
2088
  attr_accessor name: ::String
2089
- attr_accessor region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")
2089
+ attr_accessor region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1" | "ap-southeast-3")
2090
2090
  attr_accessor protocol_policy: ("http-only" | "https-only")
2091
2091
  attr_accessor response_timeout: ::Integer
2092
2092
  SENSITIVE: []
@@ -2458,7 +2458,7 @@ module Aws::Lightsail
2458
2458
  class Origin
2459
2459
  attr_accessor name: ::String
2460
2460
  attr_accessor resource_type: ("ContainerService" | "Instance" | "StaticIp" | "KeyPair" | "InstanceSnapshot" | "Domain" | "PeeredVpc" | "LoadBalancer" | "LoadBalancerTlsCertificate" | "Disk" | "DiskSnapshot" | "RelationalDatabase" | "RelationalDatabaseSnapshot" | "ExportSnapshotRecord" | "CloudFormationStackRecord" | "Alarm" | "ContactMethod" | "Distribution" | "Certificate" | "Bucket")
2461
- attr_accessor region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")
2461
+ attr_accessor region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1" | "ap-southeast-3")
2462
2462
  attr_accessor protocol_policy: ("http-only" | "https-only")
2463
2463
  attr_accessor response_timeout: ::Integer
2464
2464
  SENSITIVE: []
@@ -2579,12 +2579,20 @@ module Aws::Lightsail
2579
2579
  attr_accessor continent_code: ::String
2580
2580
  attr_accessor description: ::String
2581
2581
  attr_accessor display_name: ::String
2582
- attr_accessor name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")
2582
+ attr_accessor name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1" | "ap-southeast-3")
2583
2583
  attr_accessor availability_zones: ::Array[Types::AvailabilityZone]
2584
2584
  attr_accessor relational_database_availability_zones: ::Array[Types::AvailabilityZone]
2585
2585
  SENSITIVE: []
2586
2586
  end
2587
2587
 
2588
+ class RegionSetupInProgressException
2589
+ attr_accessor code: ::String
2590
+ attr_accessor docs: ::String
2591
+ attr_accessor message: ::String
2592
+ attr_accessor tip: ::String
2593
+ SENSITIVE: []
2594
+ end
2595
+
2588
2596
  class RegisterContainerImageRequest
2589
2597
  attr_accessor service_name: ::String
2590
2598
  attr_accessor label: ::String
@@ -2749,7 +2757,7 @@ module Aws::Lightsail
2749
2757
 
2750
2758
  class ResourceLocation
2751
2759
  attr_accessor availability_zone: ::String
2752
- attr_accessor region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")
2760
+ attr_accessor region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1" | "ap-southeast-3")
2753
2761
  SENSITIVE: []
2754
2762
  end
2755
2763
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lightsail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.113.0
4
+ version: 1.114.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services