aws-sdk-paymentcryptography 1.40.0 → 1.42.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.
@@ -15,6 +15,8 @@ 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')
@@ -32,6 +34,10 @@ module Aws::PaymentCryptography
32
34
  DeleteKeyOutput = Shapes::StructureShape.new(name: 'DeleteKeyOutput')
33
35
  DeriveKeyUsage = Shapes::StringShape.new(name: 'DeriveKeyUsage')
34
36
  DiffieHellmanDerivationData = Shapes::UnionShape.new(name: 'DiffieHellmanDerivationData')
37
+ DisableDefaultKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'DisableDefaultKeyReplicationRegionsInput')
38
+ DisableDefaultKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'DisableDefaultKeyReplicationRegionsOutput')
39
+ EnableDefaultKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'EnableDefaultKeyReplicationRegionsInput')
40
+ EnableDefaultKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'EnableDefaultKeyReplicationRegionsOutput')
35
41
  EvenHexLengthBetween16And32 = Shapes::StringShape.new(name: 'EvenHexLengthBetween16And32')
36
42
  ExportAttributes = Shapes::StructureShape.new(name: 'ExportAttributes')
37
43
  ExportDiffieHellmanTr31KeyBlock = Shapes::StructureShape.new(name: 'ExportDiffieHellmanTr31KeyBlock')
@@ -45,6 +51,8 @@ module Aws::PaymentCryptography
45
51
  ExportTr34KeyBlock = Shapes::StructureShape.new(name: 'ExportTr34KeyBlock')
46
52
  GetAliasInput = Shapes::StructureShape.new(name: 'GetAliasInput')
47
53
  GetAliasOutput = Shapes::StructureShape.new(name: 'GetAliasOutput')
54
+ GetDefaultKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'GetDefaultKeyReplicationRegionsInput')
55
+ GetDefaultKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'GetDefaultKeyReplicationRegionsOutput')
48
56
  GetKeyInput = Shapes::StructureShape.new(name: 'GetKeyInput')
49
57
  GetKeyOutput = Shapes::StructureShape.new(name: 'GetKeyOutput')
50
58
  GetParametersForExportInput = Shapes::StructureShape.new(name: 'GetParametersForExportInput')
@@ -79,6 +87,7 @@ module Aws::PaymentCryptography
79
87
  KeyMaterialType = Shapes::StringShape.new(name: 'KeyMaterialType')
80
88
  KeyModesOfUse = Shapes::StructureShape.new(name: 'KeyModesOfUse')
81
89
  KeyOrigin = Shapes::StringShape.new(name: 'KeyOrigin')
90
+ KeyReplicationState = Shapes::StringShape.new(name: 'KeyReplicationState')
82
91
  KeyState = Shapes::StringShape.new(name: 'KeyState')
83
92
  KeySummary = Shapes::StructureShape.new(name: 'KeySummary')
84
93
  KeySummaryList = Shapes::ListShape.new(name: 'KeySummaryList')
@@ -91,11 +100,18 @@ module Aws::PaymentCryptography
91
100
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
92
101
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
93
102
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
103
+ MultiRegionKeyType = Shapes::StringShape.new(name: 'MultiRegionKeyType')
94
104
  NextToken = Shapes::StringShape.new(name: 'NextToken')
95
105
  OptionalBlockId = Shapes::StringShape.new(name: 'OptionalBlockId')
96
106
  OptionalBlockValue = Shapes::StringShape.new(name: 'OptionalBlockValue')
97
107
  OptionalBlocks = Shapes::MapShape.new(name: 'OptionalBlocks')
98
108
  PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
109
+ Region = Shapes::StringShape.new(name: 'Region')
110
+ Regions = Shapes::ListShape.new(name: 'Regions')
111
+ RemoveKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'RemoveKeyReplicationRegionsInput')
112
+ RemoveKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'RemoveKeyReplicationRegionsOutput')
113
+ ReplicationStatus = Shapes::MapShape.new(name: 'ReplicationStatus')
114
+ ReplicationStatusType = Shapes::StructureShape.new(name: 'ReplicationStatusType')
99
115
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
100
116
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
101
117
  RestoreKeyInput = Shapes::StructureShape.new(name: 'RestoreKeyInput')
@@ -136,6 +152,13 @@ module Aws::PaymentCryptography
136
152
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
137
153
  AccessDeniedException.struct_class = Types::AccessDeniedException
138
154
 
155
+ AddKeyReplicationRegionsInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
156
+ AddKeyReplicationRegionsInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "ReplicationRegions"))
157
+ AddKeyReplicationRegionsInput.struct_class = Types::AddKeyReplicationRegionsInput
158
+
159
+ AddKeyReplicationRegionsOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
160
+ AddKeyReplicationRegionsOutput.struct_class = Types::AddKeyReplicationRegionsOutput
161
+
139
162
  Alias.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasName, required: true, location_name: "AliasName"))
140
163
  Alias.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, location_name: "KeyArn"))
141
164
  Alias.struct_class = Types::Alias
@@ -158,6 +181,7 @@ module Aws::PaymentCryptography
158
181
  CreateKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
159
182
  CreateKeyInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
160
183
  CreateKeyInput.add_member(:derive_key_usage, Shapes::ShapeRef.new(shape: DeriveKeyUsage, location_name: "DeriveKeyUsage"))
184
+ CreateKeyInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, location_name: "ReplicationRegions"))
161
185
  CreateKeyInput.struct_class = Types::CreateKeyInput
162
186
 
163
187
  CreateKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
@@ -181,6 +205,18 @@ module Aws::PaymentCryptography
181
205
  DiffieHellmanDerivationData.add_member_subclass(:unknown, Types::DiffieHellmanDerivationData::Unknown)
182
206
  DiffieHellmanDerivationData.struct_class = Types::DiffieHellmanDerivationData
183
207
 
208
+ DisableDefaultKeyReplicationRegionsInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "ReplicationRegions"))
209
+ DisableDefaultKeyReplicationRegionsInput.struct_class = Types::DisableDefaultKeyReplicationRegionsInput
210
+
211
+ DisableDefaultKeyReplicationRegionsOutput.add_member(:enabled_replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "EnabledReplicationRegions"))
212
+ DisableDefaultKeyReplicationRegionsOutput.struct_class = Types::DisableDefaultKeyReplicationRegionsOutput
213
+
214
+ EnableDefaultKeyReplicationRegionsInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "ReplicationRegions"))
215
+ EnableDefaultKeyReplicationRegionsInput.struct_class = Types::EnableDefaultKeyReplicationRegionsInput
216
+
217
+ EnableDefaultKeyReplicationRegionsOutput.add_member(:enabled_replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "EnabledReplicationRegions"))
218
+ EnableDefaultKeyReplicationRegionsOutput.struct_class = Types::EnableDefaultKeyReplicationRegionsOutput
219
+
184
220
  ExportAttributes.add_member(:export_dukpt_initial_key, Shapes::ShapeRef.new(shape: ExportDukptInitialKey, location_name: "ExportDukptInitialKey"))
185
221
  ExportAttributes.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, location_name: "KeyCheckValueAlgorithm"))
186
222
  ExportAttributes.struct_class = Types::ExportAttributes
@@ -241,6 +277,11 @@ module Aws::PaymentCryptography
241
277
  GetAliasOutput.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Alias"))
242
278
  GetAliasOutput.struct_class = Types::GetAliasOutput
243
279
 
280
+ GetDefaultKeyReplicationRegionsInput.struct_class = Types::GetDefaultKeyReplicationRegionsInput
281
+
282
+ GetDefaultKeyReplicationRegionsOutput.add_member(:enabled_replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "EnabledReplicationRegions"))
283
+ GetDefaultKeyReplicationRegionsOutput.struct_class = Types::GetDefaultKeyReplicationRegionsOutput
284
+
244
285
  GetKeyInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
