import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client"; import type { AccessDeniedErrorCode, InvalidCrossAccountRoleErrorCode, InvalidInputErrorCode, LimitExceededErrorCode, NoSuchEntityErrorCode } from "./enums"; import { InspectorServiceException as __BaseException } from "./InspectorServiceException"; import type { AgentAlreadyRunningAssessment } from "./models_0"; /** *
You do not have required permissions to access the requested resource.
* @public */ export declare class AccessDeniedException extends __BaseException { readonly name: "AccessDeniedException"; readonly $fault: "client"; /** *Code that indicates the type of error that is generated.
* @public */ errorCode: AccessDeniedErrorCode | undefined; /** *You can immediately retry your request.
* @public */ canRetry: boolean | undefined; /** * @internal */ constructor(opts: __ExceptionOptionTypeInternal server error.
* @public */ export declare class InternalException extends __BaseException { readonly name: "InternalException"; readonly $fault: "server"; /** *You can immediately retry your request.
* @public */ canRetry: boolean | undefined; /** * @internal */ constructor(opts: __ExceptionOptionTypeThe request was rejected because an invalid or out-of-range value was supplied for an * input parameter.
* @public */ export declare class InvalidInputException extends __BaseException { readonly name: "InvalidInputException"; readonly $fault: "client"; /** *Code that indicates the type of error that is generated.
* @public */ errorCode: InvalidInputErrorCode | undefined; /** *You can immediately retry your request.
* @public */ canRetry: boolean | undefined; /** * @internal */ constructor(opts: __ExceptionOptionTypeThe request was rejected because it referenced an entity that does not exist. The * error code describes the entity.
* @public */ export declare class NoSuchEntityException extends __BaseException { readonly name: "NoSuchEntityException"; readonly $fault: "client"; /** *Code that indicates the type of error that is generated.
* @public */ errorCode: NoSuchEntityErrorCode | undefined; /** *You can immediately retry your request.
* @public */ canRetry: boolean | undefined; /** * @internal */ constructor(opts: __ExceptionOptionTypeThe serice is temporary unavailable.
* @public */ export declare class ServiceTemporarilyUnavailableException extends __BaseException { readonly name: "ServiceTemporarilyUnavailableException"; readonly $fault: "server"; /** *You can wait and then retry your request.
* @public */ canRetry: boolean | undefined; /** * @internal */ constructor(opts: __ExceptionOptionTypeYou started an assessment run, but one of the instances is already participating in * another assessment run.
* @public */ export declare class AgentsAlreadyRunningAssessmentException extends __BaseException { readonly name: "AgentsAlreadyRunningAssessmentException"; readonly $fault: "client"; /** * * @public */ agents: AgentAlreadyRunningAssessment[] | undefined; /** * * @public */ agentsTruncated: boolean | undefined; /** *You can immediately retry your request.
* @public */ canRetry: boolean | undefined; /** * @internal */ constructor(opts: __ExceptionOptionTypeYou cannot perform a specified action if an assessment run is currently in * progress.
* @public */ export declare class AssessmentRunInProgressException extends __BaseException { readonly name: "AssessmentRunInProgressException"; readonly $fault: "client"; /** *The ARNs of the assessment runs that are currently in progress.
* @public */ assessmentRunArns: string[] | undefined; /** *Boolean value that indicates whether the ARN list of the assessment runs is * truncated.
* @public */ assessmentRunArnsTruncated: boolean | undefined; /** *You can immediately retry your request.
* @public */ canRetry: boolean | undefined; /** * @internal */ constructor(opts: __ExceptionOptionTypeAmazon Inspector cannot assume the cross-account role that it needs to list your EC2 * instances during the assessment run.
* @public */ export declare class InvalidCrossAccountRoleException extends __BaseException { readonly name: "InvalidCrossAccountRoleException"; readonly $fault: "client"; /** *Code that indicates the type of error that is generated.
* @public */ errorCode: InvalidCrossAccountRoleErrorCode | undefined; /** *You can immediately retry your request.
* @public */ canRetry: boolean | undefined; /** * @internal */ constructor(opts: __ExceptionOptionTypeThe request was rejected because it attempted to create resources beyond the current * AWS account limits. The error code describes the limit exceeded.
* @public */ export declare class LimitExceededException extends __BaseException { readonly name: "LimitExceededException"; readonly $fault: "client"; /** *Code that indicates the type of error that is generated.
* @public */ errorCode: LimitExceededErrorCode | undefined; /** *You can immediately retry your request.
* @public */ canRetry: boolean | undefined; /** * @internal */ constructor(opts: __ExceptionOptionTypeThe request is rejected. The specified assessment template is currently generating an * exclusions preview.
* @public */ export declare class PreviewGenerationInProgressException extends __BaseException { readonly name: "PreviewGenerationInProgressException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionTypeUsed by the GetAssessmentReport API. The request was rejected * because you tried to generate a report for an assessment run that existed before reporting * was supported in Amazon Inspector. You can only generate reports for assessment runs that * took place or will take place after generating reports in Amazon Inspector became * available.
* @public */ export declare class UnsupportedFeatureException extends __BaseException { readonly name: "UnsupportedFeatureException"; readonly $fault: "client"; canRetry: boolean | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType