aws-sdk-lightsail 1.20.0 → 1.21.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
  SHA1:
3
- metadata.gz: a50420a8c16e57f0e0fb6537266417aa22e7932a
4
- data.tar.gz: 9f38afe39adc136c464f67ffd754e6970164e9c8
3
+ metadata.gz: a920e932688527dacdcb9aee21ca44ffc6ab6e67
4
+ data.tar.gz: 54e856d4b7b30a4e7788ac30a4ac59fc90fd1c22
5
5
  SHA512:
6
- metadata.gz: 5075caf9b1097233f40156ea5b877e1a1643ef007f27c0d5de60a44fcfccc4dab4e4c896a3425ea141797aee817a2650861f1f44432c49f6a272cde7fdb98756
7
- data.tar.gz: 82c869fe10bf095b4f3a0549a3f2145d2112a75d57c652cf556b30a36cbb678c1dfb8d286b6446abf22d4bdca261ff575906d6cc92a70eafa8e78be9f2b8128e
6
+ metadata.gz: 5f7e6cdf24f7357d229d9c3f3fd423c23d81fac7f169eb5ec63a82392c13af661dbd699e53cbf8252747d7fe8fc88cbbefffab2aa0a4057f56b4a19100cafa6d
7
+ data.tar.gz: 2320b79892e81c625bc62d95ee971c63895dfe15991db64db78aaa6f75f7dbcd032685accc42f00199c7fe12cb71e4645e126b83957b5a1afb65fafd93842c67
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-lightsail/customizations'
42
42
  # @service
43
43
  module Aws::Lightsail
44
44
 
45
- GEM_VERSION = '1.20.0'
45
+ GEM_VERSION = '1.21.0'
46
46
 
47
47
  end
@@ -6441,7 +6441,7 @@ module Aws::Lightsail
6441
6441
  params: params,
6442
6442
  config: config)
6443
6443
  context[:gem_name] = 'aws-sdk-lightsail'
6444
- context[:gem_version] = '1.20.0'
6444
+ context[:gem_version] = '1.21.0'
6445
6445
  Seahorse::Client::Request.new(handlers, context)
6446
6446
  end
6447
6447
 
@@ -380,6 +380,18 @@ module Aws::Lightsail
380
380
  string = Shapes::StringShape.new(name: 'string')
381
381
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
382
382
 
383
+ AccessDeniedException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
384
+ AccessDeniedException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
385
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
386
+ AccessDeniedException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
387
+ AccessDeniedException.struct_class = Types::AccessDeniedException
388
+
389
+ AccountSetupInProgressException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
390
+ AccountSetupInProgressException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
391
+ AccountSetupInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
392
+ AccountSetupInProgressException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
393
+ AccountSetupInProgressException.struct_class = Types::AccountSetupInProgressException
394
+
383
395
  AllocateStaticIpRequest.add_member(:static_ip_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "staticIpName"))
384
396
  AllocateStaticIpRequest.struct_class = Types::AllocateStaticIpRequest
385
397
 
@@ -1302,6 +1314,12 @@ module Aws::Lightsail
1302
1314
  InstanceState.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
1303
1315
  InstanceState.struct_class = Types::InstanceState
1304
1316
 
1317
+ InvalidInputException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
1318
+ InvalidInputException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
1319
+ InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
1320
+ InvalidInputException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
1321
+ InvalidInputException.struct_class = Types::InvalidInputException
1322
+
1305
1323
  IsVpcPeeredRequest.struct_class = Types::IsVpcPeeredRequest
1306
1324
 
1307
1325
  IsVpcPeeredResult.add_member(:is_peered, Shapes::ShapeRef.new(shape: boolean, location_name: "isPeered"))
@@ -1418,6 +1436,12 @@ module Aws::Lightsail
1418
1436
  MonthlyTransfer.add_member(:gb_per_month_allocated, Shapes::ShapeRef.new(shape: integer, location_name: "gbPerMonthAllocated"))
1419
1437
  MonthlyTransfer.struct_class = Types::MonthlyTransfer
1420
1438
 
1439
+ NotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
1440
+ NotFoundException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
1441
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
1442
+ NotFoundException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
1443
+ NotFoundException.struct_class = Types::NotFoundException
1444
+
1421
1445
  OpenInstancePublicPortsRequest.add_member(:port_info, Shapes::ShapeRef.new(shape: PortInfo, required: true, location_name: "portInfo"))
1422
1446
  OpenInstancePublicPortsRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
1423
1447
  OpenInstancePublicPortsRequest.struct_class = Types::OpenInstancePublicPortsRequest
@@ -1439,6 +1463,12 @@ module Aws::Lightsail
1439
1463
  Operation.add_member(:error_details, Shapes::ShapeRef.new(shape: string, location_name: "errorDetails"))
