Class InsufficientPermissionsException
- All Implemented Interfaces:
- Serializable,- SdkPojo,- 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. 
 
- 
 
- 
 For PutServiceLinkedConfigurationRecorder, a service-linked configuration recorder cannot be created because you do not have the following permissions: IAM CreateServiceLinkedRole.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()static Class<? extends InsufficientPermissionsException.Builder> Create aAwsServiceException.Builderinitialized with the properties of thisAwsServiceException.Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceExceptionawsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionMethods inherited from class software.amazon.awssdk.core.exception.SdkServiceExceptionextendedRequestId, isRetryableException, requestId, statusCodeMethods inherited from class software.amazon.awssdk.core.exception.SdkExceptioncreate, numAttempts, rawMessage, retryableMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFieldsMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
toBuilderDescription copied from class:AwsServiceExceptionCreate aAwsServiceException.Builderinitialized with the properties of thisAwsServiceException.- Specified by:
- toBuilderin interface- ToCopyableBuilder<InsufficientPermissionsException.Builder,- InsufficientPermissionsException> 
- Overrides:
- toBuilderin class- ConfigException
- Returns:
- A new builder initialized with this config's properties.
 
- 
builder
- 
serializableBuilderClass
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-