aws-sdk-paymentcryptography 1.10.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-paymentcryptography/client.rb +574 -376
- data/lib/aws-sdk-paymentcryptography/client_api.rb +67 -50
- data/lib/aws-sdk-paymentcryptography/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-paymentcryptography/types.rb +380 -288
- data/lib/aws-sdk-paymentcryptography/waiters.rb +15 -0
- data/lib/aws-sdk-paymentcryptography.rb +2 -1
- data/sig/client.rbs +465 -0
- data/sig/errors.rbs +40 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +467 -0
- data/sig/waiters.rbs +13 -0
- metadata +10 -4
@@ -63,9 +63,11 @@ module Aws::PaymentCryptography
|
|
63
63
|
KeyArn = Shapes::StringShape.new(name: 'KeyArn')
|
64
64
|
KeyArnOrKeyAliasType = Shapes::StringShape.new(name: 'KeyArnOrKeyAliasType')
|
65
65
|
KeyAttributes = Shapes::StructureShape.new(name: 'KeyAttributes')
|
66
|
+
KeyBlockHeaders = Shapes::StructureShape.new(name: 'KeyBlockHeaders')
|
66
67
|
KeyCheckValue = Shapes::StringShape.new(name: 'KeyCheckValue')
|
67
68
|
KeyCheckValueAlgorithm = Shapes::StringShape.new(name: 'KeyCheckValueAlgorithm')
|
68
69
|
KeyClass = Shapes::StringShape.new(name: 'KeyClass')
|
70
|
+
KeyExportability = Shapes::StringShape.new(name: 'KeyExportability')
|
69
71
|
KeyMaterial = Shapes::StringShape.new(name: 'KeyMaterial')
|
70
72
|
KeyMaterialType = Shapes::StringShape.new(name: 'KeyMaterialType')
|
71
73
|
KeyModesOfUse = Shapes::StructureShape.new(name: 'KeyModesOfUse')
|
@@ -74,6 +76,7 @@ module Aws::PaymentCryptography
|
|
74
76
|
KeySummary = Shapes::StructureShape.new(name: 'KeySummary')
|
75
77
|
KeySummaryList = Shapes::ListShape.new(name: 'KeySummaryList')
|
76
78
|
KeyUsage = Shapes::StringShape.new(name: 'KeyUsage')
|
79
|
+
KeyVersion = Shapes::StringShape.new(name: 'KeyVersion')
|
77
80
|
ListAliasesInput = Shapes::StructureShape.new(name: 'ListAliasesInput')
|
78
81
|
ListAliasesOutput = Shapes::StructureShape.new(name: 'ListAliasesOutput')
|
79
82
|
ListKeysInput = Shapes::StructureShape.new(name: 'ListKeysInput')
|
@@ -82,6 +85,9 @@ module Aws::PaymentCryptography
|
|
82
85
|
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
83
86
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
84
87
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
88
|
+
OptionalBlockId = Shapes::StringShape.new(name: 'OptionalBlockId')
|
89
|
+
OptionalBlockValue = Shapes::StringShape.new(name: 'OptionalBlockValue')
|
90
|
+
OptionalBlocks = Shapes::MapShape.new(name: 'OptionalBlocks')
|
85
91
|
PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
|
86
92
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
87
93
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -137,10 +143,10 @@ module Aws::PaymentCryptography
|
|
137
143
|
CreateAliasOutput.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Alias"))
|
138
144
|
CreateAliasOutput.struct_class = Types::CreateAliasOutput
|
139
145
|
|
140
|
-
CreateKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
141
|
-
CreateKeyInput.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
|
142
146
|
CreateKeyInput.add_member(:key_attributes, Shapes::ShapeRef.new(shape: KeyAttributes, required: true, location_name: "KeyAttributes"))
|
143
147
|
CreateKeyInput.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, location_name: "KeyCheckValueAlgorithm"))
|
148
|
+
CreateKeyInput.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
|
149
|
+
CreateKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
144
150
|
CreateKeyInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
145
151
|
CreateKeyInput.struct_class = Types::CreateKeyInput
|
146
152
|
|
@@ -152,8 +158,8 @@ module Aws::PaymentCryptography
|
|
152
158
|
|
153
159
|
DeleteAliasOutput.struct_class = Types::DeleteAliasOutput
|
154
160
|
|
155
|
-
DeleteKeyInput.add_member(:delete_key_in_days, Shapes::ShapeRef.new(shape: DeleteKeyInputDeleteKeyInDaysInteger, location_name: "DeleteKeyInDays"))
|
156
161
|
DeleteKeyInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
|
162
|
+
DeleteKeyInput.add_member(:delete_key_in_days, Shapes::ShapeRef.new(shape: DeleteKeyInputDeleteKeyInDaysInteger, location_name: "DeleteKeyInDays"))
|
157
163
|
DeleteKeyInput.struct_class = Types::DeleteKeyInput
|
158
164
|
|
159
165
|
DeleteKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
@@ -171,18 +177,18 @@ module Aws::PaymentCryptography
|
|
171
177
|
ExportKeyCryptogram.add_member(:wrapping_spec, Shapes::ShapeRef.new(shape: WrappingKeySpec, location_name: "WrappingSpec"))
|
172
178
|
ExportKeyCryptogram.struct_class = Types::ExportKeyCryptogram
|
173
179
|
|
174
|
-
ExportKeyInput.add_member(:export_attributes, Shapes::ShapeRef.new(shape: ExportAttributes, location_name: "ExportAttributes"))
|
175
|
-
ExportKeyInput.add_member(:export_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "ExportKeyIdentifier"))
|
176
180
|
ExportKeyInput.add_member(:key_material, Shapes::ShapeRef.new(shape: ExportKeyMaterial, required: true, location_name: "KeyMaterial"))
|
181
|
+
ExportKeyInput.add_member(:export_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "ExportKeyIdentifier"))
|
182
|
+
ExportKeyInput.add_member(:export_attributes, Shapes::ShapeRef.new(shape: ExportAttributes, location_name: "ExportAttributes"))
|
177
183
|
ExportKeyInput.struct_class = Types::ExportKeyInput
|
178
184
|
|
179
|
-
ExportKeyMaterial.add_member(:key_cryptogram, Shapes::ShapeRef.new(shape: ExportKeyCryptogram, location_name: "KeyCryptogram"))
|
180
185
|
ExportKeyMaterial.add_member(:tr_31_key_block, Shapes::ShapeRef.new(shape: ExportTr31KeyBlock, location_name: "Tr31KeyBlock"))
|
181
186
|
ExportKeyMaterial.add_member(:tr_34_key_block, Shapes::ShapeRef.new(shape: ExportTr34KeyBlock, location_name: "Tr34KeyBlock"))
|
187
|
+
ExportKeyMaterial.add_member(:key_cryptogram, Shapes::ShapeRef.new(shape: ExportKeyCryptogram, location_name: "KeyCryptogram"))
|
182
188
|
ExportKeyMaterial.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
183
|
-
ExportKeyMaterial.add_member_subclass(:key_cryptogram, Types::ExportKeyMaterial::KeyCryptogram)
|
184
189
|
ExportKeyMaterial.add_member_subclass(:tr_31_key_block, Types::ExportKeyMaterial::Tr31KeyBlock)
|
185
190
|
ExportKeyMaterial.add_member_subclass(:tr_34_key_block, Types::ExportKeyMaterial::Tr34KeyBlock)
|
191
|
+
ExportKeyMaterial.add_member_subclass(:key_cryptogram, Types::ExportKeyMaterial::KeyCryptogram)
|
186
192
|
ExportKeyMaterial.add_member_subclass(:unknown, Types::ExportKeyMaterial::Unknown)
|
187
193
|
ExportKeyMaterial.struct_class = Types::ExportKeyMaterial
|
188
194
|
|
@@ -190,13 +196,15 @@ module Aws::PaymentCryptography
|
|
190
196
|
ExportKeyOutput.struct_class = Types::ExportKeyOutput
|
191
197
|
|
192
198
|
ExportTr31KeyBlock.add_member(:wrapping_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "WrappingKeyIdentifier"))
|
199
|
+
ExportTr31KeyBlock.add_member(:key_block_headers, Shapes::ShapeRef.new(shape: KeyBlockHeaders, location_name: "KeyBlockHeaders"))
|
193
200
|
ExportTr31KeyBlock.struct_class = Types::ExportTr31KeyBlock
|
194
201
|
|
195
202
|
ExportTr34KeyBlock.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
|
203
|
+
ExportTr34KeyBlock.add_member(:wrapping_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "WrappingKeyCertificate"))
|
196
204
|
ExportTr34KeyBlock.add_member(:export_token, Shapes::ShapeRef.new(shape: ExportTokenId, required: true, location_name: "ExportToken"))
|
197
205
|
ExportTr34KeyBlock.add_member(:key_block_format, Shapes::ShapeRef.new(shape: Tr34KeyBlockFormat, required: true, location_name: "KeyBlockFormat"))
|
198
206
|
ExportTr34KeyBlock.add_member(:random_nonce, Shapes::ShapeRef.new(shape: HexLength16, location_name: "RandomNonce"))
|
199
|
-
ExportTr34KeyBlock.add_member(:
|
207
|
+
ExportTr34KeyBlock.add_member(:key_block_headers, Shapes::ShapeRef.new(shape: KeyBlockHeaders, location_name: "KeyBlockHeaders"))
|
200
208
|
ExportTr34KeyBlock.struct_class = Types::ExportTr34KeyBlock
|
201
209
|
|
202
210
|
GetAliasInput.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasName, required: true, location_name: "AliasName"))
|
@@ -215,22 +223,22 @@ module Aws::PaymentCryptography
|
|
215
223
|
GetParametersForExportInput.add_member(:signing_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "SigningKeyAlgorithm"))
|
216
224
|
GetParametersForExportInput.struct_class = Types::GetParametersForExportInput
|
217
225
|
|
218
|
-
GetParametersForExportOutput.add_member(:export_token, Shapes::ShapeRef.new(shape: ExportTokenId, required: true, location_name: "ExportToken"))
|
219
|
-
GetParametersForExportOutput.add_member(:parameters_valid_until_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ParametersValidUntilTimestamp"))
|
220
|
-
GetParametersForExportOutput.add_member(:signing_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "SigningKeyAlgorithm"))
|
221
226
|
GetParametersForExportOutput.add_member(:signing_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "SigningKeyCertificate"))
|
222
227
|
GetParametersForExportOutput.add_member(:signing_key_certificate_chain, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "SigningKeyCertificateChain"))
|
228
|
+
GetParametersForExportOutput.add_member(:signing_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "SigningKeyAlgorithm"))
|
229
|
+
GetParametersForExportOutput.add_member(:export_token, Shapes::ShapeRef.new(shape: ExportTokenId, required: true, location_name: "ExportToken"))
|
230
|
+
GetParametersForExportOutput.add_member(:parameters_valid_until_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ParametersValidUntilTimestamp"))
|
223
231
|
GetParametersForExportOutput.struct_class = Types::GetParametersForExportOutput
|
224
232
|
|
225
233
|
GetParametersForImportInput.add_member(:key_material_type, Shapes::ShapeRef.new(shape: KeyMaterialType, required: true, location_name: "KeyMaterialType"))
|
226
234
|
GetParametersForImportInput.add_member(:wrapping_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "WrappingKeyAlgorithm"))
|
227
235
|
GetParametersForImportInput.struct_class = Types::GetParametersForImportInput
|
228
236
|
|
229
|
-
GetParametersForImportOutput.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId, required: true, location_name: "ImportToken"))
|
230
|
-
GetParametersForImportOutput.add_member(:parameters_valid_until_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ParametersValidUntilTimestamp"))
|
231
|
-
GetParametersForImportOutput.add_member(:wrapping_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "WrappingKeyAlgorithm"))
|
232
237
|
GetParametersForImportOutput.add_member(:wrapping_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "WrappingKeyCertificate"))
|
233
238
|
GetParametersForImportOutput.add_member(:wrapping_key_certificate_chain, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "WrappingKeyCertificateChain"))
|
239
|
+
GetParametersForImportOutput.add_member(:wrapping_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "WrappingKeyAlgorithm"))
|
240
|
+
GetParametersForImportOutput.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId, required: true, location_name: "ImportToken"))
|
241
|
+
GetParametersForImportOutput.add_member(:parameters_valid_until_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ParametersValidUntilTimestamp"))
|
234
242
|
GetParametersForImportOutput.struct_class = Types::GetParametersForImportOutput
|
235
243
|
|
236
244
|
GetPublicKeyCertificateInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
|
@@ -240,95 +248,101 @@ module Aws::PaymentCryptography
|
|
240
248
|
GetPublicKeyCertificateOutput.add_member(:key_certificate_chain, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "KeyCertificateChain"))
|
241
249
|
GetPublicKeyCertificateOutput.struct_class = Types::GetPublicKeyCertificateOutput
|
242
250
|
|
243
|
-
ImportKeyCryptogram.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
|
244
|
-
ImportKeyCryptogram.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId, required: true, location_name: "ImportToken"))
|
245
251
|
ImportKeyCryptogram.add_member(:key_attributes, Shapes::ShapeRef.new(shape: KeyAttributes, required: true, location_name: "KeyAttributes"))
|
252
|
+
ImportKeyCryptogram.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
|
246
253
|
ImportKeyCryptogram.add_member(:wrapped_key_cryptogram, Shapes::ShapeRef.new(shape: WrappedKeyCryptogram, required: true, location_name: "WrappedKeyCryptogram"))
|
254
|
+
ImportKeyCryptogram.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId, required: true, location_name: "ImportToken"))
|
247
255
|
ImportKeyCryptogram.add_member(:wrapping_spec, Shapes::ShapeRef.new(shape: WrappingKeySpec, location_name: "WrappingSpec"))
|
248
256
|
ImportKeyCryptogram.struct_class = Types::ImportKeyCryptogram
|
249
257
|
|
250
|
-
ImportKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
251
|
-
ImportKeyInput.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, location_name: "KeyCheckValueAlgorithm"))
|
252
258
|
ImportKeyInput.add_member(:key_material, Shapes::ShapeRef.new(shape: ImportKeyMaterial, required: true, location_name: "KeyMaterial"))
|
259
|
+
ImportKeyInput.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, location_name: "KeyCheckValueAlgorithm"))
|
260
|
+
ImportKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
253
261
|
ImportKeyInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
254
262
|
ImportKeyInput.struct_class = Types::ImportKeyInput
|
255
263
|
|
256
|
-
ImportKeyMaterial.add_member(:key_cryptogram, Shapes::ShapeRef.new(shape: ImportKeyCryptogram, location_name: "KeyCryptogram"))
|
257
264
|
ImportKeyMaterial.add_member(:root_certificate_public_key, Shapes::ShapeRef.new(shape: RootCertificatePublicKey, location_name: "RootCertificatePublicKey"))
|
265
|
+
ImportKeyMaterial.add_member(:trusted_certificate_public_key, Shapes::ShapeRef.new(shape: TrustedCertificatePublicKey, location_name: "TrustedCertificatePublicKey"))
|
258
266
|
ImportKeyMaterial.add_member(:tr_31_key_block, Shapes::ShapeRef.new(shape: ImportTr31KeyBlock, location_name: "Tr31KeyBlock"))
|
259
267
|
ImportKeyMaterial.add_member(:tr_34_key_block, Shapes::ShapeRef.new(shape: ImportTr34KeyBlock, location_name: "Tr34KeyBlock"))
|
260
|
-
ImportKeyMaterial.add_member(:
|
268
|
+
ImportKeyMaterial.add_member(:key_cryptogram, Shapes::ShapeRef.new(shape: ImportKeyCryptogram, location_name: "KeyCryptogram"))
|
261
269
|
ImportKeyMaterial.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
262
|
-
ImportKeyMaterial.add_member_subclass(:key_cryptogram, Types::ImportKeyMaterial::KeyCryptogram)
|
263
270
|
ImportKeyMaterial.add_member_subclass(:root_certificate_public_key, Types::ImportKeyMaterial::RootCertificatePublicKey)
|
271
|
+
ImportKeyMaterial.add_member_subclass(:trusted_certificate_public_key, Types::ImportKeyMaterial::TrustedCertificatePublicKey)
|
264
272
|
ImportKeyMaterial.add_member_subclass(:tr_31_key_block, Types::ImportKeyMaterial::Tr31KeyBlock)
|
265
273
|
ImportKeyMaterial.add_member_subclass(:tr_34_key_block, Types::ImportKeyMaterial::Tr34KeyBlock)
|
266
|
-
ImportKeyMaterial.add_member_subclass(:
|
274
|
+
ImportKeyMaterial.add_member_subclass(:key_cryptogram, Types::ImportKeyMaterial::KeyCryptogram)
|
267
275
|
ImportKeyMaterial.add_member_subclass(:unknown, Types::ImportKeyMaterial::Unknown)
|
268
276
|
ImportKeyMaterial.struct_class = Types::ImportKeyMaterial
|
269
277
|
|
270
278
|
ImportKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
271
279
|
ImportKeyOutput.struct_class = Types::ImportKeyOutput
|
272
280
|
|
273
|
-
ImportTr31KeyBlock.add_member(:wrapped_key_block, Shapes::ShapeRef.new(shape: Tr31WrappedKeyBlock, required: true, location_name: "WrappedKeyBlock"))
|
274
281
|
ImportTr31KeyBlock.add_member(:wrapping_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "WrappingKeyIdentifier"))
|
282
|
+
ImportTr31KeyBlock.add_member(:wrapped_key_block, Shapes::ShapeRef.new(shape: Tr31WrappedKeyBlock, required: true, location_name: "WrappedKeyBlock"))
|
275
283
|
ImportTr31KeyBlock.struct_class = Types::ImportTr31KeyBlock
|
276
284
|
|
277
285
|
ImportTr34KeyBlock.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
|
286
|
+
ImportTr34KeyBlock.add_member(:signing_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "SigningKeyCertificate"))
|
278
287
|
ImportTr34KeyBlock.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId, required: true, location_name: "ImportToken"))
|
288
|
+
ImportTr34KeyBlock.add_member(:wrapped_key_block, Shapes::ShapeRef.new(shape: Tr34WrappedKeyBlock, required: true, location_name: "WrappedKeyBlock"))
|
279
289
|
ImportTr34KeyBlock.add_member(:key_block_format, Shapes::ShapeRef.new(shape: Tr34KeyBlockFormat, required: true, location_name: "KeyBlockFormat"))
|
280
290
|
ImportTr34KeyBlock.add_member(:random_nonce, Shapes::ShapeRef.new(shape: HexLength16, location_name: "RandomNonce"))
|
281
|
-
ImportTr34KeyBlock.add_member(:signing_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "SigningKeyCertificate"))
|
282
|
-
ImportTr34KeyBlock.add_member(:wrapped_key_block, Shapes::ShapeRef.new(shape: Tr34WrappedKeyBlock, required: true, location_name: "WrappedKeyBlock"))
|
283
291
|
ImportTr34KeyBlock.struct_class = Types::ImportTr34KeyBlock
|
284
292
|
|
285
293
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
286
294
|
InternalServerException.struct_class = Types::InternalServerException
|
287
295
|
|
288
|
-
Key.add_member(:create_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTimestamp"))
|
289
|
-
Key.add_member(:delete_pending_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeletePendingTimestamp"))
|
290
|
-
Key.add_member(:delete_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeleteTimestamp"))
|
291
|
-
Key.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
|
292
|
-
Key.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
|
293
296
|
Key.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
|
294
297
|
Key.add_member(:key_attributes, Shapes::ShapeRef.new(shape: KeyAttributes, required: true, location_name: "KeyAttributes"))
|
295
298
|
Key.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
|
296
299
|
Key.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, required: true, location_name: "KeyCheckValueAlgorithm"))
|
297
|
-
Key.add_member(:
|
300
|
+
Key.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
|
301
|
+
Key.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
|
298
302
|
Key.add_member(:key_state, Shapes::ShapeRef.new(shape: KeyState, required: true, location_name: "KeyState"))
|
303
|
+
Key.add_member(:key_origin, Shapes::ShapeRef.new(shape: KeyOrigin, required: true, location_name: "KeyOrigin"))
|
304
|
+
Key.add_member(:create_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTimestamp"))
|
299
305
|
Key.add_member(:usage_start_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UsageStartTimestamp"))
|
300
306
|
Key.add_member(:usage_stop_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UsageStopTimestamp"))
|
307
|
+
Key.add_member(:delete_pending_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeletePendingTimestamp"))
|
308
|
+
Key.add_member(:delete_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeleteTimestamp"))
|
301
309
|
Key.struct_class = Types::Key
|
302
310
|
|
303
|
-
KeyAttributes.add_member(:
|
311
|
+
KeyAttributes.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsage, required: true, location_name: "KeyUsage"))
|
304
312
|
KeyAttributes.add_member(:key_class, Shapes::ShapeRef.new(shape: KeyClass, required: true, location_name: "KeyClass"))
|
313
|
+
KeyAttributes.add_member(:key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "KeyAlgorithm"))
|
305
314
|
KeyAttributes.add_member(:key_modes_of_use, Shapes::ShapeRef.new(shape: KeyModesOfUse, required: true, location_name: "KeyModesOfUse"))
|
306
|
-
KeyAttributes.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsage, required: true, location_name: "KeyUsage"))
|
307
315
|
KeyAttributes.struct_class = Types::KeyAttributes
|
308
316
|
|
309
|
-
|
310
|
-
|
317
|
+
KeyBlockHeaders.add_member(:key_modes_of_use, Shapes::ShapeRef.new(shape: KeyModesOfUse, location_name: "KeyModesOfUse"))
|
318
|
+
KeyBlockHeaders.add_member(:key_exportability, Shapes::ShapeRef.new(shape: KeyExportability, location_name: "KeyExportability"))
|
319
|
+
KeyBlockHeaders.add_member(:key_version, Shapes::ShapeRef.new(shape: KeyVersion, location_name: "KeyVersion"))
|
320
|
+
KeyBlockHeaders.add_member(:optional_blocks, Shapes::ShapeRef.new(shape: OptionalBlocks, location_name: "OptionalBlocks"))
|
321
|
+
KeyBlockHeaders.struct_class = Types::KeyBlockHeaders
|
322
|
+
|
311
323
|
KeyModesOfUse.add_member(:encrypt, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Encrypt"))
|
324
|
+
KeyModesOfUse.add_member(:decrypt, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Decrypt"))
|
325
|
+
KeyModesOfUse.add_member(:wrap, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Wrap"))
|
326
|
+
KeyModesOfUse.add_member(:unwrap, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Unwrap"))
|
312
327
|
KeyModesOfUse.add_member(:generate, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Generate"))
|
313
|
-
KeyModesOfUse.add_member(:no_restrictions, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "NoRestrictions"))
|
314
328
|
KeyModesOfUse.add_member(:sign, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Sign"))
|
315
|
-
KeyModesOfUse.add_member(:unwrap, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Unwrap"))
|
316
329
|
KeyModesOfUse.add_member(:verify, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "Verify"))
|
317
|
-
KeyModesOfUse.add_member(:
|
330
|
+
KeyModesOfUse.add_member(:derive_key, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "DeriveKey"))
|
331
|
+
KeyModesOfUse.add_member(:no_restrictions, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "NoRestrictions"))
|
318
332
|
KeyModesOfUse.struct_class = Types::KeyModesOfUse
|
319
333
|
|
320
|
-
KeySummary.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
|
321
|
-
KeySummary.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
|
322
334
|
KeySummary.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
|
335
|
+
KeySummary.add_member(:key_state, Shapes::ShapeRef.new(shape: KeyState, required: true, location_name: "KeyState"))
|
323
336
|
KeySummary.add_member(:key_attributes, Shapes::ShapeRef.new(shape: KeyAttributes, required: true, location_name: "KeyAttributes"))
|
324
337
|
KeySummary.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
|
325
|
-
KeySummary.add_member(:
|
338
|
+
KeySummary.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
|
339
|
+
KeySummary.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
|
326
340
|
KeySummary.struct_class = Types::KeySummary
|
327
341
|
|
328
342
|
KeySummaryList.member = Shapes::ShapeRef.new(shape: KeySummary)
|
329
343
|
|
330
|
-
ListAliasesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
331
344
|
ListAliasesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
345
|
+
ListAliasesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
332
346
|
ListAliasesInput.struct_class = Types::ListAliasesInput
|
333
347
|
|
334
348
|
ListAliasesOutput.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, required: true, location_name: "Aliases"))
|
@@ -336,23 +350,26 @@ module Aws::PaymentCryptography
|
|
336
350
|
ListAliasesOutput.struct_class = Types::ListAliasesOutput
|
337
351
|
|
338
352
|
ListKeysInput.add_member(:key_state, Shapes::ShapeRef.new(shape: KeyState, location_name: "KeyState"))
|
339
|
-
ListKeysInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
340
353
|
ListKeysInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
354
|
+
ListKeysInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
341
355
|
ListKeysInput.struct_class = Types::ListKeysInput
|
342
356
|
|
343
357
|
ListKeysOutput.add_member(:keys, Shapes::ShapeRef.new(shape: KeySummaryList, required: true, location_name: "Keys"))
|
344
358
|
ListKeysOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
345
359
|
ListKeysOutput.struct_class = Types::ListKeysOutput
|
346
360
|
|
347
|
-
ListTagsForResourceInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
348
|
-
ListTagsForResourceInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
349
361
|
ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
362
|
+
ListTagsForResourceInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
363
|
+
ListTagsForResourceInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
350
364
|
ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
|
351
365
|
|
352
|
-
ListTagsForResourceOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
353
366
|
ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
367
|
+
ListTagsForResourceOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
354
368
|
ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
|
355
369
|
|
370
|
+
OptionalBlocks.key = Shapes::ShapeRef.new(shape: OptionalBlockId)
|
371
|
+
OptionalBlocks.value = Shapes::ShapeRef.new(shape: OptionalBlockValue)
|
372
|
+
|
356
373
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
|
357
374
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
358
375
|
|
@@ -401,9 +418,9 @@ module Aws::PaymentCryptography
|
|
401
418
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
402
419
|
ThrottlingException.struct_class = Types::ThrottlingException
|
403
420
|
|
404
|
-
TrustedCertificatePublicKey.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
|
405
421
|
TrustedCertificatePublicKey.add_member(:key_attributes, Shapes::ShapeRef.new(shape: KeyAttributes, required: true, location_name: "KeyAttributes"))
|
406
422
|
TrustedCertificatePublicKey.add_member(:public_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "PublicKeyCertificate"))
|
423
|
+
TrustedCertificatePublicKey.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
|
407
424
|
TrustedCertificatePublicKey.struct_class = Types::TrustedCertificatePublicKey
|
408
425
|
|
409
426
|
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
@@ -422,11 +439,11 @@ module Aws::PaymentCryptography
|
|
422
439
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
423
440
|
ValidationException.struct_class = Types::ValidationException
|
424
441
|
|
442
|
+
WrappedKey.add_member(:wrapping_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "WrappingKeyArn"))
|
443
|
+
WrappedKey.add_member(:wrapped_key_material_format, Shapes::ShapeRef.new(shape: WrappedKeyMaterialFormat, required: true, location_name: "WrappedKeyMaterialFormat"))
|
444
|
+
WrappedKey.add_member(:key_material, Shapes::ShapeRef.new(shape: KeyMaterial, required: true, location_name: "KeyMaterial"))
|
425
445
|
WrappedKey.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, location_name: "KeyCheckValue"))
|
426
446
|
WrappedKey.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, location_name: "KeyCheckValueAlgorithm"))
|
427
|
-
WrappedKey.add_member(:key_material, Shapes::ShapeRef.new(shape: KeyMaterial, required: true, location_name: "KeyMaterial"))
|
428
|
-
WrappedKey.add_member(:wrapped_key_material_format, Shapes::ShapeRef.new(shape: WrappedKeyMaterialFormat, required: true, location_name: "WrappedKeyMaterialFormat"))
|
429
|
-
WrappedKey.add_member(:wrapping_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "WrappingKeyArn"))
|
430
447
|
WrappedKey.struct_class = Types::WrappedKey
|
431
448
|
|
432
449
|
|
@@ -14,6 +14,7 @@ module Aws::PaymentCryptography
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::PaymentCryptography::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|