Class PackedPolicyTooLargeException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<PackedPolicyTooLargeException.Builder,PackedPolicyTooLargeException>

@Generated("software.amazon.awssdk:codegen") public final class PackedPolicyTooLargeException extends StsException implements ToCopyableBuilder<PackedPolicyTooLargeException.Builder,PackedPolicyTooLargeException>

The request was rejected because the session token exceeded the maximum allowed size. The error message reports the session token size and the maximum allowed size, both in bytes. Session policies and session tags add to the session token size. For more information, see Passing Session Tags in STS in the IAM User Guide.

You might receive this error even though you meet the individual session policy and session tag limits. Monitor SessionTokenUtilization to track how close the session token is to the maximum allowed size. For more information, see IAM and STS Entity Character Limits in the IAM User Guide.

See Also: