rebase: bump github.com/aws/aws-sdk-go-v2/service/sts

Bumps [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2) from 1.17.3 to 1.17.5.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.17.3...config/v1.17.5)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2022-11-23 13:53:39 +00:00 committed by mergify[bot]
parent 165758e3a7
commit eddfa8d2f4
10 changed files with 178 additions and 165 deletions

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.18
require ( require (
github.com/IBM/keyprotect-go-client v0.9.0 github.com/IBM/keyprotect-go-client v0.9.0
github.com/aws/aws-sdk-go v1.44.143 github.com/aws/aws-sdk-go v1.44.143
github.com/aws/aws-sdk-go-v2/service/sts v1.17.3 github.com/aws/aws-sdk-go-v2/service/sts v1.17.5
github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000 github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000
// TODO: API for managing subvolume metadata and snapshot metadata requires `ceph_ci_untested` build-tag // TODO: API for managing subvolume metadata and snapshot metadata requires `ceph_ci_untested` build-tag
github.com/ceph/go-ceph v0.18.0 github.com/ceph/go-ceph v0.18.0

4
go.sum
View File

@ -150,8 +150,8 @@ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.19 h1:oRHDrwCTVT8ZXi4sr9
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.19/go.mod h1:6Q0546uHDp421okhmmGfbxzq2hBqbXFNpi4k+Q1JnQA= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.19/go.mod h1:6Q0546uHDp421okhmmGfbxzq2hBqbXFNpi4k+Q1JnQA=
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.19 h1:GE25AWCdNUPh9AOJzI9KIJnja7IwUc1WyUqz/JTyJ/I= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.19 h1:GE25AWCdNUPh9AOJzI9KIJnja7IwUc1WyUqz/JTyJ/I=
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.19/go.mod h1:02CP6iuYP+IVnBX5HULVdSAku/85eHB2Y9EsFhrkEwU= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.19/go.mod h1:02CP6iuYP+IVnBX5HULVdSAku/85eHB2Y9EsFhrkEwU=
github.com/aws/aws-sdk-go-v2/service/sts v1.17.3 h1:WMAsVk4yQTHOZ2m7dFnF5Azr/aDecBbpWRwc+M6iFIM= github.com/aws/aws-sdk-go-v2/service/sts v1.17.5 h1:60SJ4lhvn///8ygCzYy2l53bFW/Q15bVfyjyAWo6zuw=
github.com/aws/aws-sdk-go-v2/service/sts v1.17.3/go.mod h1:bXcN3koeVYiJcdDU89n3kCYILob7Y34AeLopUbZgLT4= github.com/aws/aws-sdk-go-v2/service/sts v1.17.5/go.mod h1:bXcN3koeVYiJcdDU89n3kCYILob7Y34AeLopUbZgLT4=
github.com/aws/smithy-go v1.13.4 h1:/RN2z1txIJWeXeOkzX+Hk/4Uuvv7dWtCjbmVJcrskyk= github.com/aws/smithy-go v1.13.4 h1:/RN2z1txIJWeXeOkzX+Hk/4Uuvv7dWtCjbmVJcrskyk=
github.com/aws/smithy-go v1.13.4/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/aws/smithy-go v1.13.4/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA=
github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod h1:AuiFmCCPBSrqvVMvuqFuk0qogytodnVFVSN5CeJB8Gc= github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod h1:AuiFmCCPBSrqvVMvuqFuk0qogytodnVFVSN5CeJB8Gc=

View File

@ -1,3 +1,11 @@
# v1.17.5 (2022-11-22)
* No change notes available for this release.
# v1.17.4 (2022-11-17)
* **Documentation**: Documentation updates for AWS Security Token Service.
# v1.17.3 (2022-11-16) # v1.17.3 (2022-11-16)
* No change notes available for this release. * No change notes available for this release.

View File

@ -28,16 +28,16 @@ import (
// inline or managed session policies // inline or managed session policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// to this operation. You can pass a single JSON policy document to use as an // to this operation. You can pass a single JSON policy document to use as an
// inline session policy. You can also specify up to 10 managed policies to use as // inline session policy. You can also specify up to 10 managed policy Amazon
// managed session policies. The plaintext that you use for both inline and managed // Resource Names (ARNs) to use as managed session policies. The plaintext that you
// session policies can't exceed 2,048 characters. Passing policies to this // use for both inline and managed session policies can't exceed 2,048 characters.
// operation returns new temporary credentials. The resulting session's permissions // Passing policies to this operation returns new temporary credentials. The
// are the intersection of the role's identity-based policy and the session // resulting session's permissions are the intersection of the role's
// policies. You can use the role's temporary credentials in subsequent Amazon Web // identity-based policy and the session policies. You can use the role's temporary
// Services API calls to access resources in the account that owns the role. You // credentials in subsequent Amazon Web Services API calls to access resources in
// cannot use session policies to grant more permissions than those allowed by the // the account that owns the role. You cannot use session policies to grant more
// identity-based policy of the role that is being assumed. For more information, // permissions than those allowed by the identity-based policy of the role that is
// see Session Policies // being assumed. For more information, see Session Policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// in the IAM User Guide. When you create a role, you create two policies: A role // in the IAM User Guide. When you create a role, you create two policies: A role
// trust policy that specifies who can assume the role and a permissions policy // trust policy that specifies who can assume the role and a permissions policy
@ -189,11 +189,11 @@ type AssumeRoleInput struct {
// be any ASCII character from the space character to the end of the valid // be any ASCII character from the space character to the end of the valid
// character list (\u0020 through \u00FF). It can also include the tab (\u0009), // character list (\u0020 through \u00FF). It can also include the tab (\u0009),
// linefeed (\u000A), and carriage return (\u000D) characters. An Amazon Web // linefeed (\u000A), and carriage return (\u000D) characters. An Amazon Web
// Services conversion compresses the passed session policies and session tags into // Services conversion compresses the passed inline session policy, managed policy
// a packed binary format that has a separate limit. Your request can fail for this // ARNs, and session tags into a packed binary format that has a separate limit.
// limit even if your plaintext meets the other requirements. The PackedPolicySize // Your request can fail for this limit even if your plaintext meets the other
// response element indicates by percentage how close the policies and tags for // requirements. The PackedPolicySize response element indicates by percentage how
// your request are to the upper size limit. // close the policies and tags for your request are to the upper size limit.
Policy *string Policy *string
// The Amazon Resource Names (ARNs) of the IAM managed policies that you want to // The Amazon Resource Names (ARNs) of the IAM managed policies that you want to
@ -204,18 +204,18 @@ type AssumeRoleInput struct {
// Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces // Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces
// (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in
// the Amazon Web Services General Reference. An Amazon Web Services conversion // the Amazon Web Services General Reference. An Amazon Web Services conversion
// compresses the passed session policies and session tags into a packed binary // compresses the passed inline session policy, managed policy ARNs, and session
// format that has a separate limit. Your request can fail for this limit even if // tags into a packed binary format that has a separate limit. Your request can
// your plaintext meets the other requirements. The PackedPolicySize response // fail for this limit even if your plaintext meets the other requirements. The
// element indicates by percentage how close the policies and tags for your request // PackedPolicySize response element indicates by percentage how close the policies
// are to the upper size limit. Passing policies to this operation returns new // and tags for your request are to the upper size limit. Passing policies to this
// temporary credentials. The resulting session's permissions are the intersection // operation returns new temporary credentials. The resulting session's permissions
// of the role's identity-based policy and the session policies. You can use the // are the intersection of the role's identity-based policy and the session
// role's temporary credentials in subsequent Amazon Web Services API calls to // policies. You can use the role's temporary credentials in subsequent Amazon Web
// access resources in the account that owns the role. You cannot use session // Services API calls to access resources in the account that owns the role. You
// policies to grant more permissions than those allowed by the identity-based // cannot use session policies to grant more permissions than those allowed by the
// policy of the role that is being assumed. For more information, see Session // identity-based policy of the role that is being assumed. For more information,
// Policies // see Session Policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// in the IAM User Guide. // in the IAM User Guide.
PolicyArns []types.PolicyDescriptorType PolicyArns []types.PolicyDescriptorType
@ -257,22 +257,23 @@ type AssumeRoleInput struct {
// Character Limits // Character Limits
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length)
// in the IAM User Guide. An Amazon Web Services conversion compresses the passed // in the IAM User Guide. An Amazon Web Services conversion compresses the passed
// session policies and session tags into a packed binary format that has a // inline session policy, managed policy ARNs, and session tags into a packed
// separate limit. Your request can fail for this limit even if your plaintext // binary format that has a separate limit. Your request can fail for this limit
// meets the other requirements. The PackedPolicySize response element indicates by // even if your plaintext meets the other requirements. The PackedPolicySize
// percentage how close the policies and tags for your request are to the upper // response element indicates by percentage how close the policies and tags for
// size limit. You can pass a session tag with the same key as a tag that is // your request are to the upper size limit. You can pass a session tag with the
// already attached to the role. When you do, session tags override a role tag with // same key as a tag that is already attached to the role. When you do, session
// the same key. Tag keyvalue pairs are not case sensitive, but case is preserved. // tags override a role tag with the same key. Tag keyvalue pairs are not case
// This means that you cannot have separate Department and department tag keys. // sensitive, but case is preserved. This means that you cannot have separate
// Assume that the role has the Department=Marketing tag and you pass the // Department and department tag keys. Assume that the role has the
// department=engineering session tag. Department and department are not saved as // Department=Marketing tag and you pass the department=engineering session tag.
// separate tags, and the session tag passed in the request takes precedence over // Department and department are not saved as separate tags, and the session tag
// the role tag. Additionally, if you used temporary credentials to perform this // passed in the request takes precedence over the role tag. Additionally, if you
// operation, the new session inherits any transitive session tags from the calling // used temporary credentials to perform this operation, the new session inherits
// session. If you pass a session tag with the same key as an inherited tag, the // any transitive session tags from the calling session. If you pass a session tag
// operation fails. To view the inherited tags for a session, see the CloudTrail // with the same key as an inherited tag, the operation fails. To view the
// logs. For more information, see Viewing Session Tags in CloudTrail // inherited tags for a session, see the CloudTrail logs. For more information, see
// Viewing Session Tags in CloudTrail
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs)
// in the IAM User Guide. // in the IAM User Guide.
Tags []types.Tag Tags []types.Tag

View File

@ -53,16 +53,16 @@ import (
// pass inline or managed session policies // pass inline or managed session policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// to this operation. You can pass a single JSON policy document to use as an // to this operation. You can pass a single JSON policy document to use as an
// inline session policy. You can also specify up to 10 managed policies to use as // inline session policy. You can also specify up to 10 managed policy Amazon
// managed session policies. The plaintext that you use for both inline and managed // Resource Names (ARNs) to use as managed session policies. The plaintext that you
// session policies can't exceed 2,048 characters. Passing policies to this // use for both inline and managed session policies can't exceed 2,048 characters.
// operation returns new temporary credentials. The resulting session's permissions // Passing policies to this operation returns new temporary credentials. The
// are the intersection of the role's identity-based policy and the session // resulting session's permissions are the intersection of the role's
// policies. You can use the role's temporary credentials in subsequent Amazon Web // identity-based policy and the session policies. You can use the role's temporary
// Services API calls to access resources in the account that owns the role. You // credentials in subsequent Amazon Web Services API calls to access resources in
// cannot use session policies to grant more permissions than those allowed by the // the account that owns the role. You cannot use session policies to grant more
// identity-based policy of the role that is being assumed. For more information, // permissions than those allowed by the identity-based policy of the role that is
// see Session Policies // being assumed. For more information, see Session Policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// in the IAM User Guide. Calling AssumeRoleWithSAML does not require the use of // in the IAM User Guide. Calling AssumeRoleWithSAML does not require the use of
// Amazon Web Services security credentials. The identity of the caller is // Amazon Web Services security credentials. The identity of the caller is
@ -82,16 +82,16 @@ import (
// these and additional limits, see IAM and STS Character Limits // these and additional limits, see IAM and STS Character Limits
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length)
// in the IAM User Guide. An Amazon Web Services conversion compresses the passed // in the IAM User Guide. An Amazon Web Services conversion compresses the passed
// session policies and session tags into a packed binary format that has a // inline session policy, managed policy ARNs, and session tags into a packed
// separate limit. Your request can fail for this limit even if your plaintext // binary format that has a separate limit. Your request can fail for this limit
// meets the other requirements. The PackedPolicySize response element indicates by // even if your plaintext meets the other requirements. The PackedPolicySize
// percentage how close the policies and tags for your request are to the upper // response element indicates by percentage how close the policies and tags for
// size limit. You can pass a session tag with the same key as a tag that is // your request are to the upper size limit. You can pass a session tag with the
// attached to the role. When you do, session tags override the role's tags with // same key as a tag that is attached to the role. When you do, session tags
// the same key. An administrator must grant you the permissions necessary to pass // override the role's tags with the same key. An administrator must grant you the
// session tags. The administrator can also create granular permissions to allow // permissions necessary to pass session tags. The administrator can also create
// you to pass only specific session tags. For more information, see Tutorial: // granular permissions to allow you to pass only specific session tags. For more
// Using Tags for Attribute-Based Access Control // information, see Tutorial: Using Tags for Attribute-Based Access Control
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_attribute-based-access-control.html) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_attribute-based-access-control.html)
// in the IAM User Guide. You can set the session tags as transitive. Transitive // in the IAM User Guide. You can set the session tags as transitive. Transitive
// tags persist during role chaining. For more information, see Chaining Roles with // tags persist during role chaining. For more information, see Chaining Roles with
@ -194,11 +194,11 @@ type AssumeRoleWithSAMLInput struct {
// be any ASCII character from the space character to the end of the valid // be any ASCII character from the space character to the end of the valid
// character list (\u0020 through \u00FF). It can also include the tab (\u0009), // character list (\u0020 through \u00FF). It can also include the tab (\u0009),
// linefeed (\u000A), and carriage return (\u000D) characters. An Amazon Web // linefeed (\u000A), and carriage return (\u000D) characters. An Amazon Web
// Services conversion compresses the passed session policies and session tags into // Services conversion compresses the passed inline session policy, managed policy
// a packed binary format that has a separate limit. Your request can fail for this // ARNs, and session tags into a packed binary format that has a separate limit.
// limit even if your plaintext meets the other requirements. The PackedPolicySize // Your request can fail for this limit even if your plaintext meets the other
// response element indicates by percentage how close the policies and tags for // requirements. The PackedPolicySize response element indicates by percentage how
// your request are to the upper size limit. // close the policies and tags for your request are to the upper size limit.
Policy *string Policy *string
// The Amazon Resource Names (ARNs) of the IAM managed policies that you want to // The Amazon Resource Names (ARNs) of the IAM managed policies that you want to
@ -209,18 +209,18 @@ type AssumeRoleWithSAMLInput struct {
// Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces // Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces
// (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in
// the Amazon Web Services General Reference. An Amazon Web Services conversion // the Amazon Web Services General Reference. An Amazon Web Services conversion
// compresses the passed session policies and session tags into a packed binary // compresses the passed inline session policy, managed policy ARNs, and session
// format that has a separate limit. Your request can fail for this limit even if // tags into a packed binary format that has a separate limit. Your request can
// your plaintext meets the other requirements. The PackedPolicySize response // fail for this limit even if your plaintext meets the other requirements. The
// element indicates by percentage how close the policies and tags for your request // PackedPolicySize response element indicates by percentage how close the policies
// are to the upper size limit. Passing policies to this operation returns new // and tags for your request are to the upper size limit. Passing policies to this
// temporary credentials. The resulting session's permissions are the intersection // operation returns new temporary credentials. The resulting session's permissions
// of the role's identity-based policy and the session policies. You can use the // are the intersection of the role's identity-based policy and the session
// role's temporary credentials in subsequent Amazon Web Services API calls to // policies. You can use the role's temporary credentials in subsequent Amazon Web
// access resources in the account that owns the role. You cannot use session // Services API calls to access resources in the account that owns the role. You
// policies to grant more permissions than those allowed by the identity-based // cannot use session policies to grant more permissions than those allowed by the
// policy of the role that is being assumed. For more information, see Session // identity-based policy of the role that is being assumed. For more information,
// Policies // see Session Policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// in the IAM User Guide. // in the IAM User Guide.
PolicyArns []types.PolicyDescriptorType PolicyArns []types.PolicyDescriptorType

View File

@ -63,16 +63,16 @@ import (
// inline or managed session policies // inline or managed session policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// to this operation. You can pass a single JSON policy document to use as an // to this operation. You can pass a single JSON policy document to use as an
// inline session policy. You can also specify up to 10 managed policies to use as // inline session policy. You can also specify up to 10 managed policy Amazon
// managed session policies. The plaintext that you use for both inline and managed // Resource Names (ARNs) to use as managed session policies. The plaintext that you
// session policies can't exceed 2,048 characters. Passing policies to this // use for both inline and managed session policies can't exceed 2,048 characters.
// operation returns new temporary credentials. The resulting session's permissions // Passing policies to this operation returns new temporary credentials. The
// are the intersection of the role's identity-based policy and the session // resulting session's permissions are the intersection of the role's
// policies. You can use the role's temporary credentials in subsequent Amazon Web // identity-based policy and the session policies. You can use the role's temporary
// Services API calls to access resources in the account that owns the role. You // credentials in subsequent Amazon Web Services API calls to access resources in
// cannot use session policies to grant more permissions than those allowed by the // the account that owns the role. You cannot use session policies to grant more
// identity-based policy of the role that is being assumed. For more information, // permissions than those allowed by the identity-based policy of the role that is
// see Session Policies // being assumed. For more information, see Session Policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// in the IAM User Guide. Tags (Optional) You can configure your IdP to pass // in the IAM User Guide. Tags (Optional) You can configure your IdP to pass
// attributes into your web identity token as session tags. Each session tag // attributes into your web identity token as session tags. Each session tag
@ -84,16 +84,16 @@ import (
// these and additional limits, see IAM and STS Character Limits // these and additional limits, see IAM and STS Character Limits
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length)
// in the IAM User Guide. An Amazon Web Services conversion compresses the passed // in the IAM User Guide. An Amazon Web Services conversion compresses the passed
// session policies and session tags into a packed binary format that has a // inline session policy, managed policy ARNs, and session tags into a packed
// separate limit. Your request can fail for this limit even if your plaintext // binary format that has a separate limit. Your request can fail for this limit
// meets the other requirements. The PackedPolicySize response element indicates by // even if your plaintext meets the other requirements. The PackedPolicySize
// percentage how close the policies and tags for your request are to the upper // response element indicates by percentage how close the policies and tags for
// size limit. You can pass a session tag with the same key as a tag that is // your request are to the upper size limit. You can pass a session tag with the
// attached to the role. When you do, the session tag overrides the role tag with // same key as a tag that is attached to the role. When you do, the session tag
// the same key. An administrator must grant you the permissions necessary to pass // overrides the role tag with the same key. An administrator must grant you the
// session tags. The administrator can also create granular permissions to allow // permissions necessary to pass session tags. The administrator can also create
// you to pass only specific session tags. For more information, see Tutorial: // granular permissions to allow you to pass only specific session tags. For more
// Using Tags for Attribute-Based Access Control // information, see Tutorial: Using Tags for Attribute-Based Access Control
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_attribute-based-access-control.html) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_attribute-based-access-control.html)
// in the IAM User Guide. You can set the session tags as transitive. Transitive // in the IAM User Guide. You can set the session tags as transitive. Transitive
// tags persist during role chaining. For more information, see Chaining Roles with // tags persist during role chaining. For more information, see Chaining Roles with
@ -215,11 +215,11 @@ type AssumeRoleWithWebIdentityInput struct {
// be any ASCII character from the space character to the end of the valid // be any ASCII character from the space character to the end of the valid
// character list (\u0020 through \u00FF). It can also include the tab (\u0009), // character list (\u0020 through \u00FF). It can also include the tab (\u0009),
// linefeed (\u000A), and carriage return (\u000D) characters. An Amazon Web // linefeed (\u000A), and carriage return (\u000D) characters. An Amazon Web
// Services conversion compresses the passed session policies and session tags into // Services conversion compresses the passed inline session policy, managed policy
// a packed binary format that has a separate limit. Your request can fail for this // ARNs, and session tags into a packed binary format that has a separate limit.
// limit even if your plaintext meets the other requirements. The PackedPolicySize // Your request can fail for this limit even if your plaintext meets the other
// response element indicates by percentage how close the policies and tags for // requirements. The PackedPolicySize response element indicates by percentage how
// your request are to the upper size limit. // close the policies and tags for your request are to the upper size limit.
Policy *string Policy *string
// The Amazon Resource Names (ARNs) of the IAM managed policies that you want to // The Amazon Resource Names (ARNs) of the IAM managed policies that you want to
@ -230,18 +230,18 @@ type AssumeRoleWithWebIdentityInput struct {
// Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces // Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces
// (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in
// the Amazon Web Services General Reference. An Amazon Web Services conversion // the Amazon Web Services General Reference. An Amazon Web Services conversion
// compresses the passed session policies and session tags into a packed binary // compresses the passed inline session policy, managed policy ARNs, and session
// format that has a separate limit. Your request can fail for this limit even if // tags into a packed binary format that has a separate limit. Your request can
// your plaintext meets the other requirements. The PackedPolicySize response // fail for this limit even if your plaintext meets the other requirements. The
// element indicates by percentage how close the policies and tags for your request // PackedPolicySize response element indicates by percentage how close the policies
// are to the upper size limit. Passing policies to this operation returns new // and tags for your request are to the upper size limit. Passing policies to this
// temporary credentials. The resulting session's permissions are the intersection // operation returns new temporary credentials. The resulting session's permissions
// of the role's identity-based policy and the session policies. You can use the // are the intersection of the role's identity-based policy and the session
// role's temporary credentials in subsequent Amazon Web Services API calls to // policies. You can use the role's temporary credentials in subsequent Amazon Web
// access resources in the account that owns the role. You cannot use session // Services API calls to access resources in the account that owns the role. You
// policies to grant more permissions than those allowed by the identity-based // cannot use session policies to grant more permissions than those allowed by the
// policy of the role that is being assumed. For more information, see Session // identity-based policy of the role that is being assumed. For more information,
// Policies // see Session Policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// in the IAM User Guide. // in the IAM User Guide.
PolicyArns []types.PolicyDescriptorType PolicyArns []types.PolicyDescriptorType

View File

@ -55,16 +55,16 @@ import (
// session policy // session policy
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// to this operation. You can pass a single JSON policy document to use as an // to this operation. You can pass a single JSON policy document to use as an
// inline session policy. You can also specify up to 10 managed policies to use as // inline session policy. You can also specify up to 10 managed policy Amazon
// managed session policies. The plaintext that you use for both inline and managed // Resource Names (ARNs) to use as managed session policies. The plaintext that you
// session policies can't exceed 2,048 characters. Though the session policy // use for both inline and managed session policies can't exceed 2,048 characters.
// parameters are optional, if you do not pass a policy, then the resulting // Though the session policy parameters are optional, if you do not pass a policy,
// federated user session has no permissions. When you pass session policies, the // then the resulting federated user session has no permissions. When you pass
// session permissions are the intersection of the IAM user policies and the // session policies, the session permissions are the intersection of the IAM user
// session policies that you pass. This gives you a way to further restrict the // policies and the session policies that you pass. This gives you a way to further
// permissions for a federated user. You cannot use session policies to grant more // restrict the permissions for a federated user. You cannot use session policies
// permissions than those that are defined in the permissions policy of the IAM // to grant more permissions than those that are defined in the permissions policy
// user. For more information, see Session Policies // of the IAM user. For more information, see Session Policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// in the IAM User Guide. For information about using GetFederationToken to create // in the IAM User Guide. For information about using GetFederationToken to create
// temporary security credentials, see GetFederationToken—Federation Through a // temporary security credentials, see GetFederationToken—Federation Through a
@ -135,15 +135,15 @@ type GetFederationTokenInput struct {
// You must pass an inline or managed session policy // You must pass an inline or managed session policy
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// to this operation. You can pass a single JSON policy document to use as an // to this operation. You can pass a single JSON policy document to use as an
// inline session policy. You can also specify up to 10 managed policies to use as // inline session policy. You can also specify up to 10 managed policy Amazon
// managed session policies. This parameter is optional. However, if you do not // Resource Names (ARNs) to use as managed session policies. This parameter is
// pass any session policies, then the resulting federated user session has no // optional. However, if you do not pass any session policies, then the resulting
// permissions. When you pass session policies, the session permissions are the // federated user session has no permissions. When you pass session policies, the
// intersection of the IAM user policies and the session policies that you pass. // session permissions are the intersection of the IAM user policies and the
// This gives you a way to further restrict the permissions for a federated user. // session policies that you pass. This gives you a way to further restrict the
// You cannot use session policies to grant more permissions than those that are // permissions for a federated user. You cannot use session policies to grant more
// defined in the permissions policy of the IAM user. For more information, see // permissions than those that are defined in the permissions policy of the IAM
// Session Policies // user. For more information, see Session Policies
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// in the IAM User Guide. The resulting credentials can be used to access a // in the IAM User Guide. The resulting credentials can be used to access a
// resource that has a resource-based policy. If that policy specifically // resource that has a resource-based policy. If that policy specifically
@ -155,11 +155,11 @@ type GetFederationTokenInput struct {
// from the space character to the end of the valid character list (\u0020 through // from the space character to the end of the valid character list (\u0020 through
// \u00FF). It can also include the tab (\u0009), linefeed (\u000A), and carriage // \u00FF). It can also include the tab (\u0009), linefeed (\u000A), and carriage
// return (\u000D) characters. An Amazon Web Services conversion compresses the // return (\u000D) characters. An Amazon Web Services conversion compresses the
// passed session policies and session tags into a packed binary format that has a // passed inline session policy, managed policy ARNs, and session tags into a
// separate limit. Your request can fail for this limit even if your plaintext // packed binary format that has a separate limit. Your request can fail for this
// meets the other requirements. The PackedPolicySize response element indicates by // limit even if your plaintext meets the other requirements. The PackedPolicySize
// percentage how close the policies and tags for your request are to the upper // response element indicates by percentage how close the policies and tags for
// size limit. // your request are to the upper size limit.
Policy *string Policy *string
// The Amazon Resource Names (ARNs) of the IAM managed policies that you want to // The Amazon Resource Names (ARNs) of the IAM managed policies that you want to
@ -168,11 +168,11 @@ type GetFederationTokenInput struct {
// managed session policy // managed session policy
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
// to this operation. You can pass a single JSON policy document to use as an // to this operation. You can pass a single JSON policy document to use as an
// inline session policy. You can also specify up to 10 managed policies to use as // inline session policy. You can also specify up to 10 managed policy Amazon
// managed session policies. The plaintext that you use for both inline and managed // Resource Names (ARNs) to use as managed session policies. The plaintext that you
// session policies can't exceed 2,048 characters. You can provide up to 10 managed // use for both inline and managed session policies can't exceed 2,048 characters.
// policy ARNs. For more information about ARNs, see Amazon Resource Names (ARNs) // You can provide up to 10 managed policy ARNs. For more information about ARNs,
// and Amazon Web Services Service Namespaces // see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces
// (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in
// the Amazon Web Services General Reference. This parameter is optional. However, // the Amazon Web Services General Reference. This parameter is optional. However,
// if you do not pass any session policies, then the resulting federated user // if you do not pass any session policies, then the resulting federated user
@ -188,11 +188,12 @@ type GetFederationTokenInput struct {
// references the federated user session in the Principal element of the policy, // references the federated user session in the Principal element of the policy,
// the session has the permissions allowed by the policy. These permissions are // the session has the permissions allowed by the policy. These permissions are
// granted in addition to the permissions that are granted by the session policies. // granted in addition to the permissions that are granted by the session policies.
// An Amazon Web Services conversion compresses the passed session policies and // An Amazon Web Services conversion compresses the passed inline session policy,
// session tags into a packed binary format that has a separate limit. Your request // managed policy ARNs, and session tags into a packed binary format that has a
// can fail for this limit even if your plaintext meets the other requirements. The // separate limit. Your request can fail for this limit even if your plaintext
// PackedPolicySize response element indicates by percentage how close the policies // meets the other requirements. The PackedPolicySize response element indicates by
// and tags for your request are to the upper size limit. // percentage how close the policies and tags for your request are to the upper
// size limit.
PolicyArns []types.PolicyDescriptorType PolicyArns []types.PolicyDescriptorType
// A list of session tags. Each session tag consists of a key name and an // A list of session tags. Each session tag consists of a key name and an
@ -205,15 +206,15 @@ type GetFederationTokenInput struct {
// Character Limits // Character Limits
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length) // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length)
// in the IAM User Guide. An Amazon Web Services conversion compresses the passed // in the IAM User Guide. An Amazon Web Services conversion compresses the passed
// session policies and session tags into a packed binary format that has a // inline session policy, managed policy ARNs, and session tags into a packed
// separate limit. Your request can fail for this limit even if your plaintext // binary format that has a separate limit. Your request can fail for this limit
// meets the other requirements. The PackedPolicySize response element indicates by // even if your plaintext meets the other requirements. The PackedPolicySize
// percentage how close the policies and tags for your request are to the upper // response element indicates by percentage how close the policies and tags for
// size limit. You can pass a session tag with the same key as a tag that is // your request are to the upper size limit. You can pass a session tag with the
// already attached to the user you are federating. When you do, session tags // same key as a tag that is already attached to the user you are federating. When
// override a user tag with the same key. Tag keyvalue pairs are not case // you do, session tags override a user tag with the same key. Tag keyvalue pairs
// sensitive, but case is preserved. This means that you cannot have separate // are not case sensitive, but case is preserved. This means that you cannot have
// Department and department tag keys. Assume that the role has the // separate Department and department tag keys. Assume that the role has the
// Department=Marketing tag and you pass the department=engineering session tag. // Department=Marketing tag and you pass the department=engineering session tag.
// Department and department are not saved as separate tags, and the session tag // Department and department are not saved as separate tags, and the session tag
// passed in the request takes precedence over the role tag. // passed in the request takes precedence over the role tag.

View File

@ -3,4 +3,4 @@
package sts package sts
// goModuleVersion is the tagged release for this module // goModuleVersion is the tagged release for this module
const goModuleVersion = "1.17.3" const goModuleVersion = "1.17.5"

View File

@ -153,6 +153,9 @@ var defaultPartitions = endpoints.Partitions{
endpoints.EndpointKey{ endpoints.EndpointKey{
Region: "ap-south-1", Region: "ap-south-1",
}: endpoints.Endpoint{}, }: endpoints.Endpoint{},
endpoints.EndpointKey{
Region: "ap-south-2",
}: endpoints.Endpoint{},
endpoints.EndpointKey{ endpoints.EndpointKey{
Region: "ap-southeast-1", Region: "ap-southeast-1",
}: endpoints.Endpoint{}, }: endpoints.Endpoint{},

2
vendor/modules.txt vendored
View File

@ -85,7 +85,7 @@ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2
# github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.19 # github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.19
## explicit; go 1.15 ## explicit; go 1.15
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url github.com/aws/aws-sdk-go-v2/service/internal/presigned-url
# github.com/aws/aws-sdk-go-v2/service/sts v1.17.3 # github.com/aws/aws-sdk-go-v2/service/sts v1.17.5
## explicit; go 1.15 ## explicit; go 1.15
github.com/aws/aws-sdk-go-v2/service/sts github.com/aws/aws-sdk-go-v2/service/sts
github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints