aws-sdk-core 3.165.0 → 3.174.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 +105 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-core/credential_provider_chain.rb +8 -5
- data/lib/aws-sdk-core/ecs_credentials.rb +111 -53
- data/lib/aws-sdk-core/endpoints/condition.rb +5 -0
- data/lib/aws-sdk-core/endpoints/endpoint_rule.rb +5 -1
- data/lib/aws-sdk-core/endpoints/error_rule.rb +5 -0
- data/lib/aws-sdk-core/endpoints/function.rb +5 -0
- data/lib/aws-sdk-core/endpoints/reference.rb +5 -0
- data/lib/aws-sdk-core/endpoints/rule.rb +5 -0
- data/lib/aws-sdk-core/endpoints/rule_set.rb +5 -0
- data/lib/aws-sdk-core/endpoints/rules_provider.rb +5 -0
- data/lib/aws-sdk-core/endpoints/templater.rb +6 -0
- data/lib/aws-sdk-core/endpoints/tree_rule.rb +5 -0
- data/lib/aws-sdk-core/endpoints/url.rb +1 -0
- data/lib/aws-sdk-core/json/error_handler.rb +15 -5
- data/lib/aws-sdk-core/log/formatter.rb +6 -0
- data/lib/aws-sdk-core/pageable_response.rb +3 -1
- data/lib/aws-sdk-core/plugins/checksum_algorithm.rb +1 -1
- data/lib/aws-sdk-core/plugins/retries/error_inspector.rb +2 -1
- data/lib/aws-sdk-core/plugins/sign.rb +17 -7
- data/lib/aws-sdk-core/plugins/user_agent.rb +117 -14
- data/lib/aws-sdk-core/shared_config.rb +38 -9
- data/lib/aws-sdk-core/sso_credentials.rb +79 -44
- data/lib/aws-sdk-core/sso_token_provider.rb +3 -2
- data/lib/aws-sdk-core/waiters/poller.rb +3 -1
- data/lib/aws-sdk-core/xml/parser/engines/oga.rb +2 -0
- data/lib/aws-sdk-core.rb +1 -0
- data/lib/aws-sdk-sso/client.rb +6 -1
- data/lib/aws-sdk-sso/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-sso/types.rb +0 -35
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-ssooidc/client.rb +6 -1
- data/lib/aws-sdk-ssooidc/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-ssooidc/types.rb +0 -32
- data/lib/aws-sdk-ssooidc.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +244 -241
- data/lib/aws-sdk-sts/endpoint_provider.rb +96 -213
- data/lib/aws-sdk-sts/types.rb +87 -195
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/seahorse/client/h2/connection.rb +12 -11
- metadata +4 -4
    
        data/lib/aws-sdk-sts/types.rb
    CHANGED
    
    | @@ -10,32 +10,6 @@ | |
| 10 10 | 
             
            module Aws::STS
         | 
| 11 11 | 
             
              module Types
         | 
| 12 12 |  | 
| 13 | 
            -
                # @note When making an API call, you may pass AssumeRoleRequest
         | 
| 14 | 
            -
                #   data as a hash:
         | 
| 15 | 
            -
                #
         | 
| 16 | 
            -
                #       {
         | 
| 17 | 
            -
                #         role_arn: "arnType", # required
         | 
| 18 | 
            -
                #         role_session_name: "roleSessionNameType", # required
         | 
| 19 | 
            -
                #         policy_arns: [
         | 
| 20 | 
            -
                #           {
         | 
| 21 | 
            -
                #             arn: "arnType",
         | 
| 22 | 
            -
                #           },
         | 
| 23 | 
            -
                #         ],
         | 
| 24 | 
            -
                #         policy: "sessionPolicyDocumentType",
         | 
| 25 | 
            -
                #         duration_seconds: 1,
         | 
| 26 | 
            -
                #         tags: [
         | 
| 27 | 
            -
                #           {
         | 
| 28 | 
            -
                #             key: "tagKeyType", # required
         | 
| 29 | 
            -
                #             value: "tagValueType", # required
         | 
| 30 | 
            -
                #           },
         | 
| 31 | 
            -
                #         ],
         | 
| 32 | 
            -
                #         transitive_tag_keys: ["tagKeyType"],
         | 
| 33 | 
            -
                #         external_id: "externalIdType",
         | 
| 34 | 
            -
                #         serial_number: "serialNumberType",
         | 
| 35 | 
            -
                #         token_code: "tokenCodeType",
         | 
| 36 | 
            -
                #         source_identity: "sourceIdentityType",
         | 
| 37 | 
            -
                #       }
         | 
| 38 | 
            -
                #
         | 
| 39 13 | 
             
                # @!attribute [rw] role_arn
         | 
| 40 14 | 
             
                #   The Amazon Resource Name (ARN) of the role to assume.
         | 
| 41 15 | 
             
                #   @return [String]
         | 
