aws-sdk-snowball 1.0.0.rc2 → 1.0.0.rc3

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.
@@ -1,559 +1,557 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module Snowball
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- Address = Shapes::StructureShape.new(name: 'Address')
16
- AddressId = Shapes::StringShape.new(name: 'AddressId')
17
- AddressList = Shapes::ListShape.new(name: 'AddressList')
18
- Boolean = Shapes::BooleanShape.new(name: 'Boolean')
19
- CancelClusterRequest = Shapes::StructureShape.new(name: 'CancelClusterRequest')
20
- CancelClusterResult = Shapes::StructureShape.new(name: 'CancelClusterResult')
21
- CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
22
- CancelJobResult = Shapes::StructureShape.new(name: 'CancelJobResult')
23
- ClusterId = Shapes::StringShape.new(name: 'ClusterId')
24
- ClusterLimitExceededException = Shapes::StructureShape.new(name: 'ClusterLimitExceededException')
25
- ClusterListEntry = Shapes::StructureShape.new(name: 'ClusterListEntry')
26
- ClusterListEntryList = Shapes::ListShape.new(name: 'ClusterListEntryList')
27
- ClusterMetadata = Shapes::StructureShape.new(name: 'ClusterMetadata')
28
- ClusterState = Shapes::StringShape.new(name: 'ClusterState')
29
- CreateAddressRequest = Shapes::StructureShape.new(name: 'CreateAddressRequest')
30
- CreateAddressResult = Shapes::StructureShape.new(name: 'CreateAddressResult')
31
- CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
32
- CreateClusterResult = Shapes::StructureShape.new(name: 'CreateClusterResult')
33
- CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
34
- CreateJobResult = Shapes::StructureShape.new(name: 'CreateJobResult')
35
- DataTransfer = Shapes::StructureShape.new(name: 'DataTransfer')
36
- DescribeAddressRequest = Shapes::StructureShape.new(name: 'DescribeAddressRequest')
37
- DescribeAddressResult = Shapes::StructureShape.new(name: 'DescribeAddressResult')
38
- DescribeAddressesRequest = Shapes::StructureShape.new(name: 'DescribeAddressesRequest')
39
- DescribeAddressesResult = Shapes::StructureShape.new(name: 'DescribeAddressesResult')
40
- DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
41
- DescribeClusterResult = Shapes::StructureShape.new(name: 'DescribeClusterResult')
42
- DescribeJobRequest = Shapes::StructureShape.new(name: 'DescribeJobRequest')
43
- DescribeJobResult = Shapes::StructureShape.new(name: 'DescribeJobResult')
44
- EventTriggerDefinition = Shapes::StructureShape.new(name: 'EventTriggerDefinition')
45
- EventTriggerDefinitionList = Shapes::ListShape.new(name: 'EventTriggerDefinitionList')
46
- GetJobManifestRequest = Shapes::StructureShape.new(name: 'GetJobManifestRequest')
47
- GetJobManifestResult = Shapes::StructureShape.new(name: 'GetJobManifestResult')
48
- GetJobUnlockCodeRequest = Shapes::StructureShape.new(name: 'GetJobUnlockCodeRequest')
49
- GetJobUnlockCodeResult = Shapes::StructureShape.new(name: 'GetJobUnlockCodeResult')
50
- GetSnowballUsageRequest = Shapes::StructureShape.new(name: 'GetSnowballUsageRequest')
51
- GetSnowballUsageResult = Shapes::StructureShape.new(name: 'GetSnowballUsageResult')
52
- Integer = Shapes::IntegerShape.new(name: 'Integer')
53
- InvalidAddressException = Shapes::StructureShape.new(name: 'InvalidAddressException')
54
- InvalidInputCombinationException = Shapes::StructureShape.new(name: 'InvalidInputCombinationException')
55
- InvalidJobStateException = Shapes::StructureShape.new(name: 'InvalidJobStateException')
56
- InvalidResourceException = Shapes::StructureShape.new(name: 'InvalidResourceException')
57
- JobId = Shapes::StringShape.new(name: 'JobId')
58
- JobListEntry = Shapes::StructureShape.new(name: 'JobListEntry')
59
- JobListEntryList = Shapes::ListShape.new(name: 'JobListEntryList')
60
- JobLogs = Shapes::StructureShape.new(name: 'JobLogs')
61
- JobMetadata = Shapes::StructureShape.new(name: 'JobMetadata')
62
- JobMetadataList = Shapes::ListShape.new(name: 'JobMetadataList')
63
- JobResource = Shapes::StructureShape.new(name: 'JobResource')
64
- JobState = Shapes::StringShape.new(name: 'JobState')
65
- JobStateList = Shapes::ListShape.new(name: 'JobStateList')
66
- JobType = Shapes::StringShape.new(name: 'JobType')
67
- KMSRequestFailedException = Shapes::StructureShape.new(name: 'KMSRequestFailedException')
68
- KeyRange = Shapes::StructureShape.new(name: 'KeyRange')
69
- KmsKeyARN = Shapes::StringShape.new(name: 'KmsKeyARN')
70
- LambdaResource = Shapes::StructureShape.new(name: 'LambdaResource')
71
- LambdaResourceList = Shapes::ListShape.new(name: 'LambdaResourceList')
72
- ListClusterJobsRequest = Shapes::StructureShape.new(name: 'ListClusterJobsRequest')
73
- ListClusterJobsResult = Shapes::StructureShape.new(name: 'ListClusterJobsResult')
74
- ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
75
- ListClustersResult = Shapes::StructureShape.new(name: 'ListClustersResult')
76
- ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
77
- ListJobsResult = Shapes::StructureShape.new(name: 'ListJobsResult')
78
- ListLimit = Shapes::IntegerShape.new(name: 'ListLimit')
79
- Long = Shapes::IntegerShape.new(name: 'Long')
80
- Notification = Shapes::StructureShape.new(name: 'Notification')
81
- ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
82
- RoleARN = Shapes::StringShape.new(name: 'RoleARN')
83
- S3Resource = Shapes::StructureShape.new(name: 'S3Resource')
84
- S3ResourceList = Shapes::ListShape.new(name: 'S3ResourceList')
85
- Shipment = Shapes::StructureShape.new(name: 'Shipment')
86
- ShippingDetails = Shapes::StructureShape.new(name: 'ShippingDetails')
87
- ShippingOption = Shapes::StringShape.new(name: 'ShippingOption')
88
- SnowballCapacity = Shapes::StringShape.new(name: 'SnowballCapacity')
89
- SnowballType = Shapes::StringShape.new(name: 'SnowballType')
90
- SnsTopicARN = Shapes::StringShape.new(name: 'SnsTopicARN')
91
- String = Shapes::StringShape.new(name: 'String')
92
- Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
93
- UnsupportedAddressException = Shapes::StructureShape.new(name: 'UnsupportedAddressException')
94
- UpdateClusterRequest = Shapes::StructureShape.new(name: 'UpdateClusterRequest')
95
- UpdateClusterResult = Shapes::StructureShape.new(name: 'UpdateClusterResult')
96
- UpdateJobRequest = Shapes::StructureShape.new(name: 'UpdateJobRequest')
97
- UpdateJobResult = Shapes::StructureShape.new(name: 'UpdateJobResult')
98
-
99
- Address.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
100
- Address.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
101
- Address.add_member(:company, Shapes::ShapeRef.new(shape: String, location_name: "Company"))
102
- Address.add_member(:street_1, Shapes::ShapeRef.new(shape: String, location_name: "Street1"))
103
- Address.add_member(:street_2, Shapes::ShapeRef.new(shape: String, location_name: "Street2"))
104
- Address.add_member(:street_3, Shapes::ShapeRef.new(shape: String, location_name: "Street3"))
105
- Address.add_member(:city, Shapes::ShapeRef.new(shape: String, location_name: "City"))
106
- Address.add_member(:state_or_province, Shapes::ShapeRef.new(shape: String, location_name: "StateOrProvince"))
107
- Address.add_member(:prefecture_or_district, Shapes::ShapeRef.new(shape: String, location_name: "PrefectureOrDistrict"))
108
- Address.add_member(:landmark, Shapes::ShapeRef.new(shape: String, location_name: "Landmark"))
109
- Address.add_member(:country, Shapes::ShapeRef.new(shape: String, location_name: "Country"))
110
- Address.add_member(:postal_code, Shapes::ShapeRef.new(shape: String, location_name: "PostalCode"))
111
- Address.add_member(:phone_number, Shapes::ShapeRef.new(shape: String, location_name: "PhoneNumber"))
112
- Address.struct_class = Types::Address
113
-
114
- AddressList.member = Shapes::ShapeRef.new(shape: Address)
115
-
116
- CancelClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
117
- CancelClusterRequest.struct_class = Types::CancelClusterRequest
118
-
119
- CancelClusterResult.struct_class = Types::CancelClusterResult
120
-
121
- CancelJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
122
- CancelJobRequest.struct_class = Types::CancelJobRequest
123
-
124
- CancelJobResult.struct_class = Types::CancelJobResult
125
-
126
- ClusterListEntry.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "ClusterId"))
127
- ClusterListEntry.add_member(:cluster_state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "ClusterState"))
128
- ClusterListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
129
- ClusterListEntry.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
130
- ClusterListEntry.struct_class = Types::ClusterListEntry
131
-
132
- ClusterListEntryList.member = Shapes::ShapeRef.new(shape: ClusterListEntry)
133
-
134
- ClusterMetadata.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "ClusterId"))
135
- ClusterMetadata.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
136
- ClusterMetadata.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyARN, location_name: "KmsKeyARN"))
137
- ClusterMetadata.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
138
- ClusterMetadata.add_member(:cluster_state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "ClusterState"))
139
- ClusterMetadata.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
140
- ClusterMetadata.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
141
- ClusterMetadata.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
142
- ClusterMetadata.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, location_name: "Resources"))
143
- ClusterMetadata.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
144
- ClusterMetadata.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
145
- ClusterMetadata.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
146
- ClusterMetadata.struct_class = Types::ClusterMetadata
147
-
148
- CreateAddressRequest.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "Address"))
149
- CreateAddressRequest.struct_class = Types::CreateAddressRequest
150
-
151
- CreateAddressResult.add_member(:address_id, Shapes::ShapeRef.new(shape: String, location_name: "AddressId"))
152
- CreateAddressResult.struct_class = Types::CreateAddressResult
153
-
154
- CreateClusterRequest.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "JobType"))
155
- CreateClusterRequest.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, required: true, location_name: "Resources"))
156
- CreateClusterRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
157
- CreateClusterRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, required: true, location_name: "AddressId"))
158
- CreateClusterRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyARN, location_name: "KmsKeyARN"))
159
- CreateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
160
- CreateClusterRequest.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
161
- CreateClusterRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, required: true, location_name: "ShippingOption"))
162
- CreateClusterRequest.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
163
- CreateClusterRequest.struct_class = Types::CreateClusterRequest
164
-
165
- CreateClusterResult.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, location_name: "ClusterId"))
166
- CreateClusterResult.struct_class = Types::CreateClusterResult
167
-
168
- CreateJobRequest.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
169
- CreateJobRequest.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, location_name: "Resources"))
170
- CreateJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
171
- CreateJobRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
172
- CreateJobRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyARN, location_name: "KmsKeyARN"))
173
- CreateJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
174
- CreateJobRequest.add_member(:snowball_capacity_preference, Shapes::ShapeRef.new(shape: SnowballCapacity, location_name: "SnowballCapacityPreference"))
175
- CreateJobRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
176
- CreateJobRequest.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
177
- CreateJobRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, location_name: "ClusterId"))
178
- CreateJobRequest.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
179
- CreateJobRequest.struct_class = Types::CreateJobRequest
180
-
181
- CreateJobResult.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
182
- CreateJobResult.struct_class = Types::CreateJobResult
183
-
184
- DataTransfer.add_member(:bytes_transferred, Shapes::ShapeRef.new(shape: Long, location_name: "BytesTransferred"))
185
- DataTransfer.add_member(:objects_transferred, Shapes::ShapeRef.new(shape: Long, location_name: "ObjectsTransferred"))
186
- DataTransfer.add_member(:total_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "TotalBytes"))
187
- DataTransfer.add_member(:total_objects, Shapes::ShapeRef.new(shape: Long, location_name: "TotalObjects"))
188
- DataTransfer.struct_class = Types::DataTransfer
189
-
190
- DescribeAddressRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, required: true, location_name: "AddressId"))
191
- DescribeAddressRequest.struct_class = Types::DescribeAddressRequest
192
-
193
- DescribeAddressResult.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
194
- DescribeAddressResult.struct_class = Types::DescribeAddressResult
195
-
196
- DescribeAddressesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
197
- DescribeAddressesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
198
- DescribeAddressesRequest.struct_class = Types::DescribeAddressesRequest
199
-
200
- DescribeAddressesResult.add_member(:addresses, Shapes::ShapeRef.new(shape: AddressList, location_name: "Addresses"))
201
- DescribeAddressesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
202
- DescribeAddressesResult.struct_class = Types::DescribeAddressesResult
203
-
204
- DescribeClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
205
- DescribeClusterRequest.struct_class = Types::DescribeClusterRequest
206
-
207
- DescribeClusterResult.add_member(:cluster_metadata, Shapes::ShapeRef.new(shape: ClusterMetadata, location_name: "ClusterMetadata"))
208
- DescribeClusterResult.struct_class = Types::DescribeClusterResult
209
-
210
- DescribeJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
211
- DescribeJobRequest.struct_class = Types::DescribeJobRequest
212
-
213
- DescribeJobResult.add_member(:job_metadata, Shapes::ShapeRef.new(shape: JobMetadata, location_name: "JobMetadata"))
214
- DescribeJobResult.add_member(:sub_job_metadata, Shapes::ShapeRef.new(shape: JobMetadataList, location_name: "SubJobMetadata"))
215
- DescribeJobResult.struct_class = Types::DescribeJobResult
216
-
217
- EventTriggerDefinition.add_member(:event_resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "EventResourceARN"))
218
- EventTriggerDefinition.struct_class = Types::EventTriggerDefinition
219
-
220
- EventTriggerDefinitionList.member = Shapes::ShapeRef.new(shape: EventTriggerDefinition)
221
-
222
- GetJobManifestRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
223
- GetJobManifestRequest.struct_class = Types::GetJobManifestRequest
224
-
225
- GetJobManifestResult.add_member(:manifest_uri, Shapes::ShapeRef.new(shape: String, location_name: "ManifestURI"))
226
- GetJobManifestResult.struct_class = Types::GetJobManifestResult
227
-
228
- GetJobUnlockCodeRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
229
- GetJobUnlockCodeRequest.struct_class = Types::GetJobUnlockCodeRequest
230
-
231
- GetJobUnlockCodeResult.add_member(:unlock_code, Shapes::ShapeRef.new(shape: String, location_name: "UnlockCode"))
232
- GetJobUnlockCodeResult.struct_class = Types::GetJobUnlockCodeResult
233
-
234
- GetSnowballUsageRequest.struct_class = Types::GetSnowballUsageRequest
235
-
236
- GetSnowballUsageResult.add_member(:snowball_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "SnowballLimit"))
237
- GetSnowballUsageResult.add_member(:snowballs_in_use, Shapes::ShapeRef.new(shape: Integer, location_name: "SnowballsInUse"))
238
- GetSnowballUsageResult.struct_class = Types::GetSnowballUsageResult
239
-
240
- JobListEntry.add_member(:job_id, Shapes::ShapeRef.new(shape: String, location_name: "JobId"))
241
- JobListEntry.add_member(:job_state, Shapes::ShapeRef.new(shape: JobState, location_name: "JobState"))
242
- JobListEntry.add_member(:is_master, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsMaster"))
243
- JobListEntry.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
244
- JobListEntry.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
245
- JobListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
246
- JobListEntry.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
247
- JobListEntry.struct_class = Types::JobListEntry
248
-
249
- JobListEntryList.member = Shapes::ShapeRef.new(shape: JobListEntry)
250
-
251
- JobLogs.add_member(:job_completion_report_uri, Shapes::ShapeRef.new(shape: String, location_name: "JobCompletionReportURI"))
252
- JobLogs.add_member(:job_success_log_uri, Shapes::ShapeRef.new(shape: String, location_name: "JobSuccessLogURI"))
253
- JobLogs.add_member(:job_failure_log_uri, Shapes::ShapeRef.new(shape: String, location_name: "JobFailureLogURI"))
254
- JobLogs.struct_class = Types::JobLogs
255
-
256
- JobMetadata.add_member(:job_id, Shapes::ShapeRef.new(shape: String, location_name: "JobId"))
257
- JobMetadata.add_member(:job_state, Shapes::ShapeRef.new(shape: JobState, location_name: "JobState"))
258
- JobMetadata.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
259
- JobMetadata.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
260
- JobMetadata.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
261
- JobMetadata.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, location_name: "Resources"))
262
- JobMetadata.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
263
- JobMetadata.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyARN, location_name: "KmsKeyARN"))
264
- JobMetadata.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
265
- JobMetadata.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
266
- JobMetadata.add_member(:shipping_details, Shapes::ShapeRef.new(shape: ShippingDetails, location_name: "ShippingDetails"))
267
- JobMetadata.add_member(:snowball_capacity_preference, Shapes::ShapeRef.new(shape: SnowballCapacity, location_name: "SnowballCapacityPreference"))
268
- JobMetadata.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
269
- JobMetadata.add_member(:data_transfer_progress, Shapes::ShapeRef.new(shape: DataTransfer, location_name: "DataTransferProgress"))
270
- JobMetadata.add_member(:job_log_info, Shapes::ShapeRef.new(shape: JobLogs, location_name: "JobLogInfo"))
271
- JobMetadata.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "ClusterId"))
272
- JobMetadata.struct_class = Types::JobMetadata
273
-
274
- JobMetadataList.member = Shapes::ShapeRef.new(shape: JobMetadata)
275
-
276
- JobResource.add_member(:s3_resources, Shapes::ShapeRef.new(shape: S3ResourceList, location_name: "S3Resources"))
277
- JobResource.add_member(:lambda_resources, Shapes::ShapeRef.new(shape: LambdaResourceList, location_name: "LambdaResources"))
278
- JobResource.struct_class = Types::JobResource
279
-
280
- JobStateList.member = Shapes::ShapeRef.new(shape: JobState)
281
-
282
- KeyRange.add_member(:begin_marker, Shapes::ShapeRef.new(shape: String, location_name: "BeginMarker"))
283
- KeyRange.add_member(:end_marker, Shapes::ShapeRef.new(shape: String, location_name: "EndMarker"))
284
- KeyRange.struct_class = Types::KeyRange
285
-
286
- LambdaResource.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "LambdaArn"))
287
- LambdaResource.add_member(:event_triggers, Shapes::ShapeRef.new(shape: EventTriggerDefinitionList, location_name: "EventTriggers"))
288
- LambdaResource.struct_class = Types::LambdaResource
289
-
290
- LambdaResourceList.member = Shapes::ShapeRef.new(shape: LambdaResource)
291
-
292
- ListClusterJobsRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
293
- ListClusterJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
294
- ListClusterJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
295
- ListClusterJobsRequest.struct_class = Types::ListClusterJobsRequest
296
-
297
- ListClusterJobsResult.add_member(:job_list_entries, Shapes::ShapeRef.new(shape: JobListEntryList, location_name: "JobListEntries"))
298
- ListClusterJobsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
299
- ListClusterJobsResult.struct_class = Types::ListClusterJobsResult
300
-
301
- ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
302
- ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
303
- ListClustersRequest.struct_class = Types::ListClustersRequest
304
-
305
- ListClustersResult.add_member(:cluster_list_entries, Shapes::ShapeRef.new(shape: ClusterListEntryList, location_name: "ClusterListEntries"))
306
- ListClustersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
307
- ListClustersResult.struct_class = Types::ListClustersResult
308
-
309
- ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
310
- ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
311
- ListJobsRequest.struct_class = Types::ListJobsRequest
312
-
313
- ListJobsResult.add_member(:job_list_entries, Shapes::ShapeRef.new(shape: JobListEntryList, location_name: "JobListEntries"))
314
- ListJobsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
315
- ListJobsResult.struct_class = Types::ListJobsResult
316
-
317
- Notification.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicARN, location_name: "SnsTopicARN"))
318
- Notification.add_member(:job_states_to_notify, Shapes::ShapeRef.new(shape: JobStateList, location_name: "JobStatesToNotify"))
319
- Notification.add_member(:notify_all, Shapes::ShapeRef.new(shape: Boolean, location_name: "NotifyAll"))
320
- Notification.struct_class = Types::Notification
321
-
322
- S3Resource.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "BucketArn"))
323
- S3Resource.add_member(:key_range, Shapes::ShapeRef.new(shape: KeyRange, location_name: "KeyRange"))
324
- S3Resource.struct_class = Types::S3Resource
325
-
326
- S3ResourceList.member = Shapes::ShapeRef.new(shape: S3Resource)
327
-
328
- Shipment.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
329
- Shipment.add_member(:tracking_number, Shapes::ShapeRef.new(shape: String, location_name: "TrackingNumber"))
330
- Shipment.struct_class = Types::Shipment
331
-
332
- ShippingDetails.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
333
- ShippingDetails.add_member(:inbound_shipment, Shapes::ShapeRef.new(shape: Shipment, location_name: "InboundShipment"))
334
- ShippingDetails.add_member(:outbound_shipment, Shapes::ShapeRef.new(shape: Shipment, location_name: "OutboundShipment"))
335
- ShippingDetails.struct_class = Types::ShippingDetails
336
-
337
- UpdateClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
338
- UpdateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
339
- UpdateClusterRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
340
- UpdateClusterRequest.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, location_name: "Resources"))
341
- UpdateClusterRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
342
- UpdateClusterRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
343
- UpdateClusterRequest.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
344
- UpdateClusterRequest.struct_class = Types::UpdateClusterRequest
345
-
346
- UpdateClusterResult.struct_class = Types::UpdateClusterResult
347
-
348
- UpdateJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
349
- UpdateJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
350
- UpdateJobRequest.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
351
- UpdateJobRequest.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, location_name: "Resources"))
352
- UpdateJobRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
353
- UpdateJobRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
354
- UpdateJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
355
- UpdateJobRequest.add_member(:snowball_capacity_preference, Shapes::ShapeRef.new(shape: SnowballCapacity, location_name: "SnowballCapacityPreference"))
356
- UpdateJobRequest.struct_class = Types::UpdateJobRequest
357
-
358
- UpdateJobResult.struct_class = Types::UpdateJobResult
359
-
360
-
361
- # @api private
362
- API = Seahorse::Model::Api.new.tap do |api|
363
-
364
- api.version = "2016-06-30"
365
-
366
- api.metadata = {
367
- "endpointPrefix" => "snowball",
368
- "jsonVersion" => "1.1",
369
- "protocol" => "json",
370
- "serviceFullName" => "Amazon Import/Export Snowball",
371
- "signatureVersion" => "v4",
372
- "targetPrefix" => "AWSIESnowballJobManagementService",
373
- }
374
-
375
- api.add_operation(:cancel_cluster, Seahorse::Model::Operation.new.tap do |o|
376
- o.name = "CancelCluster"
377
- o.http_method = "POST"
378
- o.http_request_uri = "/"
379
- o.input = Shapes::ShapeRef.new(shape: CancelClusterRequest)
380
- o.output = Shapes::ShapeRef.new(shape: CancelClusterResult)
381
- o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
382
- o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
383
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
384
- end)
385
-
386
- api.add_operation(:cancel_job, Seahorse::Model::Operation.new.tap do |o|
387
- o.name = "CancelJob"
388
- o.http_method = "POST"
389
- o.http_request_uri = "/"
390
- o.input = Shapes::ShapeRef.new(shape: CancelJobRequest)
391
- o.output = Shapes::ShapeRef.new(shape: CancelJobResult)
392
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
393
- o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
394
- o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
395
- end)
396
-
397
- api.add_operation(:create_address, Seahorse::Model::Operation.new.tap do |o|
398
- o.name = "CreateAddress"
399
- o.http_method = "POST"
400
- o.http_request_uri = "/"
401
- o.input = Shapes::ShapeRef.new(shape: CreateAddressRequest)
402
- o.output = Shapes::ShapeRef.new(shape: CreateAddressResult)
403
- o.errors << Shapes::ShapeRef.new(shape: InvalidAddressException)
404
- o.errors << Shapes::ShapeRef.new(shape: UnsupportedAddressException)
405
- end)
406
-
407
- api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
408
- o.name = "CreateCluster"
409
- o.http_method = "POST"
410
- o.http_request_uri = "/"
411
- o.input = Shapes::ShapeRef.new(shape: CreateClusterRequest)
412
- o.output = Shapes::ShapeRef.new(shape: CreateClusterResult)
413
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
414
- o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
415
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
416
- end)
417
-
418
- api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
419
- o.name = "CreateJob"
420
- o.http_method = "POST"
421
- o.http_request_uri = "/"
422
- o.input = Shapes::ShapeRef.new(shape: CreateJobRequest)
423
- o.output = Shapes::ShapeRef.new(shape: CreateJobResult)
424
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
425
- o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
426
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
427
- o.errors << Shapes::ShapeRef.new(shape: ClusterLimitExceededException)
428
- end)
429
-
430
- api.add_operation(:describe_address, Seahorse::Model::Operation.new.tap do |o|
431
- o.name = "DescribeAddress"
432
- o.http_method = "POST"
433
- o.http_request_uri = "/"
434
- o.input = Shapes::ShapeRef.new(shape: DescribeAddressRequest)
435
- o.output = Shapes::ShapeRef.new(shape: DescribeAddressResult)
436
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
437
- end)
438
-
439
- api.add_operation(:describe_addresses, Seahorse::Model::Operation.new.tap do |o|
440
- o.name = "DescribeAddresses"
441
- o.http_method = "POST"
442
- o.http_request_uri = "/"
443
- o.input = Shapes::ShapeRef.new(shape: DescribeAddressesRequest)
444
- o.output = Shapes::ShapeRef.new(shape: DescribeAddressesResult)
445
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
446
- o[:pager] = Aws::Pager.new(
447
- limit_key: "max_results",
448
- tokens: {
449
- "next_token" => "next_token"
450
- }
451
- )
452
- end)
453
-
454
- api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
455
- o.name = "DescribeCluster"
456
- o.http_method = "POST"
457
- o.http_request_uri = "/"
458
- o.input = Shapes::ShapeRef.new(shape: DescribeClusterRequest)
459
- o.output = Shapes::ShapeRef.new(shape: DescribeClusterResult)
460
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
461
- end)
462
-
463
- api.add_operation(:describe_job, Seahorse::Model::Operation.new.tap do |o|
464
- o.name = "DescribeJob"
465
- o.http_method = "POST"
466
- o.http_request_uri = "/"
467
- o.input = Shapes::ShapeRef.new(shape: DescribeJobRequest)
468
- o.output = Shapes::ShapeRef.new(shape: DescribeJobResult)
469
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
470
- end)
471
-
472
- api.add_operation(:get_job_manifest, Seahorse::Model::Operation.new.tap do |o|
473
- o.name = "GetJobManifest"
474
- o.http_method = "POST"
475
- o.http_request_uri = "/"
476
- o.input = Shapes::ShapeRef.new(shape: GetJobManifestRequest)
477
- o.output = Shapes::ShapeRef.new(shape: GetJobManifestResult)
478
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
479
- o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
480
- end)
481
-
482
- api.add_operation(:get_job_unlock_code, Seahorse::Model::Operation.new.tap do |o|
483
- o.name = "GetJobUnlockCode"
484
- o.http_method = "POST"
485
- o.http_request_uri = "/"
486
- o.input = Shapes::ShapeRef.new(shape: GetJobUnlockCodeRequest)
487
- o.output = Shapes::ShapeRef.new(shape: GetJobUnlockCodeResult)
488
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
489
- o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
490
- end)
491
-
492
- api.add_operation(:get_snowball_usage, Seahorse::Model::Operation.new.tap do |o|
493
- o.name = "GetSnowballUsage"
494
- o.http_method = "POST"
495
- o.http_request_uri = "/"
496
- o.input = Shapes::ShapeRef.new(shape: GetSnowballUsageRequest)
497
- o.output = Shapes::ShapeRef.new(shape: GetSnowballUsageResult)
498
- end)
499
-
500
- api.add_operation(:list_cluster_jobs, Seahorse::Model::Operation.new.tap do |o|
501
- o.name = "ListClusterJobs"
502
- o.http_method = "POST"
503
- o.http_request_uri = "/"
504
- o.input = Shapes::ShapeRef.new(shape: ListClusterJobsRequest)
505
- o.output = Shapes::ShapeRef.new(shape: ListClusterJobsResult)
506
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
507
- end)
508
-
509
- api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
510
- o.name = "ListClusters"
511
- o.http_method = "POST"
512
- o.http_request_uri = "/"
513
- o.input = Shapes::ShapeRef.new(shape: ListClustersRequest)
514
- o.output = Shapes::ShapeRef.new(shape: ListClustersResult)
515
- end)
516
-
517
- api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
518
- o.name = "ListJobs"
519
- o.http_method = "POST"
520
- o.http_request_uri = "/"
521
- o.input = Shapes::ShapeRef.new(shape: ListJobsRequest)
522
- o.output = Shapes::ShapeRef.new(shape: ListJobsResult)
523
- o[:pager] = Aws::Pager.new(
524
- limit_key: "max_results",
525
- tokens: {
526
- "next_token" => "next_token"
527
- }
528
- )
529
- end)
530
-
531
- api.add_operation(:update_cluster, Seahorse::Model::Operation.new.tap do |o|
532
- o.name = "UpdateCluster"
533
- o.http_method = "POST"
534
- o.http_request_uri = "/"
535
- o.input = Shapes::ShapeRef.new(shape: UpdateClusterRequest)
536
- o.output = Shapes::ShapeRef.new(shape: UpdateClusterResult)
537
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
538
- o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
539
- o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
540
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
541
- end)
542
-
543
- api.add_operation(:update_job, Seahorse::Model::Operation.new.tap do |o|
544
- o.name = "UpdateJob"
545
- o.http_method = "POST"
546
- o.http_request_uri = "/"
547
- o.input = Shapes::ShapeRef.new(shape: UpdateJobRequest)
548
- o.output = Shapes::ShapeRef.new(shape: UpdateJobResult)
549
- o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
550
- o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
551
- o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
552
- o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
553
- o.errors << Shapes::ShapeRef.new(shape: ClusterLimitExceededException)
554
- end)
555
- end
8
+ module Aws::Snowball
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ Address = Shapes::StructureShape.new(name: 'Address')
15
+ AddressId = Shapes::StringShape.new(name: 'AddressId')
16
+ AddressList = Shapes::ListShape.new(name: 'AddressList')
17
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
18
+ CancelClusterRequest = Shapes::StructureShape.new(name: 'CancelClusterRequest')
19
+ CancelClusterResult = Shapes::StructureShape.new(name: 'CancelClusterResult')
20
+ CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
21
+ CancelJobResult = Shapes::StructureShape.new(name: 'CancelJobResult')
22
+ ClusterId = Shapes::StringShape.new(name: 'ClusterId')
23
+ ClusterLimitExceededException = Shapes::StructureShape.new(name: 'ClusterLimitExceededException')
24
+ ClusterListEntry = Shapes::StructureShape.new(name: 'ClusterListEntry')
25
+ ClusterListEntryList = Shapes::ListShape.new(name: 'ClusterListEntryList')
26
+ ClusterMetadata = Shapes::StructureShape.new(name: 'ClusterMetadata')
27
+ ClusterState = Shapes::StringShape.new(name: 'ClusterState')
28
+ CreateAddressRequest = Shapes::StructureShape.new(name: 'CreateAddressRequest')
29
+ CreateAddressResult = Shapes::StructureShape.new(name: 'CreateAddressResult')
30
+ CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
31
+ CreateClusterResult = Shapes::StructureShape.new(name: 'CreateClusterResult')
32
+ CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
33
+ CreateJobResult = Shapes::StructureShape.new(name: 'CreateJobResult')
34
+ DataTransfer = Shapes::StructureShape.new(name: 'DataTransfer')
35
+ DescribeAddressRequest = Shapes::StructureShape.new(name: 'DescribeAddressRequest')
36
+ DescribeAddressResult = Shapes::StructureShape.new(name: 'DescribeAddressResult')
37
+ DescribeAddressesRequest = Shapes::StructureShape.new(name: 'DescribeAddressesRequest')
38
+ DescribeAddressesResult = Shapes::StructureShape.new(name: 'DescribeAddressesResult')
39
+ DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
40
+ DescribeClusterResult = Shapes::StructureShape.new(name: 'DescribeClusterResult')
41
+ DescribeJobRequest = Shapes::StructureShape.new(name: 'DescribeJobRequest')
42
+ DescribeJobResult = Shapes::StructureShape.new(name: 'DescribeJobResult')
43
+ EventTriggerDefinition = Shapes::StructureShape.new(name: 'EventTriggerDefinition')
44
+ EventTriggerDefinitionList = Shapes::ListShape.new(name: 'EventTriggerDefinitionList')
45
+ GetJobManifestRequest = Shapes::StructureShape.new(name: 'GetJobManifestRequest')
46
+ GetJobManifestResult = Shapes::StructureShape.new(name: 'GetJobManifestResult')
47
+ GetJobUnlockCodeRequest = Shapes::StructureShape.new(name: 'GetJobUnlockCodeRequest')
48
+ GetJobUnlockCodeResult = Shapes::StructureShape.new(name: 'GetJobUnlockCodeResult')
49
+ GetSnowballUsageRequest = Shapes::StructureShape.new(name: 'GetSnowballUsageRequest')
50
+ GetSnowballUsageResult = Shapes::StructureShape.new(name: 'GetSnowballUsageResult')
51
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
52
+ InvalidAddressException = Shapes::StructureShape.new(name: 'InvalidAddressException')
53
+ InvalidInputCombinationException = Shapes::StructureShape.new(name: 'InvalidInputCombinationException')
54
+ InvalidJobStateException = Shapes::StructureShape.new(name: 'InvalidJobStateException')
55
+ InvalidResourceException = Shapes::StructureShape.new(name: 'InvalidResourceException')
56
+ JobId = Shapes::StringShape.new(name: 'JobId')
57
+ JobListEntry = Shapes::StructureShape.new(name: 'JobListEntry')
58
+ JobListEntryList = Shapes::ListShape.new(name: 'JobListEntryList')
59
+ JobLogs = Shapes::StructureShape.new(name: 'JobLogs')
60
+ JobMetadata = Shapes::StructureShape.new(name: 'JobMetadata')
61
+ JobMetadataList = Shapes::ListShape.new(name: 'JobMetadataList')
62
+ JobResource = Shapes::StructureShape.new(name: 'JobResource')
63
+ JobState = Shapes::StringShape.new(name: 'JobState')
64
+ JobStateList = Shapes::ListShape.new(name: 'JobStateList')
65
+ JobType = Shapes::StringShape.new(name: 'JobType')
66
+ KMSRequestFailedException = Shapes::StructureShape.new(name: 'KMSRequestFailedException')
67
+ KeyRange = Shapes::StructureShape.new(name: 'KeyRange')
68
+ KmsKeyARN = Shapes::StringShape.new(name: 'KmsKeyARN')
69
+ LambdaResource = Shapes::StructureShape.new(name: 'LambdaResource')
70
+ LambdaResourceList = Shapes::ListShape.new(name: 'LambdaResourceList')
71
+ ListClusterJobsRequest = Shapes::StructureShape.new(name: 'ListClusterJobsRequest')
72
+ ListClusterJobsResult = Shapes::StructureShape.new(name: 'ListClusterJobsResult')
73
+ ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
74
+ ListClustersResult = Shapes::StructureShape.new(name: 'ListClustersResult')
75
+ ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
76
+ ListJobsResult = Shapes::StructureShape.new(name: 'ListJobsResult')
77
+ ListLimit = Shapes::IntegerShape.new(name: 'ListLimit')
78
+ Long = Shapes::IntegerShape.new(name: 'Long')
79
+ Notification = Shapes::StructureShape.new(name: 'Notification')
80
+ ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
81
+ RoleARN = Shapes::StringShape.new(name: 'RoleARN')
82
+ S3Resource = Shapes::StructureShape.new(name: 'S3Resource')
83
+ S3ResourceList = Shapes::ListShape.new(name: 'S3ResourceList')
84
+ Shipment = Shapes::StructureShape.new(name: 'Shipment')
85
+ ShippingDetails = Shapes::StructureShape.new(name: 'ShippingDetails')
86
+ ShippingOption = Shapes::StringShape.new(name: 'ShippingOption')
87
+ SnowballCapacity = Shapes::StringShape.new(name: 'SnowballCapacity')
88
+ SnowballType = Shapes::StringShape.new(name: 'SnowballType')
89
+ SnsTopicARN = Shapes::StringShape.new(name: 'SnsTopicARN')
90
+ String = Shapes::StringShape.new(name: 'String')
91
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
92
+ UnsupportedAddressException = Shapes::StructureShape.new(name: 'UnsupportedAddressException')
93
+ UpdateClusterRequest = Shapes::StructureShape.new(name: 'UpdateClusterRequest')
94
+ UpdateClusterResult = Shapes::StructureShape.new(name: 'UpdateClusterResult')
95
+ UpdateJobRequest = Shapes::StructureShape.new(name: 'UpdateJobRequest')
96
+ UpdateJobResult = Shapes::StructureShape.new(name: 'UpdateJobResult')
97
+
98
+ Address.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
99
+ Address.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
100
+ Address.add_member(:company, Shapes::ShapeRef.new(shape: String, location_name: "Company"))
101
+ Address.add_member(:street_1, Shapes::ShapeRef.new(shape: String, location_name: "Street1"))
102
+ Address.add_member(:street_2, Shapes::ShapeRef.new(shape: String, location_name: "Street2"))
103
+ Address.add_member(:street_3, Shapes::ShapeRef.new(shape: String, location_name: "Street3"))
104
+ Address.add_member(:city, Shapes::ShapeRef.new(shape: String, location_name: "City"))
105
+ Address.add_member(:state_or_province, Shapes::ShapeRef.new(shape: String, location_name: "StateOrProvince"))
106
+ Address.add_member(:prefecture_or_district, Shapes::ShapeRef.new(shape: String, location_name: "PrefectureOrDistrict"))
107
+ Address.add_member(:landmark, Shapes::ShapeRef.new(shape: String, location_name: "Landmark"))
108
+ Address.add_member(:country, Shapes::ShapeRef.new(shape: String, location_name: "Country"))
109
+ Address.add_member(:postal_code, Shapes::ShapeRef.new(shape: String, location_name: "PostalCode"))
110
+ Address.add_member(:phone_number, Shapes::ShapeRef.new(shape: String, location_name: "PhoneNumber"))
111
+ Address.struct_class = Types::Address
112
+
113
+ AddressList.member = Shapes::ShapeRef.new(shape: Address)
114
+
115
+ CancelClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
116
+ CancelClusterRequest.struct_class = Types::CancelClusterRequest
117
+
118
+ CancelClusterResult.struct_class = Types::CancelClusterResult
119
+
120
+ CancelJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
121
+ CancelJobRequest.struct_class = Types::CancelJobRequest
122
+
123
+ CancelJobResult.struct_class = Types::CancelJobResult
124
+
125
+ ClusterListEntry.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "ClusterId"))
126
+ ClusterListEntry.add_member(:cluster_state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "ClusterState"))
127
+ ClusterListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
128
+ ClusterListEntry.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
129
+ ClusterListEntry.struct_class = Types::ClusterListEntry
130
+
131
+ ClusterListEntryList.member = Shapes::ShapeRef.new(shape: ClusterListEntry)
132
+
133
+ ClusterMetadata.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "ClusterId"))
134
+ ClusterMetadata.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
135
+ ClusterMetadata.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyARN, location_name: "KmsKeyARN"))
136
+ ClusterMetadata.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
137
+ ClusterMetadata.add_member(:cluster_state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "ClusterState"))
138
+ ClusterMetadata.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
139
+ ClusterMetadata.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
140
+ ClusterMetadata.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
141
+ ClusterMetadata.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, location_name: "Resources"))
142
+ ClusterMetadata.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
143
+ ClusterMetadata.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
144
+ ClusterMetadata.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
145
+ ClusterMetadata.struct_class = Types::ClusterMetadata
146
+
147
+ CreateAddressRequest.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "Address"))
148
+ CreateAddressRequest.struct_class = Types::CreateAddressRequest
149
+
150
+ CreateAddressResult.add_member(:address_id, Shapes::ShapeRef.new(shape: String, location_name: "AddressId"))
151
+ CreateAddressResult.struct_class = Types::CreateAddressResult
152
+
153
+ CreateClusterRequest.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "JobType"))
154
+ CreateClusterRequest.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, required: true, location_name: "Resources"))
155
+ CreateClusterRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
156
+ CreateClusterRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, required: true, location_name: "AddressId"))
157
+ CreateClusterRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyARN, location_name: "KmsKeyARN"))
158
+ CreateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
159
+ CreateClusterRequest.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
160
+ CreateClusterRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, required: true, location_name: "ShippingOption"))
161
+ CreateClusterRequest.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
162
+ CreateClusterRequest.struct_class = Types::CreateClusterRequest
163
+
164
+ CreateClusterResult.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, location_name: "ClusterId"))
165
+ CreateClusterResult.struct_class = Types::CreateClusterResult
166
+
167
+ CreateJobRequest.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
168
+ CreateJobRequest.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, location_name: "Resources"))
169
+ CreateJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
170
+ CreateJobRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
171
+ CreateJobRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyARN, location_name: "KmsKeyARN"))
172
+ CreateJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
173
+ CreateJobRequest.add_member(:snowball_capacity_preference, Shapes::ShapeRef.new(shape: SnowballCapacity, location_name: "SnowballCapacityPreference"))
174
+ CreateJobRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
175
+ CreateJobRequest.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
176
+ CreateJobRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, location_name: "ClusterId"))
177
+ CreateJobRequest.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
178
+ CreateJobRequest.struct_class = Types::CreateJobRequest
179
+
180
+ CreateJobResult.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
181
+ CreateJobResult.struct_class = Types::CreateJobResult
182
+
183
+ DataTransfer.add_member(:bytes_transferred, Shapes::ShapeRef.new(shape: Long, location_name: "BytesTransferred"))
184
+ DataTransfer.add_member(:objects_transferred, Shapes::ShapeRef.new(shape: Long, location_name: "ObjectsTransferred"))
185
+ DataTransfer.add_member(:total_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "TotalBytes"))
186
+ DataTransfer.add_member(:total_objects, Shapes::ShapeRef.new(shape: Long, location_name: "TotalObjects"))
187
+ DataTransfer.struct_class = Types::DataTransfer
188
+
189
+ DescribeAddressRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, required: true, location_name: "AddressId"))
190
+ DescribeAddressRequest.struct_class = Types::DescribeAddressRequest
191
+
192
+ DescribeAddressResult.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
193
+ DescribeAddressResult.struct_class = Types::DescribeAddressResult
194
+
195
+ DescribeAddressesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
196
+ DescribeAddressesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
197
+ DescribeAddressesRequest.struct_class = Types::DescribeAddressesRequest
198
+
199
+ DescribeAddressesResult.add_member(:addresses, Shapes::ShapeRef.new(shape: AddressList, location_name: "Addresses"))
200
+ DescribeAddressesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
201
+ DescribeAddressesResult.struct_class = Types::DescribeAddressesResult
202
+
203
+ DescribeClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
204
+ DescribeClusterRequest.struct_class = Types::DescribeClusterRequest
205
+
206
+ DescribeClusterResult.add_member(:cluster_metadata, Shapes::ShapeRef.new(shape: ClusterMetadata, location_name: "ClusterMetadata"))
207
+ DescribeClusterResult.struct_class = Types::DescribeClusterResult
208
+
209
+ DescribeJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
210
+ DescribeJobRequest.struct_class = Types::DescribeJobRequest
211
+
212
+ DescribeJobResult.add_member(:job_metadata, Shapes::ShapeRef.new(shape: JobMetadata, location_name: "JobMetadata"))
213
+ DescribeJobResult.add_member(:sub_job_metadata, Shapes::ShapeRef.new(shape: JobMetadataList, location_name: "SubJobMetadata"))
214
+ DescribeJobResult.struct_class = Types::DescribeJobResult
215
+
216
+ EventTriggerDefinition.add_member(:event_resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "EventResourceARN"))
217
+ EventTriggerDefinition.struct_class = Types::EventTriggerDefinition
218
+
219
+ EventTriggerDefinitionList.member = Shapes::ShapeRef.new(shape: EventTriggerDefinition)
220
+
221
+ GetJobManifestRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
222
+ GetJobManifestRequest.struct_class = Types::GetJobManifestRequest
223
+
224
+ GetJobManifestResult.add_member(:manifest_uri, Shapes::ShapeRef.new(shape: String, location_name: "ManifestURI"))
225
+ GetJobManifestResult.struct_class = Types::GetJobManifestResult
226
+
227
+ GetJobUnlockCodeRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
228
+ GetJobUnlockCodeRequest.struct_class = Types::GetJobUnlockCodeRequest
229
+
230
+ GetJobUnlockCodeResult.add_member(:unlock_code, Shapes::ShapeRef.new(shape: String, location_name: "UnlockCode"))
231
+ GetJobUnlockCodeResult.struct_class = Types::GetJobUnlockCodeResult
232
+
233
+ GetSnowballUsageRequest.struct_class = Types::GetSnowballUsageRequest
234
+
235
+ GetSnowballUsageResult.add_member(:snowball_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "SnowballLimit"))
236
+ GetSnowballUsageResult.add_member(:snowballs_in_use, Shapes::ShapeRef.new(shape: Integer, location_name: "SnowballsInUse"))
237
+ GetSnowballUsageResult.struct_class = Types::GetSnowballUsageResult
238
+
239
+ JobListEntry.add_member(:job_id, Shapes::ShapeRef.new(shape: String, location_name: "JobId"))
240
+ JobListEntry.add_member(:job_state, Shapes::ShapeRef.new(shape: JobState, location_name: "JobState"))
241
+ JobListEntry.add_member(:is_master, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsMaster"))
242
+ JobListEntry.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
243
+ JobListEntry.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
244
+ JobListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
245
+ JobListEntry.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
246
+ JobListEntry.struct_class = Types::JobListEntry
247
+
248
+ JobListEntryList.member = Shapes::ShapeRef.new(shape: JobListEntry)
249
+
250
+ JobLogs.add_member(:job_completion_report_uri, Shapes::ShapeRef.new(shape: String, location_name: "JobCompletionReportURI"))
251
+ JobLogs.add_member(:job_success_log_uri, Shapes::ShapeRef.new(shape: String, location_name: "JobSuccessLogURI"))
252
+ JobLogs.add_member(:job_failure_log_uri, Shapes::ShapeRef.new(shape: String, location_name: "JobFailureLogURI"))
253
+ JobLogs.struct_class = Types::JobLogs
254
+
255
+ JobMetadata.add_member(:job_id, Shapes::ShapeRef.new(shape: String, location_name: "JobId"))
256
+ JobMetadata.add_member(:job_state, Shapes::ShapeRef.new(shape: JobState, location_name: "JobState"))
257
+ JobMetadata.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
258
+ JobMetadata.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
259
+ JobMetadata.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
260
+ JobMetadata.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, location_name: "Resources"))
261
+ JobMetadata.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
262
+ JobMetadata.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyARN, location_name: "KmsKeyARN"))
263
+ JobMetadata.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
264
+ JobMetadata.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
265
+ JobMetadata.add_member(:shipping_details, Shapes::ShapeRef.new(shape: ShippingDetails, location_name: "ShippingDetails"))
266
+ JobMetadata.add_member(:snowball_capacity_preference, Shapes::ShapeRef.new(shape: SnowballCapacity, location_name: "SnowballCapacityPreference"))
267
+ JobMetadata.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
268
+ JobMetadata.add_member(:data_transfer_progress, Shapes::ShapeRef.new(shape: DataTransfer, location_name: "DataTransferProgress"))
269
+ JobMetadata.add_member(:job_log_info, Shapes::ShapeRef.new(shape: JobLogs, location_name: "JobLogInfo"))
270
+ JobMetadata.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "ClusterId"))
271
+ JobMetadata.struct_class = Types::JobMetadata
272
+
273
+ JobMetadataList.member = Shapes::ShapeRef.new(shape: JobMetadata)
274
+
275
+ JobResource.add_member(:s3_resources, Shapes::ShapeRef.new(shape: S3ResourceList, location_name: "S3Resources"))
276
+ JobResource.add_member(:lambda_resources, Shapes::ShapeRef.new(shape: LambdaResourceList, location_name: "LambdaResources"))
277
+ JobResource.struct_class = Types::JobResource
278
+
279
+ JobStateList.member = Shapes::ShapeRef.new(shape: JobState)
280
+
281
+ KeyRange.add_member(:begin_marker, Shapes::ShapeRef.new(shape: String, location_name: "BeginMarker"))
282
+ KeyRange.add_member(:end_marker, Shapes::ShapeRef.new(shape: String, location_name: "EndMarker"))
283
+ KeyRange.struct_class = Types::KeyRange
284
+
285
+ LambdaResource.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "LambdaArn"))
286
+ LambdaResource.add_member(:event_triggers, Shapes::ShapeRef.new(shape: EventTriggerDefinitionList, location_name: "EventTriggers"))
287
+ LambdaResource.struct_class = Types::LambdaResource
288
+
289
+ LambdaResourceList.member = Shapes::ShapeRef.new(shape: LambdaResource)
290
+
291
+ ListClusterJobsRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
292
+ ListClusterJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
293
+ ListClusterJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
294
+ ListClusterJobsRequest.struct_class = Types::ListClusterJobsRequest
295
+
296
+ ListClusterJobsResult.add_member(:job_list_entries, Shapes::ShapeRef.new(shape: JobListEntryList, location_name: "JobListEntries"))
297
+ ListClusterJobsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
298
+ ListClusterJobsResult.struct_class = Types::ListClusterJobsResult
299
+
300
+ ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
301
+ ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
302
+ ListClustersRequest.struct_class = Types::ListClustersRequest
303
+
304
+ ListClustersResult.add_member(:cluster_list_entries, Shapes::ShapeRef.new(shape: ClusterListEntryList, location_name: "ClusterListEntries"))
305
+ ListClustersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
306
+ ListClustersResult.struct_class = Types::ListClustersResult
307
+
308
+ ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
309
+ ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
310
+ ListJobsRequest.struct_class = Types::ListJobsRequest
311
+
312
+ ListJobsResult.add_member(:job_list_entries, Shapes::ShapeRef.new(shape: JobListEntryList, location_name: "JobListEntries"))
313
+ ListJobsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
314
+ ListJobsResult.struct_class = Types::ListJobsResult
315
+
316
+ Notification.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicARN, location_name: "SnsTopicARN"))
317
+ Notification.add_member(:job_states_to_notify, Shapes::ShapeRef.new(shape: JobStateList, location_name: "JobStatesToNotify"))
318
+ Notification.add_member(:notify_all, Shapes::ShapeRef.new(shape: Boolean, location_name: "NotifyAll"))
319
+ Notification.struct_class = Types::Notification
320
+
321
+ S3Resource.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "BucketArn"))
322
+ S3Resource.add_member(:key_range, Shapes::ShapeRef.new(shape: KeyRange, location_name: "KeyRange"))
323
+ S3Resource.struct_class = Types::S3Resource
324
+
325
+ S3ResourceList.member = Shapes::ShapeRef.new(shape: S3Resource)
326
+
327
+ Shipment.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
328
+ Shipment.add_member(:tracking_number, Shapes::ShapeRef.new(shape: String, location_name: "TrackingNumber"))
329
+ Shipment.struct_class = Types::Shipment
330
+
331
+ ShippingDetails.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
332
+ ShippingDetails.add_member(:inbound_shipment, Shapes::ShapeRef.new(shape: Shipment, location_name: "InboundShipment"))
333
+ ShippingDetails.add_member(:outbound_shipment, Shapes::ShapeRef.new(shape: Shipment, location_name: "OutboundShipment"))
334
+ ShippingDetails.struct_class = Types::ShippingDetails
335
+
336
+ UpdateClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
337
+ UpdateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
338
+ UpdateClusterRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
339
+ UpdateClusterRequest.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, location_name: "Resources"))
340
+ UpdateClusterRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
341
+ UpdateClusterRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
342
+ UpdateClusterRequest.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
343
+ UpdateClusterRequest.struct_class = Types::UpdateClusterRequest
344
+
345
+ UpdateClusterResult.struct_class = Types::UpdateClusterResult
346
+
347
+ UpdateJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
348
+ UpdateJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
349
+ UpdateJobRequest.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
350
+ UpdateJobRequest.add_member(:resources, Shapes::ShapeRef.new(shape: JobResource, location_name: "Resources"))
351
+ UpdateJobRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
352
+ UpdateJobRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
353
+ UpdateJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
354
+ UpdateJobRequest.add_member(:snowball_capacity_preference, Shapes::ShapeRef.new(shape: SnowballCapacity, location_name: "SnowballCapacityPreference"))
355
+ UpdateJobRequest.struct_class = Types::UpdateJobRequest
356
+
357
+ UpdateJobResult.struct_class = Types::UpdateJobResult
556
358
 
