aws-sdk-paymentcryptography 1.53.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.
@@ -98,6 +98,46 @@ module Aws::PaymentCryptography
98
98
  include Aws::Structure
99
99
  end
100
100
 
101
+ # @!attribute [rw] action
102
+ # The protected operation to associate with the MPA team. Currently,
103
+ # the only supported value is `IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE`.
104
+ # @return [String]
105
+ #
106
+ # @!attribute [rw] mpa_team_arn
107
+ # The ARN of the MPA team to associate with the protected operation.
108
+ # @return [String]
109
+ #
110
+ # @!attribute [rw] requester_comment
111
+ # The comment from the requester explaining the reason for the
112
+ # association.
113
+ #
114
+ # Don't include personal, confidential or sensitive information in
115
+ # this field. This field may be displayed in plaintext in CloudTrail
116
+ # logs and other output.
117
+ # @return [String]
118
+ #
119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/AssociateMpaTeamInput AWS API Documentation
120
+ #
121
+ class AssociateMpaTeamInput < Struct.new(
122
+ :action,
123
+ :mpa_team_arn,
124
+ :requester_comment)
125
+ SENSITIVE = [:requester_comment]
126
+ include Aws::Structure
127
+ end
128
+
129
+ # @!attribute [rw] mpa_team_association
130
+ # The details of the MPA team association.
131
+ # @return [Types::MpaTeamAssociation]
132
+ #
133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/AssociateMpaTeamOutput AWS API Documentation
134
+ #
135
+ class AssociateMpaTeamOutput < Struct.new(
136
+ :mpa_team_association)
137
+ SENSITIVE = []
138
+ include Aws::Structure
139
+ end
140
+
101
141
  # The metadata used to create the certificate signing request.
102
142
  #
103
143
  # @!attribute [rw] common_name
@@ -345,6 +385,23 @@ module Aws::PaymentCryptography
345
385
  include Aws::Structure
346
386
  end
347
387
 
388
+ # @!attribute [rw] resource_arn
389
+ # The `KeyARN` of the key whose resource-based policy you want to
390
+ # delete.
391
+ # @return [String]
392
+ #
393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/DeleteResourcePolicyInput AWS API Documentation
394
+ #
395
+ class DeleteResourcePolicyInput < Struct.new(
396
+ :resource_arn)
397
+ SENSITIVE = []
398
+ include Aws::Structure
399
+ end
400
+
401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/DeleteResourcePolicyOutput AWS API Documentation
402
+ #
403
+ class DeleteResourcePolicyOutput < Aws::EmptyStructure; end
404
+
348
405
  # The shared information used when deriving a key using ECDH.
349
406
  #
350
407
  # @note DiffieHellmanDerivationData is a union - when making an API calls you must set exactly one of the members.
@@ -412,6 +469,42 @@ module Aws::PaymentCryptography
412
469
  include Aws::Structure
413
470
  end
414
471
 
472
+ # @!attribute [rw] action
473
+ # The protected operation to disassociate from the MPA team.
474
+ # Currently, the only supported value is
475
+ # `IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE`.
476
+ # @return [String]
477
+ #
478
+ # @!attribute [rw] requester_comment
479
+ # The comment from the requester explaining the reason for the
480
+ # disassociation.
481
+ #
482
+ # Don't include personal, confidential or sensitive information in
483
+ # this field. This field may be displayed in plaintext in CloudTrail
484
+ # logs and other output.
485
+ # @return [String]
486
+ #
487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/DisassociateMpaTeamInput AWS API Documentation
488
+ #
489
+ class DisassociateMpaTeamInput < Struct.new(
490
+ :action,
491
+ :requester_comment)
492
+ SENSITIVE = [:requester_comment]
493
+ include Aws::Structure
494
+ end
495
+
496
+ # @!attribute [rw] mpa_team_association
497
+ # The details of the MPA team association.
498
+ # @return [Types::MpaTeamAssociation]
499
+ #
500
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/DisassociateMpaTeamOutput AWS API Documentation
501
+ #
502
+ class DisassociateMpaTeamOutput < Struct.new(
503
+ :mpa_team_association)
504
+ SENSITIVE = []
505
+ include Aws::Structure
506
+ end
507
+
415
508
  # Input parameters for enabling default key replication regions for the
416
509
  # account.
417
510
  #
@@ -904,6 +997,32 @@ module Aws::PaymentCryptography
904
997
  include Aws::Structure
905
998
  end
906
999
 
1000
+ # @!attribute [rw] action
1001
+ # The protected operation whose MPA team association you want to
1002
+ # retrieve. Currently, the only supported value is
1003
+ # `IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE`.
1004
+ # @return [String]
1005
+ #
1006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetMpaTeamAssociationInput AWS API Documentation
1007
+ #
1008
+ class GetMpaTeamAssociationInput < Struct.new(
1009
+ :action)
1010
+ SENSITIVE = []
1011
+ include Aws::Structure
1012
+ end
1013
+
1014
+ # @!attribute [rw] mpa_team_association
1015
+ # The details of the MPA team association.
1016
+ # @return [Types::MpaTeamAssociation]
1017
+ #
1018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetMpaTeamAssociationOutput AWS API Documentation
1019
+ #
1020
+ class GetMpaTeamAssociationOutput < Struct.new(
1021
+ :mpa_team_association)
1022
+ SENSITIVE = []
1023
+ include Aws::Structure
1024
+ end
1025
+
907
1026
  # @!attribute [rw] key_material_type
908
1027
  # The key block format type (for example, TR-34 or TR-31) to use
909
1028
  # during key material export. Export token is only required for a
@@ -1094,6 +1213,36 @@ module Aws::PaymentCryptography
1094
1213
  include Aws::Structure
1095
1214
  end
1096
1215
 
1216
+ # @!attribute [rw] resource_arn
1217
+ # The `KeyARN` of the key whose resource-based policy you want to
1218
+ # retrieve.
1219
+ # @return [String]
1220
+ #
1221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetResourcePolicyInput AWS API Documentation
1222
+ #
1223
+ class GetResourcePolicyInput < Struct.new(
1224
+ :resource_arn)
1225
+ SENSITIVE = []
1226
+ include Aws::Structure
1227
+ end
1228
+
1229
+ # @!attribute [rw] resource_arn
1230
+ # The `KeyARN` of the key.
1231
+ # @return [String]
1232
+ #
1233
+ # @!attribute [rw] policy
1234
+ # The resource-based policy attached to the key, in JSON format.
1235
+ # @return [String]
1236
+ #
1237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetResourcePolicyOutput AWS API Documentation
1238
+ #
1239
+ class GetResourcePolicyOutput < Struct.new(
1240
+ :resource_arn,
1241
+ :policy)
1242
+ SENSITIVE = []
1243
+ include Aws::Structure
1244
+ end
1245
+
1097
1246
  # Parameter information for key material import using AS2805 key
1098
1247
  # cryptogram format.
1099
1248
  #
@@ -1300,6 +1449,14 @@ module Aws::PaymentCryptography
1300
1449
  # added to or removed from a key's replication configuration.
1301
1450
  # @return [Array<String>]
1302
1451
  #
1452
+ # @!attribute [rw] requester_comment
1453
+ # The comment from the requester explaining the reason for the import.
1454
+ #
1455
+ # Don't include personal, confidential or sensitive information in
1456
+ # this field. This field may be displayed in plaintext in CloudTrail
1457
+ # logs and other output.
1458
+ # @return [String]
1459
+ #
1303
1460
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/ImportKeyInput AWS API Documentation
1304
1461
  #
1305
1462
  class ImportKeyInput < Struct.new(
@@ -1307,8 +1464,9 @@ module Aws::PaymentCryptography
1307
1464
  :key_check_value_algorithm,
1308
1465
  :enabled,
1309
1466
  :tags,
1310
- :replication_regions)
1311
- SENSITIVE = []
1467
+ :replication_regions,
1468
+ :requester_comment)
1469
+ SENSITIVE = [:requester_comment]
1312
1470
  include Aws::Structure
1313
1471
  end
1314
1472
 
@@ -1621,6 +1779,10 @@ module Aws::PaymentCryptography
1621
1779
  # [1]: https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-multi-region-replication.html
1622
1780
  # @return [Boolean]
1623
1781
  #
1782
+ # @!attribute [rw] mpa_status
1783
+ # The Multi-Party Approval (MPA) status for the key, if applicable.
1784
+ # @return [Types::MpaStatus]
1785
+ #
1624
1786
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/Key AWS API Documentation
1625
1787
  #
1626
1788
  class Key < Struct.new(
@@ -1641,7 +1803,8 @@ module Aws::PaymentCryptography
1641
1803
  :multi_region_key_type,
1642
1804
  :primary_region,
1643
1805
  :replication_status,
1644
- :using_default_replication_regions)
1806
+ :using_default_replication_regions,
1807
+ :mpa_status)
1645
1808
  SENSITIVE = []
1646
1809
  include Aws::Structure
1647
1810
  end
@@ -2034,6 +2197,116 @@ module Aws::PaymentCryptography
2034
2197
  include Aws::Structure
2035
2198
  end
2036
2199
 
2200
+ # The status of an MPA session.
2201
+ #
2202
+ # @!attribute [rw] mpa_session_arn
2203
+ # The ARN of the MPA session.
2204
+ # @return [String]
2205
+ #
2206
+ # @!attribute [rw] status
2207
+ # The current status of the MPA session.
2208
+ # @return [String]
2209
+ #
2210
+ # @!attribute [rw] initiation_date
2211
+ # The date and time when the MPA session was initiated.
2212
+ # @return [Time]
2213
+ #
2214
+ # @!attribute [rw] status_message
2215
+ # The message providing additional information about the MPA session
2216
+ # status.
2217
+ # @return [String]
2218
+ #
2219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/MpaStatus AWS API Documentation
2220
+ #
2221
+ class MpaStatus < Struct.new(
2222
+ :mpa_session_arn,
2223
+ :status,
2224
+ :initiation_date,
2225
+ :status_message)
2226
+ SENSITIVE = []
2227
+ include Aws::Structure
2228
+ end
2229
+
2230
+ # The details of an MPA team association with a protected operation.
2231
+ #
2232
+ # @!attribute [rw] action
2233
+ # The protected operation associated with the MPA team.
2234
+ # @return [String]
2235
+ #
2236
+ # @!attribute [rw] mpa_team_arn
2237
+ # The ARN of the MPA team.
2238
+ # @return [String]
2239
+ #
2240
+ # @!attribute [rw] association_state
2241
+ # The state of the MPA team association.
2242
+ # @return [String]
2243
+ #
2244
+ # @!attribute [rw] mpa_status
2245
+ # The MPA session status for the association, if applicable.
2246
+ # @return [Types::MpaStatus]
2247
+ #
2248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/MpaTeamAssociation AWS API Documentation
2249
+ #
2250
+ class MpaTeamAssociation < Struct.new(
2251
+ :action,
2252
+ :mpa_team_arn,
2253
+ :association_state,
2254
+ :mpa_status)
2255
+ SENSITIVE = []
2256
+ include Aws::Structure
2257
+ end
2258
+
2259
+ # The resource-based policy would grant public access to the key.
2260
+ #
2261
+ # Modify the policy to restrict access to specific principals and
2262
+ # resubmit the request.
2263
+ #
2264
+ # @!attribute [rw] message
2265
+ # @return [String]
2266
+ #
2267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/PublicPolicyException AWS API Documentation
2268
+ #
2269
+ class PublicPolicyException < Struct.new(
2270
+ :message)
2271
+ SENSITIVE = []
2272
+ include Aws::Structure
2273
+ end
2274
+
2275
+ # @!attribute [rw] resource_arn
2276
+ # The `KeyARN` of the key to attach the resource-based policy to.
2277
+ # @return [String]
2278
+ #
2279
+ # @!attribute [rw] policy
2280
+ # The resource-based policy to attach to the key, in JSON format.
2281
+ # @return [String]
2282
+ #
2283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/PutResourcePolicyInput AWS API Documentation
2284
+ #
2285
+ class PutResourcePolicyInput < Struct.new(
2286
+ :resource_arn,
2287
+ :policy)
2288
+ SENSITIVE = []
2289
+ include Aws::Structure
2290
+ end
2291
+
2292
+ # @!attribute [rw] resource_arn
2293
+ # The `KeyARN` of the key that the resource-based policy was attached
2294
+ # to.
2295
+ # @return [String]
2296
+ #
2297
+ # @!attribute [rw] policy
2298
+ # The resource-based policy that was attached to the key.
2299
+ # @return [String]
2300
+ #
2301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/PutResourcePolicyOutput AWS API Documentation
2302
+ #
2303
+ class PutResourcePolicyOutput < Struct.new(
2304
+ :resource_arn,
2305
+ :policy)
2306
+ SENSITIVE = []
2307
+ include Aws::Structure
2308
+ end
2309
+
2037
2310
  # Input parameters for removing replication regions from a specific key.
2038
2311
  #
2039
2312
  # @!attribute [rw] key_identifier
@@ -55,7 +55,7 @@ module Aws::PaymentCryptography
55
55
  autoload :EndpointProvider, 'aws-sdk-paymentcryptography/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-paymentcryptography/endpoints'
57
57
 
58
- GEM_VERSION = '1.53.0'
58
+ GEM_VERSION = '1.54.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -90,6 +90,18 @@ module Aws
90
90
  ) -> _AddKeyReplicationRegionsResponseSuccess
91
91
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddKeyReplicationRegionsResponseSuccess
92
92
 
93
+ interface _AssociateMpaTeamResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateMpaTeamOutput]
95
+ def mpa_team_association: () -> Types::MpaTeamAssociation
96
+ end
97
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#associate_mpa_team-instance_method
98
+ def associate_mpa_team: (
99
+ action: ("IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE"),
100
+ mpa_team_arn: ::String,
101
+ ?requester_comment: ::String
102
+ ) -> _AssociateMpaTeamResponseSuccess
103
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateMpaTeamResponseSuccess
104
+
93
105
  interface _CreateAliasResponseSuccess
94
106
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateAliasOutput]
95
107
  def alias: () -> Types::Alias
@@ -157,6 +169,15 @@ module Aws
157
169
  ) -> _DeleteKeyResponseSuccess
158
170
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKeyResponseSuccess
159
171
 
172
+ interface _DeleteResourcePolicyResponseSuccess
173
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyOutput]
174
+ end
175
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#delete_resource_policy-instance_method
176
+ def delete_resource_policy: (
177
+ resource_arn: ::String
178
+ ) -> _DeleteResourcePolicyResponseSuccess
179
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
180
+
160
181
  interface _DisableDefaultKeyReplicationRegionsResponseSuccess
161
182
  include ::Seahorse::Client::_ResponseSuccess[Types::DisableDefaultKeyReplicationRegionsOutput]
162
183
  def enabled_replication_regions: () -> ::Array[::String]
@@ -167,6 +188,17 @@ module Aws
167
188
  ) -> _DisableDefaultKeyReplicationRegionsResponseSuccess
168
189
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableDefaultKeyReplicationRegionsResponseSuccess
169
190
 
191
+ interface _DisassociateMpaTeamResponseSuccess
192
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateMpaTeamOutput]
193
+ def mpa_team_association: () -> Types::MpaTeamAssociation
194
+ end
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#disassociate_mpa_team-instance_method
196
+ def disassociate_mpa_team: (
197
+ action: ("IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE"),
198
+ ?requester_comment: ::String
199
+ ) -> _DisassociateMpaTeamResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateMpaTeamResponseSuccess
201
+
170
202
  interface _EnableDefaultKeyReplicationRegionsResponseSuccess
171
203
  include ::Seahorse::Client::_ResponseSuccess[Types::EnableDefaultKeyReplicationRegionsOutput]
172
204
  def enabled_replication_regions: () -> ::Array[::String]
@@ -324,6 +356,16 @@ module Aws
324
356
  ) -> _GetKeyResponseSuccess
325
357
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKeyResponseSuccess
326
358
 
359
+ interface _GetMpaTeamAssociationResponseSuccess
360
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMpaTeamAssociationOutput]
361
+ def mpa_team_association: () -> Types::MpaTeamAssociation
362
+ end
363
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#get_mpa_team_association-instance_method
364
+ def get_mpa_team_association: (
365
+ action: ("IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE")
366
+ ) -> _GetMpaTeamAssociationResponseSuccess
367
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMpaTeamAssociationResponseSuccess
368
+
327
369
  interface _GetParametersForExportResponseSuccess
328
370
  include ::Seahorse::Client::_ResponseSuccess[Types::GetParametersForExportOutput]
329
371
  def signing_key_certificate: () -> ::String
@@ -367,6 +409,17 @@ module Aws
367
409
  ) -> _GetPublicKeyCertificateResponseSuccess
368
410
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPublicKeyCertificateResponseSuccess
369
411
 
412
+ interface _GetResourcePolicyResponseSuccess
413
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyOutput]
414
+ def resource_arn: () -> ::String
415
+ def policy: () -> ::String
416
+ end
417
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#get_resource_policy-instance_method
418
+ def get_resource_policy: (
419
+ resource_arn: ::String
420
+ ) -> _GetResourcePolicyResponseSuccess
421
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
422
+
370
423
  interface _ImportKeyResponseSuccess
371
424
  include ::Seahorse::Client::_ResponseSuccess[Types::ImportKeyOutput]
372
425
  def key: () -> Types::Key
@@ -488,7 +541,8 @@ module Aws
488
541
  value: ::String
489
542
  },
490
543
  ],
491
- ?replication_regions: Array[::String]
544
+ ?replication_regions: Array[::String],
545
+ ?requester_comment: ::String
492
546
  ) -> _ImportKeyResponseSuccess
493
547
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportKeyResponseSuccess
494
548
 
@@ -531,6 +585,18 @@ module Aws
531
585
  ) -> _ListTagsForResourceResponseSuccess
532
586
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
533
587
 
588
+ interface _PutResourcePolicyResponseSuccess
589
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyOutput]
590
+ def resource_arn: () -> ::String
591
+ def policy: () -> ::String
592
+ end
593
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#put_resource_policy-instance_method
594
+ def put_resource_policy: (
595
+ resource_arn: ::String,
596
+ policy: ::String
597
+ ) -> _PutResourcePolicyResponseSuccess
598
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
599
+
534
600
  interface _RemoveKeyReplicationRegionsResponseSuccess
535
601
  include ::Seahorse::Client::_ResponseSuccess[Types::RemoveKeyReplicationRegionsOutput]
536
602
  def key: () -> Types::Key
data/sig/errors.rbs CHANGED
@@ -20,6 +20,9 @@ module Aws
20
20
  class InternalServerException < ::Aws::Errors::ServiceError
21
21
  def message: () -> ::String
22
22
  end
23
+ class PublicPolicyException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
23
26
  class ResourceNotFoundException < ::Aws::Errors::ServiceError
24
27
  def resource_id: () -> ::String
25
28
  end
data/sig/types.rbs CHANGED
@@ -30,6 +30,18 @@ module Aws::PaymentCryptography
30
30
  SENSITIVE: []
31
31
  end
32
32
 
33
+ class AssociateMpaTeamInput
34
+ attr_accessor action: ("IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE")
35
+ attr_accessor mpa_team_arn: ::String
36
+ attr_accessor requester_comment: ::String
37
+ SENSITIVE: [:requester_comment]
38
+ end
39
+
40
+ class AssociateMpaTeamOutput
41
+ attr_accessor mpa_team_association: Types::MpaTeamAssociation
42
+ SENSITIVE: []
43
+ end
44
+
33
45
  class CertificateSubjectType
34
46
  attr_accessor common_name: ::String
35
47
  attr_accessor organization_unit: ::String
@@ -92,6 +104,14 @@ module Aws::PaymentCryptography
92
104
  SENSITIVE: []
93
105
  end
94
106
 
107
+ class DeleteResourcePolicyInput
108
+ attr_accessor resource_arn: ::String
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class DeleteResourcePolicyOutput < Aws::EmptyStructure
113
+ end
114
+
95
115
  class DiffieHellmanDerivationData
96
116
  attr_accessor shared_information: ::String
97
117
  attr_accessor unknown: untyped
@@ -113,6 +133,17 @@ module Aws::PaymentCryptography
113
133
  SENSITIVE: []
114
134
  end
115
135
 
136
+ class DisassociateMpaTeamInput
137
+ attr_accessor action: ("IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE")
138
+ attr_accessor requester_comment: ::String
139
+ SENSITIVE: [:requester_comment]
140
+ end
141
+
142
+ class DisassociateMpaTeamOutput
143
+ attr_accessor mpa_team_association: Types::MpaTeamAssociation
144
+ SENSITIVE: []
145
+ end
146
+
116
147
  class EnableDefaultKeyReplicationRegionsInput
117
148
  attr_accessor replication_regions: ::Array[::String]
118
149
  SENSITIVE: []