| @@ -70,12 +44,13 @@ module Aws::STS | |
| 70 44 | 
             
                #   Web Services Service Namespaces][1] in the Amazon Web Services
         | 
| 71 45 | 
             
                #   General Reference.
         | 
| 72 46 | 
             
                #
         | 
| 73 | 
            -
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed  | 
| 74 | 
            -
                #    | 
| 75 | 
            -
                #   separate limit. Your request can fail for | 
| 76 | 
            -
                #   plaintext meets the other requirements. The | 
| 77 | 
            -
                #   response element indicates by percentage how | 
| 78 | 
            -
                #   tags for your request are to the upper size | 
| 47 | 
            +
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
         | 
| 48 | 
            +
                #   session policy, managed policy ARNs, and session tags into a packed
         | 
| 49 | 
            +
                #   binary format that has a separate limit. Your request can fail for
         | 
| 50 | 
            +
                #   this limit even if your plaintext meets the other requirements. The
         | 
| 51 | 
            +
                #   `PackedPolicySize` response element indicates by percentage how
         | 
| 52 | 
            +
                #   close the policies and tags for your request are to the upper size
         | 
| 53 | 
            +
                #   limit.
         | 
| 79 54 | 
             
                #
         | 
| 80 55 | 
             
                #    </note>
         | 
| 81 56 | 
             
                #
         | 
| @@ -116,12 +91,13 @@ module Aws::STS | |
| 116 91 | 
             
                #   include the tab (\\u0009), linefeed (\\u000A), and carriage return
         | 
| 117 92 | 
             
                #   (\\u000D) characters.
         | 
| 118 93 | 
             
                #
         | 
| 119 | 
            -
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed  | 
| 120 | 
            -
                #    | 
| 121 | 
            -
                #   separate limit. Your request can fail for | 
| 122 | 
            -
                #   plaintext meets the other requirements. The | 
| 123 | 
            -
                #   response element indicates by percentage how | 
| 124 | 
            -
                #   tags for your request are to the upper size | 
| 94 | 
            +
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
         | 
| 95 | 
            +
                #   session policy, managed policy ARNs, and session tags into a packed
         | 
| 96 | 
            +
                #   binary format that has a separate limit. Your request can fail for
         | 
| 97 | 
            +
                #   this limit even if your plaintext meets the other requirements. The
         | 
| 98 | 
            +
                #   `PackedPolicySize` response element indicates by percentage how
         | 
| 99 | 
            +
                #   close the policies and tags for your request are to the upper size
         | 
| 100 | 
            +
                #   limit.
         | 
| 125 101 | 
             
                #
         | 
| 126 102 | 
             
                #    </note>
         | 
| 127 103 | 
             
                #
         | 
| @@ -181,12 +157,13 @@ module Aws::STS | |
| 181 157 | 
             
                #   values can’t exceed 256 characters. For these and additional limits,
         | 
| 182 158 | 
             
                #   see [IAM and STS Character Limits][2] in the *IAM User Guide*.
         | 
| 183 159 | 
             
                #
         | 
| 184 | 
            -
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed  | 
| 185 | 
            -
                #    | 
| 186 | 
            -
                #   separate limit. Your request can fail for | 
| 187 | 
            -
                #   plaintext meets the other requirements. The | 
| 188 | 
            -
                #   response element indicates by percentage how | 
| 189 | 
            -
                #   tags for your request are to the upper size | 
| 160 | 
            +
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
         | 
| 161 | 
            +
                #   session policy, managed policy ARNs, and session tags into a packed
         | 
| 162 | 
            +
                #   binary format that has a separate limit. Your request can fail for
         | 
| 163 | 
            +
                #   this limit even if your plaintext meets the other requirements. The
         | 
| 164 | 
            +
                #   `PackedPolicySize` response element indicates by percentage how
         | 
| 165 | 
            +
                #   close the policies and tags for your request are to the upper size
         | 
| 166 | 
            +
                #   limit.
         | 
| 190 167 | 
             
                #
         | 
| 191 168 | 
             
                #    </note>
         | 
| 192 169 | 
             
                #
         | 
| @@ -394,22 +371,6 @@ module Aws::STS | |
| 394 371 | 
             
                  include Aws::Structure
         | 
| 395 372 | 
             
                end
         | 
| 396 373 |  | 
| 397 | 
            -
                # @note When making an API call, you may pass AssumeRoleWithSAMLRequest
         | 
| 398 | 
            -
                #   data as a hash:
         | 
| 399 | 
            -
                #
         | 
| 400 | 
            -
                #       {
         | 
| 401 | 
            -
                #         role_arn: "arnType", # required
         | 
| 402 | 
            -
                #         principal_arn: "arnType", # required
         | 
| 403 | 
            -
                #         saml_assertion: "SAMLAssertionType", # required
         | 
| 404 | 
            -
                #         policy_arns: [
         | 
| 405 | 
            -
                #           {
         | 
| 406 | 
            -
                #             arn: "arnType",
         | 
| 407 | 
            -
                #           },
         | 
| 408 | 
            -
                #         ],
         | 
| 409 | 
            -
                #         policy: "sessionPolicyDocumentType",
         | 
| 410 | 
            -
                #         duration_seconds: 1,
         | 
| 411 | 
            -
                #       }
         | 
| 412 | 
            -
                #
         | 
| 413 374 | 
             
                # @!attribute [rw] role_arn
         | 
| 414 375 | 
             
                #   The Amazon Resource Name (ARN) of the role that the caller is
         | 
| 415 376 | 
             
                #   assuming.
         | 
| @@ -443,12 +404,13 @@ module Aws::STS | |
| 443 404 | 
             
                #   Web Services Service Namespaces][1] in the Amazon Web Services
         | 
| 444 405 | 
             
                #   General Reference.
         | 
| 445 406 | 
             
                #
         | 
| 446 | 
            -
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed  | 
| 447 | 
            -
                #    | 
| 448 | 
            -
                #   separate limit. Your request can fail for | 
| 449 | 
            -
                #   plaintext meets the other requirements. The | 
| 450 | 
            -
                #   response element indicates by percentage how | 
| 451 | 
            -
                #   tags for your request are to the upper size | 
| 407 | 
            +
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
         | 
| 408 | 
            +
                #   session policy, managed policy ARNs, and session tags into a packed
         | 
| 409 | 
            +
                #   binary format that has a separate limit. Your request can fail for
         | 
| 410 | 
            +
                #   this limit even if your plaintext meets the other requirements. The
         | 
| 411 | 
            +
                #   `PackedPolicySize` response element indicates by percentage how
         | 
| 412 | 
            +
                #   close the policies and tags for your request are to the upper size
         | 
| 413 | 
            +
                #   limit.
         | 
| 452 414 | 
             
                #
         | 
| 453 415 | 
             
                #    </note>
         | 
| 454 416 | 
             
                #
         | 
| @@ -489,12 +451,13 @@ module Aws::STS | |
| 489 451 | 
             
                #   include the tab (\\u0009), linefeed (\\u000A), and carriage return
         | 
| 490 452 | 
             
                #   (\\u000D) characters.
         | 
| 491 453 | 
             
                #
         | 
| 492 | 
            -
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed  | 
| 493 | 
            -
                #    | 
| 494 | 
            -
                #   separate limit. Your request can fail for | 
| 495 | 
            -
                #   plaintext meets the other requirements. The | 
| 496 | 
            -
                #   response element indicates by percentage how | 
| 497 | 
            -
                #   tags for your request are to the upper size | 
| 454 | 
            +
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
         | 
| 455 | 
            +
                #   session policy, managed policy ARNs, and session tags into a packed
         | 
| 456 | 
            +
                #   binary format that has a separate limit. Your request can fail for
         | 
| 457 | 
            +
                #   this limit even if your plaintext meets the other requirements. The
         | 
| 458 | 
            +
                #   `PackedPolicySize` response element indicates by percentage how
         | 
| 459 | 
            +
                #   close the policies and tags for your request are to the upper size
         | 
| 460 | 
            +
                #   limit.
         | 
| 498 461 | 
             
                #
         | 
| 499 462 | 
             
                #    </note>
         | 
| 500 463 | 
             
                #
         | 
| @@ -545,7 +508,7 @@ module Aws::STS | |
| 545 508 | 
             
                  :policy_arns,
         | 
| 546 509 | 
             
                  :policy,
         | 
| 547 510 | 
             
                  :duration_seconds)
         | 
| 548 | 
            -
                  SENSITIVE = []
         | 
| 511 | 
            +
                  SENSITIVE = [:saml_assertion]
         | 
| 549 512 | 
             
                  include Aws::Structure
         | 
| 550 513 | 
             
                end
         | 
| 551 514 |  | 
| @@ -613,7 +576,7 @@ module Aws::STS | |
| 613 576 | 
             
                #     in IAM.
         | 
| 614 577 | 
             
                #
         | 
| 615 578 | 
             
                #   The combination of `NameQualifier` and `Subject` can be used to
         | 
| 616 | 
            -
                #   uniquely identify a  | 
| 579 | 
            +
                #   uniquely identify a user.
         | 
| 617 580 | 
             
                #
         | 
| 618 581 | 
             
                #   The following pseudocode shows how the hash value is calculated:
         | 
| 619 582 | 
             
                #
         | 
| @@ -665,23 +628,6 @@ module Aws::STS | |
| 665 628 | 
             
                  include Aws::Structure
         | 
| 666 629 | 
             
                end
         | 
| 667 630 |  | 
| 668 | 
            -
                # @note When making an API call, you may pass AssumeRoleWithWebIdentityRequest
         | 
| 669 | 
            -
                #   data as a hash:
         | 