245
286
  GetKeyInput.struct_class = Types::GetKeyInput
246
287
 
@@ -297,6 +338,7 @@ module Aws::PaymentCryptography
297
338
  ImportKeyInput.add_member(:key_check_value_algorithm, Shapes::ShapeRef.new(shape: KeyCheckValueAlgorithm, location_name: "KeyCheckValueAlgorithm"))
298
339
  ImportKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
299
340
  ImportKeyInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
341
+ ImportKeyInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, location_name: "ReplicationRegions"))
300
342
  ImportKeyInput.struct_class = Types::ImportKeyInput
301
343
 
302
344
  ImportKeyMaterial.add_member(:root_certificate_public_key, Shapes::ShapeRef.new(shape: RootCertificatePublicKey, location_name: "RootCertificatePublicKey"))
@@ -347,6 +389,10 @@ module Aws::PaymentCryptography
347
389
  Key.add_member(:delete_pending_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeletePendingTimestamp"))
348
390
  Key.add_member(:delete_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeleteTimestamp"))
349
391
  Key.add_member(:derive_key_usage, Shapes::ShapeRef.new(shape: DeriveKeyUsage, location_name: "DeriveKeyUsage"))
392
+ Key.add_member(:multi_region_key_type, Shapes::ShapeRef.new(shape: MultiRegionKeyType, location_name: "MultiRegionKeyType"))
393
+ Key.add_member(:primary_region, Shapes::ShapeRef.new(shape: Region, location_name: "PrimaryRegion"))
394
+ Key.add_member(:replication_status, Shapes::ShapeRef.new(shape: ReplicationStatus, location_name: "ReplicationStatus"))
395
+ Key.add_member(:using_default_replication_regions, Shapes::ShapeRef.new(shape: Boolean, location_name: "UsingDefaultReplicationRegions"))
350
396
  Key.struct_class = Types::Key
351
397
 
352
398
  KeyAttributes.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsage, required: true, location_name: "KeyUsage"))
@@ -378,6 +424,8 @@ module Aws::PaymentCryptography
378
424
  KeySummary.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
379
425
  KeySummary.add_member(:exportable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Exportable"))
380
426
  KeySummary.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
427
+ KeySummary.add_member(:multi_region_key_type, Shapes::ShapeRef.new(shape: MultiRegionKeyType, location_name: "MultiRegionKeyType"))
428
+ KeySummary.add_member(:primary_region, Shapes::ShapeRef.new(shape: Region, location_name: "PrimaryRegion"))
381
429
  KeySummary.struct_class = Types::KeySummary
382
430
 
383
431
  KeySummaryList.member = Shapes::ShapeRef.new(shape: KeySummary)
@@ -412,6 +460,22 @@ module Aws::PaymentCryptography
412
460
  OptionalBlocks.key = Shapes::ShapeRef.new(shape: OptionalBlockId)
413
461
  OptionalBlocks.value = Shapes::ShapeRef.new(shape: OptionalBlockValue)
414
462
 
463
+ Regions.member = Shapes::ShapeRef.new(shape: Region)
464
+
465
+ RemoveKeyReplicationRegionsInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
466
+ RemoveKeyReplicationRegionsInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "ReplicationRegions"))
467
+ RemoveKeyReplicationRegionsInput.struct_class = Types::RemoveKeyReplicationRegionsInput
468
+
469
+ RemoveKeyReplicationRegionsOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
470
+ RemoveKeyReplicationRegionsOutput.struct_class = Types::RemoveKeyReplicationRegionsOutput
471
+
472
+ ReplicationStatus.key = Shapes::ShapeRef.new(shape: Region)
473
+ ReplicationStatus.value = Shapes::ShapeRef.new(shape: ReplicationStatusType)
474
+
475
+ ReplicationStatusType.add_member(:status, Shapes::ShapeRef.new(shape: KeyReplicationState, required: true, location_name: "Status"))
476
+ ReplicationStatusType.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
477
+ ReplicationStatusType.struct_class = Types::ReplicationStatusType
478
+
415
479
  ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
