@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsufficientPermissionsException extends AmazonConfigException
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 GetRole action 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 GetRole action or create a service-linked role.
You do not have permission to read Amazon S3 bucket or call SSM:GetDocument.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InsufficientPermissionsException(String message)
Constructs a new InsufficientPermissionsException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InsufficientPermissionsException(String message)
message - Describes the error encountered.