| 670 | 
            -
                #
         | 
| 671 | 
            -
                #       {
         | 
| 672 | 
            -
                #         role_arn: "arnType", # required
         | 
| 673 | 
            -
                #         role_session_name: "roleSessionNameType", # required
         | 
| 674 | 
            -
                #         web_identity_token: "clientTokenType", # required
         | 
| 675 | 
            -
                #         provider_id: "urlType",
         | 
| 676 | 
            -
                #         policy_arns: [
         | 
| 677 | 
            -
                #           {
         | 
| 678 | 
            -
                #             arn: "arnType",
         | 
| 679 | 
            -
                #           },
         | 
| 680 | 
            -
                #         ],
         | 
| 681 | 
            -
                #         policy: "sessionPolicyDocumentType",
         | 
| 682 | 
            -
                #         duration_seconds: 1,
         | 
| 683 | 
            -
                #       }
         | 
| 684 | 
            -
                #
         | 
| 685 631 | 
             
                # @!attribute [rw] role_arn
         | 
| 686 632 | 
             
                #   The Amazon Resource Name (ARN) of the role that the caller is
         | 
| 687 633 | 
             
                #   assuming.
         | 
| @@ -733,12 +679,13 @@ module Aws::STS | |
| 733 679 | 
             
                #   Web Services Service Namespaces][1] in the Amazon Web Services
         | 
| 734 680 | 
             
                #   General Reference.
         | 
| 735 681 | 
             
                #
         | 
| 736 | 
            -
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed  | 
| 737 | 
            -
                #    | 
| 738 | 
            -
                #   separate limit. Your request can fail for | 
| 739 | 
            -
                #   plaintext meets the other requirements. The | 
| 740 | 
            -
                #   response element indicates by percentage how | 
| 741 | 
            -
                #   tags for your request are to the upper size | 
| 682 | 
            +
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
         | 
| 683 | 
            +
                #   session policy, managed policy ARNs, and session tags into a packed
         | 
| 684 | 
            +
                #   binary format that has a separate limit. Your request can fail for
         | 
| 685 | 
            +
                #   this limit even if your plaintext meets the other requirements. The
         | 
| 686 | 
            +
                #   `PackedPolicySize` response element indicates by percentage how
         | 
| 687 | 
            +
                #   close the policies and tags for your request are to the upper size
         | 
| 688 | 
            +
                #   limit.
         | 
| 742 689 | 
             
                #
         | 
| 743 690 | 
             
                #    </note>
         | 
| 744 691 | 
             
                #
         | 
| @@ -779,12 +726,13 @@ module Aws::STS | |
| 779 726 | 
             
                #   include the tab (\\u0009), linefeed (\\u000A), and carriage return
         | 
| 780 727 | 
             
                #   (\\u000D) characters.
         | 
| 781 728 | 
             
                #
         | 
| 782 | 
            -
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed  | 
| 783 | 
            -
                #    | 
| 784 | 
            -
                #   separate limit. Your request can fail for | 
| 785 | 
            -
                #   plaintext meets the other requirements. The | 
| 786 | 
            -
                #   response element indicates by percentage how | 
| 787 | 
            -
                #   tags for your request are to the upper size | 
| 729 | 
            +
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
         | 
| 730 | 
            +
                #   session policy, managed policy ARNs, and session tags into a packed
         | 
| 731 | 
            +
                #   binary format that has a separate limit. Your request can fail for
         | 
| 732 | 
            +
                #   this limit even if your plaintext meets the other requirements. The
         | 
| 733 | 
            +
                #   `PackedPolicySize` response element indicates by percentage how
         | 
| 734 | 
            +
                #   close the policies and tags for your request are to the upper size
         | 
| 735 | 
            +
                #   limit.
         | 
| 788 736 | 
             
                #
         | 
| 789 737 | 
             
                #    </note>
         | 
| 790 738 | 
             
                #
         | 
| @@ -832,7 +780,7 @@ module Aws::STS | |
| 832 780 | 
             
                  :policy_arns,
         | 
| 833 781 | 
             
                  :policy,
         | 
| 834 782 | 
             
                  :duration_seconds)
         | 
| 835 | 
            -
                  SENSITIVE = []
         | 
| 783 | 
            +
                  SENSITIVE = [:web_identity_token]
         | 
| 836 784 | 
             
                  include Aws::Structure
         | 
| 837 785 | 
             
                end
         | 
| 838 786 |  | 
| @@ -993,17 +941,10 @@ module Aws::STS | |
| 993 941 | 
             
                  :secret_access_key,
         | 
| 994 942 | 
             
                  :session_token,
         | 
| 995 943 | 
             
                  :expiration)
         | 
| 996 | 
            -
                  SENSITIVE = []
         | 
| 944 | 
            +
                  SENSITIVE = [:secret_access_key]
         | 
| 997 945 | 
             
                  include Aws::Structure
         | 