416
480
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
417
481
 
@@ -509,6 +573,21 @@ module Aws::PaymentCryptography
509
573
  "uid" => "payment-cryptography-2021-09-14",
510
574
  }
511
575
 
576
+ api.add_operation(:add_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
577
+ o.name = "AddKeyReplicationRegions"
578
+ o.http_method = "POST"
579
+ o.http_request_uri = "/"
580
+ o.input = Shapes::ShapeRef.new(shape: AddKeyReplicationRegionsInput)
581
+ o.output = Shapes::ShapeRef.new(shape: AddKeyReplicationRegionsOutput)
582
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
583
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
584
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
585
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
586
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
587
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
588
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
589
+ end)
590
+
512
591
  api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
513
592
  o.name = "CreateAlias"
514
593
  o.http_method = "POST"
@@ -571,6 +650,36 @@ module Aws::PaymentCryptography
571
650
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
572
651
  end)
573
652
 
653
+ api.add_operation(:disable_default_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
654
+ o.name = "DisableDefaultKeyReplicationRegions"
655
+ o.http_method = "POST"
656
+ o.http_request_uri = "/"
657
+ o.input = Shapes::ShapeRef.new(shape: DisableDefaultKeyReplicationRegionsInput)
658
+ o.output = Shapes::ShapeRef.new(shape: DisableDefaultKeyReplicationRegionsOutput)
659
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
660
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
661
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
662
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
663
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
664
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
665
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
666
+ end)
667
+
668
+ api.add_operation(:enable_default_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
669
+ o.name = "EnableDefaultKeyReplicationRegions"
670
+ o.http_method = "POST"
671
+ o.http_request_uri = "/"
672
+ o.input = Shapes::ShapeRef.new(shape: EnableDefaultKeyReplicationRegionsInput)
673
+ o.output = Shapes::ShapeRef.new(shape: EnableDefaultKeyReplicationRegionsOutput)
674
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
675
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
676
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
677
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
678
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
679
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
680
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
681
+ end)
682
+
574
683
  api.add_operation(:export_key, Seahorse::Model::Operation.new.tap do |o|
575
684
  o.name = "ExportKey"
576
685
  o.http_method = "POST"
@@ -600,6 +709,21 @@ module Aws::PaymentCryptography
600
709
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
601
710
  end)
602
711
 
712
+ api.add_operation(:get_default_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
713
+ o.name = "GetDefaultKeyReplicationRegions"
714
+ o.http_method = "POST"
715
+ o.http_request_uri = "/"
716
+ o.input = Shapes::ShapeRef.new(shape: GetDefaultKeyReplicationRegionsInput)
717
+ o.output = Shapes::ShapeRef.new(shape: GetDefaultKeyReplicationRegionsOutput)
718
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
719
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
721
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
722
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
723
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
724
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
725
+ end)
726
+
603
727
  api.add_operation(:get_key, Seahorse::Model::Operation.new.tap do |o|
604
728
  o.name = "GetKey"
605
729
  o.http_method = "POST"
@@ -736,6 +860,21 @@ module Aws::PaymentCryptography
736
860
  )
737
861
  end)
738
862
 
863
+ api.add_operation(:remove_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
864
+ o.name = "RemoveKeyReplicationRegions"
865
+ o.http_method = "POST"
866
+ o.http_request_uri = "/"
867
+ o.input = Shapes::ShapeRef.new(shape: RemoveKeyReplicationRegionsInput)
868
+ o.output = Shapes::ShapeRef.new(shape: RemoveKeyReplicationRegionsOutput)
869
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
870
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
871
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
872
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
873
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
874
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
875
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
876
+ end)
877
+
739
878
  api.add_operation(:restore_key, Seahorse::Model::Operation.new.tap do |o|
740
879
  o.name = "RestoreKey"
741
880
  o.http_method = "POST"