Class ConfigServiceException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\ConfigService\Exception\ConfigServiceException
- Namespace: Aws\ConfigService\Exception
- Located at ConfigService/Exception/ConfigServiceException.php
Represents an error interacting with the AWS Config service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
ConformancePackTemplateValidationException
[ ]
Description
You have specified a template that is not valid or supported.
Members
InsufficientDeliveryPolicyException
[ ]
Description
Your Amazon S3 bucket policy does not permit AWS Config to write to it.
Members
InsufficientPermissionsException
[ ]
Description
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.
-
Members
InvalidConfigurationRecorderNameException
[ ]
Description
You have provided a configuration recorder name that is not valid.
Members
InvalidDeliveryChannelNameException
[ ]
Description
The specified delivery channel name is not valid.
Members
InvalidExpressionException
[ ]
Description
The syntax of the query is incorrect.
Members
InvalidLimitException
[ ]
Description
The specified limit is outside the allowable range.
Members
InvalidNextTokenException
[ ]
Description
The specified next token is invalid. Specify the nextToken
string that was returned in the previous response to get the next page of results.
Members
InvalidParameterValueException
[ ]
Description
One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.
Members
InvalidRecordingGroupException
[ ]
Description
AWS Config throws an exception if the recording group does not contain a valid list of resource types. Invalid values might also be incorrectly formatted.
Members
InvalidResultTokenException
[ ]
Description
The specified ResultToken
is invalid.
Members
InvalidRoleException
[ ]
Description
You have provided a null or empty role ARN.
Members
InvalidS3KeyPrefixException
[ ]
Description
The specified Amazon S3 key prefix is not valid.
Members
InvalidSNSTopicARNException
[ ]
Description
The specified Amazon SNS topic does not exist.
Members
InvalidTimeRangeException
[ ]
Description
The specified time range is not valid. The earlier time is not chronologically before the later time.
Members
LastDeliveryChannelDeleteFailedException
[ ]
Description
You cannot delete the delivery channel you specified because the configuration recorder is running.
Members
LimitExceededException
[ ]
Description
For StartConfigRulesEvaluation
API, this exception is thrown if an evaluation is in progress or if you call the StartConfigRulesEvaluation API more than once per minute.
For PutConfigurationAggregator
API, this exception is thrown if the number of accounts and aggregators exceeds the limit.
Members
MaxActiveResourcesExceededException
[ ]
Description
You have reached the limit (100,000) of active custom resource types in your account. Delete unused resources using DeleteResourceConfig
.
Members
MaxNumberOfConfigRulesExceededException
[ ]
Description
Failed to add the AWS Config rule because the account already contains the maximum number of 150 rules. Consider deleting any deactivated rules before you add new rules.
Members
MaxNumberOfConfigurationRecordersExceededException
[ ]
Description
You have reached the limit of the number of recorders you can create.
Members
MaxNumberOfConformancePacksExceededException
[ ]
Description
You have reached the limit (6) of the number of conformance packs in an account (6 conformance pack with 25 AWS Config rules per pack).
Members
MaxNumberOfDeliveryChannelsExceededException
[ ]
Description
You have reached the limit of the number of delivery channels you can create.
Members
MaxNumberOfOrganizationConfigRulesExceededException
[ ]
Description
You have reached the limit of the number of organization config rules you can create.
Members
MaxNumberOfOrganizationConformancePacksExceededException
[ ]
Description
You have reached the limit (6) of the number of organization conformance packs in an account (6 conformance pack with 25 AWS Config rules per pack per account).
Members
MaxNumberOfRetentionConfigurationsExceededException
[ ]
Description
Failed to add the retention configuration because a retention configuration with that name already exists.
Members
NoAvailableConfigurationRecorderException
[ ]
Description
There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.
Members
NoAvailableDeliveryChannelException
[ ]
Description
There is no delivery channel available to record configurations.
Members
NoAvailableOrganizationException
[ ]
Description
Organization is no longer available.
Members
NoRunningConfigurationRecorderException
[ ]
Description
There is no configuration recorder running.
Members
NoSuchBucketException
[ ]
Description
The specified Amazon S3 bucket does not exist.
Members
NoSuchConfigRuleException
[ ]
Description
One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.
Members
NoSuchConfigRuleInConformancePackException
[ ]
Description
AWS Config rule that you passed in the filter does not exist.
Members
NoSuchConfigurationAggregatorException
[ ]
Description
You have specified a configuration aggregator that does not exist.
Members
NoSuchConfigurationRecorderException
[ ]
Description
You have specified a configuration recorder that does not exist.
Members
NoSuchConformancePackException
[ ]
Description
You specified one or more conformance packs that do not exist.
Members
NoSuchDeliveryChannelException
[ ]
Description
You have specified a delivery channel that does not exist.
Members
NoSuchOrganizationConfigRuleException
[ ]
Description
You specified one or more organization config rules that do not exist.
Members
NoSuchOrganizationConformancePackException
[ ]
Description
AWS Config organization conformance pack that you passed in the filter does not exist.
For DeleteOrganizationConformancePack, you tried to delete an organization conformance pack that does not exist.
Members
NoSuchRemediationConfigurationException
[ ]
Description
You specified an AWS Config rule without a remediation configuration.
Members
NoSuchRemediationExceptionException
[ ]
Description
You tried to delete a remediation exception that does not exist.
Members
NoSuchRetentionConfigurationException
[ ]
Description
You have specified a retention configuration that does not exist.
Members
OrganizationAccessDeniedException
[ ]
Description
For PutConfigAggregator API, no permission to call EnableAWSServiceAccess API.
For all OrganizationConfigRule and OrganizationConformancePack APIs, AWS Config throws an exception if APIs are called from member accounts. All APIs must be called from organization master account.
Members
OrganizationAllFeaturesNotEnabledException
[ ]
Description
AWS Config resource cannot be created because your organization does not have all features enabled.
Members
OrganizationConformancePackTemplateValidationException
[ ]
Description
You have specified a template that is not valid or supported.
Members
OversizedConfigurationItemException
[ ]
Description
The configuration item size is outside the allowable range.
Members
RemediationInProgressException
[ ]
Description
Remediation action is in progress. You can either cancel execution in AWS Systems Manager or wait and try again later.
Members
ResourceConcurrentModificationException
[ 'message' => '<string>', ]
Description
Two users are trying to modify the same query at the same time. Wait for a moment and try again.
Members
ResourceInUseException
[ ]
Description
You see this exception in the following cases:
-
For DeleteConfigRule, AWS Config is deleting this rule. Try your request again later.
-
For DeleteConfigRule, the rule is deleting your evaluation results. Try your request again later.
-
For DeleteConfigRule, a remediation action is associated with the rule and AWS Config cannot delete this rule. Delete the remediation action associated with the rule before deleting the rule and try your request again later.
-
For PutConfigOrganizationRule, organization config rule deletion is in progress. Try your request again later.
-
For DeleteOrganizationConfigRule, organization config rule creation is in progress. Try your request again later.
-
For PutConformancePack and PutOrganizationConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.
-
For DeleteConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.
Members
ResourceNotDiscoveredException
[ ]
Description
You have specified a resource that is either unknown or has not been discovered.
Members
ResourceNotFoundException
[ ]
Description
You have specified a resource that does not exist.
Members
TooManyTagsException
[ ]
Description
You have reached the limit of the number of tags you can use. You have more than 50 tags.
Members
ValidationException
[ ]
Description
The requested action is not valid.