| 998 946 | 
             
                end
         | 
| 999 947 |  | 
| 1000 | 
            -
                # @note When making an API call, you may pass DecodeAuthorizationMessageRequest
         | 
| 1001 | 
            -
                #   data as a hash:
         | 
| 1002 | 
            -
                #
         | 
| 1003 | 
            -
                #       {
         | 
| 1004 | 
            -
                #         encoded_message: "encodedMessageType", # required
         | 
| 1005 | 
            -
                #       }
         | 
| 1006 | 
            -
                #
         | 
| 1007 948 | 
             
                # @!attribute [rw] encoded_message
         | 
| 1008 949 | 
             
                #   The encoded message that was returned with the response.
         | 
| 1009 950 | 
             
                #   @return [String]
         | 
| @@ -1074,13 +1015,6 @@ module Aws::STS | |
| 1074 1015 | 
             
                  include Aws::Structure
         | 
| 1075 1016 | 
             
                end
         | 
| 1076 1017 |  | 
| 1077 | 
            -
                # @note When making an API call, you may pass GetAccessKeyInfoRequest
         | 
| 1078 | 
            -
                #   data as a hash:
         | 
| 1079 | 
            -
                #
         | 
| 1080 | 
            -
                #       {
         | 
| 1081 | 
            -
                #         access_key_id: "accessKeyIdType", # required
         | 
| 1082 | 
            -
                #       }
         | 
| 1083 | 
            -
                #
         | 
| 1084 1018 | 
             
                # @!attribute [rw] access_key_id
         | 
| 1085 1019 | 
             
                #   The identifier of an access key.
         | 
| 1086 1020 | 
             
                #
         | 
| @@ -1149,26 +1083,6 @@ module Aws::STS | |
| 1149 1083 | 
             
                  include Aws::Structure
         | 
| 1150 1084 | 
             
                end
         | 
| 1151 1085 |  | 
| 1152 | 
            -
                # @note When making an API call, you may pass GetFederationTokenRequest
         | 
| 1153 | 
            -
                #   data as a hash:
         | 
| 1154 | 
            -
                #
         | 
| 1155 | 
            -
                #       {
         | 
| 1156 | 
            -
                #         name: "userNameType", # required
         | 
| 1157 | 
            -
                #         policy: "sessionPolicyDocumentType",
         | 
| 1158 | 
            -
                #         policy_arns: [
         | 
| 1159 | 
            -
                #           {
         | 
| 1160 | 
            -
                #             arn: "arnType",
         | 
| 1161 | 
            -
                #           },
         | 
| 1162 | 
            -
                #         ],
         | 
| 1163 | 
            -
                #         duration_seconds: 1,
         | 
| 1164 | 
            -
                #         tags: [
         | 
| 1165 | 
            -
                #           {
         | 
| 1166 | 
            -
                #             key: "tagKeyType", # required
         | 
| 1167 | 
            -
                #             value: "tagValueType", # required
         | 
| 1168 | 
            -
                #           },
         | 
| 1169 | 
            -
                #         ],
         | 
| 1170 | 
            -
                #       }
         | 
| 1171 | 
            -
                #
         | 
| 1172 1086 | 
             
                # @!attribute [rw] name
         | 
| 1173 1087 | 
             
                #   The name of the federated user. The name is used as an identifier
         | 
| 1174 1088 | 
             
                #   for the temporary security credentials (such as `Bob`). For example,
         | 
| @@ -1187,8 +1101,8 @@ module Aws::STS | |
| 1187 1101 | 
             
                #
         | 
| 1188 1102 | 
             
                #   You must pass an inline or managed [session policy][1] to this
         | 
| 1189 1103 | 
             
                #   operation. You can pass a single JSON policy document to use as an
         | 
| 1190 | 
            -
                #   inline session policy. You can also specify up to 10 managed
         | 
| 1191 | 
            -
                #    | 
| 1104 | 
            +
                #   inline session policy. You can also specify up to 10 managed policy
         | 
| 1105 | 
            +
                #   Amazon Resource Names (ARNs) to use as managed session policies.
         | 
| 1192 1106 | 
             
                #
         | 
| 1193 1107 | 
             
                #   This parameter is optional. However, if you do not pass any session
         | 
| 1194 1108 | 
             
                #   policies, then the resulting federated user session has no
         | 
| @@ -1216,12 +1130,13 @@ module Aws::STS | |
| 1216 1130 | 
             
                #   include the tab (\\u0009), linefeed (\\u000A), and carriage return
         | 
| 1217 1131 | 
             
                #   (\\u000D) characters.
         | 
| 1218 1132 | 
             
                #
         | 
| 1219 | 
            -
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed  | 
| 1220 | 
            -
                #    | 
| 1221 | 
            -
                #   separate limit. Your request can fail for | 
| 1222 | 
            -
                #   plaintext meets the other requirements. The | 
