aws-sdk-glacier 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,908 +1,906 @@
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 Glacier
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- AbortMultipartUploadInput = Shapes::StructureShape.new(name: 'AbortMultipartUploadInput')
16
- AbortVaultLockInput = Shapes::StructureShape.new(name: 'AbortVaultLockInput')
17
- ActionCode = Shapes::StringShape.new(name: 'ActionCode')
18
- AddTagsToVaultInput = Shapes::StructureShape.new(name: 'AddTagsToVaultInput')
19
- ArchiveCreationOutput = Shapes::StructureShape.new(name: 'ArchiveCreationOutput')
20
- CompleteMultipartUploadInput = Shapes::StructureShape.new(name: 'CompleteMultipartUploadInput')
21
- CompleteVaultLockInput = Shapes::StructureShape.new(name: 'CompleteVaultLockInput')
22
- CreateVaultInput = Shapes::StructureShape.new(name: 'CreateVaultInput')
23
- CreateVaultOutput = Shapes::StructureShape.new(name: 'CreateVaultOutput')
24
- DataRetrievalPolicy = Shapes::StructureShape.new(name: 'DataRetrievalPolicy')
25
- DataRetrievalRule = Shapes::StructureShape.new(name: 'DataRetrievalRule')
26
- DataRetrievalRulesList = Shapes::ListShape.new(name: 'DataRetrievalRulesList')
27
- DateTime = Shapes::StringShape.new(name: 'DateTime')
28
- DeleteArchiveInput = Shapes::StructureShape.new(name: 'DeleteArchiveInput')
29
- DeleteVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'DeleteVaultAccessPolicyInput')
30
- DeleteVaultInput = Shapes::StructureShape.new(name: 'DeleteVaultInput')
31
- DeleteVaultNotificationsInput = Shapes::StructureShape.new(name: 'DeleteVaultNotificationsInput')
32
- DescribeJobInput = Shapes::StructureShape.new(name: 'DescribeJobInput')
33
- DescribeVaultInput = Shapes::StructureShape.new(name: 'DescribeVaultInput')
34
- DescribeVaultOutput = Shapes::StructureShape.new(name: 'DescribeVaultOutput')
35
- GetDataRetrievalPolicyInput = Shapes::StructureShape.new(name: 'GetDataRetrievalPolicyInput')
36
- GetDataRetrievalPolicyOutput = Shapes::StructureShape.new(name: 'GetDataRetrievalPolicyOutput')
37
- GetJobOutputInput = Shapes::StructureShape.new(name: 'GetJobOutputInput')
38
- GetJobOutputOutput = Shapes::StructureShape.new(name: 'GetJobOutputOutput')
39
- GetVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'GetVaultAccessPolicyInput')
40
- GetVaultAccessPolicyOutput = Shapes::StructureShape.new(name: 'GetVaultAccessPolicyOutput')
41
- GetVaultLockInput = Shapes::StructureShape.new(name: 'GetVaultLockInput')
42
- GetVaultLockOutput = Shapes::StructureShape.new(name: 'GetVaultLockOutput')
43
- GetVaultNotificationsInput = Shapes::StructureShape.new(name: 'GetVaultNotificationsInput')
44
- GetVaultNotificationsOutput = Shapes::StructureShape.new(name: 'GetVaultNotificationsOutput')
45
- GlacierJobDescription = Shapes::StructureShape.new(name: 'GlacierJobDescription')
46
- InitiateJobInput = Shapes::StructureShape.new(name: 'InitiateJobInput')
47
- InitiateJobOutput = Shapes::StructureShape.new(name: 'InitiateJobOutput')
48
- InitiateMultipartUploadInput = Shapes::StructureShape.new(name: 'InitiateMultipartUploadInput')
49
- InitiateMultipartUploadOutput = Shapes::StructureShape.new(name: 'InitiateMultipartUploadOutput')
50
- InitiateVaultLockInput = Shapes::StructureShape.new(name: 'InitiateVaultLockInput')
51
- InitiateVaultLockOutput = Shapes::StructureShape.new(name: 'InitiateVaultLockOutput')
52
- InsufficientCapacityException = Shapes::StructureShape.new(name: 'InsufficientCapacityException')
53
- InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
54
- InventoryRetrievalJobDescription = Shapes::StructureShape.new(name: 'InventoryRetrievalJobDescription')
55
- InventoryRetrievalJobInput = Shapes::StructureShape.new(name: 'InventoryRetrievalJobInput')
56
- JobList = Shapes::ListShape.new(name: 'JobList')
57
- JobParameters = Shapes::StructureShape.new(name: 'JobParameters')
58
- LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
59
- ListJobsInput = Shapes::StructureShape.new(name: 'ListJobsInput')
60
- ListJobsOutput = Shapes::StructureShape.new(name: 'ListJobsOutput')
61
- ListMultipartUploadsInput = Shapes::StructureShape.new(name: 'ListMultipartUploadsInput')
62
- ListMultipartUploadsOutput = Shapes::StructureShape.new(name: 'ListMultipartUploadsOutput')
63
- ListPartsInput = Shapes::StructureShape.new(name: 'ListPartsInput')
64
- ListPartsOutput = Shapes::StructureShape.new(name: 'ListPartsOutput')
65
- ListProvisionedCapacityInput = Shapes::StructureShape.new(name: 'ListProvisionedCapacityInput')
66
- ListProvisionedCapacityOutput = Shapes::StructureShape.new(name: 'ListProvisionedCapacityOutput')
67
- ListTagsForVaultInput = Shapes::StructureShape.new(name: 'ListTagsForVaultInput')
68
- ListTagsForVaultOutput = Shapes::StructureShape.new(name: 'ListTagsForVaultOutput')
69
- ListVaultsInput = Shapes::StructureShape.new(name: 'ListVaultsInput')
70
- ListVaultsOutput = Shapes::StructureShape.new(name: 'ListVaultsOutput')
71
- MissingParameterValueException = Shapes::StructureShape.new(name: 'MissingParameterValueException')
72
- NotificationEventList = Shapes::ListShape.new(name: 'NotificationEventList')
73
- NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
74
- PartList = Shapes::ListShape.new(name: 'PartList')
75
- PartListElement = Shapes::StructureShape.new(name: 'PartListElement')
76
- PolicyEnforcedException = Shapes::StructureShape.new(name: 'PolicyEnforcedException')
77
- ProvisionedCapacityDescription = Shapes::StructureShape.new(name: 'ProvisionedCapacityDescription')
78
- ProvisionedCapacityList = Shapes::ListShape.new(name: 'ProvisionedCapacityList')
79
- PurchaseProvisionedCapacityInput = Shapes::StructureShape.new(name: 'PurchaseProvisionedCapacityInput')
80
- PurchaseProvisionedCapacityOutput = Shapes::StructureShape.new(name: 'PurchaseProvisionedCapacityOutput')
81
- RemoveTagsFromVaultInput = Shapes::StructureShape.new(name: 'RemoveTagsFromVaultInput')
82
- RequestTimeoutException = Shapes::StructureShape.new(name: 'RequestTimeoutException')
83
- ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
84
- ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
85
- SetDataRetrievalPolicyInput = Shapes::StructureShape.new(name: 'SetDataRetrievalPolicyInput')
86
- SetVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'SetVaultAccessPolicyInput')
87
- SetVaultNotificationsInput = Shapes::StructureShape.new(name: 'SetVaultNotificationsInput')
88
- Size = Shapes::IntegerShape.new(name: 'Size')
89
- StatusCode = Shapes::StringShape.new(name: 'StatusCode')
90
- Stream = Shapes::BlobShape.new(name: 'Stream')
91
- TagKey = Shapes::StringShape.new(name: 'TagKey')
92
- TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
93
- TagMap = Shapes::MapShape.new(name: 'TagMap')
94
- TagValue = Shapes::StringShape.new(name: 'TagValue')
95
- Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
96
- UploadArchiveInput = Shapes::StructureShape.new(name: 'UploadArchiveInput')
97
- UploadListElement = Shapes::StructureShape.new(name: 'UploadListElement')
98
- UploadMultipartPartInput = Shapes::StructureShape.new(name: 'UploadMultipartPartInput')
99
- UploadMultipartPartOutput = Shapes::StructureShape.new(name: 'UploadMultipartPartOutput')
100
- UploadsList = Shapes::ListShape.new(name: 'UploadsList')
101
- VaultAccessPolicy = Shapes::StructureShape.new(name: 'VaultAccessPolicy')
102
- VaultList = Shapes::ListShape.new(name: 'VaultList')
103
- VaultLockPolicy = Shapes::StructureShape.new(name: 'VaultLockPolicy')
104
- VaultNotificationConfig = Shapes::StructureShape.new(name: 'VaultNotificationConfig')
105
- boolean = Shapes::BooleanShape.new(name: 'boolean')
106
- httpstatus = Shapes::IntegerShape.new(name: 'httpstatus')
107
- long = Shapes::IntegerShape.new(name: 'long')
108
- string = Shapes::StringShape.new(name: 'string')
109
-
110
- AbortMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
111
- AbortMultipartUploadInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
112
- AbortMultipartUploadInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
113
- AbortMultipartUploadInput.struct_class = Types::AbortMultipartUploadInput
114
-
115
- AbortVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
116
- AbortVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
117
- AbortVaultLockInput.struct_class = Types::AbortVaultLockInput
118
-
119
- AddTagsToVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
120
- AddTagsToVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
121
- AddTagsToVaultInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
122
- AddTagsToVaultInput.struct_class = Types::AddTagsToVaultInput
123
-
124
- ArchiveCreationOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
125
- ArchiveCreationOutput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
126
- ArchiveCreationOutput.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-id"))
127
- ArchiveCreationOutput.struct_class = Types::ArchiveCreationOutput
128
-
129
- CompleteMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
130
- CompleteMultipartUploadInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
131
- CompleteMultipartUploadInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
132
- CompleteMultipartUploadInput.add_member(:archive_size, Shapes::ShapeRef.new(shape: Size, location: "header", location_name: "x-amz-archive-size"))
133
- CompleteMultipartUploadInput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
134
- CompleteMultipartUploadInput.struct_class = Types::CompleteMultipartUploadInput
135
-
136
- CompleteVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
137
- CompleteVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
138
- CompleteVaultLockInput.add_member(:lock_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "lockId"))
139
- CompleteVaultLockInput.struct_class = Types::CompleteVaultLockInput
140
-
141
- CreateVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
142
- CreateVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
143
- CreateVaultInput.struct_class = Types::CreateVaultInput
144
-
145
- CreateVaultOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
146
- CreateVaultOutput.struct_class = Types::CreateVaultOutput
147
-
148
- DataRetrievalPolicy.add_member(:rules, Shapes::ShapeRef.new(shape: DataRetrievalRulesList, location_name: "Rules"))
149
- DataRetrievalPolicy.struct_class = Types::DataRetrievalPolicy
150
-
151
- DataRetrievalRule.add_member(:strategy, Shapes::ShapeRef.new(shape: string, location_name: "Strategy"))
152
- DataRetrievalRule.add_member(:bytes_per_hour, Shapes::ShapeRef.new(shape: NullableLong, location_name: "BytesPerHour"))
153
- DataRetrievalRule.struct_class = Types::DataRetrievalRule
154
-
155
- DataRetrievalRulesList.member = Shapes::ShapeRef.new(shape: DataRetrievalRule)
156
-
157
- DeleteArchiveInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
158
- DeleteArchiveInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
159
- DeleteArchiveInput.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "archiveId"))
160
- DeleteArchiveInput.struct_class = Types::DeleteArchiveInput
161
-
162
- DeleteVaultAccessPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
163
- DeleteVaultAccessPolicyInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
164
- DeleteVaultAccessPolicyInput.struct_class = Types::DeleteVaultAccessPolicyInput
165
-
166
- DeleteVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
167
- DeleteVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
168
- DeleteVaultInput.struct_class = Types::DeleteVaultInput
169
-
170
- DeleteVaultNotificationsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
171
- DeleteVaultNotificationsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
172
- DeleteVaultNotificationsInput.struct_class = Types::DeleteVaultNotificationsInput
173
-
174
- DescribeJobInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
175
- DescribeJobInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
176
- DescribeJobInput.add_member(:job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "jobId"))
177
- DescribeJobInput.struct_class = Types::DescribeJobInput
178
-
179
- DescribeVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
180
- DescribeVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
181
- DescribeVaultInput.struct_class = Types::DescribeVaultInput
182
-
183
- DescribeVaultOutput.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
184
- DescribeVaultOutput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, location_name: "VaultName"))
185
- DescribeVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
186
- DescribeVaultOutput.add_member(:last_inventory_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastInventoryDate"))
187
- DescribeVaultOutput.add_member(:number_of_archives, Shapes::ShapeRef.new(shape: long, location_name: "NumberOfArchives"))
188
- DescribeVaultOutput.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "SizeInBytes"))
189
- DescribeVaultOutput.struct_class = Types::DescribeVaultOutput
190
-
191
- GetDataRetrievalPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
192
- GetDataRetrievalPolicyInput.struct_class = Types::GetDataRetrievalPolicyInput
193
-
194
- GetDataRetrievalPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: DataRetrievalPolicy, location_name: "Policy"))
195
- GetDataRetrievalPolicyOutput.struct_class = Types::GetDataRetrievalPolicyOutput
196
-
197
- GetJobOutputInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
198
- GetJobOutputInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
199
- GetJobOutputInput.add_member(:job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "jobId"))
200
- GetJobOutputInput.add_member(:range, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Range"))
201
- GetJobOutputInput.struct_class = Types::GetJobOutputInput
202
-
203
- GetJobOutputOutput.add_member(:body, Shapes::ShapeRef.new(shape: Stream, location_name: "body"))
204
- GetJobOutputOutput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
205
- GetJobOutputOutput.add_member(:status, Shapes::ShapeRef.new(shape: httpstatus, location: "statusCode", location_name: "status"))
206
- GetJobOutputOutput.add_member(:content_range, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Content-Range"))
207
- GetJobOutputOutput.add_member(:accept_ranges, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Accept-Ranges"))
208
- GetJobOutputOutput.add_member(:content_type, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Content-Type"))
209
- GetJobOutputOutput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-description"))
210
- GetJobOutputOutput.struct_class = Types::GetJobOutputOutput
211
- GetJobOutputOutput[:payload] = :body
212
- GetJobOutputOutput[:payload_member] = GetJobOutputOutput.member(:body)
213
-
214
- GetVaultAccessPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
215
- GetVaultAccessPolicyInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
216
- GetVaultAccessPolicyInput.struct_class = Types::GetVaultAccessPolicyInput
217
-
218
- GetVaultAccessPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: VaultAccessPolicy, location_name: "policy"))
219
- GetVaultAccessPolicyOutput.struct_class = Types::GetVaultAccessPolicyOutput
220
- GetVaultAccessPolicyOutput[:payload] = :policy
221
- GetVaultAccessPolicyOutput[:payload_member] = GetVaultAccessPolicyOutput.member(:policy)
222
-
223
- GetVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
224
- GetVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
225
- GetVaultLockInput.struct_class = Types::GetVaultLockInput
226
-
227
- GetVaultLockOutput.add_member(:policy, Shapes::ShapeRef.new(shape: string, location_name: "Policy"))
228
- GetVaultLockOutput.add_member(:state, Shapes::ShapeRef.new(shape: string, location_name: "State"))
229
- GetVaultLockOutput.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
230
- GetVaultLockOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
231
- GetVaultLockOutput.struct_class = Types::GetVaultLockOutput
232
-
233
- GetVaultNotificationsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
234
- GetVaultNotificationsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
235
- GetVaultNotificationsInput.struct_class = Types::GetVaultNotificationsInput
236
-
237
- GetVaultNotificationsOutput.add_member(:vault_notification_config, Shapes::ShapeRef.new(shape: VaultNotificationConfig, location_name: "vaultNotificationConfig"))
238
- GetVaultNotificationsOutput.struct_class = Types::GetVaultNotificationsOutput
239
- GetVaultNotificationsOutput[:payload] = :vault_notification_config
240
- GetVaultNotificationsOutput[:payload_member] = GetVaultNotificationsOutput.member(:vault_notification_config)
241
-
242
- GlacierJobDescription.add_member(:job_id, Shapes::ShapeRef.new(shape: string, location_name: "JobId"))
243
- GlacierJobDescription.add_member(:job_description, Shapes::ShapeRef.new(shape: string, location_name: "JobDescription"))
244
- GlacierJobDescription.add_member(:action, Shapes::ShapeRef.new(shape: ActionCode, location_name: "Action"))
245
- GlacierJobDescription.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveId"))
246
- GlacierJobDescription.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
247
- GlacierJobDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
248
- GlacierJobDescription.add_member(:completed, Shapes::ShapeRef.new(shape: boolean, location_name: "Completed"))
249
- GlacierJobDescription.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, location_name: "StatusCode"))
250
- GlacierJobDescription.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
251
- GlacierJobDescription.add_member(:archive_size_in_bytes, Shapes::ShapeRef.new(shape: Size, location_name: "ArchiveSizeInBytes"))
252
- GlacierJobDescription.add_member(:inventory_size_in_bytes, Shapes::ShapeRef.new(shape: Size, location_name: "InventorySizeInBytes"))
253
- GlacierJobDescription.add_member(:sns_topic, Shapes::ShapeRef.new(shape: string, location_name: "SNSTopic"))
254
- GlacierJobDescription.add_member(:completion_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionDate"))
255
- GlacierJobDescription.add_member(:sha256_tree_hash, Shapes::ShapeRef.new(shape: string, location_name: "SHA256TreeHash"))
256
- GlacierJobDescription.add_member(:archive_sha256_tree_hash, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveSHA256TreeHash"))
257
- GlacierJobDescription.add_member(:retrieval_byte_range, Shapes::ShapeRef.new(shape: string, location_name: "RetrievalByteRange"))
258
- GlacierJobDescription.add_member(:tier, Shapes::ShapeRef.new(shape: string, location_name: "Tier"))
259
- GlacierJobDescription.add_member(:inventory_retrieval_parameters, Shapes::ShapeRef.new(shape: InventoryRetrievalJobDescription, location_name: "InventoryRetrievalParameters"))
260
- GlacierJobDescription.struct_class = Types::GlacierJobDescription
261
-
262
- InitiateJobInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
263
- InitiateJobInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
264
- InitiateJobInput.add_member(:job_parameters, Shapes::ShapeRef.new(shape: JobParameters, location_name: "jobParameters"))
265
- InitiateJobInput.struct_class = Types::InitiateJobInput
266
- InitiateJobInput[:payload] = :job_parameters
267
- InitiateJobInput[:payload_member] = InitiateJobInput.member(:job_parameters)
268
-
269
- InitiateJobOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
270
- InitiateJobOutput.add_member(:job_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-job-id"))
271
- InitiateJobOutput.struct_class = Types::InitiateJobOutput
272
-
273
- InitiateMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
274
- InitiateMultipartUploadInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
275
- InitiateMultipartUploadInput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-description"))
276
- InitiateMultipartUploadInput.add_member(:part_size, Shapes::ShapeRef.new(shape: Size, location: "header", location_name: "x-amz-part-size"))
277
- InitiateMultipartUploadInput.struct_class = Types::InitiateMultipartUploadInput
278
-
279
- InitiateMultipartUploadOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
280
- InitiateMultipartUploadOutput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-multipart-upload-id"))
281
- InitiateMultipartUploadOutput.struct_class = Types::InitiateMultipartUploadOutput
282
-
283
- InitiateVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
284
- InitiateVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
285
- InitiateVaultLockInput.add_member(:policy, Shapes::ShapeRef.new(shape: VaultLockPolicy, location_name: "policy"))
286
- InitiateVaultLockInput.struct_class = Types::InitiateVaultLockInput
287
- InitiateVaultLockInput[:payload] = :policy
288
- InitiateVaultLockInput[:payload_member] = InitiateVaultLockInput.member(:policy)
289
-
290
- InitiateVaultLockOutput.add_member(:lock_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-lock-id"))
291
- InitiateVaultLockOutput.struct_class = Types::InitiateVaultLockOutput
292
-
293
- InventoryRetrievalJobDescription.add_member(:format, Shapes::ShapeRef.new(shape: string, location_name: "Format"))
294
- InventoryRetrievalJobDescription.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
295
- InventoryRetrievalJobDescription.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndDate"))
296
- InventoryRetrievalJobDescription.add_member(:limit, Shapes::ShapeRef.new(shape: string, location_name: "Limit"))
297
- InventoryRetrievalJobDescription.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
298
- InventoryRetrievalJobDescription.struct_class = Types::InventoryRetrievalJobDescription
299
-
300
- InventoryRetrievalJobInput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
301
- InventoryRetrievalJobInput.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndDate"))
302
- InventoryRetrievalJobInput.add_member(:limit, Shapes::ShapeRef.new(shape: string, location_name: "Limit"))
303
- InventoryRetrievalJobInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
304
- InventoryRetrievalJobInput.struct_class = Types::InventoryRetrievalJobInput
305
-
306
- JobList.member = Shapes::ShapeRef.new(shape: GlacierJobDescription)
307
-
308
- JobParameters.add_member(:format, Shapes::ShapeRef.new(shape: string, location_name: "Format"))
309
- JobParameters.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
310
- JobParameters.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveId"))
311
- JobParameters.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "Description"))
312
- JobParameters.add_member(:sns_topic, Shapes::ShapeRef.new(shape: string, location_name: "SNSTopic"))
313
- JobParameters.add_member(:retrieval_byte_range, Shapes::ShapeRef.new(shape: string, location_name: "RetrievalByteRange"))
314
- JobParameters.add_member(:tier, Shapes::ShapeRef.new(shape: string, location_name: "Tier"))
315
- JobParameters.add_member(:inventory_retrieval_parameters, Shapes::ShapeRef.new(shape: InventoryRetrievalJobInput, location_name: "InventoryRetrievalParameters"))
316
- JobParameters.struct_class = Types::JobParameters
317
-
318
- ListJobsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
319
- ListJobsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
320
- ListJobsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
321
- ListJobsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
322
- ListJobsInput.add_member(:statuscode, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "statuscode"))
323
- ListJobsInput.add_member(:completed, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "completed"))
324
- ListJobsInput.struct_class = Types::ListJobsInput
325
-
326
- ListJobsOutput.add_member(:job_list, Shapes::ShapeRef.new(shape: JobList, location_name: "JobList"))
327
- ListJobsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
328
- ListJobsOutput.struct_class = Types::ListJobsOutput
329
-
330
- ListMultipartUploadsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
331
- ListMultipartUploadsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
332
- ListMultipartUploadsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
333
- ListMultipartUploadsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
334
- ListMultipartUploadsInput.struct_class = Types::ListMultipartUploadsInput
335
-
336
- ListMultipartUploadsOutput.add_member(:uploads_list, Shapes::ShapeRef.new(shape: UploadsList, location_name: "UploadsList"))
337
- ListMultipartUploadsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
338
- ListMultipartUploadsOutput.struct_class = Types::ListMultipartUploadsOutput
339
-
340
- ListPartsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
341
- ListPartsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
342
- ListPartsInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
343
- ListPartsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
344
- ListPartsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
345
- ListPartsInput.struct_class = Types::ListPartsInput
346
-
347
- ListPartsOutput.add_member(:multipart_upload_id, Shapes::ShapeRef.new(shape: string, location_name: "MultipartUploadId"))
348
- ListPartsOutput.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
349
- ListPartsOutput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveDescription"))
350
- ListPartsOutput.add_member(:part_size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "PartSizeInBytes"))
351
- ListPartsOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
352
- ListPartsOutput.add_member(:parts, Shapes::ShapeRef.new(shape: PartList, location_name: "Parts"))
353
- ListPartsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
354
- ListPartsOutput.struct_class = Types::ListPartsOutput
355
-
356
- ListProvisionedCapacityInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
357
- ListProvisionedCapacityInput.struct_class = Types::ListProvisionedCapacityInput
358
-
359
- ListProvisionedCapacityOutput.add_member(:provisioned_capacity_list, Shapes::ShapeRef.new(shape: ProvisionedCapacityList, location_name: "ProvisionedCapacityList"))
360
- ListProvisionedCapacityOutput.struct_class = Types::ListProvisionedCapacityOutput
361
-
362
- ListTagsForVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
363
- ListTagsForVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
364
- ListTagsForVaultInput.struct_class = Types::ListTagsForVaultInput
365
-
366
- ListTagsForVaultOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
367
- ListTagsForVaultOutput.struct_class = Types::ListTagsForVaultOutput
368
-
369
- ListVaultsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
370
- ListVaultsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
371
- ListVaultsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
372
- ListVaultsInput.struct_class = Types::ListVaultsInput
373
-
374
- ListVaultsOutput.add_member(:vault_list, Shapes::ShapeRef.new(shape: VaultList, location_name: "VaultList"))
375
- ListVaultsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
376
- ListVaultsOutput.struct_class = Types::ListVaultsOutput
377
-
378
- NotificationEventList.member = Shapes::ShapeRef.new(shape: string)
379
-
380
- PartList.member = Shapes::ShapeRef.new(shape: PartListElement)
381
-
382
- PartListElement.add_member(:range_in_bytes, Shapes::ShapeRef.new(shape: string, location_name: "RangeInBytes"))
383
- PartListElement.add_member(:sha256_tree_hash, Shapes::ShapeRef.new(shape: string, location_name: "SHA256TreeHash"))
384
- PartListElement.struct_class = Types::PartListElement
385
-
386
- ProvisionedCapacityDescription.add_member(:capacity_id, Shapes::ShapeRef.new(shape: string, location_name: "CapacityId"))
387
- ProvisionedCapacityDescription.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
388
- ProvisionedCapacityDescription.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
389
- ProvisionedCapacityDescription.struct_class = Types::ProvisionedCapacityDescription
390
-
391
- ProvisionedCapacityList.member = Shapes::ShapeRef.new(shape: ProvisionedCapacityDescription)
392
-
393
- PurchaseProvisionedCapacityInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
394
- PurchaseProvisionedCapacityInput.struct_class = Types::PurchaseProvisionedCapacityInput
395
-
396
- PurchaseProvisionedCapacityOutput.add_member(:capacity_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-capacity-id"))
397
- PurchaseProvisionedCapacityOutput.struct_class = Types::PurchaseProvisionedCapacityOutput
398
-
399
- RemoveTagsFromVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
400
- RemoveTagsFromVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
401
- RemoveTagsFromVaultInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, location_name: "TagKeys"))
402
- RemoveTagsFromVaultInput.struct_class = Types::RemoveTagsFromVaultInput
403
-
404
- SetDataRetrievalPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
405
- SetDataRetrievalPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: DataRetrievalPolicy, location_name: "Policy"))
406
- SetDataRetrievalPolicyInput.struct_class = Types::SetDataRetrievalPolicyInput
407
-
408
- SetVaultAccessPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
409
- SetVaultAccessPolicyInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
410
- SetVaultAccessPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: VaultAccessPolicy, location_name: "policy"))
411
- SetVaultAccessPolicyInput.struct_class = Types::SetVaultAccessPolicyInput
412
- SetVaultAccessPolicyInput[:payload] = :policy
413
- SetVaultAccessPolicyInput[:payload_member] = SetVaultAccessPolicyInput.member(:policy)
414
-
415
- SetVaultNotificationsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
416
- SetVaultNotificationsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
417
- SetVaultNotificationsInput.add_member(:vault_notification_config, Shapes::ShapeRef.new(shape: VaultNotificationConfig, location_name: "vaultNotificationConfig"))
418
- SetVaultNotificationsInput.struct_class = Types::SetVaultNotificationsInput
419
- SetVaultNotificationsInput[:payload] = :vault_notification_config
420
- SetVaultNotificationsInput[:payload_member] = SetVaultNotificationsInput.member(:vault_notification_config)
421
-
422
- TagKeyList.member = Shapes::ShapeRef.new(shape: string)
423
-
424
- TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
425
- TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
426
-
427
- UploadArchiveInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
428
- UploadArchiveInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
429
- UploadArchiveInput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-description"))
430
- UploadArchiveInput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
431
- UploadArchiveInput.add_member(:body, Shapes::ShapeRef.new(shape: Stream, location_name: "body"))
432
- UploadArchiveInput.struct_class = Types::UploadArchiveInput
433
- UploadArchiveInput[:payload] = :body
434
- UploadArchiveInput[:payload_member] = UploadArchiveInput.member(:body)
435
-
436
- UploadListElement.add_member(:multipart_upload_id, Shapes::ShapeRef.new(shape: string, location_name: "MultipartUploadId"))
437
- UploadListElement.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
438
- UploadListElement.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveDescription"))
439
- UploadListElement.add_member(:part_size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "PartSizeInBytes"))
440
- UploadListElement.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
441
- UploadListElement.struct_class = Types::UploadListElement
442
-
443
- UploadMultipartPartInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
444
- UploadMultipartPartInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
445
- UploadMultipartPartInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
446
- UploadMultipartPartInput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
447
- UploadMultipartPartInput.add_member(:range, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Content-Range"))
448
- UploadMultipartPartInput.add_member(:body, Shapes::ShapeRef.new(shape: Stream, location_name: "body"))
449
- UploadMultipartPartInput.struct_class = Types::UploadMultipartPartInput
450
- UploadMultipartPartInput[:payload] = :body
451
- UploadMultipartPartInput[:payload_member] = UploadMultipartPartInput.member(:body)
452
-
453
- UploadMultipartPartOutput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
454
- UploadMultipartPartOutput.struct_class = Types::UploadMultipartPartOutput
455
-
456
- UploadsList.member = Shapes::ShapeRef.new(shape: UploadListElement)
457
-
458
- VaultAccessPolicy.add_member(:policy, Shapes::ShapeRef.new(shape: string, location_name: "Policy"))
459
- VaultAccessPolicy.struct_class = Types::VaultAccessPolicy
460
-
461
- VaultList.member = Shapes::ShapeRef.new(shape: DescribeVaultOutput)
462
-
463
- VaultLockPolicy.add_member(:policy, Shapes::ShapeRef.new(shape: string, location_name: "Policy"))
464
- VaultLockPolicy.struct_class = Types::VaultLockPolicy
465
-
466
- VaultNotificationConfig.add_member(:sns_topic, Shapes::ShapeRef.new(shape: string, location_name: "SNSTopic"))
467
- VaultNotificationConfig.add_member(:events, Shapes::ShapeRef.new(shape: NotificationEventList, location_name: "Events"))
468
- VaultNotificationConfig.struct_class = Types::VaultNotificationConfig
469
-
470
-
471
- # @api private
472
- API = Seahorse::Model::Api.new.tap do |api|
473
-
474
- api.version = "2012-06-01"
475
-
476
- api.metadata = {
477
- "endpointPrefix" => "glacier",
478
- "protocol" => "rest-json",
479
- "serviceFullName" => "Amazon Glacier",
480
- "signatureVersion" => "v4",
481
- }
482
-
483
- api.add_operation(:abort_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
484
- o.name = "AbortMultipartUpload"
485
- o.http_method = "DELETE"
486
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
487
- o.input = Shapes::ShapeRef.new(shape: AbortMultipartUploadInput)
488
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
489
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
490
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
491
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
492
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
493
- end)
494
-
495
- api.add_operation(:abort_vault_lock, Seahorse::Model::Operation.new.tap do |o|
496
- o.name = "AbortVaultLock"
497
- o.http_method = "DELETE"
498
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
499
- o.input = Shapes::ShapeRef.new(shape: AbortVaultLockInput)
500
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
501
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
502
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
503
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
504
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
505
- end)
506
-
507
- api.add_operation(:add_tags_to_vault, Seahorse::Model::Operation.new.tap do |o|
508
- o.name = "AddTagsToVault"
509
- o.http_method = "POST"
510
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags?operation=add"
511
- o.input = Shapes::ShapeRef.new(shape: AddTagsToVaultInput)
512
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
513
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
514
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
515
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
516
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
517
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
518
- end)
519
-
520
- api.add_operation(:complete_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
521
- o.name = "CompleteMultipartUpload"
522
- o.http_method = "POST"
523
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
524
- o.input = Shapes::ShapeRef.new(shape: CompleteMultipartUploadInput)
525
- o.output = Shapes::ShapeRef.new(shape: ArchiveCreationOutput)
526
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
527
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
528
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
529
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
530
- end)
531
-
532
- api.add_operation(:complete_vault_lock, Seahorse::Model::Operation.new.tap do |o|
533
- o.name = "CompleteVaultLock"
534
- o.http_method = "POST"
535
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}"
536
- o.input = Shapes::ShapeRef.new(shape: CompleteVaultLockInput)
537
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
538
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
539
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
540
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
541
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
542
- end)
543
-
544
- api.add_operation(:create_vault, Seahorse::Model::Operation.new.tap do |o|
545
- o.name = "CreateVault"
546
- o.http_method = "PUT"
547
- o.http_request_uri = "/{accountId}/vaults/{vaultName}"
548
- o.input = Shapes::ShapeRef.new(shape: CreateVaultInput)
549
- o.output = Shapes::ShapeRef.new(shape: CreateVaultOutput)
550
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
551
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
552
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
553
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
554
- end)
555
-
556
- api.add_operation(:delete_archive, Seahorse::Model::Operation.new.tap do |o|
557
- o.name = "DeleteArchive"
558
- o.http_method = "DELETE"
559
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/archives/{archiveId}"
560
- o.input = Shapes::ShapeRef.new(shape: DeleteArchiveInput)
561
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
562
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
563
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
564
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
565
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
566
- end)
567
-
568
- api.add_operation(:delete_vault, Seahorse::Model::Operation.new.tap do |o|
569
- o.name = "DeleteVault"
570
- o.http_method = "DELETE"
571
- o.http_request_uri = "/{accountId}/vaults/{vaultName}"
572
- o.input = Shapes::ShapeRef.new(shape: DeleteVaultInput)
573
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
574
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
575
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
576
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
577
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
578
- end)
579
-
580
- api.add_operation(:delete_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
581
- o.name = "DeleteVaultAccessPolicy"
582
- o.http_method = "DELETE"
583
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
584
- o.input = Shapes::ShapeRef.new(shape: DeleteVaultAccessPolicyInput)
585
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
586
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
587
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
588
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
589
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
590
- end)
591
-
592
- api.add_operation(:delete_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
593
- o.name = "DeleteVaultNotifications"
594
- o.http_method = "DELETE"
595
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
596
- o.input = Shapes::ShapeRef.new(shape: DeleteVaultNotificationsInput)
597
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
598
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
599
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
600
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
601
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
602
- end)
603
-
604
- api.add_operation(:describe_job, Seahorse::Model::Operation.new.tap do |o|
605
- o.name = "DescribeJob"
606
- o.http_method = "GET"
607
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs/{jobId}"
608
- o.input = Shapes::ShapeRef.new(shape: DescribeJobInput)
609
- o.output = Shapes::ShapeRef.new(shape: GlacierJobDescription)
610
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
611
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
612
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
613
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
614
- end)
615
-
616
- api.add_operation(:describe_vault, Seahorse::Model::Operation.new.tap do |o|
617
- o.name = "DescribeVault"
618
- o.http_method = "GET"
619
- o.http_request_uri = "/{accountId}/vaults/{vaultName}"
620
- o.input = Shapes::ShapeRef.new(shape: DescribeVaultInput)
621
- o.output = Shapes::ShapeRef.new(shape: DescribeVaultOutput)
622
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
623
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
624
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
625
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
626
- end)
627
-
628
- api.add_operation(:get_data_retrieval_policy, Seahorse::Model::Operation.new.tap do |o|
629
- o.name = "GetDataRetrievalPolicy"
630
- o.http_method = "GET"
631
- o.http_request_uri = "/{accountId}/policies/data-retrieval"
632
- o.input = Shapes::ShapeRef.new(shape: GetDataRetrievalPolicyInput)
633
- o.output = Shapes::ShapeRef.new(shape: GetDataRetrievalPolicyOutput)
634
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
635
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
636
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
637
- end)
638
-
639
- api.add_operation(:get_job_output, Seahorse::Model::Operation.new.tap do |o|
640
- o.name = "GetJobOutput"
641
- o.http_method = "GET"
642
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output"
643
- o.input = Shapes::ShapeRef.new(shape: GetJobOutputInput)
644
- o.output = Shapes::ShapeRef.new(shape: GetJobOutputOutput)
645
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
646
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
647
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
648
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
649
- end)
650
-
651
- api.add_operation(:get_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
652
- o.name = "GetVaultAccessPolicy"
653
- o.http_method = "GET"
654
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
655
- o.input = Shapes::ShapeRef.new(shape: GetVaultAccessPolicyInput)
656
- o.output = Shapes::ShapeRef.new(shape: GetVaultAccessPolicyOutput)
657
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
658
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
659
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
660
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
661
- end)
662
-
663
- api.add_operation(:get_vault_lock, Seahorse::Model::Operation.new.tap do |o|
664
- o.name = "GetVaultLock"
665
- o.http_method = "GET"
666
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
667
- o.input = Shapes::ShapeRef.new(shape: GetVaultLockInput)
668
- o.output = Shapes::ShapeRef.new(shape: GetVaultLockOutput)
669
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
670
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
671
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
672
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
673
- end)
674
-
675
- api.add_operation(:get_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
676
- o.name = "GetVaultNotifications"
677
- o.http_method = "GET"
678
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
679
- o.input = Shapes::ShapeRef.new(shape: GetVaultNotificationsInput)
680
- o.output = Shapes::ShapeRef.new(shape: GetVaultNotificationsOutput)
681
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
682
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
683
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
684
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
685
- end)
686
-
687
- api.add_operation(:initiate_job, Seahorse::Model::Operation.new.tap do |o|
688
- o.name = "InitiateJob"
689
- o.http_method = "POST"
690
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs"
691
- o.input = Shapes::ShapeRef.new(shape: InitiateJobInput)
692
- o.output = Shapes::ShapeRef.new(shape: InitiateJobOutput)
693
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
694
- o.errors << Shapes::ShapeRef.new(shape: PolicyEnforcedException)
695
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
696
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
697
- o.errors << Shapes::ShapeRef.new(shape: InsufficientCapacityException)
698
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
699
- end)
700
-
701
- api.add_operation(:initiate_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
702
- o.name = "InitiateMultipartUpload"
703
- o.http_method = "POST"
704
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads"
705
- o.input = Shapes::ShapeRef.new(shape: InitiateMultipartUploadInput)
706
- o.output = Shapes::ShapeRef.new(shape: InitiateMultipartUploadOutput)
707
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
708
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
709
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
710
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
711
- end)
712
-
713
- api.add_operation(:initiate_vault_lock, Seahorse::Model::Operation.new.tap do |o|
714
- o.name = "InitiateVaultLock"
715
- o.http_method = "POST"
716
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
717
- o.input = Shapes::ShapeRef.new(shape: InitiateVaultLockInput)
718
- o.output = Shapes::ShapeRef.new(shape: InitiateVaultLockOutput)
719
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
720
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
721
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
722
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
723
- end)
724
-
725
- api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
726
- o.name = "ListJobs"
727
- o.http_method = "GET"
728
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs"
729
- o.input = Shapes::ShapeRef.new(shape: ListJobsInput)
730
- o.output = Shapes::ShapeRef.new(shape: ListJobsOutput)
731
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
732
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
733
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
734
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
735
- o[:pager] = Aws::Pager.new(
736
- limit_key: "limit",
737
- tokens: {
738
- "marker" => "marker"
739
- }
740
- )
741
- end)
742
-
743
- api.add_operation(:list_multipart_uploads, Seahorse::Model::Operation.new.tap do |o|
744
- o.name = "ListMultipartUploads"
745
- o.http_method = "GET"
746
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads"
747
- o.input = Shapes::ShapeRef.new(shape: ListMultipartUploadsInput)
748
- o.output = Shapes::ShapeRef.new(shape: ListMultipartUploadsOutput)
749
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
750
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
751
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
752
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
753
- o[:pager] = Aws::Pager.new(
754
- limit_key: "limit",
755
- tokens: {
756
- "marker" => "marker"
757
- }
758
- )
759
- end)
760
-
761
- api.add_operation(:list_parts, Seahorse::Model::Operation.new.tap do |o|
762
- o.name = "ListParts"
763
- o.http_method = "GET"
764
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
765
- o.input = Shapes::ShapeRef.new(shape: ListPartsInput)
766
- o.output = Shapes::ShapeRef.new(shape: ListPartsOutput)
767
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
768
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
769
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
770
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
771
- o[:pager] = Aws::Pager.new(
772
- limit_key: "limit",
773
- tokens: {
774
- "marker" => "marker"
775
- }
776
- )
777
- end)
778
-
779
- api.add_operation(:list_provisioned_capacity, Seahorse::Model::Operation.new.tap do |o|
780
- o.name = "ListProvisionedCapacity"
781
- o.http_method = "GET"
782
- o.http_request_uri = "/{accountId}/provisioned-capacity"
783
- o.input = Shapes::ShapeRef.new(shape: ListProvisionedCapacityInput)
784
- o.output = Shapes::ShapeRef.new(shape: ListProvisionedCapacityOutput)
785
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
786
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
787
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
788
- end)
789
-
790
- api.add_operation(:list_tags_for_vault, Seahorse::Model::Operation.new.tap do |o|
791
- o.name = "ListTagsForVault"
792
- o.http_method = "GET"
793
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags"
794
- o.input = Shapes::ShapeRef.new(shape: ListTagsForVaultInput)
795
- o.output = Shapes::ShapeRef.new(shape: ListTagsForVaultOutput)
796
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
797
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
798
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
799
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
800
- end)
801
-
802
- api.add_operation(:list_vaults, Seahorse::Model::Operation.new.tap do |o|
803
- o.name = "ListVaults"
804
- o.http_method = "GET"
805
- o.http_request_uri = "/{accountId}/vaults"
806
- o.input = Shapes::ShapeRef.new(shape: ListVaultsInput)
807
- o.output = Shapes::ShapeRef.new(shape: ListVaultsOutput)
808
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
809
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
810
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
811
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
812
- o[:pager] = Aws::Pager.new(
813
- limit_key: "limit",
814
- tokens: {
815
- "marker" => "marker"
816
- }
817
- )
818
- end)
819
-
820
- api.add_operation(:purchase_provisioned_capacity, Seahorse::Model::Operation.new.tap do |o|
821
- o.name = "PurchaseProvisionedCapacity"
822
- o.http_method = "POST"
823
- o.http_request_uri = "/{accountId}/provisioned-capacity"
824
- o.input = Shapes::ShapeRef.new(shape: PurchaseProvisionedCapacityInput)
825
- o.output = Shapes::ShapeRef.new(shape: PurchaseProvisionedCapacityOutput)
826
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
827
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
828
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
829
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
830
- end)
831
-
832
- api.add_operation(:remove_tags_from_vault, Seahorse::Model::Operation.new.tap do |o|
833
- o.name = "RemoveTagsFromVault"
834
- o.http_method = "POST"
835
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags?operation=remove"
836
- o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromVaultInput)
837
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
838
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
839
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
840
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
841
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
842
- end)
843
-
844
- api.add_operation(:set_data_retrieval_policy, Seahorse::Model::Operation.new.tap do |o|
845
- o.name = "SetDataRetrievalPolicy"
846
- o.http_method = "PUT"
847
- o.http_request_uri = "/{accountId}/policies/data-retrieval"
848
- o.input = Shapes::ShapeRef.new(shape: SetDataRetrievalPolicyInput)
849
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
850
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
851
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
852
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
853
- end)
854
-
855
- api.add_operation(:set_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
856
- o.name = "SetVaultAccessPolicy"
857
- o.http_method = "PUT"
858
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
859
- o.input = Shapes::ShapeRef.new(shape: SetVaultAccessPolicyInput)
860
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
861
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
862
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
863
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
864
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
865
- end)
866
-
867
- api.add_operation(:set_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
868
- o.name = "SetVaultNotifications"
869
- o.http_method = "PUT"
870
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
871
- o.input = Shapes::ShapeRef.new(shape: SetVaultNotificationsInput)
872
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
873
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
874
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
875
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
876
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
877
- end)
878
-
879
- api.add_operation(:upload_archive, Seahorse::Model::Operation.new.tap do |o|
880
- o.name = "UploadArchive"
881
- o.http_method = "POST"
882
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/archives"
883
- o.input = Shapes::ShapeRef.new(shape: UploadArchiveInput)
884
- o.output = Shapes::ShapeRef.new(shape: ArchiveCreationOutput)
885
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
886
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
887
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
888
- o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
889
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
890
- end)
891
-
892
- api.add_operation(:upload_multipart_part, Seahorse::Model::Operation.new.tap do |o|
893
- o.name = "UploadMultipartPart"
894
- o.http_method = "PUT"
895
- o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
896
- o.input = Shapes::ShapeRef.new(shape: UploadMultipartPartInput)
897
- o.output = Shapes::ShapeRef.new(shape: UploadMultipartPartOutput)
898
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
899
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
900
- o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
901
- o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
902
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
903
- end)
904
- end
8
+ module Aws::Glacier
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AbortMultipartUploadInput = Shapes::StructureShape.new(name: 'AbortMultipartUploadInput')
15
+ AbortVaultLockInput = Shapes::StructureShape.new(name: 'AbortVaultLockInput')
16
+ ActionCode = Shapes::StringShape.new(name: 'ActionCode')
17
+ AddTagsToVaultInput = Shapes::StructureShape.new(name: 'AddTagsToVaultInput')
18
+ ArchiveCreationOutput = Shapes::StructureShape.new(name: 'ArchiveCreationOutput')
19
+ CompleteMultipartUploadInput = Shapes::StructureShape.new(name: 'CompleteMultipartUploadInput')
20
+ CompleteVaultLockInput = Shapes::StructureShape.new(name: 'CompleteVaultLockInput')
21
+ CreateVaultInput = Shapes::StructureShape.new(name: 'CreateVaultInput')
22
+ CreateVaultOutput = Shapes::StructureShape.new(name: 'CreateVaultOutput')
23
+ DataRetrievalPolicy = Shapes::StructureShape.new(name: 'DataRetrievalPolicy')
24
+ DataRetrievalRule = Shapes::StructureShape.new(name: 'DataRetrievalRule')
25
+ DataRetrievalRulesList = Shapes::ListShape.new(name: 'DataRetrievalRulesList')
26
+ DateTime = Shapes::StringShape.new(name: 'DateTime')
27
+ DeleteArchiveInput = Shapes::StructureShape.new(name: 'DeleteArchiveInput')
28
+ DeleteVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'DeleteVaultAccessPolicyInput')
29
+ DeleteVaultInput = Shapes::StructureShape.new(name: 'DeleteVaultInput')
30
+ DeleteVaultNotificationsInput = Shapes::StructureShape.new(name: 'DeleteVaultNotificationsInput')
31
+ DescribeJobInput = Shapes::StructureShape.new(name: 'DescribeJobInput')
32
+ DescribeVaultInput = Shapes::StructureShape.new(name: 'DescribeVaultInput')
33
+ DescribeVaultOutput = Shapes::StructureShape.new(name: 'DescribeVaultOutput')
34
+ GetDataRetrievalPolicyInput = Shapes::StructureShape.new(name: 'GetDataRetrievalPolicyInput')
35
+ GetDataRetrievalPolicyOutput = Shapes::StructureShape.new(name: 'GetDataRetrievalPolicyOutput')
36
+ GetJobOutputInput = Shapes::StructureShape.new(name: 'GetJobOutputInput')
37
+ GetJobOutputOutput = Shapes::StructureShape.new(name: 'GetJobOutputOutput')
38
+ GetVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'GetVaultAccessPolicyInput')
39
+ GetVaultAccessPolicyOutput = Shapes::StructureShape.new(name: 'GetVaultAccessPolicyOutput')
40
+ GetVaultLockInput = Shapes::StructureShape.new(name: 'GetVaultLockInput')
41
+ GetVaultLockOutput = Shapes::StructureShape.new(name: 'GetVaultLockOutput')
42
+ GetVaultNotificationsInput = Shapes::StructureShape.new(name: 'GetVaultNotificationsInput')
43
+ GetVaultNotificationsOutput = Shapes::StructureShape.new(name: 'GetVaultNotificationsOutput')
44
+ GlacierJobDescription = Shapes::StructureShape.new(name: 'GlacierJobDescription')
45
+ InitiateJobInput = Shapes::StructureShape.new(name: 'InitiateJobInput')
46
+ InitiateJobOutput = Shapes::StructureShape.new(name: 'InitiateJobOutput')
47
+ InitiateMultipartUploadInput = Shapes::StructureShape.new(name: 'InitiateMultipartUploadInput')
48
+ InitiateMultipartUploadOutput = Shapes::StructureShape.new(name: 'InitiateMultipartUploadOutput')
49
+ InitiateVaultLockInput = Shapes::StructureShape.new(name: 'InitiateVaultLockInput')
50
+ InitiateVaultLockOutput = Shapes::StructureShape.new(name: 'InitiateVaultLockOutput')
51
+ InsufficientCapacityException = Shapes::StructureShape.new(name: 'InsufficientCapacityException')
52
+ InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
53
+ InventoryRetrievalJobDescription = Shapes::StructureShape.new(name: 'InventoryRetrievalJobDescription')
54
+ InventoryRetrievalJobInput = Shapes::StructureShape.new(name: 'InventoryRetrievalJobInput')
55
+ JobList = Shapes::ListShape.new(name: 'JobList')
56
+ JobParameters = Shapes::StructureShape.new(name: 'JobParameters')
57
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
58
+ ListJobsInput = Shapes::StructureShape.new(name: 'ListJobsInput')
59
+ ListJobsOutput = Shapes::StructureShape.new(name: 'ListJobsOutput')
60
+ ListMultipartUploadsInput = Shapes::StructureShape.new(name: 'ListMultipartUploadsInput')
61
+ ListMultipartUploadsOutput = Shapes::StructureShape.new(name: 'ListMultipartUploadsOutput')
62
+ ListPartsInput = Shapes::StructureShape.new(name: 'ListPartsInput')
63
+ ListPartsOutput = Shapes::StructureShape.new(name: 'ListPartsOutput')
64
+ ListProvisionedCapacityInput = Shapes::StructureShape.new(name: 'ListProvisionedCapacityInput')
65
+ ListProvisionedCapacityOutput = Shapes::StructureShape.new(name: 'ListProvisionedCapacityOutput')
66
+ ListTagsForVaultInput = Shapes::StructureShape.new(name: 'ListTagsForVaultInput')
67
+ ListTagsForVaultOutput = Shapes::StructureShape.new(name: 'ListTagsForVaultOutput')
68
+ ListVaultsInput = Shapes::StructureShape.new(name: 'ListVaultsInput')
69
+ ListVaultsOutput = Shapes::StructureShape.new(name: 'ListVaultsOutput')
70
+ MissingParameterValueException = Shapes::StructureShape.new(name: 'MissingParameterValueException')
71
+ NotificationEventList = Shapes::ListShape.new(name: 'NotificationEventList')
72
+ NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
73
+ PartList = Shapes::ListShape.new(name: 'PartList')
74
+ PartListElement = Shapes::StructureShape.new(name: 'PartListElement')
75
+ PolicyEnforcedException = Shapes::StructureShape.new(name: 'PolicyEnforcedException')
76
+ ProvisionedCapacityDescription = Shapes::StructureShape.new(name: 'ProvisionedCapacityDescription')
77
+ ProvisionedCapacityList = Shapes::ListShape.new(name: 'ProvisionedCapacityList')
78
+ PurchaseProvisionedCapacityInput = Shapes::StructureShape.new(name: 'PurchaseProvisionedCapacityInput')
79
+ PurchaseProvisionedCapacityOutput = Shapes::StructureShape.new(name: 'PurchaseProvisionedCapacityOutput')
80
+ RemoveTagsFromVaultInput = Shapes::StructureShape.new(name: 'RemoveTagsFromVaultInput')
81
+ RequestTimeoutException = Shapes::StructureShape.new(name: 'RequestTimeoutException')
82
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
83
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
84
+ SetDataRetrievalPolicyInput = Shapes::StructureShape.new(name: 'SetDataRetrievalPolicyInput')
85
+ SetVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'SetVaultAccessPolicyInput')
86
+ SetVaultNotificationsInput = Shapes::StructureShape.new(name: 'SetVaultNotificationsInput')
87
+ Size = Shapes::IntegerShape.new(name: 'Size')
88
+ StatusCode = Shapes::StringShape.new(name: 'StatusCode')
89
+ Stream = Shapes::BlobShape.new(name: 'Stream')
90
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
91
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
92
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
93
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
94
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
95
+ UploadArchiveInput = Shapes::StructureShape.new(name: 'UploadArchiveInput')
96
+ UploadListElement = Shapes::StructureShape.new(name: 'UploadListElement')
97
+ UploadMultipartPartInput = Shapes::StructureShape.new(name: 'UploadMultipartPartInput')
98
+ UploadMultipartPartOutput = Shapes::StructureShape.new(name: 'UploadMultipartPartOutput')
99
+ UploadsList = Shapes::ListShape.new(name: 'UploadsList')
100
+ VaultAccessPolicy = Shapes::StructureShape.new(name: 'VaultAccessPolicy')
101
+ VaultList = Shapes::ListShape.new(name: 'VaultList')
102
+ VaultLockPolicy = Shapes::StructureShape.new(name: 'VaultLockPolicy')
103
+ VaultNotificationConfig = Shapes::StructureShape.new(name: 'VaultNotificationConfig')
104
+ boolean = Shapes::BooleanShape.new(name: 'boolean')
105
+ httpstatus = Shapes::IntegerShape.new(name: 'httpstatus')
106
+ long = Shapes::IntegerShape.new(name: 'long')
107
+ string = Shapes::StringShape.new(name: 'string')
108
+
109
+ AbortMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
110
+ AbortMultipartUploadInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
111
+ AbortMultipartUploadInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
112
+ AbortMultipartUploadInput.struct_class = Types::AbortMultipartUploadInput
113
+
114
+ AbortVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
115
+ AbortVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
116
+ AbortVaultLockInput.struct_class = Types::AbortVaultLockInput
117
+
118
+ AddTagsToVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
119
+ AddTagsToVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
120
+ AddTagsToVaultInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
121
+ AddTagsToVaultInput.struct_class = Types::AddTagsToVaultInput
122
+
123
+ ArchiveCreationOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
124
+ ArchiveCreationOutput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
125
+ ArchiveCreationOutput.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-id"))
126
+ ArchiveCreationOutput.struct_class = Types::ArchiveCreationOutput
127
+
128
+ CompleteMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
129
+ CompleteMultipartUploadInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
130
+ CompleteMultipartUploadInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
131
+ CompleteMultipartUploadInput.add_member(:archive_size, Shapes::ShapeRef.new(shape: Size, location: "header", location_name: "x-amz-archive-size"))
132
+ CompleteMultipartUploadInput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
133
+ CompleteMultipartUploadInput.struct_class = Types::CompleteMultipartUploadInput
134
+
135
+ CompleteVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
136
+ CompleteVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
137
+ CompleteVaultLockInput.add_member(:lock_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "lockId"))
138
+ CompleteVaultLockInput.struct_class = Types::CompleteVaultLockInput
139
+
140
+ CreateVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
141
+ CreateVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
142
+ CreateVaultInput.struct_class = Types::CreateVaultInput
143
+
144
+ CreateVaultOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
145
+ CreateVaultOutput.struct_class = Types::CreateVaultOutput
146
+
147
+ DataRetrievalPolicy.add_member(:rules, Shapes::ShapeRef.new(shape: DataRetrievalRulesList, location_name: "Rules"))
148
+ DataRetrievalPolicy.struct_class = Types::DataRetrievalPolicy
149
+
150
+ DataRetrievalRule.add_member(:strategy, Shapes::ShapeRef.new(shape: string, location_name: "Strategy"))
151
+ DataRetrievalRule.add_member(:bytes_per_hour, Shapes::ShapeRef.new(shape: NullableLong, location_name: "BytesPerHour"))
152
+ DataRetrievalRule.struct_class = Types::DataRetrievalRule
153
+
154
+ DataRetrievalRulesList.member = Shapes::ShapeRef.new(shape: DataRetrievalRule)
155
+
156
+ DeleteArchiveInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
157
+ DeleteArchiveInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
158
+ DeleteArchiveInput.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "archiveId"))
159
+ DeleteArchiveInput.struct_class = Types::DeleteArchiveInput
160
+
161
+ DeleteVaultAccessPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
162
+ DeleteVaultAccessPolicyInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
163
+ DeleteVaultAccessPolicyInput.struct_class = Types::DeleteVaultAccessPolicyInput
164
+
165
+ DeleteVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
166
+ DeleteVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
167
+ DeleteVaultInput.struct_class = Types::DeleteVaultInput
168
+
169
+ DeleteVaultNotificationsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
170
+ DeleteVaultNotificationsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
171
+ DeleteVaultNotificationsInput.struct_class = Types::DeleteVaultNotificationsInput
172
+
173
+ DescribeJobInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
174
+ DescribeJobInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
175
+ DescribeJobInput.add_member(:job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "jobId"))
176
+ DescribeJobInput.struct_class = Types::DescribeJobInput
177
+
178
+ DescribeVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
179
+ DescribeVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
180
+ DescribeVaultInput.struct_class = Types::DescribeVaultInput
181
+
182
+ DescribeVaultOutput.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
183
+ DescribeVaultOutput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, location_name: "VaultName"))
184
+ DescribeVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
185
+ DescribeVaultOutput.add_member(:last_inventory_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastInventoryDate"))
186
+ DescribeVaultOutput.add_member(:number_of_archives, Shapes::ShapeRef.new(shape: long, location_name: "NumberOfArchives"))
187
+ DescribeVaultOutput.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "SizeInBytes"))
188
+ DescribeVaultOutput.struct_class = Types::DescribeVaultOutput
189
+
190
+ GetDataRetrievalPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
191
+ GetDataRetrievalPolicyInput.struct_class = Types::GetDataRetrievalPolicyInput
192
+
193
+ GetDataRetrievalPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: DataRetrievalPolicy, location_name: "Policy"))
194
+ GetDataRetrievalPolicyOutput.struct_class = Types::GetDataRetrievalPolicyOutput
195
+
196
+ GetJobOutputInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
197
+ GetJobOutputInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
198
+ GetJobOutputInput.add_member(:job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "jobId"))
199
+ GetJobOutputInput.add_member(:range, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Range"))
200
+ GetJobOutputInput.struct_class = Types::GetJobOutputInput
201
+
202
+ GetJobOutputOutput.add_member(:body, Shapes::ShapeRef.new(shape: Stream, location_name: "body"))
203
+ GetJobOutputOutput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
204
+ GetJobOutputOutput.add_member(:status, Shapes::ShapeRef.new(shape: httpstatus, location: "statusCode", location_name: "status"))
205
+ GetJobOutputOutput.add_member(:content_range, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Content-Range"))
206
+ GetJobOutputOutput.add_member(:accept_ranges, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Accept-Ranges"))
207
+ GetJobOutputOutput.add_member(:content_type, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Content-Type"))
208
+ GetJobOutputOutput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-description"))
209
+ GetJobOutputOutput.struct_class = Types::GetJobOutputOutput
210
+ GetJobOutputOutput[:payload] = :body
211
+ GetJobOutputOutput[:payload_member] = GetJobOutputOutput.member(:body)
212
+
213
+ GetVaultAccessPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
214
+ GetVaultAccessPolicyInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
215
+ GetVaultAccessPolicyInput.struct_class = Types::GetVaultAccessPolicyInput
216
+
217
+ GetVaultAccessPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: VaultAccessPolicy, location_name: "policy"))
218
+ GetVaultAccessPolicyOutput.struct_class = Types::GetVaultAccessPolicyOutput
219
+ GetVaultAccessPolicyOutput[:payload] = :policy
220
+ GetVaultAccessPolicyOutput[:payload_member] = GetVaultAccessPolicyOutput.member(:policy)
221
+
222
+ GetVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
223
+ GetVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
224
+ GetVaultLockInput.struct_class = Types::GetVaultLockInput
225
+
226
+ GetVaultLockOutput.add_member(:policy, Shapes::ShapeRef.new(shape: string, location_name: "Policy"))
227
+ GetVaultLockOutput.add_member(:state, Shapes::ShapeRef.new(shape: string, location_name: "State"))
228
+ GetVaultLockOutput.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
229
+ GetVaultLockOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
230
+ GetVaultLockOutput.struct_class = Types::GetVaultLockOutput
231
+
232
+ GetVaultNotificationsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
233
+ GetVaultNotificationsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
234
+ GetVaultNotificationsInput.struct_class = Types::GetVaultNotificationsInput
235
+
236
+ GetVaultNotificationsOutput.add_member(:vault_notification_config, Shapes::ShapeRef.new(shape: VaultNotificationConfig, location_name: "vaultNotificationConfig"))
237
+ GetVaultNotificationsOutput.struct_class = Types::GetVaultNotificationsOutput
238
+ GetVaultNotificationsOutput[:payload] = :vault_notification_config
239
+ GetVaultNotificationsOutput[:payload_member] = GetVaultNotificationsOutput.member(:vault_notification_config)
240
+
241
+ GlacierJobDescription.add_member(:job_id, Shapes::ShapeRef.new(shape: string, location_name: "JobId"))
242
+ GlacierJobDescription.add_member(:job_description, Shapes::ShapeRef.new(shape: string, location_name: "JobDescription"))
243
+ GlacierJobDescription.add_member(:action, Shapes::ShapeRef.new(shape: ActionCode, location_name: "Action"))
244
+ GlacierJobDescription.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveId"))
245
+ GlacierJobDescription.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
246
+ GlacierJobDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
247
+ GlacierJobDescription.add_member(:completed, Shapes::ShapeRef.new(shape: boolean, location_name: "Completed"))
248
+ GlacierJobDescription.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, location_name: "StatusCode"))
249
+ GlacierJobDescription.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
250
+ GlacierJobDescription.add_member(:archive_size_in_bytes, Shapes::ShapeRef.new(shape: Size, location_name: "ArchiveSizeInBytes"))
251
+ GlacierJobDescription.add_member(:inventory_size_in_bytes, Shapes::ShapeRef.new(shape: Size, location_name: "InventorySizeInBytes"))
252
+ GlacierJobDescription.add_member(:sns_topic, Shapes::ShapeRef.new(shape: string, location_name: "SNSTopic"))
253
+ GlacierJobDescription.add_member(:completion_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionDate"))
254
+ GlacierJobDescription.add_member(:sha256_tree_hash, Shapes::ShapeRef.new(shape: string, location_name: "SHA256TreeHash"))
255
+ GlacierJobDescription.add_member(:archive_sha256_tree_hash, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveSHA256TreeHash"))
256
+ GlacierJobDescription.add_member(:retrieval_byte_range, Shapes::ShapeRef.new(shape: string, location_name: "RetrievalByteRange"))
257
+ GlacierJobDescription.add_member(:tier, Shapes::ShapeRef.new(shape: string, location_name: "Tier"))
258
+ GlacierJobDescription.add_member(:inventory_retrieval_parameters, Shapes::ShapeRef.new(shape: InventoryRetrievalJobDescription, location_name: "InventoryRetrievalParameters"))
259
+ GlacierJobDescription.struct_class = Types::GlacierJobDescription
260
+
261
+ InitiateJobInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
262
+ InitiateJobInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
263
+ InitiateJobInput.add_member(:job_parameters, Shapes::ShapeRef.new(shape: JobParameters, location_name: "jobParameters"))
264
+ InitiateJobInput.struct_class = Types::InitiateJobInput
265
+ InitiateJobInput[:payload] = :job_parameters
266
+ InitiateJobInput[:payload_member] = InitiateJobInput.member(:job_parameters)
267
+
268
+ InitiateJobOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
269
+ InitiateJobOutput.add_member(:job_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-job-id"))
270
+ InitiateJobOutput.struct_class = Types::InitiateJobOutput
271
+
272
+ InitiateMultipartUploadInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
273
+ InitiateMultipartUploadInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
274
+ InitiateMultipartUploadInput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-description"))
275
+ InitiateMultipartUploadInput.add_member(:part_size, Shapes::ShapeRef.new(shape: Size, location: "header", location_name: "x-amz-part-size"))
276
+ InitiateMultipartUploadInput.struct_class = Types::InitiateMultipartUploadInput
277
+
278
+ InitiateMultipartUploadOutput.add_member(:location, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Location"))
279
+ InitiateMultipartUploadOutput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-multipart-upload-id"))
280
+ InitiateMultipartUploadOutput.struct_class = Types::InitiateMultipartUploadOutput
281
+
282
+ InitiateVaultLockInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
283
+ InitiateVaultLockInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
284
+ InitiateVaultLockInput.add_member(:policy, Shapes::ShapeRef.new(shape: VaultLockPolicy, location_name: "policy"))
285
+ InitiateVaultLockInput.struct_class = Types::InitiateVaultLockInput
286
+ InitiateVaultLockInput[:payload] = :policy
287
+ InitiateVaultLockInput[:payload_member] = InitiateVaultLockInput.member(:policy)
288
+
289
+ InitiateVaultLockOutput.add_member(:lock_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-lock-id"))
290
+ InitiateVaultLockOutput.struct_class = Types::InitiateVaultLockOutput
291
+
292
+ InventoryRetrievalJobDescription.add_member(:format, Shapes::ShapeRef.new(shape: string, location_name: "Format"))
293
+ InventoryRetrievalJobDescription.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
294
+ InventoryRetrievalJobDescription.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndDate"))
295
+ InventoryRetrievalJobDescription.add_member(:limit, Shapes::ShapeRef.new(shape: string, location_name: "Limit"))
296
+ InventoryRetrievalJobDescription.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
297
+ InventoryRetrievalJobDescription.struct_class = Types::InventoryRetrievalJobDescription
298
+
299
+ InventoryRetrievalJobInput.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
300
+ InventoryRetrievalJobInput.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndDate"))
301
+ InventoryRetrievalJobInput.add_member(:limit, Shapes::ShapeRef.new(shape: string, location_name: "Limit"))
302
+ InventoryRetrievalJobInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
303
+ InventoryRetrievalJobInput.struct_class = Types::InventoryRetrievalJobInput
304
+
305
+ JobList.member = Shapes::ShapeRef.new(shape: GlacierJobDescription)
306
+
307
+ JobParameters.add_member(:format, Shapes::ShapeRef.new(shape: string, location_name: "Format"))
308
+ JobParameters.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
309
+ JobParameters.add_member(:archive_id, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveId"))
310
+ JobParameters.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "Description"))
311
+ JobParameters.add_member(:sns_topic, Shapes::ShapeRef.new(shape: string, location_name: "SNSTopic"))
312
+ JobParameters.add_member(:retrieval_byte_range, Shapes::ShapeRef.new(shape: string, location_name: "RetrievalByteRange"))
313
+ JobParameters.add_member(:tier, Shapes::ShapeRef.new(shape: string, location_name: "Tier"))
314
+ JobParameters.add_member(:inventory_retrieval_parameters, Shapes::ShapeRef.new(shape: InventoryRetrievalJobInput, location_name: "InventoryRetrievalParameters"))
315
+ JobParameters.struct_class = Types::JobParameters
316
+
317
+ ListJobsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
318
+ ListJobsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
319
+ ListJobsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
320
+ ListJobsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
321
+ ListJobsInput.add_member(:statuscode, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "statuscode"))
322
+ ListJobsInput.add_member(:completed, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "completed"))
323
+ ListJobsInput.struct_class = Types::ListJobsInput
324
+
325
+ ListJobsOutput.add_member(:job_list, Shapes::ShapeRef.new(shape: JobList, location_name: "JobList"))
326
+ ListJobsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
327
+ ListJobsOutput.struct_class = Types::ListJobsOutput
328
+
329
+ ListMultipartUploadsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
330
+ ListMultipartUploadsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
331
+ ListMultipartUploadsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
332
+ ListMultipartUploadsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
333
+ ListMultipartUploadsInput.struct_class = Types::ListMultipartUploadsInput
334
+
335
+ ListMultipartUploadsOutput.add_member(:uploads_list, Shapes::ShapeRef.new(shape: UploadsList, location_name: "UploadsList"))
336
+ ListMultipartUploadsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
337
+ ListMultipartUploadsOutput.struct_class = Types::ListMultipartUploadsOutput
338
+
339
+ ListPartsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
340
+ ListPartsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
341
+ ListPartsInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
342
+ ListPartsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
343
+ ListPartsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
344
+ ListPartsInput.struct_class = Types::ListPartsInput
345
+
346
+ ListPartsOutput.add_member(:multipart_upload_id, Shapes::ShapeRef.new(shape: string, location_name: "MultipartUploadId"))
347
+ ListPartsOutput.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
348
+ ListPartsOutput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveDescription"))
349
+ ListPartsOutput.add_member(:part_size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "PartSizeInBytes"))
350
+ ListPartsOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
351
+ ListPartsOutput.add_member(:parts, Shapes::ShapeRef.new(shape: PartList, location_name: "Parts"))
352
+ ListPartsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
353
+ ListPartsOutput.struct_class = Types::ListPartsOutput
354
+
355
+ ListProvisionedCapacityInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
356
+ ListProvisionedCapacityInput.struct_class = Types::ListProvisionedCapacityInput
357
+
358
+ ListProvisionedCapacityOutput.add_member(:provisioned_capacity_list, Shapes::ShapeRef.new(shape: ProvisionedCapacityList, location_name: "ProvisionedCapacityList"))
359
+ ListProvisionedCapacityOutput.struct_class = Types::ListProvisionedCapacityOutput
360
+
361
+ ListTagsForVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
362
+ ListTagsForVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
363
+ ListTagsForVaultInput.struct_class = Types::ListTagsForVaultInput
364
+
365
+ ListTagsForVaultOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
366
+ ListTagsForVaultOutput.struct_class = Types::ListTagsForVaultOutput
367
+
368
+ ListVaultsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
369
+ ListVaultsInput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "marker"))
370
+ ListVaultsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
371
+ ListVaultsInput.struct_class = Types::ListVaultsInput
372
+
373
+ ListVaultsOutput.add_member(:vault_list, Shapes::ShapeRef.new(shape: VaultList, location_name: "VaultList"))
374
+ ListVaultsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
375
+ ListVaultsOutput.struct_class = Types::ListVaultsOutput
376
+
377
+ NotificationEventList.member = Shapes::ShapeRef.new(shape: string)
378
+
379
+ PartList.member = Shapes::ShapeRef.new(shape: PartListElement)
380
+
381
+ PartListElement.add_member(:range_in_bytes, Shapes::ShapeRef.new(shape: string, location_name: "RangeInBytes"))
382
+ PartListElement.add_member(:sha256_tree_hash, Shapes::ShapeRef.new(shape: string, location_name: "SHA256TreeHash"))
383
+ PartListElement.struct_class = Types::PartListElement
384
+
385
+ ProvisionedCapacityDescription.add_member(:capacity_id, Shapes::ShapeRef.new(shape: string, location_name: "CapacityId"))
386
+ ProvisionedCapacityDescription.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
387
+ ProvisionedCapacityDescription.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
388
+ ProvisionedCapacityDescription.struct_class = Types::ProvisionedCapacityDescription
389
+
390
+ ProvisionedCapacityList.member = Shapes::ShapeRef.new(shape: ProvisionedCapacityDescription)
391
+
392
+ PurchaseProvisionedCapacityInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
393
+ PurchaseProvisionedCapacityInput.struct_class = Types::PurchaseProvisionedCapacityInput
394
+
395
+ PurchaseProvisionedCapacityOutput.add_member(:capacity_id, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-capacity-id"))
396
+ PurchaseProvisionedCapacityOutput.struct_class = Types::PurchaseProvisionedCapacityOutput
397
+
398
+ RemoveTagsFromVaultInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
399
+ RemoveTagsFromVaultInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
400
+ RemoveTagsFromVaultInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, location_name: "TagKeys"))
401
+ RemoveTagsFromVaultInput.struct_class = Types::RemoveTagsFromVaultInput
402
+
403
+ SetDataRetrievalPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
404
+ SetDataRetrievalPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: DataRetrievalPolicy, location_name: "Policy"))
405
+ SetDataRetrievalPolicyInput.struct_class = Types::SetDataRetrievalPolicyInput
406
+
407
+ SetVaultAccessPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
408
+ SetVaultAccessPolicyInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
409
+ SetVaultAccessPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: VaultAccessPolicy, location_name: "policy"))
410
+ SetVaultAccessPolicyInput.struct_class = Types::SetVaultAccessPolicyInput
411
+ SetVaultAccessPolicyInput[:payload] = :policy
412
+ SetVaultAccessPolicyInput[:payload_member] = SetVaultAccessPolicyInput.member(:policy)
413
+
414
+ SetVaultNotificationsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
415
+ SetVaultNotificationsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
416
+ SetVaultNotificationsInput.add_member(:vault_notification_config, Shapes::ShapeRef.new(shape: VaultNotificationConfig, location_name: "vaultNotificationConfig"))
417
+ SetVaultNotificationsInput.struct_class = Types::SetVaultNotificationsInput
418
+ SetVaultNotificationsInput[:payload] = :vault_notification_config
419
+ SetVaultNotificationsInput[:payload_member] = SetVaultNotificationsInput.member(:vault_notification_config)
420
+
421
+ TagKeyList.member = Shapes::ShapeRef.new(shape: string)
422
+
423
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
424
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
425
+
426
+ UploadArchiveInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
427
+ UploadArchiveInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
428
+ UploadArchiveInput.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-archive-description"))
429
+ UploadArchiveInput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
430
+ UploadArchiveInput.add_member(:body, Shapes::ShapeRef.new(shape: Stream, location_name: "body"))
431
+ UploadArchiveInput.struct_class = Types::UploadArchiveInput
432
+ UploadArchiveInput[:payload] = :body
433
+ UploadArchiveInput[:payload_member] = UploadArchiveInput.member(:body)
434
+
435
+ UploadListElement.add_member(:multipart_upload_id, Shapes::ShapeRef.new(shape: string, location_name: "MultipartUploadId"))
436
+ UploadListElement.add_member(:vault_arn, Shapes::ShapeRef.new(shape: string, location_name: "VaultARN"))
437
+ UploadListElement.add_member(:archive_description, Shapes::ShapeRef.new(shape: string, location_name: "ArchiveDescription"))
438
+ UploadListElement.add_member(:part_size_in_bytes, Shapes::ShapeRef.new(shape: long, location_name: "PartSizeInBytes"))
439
+ UploadListElement.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
440
+ UploadListElement.struct_class = Types::UploadListElement
441
+
442
+ UploadMultipartPartInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
443
+ UploadMultipartPartInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
444
+ UploadMultipartPartInput.add_member(:upload_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "uploadId"))
445
+ UploadMultipartPartInput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
446
+ UploadMultipartPartInput.add_member(:range, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "Content-Range"))
447
+ UploadMultipartPartInput.add_member(:body, Shapes::ShapeRef.new(shape: Stream, location_name: "body"))
448
+ UploadMultipartPartInput.struct_class = Types::UploadMultipartPartInput
449
+ UploadMultipartPartInput[:payload] = :body
450
+ UploadMultipartPartInput[:payload_member] = UploadMultipartPartInput.member(:body)
451
+
452
+ UploadMultipartPartOutput.add_member(:checksum, Shapes::ShapeRef.new(shape: string, location: "header", location_name: "x-amz-sha256-tree-hash"))
453
+ UploadMultipartPartOutput.struct_class = Types::UploadMultipartPartOutput
454
+
455
+ UploadsList.member = Shapes::ShapeRef.new(shape: UploadListElement)
456
+
457
+ VaultAccessPolicy.add_member(:policy, Shapes::ShapeRef.new(shape: string, location_name: "Policy"))
458
+ VaultAccessPolicy.struct_class = Types::VaultAccessPolicy
459
+
460
+ VaultList.member = Shapes::ShapeRef.new(shape: DescribeVaultOutput)
905
461
 
