@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 AWS Config lacks permissions to perform the config:Put* action.
For PutConfigRule, the AWS 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 permissions:
To call IAM GetRole action or create a service linked role.
To read Amazon S3 bucket.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InsufficientPermissionsException(String message)
Constructs a new InsufficientPermissionsException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InsufficientPermissionsException(String message)
message - Describes the error encountered.Copyright © 2019. All rights reserved.