| 1223 | 
            -
                #   response element indicates by percentage how | 
| 1224 | 
            -
                #   tags for your request are to the upper size | 
| 1133 | 
            +
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
         | 
| 1134 | 
            +
                #   session policy, managed policy ARNs, and session tags into a packed
         | 
| 1135 | 
            +
                #   binary format that has a separate limit. Your request can fail for
         | 
| 1136 | 
            +
                #   this limit even if your plaintext meets the other requirements. The
         | 
| 1137 | 
            +
                #   `PackedPolicySize` response element indicates by percentage how
         | 
| 1138 | 
            +
                #   close the policies and tags for your request are to the upper size
         | 
| 1139 | 
            +
                #   limit.
         | 
| 1225 1140 | 
             
                #
         | 
| 1226 1141 | 
             
                #    </note>
         | 
| 1227 1142 | 
             
                #
         | 
| @@ -1238,13 +1153,13 @@ module Aws::STS | |
| 1238 1153 | 
             
                #
         | 
| 1239 1154 | 
             
                #   You must pass an inline or managed [session policy][1] to this
         | 
| 1240 1155 | 
             
                #   operation. You can pass a single JSON policy document to use as an
         | 
| 1241 | 
            -
                #   inline session policy. You can also specify up to 10 managed
         | 
| 1242 | 
            -
                #    | 
| 1243 | 
            -
                #   use for both inline and managed session policies | 
| 1244 | 
            -
                #   characters. You can provide up to 10 managed | 
| 1245 | 
            -
                #   information about ARNs, see [Amazon Resource | 
| 1246 | 
            -
                #   Web Services Service Namespaces][2] in the | 
| 1247 | 
            -
                #   General Reference.
         | 
| 1156 | 
            +
                #   inline session policy. You can also specify up to 10 managed policy
         | 
| 1157 | 
            +
                #   Amazon Resource Names (ARNs) to use as managed session policies. The
         | 
| 1158 | 
            +
                #   plaintext that you use for both inline and managed session policies
         | 
| 1159 | 
            +
                #   can't exceed 2,048 characters. You can provide up to 10 managed
         | 
| 1160 | 
            +
                #   policy ARNs. For more information about ARNs, see [Amazon Resource
         | 
| 1161 | 
            +
                #   Names (ARNs) and Amazon Web Services Service Namespaces][2] in the
         | 
| 1162 | 
            +
                #   Amazon Web Services General Reference.
         | 
| 1248 1163 | 
             
                #
         | 
| 1249 1164 | 
             
                #   This parameter is optional. However, if you do not pass any session
         | 
| 1250 1165 | 
             
                #   policies, then the resulting federated user session has no
         | 
| @@ -1265,12 +1180,13 @@ module Aws::STS | |
| 1265 1180 | 
             
                #   are granted in addition to the permissions that are granted by the
         | 
| 1266 1181 | 
             
                #   session policies.
         | 
| 1267 1182 | 
             
                #
         | 
| 1268 | 
            -
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed  | 
| 1269 | 
            -
                #    | 
| 1270 | 
            -
                #   separate limit. Your request can fail for | 
| 1271 | 
            -
                #   plaintext meets the other requirements. The | 
| 1272 | 
            -
                #   response element indicates by percentage how | 
| 1273 | 
            -
                #   tags for your request are to the upper size | 
| 1183 | 
            +
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
         | 
| 1184 | 
            +
                #   session policy, managed policy ARNs, and session tags into a packed
         | 
| 1185 | 
            +
                #   binary format that has a separate limit. Your request can fail for
         | 
| 1186 | 
            +
                #   this limit even if your plaintext meets the other requirements. The
         | 
| 1187 | 
            +
                #   `PackedPolicySize` response element indicates by percentage how
         | 
| 1188 | 
            +
                #   close the policies and tags for your request are to the upper size
         | 
| 1189 | 
            +
                #   limit.
         | 
| 1274 1190 | 
             
                #
         | 
| 1275 1191 | 
             
                #    </note>
         | 
| 1276 1192 | 
             
                #
         | 
| @@ -1284,11 +1200,10 @@ module Aws::STS | |
| 1284 1200 | 
             
                #   The duration, in seconds, that the session should last. Acceptable
         | 
| 1285 1201 | 
             
                #   durations for federation sessions range from 900 seconds (15
         | 
| 1286 1202 | 
             
                #   minutes) to 129,600 seconds (36 hours), with 43,200 seconds (12
         | 
| 1287 | 
            -
                #   hours) as the default. Sessions obtained using  | 
| 1288 | 
            -
                #    | 
| 1289 | 
            -
                #    | 
| 1290 | 
            -
                #    | 
| 1291 | 
            -
                #   to one hour.
         | 
| 1203 | 
            +
                #   hours) as the default. Sessions obtained using root user credentials
         | 
