com.amazonaws.services.securitytoken.model.PackedPolicyTooLargeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-sts Show documentation
Show all versions of aws-java-sdk-sts Show documentation
The AWS Java SDK for AWS STS module holds the client classes that are used for communicating with AWS Security Token Service
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.securitytoken.model;
import javax.annotation.Generated;
/**
*
* 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.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class PackedPolicyTooLargeException extends com.amazonaws.services.securitytoken.model.AWSSecurityTokenServiceException {
private static final long serialVersionUID = 1L;
/**
* Constructs a new PackedPolicyTooLargeException with the specified error message.
*
* @param message
* Describes the error encountered.
*/
public PackedPolicyTooLargeException(String message) {
super(message);
}
}