aws-sdk-paymentcryptographydata 1.3.0 → 1.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc27bdf6deb71d62355c091324edd03a994a22f44a439c4e06b55b1d91233d9b
4
- data.tar.gz: f2a6d94886b230ef63e5d1c6bcf2ccbc25a06b5eede2d5935c91c0de70b8156d
3
+ metadata.gz: ecc5c6ce4a451a38224c13fa28661a8c23996e1445c77573c830a66fd5a87632
4
+ data.tar.gz: a21467f6d02eafd44ac1c7c7aa0c45e2c1fa7b23f789c168d584d6ca1d3a9586
5
5
  SHA512:
6
- metadata.gz: cf3b06db7024b4ab8188d04aec69c7b8e561177af73e43aeb071c08602cd8d8e228128c4550a0b38c91942806f9ca62df53b88b672233a395c412b4326546a8b
7
- data.tar.gz: 1658f39c1a7ca8a7faae64dce91b73a6f1b35caffc16d181960db10d7cfbbcb23cd72786556069b23554eae9a72d8295ab0ae9aa7dea877dac2a1e38c5860460
6
+ metadata.gz: 30348df4f31a2d8ad7a872f5098916b387ad9890afff0328e535050dcf7f42a4ae28304e38c32e42147f7a997baac6ee84b4e8b8926003b1738e60edd8794699
7
+ data.tar.gz: 27c7f60ad6f641cfde034b84c09e5d040685899f65fb47adb7ee666c6ec74045d388351980d4b6a86f7f5fed7fdaef0b6aa71d2f51caf30bfba5ae5c5ef848c4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2023-08-31)
5
+ ------------------
6
+
7
+ * Feature - Make KeyCheckValue field optional when using asymmetric keys as Key Check Values typically only apply to symmetric keys
8
+
9
+ 1.4.0 (2023-07-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.3.0 (2023-07-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.5.0
@@ -216,6 +216,10 @@ module Aws::PaymentCryptographyData
216
216
  # @option options [Boolean] :endpoint_discovery (false)
217
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
218
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
219
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
220
224
  # The log formatter.
221
225
  #
@@ -785,7 +789,7 @@ module Aws::PaymentCryptographyData
785
789
  # },
786
790
  # key_identifier: "KeyArnOrKeyAliasType", # required
787
791
  # mac_length: 1,
788
- # message_data: "HexLengthBetween2And4096", # required
792
+ # message_data: "HexEvenLengthBetween2And4096", # required
789
793
  # })
790
794
  #
791
795
  # @example Response structure
@@ -1143,7 +1147,7 @@ module Aws::PaymentCryptographyData
1143
1147
  # @example Request syntax with placeholder values
1144
1148
  #
1145
1149
  # resp = client.translate_pin_data({
1146
- # encrypted_pin_block: "HexLengthBetween16And32", # required
1150
+ # encrypted_pin_block: "HexEvenLengthBetween16And32", # required
1147
1151
  # incoming_dukpt_attributes: {
1148
1152
  # dukpt_key_derivation_type: "TDES_2KEY", # accepts TDES_2KEY, TDES_3KEY, AES_128, AES_192, AES_256
1149
1153
  # dukpt_key_variant: "BIDIRECTIONAL", # accepts BIDIRECTIONAL, REQUEST, RESPONSE
@@ -1509,9 +1513,9 @@ module Aws::PaymentCryptographyData
1509
1513
  #
1510
1514
  # resp = client.verify_mac({
1511
1515
  # key_identifier: "KeyArnOrKeyAliasType", # required
1512
- # mac: "HexLengthBetween4And128", # required
1516
+ # mac: "HexEvenLengthBetween4And128", # required
1513
1517
  # mac_length: 1,
1514
- # message_data: "HexLengthBetween2And4096", # required
1518
+ # message_data: "HexEvenLengthBetween2And4096", # required
1515
1519
  # verification_attributes: { # required
1516
1520
  # algorithm: "ISO9797_ALGORITHM1", # accepts ISO9797_ALGORITHM1, ISO9797_ALGORITHM3, CMAC, HMAC_SHA224, HMAC_SHA256, HMAC_SHA384, HMAC_SHA512
1517
1521
  # dukpt_cmac: {
@@ -1687,7 +1691,7 @@ module Aws::PaymentCryptographyData
1687
1691
  params: params,
1688
1692
  config: config)
1689
1693
  context[:gem_name] = 'aws-sdk-paymentcryptographydata'
1690
- context[:gem_version] = '1.3.0'
1694
+ context[:gem_version] = '1.5.0'
1691
1695
  Seahorse::Client::Request.new(handlers, context)
1692
1696
  end
1693
1697
 
@@ -46,8 +46,11 @@ module Aws::PaymentCryptographyData
46
46
  GenerateMacOutput = Shapes::StructureShape.new(name: 'GenerateMacOutput')
47
47
  GeneratePinDataInput = Shapes::StructureShape.new(name: 'GeneratePinDataInput')
48
48
  GeneratePinDataOutput = Shapes::StructureShape.new(name: 'GeneratePinDataOutput')
49
+ HexEvenLengthBetween16And32 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And32')
49
50
  HexEvenLengthBetween16And4064 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And4064')
50
51
  HexEvenLengthBetween16And4096 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And4096')
52
+ HexEvenLengthBetween2And4096 = Shapes::StringShape.new(name: 'HexEvenLengthBetween2And4096')
53
+ HexEvenLengthBetween4And128 = Shapes::StringShape.new(name: 'HexEvenLengthBetween4And128')
51
54
  HexLength16Or32 = Shapes::StringShape.new(name: 'HexLength16Or32')
52
55
  HexLengthBetween10And24 = Shapes::StringShape.new(name: 'HexLengthBetween10And24')
53
56
  HexLengthBetween16And32 = Shapes::StringShape.new(name: 'HexLengthBetween16And32')
@@ -55,7 +58,6 @@ module Aws::PaymentCryptographyData
55
58
  HexLengthBetween2And1024 = Shapes::StringShape.new(name: 'HexLengthBetween2And1024')
56
59
  HexLengthBetween2And160 = Shapes::StringShape.new(name: 'HexLengthBetween2And160')
57
60
  HexLengthBetween2And4 = Shapes::StringShape.new(name: 'HexLengthBetween2And4')
58
- HexLengthBetween2And4096 = Shapes::StringShape.new(name: 'HexLengthBetween2And4096')
59
61
  HexLengthBetween2And8 = Shapes::StringShape.new(name: 'HexLengthBetween2And8')
60
62
  HexLengthBetween4And128 = Shapes::StringShape.new(name: 'HexLengthBetween4And128')
61
63
  HexLengthEquals1 = Shapes::StringShape.new(name: 'HexLengthEquals1')
@@ -258,7 +260,7 @@ module Aws::PaymentCryptographyData
258
260
 
259
261
  EncryptDataOutput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "CipherText"))
