aws-sdk-paymentcryptography 1.52.0 → 1.54.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.
@@ -21,6 +21,9 @@ module Aws::PaymentCryptography
21
21
  AliasName = Shapes::StringShape.new(name: 'AliasName')
22
22
  Aliases = Shapes::ListShape.new(name: 'Aliases')
23
23
  As2805KeyVariant = Shapes::StringShape.new(name: 'As2805KeyVariant')
24
+ AssociateMpaTeamInput = Shapes::StructureShape.new(name: 'AssociateMpaTeamInput')
25
+ AssociateMpaTeamOutput = Shapes::StructureShape.new(name: 'AssociateMpaTeamOutput')
26
+ AssociationState = Shapes::StringShape.new(name: 'AssociationState')
24
27
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
25
28
  CertificateSigningRequestType = Shapes::StringShape.new(name: 'CertificateSigningRequestType')
26
29
  CertificateSubjectType = Shapes::StructureShape.new(name: 'CertificateSubjectType')
@@ -42,10 +45,14 @@ module Aws::PaymentCryptography
42
45
  DeleteKeyInput = Shapes::StructureShape.new(name: 'DeleteKeyInput')
43
46
  DeleteKeyInputDeleteKeyInDaysInteger = Shapes::IntegerShape.new(name: 'DeleteKeyInputDeleteKeyInDaysInteger')
44
47
  DeleteKeyOutput = Shapes::StructureShape.new(name: 'DeleteKeyOutput')
48
+ DeleteResourcePolicyInput = Shapes::StructureShape.new(name: 'DeleteResourcePolicyInput')
49
+ DeleteResourcePolicyOutput = Shapes::StructureShape.new(name: 'DeleteResourcePolicyOutput')
45
50
  DeriveKeyUsage = Shapes::StringShape.new(name: 'DeriveKeyUsage')
46
51
  DiffieHellmanDerivationData = Shapes::UnionShape.new(name: 'DiffieHellmanDerivationData')
47
52
  DisableDefaultKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'DisableDefaultKeyReplicationRegionsInput')
48
53
  DisableDefaultKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'DisableDefaultKeyReplicationRegionsOutput')
54
+ DisassociateMpaTeamInput = Shapes::StructureShape.new(name: 'DisassociateMpaTeamInput')
55
+ DisassociateMpaTeamOutput = Shapes::StructureShape.new(name: 'DisassociateMpaTeamOutput')
49
56
  EnableDefaultKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'EnableDefaultKeyReplicationRegionsInput')
50
57
  EnableDefaultKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'EnableDefaultKeyReplicationRegionsOutput')
51
58
  EvenHexLengthBetween16And32 = Shapes::StringShape.new(name: 'EvenHexLengthBetween16And32')
@@ -68,12 +75,16 @@ module Aws::PaymentCryptography
68
75
  GetDefaultKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'GetDefaultKeyReplicationRegionsOutput')
69
76
  GetKeyInput = Shapes::StructureShape.new(name: 'GetKeyInput')
70
77
  GetKeyOutput = Shapes::StructureShape.new(name: 'GetKeyOutput')
78
+ GetMpaTeamAssociationInput = Shapes::StructureShape.new(name: 'GetMpaTeamAssociationInput')
79
+ GetMpaTeamAssociationOutput = Shapes::StructureShape.new(name: 'GetMpaTeamAssociationOutput')
71
80
  GetParametersForExportInput = Shapes::StructureShape.new(name: 'GetParametersForExportInput')
72
81
  GetParametersForExportOutput = Shapes::StructureShape.new(name: 'GetParametersForExportOutput')
73
82
  GetParametersForImportInput = Shapes::StructureShape.new(name: 'GetParametersForImportInput')
74
83
  GetParametersForImportOutput = Shapes::StructureShape.new(name: 'GetParametersForImportOutput')
75
84
  GetPublicKeyCertificateInput = Shapes::StructureShape.new(name: 'GetPublicKeyCertificateInput')
76
85
  GetPublicKeyCertificateOutput = Shapes::StructureShape.new(name: 'GetPublicKeyCertificateOutput')