| 1204 | 
            +
                #   are restricted to a maximum of 3,600 seconds (one hour). If the
         | 
| 1205 | 
            +
                #   specified duration is longer than one hour, the session obtained by
         | 
| 1206 | 
            +
                #   using root user credentials defaults to one hour.
         | 
| 1292 1207 | 
             
                #   @return [Integer]
         | 
| 1293 1208 | 
             
                #
         | 
| 1294 1209 | 
             
                # @!attribute [rw] tags
         | 
| @@ -1301,12 +1216,13 @@ module Aws::STS | |
| 1301 1216 | 
             
                #   values can’t exceed 256 characters. For these and additional limits,
         | 
| 1302 1217 | 
             
                #   see [IAM and STS Character Limits][2] in the *IAM User Guide*.
         | 
| 1303 1218 | 
             
                #
         | 
| 1304 | 
            -
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed  | 
| 1305 | 
            -
                #    | 
| 1306 | 
            -
                #   separate limit. Your request can fail for | 
| 1307 | 
            -
                #   plaintext meets the other requirements. The | 
| 1308 | 
            -
                #   response element indicates by percentage how | 
| 1309 | 
            -
                #   tags for your request are to the upper size | 
| 1219 | 
            +
                #   <note markdown="1"> An Amazon Web Services conversion compresses the passed inline
         | 
| 1220 | 
            +
                #   session policy, managed policy ARNs, and session tags into a packed
         | 
| 1221 | 
            +
                #   binary format that has a separate limit. Your request can fail for
         | 
| 1222 | 
            +
                #   this limit even if your plaintext meets the other requirements. The
         | 
| 1223 | 
            +
                #   `PackedPolicySize` response element indicates by percentage how
         | 
| 1224 | 
            +
                #   close the policies and tags for your request are to the upper size
         | 
| 1225 | 
            +
                #   limit.
         | 
| 1310 1226 | 
             
                #
         | 
| 1311 1227 | 
             
                #    </note>
         | 
| 1312 1228 | 
             
                #
         | 
| @@ -1379,15 +1295,6 @@ module Aws::STS | |
| 1379 1295 | 
             
                  include Aws::Structure
         | 
| 1380 1296 | 
             
                end
         | 
| 1381 1297 |  | 
| 1382 | 
            -
                # @note When making an API call, you may pass GetSessionTokenRequest
         | 
| 1383 | 
            -
                #   data as a hash:
         | 
| 1384 | 
            -
                #
         | 
| 1385 | 
            -
                #       {
         | 
| 1386 | 
            -
                #         duration_seconds: 1,
         | 
| 1387 | 
            -
                #         serial_number: "serialNumberType",
         | 
| 1388 | 
            -
                #         token_code: "tokenCodeType",
         | 
| 1389 | 
            -
                #       }
         | 
| 1390 | 
            -
                #
         | 
| 1391 1298 | 
             
                # @!attribute [rw] duration_seconds
         | 
| 1392 1299 | 
             
                #   The duration, in seconds, that the credentials should remain valid.
         | 
| 1393 1300 | 
             
                #   Acceptable durations for IAM user sessions range from 900 seconds
         | 
| @@ -1571,13 +1478,6 @@ module Aws::STS | |
| 1571 1478 | 
             
                # A reference to the IAM managed policy that is passed as a session
         | 
| 1572 1479 | 
             
                # policy for a role session or a federated user session.
         | 
| 1573 1480 | 
             
                #
         | 
| 1574 | 
            -
                # @note When making an API call, you may pass PolicyDescriptorType
         | 
| 1575 | 
            -
                #   data as a hash:
         | 
| 1576 | 
            -
                #
         | 
| 1577 | 
            -
                #       {
         | 
| 1578 | 
            -
                #         arn: "arnType",
         | 
| 1579 | 
            -
                #       }
         | 
| 1580 | 
            -
                #
         | 
| 1581 1481 | 
             
                # @!attribute [rw] arn
         | 
| 1582 1482 | 
             
                #   The Amazon Resource Name (ARN) of the IAM managed policy to use as a
         | 
| 1583 1483 | 
             
                #   session policy for the role. For more information about ARNs, see
         | 
| @@ -1628,14 +1528,6 @@ module Aws::STS | |
| 1628 1528 | 
             
                #
         | 
| 1629 1529 | 
             
                # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html
         | 
| 1630 1530 | 
             
                #
         | 
| 1631 | 
            -
                # @note When making an API call, you may pass Tag
         | 
| 1632 | 
            -
                #   data as a hash:
         | 
| 1633 | 
            -
                #
         | 
| 1634 | 
            -
                #       {
         | 
| 1635 | 
            -
                #         key: "tagKeyType", # required
         | 
| 1636 | 
            -
                #         value: "tagValueType", # required
         | 
| 1637 | 
            -
                #       }
         | 
| 1638 | 
            -
                #
         | 
| 1639 1531 | 
             
                # @!attribute [rw] key
         | 
