import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; import { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException"; /** *

For PutServiceLinkedConfigurationRecorder, you cannot create a service-linked recorder because a service-linked recorder already exists for the specified service.

*

For DeleteServiceLinkedConfigurationRecorder, you cannot delete the service-linked recorder because it is currently in use by the linked Amazon Web Services service.

*

For DeleteDeliveryChannel, you cannot delete the specified delivery channel because the customer managed configuration recorder is running. Use the StopConfigurationRecorder operation to stop the customer managed configuration * recorder.

*

For AssociateResourceTypes and DisassociateResourceTypes, one of the following errors:

* * @public */ export declare class ConflictException extends __BaseException { readonly name: "ConflictException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have specified a configuration recorder that does not * exist.

* @public */ export declare class NoSuchConfigurationRecorderException extends __BaseException { readonly name: "NoSuchConfigurationRecorderException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.

*

For PutStoredQuery, one of the following errors:

* *

For DescribeConfigurationRecorders and DescribeConfigurationRecorderStatus, one of the following errors:

* *

For AssociateResourceTypes and DisassociateResourceTypes, one of the following errors:

* * @public */ export declare class ValidationException extends __BaseException { readonly name: "ValidationException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have specified a configuration aggregator that does not exist.

* @public */ export declare class NoSuchConfigurationAggregatorException extends __BaseException { readonly name: "NoSuchConfigurationAggregatorException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

There are no customer managed configuration recorders available to record your resources. Use the PutConfigurationRecorder operation to create the customer managed configuration * recorder.

* @public */ export declare class NoAvailableConfigurationRecorderException extends __BaseException { readonly name: "NoAvailableConfigurationRecorderException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have specified a template that is not valid or supported.

* @public */ export declare class ConformancePackTemplateValidationException extends __BaseException { readonly name: "ConformancePackTemplateValidationException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

One or more of the specified parameters are not valid. Verify * that your parameters are valid and try again.

* @public */ export declare class InvalidParameterValueException extends __BaseException { readonly name: "InvalidParameterValueException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The Config rule in the request is not valid. Verify that the rule is an Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.

* @public */ export declare class NoSuchConfigRuleException extends __BaseException { readonly name: "NoSuchConfigRuleException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You see this exception in the following cases:

*
    *
  • *

    For DeleteConfigRule, 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 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.

    *
  • *
* @public */ export declare class ResourceInUseException extends __BaseException { readonly name: "ResourceInUseException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The requested operation is not valid.

*

For PutConfigurationRecorder, * you will see this exception because you cannot use this operation to create a service-linked configuration recorder. Use the PutServiceLinkedConfigurationRecorder operation to create a service-linked configuration * recorder.

*

For DeleteConfigurationRecorder, you will see this exception because you cannot use this operation to delete a service-linked configuration recorder. Use the DeleteServiceLinkedConfigurationRecorder operation to delete a service-linked configuration * recorder.

*

For StartConfigurationRecorder and StopConfigurationRecorder, you will see this exception because these operations do not affect service-linked configuration recorders. * Service-linked configuration recorders are always recording. To stop recording, you must delete the service-linked configuration recorder. Use the DeleteServiceLinkedConfigurationRecorder operation to delete a service-linked configuration * recorder.

* @public */ export declare class UnmodifiableEntityException extends __BaseException { readonly name: "UnmodifiableEntityException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You specified one or more conformance packs that do not exist.

* @public */ export declare class NoSuchConformancePackException extends __BaseException { readonly name: "NoSuchConformancePackException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You cannot delete the delivery channel you specified because the customer managed configuration recorder is running.

* @public */ export declare class LastDeliveryChannelDeleteFailedException extends __BaseException { readonly name: "LastDeliveryChannelDeleteFailedException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have specified a delivery channel that does not * exist.

* @public */ export declare class NoSuchDeliveryChannelException extends __BaseException { readonly name: "NoSuchDeliveryChannelException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The Config rule in the request is not valid. Verify that the rule is an organization Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.

* @public */ export declare class NoSuchOrganizationConfigRuleException extends __BaseException { readonly name: "NoSuchOrganizationConfigRuleException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

For PutConfigurationAggregator API, you can see this exception for the following reasons:

*
    *
  • *

    No permission to call EnableAWSServiceAccess API

    *
  • *
  • *

    The configuration aggregator cannot be updated because your Amazon Web Services Organization management account or the delegated administrator role changed. * Delete this aggregator and create a new one with the current Amazon Web Services Organization.

    *
  • *
  • *

    The configuration aggregator is associated with a previous Amazon Web Services Organization and Config cannot aggregate data with current Amazon Web Services Organization. * Delete this aggregator and create a new one with the current Amazon Web Services Organization.

    *
  • *
  • *

    You are not a registered delegated administrator for Config with permissions to call ListDelegatedAdministrators API. * Ensure that the management account registers delagated administrator for Config service principal name before the delegated administrator creates an aggregator.

    *
  • *
*

For all OrganizationConfigRule and OrganizationConformancePack APIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account.

* @public */ export declare class OrganizationAccessDeniedException extends __BaseException { readonly name: "OrganizationAccessDeniedException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

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.

* @public */ export declare class NoSuchOrganizationConformancePackException extends __BaseException { readonly name: "NoSuchOrganizationConformancePackException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

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.

      *
    • *
    *
  • *
  • *

    For PutServiceLinkedConfigurationRecorder, a service-linked configuration recorder cannot be created because you do not have the following permissions: IAM CreateServiceLinkedRole.

    *
  • *
* @public */ export declare class InsufficientPermissionsException extends __BaseException { readonly name: "InsufficientPermissionsException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You specified an Config rule without a remediation configuration.

* @public */ export declare class NoSuchRemediationConfigurationException extends __BaseException { readonly name: "NoSuchRemediationConfigurationException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Remediation action is in progress. You can either cancel execution in Amazon Web Services Systems Manager or wait and try again later.

* @public */ export declare class RemediationInProgressException extends __BaseException { readonly name: "RemediationInProgressException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You tried to delete a remediation exception that does not exist.

* @public */ export declare class NoSuchRemediationExceptionException extends __BaseException { readonly name: "NoSuchRemediationExceptionException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

There is no configuration recorder running.

* @public */ export declare class NoRunningConfigurationRecorderException extends __BaseException { readonly name: "NoRunningConfigurationRecorderException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have specified a retention configuration that does not exist.

* @public */ export declare class NoSuchRetentionConfigurationException extends __BaseException { readonly name: "NoSuchRetentionConfigurationException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have specified a resource that does not exist.

* @public */ export declare class ResourceNotFoundException extends __BaseException { readonly name: "ResourceNotFoundException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified limit is outside the allowable range.

* @public */ export declare class InvalidLimitException extends __BaseException { readonly name: "InvalidLimitException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified next token is not valid. Specify the * nextToken string that was returned in the previous * response to get the next page of results.

* @public */ export declare class InvalidNextTokenException extends __BaseException { readonly name: "InvalidNextTokenException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Config rule that you passed in the filter does not exist.

* @public */ export declare class NoSuchConfigRuleInConformancePackException extends __BaseException { readonly name: "NoSuchConfigRuleInConformancePackException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The configuration item size is outside the allowable range.

* @public */ export declare class OversizedConfigurationItemException extends __BaseException { readonly name: "OversizedConfigurationItemException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have specified a resource that is either unknown or has not * been discovered.

* @public */ export declare class ResourceNotDiscoveredException extends __BaseException { readonly name: "ResourceNotDiscoveredException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified time range is not valid. The earlier time is not * chronologically before the later time.

* @public */ export declare class InvalidTimeRangeException extends __BaseException { readonly name: "InvalidTimeRangeException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Using the same client token with one or more different parameters. Specify a new client token with the parameter changes and try again.

* @public */ export declare class IdempotentParameterMismatch extends __BaseException { readonly name: "IdempotentParameterMismatch"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Your Amazon S3 bucket policy does not allow Config to * write to it.

* @public */ export declare class InsufficientDeliveryPolicyException extends __BaseException { readonly name: "InsufficientDeliveryPolicyException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The configuration recorder name is not valid. The prefix "AWSConfigurationRecorderFor" is reserved for service-linked configuration recorders.

* @public */ export declare class InvalidConfigurationRecorderNameException extends __BaseException { readonly name: "InvalidConfigurationRecorderNameException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified delivery channel name is not valid.

* @public */ export declare class InvalidDeliveryChannelNameException extends __BaseException { readonly name: "InvalidDeliveryChannelNameException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The syntax of the query is incorrect.

* @public */ export declare class InvalidExpressionException extends __BaseException { readonly name: "InvalidExpressionException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

One of the following errors:

*
    *
  • *

    You have provided a combination of parameter values that is not valid. For example:

    *
      *
    • *

      Setting the allSupported field of RecordingGroup to true, * but providing a non-empty list for the resourceTypesfield of RecordingGroup.

      *
    • *
    • *

      Setting the allSupported field of RecordingGroup to true, but also setting the useOnly field of RecordingStrategy to EXCLUSION_BY_RESOURCE_TYPES.

      *
    • *
    *
  • *
  • *

    Every parameter is either null, false, or empty.

    *
  • *
  • *

    You have reached the limit of the number of resource types you can provide for the recording group.

    *
  • *
  • *

    You have provided resource types or a recording strategy that are not valid.

    *
  • *
* @public */ export declare class InvalidRecordingGroupException extends __BaseException { readonly name: "InvalidRecordingGroupException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified ResultToken is not valid.

* @public */ export declare class InvalidResultTokenException extends __BaseException { readonly name: "InvalidResultTokenException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have provided a null or empty Amazon Resource Name (ARN) for the IAM role assumed by Config and used by the customer managed configuration recorder.

* @public */ export declare class InvalidRoleException extends __BaseException { readonly name: "InvalidRoleException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified Amazon S3 key prefix is not valid.

* @public */ export declare class InvalidS3KeyPrefixException extends __BaseException { readonly name: "InvalidS3KeyPrefixException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified Amazon KMS Key ARN is not valid.

* @public */ export declare class InvalidS3KmsKeyArnException extends __BaseException { readonly name: "InvalidS3KmsKeyArnException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified Amazon SNS topic does not exist.

* @public */ export declare class InvalidSNSTopicARNException extends __BaseException { readonly name: "InvalidSNSTopicARNException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

For PutServiceLinkedConfigurationRecorder API, this exception * is thrown if the number of service-linked roles in the account exceeds the limit.

*

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.

* @public */ export declare class LimitExceededException extends __BaseException { readonly name: "LimitExceededException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have reached the limit of active custom resource types in your account. There is a limit of 100,000. * Delete unused resources using DeleteResourceConfig * .

* @public */ export declare class MaxActiveResourcesExceededException extends __BaseException { readonly name: "MaxActiveResourcesExceededException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Failed to add the Config rule because the account already * contains the maximum number of 1000 rules. Consider deleting any * deactivated rules before you add new rules.

* @public */ export declare class MaxNumberOfConfigRulesExceededException extends __BaseException { readonly name: "MaxNumberOfConfigRulesExceededException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have reached the limit of the number of configuration recorders you can * create.

* @public */ export declare class MaxNumberOfConfigurationRecordersExceededException extends __BaseException { readonly name: "MaxNumberOfConfigurationRecordersExceededException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have reached the limit of the number of conformance packs you can create in an account. For more information, see * Service Limits * in the Config Developer Guide.

* @public */ export declare class MaxNumberOfConformancePacksExceededException extends __BaseException { readonly name: "MaxNumberOfConformancePacksExceededException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have reached the limit of the number of delivery channels * you can create.

* @public */ export declare class MaxNumberOfDeliveryChannelsExceededException extends __BaseException { readonly name: "MaxNumberOfDeliveryChannelsExceededException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have reached the limit of the number of organization Config rules you can create. For more information, see see * Service Limits * in the Config Developer Guide.

* @public */ export declare class MaxNumberOfOrganizationConfigRulesExceededException extends __BaseException { readonly name: "MaxNumberOfOrganizationConfigRulesExceededException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have reached the limit of the number of organization conformance packs you can create in an account. For more information, see * Service Limits * in the Config Developer Guide.

* @public */ export declare class MaxNumberOfOrganizationConformancePacksExceededException extends __BaseException { readonly name: "MaxNumberOfOrganizationConformancePacksExceededException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Failed to add the retention configuration because a retention configuration with that name already exists.

* @public */ export declare class MaxNumberOfRetentionConfigurationsExceededException extends __BaseException { readonly name: "MaxNumberOfRetentionConfigurationsExceededException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

There is no delivery channel available to record * configurations.

* @public */ export declare class NoAvailableDeliveryChannelException extends __BaseException { readonly name: "NoAvailableDeliveryChannelException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Organization is no longer available.

* @public */ export declare class NoAvailableOrganizationException extends __BaseException { readonly name: "NoAvailableOrganizationException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified Amazon S3 bucket does not exist.

* @public */ export declare class NoSuchBucketException extends __BaseException { readonly name: "NoSuchBucketException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Config resource cannot be created because your organization does not have all features enabled.

* @public */ export declare class OrganizationAllFeaturesNotEnabledException extends __BaseException { readonly name: "OrganizationAllFeaturesNotEnabledException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have specified a template that is not valid or supported.

* @public */ export declare class OrganizationConformancePackTemplateValidationException extends __BaseException { readonly name: "OrganizationConformancePackTemplateValidationException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Two users are trying to modify the same query at the same time. Wait for a moment and try again.

* @public */ export declare class ResourceConcurrentModificationException extends __BaseException { readonly name: "ResourceConcurrentModificationException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have reached the limit of the number of tags you can use. * For more information, see * Service Limits * in the Config Developer Guide.

* @public */ export declare class TooManyTagsException extends __BaseException { readonly name: "TooManyTagsException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); }