86
+ GetResourcePolicyInput = Shapes::StructureShape.new(name: 'GetResourcePolicyInput')
87
+ GetResourcePolicyOutput = Shapes::StructureShape.new(name: 'GetResourcePolicyOutput')
77
88
  HexLength20Or24 = Shapes::StringShape.new(name: 'HexLength20Or24')
78
89
  ImportAs2805KeyCryptogram = Shapes::StructureShape.new(name: 'ImportAs2805KeyCryptogram')
79
90
  ImportDiffieHellmanTr31KeyBlock = Shapes::StructureShape.new(name: 'ImportDiffieHellmanTr31KeyBlock')
@@ -114,12 +125,22 @@ module Aws::PaymentCryptography
114
125
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
115
126
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
116
127
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
128
+ MpaOperation = Shapes::StringShape.new(name: 'MpaOperation')
129
+ MpaRequesterComment = Shapes::StringShape.new(name: 'MpaRequesterComment')
130
+ MpaSessionArn = Shapes::StringShape.new(name: 'MpaSessionArn')
131
+ MpaStatus = Shapes::StructureShape.new(name: 'MpaStatus')
132
+ MpaStatusMessage = Shapes::StringShape.new(name: 'MpaStatusMessage')
133
+ MpaTeamArn = Shapes::StringShape.new(name: 'MpaTeamArn')
134
+ MpaTeamAssociation = Shapes::StructureShape.new(name: 'MpaTeamAssociation')
117
135
  MultiRegionKeyType = Shapes::StringShape.new(name: 'MultiRegionKeyType')
118
136
  NextToken = Shapes::StringShape.new(name: 'NextToken')
119
137
  OptionalBlockId = Shapes::StringShape.new(name: 'OptionalBlockId')
120
138
  OptionalBlockValue = Shapes::StringShape.new(name: 'OptionalBlockValue')
121
139
  OptionalBlocks = Shapes::MapShape.new(name: 'OptionalBlocks')
122
140
  PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
141
+ PublicPolicyException = Shapes::StructureShape.new(name: 'PublicPolicyException')
142
+ PutResourcePolicyInput = Shapes::StructureShape.new(name: 'PutResourcePolicyInput')
143
+ PutResourcePolicyOutput = Shapes::StructureShape.new(name: 'PutResourcePolicyOutput')
123
144
  Region = Shapes::StringShape.new(name: 'Region')
124
145
  Regions = Shapes::ListShape.new(name: 'Regions')
125
146
  RemoveKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'RemoveKeyReplicationRegionsInput')
@@ -128,11 +149,13 @@ module Aws::PaymentCryptography
128
149
  ReplicationStatusType = Shapes::StructureShape.new(name: 'ReplicationStatusType')
129
150
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
130
151
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
152
+ ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
131
153
  RestoreKeyInput = Shapes::StructureShape.new(name: 'RestoreKeyInput')
132
154
  RestoreKeyOutput = Shapes::StructureShape.new(name: 'RestoreKeyOutput')
133
155
  RootCertificatePublicKey = Shapes::StructureShape.new(name: 'RootCertificatePublicKey')
134
156
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
135
157
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
158
+ SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
136
159
  SharedInformation = Shapes::StringShape.new(name: 'SharedInformation')
137
160
  SigningAlgorithmType = Shapes::StringShape.new(name: 'SigningAlgorithmType')
138
161
  StartKeyUsageInput = Shapes::StructureShape.new(name: 'StartKeyUsageInput')
@@ -180,6 +203,14 @@ module Aws::PaymentCryptography
180
203
 
181
204
  Aliases.member = Shapes::ShapeRef.new(shape: Alias)
182
205
 
