aws-sdk-paymentcryptography 1.27.0 → 1.29.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 +33 -6
- data/lib/aws-sdk-paymentcryptography/client_api.rb +2 -1
- data/lib/aws-sdk-paymentcryptography/types.rb +7 -2
- data/lib/aws-sdk-paymentcryptography.rb +1 -1
- data/sig/client.rbs +6 -3
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +3 -2
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 999838bbb9d566c76b5e87b3422d2cadd5ec8f3932eb880896ce8ed8b6c2b54b
         | 
| 4 | 
            +
              data.tar.gz: ccdf93b11005c193e77ffe9aabd0067fc69d9b2d64cf02a492aea3a7737f8ec5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: a905ef64cbd0841d69e8462d082e136b9116bb66090f47fbf578112fb534c4d8bc9d33ada6ac87a8277b50486f175a19a7491ae98d1510966942ba21f63acc1d
         | 
| 7 | 
            +
              data.tar.gz: a74873ef11d5b5063a09aed1e198438229ee19a48bb497305387b43d8243c915876722cdc0d94800c3c7594bf934412906481cead0ab2c7fe0b6cfc6523a32d0
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,16 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.29.0 (2025-01-15)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            1.28.0 (2024-11-12)
         | 
| 10 | 
            +
            ------------------
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            * Feature - Updated ListAliases API with KeyArn filter.
         | 
| 13 | 
            +
             | 
| 4 14 | 
             
            1.27.0 (2024-10-23)
         | 
| 5 15 | 
             
            ------------------
         | 
| 6 16 |  | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.29.0
         | 
| @@ -257,11 +257,34 @@ module Aws::PaymentCryptography | |
| 257 257 | 
             
                #     Used when loading credentials from the shared credentials file
         | 
| 258 258 | 
             
                #     at HOME/.aws/credentials.  When not specified, 'default' is used.
         | 
| 259 259 | 
             
                #
         | 
| 260 | 
            +
                #   @option options [String] :request_checksum_calculation ("when_supported")
         | 
| 261 | 
            +
                #     Determines when a checksum will be calculated for request payloads. Values are:
         | 
| 262 | 
            +
                #
         | 
| 263 | 
            +
                #     * `when_supported` - (default) When set, a checksum will be
         | 
| 264 | 
            +
                #       calculated for all request payloads of operations modeled with the
         | 
| 265 | 
            +
                #       `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
         | 
| 266 | 
            +
                #       `requestAlgorithmMember` is modeled.
         | 
| 267 | 
            +
                #     * `when_required` - When set, a checksum will only be calculated for
         | 
| 268 | 
            +
                #       request payloads of operations modeled with the  `httpChecksum` trait where
         | 
| 269 | 
            +
                #       `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
         | 
| 270 | 
            +
                #       is modeled and supplied.
         | 
| 271 | 
            +
                #
         | 
| 260 272 | 
             
                #   @option options [Integer] :request_min_compression_size_bytes (10240)
         | 
| 261 273 | 
             
                #     The minimum size in bytes that triggers compression for request
         | 
| 262 274 | 
             
                #     bodies. The value must be non-negative integer value between 0
         | 
| 263 275 | 
             
                #     and 10485780 bytes inclusive.
         | 
| 264 276 | 
             
                #
         | 
| 277 | 
            +
                #   @option options [String] :response_checksum_validation ("when_supported")
         | 
| 278 | 
            +
                #     Determines when checksum validation will be performed on response payloads. Values are:
         | 
| 279 | 
            +
                #
         | 
| 280 | 
            +
                #     * `when_supported` - (default) When set, checksum validation is performed on all
         | 
| 281 | 
            +
                #       response payloads of operations modeled with the `httpChecksum` trait where
         | 
| 282 | 
            +
                #       `responseAlgorithms` is modeled, except when no modeled checksum algorithms
         | 
| 283 | 
            +
                #       are supported.
         | 
| 284 | 
            +
                #     * `when_required` - When set, checksum validation is not performed on
         | 
| 285 | 
            +
                #       response payloads of operations unless the checksum algorithm is supported and
         | 
| 286 | 
            +
                #       the `requestValidationModeMember` member is set to `ENABLED`.
         | 
| 287 | 
            +
                #
         | 
| 265 288 | 
             
                #   @option options [Proc] :retry_backoff
         | 
| 266 289 | 
             
                #     A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
         | 
| 267 290 | 
             
                #     This option is only used in the `legacy` retry mode.
         | 
| @@ -653,7 +676,7 @@ module Aws::PaymentCryptography | |
| 653 676 | 
             
                #     tags: [
         | 
| 654 677 | 
             
                #       {
         | 
| 655 678 | 
             
                #         key: "TagKey", # required
         | 
| 656 | 
            -
                #         value: "TagValue",
         | 
| 679 | 
            +
                #         value: "TagValue", # required
         | 
| 657 680 | 
             
                #       },
         | 
| 658 681 | 
             
                #     ],
         | 
| 659 682 | 
             
                #   })
         | 
| @@ -1720,7 +1743,7 @@ module Aws::PaymentCryptography | |
| 1720 1743 | 
             
                #     tags: [
         | 
| 1721 1744 | 
             
                #       {
         | 
| 1722 1745 | 
             
                #         key: "TagKey", # required
         | 
| 1723 | 
            -
                #         value: "TagValue",
         | 
| 1746 | 
            +
                #         value: "TagValue", # required
         | 
| 1724 1747 | 
             
                #       },
         | 
| 1725 1748 | 
             
                #     ],
         | 
| 1726 1749 | 
             
                #   })
         | 
| @@ -1762,8 +1785,8 @@ module Aws::PaymentCryptography | |
| 1762 1785 | 
             
                end
         | 
| 1763 1786 |  | 
| 1764 1787 | 
             
                # Lists the aliases for all keys in the caller's Amazon Web Services
         | 
| 1765 | 
            -
                # account and Amazon Web Services Region. You can filter the  | 
| 1766 | 
            -
                #  | 
| 1788 | 
            +
                # account and Amazon Web Services Region. You can filter the aliases by
         | 
| 1789 | 
            +
                # `keyARN`. For more information, see [Using aliases][1] in the *Amazon
         | 
| 1767 1790 | 
             
                # Web Services Payment Cryptography User Guide*.
         | 
| 1768 1791 | 
             
                #
         | 
| 1769 1792 | 
             
                # This is a paginated operation, which means that each response might
         | 
| @@ -1794,6 +1817,9 @@ module Aws::PaymentCryptography | |
| 1794 1817 | 
             
                # [4]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetAlias.html
         | 
| 1795 1818 | 
             
                # [5]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_UpdateAlias.html
         | 
| 1796 1819 | 
             
                #
         | 
| 1820 | 
            +
                # @option params [String] :key_arn
         | 
| 1821 | 
            +
                #   The `keyARN` for which you want to list all aliases.
         | 
| 1822 | 
            +
                #
         | 
| 1797 1823 | 
             
                # @option params [String] :next_token
         | 
| 1798 1824 | 
             
                #   Use this parameter in a subsequent request after you receive a
         | 
| 1799 1825 | 
             
                #   response with truncated results. Set it to the value of `NextToken`
         | 
| @@ -1818,6 +1844,7 @@ module Aws::PaymentCryptography | |
| 1818 1844 | 
             
                # @example Request syntax with placeholder values
         | 
| 1819 1845 | 
             
                #
         | 
| 1820 1846 | 
             
                #   resp = client.list_aliases({
         | 
| 1847 | 
            +
                #     key_arn: "KeyArn",
         | 
| 1821 1848 | 
             
                #     next_token: "NextToken",
         | 
