aws-sdk-importexport 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-importexport.rb +47 -0
- data/lib/aws-sdk-importexport/client.rb +452 -0
- data/lib/aws-sdk-importexport/client_api.rb +428 -0
- data/lib/aws-sdk-importexport/customizations.rb +7 -0
- data/lib/aws-sdk-importexport/errors.rb +23 -0
- data/lib/aws-sdk-importexport/resource.rb +25 -0
- data/lib/aws-sdk-importexport/types.rb +486 -0
- metadata +80 -0
@@ -0,0 +1,428 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ImportExport
|
10
|
+
# @api private
|
11
|
+
module ClientApi
|
12
|
+
|
13
|
+
include Seahorse::Model
|
14
|
+
|
15
|
+
APIVersion = Shapes::StringShape.new(name: 'APIVersion')
|
16
|
+
Artifact = Shapes::StructureShape.new(name: 'Artifact')
|
17
|
+
ArtifactList = Shapes::ListShape.new(name: 'ArtifactList')
|
18
|
+
BucketPermissionException = Shapes::StructureShape.new(name: 'BucketPermissionException')
|
19
|
+
CancelJobInput = Shapes::StructureShape.new(name: 'CancelJobInput')
|
20
|
+
CancelJobOutput = Shapes::StructureShape.new(name: 'CancelJobOutput')
|
21
|
+
CanceledJobIdException = Shapes::StructureShape.new(name: 'CanceledJobIdException')
|
22
|
+
Carrier = Shapes::StringShape.new(name: 'Carrier')
|
23
|
+
CreateJobInput = Shapes::StructureShape.new(name: 'CreateJobInput')
|
24
|
+
CreateJobOutput = Shapes::StructureShape.new(name: 'CreateJobOutput')
|
25
|
+
CreateJobQuotaExceededException = Shapes::StructureShape.new(name: 'CreateJobQuotaExceededException')
|
26
|
+
CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
|
27
|
+
CurrentManifest = Shapes::StringShape.new(name: 'CurrentManifest')
|
28
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
29
|
+
ErrorCount = Shapes::IntegerShape.new(name: 'ErrorCount')
|
30
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
31
|
+
ExpiredJobIdException = Shapes::StructureShape.new(name: 'ExpiredJobIdException')
|
32
|
+
GenericString = Shapes::StringShape.new(name: 'GenericString')
|
33
|
+
GetShippingLabelInput = Shapes::StructureShape.new(name: 'GetShippingLabelInput')
|
34
|
+
GetShippingLabelOutput = Shapes::StructureShape.new(name: 'GetShippingLabelOutput')
|
35
|
+
GetStatusInput = Shapes::StructureShape.new(name: 'GetStatusInput')
|
36
|
+
GetStatusOutput = Shapes::StructureShape.new(name: 'GetStatusOutput')
|
37
|
+
InvalidAccessKeyIdException = Shapes::StructureShape.new(name: 'InvalidAccessKeyIdException')
|
38
|
+
InvalidAddressException = Shapes::StructureShape.new(name: 'InvalidAddressException')
|
39
|
+
InvalidCustomsException = Shapes::StructureShape.new(name: 'InvalidCustomsException')
|
40
|
+
InvalidFileSystemException = Shapes::StructureShape.new(name: 'InvalidFileSystemException')
|
41
|
+
InvalidJobIdException = Shapes::StructureShape.new(name: 'InvalidJobIdException')
|
42
|
+
InvalidManifestFieldException = Shapes::StructureShape.new(name: 'InvalidManifestFieldException')
|
43
|
+
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
44
|
+
InvalidVersionException = Shapes::StructureShape.new(name: 'InvalidVersionException')
|
45
|
+
IsCanceled = Shapes::BooleanShape.new(name: 'IsCanceled')
|
46
|
+
IsTruncated = Shapes::BooleanShape.new(name: 'IsTruncated')
|
47
|
+
Job = Shapes::StructureShape.new(name: 'Job')
|
48
|
+
JobId = Shapes::StringShape.new(name: 'JobId')
|
49
|
+
JobIdList = Shapes::ListShape.new(name: 'JobIdList')
|
50
|
+
JobType = Shapes::StringShape.new(name: 'JobType')
|
51
|
+
JobsList = Shapes::ListShape.new(name: 'JobsList')
|
52
|
+
ListJobsInput = Shapes::StructureShape.new(name: 'ListJobsInput')
|
53
|
+
ListJobsOutput = Shapes::StructureShape.new(name: 'ListJobsOutput')
|
54
|
+
LocationCode = Shapes::StringShape.new(name: 'LocationCode')
|
55
|
+
LocationMessage = Shapes::StringShape.new(name: 'LocationMessage')
|
56
|
+
LogBucket = Shapes::StringShape.new(name: 'LogBucket')
|
57
|
+
LogKey = Shapes::StringShape.new(name: 'LogKey')
|
58
|
+
MalformedManifestException = Shapes::StructureShape.new(name: 'MalformedManifestException')
|
59
|
+
Manifest = Shapes::StringShape.new(name: 'Manifest')
|
60
|
+
ManifestAddendum = Shapes::StringShape.new(name: 'ManifestAddendum')
|
61
|
+
Marker = Shapes::StringShape.new(name: 'Marker')
|
62
|
+
MaxJobs = Shapes::IntegerShape.new(name: 'MaxJobs')
|
63
|
+
MissingCustomsException = Shapes::StructureShape.new(name: 'MissingCustomsException')
|
64
|
+
MissingManifestFieldException = Shapes::StructureShape.new(name: 'MissingManifestFieldException')
|
65
|
+
MissingParameterException = Shapes::StructureShape.new(name: 'MissingParameterException')
|
66
|
+
MultipleRegionsException = Shapes::StructureShape.new(name: 'MultipleRegionsException')
|
67
|
+
NoSuchBucketException = Shapes::StructureShape.new(name: 'NoSuchBucketException')
|
68
|
+
ProgressCode = Shapes::StringShape.new(name: 'ProgressCode')
|
69
|
+
ProgressMessage = Shapes::StringShape.new(name: 'ProgressMessage')
|
70
|
+
Signature = Shapes::StringShape.new(name: 'Signature')
|
71
|
+
SignatureFileContents = Shapes::StringShape.new(name: 'SignatureFileContents')
|
72
|
+
Success = Shapes::BooleanShape.new(name: 'Success')
|
73
|
+
TrackingNumber = Shapes::StringShape.new(name: 'TrackingNumber')
|
74
|
+
URL = Shapes::StringShape.new(name: 'URL')
|
75
|
+
UnableToCancelJobIdException = Shapes::StructureShape.new(name: 'UnableToCancelJobIdException')
|
76
|
+
UnableToUpdateJobIdException = Shapes::StructureShape.new(name: 'UnableToUpdateJobIdException')
|
77
|
+
UpdateJobInput = Shapes::StructureShape.new(name: 'UpdateJobInput')
|
78
|
+
UpdateJobOutput = Shapes::StructureShape.new(name: 'UpdateJobOutput')
|
79
|
+
ValidateOnly = Shapes::BooleanShape.new(name: 'ValidateOnly')
|
80
|
+
WarningMessage = Shapes::StringShape.new(name: 'WarningMessage')
|
81
|
+
city = Shapes::StringShape.new(name: 'city')
|
82
|
+
company = Shapes::StringShape.new(name: 'company')
|
83
|
+
country = Shapes::StringShape.new(name: 'country')
|
84
|
+
name = Shapes::StringShape.new(name: 'name')
|
85
|
+
phoneNumber = Shapes::StringShape.new(name: 'phoneNumber')
|
86
|
+
postalCode = Shapes::StringShape.new(name: 'postalCode')
|
87
|
+
stateOrProvince = Shapes::StringShape.new(name: 'stateOrProvince')
|
88
|
+
street1 = Shapes::StringShape.new(name: 'street1')
|
89
|
+
street2 = Shapes::StringShape.new(name: 'street2')
|
90
|
+
street3 = Shapes::StringShape.new(name: 'street3')
|
91
|
+
|
92
|
+
Artifact.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
93
|
+
Artifact.add_member(:url, Shapes::ShapeRef.new(shape: URL, location_name: "URL"))
|
94
|
+
Artifact.struct_class = Types::Artifact
|
95
|
+
|
96
|
+
ArtifactList.member = Shapes::ShapeRef.new(shape: Artifact)
|
97
|
+
|
98
|
+
CancelJobInput.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
99
|
+
CancelJobInput.add_member(:api_version, Shapes::ShapeRef.new(shape: APIVersion, location_name: "APIVersion"))
|
100
|
+
CancelJobInput.struct_class = Types::CancelJobInput
|
101
|
+
|
102
|
+
CancelJobOutput.add_member(:success, Shapes::ShapeRef.new(shape: Success, location_name: "Success"))
|
103
|
+
CancelJobOutput.struct_class = Types::CancelJobOutput
|
104
|
+
|
105
|
+
CreateJobInput.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "JobType"))
|
106
|
+
CreateJobInput.add_member(:manifest, Shapes::ShapeRef.new(shape: Manifest, required: true, location_name: "Manifest"))
|
107
|
+
CreateJobInput.add_member(:manifest_addendum, Shapes::ShapeRef.new(shape: ManifestAddendum, location_name: "ManifestAddendum"))
|
108
|
+
CreateJobInput.add_member(:validate_only, Shapes::ShapeRef.new(shape: ValidateOnly, required: true, location_name: "ValidateOnly"))
|
109
|
+
CreateJobInput.add_member(:api_version, Shapes::ShapeRef.new(shape: APIVersion, location_name: "APIVersion"))
|
110
|
+
CreateJobInput.struct_class = Types::CreateJobInput
|
111
|
+
|
112
|
+
CreateJobOutput.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
113
|
+
CreateJobOutput.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
|
114
|
+
CreateJobOutput.add_member(:signature, Shapes::ShapeRef.new(shape: Signature, location_name: "Signature"))
|
115
|
+
CreateJobOutput.add_member(:signature_file_contents, Shapes::ShapeRef.new(shape: SignatureFileContents, location_name: "SignatureFileContents"))
|
116
|
+
CreateJobOutput.add_member(:warning_message, Shapes::ShapeRef.new(shape: WarningMessage, location_name: "WarningMessage"))
|
117
|
+
CreateJobOutput.add_member(:artifact_list, Shapes::ShapeRef.new(shape: ArtifactList, location_name: "ArtifactList"))
|
118
|
+
CreateJobOutput.struct_class = Types::CreateJobOutput
|
119
|
+
|
120
|
+
GetShippingLabelInput.add_member(:job_ids, Shapes::ShapeRef.new(shape: JobIdList, required: true, location_name: "jobIds"))
|
121
|
+
GetShippingLabelInput.add_member(:name, Shapes::ShapeRef.new(shape: name, location_name: "name"))
|
122
|
+
GetShippingLabelInput.add_member(:company, Shapes::ShapeRef.new(shape: company, location_name: "company"))
|
123
|
+
GetShippingLabelInput.add_member(:phone_number, Shapes::ShapeRef.new(shape: phoneNumber, location_name: "phoneNumber"))
|
124
|
+
GetShippingLabelInput.add_member(:country, Shapes::ShapeRef.new(shape: country, location_name: "country"))
|
125
|
+
GetShippingLabelInput.add_member(:state_or_province, Shapes::ShapeRef.new(shape: stateOrProvince, location_name: "stateOrProvince"))
|
126
|
+
GetShippingLabelInput.add_member(:city, Shapes::ShapeRef.new(shape: city, location_name: "city"))
|
127
|
+
GetShippingLabelInput.add_member(:postal_code, Shapes::ShapeRef.new(shape: postalCode, location_name: "postalCode"))
|
128
|
+
GetShippingLabelInput.add_member(:street1, Shapes::ShapeRef.new(shape: street1, location_name: "street1"))
|
129
|
+
GetShippingLabelInput.add_member(:street2, Shapes::ShapeRef.new(shape: street2, location_name: "street2"))
|
130
|
+
GetShippingLabelInput.add_member(:street3, Shapes::ShapeRef.new(shape: street3, location_name: "street3"))
|
131
|
+
GetShippingLabelInput.add_member(:api_version, Shapes::ShapeRef.new(shape: APIVersion, location_name: "APIVersion"))
|
132
|
+
GetShippingLabelInput.struct_class = Types::GetShippingLabelInput
|
133
|
+
|
134
|
+
GetShippingLabelOutput.add_member(:shipping_label_url, Shapes::ShapeRef.new(shape: GenericString, location_name: "ShippingLabelURL"))
|
135
|
+
GetShippingLabelOutput.add_member(:warning, Shapes::ShapeRef.new(shape: GenericString, location_name: "Warning"))
|
136
|
+
GetShippingLabelOutput.struct_class = Types::GetShippingLabelOutput
|
137
|
+
|
138
|
+
GetStatusInput.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
139
|
+
GetStatusInput.add_member(:api_version, Shapes::ShapeRef.new(shape: APIVersion, location_name: "APIVersion"))
|
140
|
+
GetStatusInput.struct_class = Types::GetStatusInput
|
141
|
+
|
142
|
+
GetStatusOutput.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
143
|
+
GetStatusOutput.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
|
144
|
+
GetStatusOutput.add_member(:location_code, Shapes::ShapeRef.new(shape: LocationCode, location_name: "LocationCode"))
|
145
|
+
GetStatusOutput.add_member(:location_message, Shapes::ShapeRef.new(shape: LocationMessage, location_name: "LocationMessage"))
|
146
|
+
GetStatusOutput.add_member(:progress_code, Shapes::ShapeRef.new(shape: ProgressCode, location_name: "ProgressCode"))
|
147
|
+
GetStatusOutput.add_member(:progress_message, Shapes::ShapeRef.new(shape: ProgressMessage, location_name: "ProgressMessage"))
|
148
|
+
GetStatusOutput.add_member(:carrier, Shapes::ShapeRef.new(shape: Carrier, location_name: "Carrier"))
|
149
|
+
GetStatusOutput.add_member(:tracking_number, Shapes::ShapeRef.new(shape: TrackingNumber, location_name: "TrackingNumber"))
|
150
|
+
GetStatusOutput.add_member(:log_bucket, Shapes::ShapeRef.new(shape: LogBucket, location_name: "LogBucket"))
|
151
|
+
GetStatusOutput.add_member(:log_key, Shapes::ShapeRef.new(shape: LogKey, location_name: "LogKey"))
|
152
|
+
GetStatusOutput.add_member(:error_count, Shapes::ShapeRef.new(shape: ErrorCount, location_name: "ErrorCount"))
|
153
|
+
GetStatusOutput.add_member(:signature, Shapes::ShapeRef.new(shape: Signature, location_name: "Signature"))
|
154
|
+
GetStatusOutput.add_member(:signature_file_contents, Shapes::ShapeRef.new(shape: Signature, location_name: "SignatureFileContents"))
|
155
|
+
GetStatusOutput.add_member(:current_manifest, Shapes::ShapeRef.new(shape: CurrentManifest, location_name: "CurrentManifest"))
|
156
|
+
GetStatusOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
157
|
+
GetStatusOutput.add_member(:artifact_list, Shapes::ShapeRef.new(shape: ArtifactList, location_name: "ArtifactList"))
|
158
|
+
GetStatusOutput.struct_class = Types::GetStatusOutput
|
159
|
+
|
160
|
+
Job.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
161
|
+
Job.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
162
|
+
Job.add_member(:is_canceled, Shapes::ShapeRef.new(shape: IsCanceled, location_name: "IsCanceled"))
|
163
|
+
Job.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "JobType"))
|
164
|
+
Job.struct_class = Types::Job
|
165
|
+
|
166
|
+
JobIdList.member = Shapes::ShapeRef.new(shape: GenericString)
|
167
|
+
|
168
|
+
JobsList.member = Shapes::ShapeRef.new(shape: Job)
|
169
|
+
|
170
|
+
ListJobsInput.add_member(:max_jobs, Shapes::ShapeRef.new(shape: MaxJobs, location_name: "MaxJobs"))
|
171
|
+
ListJobsInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
|
172
|
+
ListJobsInput.add_member(:api_version, Shapes::ShapeRef.new(shape: APIVersion, location_name: "APIVersion"))
|
173
|
+
ListJobsInput.struct_class = Types::ListJobsInput
|
174
|
+
|
175
|
+
ListJobsOutput.add_member(:jobs, Shapes::ShapeRef.new(shape: JobsList, location_name: "Jobs"))
|
176
|
+
ListJobsOutput.add_member(:is_truncated, Shapes::ShapeRef.new(shape: IsTruncated, location_name: "IsTruncated"))
|
177
|
+
ListJobsOutput.struct_class = Types::ListJobsOutput
|
178
|
+
|
179
|
+
UpdateJobInput.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
180
|
+
UpdateJobInput.add_member(:manifest, Shapes::ShapeRef.new(shape: Manifest, required: true, location_name: "Manifest"))
|
181
|
+
UpdateJobInput.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "JobType"))
|
182
|
+
UpdateJobInput.add_member(:validate_only, Shapes::ShapeRef.new(shape: ValidateOnly, required: true, location_name: "ValidateOnly"))
|
183
|
+
UpdateJobInput.add_member(:api_version, Shapes::ShapeRef.new(shape: APIVersion, location_name: "APIVersion"))
|
184
|
+
UpdateJobInput.struct_class = Types::UpdateJobInput
|
185
|
+
|
186
|
+
UpdateJobOutput.add_member(:success, Shapes::ShapeRef.new(shape: Success, location_name: "Success"))
|
187
|
+
UpdateJobOutput.add_member(:warning_message, Shapes::ShapeRef.new(shape: WarningMessage, location_name: "WarningMessage"))
|
188
|
+
UpdateJobOutput.add_member(:artifact_list, Shapes::ShapeRef.new(shape: ArtifactList, location_name: "ArtifactList"))
|
189
|
+
UpdateJobOutput.struct_class = Types::UpdateJobOutput
|
190
|
+
|
191
|
+
|
192
|
+
# @api private
|
193
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
194
|
+
|
195
|
+
api.version = "2010-06-01"
|
196
|
+
|
197
|
+
api.metadata = {
|
198
|
+
"endpointPrefix" => "importexport",
|
199
|
+
"protocol" => "query",
|
200
|
+
"serviceFullName" => "AWS Import/Export",
|
201
|
+
"signatureVersion" => "v2",
|
202
|
+
"xmlNamespace" => "http://importexport.amazonaws.com/doc/2010-06-01/",
|
203
|
+
}
|
204
|
+
|
205
|
+
api.add_operation(:cancel_job, Seahorse::Model::Operation.new.tap do |o|
|
206
|
+
o.name = "CancelJob"
|
207
|
+
o.http_method = "POST"
|
208
|
+
o.http_request_uri = "/"
|
209
|
+
o.input = Shapes::ShapeRef.new(shape: CancelJobInput)
|
210
|
+
o.output = Shapes::ShapeRef.new(shape: CancelJobOutput)
|
211
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidJobIdException, metadata: {
|
212
|
+
"exception" => true
|
213
|
+
})
|
214
|
+
o.errors << Shapes::ShapeRef.new(shape: ExpiredJobIdException, metadata: {
|
215
|
+
"exception" => true
|
216
|
+
})
|
217
|
+
o.errors << Shapes::ShapeRef.new(shape: CanceledJobIdException, metadata: {
|
218
|
+
"exception" => true
|
219
|
+
})
|
220
|
+
o.errors << Shapes::ShapeRef.new(shape: UnableToCancelJobIdException, metadata: {
|
221
|
+
"exception" => true
|
222
|
+
})
|
223
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessKeyIdException, metadata: {
|
224
|
+
"exception" => true
|
225
|
+
})
|
226
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionException, metadata: {
|
227
|
+
"exception" => true
|
228
|
+
})
|
229
|
+
end)
|
230
|
+
|
231
|
+
api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
|
232
|
+
o.name = "CreateJob"
|
233
|
+
o.http_method = "POST"
|
234
|
+
o.http_request_uri = "/"
|
235
|
+
o.input = Shapes::ShapeRef.new(shape: CreateJobInput)
|
236
|
+
o.output = Shapes::ShapeRef.new(shape: CreateJobOutput)
|
237
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterException, metadata: {
|
238
|
+
"exception" => true
|
239
|
+
})
|
240
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException, metadata: {
|
241
|
+
"exception" => true
|
242
|
+
})
|
243
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessKeyIdException, metadata: {
|
244
|
+
"exception" => true
|
245
|
+
})
|
246
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddressException, metadata: {
|
247
|
+
"exception" => true
|
248
|
+
})
|
249
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidManifestFieldException, metadata: {
|
250
|
+
"exception" => true
|
251
|
+
})
|
252
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingManifestFieldException, metadata: {
|
253
|
+
"exception" => true
|
254
|
+
})
|
255
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchBucketException, metadata: {
|
256
|
+
"exception" => true
|
257
|
+
})
|
258
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingCustomsException, metadata: {
|
259
|
+
"exception" => true
|
260
|
+
})
|
261
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCustomsException, metadata: {
|
262
|
+
"exception" => true
|
263
|
+
})
|
264
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFileSystemException, metadata: {
|
265
|
+
"exception" => true
|
266
|
+
})
|
267
|
+
o.errors << Shapes::ShapeRef.new(shape: MultipleRegionsException, metadata: {
|
268
|
+
"exception" => true
|
269
|
+
})
|
270
|
+
o.errors << Shapes::ShapeRef.new(shape: BucketPermissionException, metadata: {
|
271
|
+
"exception" => true
|
272
|
+
})
|
273
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedManifestException, metadata: {
|
274
|
+
"exception" => true
|
275
|
+
})
|
276
|
+
o.errors << Shapes::ShapeRef.new(shape: CreateJobQuotaExceededException, metadata: {
|
277
|
+
"exception" => true
|
278
|
+
})
|
279
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidJobIdException, metadata: {
|
280
|
+
"exception" => true
|
281
|
+
})
|
282
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionException, metadata: {
|
283
|
+
"exception" => true
|
284
|
+
})
|
285
|
+
end)
|
286
|
+
|
287
|
+
api.add_operation(:get_shipping_label, Seahorse::Model::Operation.new.tap do |o|
|
288
|
+
o.name = "GetShippingLabel"
|
289
|
+
o.http_method = "POST"
|
290
|
+
o.http_request_uri = "/"
|
291
|
+
o.input = Shapes::ShapeRef.new(shape: GetShippingLabelInput)
|
292
|
+
o.output = Shapes::ShapeRef.new(shape: GetShippingLabelOutput)
|
293
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidJobIdException, metadata: {
|
294
|
+
"exception" => true
|
295
|
+
})
|
296
|
+
o.errors << Shapes::ShapeRef.new(shape: ExpiredJobIdException, metadata: {
|
297
|
+
"exception" => true
|
298
|
+
})
|
299
|
+
o.errors << Shapes::ShapeRef.new(shape: CanceledJobIdException, metadata: {
|
300
|
+
"exception" => true
|
301
|
+
})
|
302
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessKeyIdException, metadata: {
|
303
|
+
"exception" => true
|
304
|
+
})
|
305
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddressException, metadata: {
|
306
|
+
"exception" => true
|
307
|
+
})
|
308
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionException, metadata: {
|
309
|
+
"exception" => true
|
310
|
+
})
|
311
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException, metadata: {
|
312
|
+
"exception" => true
|
313
|
+
})
|
314
|
+
end)
|
315
|
+
|
316
|
+
api.add_operation(:get_status, Seahorse::Model::Operation.new.tap do |o|
|
317
|
+
o.name = "GetStatus"
|
318
|
+
o.http_method = "POST"
|
319
|
+
o.http_request_uri = "/"
|
320
|
+
o.input = Shapes::ShapeRef.new(shape: GetStatusInput)
|
321
|
+
o.output = Shapes::ShapeRef.new(shape: GetStatusOutput)
|
322
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidJobIdException, metadata: {
|
323
|
+
"exception" => true
|
324
|
+
})
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: ExpiredJobIdException, metadata: {
|
326
|
+
"exception" => true
|
327
|
+
})
|
328
|
+
o.errors << Shapes::ShapeRef.new(shape: CanceledJobIdException, metadata: {
|
329
|
+
"exception" => true
|
330
|
+
})
|
331
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessKeyIdException, metadata: {
|
332
|
+
"exception" => true
|
333
|
+
})
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionException, metadata: {
|
335
|
+
"exception" => true
|
336
|
+
})
|
337
|
+
end)
|
338
|
+
|
339
|
+
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
340
|
+
o.name = "ListJobs"
|
341
|
+
o.http_method = "POST"
|
342
|
+
o.http_request_uri = "/"
|
343
|
+
o.input = Shapes::ShapeRef.new(shape: ListJobsInput)
|
344
|
+
o.output = Shapes::ShapeRef.new(shape: ListJobsOutput)
|
345
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException, metadata: {
|
346
|
+
"exception" => true
|
347
|
+
})
|
348
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessKeyIdException, metadata: {
|
349
|
+
"exception" => true
|
350
|
+
})
|
351
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionException, metadata: {
|
352
|
+
"exception" => true
|
353
|
+
})
|
354
|
+
o[:pager] = Aws::Pager.new(
|
355
|
+
more_results: "is_truncated",
|
356
|
+
limit_key: "max_jobs",
|
357
|
+
tokens: {
|
358
|
+
"jobs[-1].job_id" => "marker"
|
359
|
+
}
|
360
|
+
)
|
361
|
+
end)
|
362
|
+
|
363
|
+
api.add_operation(:update_job, Seahorse::Model::Operation.new.tap do |o|
|
364
|
+
o.name = "UpdateJob"
|
365
|
+
o.http_method = "POST"
|
366
|
+
o.http_request_uri = "/"
|
367
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateJobInput)
|
368
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateJobOutput)
|
369
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterException, metadata: {
|
370
|
+
"exception" => true
|
371
|
+
})
|
372
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException, metadata: {
|
373
|
+
"exception" => true
|
374
|
+
})
|
375
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessKeyIdException, metadata: {
|
376
|
+
"exception" => true
|
377
|
+
})
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAddressException, metadata: {
|
379
|
+
"exception" => true
|
380
|
+
})
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidManifestFieldException, metadata: {
|
382
|
+
"exception" => true
|
383
|
+
})
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidJobIdException, metadata: {
|
385
|
+
"exception" => true
|
386
|
+
})
|
387
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingManifestFieldException, metadata: {
|
388
|
+
"exception" => true
|
389
|
+
})
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchBucketException, metadata: {
|
391
|
+
"exception" => true
|
392
|
+
})
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: ExpiredJobIdException, metadata: {
|
394
|
+
"exception" => true
|
395
|
+
})
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: CanceledJobIdException, metadata: {
|
397
|
+
"exception" => true
|
398
|
+
})
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingCustomsException, metadata: {
|
400
|
+
"exception" => true
|
401
|
+
})
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCustomsException, metadata: {
|
403
|
+
"exception" => true
|
404
|
+
})
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFileSystemException, metadata: {
|
406
|
+
"exception" => true
|
407
|
+
})
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: MultipleRegionsException, metadata: {
|
409
|
+
"exception" => true
|
410
|
+
})
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: BucketPermissionException, metadata: {
|
412
|
+
"exception" => true
|
413
|
+
})
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedManifestException, metadata: {
|
415
|
+
"exception" => true
|
416
|
+
})
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: UnableToUpdateJobIdException, metadata: {
|
418
|
+
"exception" => true
|
419
|
+
})
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidVersionException, metadata: {
|
421
|
+
"exception" => true
|
422
|
+
})
|
423
|
+
end)
|
424
|
+
end
|
425
|
+
|
426
|
+
end
|
427
|
+
end
|
428
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ImportExport
|
10
|
+
module Errors
|
11
|
+
|
12
|
+
extend Aws::Errors::DynamicErrors
|
13
|
+
|
14
|
+
# Raised when calling #load or #data on a resource class that can not be
|
15
|
+
# loaded. This can happen when:
|
16
|
+
#
|
17
|
+
# * A resource class has identifiers, but no data attributes.
|
18
|
+
# * Resource data is only available when making an API call that
|
19
|
+
# enumerates all resources of that type.
|
20
|
+
class ResourceNotLoadable < RuntimeError; end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|