206
+ AssociateMpaTeamInput.add_member(:action, Shapes::ShapeRef.new(shape: MpaOperation, required: true, location_name: "Action"))
207
+ AssociateMpaTeamInput.add_member(:mpa_team_arn, Shapes::ShapeRef.new(shape: MpaTeamArn, required: true, location_name: "MpaTeamArn"))
208
+ AssociateMpaTeamInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: MpaRequesterComment, location_name: "RequesterComment"))
209
+ AssociateMpaTeamInput.struct_class = Types::AssociateMpaTeamInput
210
+
211
+ AssociateMpaTeamOutput.add_member(:mpa_team_association, Shapes::ShapeRef.new(shape: MpaTeamAssociation, required: true, location_name: "MpaTeamAssociation"))
212
+ AssociateMpaTeamOutput.struct_class = Types::AssociateMpaTeamOutput
213
+
183
214
  CertificateSubjectType.add_member(:common_name, Shapes::ShapeRef.new(shape: CertificateSubjectTypeCommonNameString, required: true, location_name: "CommonName"))
184
215
  CertificateSubjectType.add_member(:organization_unit, Shapes::ShapeRef.new(shape: CertificateSubjectTypeOrganizationUnitString, location_name: "OrganizationUnit"))
185
216
  CertificateSubjectType.add_member(:organization, Shapes::ShapeRef.new(shape: CertificateSubjectTypeOrganizationString, location_name: "Organization"))
@@ -223,6 +254,11 @@ module Aws::PaymentCryptography
223
254
  DeleteKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
224
255
  DeleteKeyOutput.struct_class = Types::DeleteKeyOutput
225
256
 
257
+ DeleteResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
258
+ DeleteResourcePolicyInput.struct_class = Types::DeleteResourcePolicyInput
259
+
260
+ DeleteResourcePolicyOutput.struct_class = Types::DeleteResourcePolicyOutput
261
+
226
262
  DiffieHellmanDerivationData.add_member(:shared_information, Shapes::ShapeRef.new(shape: SharedInformation, location_name: "SharedInformation"))
227
263
  DiffieHellmanDerivationData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
228
264
  DiffieHellmanDerivationData.add_member_subclass(:shared_information, Types::DiffieHellmanDerivationData::SharedInformation)
@@ -235,6 +271,13 @@ module Aws::PaymentCryptography
235
271
  DisableDefaultKeyReplicationRegionsOutput.add_member(:enabled_replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "EnabledReplicationRegions"))
236
272
  DisableDefaultKeyReplicationRegionsOutput.struct_class = Types::DisableDefaultKeyReplicationRegionsOutput
237
273
 
274
+ DisassociateMpaTeamInput.add_member(:action, Shapes::ShapeRef.new(shape: MpaOperation, required: true, location_name: "Action"))
275
+ DisassociateMpaTeamInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: MpaRequesterComment, location_name: "RequesterComment"))
276
+ DisassociateMpaTeamInput.struct_class = Types::DisassociateMpaTeamInput
277
+
278
+ DisassociateMpaTeamOutput.add_member(:mpa_team_association, Shapes::ShapeRef.new(shape: MpaTeamAssociation, required: true, location_name: "MpaTeamAssociation"))
279
+ DisassociateMpaTeamOutput.struct_class = Types::DisassociateMpaTeamOutput
280
+
238
281
  EnableDefaultKeyReplicationRegionsInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "ReplicationRegions"))
239
282
  EnableDefaultKeyReplicationRegionsInput.struct_class = Types::EnableDefaultKeyReplicationRegionsInput
240
283
 
@@ -328,8 +371,15 @@ module Aws::PaymentCryptography
328
371
  GetKeyOutput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
329
372
  GetKeyOutput.struct_class = Types::GetKeyOutput
330
373
 
374
+ GetMpaTeamAssociationInput.add_member(:action, Shapes::ShapeRef.new(shape: MpaOperation, required: true, location_name: "Action"))
375
+ GetMpaTeamAssociationInput.struct_class = Types::GetMpaTeamAssociationInput
376
+
377
+ GetMpaTeamAssociationOutput.add_member(:mpa_team_association, Shapes::ShapeRef.new(shape: MpaTeamAssociation, required: true, location_name: "MpaTeamAssociation"))
378
+ GetMpaTeamAssociationOutput.struct_class = Types::GetMpaTeamAssociationOutput
379
+
331
380
  GetParametersForExportInput.add_member(:key_material_type, Shapes::ShapeRef.new(shape: KeyMaterialType, required: true, location_name: "KeyMaterialType"))