359
+
360
+ # @api private
361
+ API = Seahorse::Model::Api.new.tap do |api|
362
+
363
+ api.version = "2016-06-30"
364
+
365
+ api.metadata = {
366
+ "endpointPrefix" => "snowball",
367
+ "jsonVersion" => "1.1",
368
+ "protocol" => "json",
369
+ "serviceFullName" => "Amazon Import/Export Snowball",
370
+ "signatureVersion" => "v4",
371
+ "targetPrefix" => "AWSIESnowballJobManagementService",
372
+ }
373
+
374
+ api.add_operation(:cancel_cluster, Seahorse::Model::Operation.new.tap do |o|
375
+ o.name = "CancelCluster"
376
+ o.http_method = "POST"
377
+ o.http_request_uri = "/"
378
+ o.input = Shapes::ShapeRef.new(shape: CancelClusterRequest)
379
+ o.output = Shapes::ShapeRef.new(shape: CancelClusterResult)
380
+ o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
381
+ o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
382
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
383
+ end)
384
+
385
+ api.add_operation(:cancel_job, Seahorse::Model::Operation.new.tap do |o|
386
+ o.name = "CancelJob"
387
+ o.http_method = "POST"
388
+ o.http_request_uri = "/"
389
+ o.input = Shapes::ShapeRef.new(shape: CancelJobRequest)
390
+ o.output = Shapes::ShapeRef.new(shape: CancelJobResult)
391
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
392
+ o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
393
+ o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
394
+ end)
395
+
396
+ api.add_operation(:create_address, Seahorse::Model::Operation.new.tap do |o|
397
+ o.name = "CreateAddress"
398
+ o.http_method = "POST"
399
+ o.http_request_uri = "/"
400
+ o.input = Shapes::ShapeRef.new(shape: CreateAddressRequest)
401
+ o.output = Shapes::ShapeRef.new(shape: CreateAddressResult)
402
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAddressException)
403
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAddressException)
404
+ end)
405
+
406
+ api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
407
+ o.name = "CreateCluster"
408
+ o.http_method = "POST"
409
+ o.http_request_uri = "/"
410
+ o.input = Shapes::ShapeRef.new(shape: CreateClusterRequest)
411
+ o.output = Shapes::ShapeRef.new(shape: CreateClusterResult)
412
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
413
+ o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
414
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
415
+ end)
416
+
417
+ api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
418
+ o.name = "CreateJob"
419
+ o.http_method = "POST"
420
+ o.http_request_uri = "/"
421
+ o.input = Shapes::ShapeRef.new(shape: CreateJobRequest)
422
+ o.output = Shapes::ShapeRef.new(shape: CreateJobResult)
423
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
424
+ o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
425
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
426
+ o.errors << Shapes::ShapeRef.new(shape: ClusterLimitExceededException)
427
+ end)
428
+
429
+ api.add_operation(:describe_address, Seahorse::Model::Operation.new.tap do |o|
430
+ o.name = "DescribeAddress"
431
+ o.http_method = "POST"
432
+ o.http_request_uri = "/"
433
+ o.input = Shapes::ShapeRef.new(shape: DescribeAddressRequest)
434
+ o.output = Shapes::ShapeRef.new(shape: DescribeAddressResult)
435
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
436
+ end)
437
+
438
+ api.add_operation(:describe_addresses, Seahorse::Model::Operation.new.tap do |o|
439
+ o.name = "DescribeAddresses"
440
+ o.http_method = "POST"
441
+ o.http_request_uri = "/"
442
+ o.input = Shapes::ShapeRef.new(shape: DescribeAddressesRequest)
443
+ o.output = Shapes::ShapeRef.new(shape: DescribeAddressesResult)
444
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
445
+ o[:pager] = Aws::Pager.new(
446
+ limit_key: "max_results",
447
+ tokens: {
448
+ "next_token" => "next_token"
449
+ }
450
+ )
451
+ end)
452
+
453
+ api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
454
+ o.name = "DescribeCluster"
455
+ o.http_method = "POST"
456
+ o.http_request_uri = "/"
457
+ o.input = Shapes::ShapeRef.new(shape: DescribeClusterRequest)
458
+ o.output = Shapes::ShapeRef.new(shape: DescribeClusterResult)
459
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
460
+ end)
461
+
462
+ api.add_operation(:describe_job, Seahorse::Model::Operation.new.tap do |o|
463
+ o.name = "DescribeJob"
464
+ o.http_method = "POST"
465
+ o.http_request_uri = "/"
466
+ o.input = Shapes::ShapeRef.new(shape: DescribeJobRequest)
467
+ o.output = Shapes::ShapeRef.new(shape: DescribeJobResult)
468
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
469
+ end)
470
+
471
+ api.add_operation(:get_job_manifest, Seahorse::Model::Operation.new.tap do |o|
472
+ o.name = "GetJobManifest"
473
+ o.http_method = "POST"
474
+ o.http_request_uri = "/"
475
+ o.input = Shapes::ShapeRef.new(shape: GetJobManifestRequest)
476
+ o.output = Shapes::ShapeRef.new(shape: GetJobManifestResult)
477
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
478
+ o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
479
+ end)
480
+
481
+ api.add_operation(:get_job_unlock_code, Seahorse::Model::Operation.new.tap do |o|
482
+ o.name = "GetJobUnlockCode"
483
+ o.http_method = "POST"
484
+ o.http_request_uri = "/"
485
+ o.input = Shapes::ShapeRef.new(shape: GetJobUnlockCodeRequest)
486
+ o.output = Shapes::ShapeRef.new(shape: GetJobUnlockCodeResult)
487
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
488
+ o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
489
+ end)
490
+
491
+ api.add_operation(:get_snowball_usage, Seahorse::Model::Operation.new.tap do |o|
492
+ o.name = "GetSnowballUsage"
493
+ o.http_method = "POST"
494
+ o.http_request_uri = "/"
495
+ o.input = Shapes::ShapeRef.new(shape: GetSnowballUsageRequest)
496
+ o.output = Shapes::ShapeRef.new(shape: GetSnowballUsageResult)
497
+ end)
498
+
499
+ api.add_operation(:list_cluster_jobs, Seahorse::Model::Operation.new.tap do |o|
500
+ o.name = "ListClusterJobs"
501
+ o.http_method = "POST"
502
+ o.http_request_uri = "/"
503
+ o.input = Shapes::ShapeRef.new(shape: ListClusterJobsRequest)
504
+ o.output = Shapes::ShapeRef.new(shape: ListClusterJobsResult)
505
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
506
+ end)
507
+
508
+ api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
509
+ o.name = "ListClusters"
510
+ o.http_method = "POST"
511
+ o.http_request_uri = "/"
512
+ o.input = Shapes::ShapeRef.new(shape: ListClustersRequest)
513
+ o.output = Shapes::ShapeRef.new(shape: ListClustersResult)
514
+ end)
515
+
516
+ api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
517
+ o.name = "ListJobs"
518
+ o.http_method = "POST"
519
+ o.http_request_uri = "/"
520
+ o.input = Shapes::ShapeRef.new(shape: ListJobsRequest)
521
+ o.output = Shapes::ShapeRef.new(shape: ListJobsResult)
522
+ o[:pager] = Aws::Pager.new(
523
+ limit_key: "max_results",
524
+ tokens: {
525
+ "next_token" => "next_token"
526
+ }
527
+ )
528
+ end)
529
+
530
+ api.add_operation(:update_cluster, Seahorse::Model::Operation.new.tap do |o|
531
+ o.name = "UpdateCluster"
532
+ o.http_method = "POST"
533
+ o.http_request_uri = "/"
534
+ o.input = Shapes::ShapeRef.new(shape: UpdateClusterRequest)
535
+ o.output = Shapes::ShapeRef.new(shape: UpdateClusterResult)
536
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
537
+ o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
538
+ o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
539
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
540
+ end)
541
+
542
+ api.add_operation(:update_job, Seahorse::Model::Operation.new.tap do |o|
543
+ o.name = "UpdateJob"
544
+ o.http_method = "POST"
545
+ o.http_request_uri = "/"
546
+ o.input = Shapes::ShapeRef.new(shape: UpdateJobRequest)
547
+ o.output = Shapes::ShapeRef.new(shape: UpdateJobResult)
548
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
549
+ o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
550
+ o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
551
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
552
+ o.errors << Shapes::ShapeRef.new(shape: ClusterLimitExceededException)
553
+ end)
557
554
  end
555
+
558
556
  end
559
557
  end