Table of Contents

Class PackedPolicyTooLargeException

Namespace
Amazon.SecurityToken.Model
Assembly
AWSSDK.SecurityToken.dll

The request was rejected because the total packed size of the session policies and session tags combined was too large. An Amazon Web Services conversion compresses the session policy document, session policy ARNs, and session tags into a packed binary format that has a separate limit. The error message indicates by percentage how close the policies and tags are to the upper size limit. For more information, see Passing Session Tags in STS in the IAM User Guide.

You could receive this error even though you meet other defined session policy and session tag limits. For more information, see IAM and STS Entity Character Limits in the IAM User Guide.

public class PackedPolicyTooLargeException : AmazonSecurityTokenServiceException
Inheritance
PackedPolicyTooLargeException

Constructors

PackedPolicyTooLargeException(Exception)

Construct instance of PackedPolicyTooLargeException

public PackedPolicyTooLargeException(Exception innerException)

Parameters

innerException Exception

PackedPolicyTooLargeException(string)

Constructs a new PackedPolicyTooLargeException with the specified error message.

public PackedPolicyTooLargeException(string message)

Parameters

message string

Describes the error encountered.

PackedPolicyTooLargeException(string, ErrorType, string, string, HttpStatusCode)

Construct instance of PackedPolicyTooLargeException

public PackedPolicyTooLargeException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)

Parameters

message string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode

PackedPolicyTooLargeException(string, Exception)

Construct instance of PackedPolicyTooLargeException

public PackedPolicyTooLargeException(string message, Exception innerException)

Parameters

message string
innerException Exception

PackedPolicyTooLargeException(string, Exception, ErrorType, string, string, HttpStatusCode)

Construct instance of PackedPolicyTooLargeException

public PackedPolicyTooLargeException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)

Parameters

message string
innerException Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode