aws-sdk-snowball 1.16.0 → 1.17.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: 26b58247a94d1f0febb2851836b663c2006745a7
4
- data.tar.gz: 34d05f63943dd3aa4739bc541f2160c3dd2cd166
3
+ metadata.gz: f36ae1e47646dbec4d43a7ca9dbcd0d304708e3d
4
+ data.tar.gz: 9d5e05f514e67ec2d0b8471c21a6b3c9d35aaeba
5
5
  SHA512:
6
- metadata.gz: 3016c8595ca710235d45a783e1bd54522a071186097d72fc2c59e2ecf0a12ef5eb70cfda3d811e9e51e4a547d03235790c7a97c524313e55bbfb4f7fdd7502f0
7
- data.tar.gz: 4f76902e9e7f17ce474a3be5883ffcab9e0e2faf72d18cfbf6c447c01352f7d0e4dec27e3ca89d0004cc4d0c167ef2eaf0f9ec361816a42f441be6ba002d3334
6
+ metadata.gz: 981505a6d8675eecc74d3a060d2f336f8553f9d7c8964889facd94ce02104585634db1ebd592cfa7cb511a6889c9e41d3bc737bc7b629c6062e7cb3f61d2792d
7
+ data.tar.gz: 5e07f4689ab52267bfc86a3097d9610a6c9d3d5feb1d3a881f2584176d0e8490b44f2fa98c233b03cd688e67d969f845ee72494e401f5ec46731b98b1f96bfda
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-snowball/customizations'
42
42
  # @service
43
43
  module Aws::Snowball
44
44
 
45
- GEM_VERSION = '1.16.0'
45
+ GEM_VERSION = '1.17.0'
46
46
 
47
47
  end
@@ -1845,7 +1845,7 @@ module Aws::Snowball
1845
1845
  params: params,
1846
1846
  config: config)
1847
1847
  context[:gem_name] = 'aws-sdk-snowball'
1848
- context[:gem_version] = '1.16.0'
1848
+ context[:gem_version] = '1.17.0'
1849
1849
  Seahorse::Client::Request.new(handlers, context)
1850
1850
  end
1851
1851
 
@@ -132,6 +132,9 @@ module Aws::Snowball
132
132
 
133
133
  CancelJobResult.struct_class = Types::CancelJobResult
134
134
 
135
+ ClusterLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
136
+ ClusterLimitExceededException.struct_class = Types::ClusterLimitExceededException
137
+
135
138
  ClusterListEntry.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "ClusterId"))
136
139
  ClusterListEntry.add_member(:cluster_state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "ClusterState"))
137
140
  ClusterListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
@@ -238,6 +241,9 @@ module Aws::Snowball
238
241
 
239
242
  Ec2AmiResourceList.member = Shapes::ShapeRef.new(shape: Ec2AmiResource)
240
243
 
244
+ Ec2RequestFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
245
+ Ec2RequestFailedException.struct_class = Types::Ec2RequestFailedException
246
+
241
247
  EventTriggerDefinition.add_member(:event_resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "EventResourceARN"))
242
248
  EventTriggerDefinition.struct_class = Types::EventTriggerDefinition
243
249
 
@@ -261,6 +267,22 @@ module Aws::Snowball
261
267
  GetSnowballUsageResult.add_member(:snowballs_in_use, Shapes::ShapeRef.new(shape: Integer, location_name: "SnowballsInUse"))
262
268
  GetSnowballUsageResult.struct_class = Types::GetSnowballUsageResult
263
269
 
270
+ InvalidAddressException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
271
+ InvalidAddressException.struct_class = Types::InvalidAddressException
272
+
273
+ InvalidInputCombinationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
274
+ InvalidInputCombinationException.struct_class = Types::InvalidInputCombinationException
275
+
276
+ InvalidJobStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
277
+ InvalidJobStateException.struct_class = Types::InvalidJobStateException
278
+
279
+ InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
280
+ InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
281
+
282
+ InvalidResourceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
283
+ InvalidResourceException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
284
+ InvalidResourceException.struct_class = Types::InvalidResourceException
285
+
264
286
  JobListEntry.add_member(:job_id, Shapes::ShapeRef.new(shape: String, location_name: "JobId"))
265
287
  JobListEntry.add_member(:job_state, Shapes::ShapeRef.new(shape: JobState, location_name: "JobState"))
