import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client"; import type { ValidationExceptionReason } from "./enums"; import { PcaConnectorAdServiceException as __BaseException } from "./PcaConnectorAdServiceException"; /** *

You can receive this error if you attempt to create a resource share when you don't have * the required permissions. This can be caused by insufficient permissions in policies * attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen * because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP) * that affects your Amazon Web Services account.

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

This request cannot be completed for one of the following reasons because the requested * resource was being concurrently modified by another request.

* @public */ export declare class ConflictException extends __BaseException { readonly name: "ConflictException"; readonly $fault: "client"; Message: string | undefined; /** *

The identifier of the Amazon Web Services resource.

* @public */ ResourceId: string | undefined; /** *

The resource type, which can be one of Connector, Template, TemplateGroupAccessControlEntry, ServicePrincipalName, or DirectoryRegistration.

* @public */ ResourceType: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The request processing has failed because of an unknown error, exception or failure with * an internal server.

* @public */ export declare class InternalServerException extends __BaseException { readonly name: "InternalServerException"; readonly $fault: "server"; $retryable: {}; Message: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The operation tried to access a nonexistent resource. The resource might not be * specified correctly, or its status might not be ACTIVE.

* @public */ export declare class ResourceNotFoundException extends __BaseException { readonly name: "ResourceNotFoundException"; readonly $fault: "client"; Message: string | undefined; /** *

The identifier of the Amazon Web Services resource.

* @public */ ResourceId: string | undefined; /** *

The resource type, which can be one of Connector, Template, TemplateGroupAccessControlEntry, ServicePrincipalName, or DirectoryRegistration.

* @public */ ResourceType: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Request would cause a service quota to be exceeded.

* @public */ export declare class ServiceQuotaExceededException extends __BaseException { readonly name: "ServiceQuotaExceededException"; readonly $fault: "client"; Message: string | undefined; /** *

The identifier of the Amazon Web Services resource.

* @public */ ResourceId: string | undefined; /** *

The resource type, which can be one of Connector, Template, TemplateGroupAccessControlEntry, ServicePrincipalName, or DirectoryRegistration.

* @public */ ResourceType: string | undefined; /** *

Identifies the originating service.

* @public */ ServiceCode: string | undefined; /** *

The code associated with the service quota.

* @public */ QuotaCode: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The limit on the number of requests per second was exceeded.

* @public */ export declare class ThrottlingException extends __BaseException { readonly name: "ThrottlingException"; readonly $fault: "client"; $retryable: { throttling: boolean; }; Message: string | undefined; /** *

Identifies the originating service.

* @public */ ServiceCode?: string | undefined; /** *

The code associated with the quota.

* @public */ QuotaCode?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

An input validation error occurred. For example, invalid characters in a template name, * or if a pagination token is invalid.

* @public */ export declare class ValidationException extends __BaseException { readonly name: "ValidationException"; readonly $fault: "client"; Message: string | undefined; /** *

The reason for the validation error. This won't be return for every * validation exception.

* @public */ Reason?: ValidationExceptionReason | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); }