332
381
  GetParametersForExportInput.add_member(:signing_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "SigningKeyAlgorithm"))
382
+ GetParametersForExportInput.add_member(:reuse_last_generated_token, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReuseLastGeneratedToken"))
333
383
  GetParametersForExportInput.struct_class = Types::GetParametersForExportInput
334
384
 
335
385
  GetParametersForExportOutput.add_member(:signing_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "SigningKeyCertificate"))
@@ -341,6 +391,7 @@ module Aws::PaymentCryptography
341
391
 
342
392
  GetParametersForImportInput.add_member(:key_material_type, Shapes::ShapeRef.new(shape: KeyMaterialType, required: true, location_name: "KeyMaterialType"))
343
393
  GetParametersForImportInput.add_member(:wrapping_key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "WrappingKeyAlgorithm"))
394
+ GetParametersForImportInput.add_member(:reuse_last_generated_token, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReuseLastGeneratedToken"))
344
395
  GetParametersForImportInput.struct_class = Types::GetParametersForImportInput
345
396
 
346
397
  GetParametersForImportOutput.add_member(:wrapping_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "WrappingKeyCertificate"))
@@ -357,6 +408,13 @@ module Aws::PaymentCryptography
357
408
  GetPublicKeyCertificateOutput.add_member(:key_certificate_chain, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "KeyCertificateChain"))
358
409
  GetPublicKeyCertificateOutput.struct_class = Types::GetPublicKeyCertificateOutput
359
410
 
411
+ GetResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
412
+ GetResourcePolicyInput.struct_class = Types::GetResourcePolicyInput
413
+
414
+ GetResourcePolicyOutput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
415
+ GetResourcePolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "Policy"))
416
+ GetResourcePolicyOutput.struct_class = Types::GetResourcePolicyOutput
417
+
360
418
  ImportAs2805KeyCryptogram.add_member(:as_2805_key_variant, Shapes::ShapeRef.new(shape: As2805KeyVariant, required: true, location_name: "As2805KeyVariant"))
361
419
  ImportAs2805KeyCryptogram.add_member(:key_modes_of_use, Shapes::ShapeRef.new(shape: KeyModesOfUse, required: true, location_name: "KeyModesOfUse"))
362
420
  ImportAs2805KeyCryptogram.add_member(:key_algorithm, Shapes::ShapeRef.new(shape: KeyAlgorithm, required: true, location_name: "KeyAlgorithm"))
@@ -387,6 +445,7 @@ module Aws::PaymentCryptography
387
445
  ImportKeyInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
388
446
  ImportKeyInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
389
447
  ImportKeyInput.add_member(:replication_regions, Shapes::ShapeRef.new(shape: Regions, location_name: "ReplicationRegions"))
448
+ ImportKeyInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: MpaRequesterComment, location_name: "RequesterComment"))
390
449
  ImportKeyInput.struct_class = Types::ImportKeyInput
391
450
 
392
451
  ImportKeyMaterial.add_member(:root_certificate_public_key, Shapes::ShapeRef.new(shape: RootCertificatePublicKey, location_name: "RootCertificatePublicKey"))
@@ -445,6 +504,7 @@ module Aws::PaymentCryptography
445
504
  Key.add_member(:primary_region, Shapes::ShapeRef.new(shape: Region, location_name: "PrimaryRegion"))
446
505
  Key.add_member(:replication_status, Shapes::ShapeRef.new(shape: ReplicationStatus, location_name: "ReplicationStatus"))
447
506
  Key.add_member(:using_default_replication_regions, Shapes::ShapeRef.new(shape: Boolean, location_name: "UsingDefaultReplicationRegions"))
507
+ Key.add_member(:mpa_status, Shapes::ShapeRef.new(shape: MpaStatus, location_name: "MpaStatus"))
448
508
  Key.struct_class = Types::Key
449
509
 
450
510
  KeyAttributes.add_member(:key_usage, Shapes::ShapeRef.new(shape: KeyUsage, required: true, location_name: "KeyUsage"))
@@ -509,9 +569,32 @@ module Aws::PaymentCryptography
509
569
  ListTagsForResourceOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
510
570
  ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
511
571
 
572
+ MpaStatus.add_member(:mpa_session_arn, Shapes::ShapeRef.new(shape: MpaSessionArn, required: true, location_name: "MpaSessionArn"))
573
+ MpaStatus.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, required: true, location_name: "Status"))
574
+ MpaStatus.add_member(:initiation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "InitiationDate"))
575
+ MpaStatus.add_member(:status_message, Shapes::ShapeRef.new(shape: MpaStatusMessage, location_name: "StatusMessage"))
576
+ MpaStatus.struct_class = Types::MpaStatus
577
+
578
+ MpaTeamAssociation.add_member(:action, Shapes::ShapeRef.new(shape: MpaOperation, required: true, location_name: "Action"))
579
+ MpaTeamAssociation.add_member(:mpa_team_arn, Shapes::ShapeRef.new(shape: MpaTeamArn, required: true, location_name: "MpaTeamArn"))
580
+ MpaTeamAssociation.add_member(:association_state, Shapes::ShapeRef.new(shape: AssociationState, required: true, location_name: "AssociationState"))
581
+ MpaTeamAssociation.add_member(:mpa_status, Shapes::ShapeRef.new(shape: MpaStatus, location_name: "MpaStatus"))
582
+ MpaTeamAssociation.struct_class = Types::MpaTeamAssociation
583
+
512
584
  OptionalBlocks.key = Shapes::ShapeRef.new(shape: OptionalBlockId)
513
585
  OptionalBlocks.value = Shapes::ShapeRef.new(shape: OptionalBlockValue)
514
586
 
587
+ PublicPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
588
+ PublicPolicyException.struct_class = Types::PublicPolicyException
589
+
590
+ PutResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
591
+ PutResourcePolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "Policy"))
592
+ PutResourcePolicyInput.struct_class = Types::PutResourcePolicyInput
593
+
594
+ PutResourcePolicyOutput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
595
+ PutResourcePolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "Policy"))
596
+ PutResourcePolicyOutput.struct_class = Types::PutResourcePolicyOutput
597
+
515
598
  Regions.member = Shapes::ShapeRef.new(shape: Region)
516
599
 
517
600
  RemoveKeyReplicationRegionsInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
@@ -640,6 +723,22 @@ module Aws::PaymentCryptography
640
723
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
641
724
  end)
642
725
 
726
+ api.add_operation(:associate_mpa_team, Seahorse::Model::Operation.new.tap do |o|
727
+ o.name = "AssociateMpaTeam"
728
+ o.http_method = "POST"
729
+ o.http_request_uri = "/"
730
+ o.input = Shapes::ShapeRef.new(shape: AssociateMpaTeamInput)
731
+ o.output = Shapes::ShapeRef.new(shape: AssociateMpaTeamOutput)
732
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
733
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
734
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
735
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
736
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
737
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
738
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
739
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
740
+ end)
741
+
643
742
  api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
644
743
  o.name = "CreateAlias"
645
744
  o.http_method = "POST"
@@ -702,6 +801,21 @@ module Aws::PaymentCryptography
702
801
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
703
802
  end)
704
803
 
804
+ api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
805
+ o.name = "DeleteResourcePolicy"
806
+ o.http_method = "POST"
807
+ o.http_request_uri = "/"
808
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyInput)
809
+ o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyOutput)
810
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
811
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
812
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
813
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
814
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
815
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
816
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
817
+ end)
818
+
705
819
  api.add_operation(:disable_default_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
706
820
  o.name = "DisableDefaultKeyReplicationRegions"
707
821
  o.http_method = "POST"
@@ -717,6 +831,22 @@ module Aws::PaymentCryptography
717
831
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
718
832
  end)
