aws-sdk-paymentcryptography 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,741 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::PaymentCryptography
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ Alias = Shapes::StructureShape.new(name: 'Alias')
18
+ AliasName = Shapes::StringShape.new(name: 'AliasName')
19
+ Aliases = Shapes::ListShape.new(name: 'Aliases')
20
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
21
+ CertificateType = Shapes::StringShape.new(name: 'CertificateType')
22
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
23
+ CreateAliasInput = Shapes::StructureShape.new(name: 'CreateAliasInput')
24
+ CreateAliasOutput = Shapes::StructureShape.new(name: 'CreateAliasOutput')
25
+ CreateKeyInput = Shapes::StructureShape.new(name: 'CreateKeyInput')
26
+ CreateKeyOutput = Shapes::StructureShape.new(name: 'CreateKeyOutput')
27
+ DeleteAliasInput = Shapes::StructureShape.new(name: 'DeleteAliasInput')
28
+ DeleteAliasOutput = Shapes::StructureShape.new(name: 'DeleteAliasOutput')
29
+ DeleteKeyInput = Shapes::StructureShape.new(name: 'DeleteKeyInput')
30
+ DeleteKeyInputDeleteKeyInDaysInteger = Shapes::IntegerShape.new(name: 'DeleteKeyInputDeleteKeyInDaysInteger')
31
+ DeleteKeyOutput = Shapes::StructureShape.new(name: 'DeleteKeyOutput')
32
+ ExportKeyInput = Shapes::StructureShape.new(name: 'ExportKeyInput')
33
+ ExportKeyMaterial = Shapes::UnionShape.new(name: 'ExportKeyMaterial')
34
+ ExportKeyOutput = Shapes::StructureShape.new(name: 'ExportKeyOutput')
35
+ ExportTokenId = Shapes::StringShape.new(name: 'ExportTokenId')
36
+ ExportTr31KeyBlock = Shapes::StructureShape.new(name: 'ExportTr31KeyBlock')
37
+ ExportTr34KeyBlock = Shapes::StructureShape.new(name: 'ExportTr34KeyBlock')
38
+ GetAliasInput = Shapes::StructureShape.new(name: 'GetAliasInput')
39
+ GetAliasOutput = Shapes::StructureShape.new(name: 'GetAliasOutput')
40
+ GetKeyInput = Shapes::StructureShape.new(name: 'GetKeyInput')
41
+ GetKeyOutput = Shapes::StructureShape.new(name: 'GetKeyOutput')
42
+ GetParametersForExportInput = Shapes::StructureShape.new(name: 'GetParametersForExportInput')
43
+ GetParametersForExportOutput = Shapes::StructureShape.new(name: 'GetParametersForExportOutput')
44
+ GetParametersForImportInput = Shapes::StructureShape.new(name: 'GetParametersForImportInput')
45
+ GetParametersForImportOutput = Shapes::StructureShape.new(name: 'GetParametersForImportOutput')
46
+ GetPublicKeyCertificateInput = Shapes::StructureShape.new(name: 'GetPublicKeyCertificateInput')
47
+ GetPublicKeyCertificateOutput = Shapes::StructureShape.new(name: 'GetPublicKeyCertificateOutput')
48
+ HexLength16 = Shapes::StringShape.new(name: 'HexLength16')
49
+ ImportKeyInput = Shapes::StructureShape.new(name: 'ImportKeyInput')
50
+ ImportKeyMaterial = Shapes::UnionShape.new(name: 'ImportKeyMaterial')
51
+ ImportKeyOutput = Shapes::StructureShape.new(name: 'ImportKeyOutput')
52
+ ImportTokenId = Shapes::StringShape.new(name: 'ImportTokenId')
53
+ ImportTr31KeyBlock = Shapes::StructureShape.new(name: 'ImportTr31KeyBlock')
54
+ ImportTr34KeyBlock = Shapes::StructureShape.new(name: 'ImportTr34KeyBlock')
55
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
56
+ Key = Shapes::StructureShape.new(name: 'Key')
57
+ KeyAlgorithm = Shapes::StringShape.new(name: 'KeyAlgorithm')
58
+ KeyArn = Shapes::StringShape.new(name: 'KeyArn')
59
+ KeyArnOrKeyAliasType = Shapes::StringShape.new(name: 'KeyArnOrKeyAliasType')
60
+ KeyAttributes = Shapes::StructureShape.new(name: 'KeyAttributes')
61
+ KeyCheckValue = Shapes::StringShape.new(name: 'KeyCheckValue')
62
+ KeyCheckValueAlgorithm = Shapes::StringShape.new(name: 'KeyCheckValueAlgorithm')
63
+ KeyClass = Shapes::StringShape.new(name: 'KeyClass')
64
+ KeyMaterial = Shapes::StringShape.new(name: 'KeyMaterial')
65
+ KeyMaterialType = Shapes::StringShape.new(name: 'KeyMaterialType')
66
+ KeyModesOfUse = Shapes::StructureShape.new(name: 'KeyModesOfUse')
67
+ KeyOrigin = Shapes::StringShape.new(name: 'KeyOrigin')
68
+ KeyState = Shapes::StringShape.new(name: 'KeyState')
69
+ KeySummary = Shapes::StructureShape.new(name: 'KeySummary')
70
+ KeySummaryList = Shapes::ListShape.new(name: 'KeySummaryList')
71
+ KeyUsage = Shapes::StringShape.new(name: 'KeyUsage')
72
+ ListAliasesInput = Shapes::StructureShape.new(name: 'ListAliasesInput')
73
+ ListAliasesOutput = Shapes::StructureShape.new(name: 'ListAliasesOutput')
74
+ ListKeysInput = Shapes::StructureShape.new(name: 'ListKeysInput')
75
+ ListKeysOutput = Shapes::StructureShape.new(name: 'ListKeysOutput')
76
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
77
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
78
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
79
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
80
+ PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
81
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
82
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
83
+ RestoreKeyInput = Shapes::StructureShape.new(name: 'RestoreKeyInput')
84
+ RestoreKeyOutput = Shapes::StructureShape.new(name: 'RestoreKeyOutput')
85
+ RootCertificatePublicKey = Shapes::StructureShape.new(name: 'RootCertificatePublicKey')
86
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
87
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
88
+ StartKeyUsageInput = Shapes::StructureShape.new(name: 'StartKeyUsageInput')
89
+ StartKeyUsageOutput = Shapes::StructureShape.new(name: 'StartKeyUsageOutput')
90
+ StopKeyUsageInput = Shapes::StructureShape.new(name: 'StopKeyUsageInput')
91
+ StopKeyUsageOutput = Shapes::StructureShape.new(name: 'StopKeyUsageOutput')
92
+ String = Shapes::StringShape.new(name: 'String')
93
+ Tag = Shapes::StructureShape.new(name: 'Tag')
94
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
95
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
96
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
97
+ TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
98
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
99
+ Tags = Shapes::ListShape.new(name: 'Tags')
100
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
101
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
102
+ Tr31WrappedKeyBlock = Shapes::StringShape.new(name: 'Tr31WrappedKeyBlock')
103
+ Tr34KeyBlockFormat = Shapes::StringShape.new(name: 'Tr34KeyBlockFormat')
104
+ Tr34WrappedKeyBlock = Shapes::StringShape.new(name: 'Tr34WrappedKeyBlock')
105
+ TrustedCertificatePublicKey = Shapes::StructureShape.new(name: 'TrustedCertificatePublicKey')
106
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
107
+ UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
108
+ UpdateAliasInput = Shapes::StructureShape.new(name: 'UpdateAliasInput')
109
+ UpdateAliasOutput = Shapes::StructureShape.new(name: 'UpdateAliasOutput')
110
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
111
+ WrappedKey = Shapes::StructureShape.new(name: 'WrappedKey')
112
+ WrappedKeyMaterialFormat = Shapes::StringShape.new(name: 'WrappedKeyMaterialFormat')
113
+
114
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
115
+ AccessDeniedException.struct_class = Types::AccessDeniedException
116
+
117
+ Alias.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasName, required: true, location_name: "AliasName"))
118
+ Alias.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, location_name: "KeyArn"))
119
+ Alias.struct_class = Types::Alias
120
+
121
+ Aliases.member = Shapes::ShapeRef.new(shape: Alias)
122
+
123
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
124
+ ConflictException.struct_class = Types::ConflictException
125
+
126
+ CreateAliasInput.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasName, required: true, location_name: "AliasName"))
127
+ CreateAliasInput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, location_name: "KeyArn"))
128
+ CreateAliasInput.struct_class = Types::CreateAliasInput
129
+
130
+ CreateAliasOutput.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Alias"))
131
+ CreateAliasOutput.struct_class = Types::CreateAliasOutput
132
+
133
+ CreateKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
134
+ CreateKeyInput.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
135
+ CreateKeyInput.add_member(:key_attributes, Shapes::ShapeRef.new(shape: KeyAttributes, required: true, location_name: "KeyAttributes"))
136
+ CreateKeyInput.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, location_name: "KeyCheckValueAlgorithm"))
137
+ CreateKeyInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
138
+ CreateKeyInput.struct_class = Types::CreateKeyInput
139
+
140
+ CreateKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
141
+ CreateKeyOutput.struct_class = Types::CreateKeyOutput
142
+
143
+ DeleteAliasInput.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasName, required: true, location_name: "AliasName"))
144
+ DeleteAliasInput.struct_class = Types::DeleteAliasInput
145
+
146
+ DeleteAliasOutput.struct_class = Types::DeleteAliasOutput
147
+
148
+ DeleteKeyInput.add_member(:delete_key_in_days, Shapes::ShapeRef.new(shape: DeleteKeyInputDeleteKeyInDaysInteger, location_name: "DeleteKeyInDays"))
149
+ DeleteKeyInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
150
+ DeleteKeyInput.struct_class = Types::DeleteKeyInput
151
+
152
+ DeleteKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
153
+ DeleteKeyOutput.struct_class = Types::DeleteKeyOutput
154
+
155
+ ExportKeyInput.add_member(:export_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "ExportKeyIdentifier"))
156
+ ExportKeyInput.add_member(:key_material, Shapes::ShapeRef.new(shape: ExportKeyMaterial, required: true, location_name: "KeyMaterial"))
157
+ ExportKeyInput.struct_class = Types::ExportKeyInput
158
+
159
+ ExportKeyMaterial.add_member(:tr_31_key_block, Shapes::ShapeRef.new(shape: ExportTr31KeyBlock, location_name: "Tr31KeyBlock"))
160
+ ExportKeyMaterial.add_member(:tr_34_key_block, Shapes::ShapeRef.new(shape: ExportTr34KeyBlock, location_name: "Tr34KeyBlock"))
161
+ ExportKeyMaterial.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
162
+ ExportKeyMaterial.add_member_subclass(:tr_31_key_block, Types::ExportKeyMaterial::Tr31KeyBlock)
163
+ ExportKeyMaterial.add_member_subclass(:tr_34_key_block, Types::ExportKeyMaterial::Tr34KeyBlock)
164
+ ExportKeyMaterial.add_member_subclass(:unknown, Types::ExportKeyMaterial::Unknown)
165
+ ExportKeyMaterial.struct_class = Types::ExportKeyMaterial
166
+
167
+ ExportKeyOutput.add_member(:wrapped_key, Shapes::ShapeRef.new(shape: WrappedKey, location_name: "WrappedKey"))
168
+ ExportKeyOutput.struct_class = Types::ExportKeyOutput
169
+
170
+ ExportTr31KeyBlock.add_member(:wrapping_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "WrappingKeyIdentifier"))
171
+ ExportTr31KeyBlock.struct_class = Types::ExportTr31KeyBlock
172
+
173
+ ExportTr34KeyBlock.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
174
+ ExportTr34KeyBlock.add_member(:export_token, Shapes::ShapeRef.new(shape: ExportTokenId, required: true, location_name: "ExportToken"))
175
+ ExportTr34KeyBlock.add_member(:key_block_format, Shapes::ShapeRef.new(shape: Tr34KeyBlockFormat, required: true, location_name: "KeyBlockFormat"))
176
+ ExportTr34KeyBlock.add_member(:random_nonce, Shapes::ShapeRef.new(shape: HexLength16, location_name: "RandomNonce"))
177
+ ExportTr34KeyBlock.add_member(:wrapping_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "WrappingKeyCertificate"))
178
+ ExportTr34KeyBlock.struct_class = Types::ExportTr34KeyBlock
179
+
180
+ GetAliasInput.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasName, required: true, location_name: "AliasName"))
181
+ GetAliasInput.struct_class = Types::GetAliasInput
182
+
183
+ GetAliasOutput.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Alias"))
184
+ GetAliasOutput.struct_class = Types::GetAliasOutput
185
+
186
+ GetKeyInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
187
+ GetKeyInput.struct_class = Types::GetKeyInput
188
+
189
+ GetKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
190
+ GetKeyOutput.struct_class = Types::GetKeyOutput
191
+
192
+ GetParametersForExportInput.add_member(:key_material_type, Shapes::ShapeRef.new(shape: KeyMaterialType, required: true, location_name: "KeyMaterialType"))
193
+ GetParametersForExportInput.add_member(:signing_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "SigningKeyAlgorithm"))
194
+ GetParametersForExportInput.struct_class = Types::GetParametersForExportInput
195
+
196
+ GetParametersForExportOutput.add_member(:export_token, Shapes::ShapeRef.new(shape: ExportTokenId, required: true, location_name: "ExportToken"))
197
+ GetParametersForExportOutput.add_member(:parameters_valid_until_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ParametersValidUntilTimestamp"))
198
+ GetParametersForExportOutput.add_member(:signing_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "SigningKeyAlgorithm"))
199
+ GetParametersForExportOutput.add_member(:signing_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "SigningKeyCertificate"))
200
+ GetParametersForExportOutput.add_member(:signing_key_certificate_chain, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "SigningKeyCertificateChain"))
201
+ GetParametersForExportOutput.struct_class = Types::GetParametersForExportOutput
202
+
203
+ GetParametersForImportInput.add_member(:key_material_type, Shapes::ShapeRef.new(shape: KeyMaterialType, required: true, location_name: "KeyMaterialType"))
204
+ GetParametersForImportInput.add_member(:wrapping_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "WrappingKeyAlgorithm"))
205
+ GetParametersForImportInput.struct_class = Types::GetParametersForImportInput
206
+
207
+ GetParametersForImportOutput.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId, required: true, location_name: "ImportToken"))
208
+ GetParametersForImportOutput.add_member(:parameters_valid_until_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ParametersValidUntilTimestamp"))
209
+ GetParametersForImportOutput.add_member(:wrapping_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "WrappingKeyAlgorithm"))
210
+ GetParametersForImportOutput.add_member(:wrapping_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "WrappingKeyCertificate"))
211
+ GetParametersForImportOutput.add_member(:wrapping_key_certificate_chain, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "WrappingKeyCertificateChain"))
212
+ GetParametersForImportOutput.struct_class = Types::GetParametersForImportOutput
213
+
214
+ GetPublicKeyCertificateInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
215
+ GetPublicKeyCertificateInput.struct_class = Types::GetPublicKeyCertificateInput
216
+
217
+ GetPublicKeyCertificateOutput.add_member(:key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "KeyCertificate"))
218
+ GetPublicKeyCertificateOutput.add_member(:key_certificate_chain, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "KeyCertificateChain"))
219
+ GetPublicKeyCertificateOutput.struct_class = Types::GetPublicKeyCertificateOutput
220
+
221
+ ImportKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
222
+ ImportKeyInput.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, location_name: "KeyCheckValueAlgorithm"))
223
+ ImportKeyInput.add_member(:key_material, Shapes::ShapeRef.new(shape: ImportKeyMaterial, required: true, location_name: "KeyMaterial"))
224
+ ImportKeyInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
225
+ ImportKeyInput.struct_class = Types::ImportKeyInput
226
+
227
+ ImportKeyMaterial.add_member(:root_certificate_public_key, Shapes::ShapeRef.new(shape: RootCertificatePublicKey, location_name: "RootCertificatePublicKey"))
228
+ ImportKeyMaterial.add_member(:tr_31_key_block, Shapes::ShapeRef.new(shape: ImportTr31KeyBlock, location_name: "Tr31KeyBlock"))
229
+ ImportKeyMaterial.add_member(:tr_34_key_block, Shapes::ShapeRef.new(shape: ImportTr34KeyBlock, location_name: "Tr34KeyBlock"))
230
+ ImportKeyMaterial.add_member(:trusted_certificate_public_key, Shapes::ShapeRef.new(shape: TrustedCertificatePublicKey, location_name: "TrustedCertificatePublicKey"))
231
+ ImportKeyMaterial.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
232
+ ImportKeyMaterial.add_member_subclass(:root_certificate_public_key, Types::ImportKeyMaterial::RootCertificatePublicKey)
233
+ ImportKeyMaterial.add_member_subclass(:tr_31_key_block, Types::ImportKeyMaterial::Tr31KeyBlock)
234
+ ImportKeyMaterial.add_member_subclass(:tr_34_key_block, Types::ImportKeyMaterial::Tr34KeyBlock)
235
+ ImportKeyMaterial.add_member_subclass(:trusted_certificate_public_key, Types::ImportKeyMaterial::TrustedCertificatePublicKey)
236
+ ImportKeyMaterial.add_member_subclass(:unknown, Types::ImportKeyMaterial::Unknown)
237
+ ImportKeyMaterial.struct_class = Types::ImportKeyMaterial
238
+
239
+ ImportKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
240
+ ImportKeyOutput.struct_class = Types::ImportKeyOutput
241
+
242
+ ImportTr31KeyBlock.add_member(:wrapped_key_block, Shapes::ShapeRef.new(shape: Tr31WrappedKeyBlock, required: true, location_name: "WrappedKeyBlock"))
243
+ ImportTr31KeyBlock.add_member(:wrapping_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "WrappingKeyIdentifier"))
244
+ ImportTr31KeyBlock.struct_class = Types::ImportTr31KeyBlock
245
+
246
+ ImportTr34KeyBlock.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
247
+ ImportTr34KeyBlock.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId, required: true, location_name: "ImportToken"))
248
+ ImportTr34KeyBlock.add_member(:key_block_format, Shapes::ShapeRef.new(shape: Tr34KeyBlockFormat, required: true, location_name: "KeyBlockFormat"))
249
+ ImportTr34KeyBlock.add_member(:random_nonce, Shapes::ShapeRef.new(shape: HexLength16, location_name: "RandomNonce"))
250
+ ImportTr34KeyBlock.add_member(:signing_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "SigningKeyCertificate"))
251
+ ImportTr34KeyBlock.add_member(:wrapped_key_block, Shapes::ShapeRef.new(shape: Tr34WrappedKeyBlock, required: true, location_name: "WrappedKeyBlock"))
252
+ ImportTr34KeyBlock.struct_class = Types::ImportTr34KeyBlock
253
+
254
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
255
+ InternalServerException.struct_class = Types::InternalServerException
256
+
257
+ Key.add_member(:create_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTimestamp"))
258
+ Key.add_member(:delete_pending_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeletePendingTimestamp"))
259
+ Key.add_member(:delete_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeleteTimestamp"))
260
+ Key.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
261
+ Key.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
262
+ Key.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
263
+ Key.add_member(:key_attributes, Shapes::ShapeRef.new(shape: KeyAttributes, required: true, location_name: "KeyAttributes"))
264
+ Key.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
265
+ Key.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, required: true, location_name: "KeyCheckValueAlgorithm"))
266
+ Key.add_member(:key_origin, Shapes::ShapeRef.new(shape: KeyOrigin, required: true, location_name: "KeyOrigin"))
267
+ Key.add_member(:key_state, Shapes::ShapeRef.new(shape: KeyState, required: true, location_name: "KeyState"))
268
+ Key.add_member(:usage_start_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UsageStartTimestamp"))
269
+ Key.add_member(:usage_stop_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UsageStopTimestamp"))
270
+ Key.struct_class = Types::Key
271
+
272
+ KeyAttributes.add_member(:key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "KeyAlgorithm"))
273
+ KeyAttributes.add_member(:key_class, Shapes::ShapeRef.new(shape: KeyClass, required: true, location_name: "KeyClass"))
274
+ KeyAttributes.add_member(:key_modes_of_use, Shapes::ShapeRef.new(shape: KeyModesOfUse, required: true, location_name: "KeyModesOfUse"))
275
+ KeyAttributes.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsage, required: true, location_name: "KeyUsage"))
276
+ KeyAttributes.struct_class = Types::KeyAttributes
277
+
278
+ KeyModesOfUse.add_member(:decrypt, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Decrypt"))
279
+ KeyModesOfUse.add_member(:derive_key, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "DeriveKey"))
280
+ KeyModesOfUse.add_member(:encrypt, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Encrypt"))
281
+ KeyModesOfUse.add_member(:generate, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Generate"))
282
+ KeyModesOfUse.add_member(:no_restrictions, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "NoRestrictions"))
283
+ KeyModesOfUse.add_member(:sign, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Sign"))
284
+ KeyModesOfUse.add_member(:unwrap, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Unwrap"))
285
+ KeyModesOfUse.add_member(:verify, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Verify"))
286
+ KeyModesOfUse.add_member(:wrap, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Wrap"))
287
+ KeyModesOfUse.struct_class = Types::KeyModesOfUse
288
+
289
+ KeySummary.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
290
+ KeySummary.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
291
+ KeySummary.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
292
+ KeySummary.add_member(:key_attributes, Shapes::ShapeRef.new(shape: KeyAttributes, required: true, location_name: "KeyAttributes"))
293
+ KeySummary.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
294
+ KeySummary.add_member(:key_state, Shapes::ShapeRef.new(shape: KeyState, required: true, location_name: "KeyState"))
295
+ KeySummary.struct_class = Types::KeySummary
296
+
297
+ KeySummaryList.member = Shapes::ShapeRef.new(shape: KeySummary)
298
+
299
+ ListAliasesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
300
+ ListAliasesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
301
+ ListAliasesInput.struct_class = Types::ListAliasesInput
302
+
303
+ ListAliasesOutput.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, required: true, location_name: "Aliases"))
304
+ ListAliasesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
305
+ ListAliasesOutput.struct_class = Types::ListAliasesOutput
306
+
307
+ ListKeysInput.add_member(:key_state, Shapes::ShapeRef.new(shape: KeyState, location_name: "KeyState"))
308
+ ListKeysInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
309
+ ListKeysInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
310
+ ListKeysInput.struct_class = Types::ListKeysInput
311
+
312
+ ListKeysOutput.add_member(:keys, Shapes::ShapeRef.new(shape: KeySummaryList, required: true, location_name: "Keys"))
313
+ ListKeysOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
314
+ ListKeysOutput.struct_class = Types::ListKeysOutput
315
+
316
+ ListTagsForResourceInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
317
+ ListTagsForResourceInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
318
+ ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
319
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
320
+
321
+ ListTagsForResourceOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
322
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
323
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
324
+
325
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
326
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
327
+
328
+ RestoreKeyInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
329
+ RestoreKeyInput.struct_class = Types::RestoreKeyInput
330
+
331
+ RestoreKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
332
+ RestoreKeyOutput.struct_class = Types::RestoreKeyOutput
333
+
334
+ RootCertificatePublicKey.add_member(:key_attributes, Shapes::ShapeRef.new(shape: KeyAttributes, required: true, location_name: "KeyAttributes"))
335
+ RootCertificatePublicKey.add_member(:public_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "PublicKeyCertificate"))
336
+ RootCertificatePublicKey.struct_class = Types::RootCertificatePublicKey
337
+
338
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
339
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
340
+
341
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
342
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
343
+
344
+ StartKeyUsageInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
345
+ StartKeyUsageInput.struct_class = Types::StartKeyUsageInput
346
+
347
+ StartKeyUsageOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
348
+ StartKeyUsageOutput.struct_class = Types::StartKeyUsageOutput
349
+
350
+ StopKeyUsageInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
351
+ StopKeyUsageInput.struct_class = Types::StopKeyUsageInput
352
+
353
+ StopKeyUsageOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
354
+ StopKeyUsageOutput.struct_class = Types::StopKeyUsageOutput
355
+
356
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
357
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
358
+ Tag.struct_class = Types::Tag
359
+
360
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
361
+
362
+ TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
363
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
364
+ TagResourceInput.struct_class = Types::TagResourceInput
365
+
366
+ TagResourceOutput.struct_class = Types::TagResourceOutput
367
+
368
+ Tags.member = Shapes::ShapeRef.new(shape: Tag)
369
+
370
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
371
+ ThrottlingException.struct_class = Types::ThrottlingException
372
+
373
+ TrustedCertificatePublicKey.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
374
+ TrustedCertificatePublicKey.add_member(:key_attributes, Shapes::ShapeRef.new(shape: KeyAttributes, required: true, location_name: "KeyAttributes"))
375
+ TrustedCertificatePublicKey.add_member(:public_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "PublicKeyCertificate"))
376
+ TrustedCertificatePublicKey.struct_class = Types::TrustedCertificatePublicKey
377
+
378
+ UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
379
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
380
+ UntagResourceInput.struct_class = Types::UntagResourceInput
381
+
382
+ UntagResourceOutput.struct_class = Types::UntagResourceOutput
383
+
384
+ UpdateAliasInput.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasName, required: true, location_name: "AliasName"))
385
+ UpdateAliasInput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, location_name: "KeyArn"))
386
+ UpdateAliasInput.struct_class = Types::UpdateAliasInput
387
+
388
+ UpdateAliasOutput.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Alias"))
389
+ UpdateAliasOutput.struct_class = Types::UpdateAliasOutput
390
+
391
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
392
+ ValidationException.struct_class = Types::ValidationException
393
+
394
+ WrappedKey.add_member(:key_material, Shapes::ShapeRef.new(shape: KeyMaterial, required: true, location_name: "KeyMaterial"))
395
+ WrappedKey.add_member(:wrapped_key_material_format, Shapes::ShapeRef.new(shape: WrappedKeyMaterialFormat, required: true, location_name: "WrappedKeyMaterialFormat"))
396
+ WrappedKey.add_member(:wrapping_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "WrappingKeyArn"))
397
+ WrappedKey.struct_class = Types::WrappedKey
398
+
399
+
400
+ # @api private
401
+ API = Seahorse::Model::Api.new.tap do |api|
402
+
403
+ api.version = "2021-09-14"
404
+
405
+ api.metadata = {
406
+ "apiVersion" => "2021-09-14",
407
+ "endpointPrefix" => "controlplane.payment-cryptography",
408
+ "jsonVersion" => "1.0",
409
+ "protocol" => "json",
410
+ "serviceFullName" => "Payment Cryptography Control Plane",
411
+ "serviceId" => "Payment Cryptography",
412
+ "signatureVersion" => "v4",
413
+ "signingName" => "payment-cryptography",
414
+ "targetPrefix" => "PaymentCryptographyControlPlane",
415
+ "uid" => "payment-cryptography-2021-09-14",
416
+ }
417
+
418
+ api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
419
+ o.name = "CreateAlias"
420
+ o.http_method = "POST"
421
+ o.http_request_uri = "/"
422
+ o.input = Shapes::ShapeRef.new(shape: CreateAliasInput)
423
+ o.output = Shapes::ShapeRef.new(shape: CreateAliasOutput)
424
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
425
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
426
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
427
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
428
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
429
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
430
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
431
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
432
+ end)
433
+
434
+ api.add_operation(:create_key, Seahorse::Model::Operation.new.tap do |o|
435
+ o.name = "CreateKey"
436
+ o.http_method = "POST"
437
+ o.http_request_uri = "/"
438
+ o.input = Shapes::ShapeRef.new(shape: CreateKeyInput)
439
+ o.output = Shapes::ShapeRef.new(shape: CreateKeyOutput)
440
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
441
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
442
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
443
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
444
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
445
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
446
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
447
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
448
+ end)
449
+
450
+ api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
451
+ o.name = "DeleteAlias"
452
+ o.http_method = "POST"
453
+ o.http_request_uri = "/"
454
+ o.input = Shapes::ShapeRef.new(shape: DeleteAliasInput)
455
+ o.output = Shapes::ShapeRef.new(shape: DeleteAliasOutput)
456
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
457
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
458
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
459
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
460
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
461
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
462
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
463
+ end)
464
+
465
+ api.add_operation(:delete_key, Seahorse::Model::Operation.new.tap do |o|
466
+ o.name = "DeleteKey"
467
+ o.http_method = "POST"
468
+ o.http_request_uri = "/"
469
+ o.input = Shapes::ShapeRef.new(shape: DeleteKeyInput)
470
+ o.output = Shapes::ShapeRef.new(shape: DeleteKeyOutput)
471
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
472
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
473
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
474
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
475
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
476
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
477
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
478
+ end)
479
+
480
+ api.add_operation(:export_key, Seahorse::Model::Operation.new.tap do |o|
481
+ o.name = "ExportKey"
482
+ o.http_method = "POST"
483
+ o.http_request_uri = "/"
484
+ o.input = Shapes::ShapeRef.new(shape: ExportKeyInput)
485
+ o.output = Shapes::ShapeRef.new(shape: ExportKeyOutput)
486
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
487
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
488
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
489
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
490
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
491
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
492
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
493
+ end)
494
+
495
+ api.add_operation(:get_alias, Seahorse::Model::Operation.new.tap do |o|
496
+ o.name = "GetAlias"
497
+ o.http_method = "POST"
498
+ o.http_request_uri = "/"
499
+ o.input = Shapes::ShapeRef.new(shape: GetAliasInput)
500
+ o.output = Shapes::ShapeRef.new(shape: GetAliasOutput)
501
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
502
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
503
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
504
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
505
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
506
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
507
+ end)
508
+
509
+ api.add_operation(:get_key, Seahorse::Model::Operation.new.tap do |o|
510
+ o.name = "GetKey"
511
+ o.http_method = "POST"
512
+ o.http_request_uri = "/"
513
+ o.input = Shapes::ShapeRef.new(shape: GetKeyInput)
514
+ o.output = Shapes::ShapeRef.new(shape: GetKeyOutput)
515
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
516
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
517
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
518
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
519
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
520
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
521
+ end)
522
+
523
+ api.add_operation(:get_parameters_for_export, Seahorse::Model::Operation.new.tap do |o|
524
+ o.name = "GetParametersForExport"
525
+ o.http_method = "POST"
526
+ o.http_request_uri = "/"
527
+ o.input = Shapes::ShapeRef.new(shape: GetParametersForExportInput)
528
+ o.output = Shapes::ShapeRef.new(shape: GetParametersForExportOutput)
529
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
530
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
531
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
532
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
533
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
534
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
535
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
536
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
537
+ end)
538
+
539
+ api.add_operation(:get_parameters_for_import, Seahorse::Model::Operation.new.tap do |o|
540
+ o.name = "GetParametersForImport"
541
+ o.http_method = "POST"
542
+ o.http_request_uri = "/"
543
+ o.input = Shapes::ShapeRef.new(shape: GetParametersForImportInput)
544
+ o.output = Shapes::ShapeRef.new(shape: GetParametersForImportOutput)
545
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
546
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
547
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
548
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
549
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
550
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
551
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
552
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
553
+ end)
554
+
555
+ api.add_operation(:get_public_key_certificate, Seahorse::Model::Operation.new.tap do |o|
556
+ o.name = "GetPublicKeyCertificate"
557
+ o.http_method = "POST"
558
+ o.http_request_uri = "/"
559
+ o.input = Shapes::ShapeRef.new(shape: GetPublicKeyCertificateInput)
560
+ o.output = Shapes::ShapeRef.new(shape: GetPublicKeyCertificateOutput)
561
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
562
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
563
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
564
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
565
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
566
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
567
+ end)
568
+
569
+ api.add_operation(:import_key, Seahorse::Model::Operation.new.tap do |o|
570
+ o.name = "ImportKey"
571
+ o.http_method = "POST"
572
+ o.http_request_uri = "/"
573
+ o.input = Shapes::ShapeRef.new(shape: ImportKeyInput)
574
+ o.output = Shapes::ShapeRef.new(shape: ImportKeyOutput)
575
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
576
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
577
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
578
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
579
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
580
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
581
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
582
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
583
+ end)
584
+
585
+ api.add_operation(:list_aliases, Seahorse::Model::Operation.new.tap do |o|
586
+ o.name = "ListAliases"
587
+ o.http_method = "POST"
588
+ o.http_request_uri = "/"
589
+ o.input = Shapes::ShapeRef.new(shape: ListAliasesInput)
590
+ o.output = Shapes::ShapeRef.new(shape: ListAliasesOutput)
591
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
592
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
593
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
594
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
595
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
596
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
597
+ o[:pager] = Aws::Pager.new(
598
+ limit_key: "max_results",
599
+ tokens: {
600
+ "next_token" => "next_token"
601
+ }
602
+ )
603
+ end)
604
+
605
+ api.add_operation(:list_keys, Seahorse::Model::Operation.new.tap do |o|
606
+ o.name = "ListKeys"
607
+ o.http_method = "POST"
608
+ o.http_request_uri = "/"
609
+ o.input = Shapes::ShapeRef.new(shape: ListKeysInput)
610
+ o.output = Shapes::ShapeRef.new(shape: ListKeysOutput)
611
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
613
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
614
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
615
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
616
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
617
+ o[:pager] = Aws::Pager.new(
618
+ limit_key: "max_results",
619
+ tokens: {
620
+ "next_token" => "next_token"
621
+ }
622
+ )
623
+ end)
624
+
625
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
626
+ o.name = "ListTagsForResource"
627
+ o.http_method = "POST"
628
+ o.http_request_uri = "/"
629
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
630
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
631
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
632
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
633
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
634
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
635
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
636
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
637
+ o[:pager] = Aws::Pager.new(
638
+ limit_key: "max_results",
639
+ tokens: {
640
+ "next_token" => "next_token"
641
+ }
642
+ )
643
+ end)
644
+
645
+ api.add_operation(:restore_key, Seahorse::Model::Operation.new.tap do |o|
646
+ o.name = "RestoreKey"
647
+ o.http_method = "POST"
648
+ o.http_request_uri = "/"
649
+ o.input = Shapes::ShapeRef.new(shape: RestoreKeyInput)
650
+ o.output = Shapes::ShapeRef.new(shape: RestoreKeyOutput)
651
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
652
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
653
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
654
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
655
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
656
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
657
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
658
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
659
+ end)
660
+
661
+ api.add_operation(:start_key_usage, Seahorse::Model::Operation.new.tap do |o|
662
+ o.name = "StartKeyUsage"
663
+ o.http_method = "POST"
664
+ o.http_request_uri = "/"
665
+ o.input = Shapes::ShapeRef.new(shape: StartKeyUsageInput)
666
+ o.output = Shapes::ShapeRef.new(shape: StartKeyUsageOutput)
667
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
669
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
670
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
671
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
672
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
673
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
674
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
675
+ end)
676
+
677
+ api.add_operation(:stop_key_usage, Seahorse::Model::Operation.new.tap do |o|
678
+ o.name = "StopKeyUsage"
679
+ o.http_method = "POST"
680
+ o.http_request_uri = "/"
681
+ o.input = Shapes::ShapeRef.new(shape: StopKeyUsageInput)
682
+ o.output = Shapes::ShapeRef.new(shape: StopKeyUsageOutput)
683
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
684
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
685
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
686
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
687
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
688
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
689
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
690
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
691
+ end)
692
+
693
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
694
+ o.name = "TagResource"
695
+ o.http_method = "POST"
696
+ o.http_request_uri = "/"
697
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
698
+ o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
699
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
700
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
701
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
702
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
703
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
704
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
705
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
706
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
707
+ end)
708
+
709
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
710
+ o.name = "UntagResource"
711
+ o.http_method = "POST"
712
+ o.http_request_uri = "/"
713
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
714
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
715
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
716
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
718
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
719
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
721
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
722
+ end)
723
+
724
+ api.add_operation(:update_alias, Seahorse::Model::Operation.new.tap do |o|
725
+ o.name = "UpdateAlias"
726
+ o.http_method = "POST"
727
+ o.http_request_uri = "/"
728
+ o.input = Shapes::ShapeRef.new(shape: UpdateAliasInput)
729
+ o.output = Shapes::ShapeRef.new(shape: UpdateAliasOutput)
730
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
731
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
732
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
733
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
734
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
735
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
736
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
737
+ end)
738
+ end
739
+
740
+ end
741
+ end