1440
1464
  Operation.struct_class = Types::Operation
1441
1465
 
1466
+ OperationFailureException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
1467
+ OperationFailureException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
1468
+ OperationFailureException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
1469
+ OperationFailureException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
1470
+ OperationFailureException.struct_class = Types::OperationFailureException
1471
+
1442
1472
  OperationList.member = Shapes::ShapeRef.new(shape: Operation)
1443
1473
 
1444
1474
  PasswordData.add_member(:ciphertext, Shapes::ShapeRef.new(shape: string, location_name: "ciphertext"))
@@ -1612,6 +1642,12 @@ module Aws::Lightsail
1612
1642
 
1613
1643
  ResourceNameList.member = Shapes::ShapeRef.new(shape: ResourceName)
1614
1644
 
1645
+ ServiceException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
1646
+ ServiceException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
1647
+ ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
1648
+ ServiceException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
1649
+ ServiceException.struct_class = Types::ServiceException
1650
+
1615
1651
  StartInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
1616
1652
  StartInstanceRequest.struct_class = Types::StartInstanceRequest
1617
1653
 
@@ -1668,6 +1704,12 @@ module Aws::Lightsail
1668
1704
  TagResourceResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
1669
1705
  TagResourceResult.struct_class = Types::TagResourceResult
1670
1706
 
1707
+ UnauthenticatedException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
1708
+ UnauthenticatedException.add_member(:docs, Shapes::ShapeRef.new(shape: string, location_name: "docs"))
1709
+ UnauthenticatedException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
1710
+ UnauthenticatedException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
1711
+ UnauthenticatedException.struct_class = Types::UnauthenticatedException
1712
+
1671
1713
  UnpeerVpcRequest.struct_class = Types::UnpeerVpcRequest
1672
1714
 
1673
1715
  UnpeerVpcResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
@@ -10,5 +10,222 @@ module Aws::Lightsail
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Lightsail::Types::AccessDeniedException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def code
24
+ @code || @data[:code]
25
+ end
26
+
27
+ # @return [String]
28
+ def docs
29
+ @data[:docs]
30
+ end
31
+
32
+ # @return [String]
33
+ def message
34
+ @message || @data[:message]
35
+ end
36
+
37
+ # @return [String]
38
+ def tip
39
+ @data[:tip]
40
+ end
41
+
42
+ end
43
+
44
+ class AccountSetupInProgressException < ServiceError
45
+
46
+ # @param [Seahorse::Client::RequestContext] context
47
+ # @param [String] message
48
+ # @param [Aws::Lightsail::Types::AccountSetupInProgressException] data
49
+ def initialize(context, message, data = Aws::EmptyStructure.new)
50
+ super(context, message, data)
51
+ end
52
+
53
+ # @return [String]
54
+ def code
55
+ @code || @data[:code]
56
+ end
57
+
58
+ # @return [String]
59
+ def docs
60
+ @data[:docs]
61
+ end
62
+
63
+ # @return [String]
64
+ def message
65
+ @message || @data[:message]
66
+ end
67
+
68
+ # @return [String]
69
+ def tip
70
+ @data[:tip]
71
+ end
72
+
73
+ end
74
+
75
+ class InvalidInputException < ServiceError
76
+
77
+ # @param [Seahorse::Client::RequestContext] context
78
+ # @param [String] message
79
+ # @param [Aws::Lightsail::Types::InvalidInputException] data
80
+ def initialize(context, message, data = Aws::EmptyStructure.new)
81
+ super(context, message, data)
82
+ end
83
+
84
+ # @return [String]
85
+ def code
86
+ @code || @data[:code]
87
+ end
88
+
89
+ # @return [String]
90
+ def docs
91
+ @data[:docs]
92
+ end
93
+
94
+ # @return [String]
95
+ def message
96
+ @message || @data[:message]
97
+ end
98
+
99
+ # @return [String]
100
+ def tip
101
+ @data[:tip]
102
+ end
103
+
104
+ end
105
+
106
+ class NotFoundException < ServiceError
107
+
108
+ # @param [Seahorse::Client::RequestContext] context
109
+ # @param [String] message
110
+ # @param [Aws::Lightsail::Types::NotFoundException] data
111
+ def initialize(context, message, data = Aws::EmptyStructure.new)
112
+ super(context, message, data)
113
+ end
114
+
115
+ # @return [String]
116
+ def code
117
+ @code || @data[:code]
118
+ end
119
+
120
+ # @return [String]
121
+ def docs
122
+ @data[:docs]
123
+ end
124
+
125
+ # @return [String]
126
+ def message
127
+ @message || @data[:message]
128
+ end
129
+
130
+ # @return [String]
131
+ def tip
132
+ @data[:tip]
133
+ end
134
+
135
+ end
136
+
137
+ class OperationFailureException < ServiceError
138
+
139
+ # @param [Seahorse::Client::RequestContext] context
140
+ # @param [String] message
141
+ # @param [Aws::Lightsail::Types::OperationFailureException] data
142
+ def initialize(context, message, data = Aws::EmptyStructure.new)
143
+ super(context, message, data)
144
+ end
145
+
146
+ # @return [String]
147
+ def code
148
+ @code || @data[:code]
149
+ end
150
+
151
+ # @return [String]
152
+ def docs
153
+ @data[:docs]
154
+ end
155
+
156
+ # @return [String]
157
+ def message
158
+ @message || @data[:message]
159
+ end
160
+
161
+ # @return [String]
162
+ def tip
163
+ @data[:tip]
164
+ end
165
+
166
+ end
167
+
168
+ class ServiceException < ServiceError
169
+
170
+ # @param [Seahorse::Client::RequestContext] context
171
+ # @param [String] message
172
+ # @param [Aws::Lightsail::Types::ServiceException] data
173
+ def initialize(context, message, data = Aws::EmptyStructure.new)
174
+ super(context, message, data)
175
+ end
176
+
177
+ # @return [String]
178
+ def code
179
+ @code || @data[:code]
180
+ end
181
+
182
+ # @return [String]
183
+ def docs
184
+ @data[:docs]
185
+ end
186
+
187
+ # @return [String]
188
+ def message
189
+ @message || @data[:message]
190
+ end
191
+
192
+ # @return [String]
193
+ def tip
194
+ @data[:tip]
195
+ end
196
+
197
+ end
198
+
199
+ class UnauthenticatedException < ServiceError
200
+
201
+ # @param [Seahorse::Client::RequestContext] context
202
+ # @param [String] message
203
+ # @param [Aws::Lightsail::Types::UnauthenticatedException] data
204
+ def initialize(context, message, data = Aws::EmptyStructure.new)
205
+ super(context, message, data)
206
+ end
207
+
208
+ # @return [String]
209
+ def code
210
+ @code || @data[:code]
211
+ end
212
+
213
+ # @return [String]
214
+ def docs
215
+ @data[:docs]
216
+ end
217
+
218
+ # @return [String]
219
+ def message
220
+ @message || @data[:message]
221
+ end
222
+
223
+ # @return [String]
224
+ def tip
225
+ @data[:tip]
226
+ end
227
+
228
+ end
229
+
13
230
  end