| 1822 1849 | 
             
                #     max_results: 1,
         | 
| 1823 1850 | 
             
                #   })
         | 
| @@ -2275,7 +2302,7 @@ module Aws::PaymentCryptography | |
| 2275 2302 | 
             
                #     tags: [ # required
         | 
| 2276 2303 | 
             
                #       {
         | 
| 2277 2304 | 
             
                #         key: "TagKey", # required
         | 
| 2278 | 
            -
                #         value: "TagValue",
         | 
| 2305 | 
            +
                #         value: "TagValue", # required
         | 
| 2279 2306 | 
             
                #       },
         | 
| 2280 2307 | 
             
                #     ],
         | 
| 2281 2308 | 
             
                #   })
         | 
| @@ -2420,7 +2447,7 @@ module Aws::PaymentCryptography | |
| 2420 2447 | 
             
                    tracer: tracer
         | 
| 2421 2448 | 
             
                  )
         | 
| 2422 2449 | 
             
                  context[:gem_name] = 'aws-sdk-paymentcryptography'
         | 
| 2423 | 
            -
                  context[:gem_version] = '1. | 
| 2450 | 
            +
                  context[:gem_version] = '1.29.0'
         | 
| 2424 2451 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 2425 2452 | 
             
                end
         | 
| 2426 2453 |  | 
| @@ -342,6 +342,7 @@ module Aws::PaymentCryptography | |
| 342 342 |  | 
| 343 343 | 
             
                KeySummaryList.member = Shapes::ShapeRef.new(shape: KeySummary)
         | 
| 344 344 |  | 
| 345 | 
            +
                ListAliasesInput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, location_name: "KeyArn"))
         | 
| 345 346 | 
             
                ListAliasesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
         | 
| 346 347 | 
             
                ListAliasesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
         | 
| 347 348 | 
             
                ListAliasesInput.struct_class = Types::ListAliasesInput
         | 
| @@ -403,7 +404,7 @@ module Aws::PaymentCryptography | |
| 403 404 | 
             
                StopKeyUsageOutput.struct_class = Types::StopKeyUsageOutput
         | 
| 404 405 |  | 
| 405 406 | 
             
                Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
         | 
| 406 | 
            -
                Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
         | 
| 407 | 
            +
                Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
         | 
| 407 408 | 
             
                Tag.struct_class = Types::Tag
         | 
| 408 409 |  | 
| 409 410 | 
             
                TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
         | 
| @@ -697,7 +697,7 @@ module Aws::PaymentCryptography | |
| 697 697 | 
             
                  :wrapped_key_cryptogram,
         | 
| 698 698 | 
             
                  :import_token,
         | 
| 699 699 | 
             
                  :wrapping_spec)
         | 
| 700 | 
            -
                  SENSITIVE = []
         | 
| 700 | 
            +
                  SENSITIVE = [:wrapped_key_cryptogram]
         | 
| 701 701 | 
             
                  include Aws::Structure
         | 
| 702 702 | 
             
                end
         | 
| 703 703 |  | 
| @@ -890,7 +890,7 @@ module Aws::PaymentCryptography | |
| 890 890 | 
             
                  :wrapped_key_block,
         | 
| 891 891 | 
             
                  :key_block_format,
         | 
| 892 892 | 
             
                  :random_nonce)
         | 
| 893 | 
            -
                  SENSITIVE = [:signing_key_certificate]
         | 
| 893 | 
            +
                  SENSITIVE = [:signing_key_certificate, :wrapped_key_block]
         | 
| 894 894 | 
             
                  include Aws::Structure
         | 
| 895 895 | 
             
                end
         | 
| 896 896 |  | 
| @@ -1219,6 +1219,10 @@ module Aws::PaymentCryptography | |
| 1219 1219 | 
             
                  include Aws::Structure
         | 
| 1220 1220 | 
             
                end
         | 
| 1221 1221 |  | 
| 1222 | 
            +
                # @!attribute [rw] key_arn
         | 
| 1223 | 
            +
                #   The `keyARN` for which you want to list all aliases.
         | 
| 1224 | 
            +
                #   @return [String]
         | 
| 1225 | 
            +
                #
         | 
| 1222 1226 | 
             
                # @!attribute [rw] next_token
         | 
| 1223 1227 | 
             
                #   Use this parameter in a subsequent request after you receive a
         | 
| 1224 1228 | 
             
                #   response with truncated results. Set it to the value of `NextToken`
         | 
| @@ -1239,6 +1243,7 @@ module Aws::PaymentCryptography | |
| 1239 1243 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/ListAliasesInput AWS API Documentation
         | 
| 1240 1244 | 
             
                #
         | 
| 1241 1245 | 
             
                class ListAliasesInput < Struct.new(
         | 
| 1246 | 
            +
                  :key_arn,
         | 
| 1242 1247 | 
             
                  :next_token,
         | 
| 1243 1248 | 
             
                  :max_results)
         | 
| 1244 1249 | 
             
                  SENSITIVE = []
         | 
    
        data/sig/client.rbs
    CHANGED
    
    | @@ -39,7 +39,9 @@ module Aws | |
| 39 39 | 
             
                                  ?logger: untyped,
         | 
| 40 40 | 
             
                                  ?max_attempts: Integer,
         | 
| 41 41 | 
             
                                  ?profile: String,
         | 
| 42 | 
            +
                                  ?request_checksum_calculation: String,
         | 
| 42 43 | 
             
                                  ?request_min_compression_size_bytes: Integer,
         | 
| 44 | 
            +
                                  ?response_checksum_validation: String,
         | 
| 43 45 | 
             
                                  ?retry_backoff: Proc,
         | 
| 44 46 | 
             
                                  ?retry_base_delay: Float,
         | 
| 45 47 | 
             
                                  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
         | 
| @@ -115,7 +117,7 @@ module Aws | |
| 115 117 | 
             
                                    ?tags: Array[
         | 
| 116 118 | 
             
                                      {
         | 
| 117 119 | 
             
                                        key: ::String,
         | 
| 118 | 
            -
                                        value: ::String | 
| 120 | 
            +
                                        value: ::String
         | 
| 119 121 | 
             
                                      },
         | 
| 120 122 | 
             
                                    ]
         | 
| 121 123 | 
             
                                  ) -> _CreateKeyResponseSuccess
         | 
| @@ -353,7 +355,7 @@ module Aws | |
| 353 355 | 
             
                                    ?tags: Array[
         | 
| 354 356 | 
             
                                      {
         | 
| 355 357 | 
             
                                        key: ::String,
         | 
| 356 | 
            -
                                        value: ::String | 
| 358 | 
            +
                                        value: ::String
         | 
| 357 359 | 
             
                                      },
         | 
| 358 360 | 
             
                                    ]
         | 
| 359 361 | 
             
                                  ) -> _ImportKeyResponseSuccess
         | 
| @@ -366,6 +368,7 @@ module Aws | |
| 366 368 | 
             
                  end
         | 
| 367 369 | 
             
                  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#list_aliases-instance_method
         | 
| 368 370 | 
             
                  def list_aliases: (
         | 
| 371 | 
            +
                                      ?key_arn: ::String,
         | 
| 369 372 | 
             
                                      ?next_token: ::String,
         | 
| 370 373 | 
             
                                      ?max_results: ::Integer
         | 
| 371 374 | 
             
                                    ) -> _ListAliasesResponseSuccess
         | 
| @@ -436,7 +439,7 @@ module Aws | |
| 436 439 | 
             
                                      tags: Array[
         | 
| 437 440 | 
             
                                        {
         | 
| 438 441 | 
             
                                          key: ::String,
         | 
| 439 | 
            -
                                          value: ::String | 
| 442 | 
            +
                                          value: ::String
         | 
| 440 443 | 
             
                                        },
         | 
| 441 444 | 
             
                                      ]
         | 