| 1640 1532 | 
             
                #   The key for a session tag.
         | 
| 1641 1533 | 
             
                #
         | 
    
        data/lib/aws-sdk-sts.rb
    CHANGED
    
    
| @@ -43,7 +43,9 @@ module Seahorse | |
| 43 43 | 
             
                      @h2_client = HTTP2::Client.new(
         | 
| 44 44 | 
             
                        settings_max_concurrent_streams: max_concurrent_streams
         | 
| 45 45 | 
             
                      )
         | 
| 46 | 
            -
                      @logger =  | 
| 46 | 
            +
                      @logger = if @http_wire_trace
         | 
| 47 | 
            +
                        options[:logger] || Logger.new($stdout)
         | 
| 48 | 
            +
                      end
         | 
| 47 49 | 
             
                      @chunk_size = options[:read_chunk_size] || CHUNKSIZE
         | 
| 48 50 | 
             
                      @errors = []
         | 
| 49 51 | 
             
                      @status = :ready
         | 
| @@ -104,7 +106,7 @@ module Seahorse | |
| 104 106 | 
             
                      @mutex.synchronize {
         | 
| 105 107 | 
             
                        return if @socket_thread
         | 
| 106 108 | 
             
                        @socket_thread = Thread.new do
         | 
| 107 | 
            -
                          while !@socket.closed?
         | 
| 109 | 
            +
                          while @socket && !@socket.closed?
         | 
| 108 110 | 
             
                            begin
         | 
| 109 111 | 
             
                              data = @socket.read_nonblock(@chunk_size)
         | 
| 110 112 | 
             
                              @h2_client << data
         | 
| @@ -130,6 +132,7 @@ module Seahorse | |
| 130 132 | 
             
                              self.close!
         | 
| 131 133 | 
             
                            end
         | 
| 132 134 | 
             
                          end
         | 
| 135 | 
            +
                          @socket_thread = nil
         | 
| 133 136 | 
             
                        end
         | 
| 134 137 | 
             
                        @socket_thread.abort_on_exception = true
         | 
| 135 138 | 
             
                      }
         | 
| @@ -142,10 +145,6 @@ module Seahorse | |
| 142 145 | 
             
                          @socket.close
         | 
| 143 146 | 
             
                          @socket = nil
         | 
| 144 147 | 
             
                        end
         | 
| 145 | 
            -
                        if @socket_thread
         | 
| 146 | 
            -
                          Thread.kill(@socket_thread)
         | 
| 147 | 
            -
                          @socket_thread = nil
         | 
| 148 | 
            -
                        end
         | 
| 149 148 | 
             
                        @status = :closed
         | 
| 150 149 | 
             
                      }
         | 
| 151 150 | 
             
                    end
         | 
| @@ -183,11 +182,13 @@ module Seahorse | |
| 183 182 | 
             
                          @socket.flush
         | 
| 184 183 | 
             
                        end
         | 
| 185 184 | 
             
                      end
         | 
| 186 | 
            -
                      @ | 
| 187 | 
            -
                         | 
| 188 | 
            -
             | 
| 189 | 
            -
             | 
| 190 | 
            -
                         | 
| 185 | 
            +
                      if @http_wire_trace
         | 
| 186 | 
            +
                        @h2_client.on(:frame_sent) do |frame|
         | 
| 187 | 
            +
                          debug_output("frame: #{frame.inspect}", :send)
         | 
| 188 | 
            +
                        end
         | 
| 189 | 
            +
                        @h2_client.on(:frame_received) do |frame|
         | 
| 190 | 
            +
                          debug_output("frame: #{frame.inspect}", :receive)
         | 
| 191 | 
            +
                        end
         | 
| 191 192 | 
             
                      end
         | 
| 192 193 | 
             
                    end
         | 
| 193 194 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-core
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3. | 
| 4 | 
            +
              version: 3.174.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: 2023-05-31 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: jmespath
         | 
| @@ -56,14 +56,14 @@ dependencies: | |
| 56 56 | 
             
                requirements:
         | 
| 57 57 | 
             
                - - "~>"
         | 
| 58 58 | 
             
                  - !ruby/object:Gem::Version
         | 
| 59 | 
            -
                    version: '1. | 
| 59 | 
            +
                    version: '1.5'
         | 
| 60 60 | 
             
              type: :runtime
         | 
| 61 61 | 
             
              prerelease: false
         | 
| 62 62 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 63 63 | 
             
                requirements:
         | 
| 64 64 | 
             
                - - "~>"
         | 
| 65 65 | 
             
                  - !ruby/object:Gem::Version
         | 
| 66 | 
            -
                    version: '1. | 
| 66 | 
            +
                    version: '1.5'
         | 
| 67 67 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 68 68 | 
             
              name: aws-eventstream
         | 
| 69 69 | 
             
              requirement: !ruby/object:Gem::Requirement
         |