14
231
  end
@@ -8,6 +8,56 @@
8
8
  module Aws::Lightsail
9
9
  module Types
10
10
 
11
+ # Lightsail throws this exception when the user cannot be authenticated
12
+ # or uses invalid credentials to access a resource.
13
+ #
14
+ # @!attribute [rw] code
15
+ # @return [String]
16
+ #
17
+ # @!attribute [rw] docs
18
+ # @return [String]
19
+ #
20
+ # @!attribute [rw] message
21
+ # @return [String]
22
+ #
23
+ # @!attribute [rw] tip
24
+ # @return [String]
25
+ #
26
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AccessDeniedException AWS API Documentation
27
+ #
28
+ class AccessDeniedException < Struct.new(
29
+ :code,
30
+ :docs,
31
+ :message,
32
+ :tip)
33
+ include Aws::Structure
34
+ end
35
+
36
+ # Lightsail throws this exception when an account is still in the setup
37
+ # in progress state.
38
+ #
39
+ # @!attribute [rw] code
40
+ # @return [String]
41
+ #
42
+ # @!attribute [rw] docs
43
+ # @return [String]
44
+ #
45
+ # @!attribute [rw] message
46
+ # @return [String]
47
+ #
48
+ # @!attribute [rw] tip
49
+ # @return [String]
50
+ #
51
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AccountSetupInProgressException AWS API Documentation
52
+ #
53
+ class AccountSetupInProgressException < Struct.new(
54
+ :code,
55
+ :docs,
56
+ :message,
57
+ :tip)
58
+ include Aws::Structure
59
+ end
60
+
11
61
  # @note When making an API call, you may pass AllocateStaticIpRequest
12
62
  # data as a hash:
13
63
  #
@@ -5545,6 +5595,37 @@ module Aws::Lightsail
5545
5595
  include Aws::Structure
5546
5596
  end
5547
5597
 
