/proc/self/root/var/runtime/node_modules/@aws-sdk/client-inspector/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var InspectorServiceException = require('./models/InspectorServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "inspector", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class InspectorClient extends client.Client { config; constructor(...[configuration]) { const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = client$1.resolveUserAgentConfig(_config_1); const _config_3 = retry.resolveRetryConfig(_config_2); const _config_4 = config.resolveRegionConfig(_config_3); const _config_5 = client$1.resolveHostHeaderConfig(_config_4); const _config_6 = endpoints.resolveEndpointConfig(_config_5); const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); this.middlewareStack.use(retry.getRetryPlugin(this.config)); this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultInspectorHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class AddAttributesToFindingsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "AddAttributesToFindings", {}) .n("InspectorClient", "AddAttributesToFindingsCommand") .sc(schemas_0.AddAttributesToFindings$) .build() {} class CreateAssessmentTargetCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "CreateAssessmentTarget", {}) .n("InspectorClient", "CreateAssessmentTargetCommand") .sc(schemas_0.CreateAssessmentTarget$) .build() {} class CreateAssessmentTemplateCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "CreateAssessmentTemplate", {}) .n("InspectorClient", "CreateAssessmentTemplateCommand") .sc(schemas_0.CreateAssessmentTemplate$) .build() {} class CreateExclusionsPreviewCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "CreateExclusionsPreview", {}) .n("InspectorClient", "CreateExclusionsPreviewCommand") .sc(schemas_0.CreateExclusionsPreview$) .build() {} class CreateResourceGroupCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "CreateResourceGroup", {}) .n("InspectorClient", "CreateResourceGroupCommand") .sc(schemas_0.CreateResourceGroup$) .build() {} class DeleteAssessmentRunCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DeleteAssessmentRun", {}) .n("InspectorClient", "DeleteAssessmentRunCommand") .sc(schemas_0.DeleteAssessmentRun$) .build() {} class DeleteAssessmentTargetCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DeleteAssessmentTarget", {}) .n("InspectorClient", "DeleteAssessmentTargetCommand") .sc(schemas_0.DeleteAssessmentTarget$) .build() {} class DeleteAssessmentTemplateCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DeleteAssessmentTemplate", {}) .n("InspectorClient", "DeleteAssessmentTemplateCommand") .sc(schemas_0.DeleteAssessmentTemplate$) .build() {} class DescribeAssessmentRunsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DescribeAssessmentRuns", {}) .n("InspectorClient", "DescribeAssessmentRunsCommand") .sc(schemas_0.DescribeAssessmentRuns$) .build() {} class DescribeAssessmentTargetsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DescribeAssessmentTargets", {}) .n("InspectorClient", "DescribeAssessmentTargetsCommand") .sc(schemas_0.DescribeAssessmentTargets$) .build() {} class DescribeAssessmentTemplatesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DescribeAssessmentTemplates", {}) .n("InspectorClient", "DescribeAssessmentTemplatesCommand") .sc(schemas_0.DescribeAssessmentTemplates$) .build() {} class DescribeCrossAccountAccessRoleCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DescribeCrossAccountAccessRole", {}) .n("InspectorClient", "DescribeCrossAccountAccessRoleCommand") .sc(schemas_0.DescribeCrossAccountAccessRole$) .build() {} class DescribeExclusionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DescribeExclusions", {}) .n("InspectorClient", "DescribeExclusionsCommand") .sc(schemas_0.DescribeExclusions$) .build() {} class DescribeFindingsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DescribeFindings", {}) .n("InspectorClient", "DescribeFindingsCommand") .sc(schemas_0.DescribeFindings$) .build() {} class DescribeResourceGroupsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DescribeResourceGroups", {}) .n("InspectorClient", "DescribeResourceGroupsCommand") .sc(schemas_0.DescribeResourceGroups$) .build() {} class DescribeRulesPackagesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "DescribeRulesPackages", {}) .n("InspectorClient", "DescribeRulesPackagesCommand") .sc(schemas_0.DescribeRulesPackages$) .build() {} class GetAssessmentReportCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "GetAssessmentReport", {}) .n("InspectorClient", "GetAssessmentReportCommand") .sc(schemas_0.GetAssessmentReport$) .build() {} class GetExclusionsPreviewCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "GetExclusionsPreview", {}) .n("InspectorClient", "GetExclusionsPreviewCommand") .sc(schemas_0.GetExclusionsPreview$) .build() {} class GetTelemetryMetadataCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "GetTelemetryMetadata", {}) .n("InspectorClient", "GetTelemetryMetadataCommand") .sc(schemas_0.GetTelemetryMetadata$) .build() {} class ListAssessmentRunAgentsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "ListAssessmentRunAgents", {}) .n("InspectorClient", "ListAssessmentRunAgentsCommand") .sc(schemas_0.ListAssessmentRunAgents$) .build() {} class ListAssessmentRunsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "ListAssessmentRuns", {}) .n("InspectorClient", "ListAssessmentRunsCommand") .sc(schemas_0.ListAssessmentRuns$) .build() {} class ListAssessmentTargetsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "ListAssessmentTargets", {}) .n("InspectorClient", "ListAssessmentTargetsCommand") .sc(schemas_0.ListAssessmentTargets$) .build() {} class ListAssessmentTemplatesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "ListAssessmentTemplates", {}) .n("InspectorClient", "ListAssessmentTemplatesCommand") .sc(schemas_0.ListAssessmentTemplates$) .build() {} class ListEventSubscriptionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "ListEventSubscriptions", {}) .n("InspectorClient", "ListEventSubscriptionsCommand") .sc(schemas_0.ListEventSubscriptions$) .build() {} class ListExclusionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "ListExclusions", {}) .n("InspectorClient", "ListExclusionsCommand") .sc(schemas_0.ListExclusions$) .build() {} class ListFindingsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "ListFindings", {}) .n("InspectorClient", "ListFindingsCommand") .sc(schemas_0.ListFindings$) .build() {} class ListRulesPackagesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "ListRulesPackages", {}) .n("InspectorClient", "ListRulesPackagesCommand") .sc(schemas_0.ListRulesPackages$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "ListTagsForResource", {}) .n("InspectorClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class PreviewAgentsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "PreviewAgents", {}) .n("InspectorClient", "PreviewAgentsCommand") .sc(schemas_0.PreviewAgents$) .build() {} class RegisterCrossAccountAccessRoleCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "RegisterCrossAccountAccessRole", {}) .n("InspectorClient", "RegisterCrossAccountAccessRoleCommand") .sc(schemas_0.RegisterCrossAccountAccessRole$) .build() {} class RemoveAttributesFromFindingsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "RemoveAttributesFromFindings", {}) .n("InspectorClient", "RemoveAttributesFromFindingsCommand") .sc(schemas_0.RemoveAttributesFromFindings$) .build() {} class SetTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "SetTagsForResource", {}) .n("InspectorClient", "SetTagsForResourceCommand") .sc(schemas_0.SetTagsForResource$) .build() {} class StartAssessmentRunCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "StartAssessmentRun", {}) .n("InspectorClient", "StartAssessmentRunCommand") .sc(schemas_0.StartAssessmentRun$) .build() {} class StopAssessmentRunCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "StopAssessmentRun", {}) .n("InspectorClient", "StopAssessmentRunCommand") .sc(schemas_0.StopAssessmentRun$) .build() {} class SubscribeToEventCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "SubscribeToEvent", {}) .n("InspectorClient", "SubscribeToEventCommand") .sc(schemas_0.SubscribeToEvent$) .build() {} class UnsubscribeFromEventCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "UnsubscribeFromEvent", {}) .n("InspectorClient", "UnsubscribeFromEventCommand") .sc(schemas_0.UnsubscribeFromEvent$) .build() {} class UpdateAssessmentTargetCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("InspectorService", "UpdateAssessmentTarget", {}) .n("InspectorClient", "UpdateAssessmentTargetCommand") .sc(schemas_0.UpdateAssessmentTarget$) .build() {} const paginateGetExclusionsPreview = core.createPaginator(InspectorClient, GetExclusionsPreviewCommand, "nextToken", "nextToken", "maxResults"); const paginateListAssessmentRunAgents = core.createPaginator(InspectorClient, ListAssessmentRunAgentsCommand, "nextToken", "nextToken", "maxResults"); const paginateListAssessmentRuns = core.createPaginator(InspectorClient, ListAssessmentRunsCommand, "nextToken", "nextToken", "maxResults"); const paginateListAssessmentTargets = core.createPaginator(InspectorClient, ListAssessmentTargetsCommand, "nextToken", "nextToken", "maxResults"); const paginateListAssessmentTemplates = core.createPaginator(InspectorClient, ListAssessmentTemplatesCommand, "nextToken", "nextToken", "maxResults"); const paginateListEventSubscriptions = core.createPaginator(InspectorClient, ListEventSubscriptionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListExclusions = core.createPaginator(InspectorClient, ListExclusionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListFindings = core.createPaginator(InspectorClient, ListFindingsCommand, "nextToken", "nextToken", "maxResults"); const paginateListRulesPackages = core.createPaginator(InspectorClient, ListRulesPackagesCommand, "nextToken", "nextToken", "maxResults"); const paginatePreviewAgents = core.createPaginator(InspectorClient, PreviewAgentsCommand, "nextToken", "nextToken", "maxResults"); const commands = { AddAttributesToFindingsCommand, CreateAssessmentTargetCommand, CreateAssessmentTemplateCommand, CreateExclusionsPreviewCommand, CreateResourceGroupCommand, DeleteAssessmentRunCommand, DeleteAssessmentTargetCommand, DeleteAssessmentTemplateCommand, DescribeAssessmentRunsCommand, DescribeAssessmentTargetsCommand, DescribeAssessmentTemplatesCommand, DescribeCrossAccountAccessRoleCommand, DescribeExclusionsCommand, DescribeFindingsCommand, DescribeResourceGroupsCommand, DescribeRulesPackagesCommand, GetAssessmentReportCommand, GetExclusionsPreviewCommand, GetTelemetryMetadataCommand, ListAssessmentRunAgentsCommand, ListAssessmentRunsCommand, ListAssessmentTargetsCommand, ListAssessmentTemplatesCommand, ListEventSubscriptionsCommand, ListExclusionsCommand, ListFindingsCommand, ListRulesPackagesCommand, ListTagsForResourceCommand, PreviewAgentsCommand, RegisterCrossAccountAccessRoleCommand, RemoveAttributesFromFindingsCommand, SetTagsForResourceCommand, StartAssessmentRunCommand, StopAssessmentRunCommand, SubscribeToEventCommand, UnsubscribeFromEventCommand, UpdateAssessmentTargetCommand,};const paginators = { paginateGetExclusionsPreview, paginateListAssessmentRunAgents, paginateListAssessmentRuns, paginateListAssessmentTargets, paginateListAssessmentTemplates, paginateListEventSubscriptions, paginateListExclusions, paginateListFindings, paginateListRulesPackages, paginatePreviewAgents,};class Inspector extends InspectorClient {}client.createAggregatedClient(commands, Inspector, { paginators }); const AccessDeniedErrorCode = { ACCESS_DENIED_TO_ASSESSMENT_RUN: "ACCESS_DENIED_TO_ASSESSMENT_RUN", ACCESS_DENIED_TO_ASSESSMENT_TARGET: "ACCESS_DENIED_TO_ASSESSMENT_TARGET", ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE: "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE", ACCESS_DENIED_TO_FINDING: "ACCESS_DENIED_TO_FINDING", ACCESS_DENIED_TO_IAM_ROLE: "ACCESS_DENIED_TO_IAM_ROLE", ACCESS_DENIED_TO_RESOURCE_GROUP: "ACCESS_DENIED_TO_RESOURCE_GROUP", ACCESS_DENIED_TO_RULES_PACKAGE: "ACCESS_DENIED_TO_RULES_PACKAGE", ACCESS_DENIED_TO_SNS_TOPIC: "ACCESS_DENIED_TO_SNS_TOPIC",};const FailedItemErrorCode = { ACCESS_DENIED: "ACCESS_DENIED", DUPLICATE_ARN: "DUPLICATE_ARN", INTERNAL_ERROR: "INTERNAL_ERROR", INVALID_ARN: "INVALID_ARN", ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST", LIMIT_EXCEEDED: "LIMIT_EXCEEDED",};const InvalidInputErrorCode = { ASSESSMENT_TARGET_NAME_ALREADY_TAKEN: "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN", ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN: "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN", INVALID_AGENT_ID: "INVALID_AGENT_ID", INVALID_ASSESSMENT_RUN_ARN: "INVALID_ASSESSMENT_RUN_ARN", INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE: "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE", INVALID_ASSESSMENT_RUN_DURATION_RANGE: "INVALID_ASSESSMENT_RUN_DURATION_RANGE", INVALID_ASSESSMENT_RUN_START_TIME_RANGE: "INVALID_ASSESSMENT_RUN_START_TIME_RANGE", INVALID_ASSESSMENT_RUN_STATE: "INVALID_ASSESSMENT_RUN_STATE", INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE: "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE", INVALID_ASSESSMENT_TARGET_ARN: "INVALID_ASSESSMENT_TARGET_ARN", INVALID_ASSESSMENT_TARGET_NAME: "INVALID_ASSESSMENT_TARGET_NAME", INVALID_ASSESSMENT_TARGET_NAME_PATTERN: "INVALID_ASSESSMENT_TARGET_NAME_PATTERN", INVALID_ASSESSMENT_TEMPLATE_ARN: "INVALID_ASSESSMENT_TEMPLATE_ARN", INVALID_ASSESSMENT_TEMPLATE_DURATION: "INVALID_ASSESSMENT_TEMPLATE_DURATION", INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE: "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE", INVALID_ASSESSMENT_TEMPLATE_NAME: "INVALID_ASSESSMENT_TEMPLATE_NAME", INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN: "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN", INVALID_ATTRIBUTE: "INVALID_ATTRIBUTE", INVALID_AUTO_SCALING_GROUP: "INVALID_AUTO_SCALING_GROUP", INVALID_EVENT: "INVALID_EVENT", INVALID_FINDING_ARN: "INVALID_FINDING_ARN", INVALID_IAM_ROLE_ARN: "INVALID_IAM_ROLE_ARN", INVALID_LOCALE: "INVALID_LOCALE", INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS", INVALID_NUMBER_OF_AGENT_IDS: "INVALID_NUMBER_OF_AGENT_IDS", INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS", INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES: "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES", INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS", INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS", INVALID_NUMBER_OF_ATTRIBUTES: "INVALID_NUMBER_OF_ATTRIBUTES", INVALID_NUMBER_OF_AUTO_SCALING_GROUPS: "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS", INVALID_NUMBER_OF_FINDING_ARNS: "INVALID_NUMBER_OF_FINDING_ARNS", INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS: "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS", INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS: "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS", INVALID_NUMBER_OF_RULES_PACKAGE_ARNS: "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS", INVALID_NUMBER_OF_RULE_NAMES: "INVALID_NUMBER_OF_RULE_NAMES", INVALID_NUMBER_OF_SEVERITIES: "INVALID_NUMBER_OF_SEVERITIES", INVALID_NUMBER_OF_TAGS: "INVALID_NUMBER_OF_TAGS", INVALID_NUMBER_OF_USER_ATTRIBUTES: "INVALID_NUMBER_OF_USER_ATTRIBUTES", INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN", INVALID_RESOURCE_ARN: "INVALID_RESOURCE_ARN", INVALID_RESOURCE_GROUP_ARN: "INVALID_RESOURCE_GROUP_ARN", INVALID_RESOURCE_GROUP_TAG_KEY: "INVALID_RESOURCE_GROUP_TAG_KEY", INVALID_RESOURCE_GROUP_TAG_VALUE: "INVALID_RESOURCE_GROUP_TAG_VALUE", INVALID_RULES_PACKAGE_ARN: "INVALID_RULES_PACKAGE_ARN", INVALID_RULE_NAME: "INVALID_RULE_NAME", INVALID_SEVERITY: "INVALID_SEVERITY", INVALID_SNS_TOPIC_ARN: "INVALID_SNS_TOPIC_ARN", INVALID_TAG: "INVALID_TAG", INVALID_TAG_KEY: "INVALID_TAG_KEY", INVALID_TAG_VALUE: "INVALID_TAG_VALUE", INVALID_USER_ATTRIBUTE: "INVALID_USER_ATTRIBUTE", INVALID_USER_ATTRIBUTE_KEY: "INVALID_USER_ATTRIBUTE_KEY", INVALID_USER_ATTRIBUTE_VALUE: "INVALID_USER_ATTRIBUTE_VALUE",};const NoSuchEntityErrorCode = { ASSESSMENT_RUN_DOES_NOT_EXIST: "ASSESSMENT_RUN_DOES_NOT_EXIST", ASSESSMENT_TARGET_DOES_NOT_EXIST: "ASSESSMENT_TARGET_DOES_NOT_EXIST", ASSESSMENT_TEMPLATE_DOES_NOT_EXIST: "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST", FINDING_DOES_NOT_EXIST: "FINDING_DOES_NOT_EXIST", IAM_ROLE_DOES_NOT_EXIST: "IAM_ROLE_DOES_NOT_EXIST", RESOURCE_GROUP_DOES_NOT_EXIST: "RESOURCE_GROUP_DOES_NOT_EXIST", RULES_PACKAGE_DOES_NOT_EXIST: "RULES_PACKAGE_DOES_NOT_EXIST", SNS_TOPIC_DOES_NOT_EXIST: "SNS_TOPIC_DOES_NOT_EXIST",};const AgentHealthCode = { IDLE: "IDLE", RUNNING: "RUNNING", SHUTDOWN: "SHUTDOWN", THROTTLED: "THROTTLED", UNHEALTHY: "UNHEALTHY", UNKNOWN: "UNKNOWN",};const AgentHealth = { HEALTHY: "HEALTHY", UNHEALTHY: "UNHEALTHY", UNKNOWN: "UNKNOWN",};const Severity = { HIGH: "High", INFORMATIONAL: "Informational", LOW: "Low", MEDIUM: "Medium", UNDEFINED: "Undefined",};const InspectorEvent = { ASSESSMENT_RUN_COMPLETED: "ASSESSMENT_RUN_COMPLETED", ASSESSMENT_RUN_STARTED: "ASSESSMENT_RUN_STARTED", ASSESSMENT_RUN_STATE_CHANGED: "ASSESSMENT_RUN_STATE_CHANGED", FINDING_REPORTED: "FINDING_REPORTED", OTHER: "OTHER",};const AssessmentRunNotificationSnsStatusCode = { ACCESS_DENIED: "ACCESS_DENIED", INTERNAL_ERROR: "INTERNAL_ERROR", SUCCESS: "SUCCESS", TOPIC_DOES_NOT_EXIST: "TOPIC_DOES_NOT_EXIST",};const AssessmentRunState = { CANCELED: "CANCELED", COLLECTING_DATA: "COLLECTING_DATA", COMPLETED: "COMPLETED", COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS", CREATED: "CREATED", DATA_COLLECTED: "DATA_COLLECTED", ERROR: "ERROR", EVALUATING_RULES: "EVALUATING_RULES", FAILED: "FAILED", START_DATA_COLLECTION_IN_PROGRESS: "START_DATA_COLLECTION_IN_PROGRESS", START_DATA_COLLECTION_PENDING: "START_DATA_COLLECTION_PENDING", START_EVALUATING_RULES_PENDING: "START_EVALUATING_RULES_PENDING", STOP_DATA_COLLECTION_PENDING: "STOP_DATA_COLLECTION_PENDING",};const AssetType = { EC2_INSTANCE: "ec2-instance",};const InvalidCrossAccountRoleErrorCode = { ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP: "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP", ROLE_DOES_NOT_HAVE_CORRECT_POLICY: "ROLE_DOES_NOT_HAVE_CORRECT_POLICY",};const LimitExceededErrorCode = { ASSESSMENT_RUN_LIMIT_EXCEEDED: "ASSESSMENT_RUN_LIMIT_EXCEEDED", ASSESSMENT_TARGET_LIMIT_EXCEEDED: "ASSESSMENT_TARGET_LIMIT_EXCEEDED", ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED: "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED", EVENT_SUBSCRIPTION_LIMIT_EXCEEDED: "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED", RESOURCE_GROUP_LIMIT_EXCEEDED: "RESOURCE_GROUP_LIMIT_EXCEEDED",};const Locale = { EN_US: "EN_US",};const ScopeType = { INSTANCE_ID: "INSTANCE_ID", RULES_PACKAGE_ARN: "RULES_PACKAGE_ARN",};const ReportFileFormat = { HTML: "HTML", PDF: "PDF",};const ReportType = { FINDING: "FINDING", FULL: "FULL",};const ReportStatus = { COMPLETED: "COMPLETED", FAILED: "FAILED", WORK_IN_PROGRESS: "WORK_IN_PROGRESS",};const PreviewStatus = { COMPLETED: "COMPLETED", WORK_IN_PROGRESS: "WORK_IN_PROGRESS",};const StopAction = { SKIP_EVALUATION: "SKIP_EVALUATION", START_EVALUATION: "START_EVALUATION",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.InspectorServiceException = InspectorServiceException.InspectorServiceException;exports.AccessDeniedErrorCode = AccessDeniedErrorCode;exports.AddAttributesToFindingsCommand = AddAttributesToFindingsCommand;exports.AgentHealth = AgentHealth;exports.AgentHealthCode = AgentHealthCode;exports.AssessmentRunNotificationSnsStatusCode = AssessmentRunNotificationSnsStatusCode;exports.AssessmentRunState = AssessmentRunState;exports.AssetType = AssetType;exports.CreateAssessmentTargetCommand = CreateAssessmentTargetCommand;exports.CreateAssessmentTemplateCommand = CreateAssessmentTemplateCommand;exports.CreateExclusionsPreviewCommand = CreateExclusionsPreviewCommand;exports.CreateResourceGroupCommand = CreateResourceGroupCommand;exports.DeleteAssessmentRunCommand = DeleteAssessmentRunCommand;exports.DeleteAssessmentTargetCommand = DeleteAssessmentTargetCommand;exports.DeleteAssessmentTemplateCommand = DeleteAssessmentTemplateCommand;exports.DescribeAssessmentRunsCommand = DescribeAssessmentRunsCommand;exports.DescribeAssessmentTargetsCommand = DescribeAssessmentTargetsCommand;exports.DescribeAssessmentTemplatesCommand = DescribeAssessmentTemplatesCommand;exports.DescribeCrossAccountAccessRoleCommand = DescribeCrossAccountAccessRoleCommand;exports.DescribeExclusionsCommand = DescribeExclusionsCommand;exports.DescribeFindingsCommand = DescribeFindingsCommand;exports.DescribeResourceGroupsCommand = DescribeResourceGroupsCommand;exports.DescribeRulesPackagesCommand = DescribeRulesPackagesCommand;exports.FailedItemErrorCode = FailedItemErrorCode;exports.GetAssessmentReportCommand = GetAssessmentReportCommand;exports.GetExclusionsPreviewCommand = GetExclusionsPreviewCommand;exports.GetTelemetryMetadataCommand = GetTelemetryMetadataCommand;exports.Inspector = Inspector;exports.InspectorClient = InspectorClient;exports.InspectorEvent = InspectorEvent;exports.InvalidCrossAccountRoleErrorCode = InvalidCrossAccountRoleErrorCode;exports.InvalidInputErrorCode = InvalidInputErrorCode;exports.LimitExceededErrorCode = LimitExceededErrorCode;exports.ListAssessmentRunAgentsCommand = ListAssessmentRunAgentsCommand;exports.ListAssessmentRunsCommand = ListAssessmentRunsCommand;exports.ListAssessmentTargetsCommand = ListAssessmentTargetsCommand;exports.ListAssessmentTemplatesCommand = ListAssessmentTemplatesCommand;exports.ListEventSubscriptionsCommand = ListEventSubscriptionsCommand;exports.ListExclusionsCommand = ListExclusionsCommand;exports.ListFindingsCommand = ListFindingsCommand;exports.ListRulesPackagesCommand = ListRulesPackagesCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.Locale = Locale;exports.NoSuchEntityErrorCode = NoSuchEntityErrorCode;exports.PreviewAgentsCommand = PreviewAgentsCommand;exports.PreviewStatus = PreviewStatus;exports.RegisterCrossAccountAccessRoleCommand = RegisterCrossAccountAccessRoleCommand;exports.RemoveAttributesFromFindingsCommand = RemoveAttributesFromFindingsCommand;exports.ReportFileFormat = ReportFileFormat;exports.ReportStatus = ReportStatus;exports.ReportType = ReportType;exports.ScopeType = ScopeType;exports.SetTagsForResourceCommand = SetTagsForResourceCommand;exports.Severity = Severity;exports.StartAssessmentRunCommand = StartAssessmentRunCommand;exports.StopAction = StopAction;exports.StopAssessmentRunCommand = StopAssessmentRunCommand;exports.SubscribeToEventCommand = SubscribeToEventCommand;exports.UnsubscribeFromEventCommand = UnsubscribeFromEventCommand;exports.UpdateAssessmentTargetCommand = UpdateAssessmentTargetCommand;exports.paginateGetExclusionsPreview = paginateGetExclusionsPreview;exports.paginateListAssessmentRunAgents = paginateListAssessmentRunAgents;exports.paginateListAssessmentRuns = paginateListAssessmentRuns;exports.paginateListAssessmentTargets = paginateListAssessmentTargets;exports.paginateListAssessmentTemplates = paginateListAssessmentTemplates;exports.paginateListEventSubscriptions = paginateListEventSubscriptions;exports.paginateListExclusions = paginateListExclusions;exports.paginateListFindings = paginateListFindings;exports.paginateListRulesPackages = paginateListRulesPackages;exports.paginatePreviewAgents = paginatePreviewAgents;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: schemas_0['__proto__'] }); Object.keys(schemas_0).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: errors['__proto__'] }); Object.keys(errors).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});