266
288
  JobListEntry.add_member(:is_master, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsMaster"))
@@ -305,6 +327,9 @@ module Aws::Snowball
305
327
 
306
328
  JobStateList.member = Shapes::ShapeRef.new(shape: JobState)
307
329
 
330
+ KMSRequestFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
331
+ KMSRequestFailedException.struct_class = Types::KMSRequestFailedException
332
+
308
333
  KeyRange.add_member(:begin_marker, Shapes::ShapeRef.new(shape: String, location_name: "BeginMarker"))
309
334
  KeyRange.add_member(:end_marker, Shapes::ShapeRef.new(shape: String, location_name: "EndMarker"))
310
335
  KeyRange.struct_class = Types::KeyRange
@@ -368,6 +393,9 @@ module Aws::Snowball
368
393
  ShippingDetails.add_member(:outbound_shipment, Shapes::ShapeRef.new(shape: Shipment, location_name: "OutboundShipment"))
369
394
  ShippingDetails.struct_class = Types::ShippingDetails
370
395
 
396
+ UnsupportedAddressException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
397
+ UnsupportedAddressException.struct_class = Types::UnsupportedAddressException
398
+
371
399
  UpdateClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
372
400
  UpdateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
373
401
  UpdateClusterRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
@@ -10,5 +10,154 @@ module Aws::Snowball
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class ClusterLimitExceededException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Snowball::Types::ClusterLimitExceededException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class Ec2RequestFailedException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::Snowball::Types::Ec2RequestFailedException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InvalidAddressException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::Snowball::Types::InvalidAddressException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class InvalidInputCombinationException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::Snowball::Types::InvalidInputCombinationException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class InvalidJobStateException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::Snowball::Types::InvalidJobStateException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class InvalidNextTokenException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::Snowball::Types::InvalidNextTokenException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class InvalidResourceException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::Snowball::Types::InvalidResourceException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ # @return [String]
124
+ def resource_type
125
+ @data[:resource_type]
126
+ end
127
+
128
+ end
129
+
130
+ class KMSRequestFailedException < ServiceError
131
+
132
+ # @param [Seahorse::Client::RequestContext] context
133
+ # @param [String] message
134
+ # @param [Aws::Snowball::Types::KMSRequestFailedException] data
135
+ def initialize(context, message, data = Aws::EmptyStructure.new)
136
+ super(context, message, data)
137
+ end
138
+
139
+ # @return [String]
140
+ def message
141
+ @message || @data[:message]
142
+ end
143
+
144
+ end
145
+
146
+ class UnsupportedAddressException < ServiceError
147
+
148
+ # @param [Seahorse::Client::RequestContext] context
149
+ # @param [String] message
150
+ # @param [Aws::Snowball::Types::UnsupportedAddressException] data
151
+ def initialize(context, message, data = Aws::EmptyStructure.new)
152
+ super(context, message, data)
153
+ end
154
+
155
+ # @return [String]
156
+ def message
157
+ @message || @data[:message]
158
+ end
159
+
160
+ end
161
+
13
162
  end
14
163
  end
@@ -163,6 +163,21 @@ module Aws::Snowball
163
163
  #
164
164
  class CancelJobResult < Aws::EmptyStructure; end
165
165
 
166
+ # Job creation failed. Currently, clusters support five nodes. If you
167
+ # have less than five nodes for your cluster and you have more nodes to
168
+ # create for this cluster, try again and create jobs until your cluster
169
+ # has exactly five notes.
170
+ #
171
+ # @!attribute [rw] message
172
+ # @return [String]
173
+ #
174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ClusterLimitExceededException AWS API Documentation
175
+ #
176
+ class ClusterLimitExceededException < Struct.new(
177
+ :message)
178
+ include Aws::Structure
179
+ end
180
+
166
181
  # Contains a cluster's state, a cluster's ID, and other important
167
182
  # information.
168
183
  #
@@ -903,6 +918,19 @@ module Aws::Snowball
903
918
  include Aws::Structure
904
919
  end
905
920
 
921
+ # Your IAM user lacks the necessary Amazon EC2 permissions to perform
922
+ # the attempted action.
923
+ #
924
+ # @!attribute [rw] message
925
+ # @return [String]
926
+ #
927
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/Ec2RequestFailedException AWS API Documentation
928
+ #
929
+ class Ec2RequestFailedException < Struct.new(
930
+ :message)
931
+ include Aws::Structure
932
+ end
933
+
906
934
  # The container for the EventTriggerDefinition$EventResourceARN.
907
935
  #
908
936
  # @note When making an API call, you may pass EventTriggerDefinition
@@ -1009,6 +1037,78 @@ module Aws::Snowball
1009
1037
  include Aws::Structure
1010
1038
  end
1011
1039
 
1040
+ # The address provided was invalid. Check the address with your
1041
+ # region's carrier, and try again.
1042
+ #
1043
+ # @!attribute [rw] message
1044
+ # @return [String]
1045
+ #
1046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/InvalidAddressException AWS API Documentation
1047
+ #
1048
+ class InvalidAddressException < Struct.new(
1049
+ :message)
1050
+ include Aws::Structure
1051
+ end
1052
+
1053
+ # Job or cluster creation failed. One ore more inputs were invalid.
1054
+ # Confirm that the CreateClusterRequest$SnowballType value supports your
1055
+ # CreateJobRequest$JobType, and try again.
1056
+ #
1057
+ # @!attribute [rw] message
1058
+ # @return [String]
1059
+ #
1060
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/InvalidInputCombinationException AWS API Documentation
1061
+ #
1062
+ class InvalidInputCombinationException < Struct.new(
1063
+ :message)
1064
+ include Aws::Structure
1065
+ end
1066
+
1067
+ # The action can't be performed because the job's current state
1068
+ # doesn't allow that action to be performed.
1069
+ #
1070
+ # @!attribute [rw] message
1071
+ # @return [String]
1072
+ #
1073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/InvalidJobStateException AWS API Documentation
1074
+ #
1075
+ class InvalidJobStateException < Struct.new(
1076
+ :message)
1077
+ include Aws::Structure
1078
+ end
1079
+
1080
+ # The `NextToken` string was altered unexpectedly, and the operation has
1081
+ # stopped. Run the operation without changing the `NextToken` string,
1082
+ # and try again.
1083
+ #
1084
+ # @!attribute [rw] message
1085
+ # @return [String]
1086
+ #
1087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/InvalidNextTokenException AWS API Documentation
1088
+ #
1089
+ class InvalidNextTokenException < Struct.new(
1090
+ :message)
1091
+ include Aws::Structure
1092
+ end
1093
+
1094
+ # The specified resource can't be found. Check the information you
1095
+ # provided in your last request, and try again.
1096
+ #
1097
+ # @!attribute [rw] message
1098
+ # @return [String]
1099
+ #
1100
+ # @!attribute [rw] resource_type
1101
+ # The provided resource value is invalid.
1102
+ # @return [String]
1103
+ #
1104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/InvalidResourceException AWS API Documentation
1105
+ #
1106
+ class InvalidResourceException < Struct.new(
1107
+ :message,
1108
+ :resource_type)
1109
+ include Aws::Structure
1110
+ end
1111
+
1012
1112
  # Each `JobListEntry` object contains a job's state, a job's ID, and a
1013
1113
  # value that indicates whether the job is a job part, in the case of an
1014
1114
  # export job.
@@ -1292,6 +1392,19 @@ module Aws::Snowball
1292
1392
  include Aws::Structure
1293
1393
  end
1294
1394
 
1395
+ # The provided AWS Key Management Service key lacks the permissions to
1396
+ # perform the specified CreateJob or UpdateJob action.
1397
+ #
1398
+ # @!attribute [rw] message
1399
+ # @return [String]
1400
+ #
1401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/KMSRequestFailedException AWS API Documentation
1402
+ #
1403
+ class KMSRequestFailedException < Struct.new(
1404
+ :message)
1405
+ include Aws::Structure
1406
+ end
1407
+
1295
1408
  # Contains a key range. For export jobs, a `S3Resource` object can have
1296
1409
  # an optional `KeyRange` value. The length of the range is defined at
1297
1410
  # job creation, and has either an inclusive `BeginMarker`, an inclusive
@@ -1700,6 +1813,20 @@ module Aws::Snowball
1700
1813
  include Aws::Structure
1701
1814
  end
1702
1815
 
1816
+ # The address is either outside the serviceable area for your region, or
1817
+ # an error occurred. Check the address with your region's carrier and
1818
+ # try again. If the issue persists, contact AWS Support.
1819
+ #
1820
+ # @!attribute [rw] message
1821
+ # @return [String]
1822
+ #
1823
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UnsupportedAddressException AWS API Documentation
1824
+ #
1825
+ class UnsupportedAddressException < Struct.new(
1826
+ :message)
1827
+ include Aws::Structure
1828
+ end
1829
+
1703
1830
  # @note When making an API call, you may pass UpdateClusterRequest
1704
1831
  # data as a hash:
1705
1832
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-snowball
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.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