Class ResourcePolicyLimitExceededException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.core.exception.SdkException
-
- software.amazon.awssdk.core.exception.SdkServiceException
-
- software.amazon.awssdk.awscore.exception.AwsServiceException
-
- software.amazon.awssdk.services.ssm.model.SsmException
-
- software.amazon.awssdk.services.ssm.model.ResourcePolicyLimitExceededException
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ResourcePolicyLimitExceededException.Builder,ResourcePolicyLimitExceededException>
@Generated("software.amazon.awssdk:codegen") public final class ResourcePolicyLimitExceededException extends SsmException implements ToCopyableBuilder<ResourcePolicyLimitExceededException.Builder,ResourcePolicyLimitExceededException>
The PutResourcePolicy API action enforces two limits. A policy can't be greater than 1024 bytes in size. And only one policy can be attached to
OpsItemGroup
. Verify these limits and try again.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ResourcePolicyLimitExceededException.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourcePolicyLimitExceededException.Builder
builder()
Integer
limit()
Returns the value of the Limit property for this object.String
limitType()
Returns the value of the LimitType property for this object.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ResourcePolicyLimitExceededException.Builder>
serializableBuilderClass()
ResourcePolicyLimitExceededException.Builder
toBuilder()
-
Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, isRetryableException, requestId, statusCode
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
create, retryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
toBuilder
public ResourcePolicyLimitExceededException.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ResourcePolicyLimitExceededException.Builder,ResourcePolicyLimitExceededException>
- Overrides:
toBuilder
in classSsmException
-
builder
public static ResourcePolicyLimitExceededException.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourcePolicyLimitExceededException.Builder> serializableBuilderClass()
-
limit
public Integer limit()
Returns the value of the Limit property for this object.- Returns:
- The value of the Limit property for this object.
-
limitType
public String limitType()
Returns the value of the LimitType property for this object.- Returns:
- The value of the LimitType property for this object.
-
sdkFields
public final List<SdkField<?>> sdkFields()
- Specified by:
sdkFields
in interfaceSdkPojo
- Overrides:
sdkFields
in classSdkServiceException
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-