@@ -252,6 +283,16 @@ module Aws::PaymentCryptography
252
283
  SENSITIVE: []
253
284
  end
254
285
 
286
+ class GetMpaTeamAssociationInput
287
+ attr_accessor action: ("IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE")
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class GetMpaTeamAssociationOutput
292
+ attr_accessor mpa_team_association: Types::MpaTeamAssociation
293
+ SENSITIVE: []
294
+ end
295
+
255
296
  class GetParametersForExportInput
256
297
  attr_accessor key_material_type: ("TR34_KEY_BLOCK" | "TR31_KEY_BLOCK" | "ROOT_PUBLIC_KEY_CERTIFICATE" | "TRUSTED_PUBLIC_KEY_CERTIFICATE" | "KEY_CRYPTOGRAM")
257
298
  attr_accessor signing_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224" | "RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521")
@@ -295,6 +336,17 @@ module Aws::PaymentCryptography
295
336
  SENSITIVE: []
296
337
  end
297
338
 
339
+ class GetResourcePolicyInput
340
+ attr_accessor resource_arn: ::String
341
+ SENSITIVE: []
342
+ end
343
+
344
+ class GetResourcePolicyOutput
345
+ attr_accessor resource_arn: ::String
346
+ attr_accessor policy: ::String
347
+ SENSITIVE: []
348
+ end
349
+
298
350
  class ImportAs2805KeyCryptogram
299
351
  attr_accessor as_2805_key_variant: ("TERMINAL_MAJOR_KEY_VARIANT_00" | "PIN_ENCRYPTION_KEY_VARIANT_28" | "MESSAGE_AUTHENTICATION_KEY_VARIANT_24" | "DATA_ENCRYPTION_KEY_VARIANT_22")
300
352
  attr_accessor key_modes_of_use: Types::KeyModesOfUse
@@ -332,7 +384,8 @@ module Aws::PaymentCryptography
332
384
  attr_accessor enabled: bool
333
385
  attr_accessor tags: ::Array[Types::Tag]
334
386
  attr_accessor replication_regions: ::Array[::String]
335
- SENSITIVE: []
387
+ attr_accessor requester_comment: ::String
388
+ SENSITIVE: [:requester_comment]
336
389
  end
337
390
 
338
391
  class ImportKeyMaterial
@@ -411,6 +464,7 @@ module Aws::PaymentCryptography
411
464
  attr_accessor primary_region: ::String
412
465
  attr_accessor replication_status: ::Hash[::String, Types::ReplicationStatusType]
413
466
  attr_accessor using_default_replication_regions: bool
467
+ attr_accessor mpa_status: Types::MpaStatus
414
468
  SENSITIVE: []
415
469
  end
416
470
 
@@ -494,6 +548,39 @@ module Aws::PaymentCryptography
494
548
  SENSITIVE: []
495
549
  end
496
550
 
551
+ class MpaStatus
552
+ attr_accessor mpa_session_arn: ::String
553
+ attr_accessor status: ("PENDING" | "APPROVED" | "FAILED" | "CANCELLED")
554
+ attr_accessor initiation_date: ::Time
555
+ attr_accessor status_message: ::String
556
+ SENSITIVE: []
557
+ end
558
+
559
+ class MpaTeamAssociation
560
+ attr_accessor action: ("IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE")
561
+ attr_accessor mpa_team_arn: ::String
562
+ attr_accessor association_state: ("ACTIVE" | "UPDATE_PENDING" | "DELETE_PENDING")
563
+ attr_accessor mpa_status: Types::MpaStatus
564
+ SENSITIVE: []
565
+ end
566
+
567
+ class PublicPolicyException
568
+ attr_accessor message: ::String
569
+ SENSITIVE: []
570
+ end
571
+
572
+ class PutResourcePolicyInput
573
+ attr_accessor resource_arn: ::String
574
+ attr_accessor policy: ::String
575
+ SENSITIVE: []
576
+ end
577
+
578
+ class PutResourcePolicyOutput
579
+ attr_accessor resource_arn: ::String
580
+ attr_accessor policy: ::String
581
+ SENSITIVE: []
582
+ end
583
+
497
584
  class RemoveKeyReplicationRegionsInput
498
585
  attr_accessor key_identifier: ::String
499
586
  attr_accessor replication_regions: ::Array[::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-paymentcryptography
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services