462
+ VaultLockPolicy.add_member(:policy, Shapes::ShapeRef.new(shape: string, location_name: "Policy"))
463
+ VaultLockPolicy.struct_class = Types::VaultLockPolicy
464
+
465
+ VaultNotificationConfig.add_member(:sns_topic, Shapes::ShapeRef.new(shape: string, location_name: "SNSTopic"))
466
+ VaultNotificationConfig.add_member(:events, Shapes::ShapeRef.new(shape: NotificationEventList, location_name: "Events"))
467
+ VaultNotificationConfig.struct_class = Types::VaultNotificationConfig
468
+
469
+
470
+ # @api private
471
+ API = Seahorse::Model::Api.new.tap do |api|
472
+
473
+ api.version = "2012-06-01"
474
+
475
+ api.metadata = {
476
+ "endpointPrefix" => "glacier",
477
+ "protocol" => "rest-json",
478
+ "serviceFullName" => "Amazon Glacier",
479
+ "signatureVersion" => "v4",
480
+ }
481
+
482
+ api.add_operation(:abort_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
483
+ o.name = "AbortMultipartUpload"
484
+ o.http_method = "DELETE"
485
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
486
+ o.input = Shapes::ShapeRef.new(shape: AbortMultipartUploadInput)
487
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
488
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
489
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
490
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
491
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
492
+ end)
493
+
494
+ api.add_operation(:abort_vault_lock, Seahorse::Model::Operation.new.tap do |o|
495
+ o.name = "AbortVaultLock"
496
+ o.http_method = "DELETE"
497
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
498
+ o.input = Shapes::ShapeRef.new(shape: AbortVaultLockInput)
499
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
500
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
501
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
502
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
503
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
504
+ end)
505
+
506
+ api.add_operation(:add_tags_to_vault, Seahorse::Model::Operation.new.tap do |o|
507
+ o.name = "AddTagsToVault"
508
+ o.http_method = "POST"
509
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags?operation=add"
510
+ o.input = Shapes::ShapeRef.new(shape: AddTagsToVaultInput)
511
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
512
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
513
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
514
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
515
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
516
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
517
+ end)
518
+
519
+ api.add_operation(:complete_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
520
+ o.name = "CompleteMultipartUpload"
521
+ o.http_method = "POST"
522
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
523
+ o.input = Shapes::ShapeRef.new(shape: CompleteMultipartUploadInput)
524
+ o.output = Shapes::ShapeRef.new(shape: ArchiveCreationOutput)
525
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
526
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
527
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
528
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
529
+ end)
530
+
531
+ api.add_operation(:complete_vault_lock, Seahorse::Model::Operation.new.tap do |o|
532
+ o.name = "CompleteVaultLock"
533
+ o.http_method = "POST"
534
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}"
535
+ o.input = Shapes::ShapeRef.new(shape: CompleteVaultLockInput)
536
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
537
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
538
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
539
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
540
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
541
+ end)
542
+
543
+ api.add_operation(:create_vault, Seahorse::Model::Operation.new.tap do |o|
544
+ o.name = "CreateVault"
545
+ o.http_method = "PUT"
546
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}"
547
+ o.input = Shapes::ShapeRef.new(shape: CreateVaultInput)
548
+ o.output = Shapes::ShapeRef.new(shape: CreateVaultOutput)
549
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
550
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
551
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
552
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
553
+ end)
554
+
555
+ api.add_operation(:delete_archive, Seahorse::Model::Operation.new.tap do |o|
556
+ o.name = "DeleteArchive"
557
+ o.http_method = "DELETE"
558
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/archives/{archiveId}"
559
+ o.input = Shapes::ShapeRef.new(shape: DeleteArchiveInput)
560
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
561
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
562
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
563
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
564
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
565
+ end)
566
+
567
+ api.add_operation(:delete_vault, Seahorse::Model::Operation.new.tap do |o|
568
+ o.name = "DeleteVault"
569
+ o.http_method = "DELETE"
570
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}"
571
+ o.input = Shapes::ShapeRef.new(shape: DeleteVaultInput)
572
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
573
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
574
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
575
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
576
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
577
+ end)
578
+
579
+ api.add_operation(:delete_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
580
+ o.name = "DeleteVaultAccessPolicy"
581
+ o.http_method = "DELETE"
582
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
583
+ o.input = Shapes::ShapeRef.new(shape: DeleteVaultAccessPolicyInput)
584
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
585
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
586
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
587
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
588
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
589
+ end)
590
+
591
+ api.add_operation(:delete_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
592
+ o.name = "DeleteVaultNotifications"
593
+ o.http_method = "DELETE"
594
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
595
+ o.input = Shapes::ShapeRef.new(shape: DeleteVaultNotificationsInput)
596
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
597
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
598
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
599
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
600
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
601
+ end)
602
+
603
+ api.add_operation(:describe_job, Seahorse::Model::Operation.new.tap do |o|
604
+ o.name = "DescribeJob"
605
+ o.http_method = "GET"
606
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs/{jobId}"
607
+ o.input = Shapes::ShapeRef.new(shape: DescribeJobInput)
608
+ o.output = Shapes::ShapeRef.new(shape: GlacierJobDescription)
609
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
610
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
611
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
613
+ end)
614
+
615
+ api.add_operation(:describe_vault, Seahorse::Model::Operation.new.tap do |o|
616
+ o.name = "DescribeVault"
617
+ o.http_method = "GET"
618
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}"
619
+ o.input = Shapes::ShapeRef.new(shape: DescribeVaultInput)
620
+ o.output = Shapes::ShapeRef.new(shape: DescribeVaultOutput)
621
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
622
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
623
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
624
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
625
+ end)
626
+
627
+ api.add_operation(:get_data_retrieval_policy, Seahorse::Model::Operation.new.tap do |o|
628
+ o.name = "GetDataRetrievalPolicy"
629
+ o.http_method = "GET"
630
+ o.http_request_uri = "/{accountId}/policies/data-retrieval"
631
+ o.input = Shapes::ShapeRef.new(shape: GetDataRetrievalPolicyInput)
632
+ o.output = Shapes::ShapeRef.new(shape: GetDataRetrievalPolicyOutput)
633
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
634
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
635
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
636
+ end)
637
+
638
+ api.add_operation(:get_job_output, Seahorse::Model::Operation.new.tap do |o|
639
+ o.name = "GetJobOutput"
640
+ o.http_method = "GET"
641
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output"
642
+ o.input = Shapes::ShapeRef.new(shape: GetJobOutputInput)
643
+ o.output = Shapes::ShapeRef.new(shape: GetJobOutputOutput)
644
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
645
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
646
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
647
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
648
+ end)
649
+
650
+ api.add_operation(:get_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
651
+ o.name = "GetVaultAccessPolicy"
652
+ o.http_method = "GET"
653
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
654
+ o.input = Shapes::ShapeRef.new(shape: GetVaultAccessPolicyInput)
655
+ o.output = Shapes::ShapeRef.new(shape: GetVaultAccessPolicyOutput)
656
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
657
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
658
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
659
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
660
+ end)
661
+
662
+ api.add_operation(:get_vault_lock, Seahorse::Model::Operation.new.tap do |o|
663
+ o.name = "GetVaultLock"
664
+ o.http_method = "GET"
665
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
666
+ o.input = Shapes::ShapeRef.new(shape: GetVaultLockInput)
667
+ o.output = Shapes::ShapeRef.new(shape: GetVaultLockOutput)
668
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
669
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
670
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
671
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
672
+ end)
673
+
674
+ api.add_operation(:get_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
675
+ o.name = "GetVaultNotifications"
676
+ o.http_method = "GET"
677
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
678
+ o.input = Shapes::ShapeRef.new(shape: GetVaultNotificationsInput)
679
+ o.output = Shapes::ShapeRef.new(shape: GetVaultNotificationsOutput)
680
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
681
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
682
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
683
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
684
+ end)
685
+
686
+ api.add_operation(:initiate_job, Seahorse::Model::Operation.new.tap do |o|
687
+ o.name = "InitiateJob"
688
+ o.http_method = "POST"
689
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs"
690
+ o.input = Shapes::ShapeRef.new(shape: InitiateJobInput)
691
+ o.output = Shapes::ShapeRef.new(shape: InitiateJobOutput)
692
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
693
+ o.errors << Shapes::ShapeRef.new(shape: PolicyEnforcedException)
694
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
695
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
696
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientCapacityException)
697
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
698
+ end)
699
+
700
+ api.add_operation(:initiate_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
701
+ o.name = "InitiateMultipartUpload"
702
+ o.http_method = "POST"
703
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads"
704
+ o.input = Shapes::ShapeRef.new(shape: InitiateMultipartUploadInput)
705
+ o.output = Shapes::ShapeRef.new(shape: InitiateMultipartUploadOutput)
706
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
707
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
708
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
709
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
710
+ end)
711
+
712
+ api.add_operation(:initiate_vault_lock, Seahorse::Model::Operation.new.tap do |o|
713
+ o.name = "InitiateVaultLock"
714
+ o.http_method = "POST"
715
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/lock-policy"
716
+ o.input = Shapes::ShapeRef.new(shape: InitiateVaultLockInput)
717
+ o.output = Shapes::ShapeRef.new(shape: InitiateVaultLockOutput)
718
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
719
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
720
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
721
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
722
+ end)
723
+
724
+ api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
725
+ o.name = "ListJobs"
726
+ o.http_method = "GET"
727
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/jobs"
728
+ o.input = Shapes::ShapeRef.new(shape: ListJobsInput)
729
+ o.output = Shapes::ShapeRef.new(shape: ListJobsOutput)
730
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
731
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
732
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
733
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
734
+ o[:pager] = Aws::Pager.new(
735
+ limit_key: "limit",
736
+ tokens: {
737
+ "marker" => "marker"
738
+ }
739
+ )
740
+ end)
741
+
742
+ api.add_operation(:list_multipart_uploads, Seahorse::Model::Operation.new.tap do |o|
743
+ o.name = "ListMultipartUploads"
744
+ o.http_method = "GET"
745
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads"
746
+ o.input = Shapes::ShapeRef.new(shape: ListMultipartUploadsInput)
747
+ o.output = Shapes::ShapeRef.new(shape: ListMultipartUploadsOutput)
748
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
749
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
750
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
751
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
752
+ o[:pager] = Aws::Pager.new(
753
+ limit_key: "limit",
754
+ tokens: {
755
+ "marker" => "marker"
756
+ }
757
+ )
758
+ end)
759
+
760
+ api.add_operation(:list_parts, Seahorse::Model::Operation.new.tap do |o|
761
+ o.name = "ListParts"
762
+ o.http_method = "GET"
763
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
764
+ o.input = Shapes::ShapeRef.new(shape: ListPartsInput)
765
+ o.output = Shapes::ShapeRef.new(shape: ListPartsOutput)
766
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
767
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
768
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
769
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
770
+ o[:pager] = Aws::Pager.new(
771
+ limit_key: "limit",
772
+ tokens: {
773
+ "marker" => "marker"
774
+ }
775
+ )
776
+ end)
777
+
778
+ api.add_operation(:list_provisioned_capacity, Seahorse::Model::Operation.new.tap do |o|
779
+ o.name = "ListProvisionedCapacity"
780
+ o.http_method = "GET"
781
+ o.http_request_uri = "/{accountId}/provisioned-capacity"
782
+ o.input = Shapes::ShapeRef.new(shape: ListProvisionedCapacityInput)
783
+ o.output = Shapes::ShapeRef.new(shape: ListProvisionedCapacityOutput)
784
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
785
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
786
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
787
+ end)
788
+
789
+ api.add_operation(:list_tags_for_vault, Seahorse::Model::Operation.new.tap do |o|
790
+ o.name = "ListTagsForVault"
791
+ o.http_method = "GET"
792
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags"
793
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForVaultInput)
794
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForVaultOutput)
795
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
796
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
797
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
798
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
799
+ end)
800
+
801
+ api.add_operation(:list_vaults, Seahorse::Model::Operation.new.tap do |o|
802
+ o.name = "ListVaults"
803
+ o.http_method = "GET"
804
+ o.http_request_uri = "/{accountId}/vaults"
805
+ o.input = Shapes::ShapeRef.new(shape: ListVaultsInput)
806
+ o.output = Shapes::ShapeRef.new(shape: ListVaultsOutput)
807
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
808
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
809
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
810
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
811
+ o[:pager] = Aws::Pager.new(
812
+ limit_key: "limit",
813
+ tokens: {
814
+ "marker" => "marker"
815
+ }
816
+ )
817
+ end)
818
+
819
+ api.add_operation(:purchase_provisioned_capacity, Seahorse::Model::Operation.new.tap do |o|
820
+ o.name = "PurchaseProvisionedCapacity"
821
+ o.http_method = "POST"
822
+ o.http_request_uri = "/{accountId}/provisioned-capacity"
823
+ o.input = Shapes::ShapeRef.new(shape: PurchaseProvisionedCapacityInput)
824
+ o.output = Shapes::ShapeRef.new(shape: PurchaseProvisionedCapacityOutput)
825
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
826
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
827
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
828
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
829
+ end)
830
+
831
+ api.add_operation(:remove_tags_from_vault, Seahorse::Model::Operation.new.tap do |o|
832
+ o.name = "RemoveTagsFromVault"
833
+ o.http_method = "POST"
834
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/tags?operation=remove"
835
+ o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromVaultInput)
836
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
837
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
838
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
839
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
840
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
841
+ end)
842
+
843
+ api.add_operation(:set_data_retrieval_policy, Seahorse::Model::Operation.new.tap do |o|
844
+ o.name = "SetDataRetrievalPolicy"
845
+ o.http_method = "PUT"
846
+ o.http_request_uri = "/{accountId}/policies/data-retrieval"
847
+ o.input = Shapes::ShapeRef.new(shape: SetDataRetrievalPolicyInput)
848
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
849
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
850
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
851
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
852
+ end)
853
+
854
+ api.add_operation(:set_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
855
+ o.name = "SetVaultAccessPolicy"
856
+ o.http_method = "PUT"
857
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/access-policy"
858
+ o.input = Shapes::ShapeRef.new(shape: SetVaultAccessPolicyInput)
859
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
860
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
861
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
862
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
863
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
864
+ end)
865
+
866
+ api.add_operation(:set_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
867
+ o.name = "SetVaultNotifications"
868
+ o.http_method = "PUT"
869
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/notification-configuration"
870
+ o.input = Shapes::ShapeRef.new(shape: SetVaultNotificationsInput)
871
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
872
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
873
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
874
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
875
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
876
+ end)
877
+
878
+ api.add_operation(:upload_archive, Seahorse::Model::Operation.new.tap do |o|
879
+ o.name = "UploadArchive"
880
+ o.http_method = "POST"
881
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/archives"
882
+ o.input = Shapes::ShapeRef.new(shape: UploadArchiveInput)
883
+ o.output = Shapes::ShapeRef.new(shape: ArchiveCreationOutput)
884
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
885
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
886
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
887
+ o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
888
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
889
+ end)
890
+
891
+ api.add_operation(:upload_multipart_part, Seahorse::Model::Operation.new.tap do |o|
892
+ o.name = "UploadMultipartPart"
893
+ o.http_method = "PUT"
894
+ o.http_request_uri = "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"
895
+ o.input = Shapes::ShapeRef.new(shape: UploadMultipartPartInput)
896
+ o.output = Shapes::ShapeRef.new(shape: UploadMultipartPartOutput)
897
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
898
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
899
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
900
+ o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
901
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
902
+ end)
906
903
  end
904
+
907
905
  end
908
906
  end