Class InsufficientPermissionsException
- 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.config.model.ConfigException
-
- software.amazon.awssdk.services.config.model.InsufficientPermissionsException
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InsufficientPermissionsException.Builder,InsufficientPermissionsException>
@Generated("software.amazon.awssdk:codegen") public final class InsufficientPermissionsException extends ConfigException implements ToCopyableBuilder<InsufficientPermissionsException.Builder,InsufficientPermissionsException>
Indicates one of the following errors:
-
For PutConfigRule, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.
-
For PutConfigRule, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.
-
For PutOrganizationConfigRule, organization Config rule cannot be created because you do not have permissions to call IAM
GetRoleaction or create a service-linked role. -
For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have the following permissions:
-
You do not have permission to call IAM
GetRoleaction or create a service-linked role. -
You do not have permission to read Amazon S3 bucket or call SSM:GetDocument.
-
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInsufficientPermissionsException.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InsufficientPermissionsException.Builderbuilder()List<SdkField<?>>sdkFields()static Class<? extends InsufficientPermissionsException.Builder>serializableBuilderClass()InsufficientPermissionsException.BuildertoBuilder()-
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, 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 InsufficientPermissionsException.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InsufficientPermissionsException.Builder,InsufficientPermissionsException>- Overrides:
toBuilderin classConfigException
-
builder
public static InsufficientPermissionsException.Builder builder()
-
serializableBuilderClass
public static Class<? extends InsufficientPermissionsException.Builder> serializableBuilderClass()
-
-