260
262
  EncryptDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
261
- EncryptDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
263
+ EncryptDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, location_name: "KeyCheckValue"))
262
264
  EncryptDataOutput.struct_class = Types::EncryptDataOutput
263
265
 
264
266
  EncryptionDecryptionAttributes.add_member(:asymmetric, Shapes::ShapeRef.new(shape: AsymmetricEncryptionAttributes, location_name: "Asymmetric"))
@@ -285,7 +287,7 @@ module Aws::PaymentCryptographyData
285
287
  GenerateMacInput.add_member(:generation_attributes, Shapes::ShapeRef.new(shape: MacAttributes, required: true, location_name: "GenerationAttributes"))
286
288
  GenerateMacInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
287
289
  GenerateMacInput.add_member(:mac_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And16, location_name: "MacLength"))
288
- GenerateMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: HexLengthBetween2And4096, required: true, location_name: "MessageData"))
290
+ GenerateMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: HexEvenLengthBetween2And4096, required: true, location_name: "MessageData"))
289
291
  GenerateMacInput.struct_class = Types::GenerateMacInput
290
292
 
291
293
  GenerateMacOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
@@ -475,7 +477,7 @@ module Aws::PaymentCryptographyData
475
477
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
476
478
  ThrottlingException.struct_class = Types::ThrottlingException
477
479
 
478
- TranslatePinDataInput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
480
+ TranslatePinDataInput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
479
481
  TranslatePinDataInput.add_member(:incoming_dukpt_attributes, Shapes::ShapeRef.new(shape: DukptDerivationAttributes, location_name: "IncomingDukptAttributes"))
480
482
  TranslatePinDataInput.add_member(:incoming_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "IncomingKeyIdentifier"))
481
483
  TranslatePinDataInput.add_member(:incoming_translation_attributes, Shapes::ShapeRef.new(shape: TranslationIsoFormats, required: true, location_name: "IncomingTranslationAttributes"))
@@ -544,9 +546,9 @@ module Aws::PaymentCryptographyData
544
546
  VerifyCardValidationDataOutput.struct_class = Types::VerifyCardValidationDataOutput
545
547
 
546
548
  VerifyMacInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
547
- VerifyMacInput.add_member(:mac, Shapes::ShapeRef.new(shape: HexLengthBetween4And128, required: true, location_name: "Mac"))
549
+ VerifyMacInput.add_member(:mac, Shapes::ShapeRef.new(shape: HexEvenLengthBetween4And128, required: true, location_name: "Mac"))
548
550
  VerifyMacInput.add_member(:mac_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And16, location_name: "MacLength"))
549
- VerifyMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: HexLengthBetween2And4096, required: true, location_name: "MessageData"))
551
+ VerifyMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: HexEvenLengthBetween2And4096, required: true, location_name: "MessageData"))
550
552
  VerifyMacInput.add_member(:verification_attributes, Shapes::ShapeRef.new(shape: MacAttributes, required: true, location_name: "VerificationAttributes"))
551
553
  VerifyMacInput.struct_class = Types::VerifyMacInput
552
554
 
@@ -770,7 +770,7 @@ module Aws::PaymentCryptographyData
770
770
  :key_identifier,
771
771
  :mac_length,
772
772
  :message_data)
773
- SENSITIVE = []
773
+ SENSITIVE = [:message_data]
774
774
  include Aws::Structure
775
775
  end
776
776
 
@@ -1723,7 +1723,7 @@ module Aws::PaymentCryptographyData
1723
1723
  :outgoing_dukpt_attributes,
1724
1724
  :outgoing_key_identifier,
1725
1725
  :outgoing_translation_attributes)
1726
- SENSITIVE = []
1726
+ SENSITIVE = [:encrypted_pin_block]
1727
1727
  include Aws::Structure
1728
1728
  end
1729
1729
 
@@ -2043,7 +2043,7 @@ module Aws::PaymentCryptographyData
2043
2043
  :mac_length,
2044
2044
  :message_data,
2045
2045
  :verification_attributes)
2046
- SENSITIVE = []
2046
+ SENSITIVE = [:mac, :message_data]
2047
2047
  include Aws::Structure
2048
2048
  end
2049
2049
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-paymentcryptographydata/customizations'
52
52
  # @!group service
53
53
  module Aws::PaymentCryptographyData
54
54
 
55
- GEM_VERSION = '1.3.0'
55
+ GEM_VERSION = '1.5.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-paymentcryptographydata
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-06 00:00:00.000000000 Z
11
+ date: 2023-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core