5598
+ # Lightsail throws this exception when user input does not conform to
5599
+ # the validation rules of an input field.
5600
+ #
5601
+ # <note markdown="1"> Domain-related APIs are only available in the N. Virginia (us-east-1)
5602
+ # Region. Please set your AWS Region configuration to us-east-1 to
5603
+ # create, view, or edit these resources.
5604
+ #
5605
+ # </note>
5606
+ #
5607
+ # @!attribute [rw] code
5608
+ # @return [String]
5609
+ #
5610
+ # @!attribute [rw] docs
5611
+ # @return [String]
5612
+ #
5613
+ # @!attribute [rw] message
5614
+ # @return [String]
5615
+ #
5616
+ # @!attribute [rw] tip
5617
+ # @return [String]
5618
+ #
5619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InvalidInputException AWS API Documentation
5620
+ #
5621
+ class InvalidInputException < Struct.new(
5622
+ :code,
5623
+ :docs,
5624
+ :message,
5625
+ :tip)
5626
+ include Aws::Structure
5627
+ end
5628
+
5548
5629
  # @api private
5549
5630
  #
5550
5631
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeeredRequest AWS API Documentation
@@ -6086,6 +6167,30 @@ module Aws::Lightsail
6086
6167
  include Aws::Structure
6087
6168
  end
6088
6169
 
6170
+ # Lightsail throws this exception when it cannot find a resource.
6171
+ #
6172
+ # @!attribute [rw] code
6173
+ # @return [String]
6174
+ #
6175
+ # @!attribute [rw] docs
6176
+ # @return [String]
6177
+ #
6178
+ # @!attribute [rw] message
6179
+ # @return [String]
6180
+ #
6181
+ # @!attribute [rw] tip
6182
+ # @return [String]
6183
+ #
6184
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/NotFoundException AWS API Documentation
6185
+ #
6186
+ class NotFoundException < Struct.new(
6187
+ :code,
6188
+ :docs,
6189
+ :message,
6190
+ :tip)
6191
+ include Aws::Structure
6192
+ end
6193
+
6089
6194
  # @note When making an API call, you may pass OpenInstancePublicPortsRequest
6090
6195
  # data as a hash:
6091
6196
  #
@@ -6197,6 +6302,30 @@ module Aws::Lightsail
6197
6302
  include Aws::Structure
6198
6303
  end
6199
6304
 
6305
+ # Lightsail throws this exception when an operation fails to execute.
6306
+ #
6307
+ # @!attribute [rw] code
6308
+ # @return [String]
6309
+ #
6310
+ # @!attribute [rw] docs
6311
+ # @return [String]
6312
+ #
6313
+ # @!attribute [rw] message
6314
+ # @return [String]
6315
+ #
6316
+ # @!attribute [rw] tip
6317
+ # @return [String]
6318
+ #
6319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OperationFailureException AWS API Documentation
6320
+ #
6321
+ class OperationFailureException < Struct.new(
6322
+ :code,
6323
+ :docs,
6324
+ :message,
6325
+ :tip)
6326
+ include Aws::Structure
6327
+ end
6328
+
6200
6329
  # The password data for the Windows Server-based instance, including the
6201
6330
  # ciphertext and the key pair name.
6202
6331
  #
@@ -7016,6 +7145,30 @@ module Aws::Lightsail
7016
7145
  include Aws::Structure
7017
7146
  end
7018
7147
 
7148
+ # A general service exception.
7149
+ #
7150
+ # @!attribute [rw] code
7151
+ # @return [String]
7152
+ #
7153
+ # @!attribute [rw] docs
7154
+ # @return [String]
7155
+ #
7156
+ # @!attribute [rw] message
7157
+ # @return [String]
7158
+ #
7159
+ # @!attribute [rw] tip
7160
+ # @return [String]
7161
+ #
7162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ServiceException AWS API Documentation
7163
+ #
7164
+ class ServiceException < Struct.new(
7165
+ :code,
7166
+ :docs,
7167
+ :message,
7168
+ :tip)
7169
+ include Aws::Structure
7170
+ end
7171
+
7019
7172
  # @note When making an API call, you may pass StartInstanceRequest
7020
7173
  # data as a hash:
7021
7174
  #
@@ -7293,6 +7446,31 @@ module Aws::Lightsail
7293
7446
  include Aws::Structure
7294
7447
  end
7295
7448
 
7449
+ # Lightsail throws this exception when the user has not been
7450
+ # authenticated.
7451
+ #
7452
+ # @!attribute [rw] code
7453
+ # @return [String]
7454
+ #
7455
+ # @!attribute [rw] docs
7456
+ # @return [String]
7457
+ #
7458
+ # @!attribute [rw] message
7459
+ # @return [String]
7460
+ #
7461
+ # @!attribute [rw] tip
7462
+ # @return [String]
7463
+ #
7464
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnauthenticatedException AWS API Documentation
7465
+ #
7466
+ class UnauthenticatedException < Struct.new(
7467
+ :code,
7468
+ :docs,
7469
+ :message,
7470
+ :tip)
7471
+ include Aws::Structure
7472
+ end
7473
+
7296
7474
  # @api private
7297
7475
  #
7298
7476
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcRequest AWS API Documentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lightsail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement