aws-sdk-glacier 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,908 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module 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
905
+
906
+ end
907
+ end
908
+ end