| 442 445 | 
             
                                    ) -> _TagResourceResponseSuccess
         | 
    
        data/sig/resource.rbs
    CHANGED
    
    | @@ -39,7 +39,9 @@ module Aws | |
| 39 39 | 
             
                                    ?logger: untyped,
         | 
| 40 40 | 
             
                                    ?max_attempts: Integer,
         | 
| 41 41 | 
             
                                    ?profile: String,
         | 
| 42 | 
            +
                                    ?request_checksum_calculation: String,
         | 
| 42 43 | 
             
                                    ?request_min_compression_size_bytes: Integer,
         | 
| 44 | 
            +
                                    ?response_checksum_validation: String,
         | 
| 43 45 | 
             
                                    ?retry_backoff: Proc,
         | 
| 44 46 | 
             
                                    ?retry_base_delay: Float,
         | 
| 45 47 | 
             
                                    ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
         | 
    
        data/sig/types.rbs
    CHANGED
    
    | @@ -198,7 +198,7 @@ module Aws::PaymentCryptography | |
| 198 198 | 
             
                  attr_accessor wrapped_key_cryptogram: ::String
         | 
| 199 199 | 
             
                  attr_accessor import_token: ::String
         | 
| 200 200 | 
             
                  attr_accessor wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")
         | 
| 201 | 
            -
                  SENSITIVE: []
         | 
| 201 | 
            +
                  SENSITIVE: [:wrapped_key_cryptogram]
         | 
| 202 202 | 
             
                end
         | 
| 203 203 |  | 
| 204 204 | 
             
                class ImportKeyInput
         | 
| @@ -250,7 +250,7 @@ module Aws::PaymentCryptography | |
| 250 250 | 
             
                  attr_accessor wrapped_key_block: ::String
         | 
| 251 251 | 
             
                  attr_accessor key_block_format: ("X9_TR34_2012")
         | 
| 252 252 | 
             
                  attr_accessor random_nonce: ::String
         | 
| 253 | 
            -
                  SENSITIVE: [:signing_key_certificate]
         | 
| 253 | 
            +
                  SENSITIVE: [:signing_key_certificate, :wrapped_key_block]
         | 
| 254 254 | 
             
                end
         | 
| 255 255 |  | 
| 256 256 | 
             
                class InternalServerException
         | 
| @@ -315,6 +315,7 @@ module Aws::PaymentCryptography | |
| 315 315 | 
             
                end
         | 
| 316 316 |  | 
| 317 317 | 
             
                class ListAliasesInput
         | 
| 318 | 
            +
                  attr_accessor key_arn: ::String
         | 
| 318 319 | 
             
                  attr_accessor next_token: ::String
         | 
| 319 320 | 
             
                  attr_accessor max_results: ::Integer
         | 
| 320 321 | 
             
                  SENSITIVE: []
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-paymentcryptography
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.29.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:  | 
| 11 | 
            +
            date: 2025-01-15 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         | 
| @@ -19,7 +19,7 @@ dependencies: | |
| 19 19 | 
             
                    version: '3'
         | 
| 20 20 | 
             
                - - ">="
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            -
                    version: 3. | 
| 22 | 
            +
                    version: 3.216.0
         | 
| 23 23 | 
             
              type: :runtime
         | 
| 24 24 | 
             
              prerelease: false
         | 
| 25 25 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| @@ -29,7 +29,7 @@ dependencies: | |
| 29 29 | 
             
                    version: '3'
         | 
| 30 30 | 
             
                - - ">="
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 | 
            -
                    version: 3. | 
| 32 | 
            +
                    version: 3.216.0
         | 
| 33 33 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 34 34 | 
             
              name: aws-sigv4
         | 
| 35 35 | 
             
              requirement: !ruby/object:Gem::Requirement
         |