719
833
 
834
+ api.add_operation(:disassociate_mpa_team, Seahorse::Model::Operation.new.tap do |o|
835
+ o.name = "DisassociateMpaTeam"
836
+ o.http_method = "POST"
837
+ o.http_request_uri = "/"
838
+ o.input = Shapes::ShapeRef.new(shape: DisassociateMpaTeamInput)
839
+ o.output = Shapes::ShapeRef.new(shape: DisassociateMpaTeamOutput)
840
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
841
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
842
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
843
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
844
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
845
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
847
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
848
+ end)
849
+
720
850
  api.add_operation(:enable_default_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
721
851
  o.name = "EnableDefaultKeyReplicationRegions"
722
852
  o.http_method = "POST"
@@ -804,6 +934,22 @@ module Aws::PaymentCryptography
804
934
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
805
935
  end)
806
936
 
937
+ api.add_operation(:get_mpa_team_association, Seahorse::Model::Operation.new.tap do |o|
938
+ o.name = "GetMpaTeamAssociation"
939
+ o.http_method = "POST"
940
+ o.http_request_uri = "/"
941
+ o.input = Shapes::ShapeRef.new(shape: GetMpaTeamAssociationInput)
942
+ o.output = Shapes::ShapeRef.new(shape: GetMpaTeamAssociationOutput)
943
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
944
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
945
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
946
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
947
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
948
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
949
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
950
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
951
+ end)
952
+
807
953
  api.add_operation(:get_parameters_for_export, Seahorse::Model::Operation.new.tap do |o|
808
954
  o.name = "GetParametersForExport"
809
955
  o.http_method = "POST"
@@ -850,6 +996,20 @@ module Aws::PaymentCryptography
850
996
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
851
997
  end)
852
998
 
999
+ api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1000
+ o.name = "GetResourcePolicy"
1001
+ o.http_method = "POST"
1002
+ o.http_request_uri = "/"
1003
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyInput)
1004
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyOutput)
1005
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1006
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1007
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1008
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1009
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1010
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1011
+ end)
1012
+
853
1013
  api.add_operation(:import_key, Seahorse::Model::Operation.new.tap do |o|
854
1014
  o.name = "ImportKey"
855
1015
  o.http_method = "POST"
@@ -926,6 +1086,23 @@ module Aws::PaymentCryptography
926
1086
  )
927
1087
  end)
928
1088
 
1089
+ api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1090
+ o.name = "PutResourcePolicy"
1091
+ o.http_method = "POST"
1092
+ o.http_request_uri = "/"
1093
+ o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyInput)
1094
+ o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyOutput)
1095
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1096
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1097
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1098
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1099
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1100
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1101
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1102
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1103
+ o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
1104
+ end)
1105
+
929
1106
  api.add_operation(:remove_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
930
1107
  o.name = "RemoveKeyReplicationRegions"
931
1108
  o.http_method = "POST"
@@ -30,6 +30,7 @@ module Aws::PaymentCryptography
30
30
  # * {AccessDeniedException}
31
31
  # * {ConflictException}
32
32
  # * {InternalServerException}
33
+ # * {PublicPolicyException}
33
34
  # * {ResourceNotFoundException}
34
35
  # * {ServiceQuotaExceededException}
35
36
  # * {ServiceUnavailableException}
@@ -87,6 +88,21 @@ module Aws::PaymentCryptography
87
88
  end
88
89
  end
89
90
 
91
+ class PublicPolicyException < ServiceError
92
+
93
+ # @param [Seahorse::Client::RequestContext] context
94
+ # @param [String] message
95
+ # @param [Aws::PaymentCryptography::Types::PublicPolicyException] data
96
+ def initialize(context, message, data = Aws::EmptyStructure.new)
97
+ super(context, message, data)
98
+ end
99
+
100
+ # @return [String]
101
+ def message
102
+ @message || @data[:message]
103
+ end
104
+ end
105
+
90
106
  class ResourceNotFoundException < ServiceError
91
107
 
92
108
  # @param [Seahorse::Client::RequestContext] context