aws-sdk-paymentcryptography 1.41.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-paymentcryptography/client.rb +481 -17
- data/lib/aws-sdk-paymentcryptography/client_api.rb +188 -2
- data/lib/aws-sdk-paymentcryptography/types.rb +472 -18
- data/lib/aws-sdk-paymentcryptography.rb +2 -2
- data/sig/client.rbs +84 -7
- data/sig/types.rbs +106 -15
- metadata +1 -1
@@ -15,10 +15,21 @@ module Aws::PaymentCryptography
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
AddKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'AddKeyReplicationRegionsInput')
|
19
|
+
AddKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'AddKeyReplicationRegionsOutput')
|
18
20
|
Alias = Shapes::StructureShape.new(name: 'Alias')
|
19
21
|
AliasName = Shapes::StringShape.new(name: 'AliasName')
|
20
22
|
Aliases = Shapes::ListShape.new(name: 'Aliases')
|
21
23
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
24
|
+
CertificateSigningRequestType = Shapes::StringShape.new(name: 'CertificateSigningRequestType')
|
25
|
+
CertificateSubjectType = Shapes::StructureShape.new(name: 'CertificateSubjectType')
|
26
|
+
CertificateSubjectTypeCityString = Shapes::StringShape.new(name: 'CertificateSubjectTypeCityString')
|
27
|
+
CertificateSubjectTypeCommonNameString = Shapes::StringShape.new(name: 'CertificateSubjectTypeCommonNameString')
|
28
|
+
CertificateSubjectTypeCountryString = Shapes::StringShape.new(name: 'CertificateSubjectTypeCountryString')
|
29
|
+
CertificateSubjectTypeEmailAddressString = Shapes::StringShape.new(name: 'CertificateSubjectTypeEmailAddressString')
|
30
|
+
CertificateSubjectTypeOrganizationString = Shapes::StringShape.new(name: 'CertificateSubjectTypeOrganizationString')
|
31
|
+
CertificateSubjectTypeOrganizationUnitString = Shapes::StringShape.new(name: 'CertificateSubjectTypeOrganizationUnitString')
|
32
|
+
CertificateSubjectTypeStateOrProvinceString = Shapes::StringShape.new(name: 'CertificateSubjectTypeStateOrProvinceString')
|
22
33
|
CertificateType = Shapes::StringShape.new(name: 'CertificateType')
|
23
34
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
24
35
|
CreateAliasInput = Shapes::StructureShape.new(name: 'CreateAliasInput')
|
@@ -32,6 +43,10 @@ module Aws::PaymentCryptography
|
|
32
43
|
DeleteKeyOutput = Shapes::StructureShape.new(name: 'DeleteKeyOutput')
|
33
44
|
DeriveKeyUsage = Shapes::StringShape.new(name: 'DeriveKeyUsage')
|
34
45
|
DiffieHellmanDerivationData = Shapes::UnionShape.new(name: 'DiffieHellmanDerivationData')
|
46
|
+
DisableDefaultKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'DisableDefaultKeyReplicationRegionsInput')
|
47
|
+
DisableDefaultKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'DisableDefaultKeyReplicationRegionsOutput')
|
48
|
+
EnableDefaultKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'EnableDefaultKeyReplicationRegionsInput')
|
49
|
+
EnableDefaultKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'EnableDefaultKeyReplicationRegionsOutput')
|
35
50
|
EvenHexLengthBetween16And32 = Shapes::StringShape.new(name: 'EvenHexLengthBetween16And32')
|
36
51
|
ExportAttributes = Shapes::StructureShape.new(name: 'ExportAttributes')
|
37
52
|
ExportDiffieHellmanTr31KeyBlock = Shapes::StructureShape.new(name: 'ExportDiffieHellmanTr31KeyBlock')
|
@@ -45,6 +60,10 @@ module Aws::PaymentCryptography
|
|
45
60
|
ExportTr34KeyBlock = Shapes::StructureShape.new(name: 'ExportTr34KeyBlock')
|
46
61
|
GetAliasInput = Shapes::StructureShape.new(name: 'GetAliasInput')
|
47
62
|
GetAliasOutput = Shapes::StructureShape.new(name: 'GetAliasOutput')
|
63
|
+
GetCertificateSigningRequestInput = Shapes::StructureShape.new(name: 'GetCertificateSigningRequestInput')
|
64
|
+
GetCertificateSigningRequestOutput = Shapes::StructureShape.new(name: 'GetCertificateSigningRequestOutput')
|
65
|
+
GetDefaultKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'GetDefaultKeyReplicationRegionsInput')
|
66
|
+
GetDefaultKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'GetDefaultKeyReplicationRegionsOutput')
|
48
67
|
GetKeyInput = Shapes::StructureShape.new(name: 'GetKeyInput')
|
49
68
|
GetKeyOutput = Shapes::StructureShape.new(name: 'GetKeyOutput')
|
50
69
|
GetParametersForExportInput = Shapes::StructureShape.new(name: 'GetParametersForExportInput')
|
@@ -79,6 +98,7 @@ module Aws::PaymentCryptography
|
|
79
98
|
KeyMaterialType = Shapes::StringShape.new(name: 'KeyMaterialType')
|
80
99
|
KeyModesOfUse = Shapes::StructureShape.new(name: 'KeyModesOfUse')
|
81
100
|
KeyOrigin = Shapes::StringShape.new(name: 'KeyOrigin')
|
101
|
+
KeyReplicationState = Shapes::StringShape.new(name: 'KeyReplicationState')
|
82
102
|
KeyState = Shapes::StringShape.new(name: 'KeyState')
|
83
103
|
KeySummary = Shapes::StructureShape.new(name: 'KeySummary')
|
84
104
|
KeySummaryList = Shapes::ListShape.new(name: 'KeySummaryList')
|
@@ -91,11 +111,18 @@ module Aws::PaymentCryptography
|
|
91
111
|
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
92
112
|
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
93
113
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
114
|
+
MultiRegionKeyType = Shapes::StringShape.new(name: 'MultiRegionKeyType')
|
94
115
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
95
116
|
OptionalBlockId = Shapes::StringShape.new(name: 'OptionalBlockId')
|
96
117
|
OptionalBlockValue = Shapes::StringShape.new(name: 'OptionalBlockValue')
|
97
118
|
OptionalBlocks = Shapes::MapShape.new(name: 'OptionalBlocks')
|
98
119
|
PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
|
120
|
+
Region = Shapes::StringShape.new(name: 'Region')
|
121
|
+
Regions = Shapes::ListShape.new(name: 'Regions')
|
122
|
+
RemoveKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'RemoveKeyReplicationRegionsInput')
|
123
|
+
RemoveKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'RemoveKeyReplicationRegionsOutput')
|
124
|
+
ReplicationStatus = Shapes::MapShape.new(name: 'ReplicationStatus')
|
125
|
+
ReplicationStatusType = Shapes::StructureShape.new(name: 'ReplicationStatusType')
|
99
126
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
100
127
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
101
128
|
RestoreKeyInput = Shapes::StructureShape.new(name: 'RestoreKeyInput')
|
@@ -104,6 +131,7 @@ module Aws::PaymentCryptography
|
|
104
131
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
105
132
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
106
133
|
SharedInformation = Shapes::StringShape.new(name: 'SharedInformation')
|
134
|
+
SigningAlgorithmType = Shapes::StringShape.new(name: 'SigningAlgorithmType')
|
107
135
|
StartKeyUsageInput = Shapes::StructureShape.new(name: 'StartKeyUsageInput')
|
108
136
|
StartKeyUsageOutput = Shapes::StructureShape.new(name: 'StartKeyUsageOutput')
|
109
137
|
StopKeyUsageInput = Shapes::StructureShape.new(name: 'StopKeyUsageInput')
|
@@ -136,12 +164,28 @@ module Aws::PaymentCryptography
|
|
136
164
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
137
165
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
138
166
|
|
167
|
+
AddKeyReplicationRegionsInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
|
168
|
+
AddKeyReplicationRegionsInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "ReplicationRegions"))
|
169
|
+
AddKeyReplicationRegionsInput.struct_class = Types::AddKeyReplicationRegionsInput
|
170
|
+
|
171
|
+
AddKeyReplicationRegionsOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
172
|
+
AddKeyReplicationRegionsOutput.struct_class = Types::AddKeyReplicationRegionsOutput
|
173
|
+
|
139
174
|
Alias.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasName, required: true, location_name: "AliasName"))
|
140
175
|
Alias.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, location_name: "KeyArn"))
|
141
176
|
Alias.struct_class = Types::Alias
|
142
177
|
|
143
178
|
Aliases.member = Shapes::ShapeRef.new(shape: Alias)
|
144
179
|
|
180
|
+
CertificateSubjectType.add_member(:common_name, Shapes::ShapeRef.new(shape: CertificateSubjectTypeCommonNameString, required: true, location_name: "CommonName"))
|
181
|
+
CertificateSubjectType.add_member(:organization_unit, Shapes::ShapeRef.new(shape: CertificateSubjectTypeOrganizationUnitString, location_name: "OrganizationUnit"))
|
182
|
+
CertificateSubjectType.add_member(:organization, Shapes::ShapeRef.new(shape: CertificateSubjectTypeOrganizationString, location_name: "Organization"))
|
183
|
+
CertificateSubjectType.add_member(:city, Shapes::ShapeRef.new(shape: CertificateSubjectTypeCityString, location_name: "City"))
|
184
|
+
CertificateSubjectType.add_member(:country, Shapes::ShapeRef.new(shape: CertificateSubjectTypeCountryString, location_name: "Country"))
|
185
|
+
CertificateSubjectType.add_member(:state_or_province, Shapes::ShapeRef.new(shape: CertificateSubjectTypeStateOrProvinceString, location_name: "StateOrProvince"))
|
186
|
+
CertificateSubjectType.add_member(:email_address, Shapes::ShapeRef.new(shape: CertificateSubjectTypeEmailAddressString, location_name: "EmailAddress"))
|
187
|
+
CertificateSubjectType.struct_class = Types::CertificateSubjectType
|
188
|
+
|
145
189
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
146
190
|
ConflictException.struct_class = Types::ConflictException
|
147
191
|
|
@@ -158,6 +202,7 @@ module Aws::PaymentCryptography
|
|
158
202
|
CreateKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
159
203
|
CreateKeyInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
160
204
|
CreateKeyInput.add_member(:derive_key_usage, Shapes::ShapeRef.new(shape: DeriveKeyUsage, location_name: "DeriveKeyUsage"))
|
205
|
+
CreateKeyInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, location_name: "ReplicationRegions"))
|
161
206
|
CreateKeyInput.struct_class = Types::CreateKeyInput
|
162
207
|
|
163
208
|
CreateKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
@@ -181,6 +226,18 @@ module Aws::PaymentCryptography
|
|
181
226
|
DiffieHellmanDerivationData.add_member_subclass(:unknown, Types::DiffieHellmanDerivationData::Unknown)
|
182
227
|
DiffieHellmanDerivationData.struct_class = Types::DiffieHellmanDerivationData
|
183
228
|
|
229
|
+
DisableDefaultKeyReplicationRegionsInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "ReplicationRegions"))
|
230
|
+
DisableDefaultKeyReplicationRegionsInput.struct_class = Types::DisableDefaultKeyReplicationRegionsInput
|
231
|
+
|
232
|
+
DisableDefaultKeyReplicationRegionsOutput.add_member(:enabled_replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "EnabledReplicationRegions"))
|
233
|
+
DisableDefaultKeyReplicationRegionsOutput.struct_class = Types::DisableDefaultKeyReplicationRegionsOutput
|
234
|
+
|
235
|
+
EnableDefaultKeyReplicationRegionsInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "ReplicationRegions"))
|
236
|
+
EnableDefaultKeyReplicationRegionsInput.struct_class = Types::EnableDefaultKeyReplicationRegionsInput
|
237
|
+
|
238
|
+
EnableDefaultKeyReplicationRegionsOutput.add_member(:enabled_replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "EnabledReplicationRegions"))
|
239
|
+
EnableDefaultKeyReplicationRegionsOutput.struct_class = Types::EnableDefaultKeyReplicationRegionsOutput
|
240
|
+
|
184
241
|
ExportAttributes.add_member(:export_dukpt_initial_key, Shapes::ShapeRef.new(shape: ExportDukptInitialKey, location_name: "ExportDukptInitialKey"))
|
185
242
|
ExportAttributes.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, location_name: "KeyCheckValueAlgorithm"))
|
186
243
|
ExportAttributes.struct_class = Types::ExportAttributes
|
@@ -229,7 +286,9 @@ module Aws::PaymentCryptography
|
|
229
286
|
|
230
287
|
ExportTr34KeyBlock.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
|
231
288
|
ExportTr34KeyBlock.add_member(:wrapping_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "WrappingKeyCertificate"))
|
232
|
-
ExportTr34KeyBlock.add_member(:export_token, Shapes::ShapeRef.new(shape: ExportTokenId,
|
289
|
+
ExportTr34KeyBlock.add_member(:export_token, Shapes::ShapeRef.new(shape: ExportTokenId, location_name: "ExportToken"))
|
290
|
+
ExportTr34KeyBlock.add_member(:signing_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, location_name: "SigningKeyIdentifier"))
|
291
|
+
ExportTr34KeyBlock.add_member(:signing_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, location_name: "SigningKeyCertificate"))
|
233
292
|
ExportTr34KeyBlock.add_member(:key_block_format, Shapes::ShapeRef.new(shape: Tr34KeyBlockFormat, required: true, location_name: "KeyBlockFormat"))
|
234
293
|
ExportTr34KeyBlock.add_member(:random_nonce, Shapes::ShapeRef.new(shape: EvenHexLengthBetween16And32, location_name: "RandomNonce"))
|
235
294
|
ExportTr34KeyBlock.add_member(:key_block_headers, Shapes::ShapeRef.new(shape: KeyBlockHeaders, location_name: "KeyBlockHeaders"))
|
@@ -241,6 +300,19 @@ module Aws::PaymentCryptography
|
|
241
300
|
GetAliasOutput.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Alias"))
|
242
301
|
GetAliasOutput.struct_class = Types::GetAliasOutput
|
243
302
|
|
303
|
+
GetCertificateSigningRequestInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
|
304
|
+
GetCertificateSigningRequestInput.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmType, required: true, location_name: "SigningAlgorithm"))
|
305
|
+
GetCertificateSigningRequestInput.add_member(:certificate_subject, Shapes::ShapeRef.new(shape: CertificateSubjectType, required: true, location_name: "CertificateSubject"))
|
306
|
+
GetCertificateSigningRequestInput.struct_class = Types::GetCertificateSigningRequestInput
|
307
|
+
|
308
|
+
GetCertificateSigningRequestOutput.add_member(:certificate_signing_request, Shapes::ShapeRef.new(shape: CertificateSigningRequestType, required: true, location_name: "CertificateSigningRequest"))
|
309
|
+
GetCertificateSigningRequestOutput.struct_class = Types::GetCertificateSigningRequestOutput
|
310
|
+
|
311
|
+
GetDefaultKeyReplicationRegionsInput.struct_class = Types::GetDefaultKeyReplicationRegionsInput
|
312
|
+
|
313
|
+
GetDefaultKeyReplicationRegionsOutput.add_member(:enabled_replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "EnabledReplicationRegions"))
|
314
|
+
GetDefaultKeyReplicationRegionsOutput.struct_class = Types::GetDefaultKeyReplicationRegionsOutput
|
315
|
+
|
244
316
|
GetKeyInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
|
245
317
|
GetKeyInput.struct_class = Types::GetKeyInput
|
246
318
|
|
@@ -297,6 +369,7 @@ module Aws::PaymentCryptography
|
|
297
369
|
ImportKeyInput.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, location_name: "KeyCheckValueAlgorithm"))
|
298
370
|
ImportKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
299
371
|
ImportKeyInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
372
|
+
ImportKeyInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, location_name: "ReplicationRegions"))
|
300
373
|
ImportKeyInput.struct_class = Types::ImportKeyInput
|
301
374
|
|
302
375
|
ImportKeyMaterial.add_member(:root_certificate_public_key, Shapes::ShapeRef.new(shape: RootCertificatePublicKey, location_name: "RootCertificatePublicKey"))
|
@@ -324,7 +397,9 @@ module Aws::PaymentCryptography
|
|
324
397
|
|
325
398
|
ImportTr34KeyBlock.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
|
326
399
|
ImportTr34KeyBlock.add_member(:signing_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "SigningKeyCertificate"))
|
327
|
-
ImportTr34KeyBlock.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId,
|
400
|
+
ImportTr34KeyBlock.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId, location_name: "ImportToken"))
|
401
|
+
ImportTr34KeyBlock.add_member(:wrapping_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, location_name: "WrappingKeyIdentifier"))
|
402
|
+
ImportTr34KeyBlock.add_member(:wrapping_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, location_name: "WrappingKeyCertificate"))
|
328
403
|
ImportTr34KeyBlock.add_member(:wrapped_key_block, Shapes::ShapeRef.new(shape: Tr34WrappedKeyBlock, required: true, location_name: "WrappedKeyBlock"))
|
329
404
|
ImportTr34KeyBlock.add_member(:key_block_format, Shapes::ShapeRef.new(shape: Tr34KeyBlockFormat, required: true, location_name: "KeyBlockFormat"))
|
330
405
|
ImportTr34KeyBlock.add_member(:random_nonce, Shapes::ShapeRef.new(shape: EvenHexLengthBetween16And32, location_name: "RandomNonce"))
|
@@ -347,6 +422,10 @@ module Aws::PaymentCryptography
|
|
347
422
|
Key.add_member(:delete_pending_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeletePendingTimestamp"))
|
348
423
|
Key.add_member(:delete_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeleteTimestamp"))
|
349
424
|
Key.add_member(:derive_key_usage, Shapes::ShapeRef.new(shape: DeriveKeyUsage, location_name: "DeriveKeyUsage"))
|
425
|
+
Key.add_member(:multi_region_key_type, Shapes::ShapeRef.new(shape: MultiRegionKeyType, location_name: "MultiRegionKeyType"))
|
426
|
+
Key.add_member(:primary_region, Shapes::ShapeRef.new(shape: Region, location_name: "PrimaryRegion"))
|
427
|
+
Key.add_member(:replication_status, Shapes::ShapeRef.new(shape: ReplicationStatus, location_name: "ReplicationStatus"))
|
428
|
+
Key.add_member(:using_default_replication_regions, Shapes::ShapeRef.new(shape: Boolean, location_name: "UsingDefaultReplicationRegions"))
|
350
429
|
Key.struct_class = Types::Key
|
351
430
|
|
352
431
|
KeyAttributes.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsage, required: true, location_name: "KeyUsage"))
|
@@ -378,6 +457,8 @@ module Aws::PaymentCryptography
|
|
378
457
|
KeySummary.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
|
379
458
|
KeySummary.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
|
380
459
|
KeySummary.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
|
460
|
+
KeySummary.add_member(:multi_region_key_type, Shapes::ShapeRef.new(shape: MultiRegionKeyType, location_name: "MultiRegionKeyType"))
|
461
|
+
KeySummary.add_member(:primary_region, Shapes::ShapeRef.new(shape: Region, location_name: "PrimaryRegion"))
|
381
462
|
KeySummary.struct_class = Types::KeySummary
|
382
463
|
|
383
464
|
KeySummaryList.member = Shapes::ShapeRef.new(shape: KeySummary)
|
@@ -412,6 +493,22 @@ module Aws::PaymentCryptography
|
|
412
493
|
OptionalBlocks.key = Shapes::ShapeRef.new(shape: OptionalBlockId)
|
413
494
|
OptionalBlocks.value = Shapes::ShapeRef.new(shape: OptionalBlockValue)
|
414
495
|
|
496
|
+
Regions.member = Shapes::ShapeRef.new(shape: Region)
|
497
|
+
|
498
|
+
RemoveKeyReplicationRegionsInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
|
499
|
+
RemoveKeyReplicationRegionsInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "ReplicationRegions"))
|
500
|
+
RemoveKeyReplicationRegionsInput.struct_class = Types::RemoveKeyReplicationRegionsInput
|
501
|
+
|
502
|
+
RemoveKeyReplicationRegionsOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
503
|
+
RemoveKeyReplicationRegionsOutput.struct_class = Types::RemoveKeyReplicationRegionsOutput
|
504
|
+
|
505
|
+
ReplicationStatus.key = Shapes::ShapeRef.new(shape: Region)
|
506
|
+
ReplicationStatus.value = Shapes::ShapeRef.new(shape: ReplicationStatusType)
|
507
|
+
|
508
|
+
ReplicationStatusType.add_member(:status, Shapes::ShapeRef.new(shape: KeyReplicationState, required: true, location_name: "Status"))
|
509
|
+
ReplicationStatusType.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
510
|
+
ReplicationStatusType.struct_class = Types::ReplicationStatusType
|
511
|
+
|
415
512
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
|
416
513
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
417
514
|
|
@@ -509,6 +606,21 @@ module Aws::PaymentCryptography
|
|
509
606
|
"uid" => "payment-cryptography-2021-09-14",
|
510
607
|
}
|
511
608
|
|
609
|
+
api.add_operation(:add_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
|
610
|
+
o.name = "AddKeyReplicationRegions"
|
611
|
+
o.http_method = "POST"
|
612
|
+
o.http_request_uri = "/"
|
613
|
+
o.input = Shapes::ShapeRef.new(shape: AddKeyReplicationRegionsInput)
|
614
|
+
o.output = Shapes::ShapeRef.new(shape: AddKeyReplicationRegionsOutput)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
621
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
622
|
+
end)
|
623
|
+
|
512
624
|
api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
|
513
625
|
o.name = "CreateAlias"
|
514
626
|
o.http_method = "POST"
|
@@ -571,6 +683,36 @@ module Aws::PaymentCryptography
|
|
571
683
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
572
684
|
end)
|
573
685
|
|
686
|
+
api.add_operation(:disable_default_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
|
687
|
+
o.name = "DisableDefaultKeyReplicationRegions"
|
688
|
+
o.http_method = "POST"
|
689
|
+
o.http_request_uri = "/"
|
690
|
+
o.input = Shapes::ShapeRef.new(shape: DisableDefaultKeyReplicationRegionsInput)
|
691
|
+
o.output = Shapes::ShapeRef.new(shape: DisableDefaultKeyReplicationRegionsOutput)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
698
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
699
|
+
end)
|
700
|
+
|
701
|
+
api.add_operation(:enable_default_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
|
702
|
+
o.name = "EnableDefaultKeyReplicationRegions"
|
703
|
+
o.http_method = "POST"
|
704
|
+
o.http_request_uri = "/"
|
705
|
+
o.input = Shapes::ShapeRef.new(shape: EnableDefaultKeyReplicationRegionsInput)
|
706
|
+
o.output = Shapes::ShapeRef.new(shape: EnableDefaultKeyReplicationRegionsOutput)
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
708
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
712
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
713
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
714
|
+
end)
|
715
|
+
|
574
716
|
api.add_operation(:export_key, Seahorse::Model::Operation.new.tap do |o|
|
575
717
|
o.name = "ExportKey"
|
576
718
|
o.http_method = "POST"
|
@@ -600,6 +742,35 @@ module Aws::PaymentCryptography
|
|
600
742
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
601
743
|
end)
|
602
744
|
|
745
|
+
api.add_operation(:get_certificate_signing_request, Seahorse::Model::Operation.new.tap do |o|
|
746
|
+
o.name = "GetCertificateSigningRequest"
|
747
|
+
o.http_method = "POST"
|
748
|
+
o.http_request_uri = "/"
|
749
|
+
o.input = Shapes::ShapeRef.new(shape: GetCertificateSigningRequestInput)
|
750
|
+
o.output = Shapes::ShapeRef.new(shape: GetCertificateSigningRequestOutput)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
757
|
+
end)
|
758
|
+
|
759
|
+
api.add_operation(:get_default_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
|
760
|
+
o.name = "GetDefaultKeyReplicationRegions"
|
761
|
+
o.http_method = "POST"
|
762
|
+
o.http_request_uri = "/"
|
763
|
+
o.input = Shapes::ShapeRef.new(shape: GetDefaultKeyReplicationRegionsInput)
|
764
|
+
o.output = Shapes::ShapeRef.new(shape: GetDefaultKeyReplicationRegionsOutput)
|
765
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
766
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
767
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
768
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
769
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
770
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
771
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
772
|
+
end)
|
773
|
+
|
603
774
|
api.add_operation(:get_key, Seahorse::Model::Operation.new.tap do |o|
|
604
775
|
o.name = "GetKey"
|
605
776
|
o.http_method = "POST"
|
@@ -736,6 +907,21 @@ module Aws::PaymentCryptography
|
|
736
907
|
)
|
737
908
|
end)
|
738
909
|
|
910
|
+
api.add_operation(:remove_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
|
911
|
+
o.name = "RemoveKeyReplicationRegions"
|
912
|
+
o.http_method = "POST"
|
913
|
+
o.http_request_uri = "/"
|
914
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveKeyReplicationRegionsInput)
|
915
|
+
o.output = Shapes::ShapeRef.new(shape: RemoveKeyReplicationRegionsOutput)
|
916
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
917
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
918
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
919
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
920
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
921
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
922
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
923
|
+
end)
|
924
|
+
|
739
925
|
api.add_operation(:restore_key, Seahorse::Model::Operation.new.tap do |o|
|
740
926
|
o.name = "RestoreKey"
|
741
927
|
o.http_method = "POST"
|