@aws-sdk/client-inspector 3.32.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/{dist/cjs → dist-cjs}/Inspector.js +1 -2
- package/{dist/cjs → dist-cjs}/InspectorClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/AddAttributesToFindingsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateAssessmentTargetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateAssessmentTemplateCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateExclusionsPreviewCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateResourceGroupCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteAssessmentRunCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteAssessmentTargetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteAssessmentTemplateCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeAssessmentRunsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeAssessmentTargetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeAssessmentTemplatesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeCrossAccountAccessRoleCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeExclusionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeFindingsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeResourceGroupsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeRulesPackagesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetAssessmentReportCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetExclusionsPreviewCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetTelemetryMetadataCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAssessmentRunAgentsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAssessmentRunsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAssessmentTargetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAssessmentTemplatesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListEventSubscriptionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListExclusionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListFindingsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListRulesPackagesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PreviewAgentsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RegisterCrossAccountAccessRoleCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/RemoveAttributesFromFindingsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/SetTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartAssessmentRunCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StopAssessmentRunCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/SubscribeToEventCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UnsubscribeFromEventCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateAssessmentTargetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/GetExclusionsPreviewPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListAssessmentRunAgentsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListAssessmentRunsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListAssessmentTargetsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListAssessmentTemplatesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListEventSubscriptionsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListExclusionsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListFindingsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListRulesPackagesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/PreviewAgentsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/Inspector.js +2 -9
- package/{dist/es → dist-es}/InspectorClient.js +2 -14
- package/{dist/es → dist-es}/commands/AddAttributesToFindingsCommand.js +4 -31
- package/dist-es/commands/CreateAssessmentTargetCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateAssessmentTemplateCommand.js +4 -33
- package/{dist/es → dist-es}/commands/CreateExclusionsPreviewCommand.js +4 -32
- package/{dist/es → dist-es}/commands/CreateResourceGroupCommand.js +4 -33
- package/{dist/es → dist-es}/commands/DeleteAssessmentRunCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteAssessmentTargetCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteAssessmentTemplateCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeAssessmentRunsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeAssessmentTargetsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeAssessmentTemplatesCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeCrossAccountAccessRoleCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeExclusionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeFindingsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeResourceGroupsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeRulesPackagesCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetAssessmentReportCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetExclusionsPreviewCommand.js +4 -32
- package/{dist/es → dist-es}/commands/GetTelemetryMetadataCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListAssessmentRunAgentsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListAssessmentRunsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListAssessmentTargetsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListAssessmentTemplatesCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListEventSubscriptionsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListExclusionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListFindingsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListRulesPackagesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PreviewAgentsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/RegisterCrossAccountAccessRoleCommand.js +4 -31
- package/{dist/es → dist-es}/commands/RemoveAttributesFromFindingsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/SetTagsForResourceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/StartAssessmentRunCommand.js +4 -32
- package/{dist/es → dist-es}/commands/StopAssessmentRunCommand.js +4 -31
- package/{dist/es → dist-es}/commands/SubscribeToEventCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UnsubscribeFromEventCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateAssessmentTargetCommand.js +4 -33
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -325
- package/{dist/es → dist-es}/pagination/GetExclusionsPreviewPaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListAssessmentRunAgentsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListAssessmentRunsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListAssessmentTargetsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListAssessmentTemplatesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListEventSubscriptionsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListExclusionsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListFindingsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListRulesPackagesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/PreviewAgentsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +912 -918
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/Inspector.d.ts +2 -2
- package/{dist/types → dist-types}/InspectorClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AddAttributesToFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateAssessmentTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateAssessmentTemplateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateExclusionsPreviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateResourceGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAssessmentRunCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAssessmentTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAssessmentTemplateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAssessmentRunsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAssessmentTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAssessmentTemplatesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCrossAccountAccessRoleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeExclusionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeResourceGroupsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRulesPackagesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAssessmentReportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetExclusionsPreviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetTelemetryMetadataCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAssessmentRunAgentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAssessmentRunsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAssessmentTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAssessmentTemplatesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListEventSubscriptionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListExclusionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRulesPackagesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PreviewAgentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RegisterCrossAccountAccessRoleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveAttributesFromFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SetTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartAssessmentRunCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopAssessmentRunCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SubscribeToEventCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UnsubscribeFromEventCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAssessmentTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetExclusionsPreviewPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAssessmentRunAgentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAssessmentRunsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAssessmentTargetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAssessmentTemplatesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListEventSubscriptionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListExclusionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListFindingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRulesPackagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/PreviewAgentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Inspector.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/InspectorClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AddAttributesToFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateAssessmentTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateAssessmentTemplateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateExclusionsPreviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateResourceGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAssessmentRunCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAssessmentTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAssessmentTemplateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeAssessmentRunsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeAssessmentTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeAssessmentTemplatesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCrossAccountAccessRoleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeExclusionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeResourceGroupsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeRulesPackagesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetAssessmentReportCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetExclusionsPreviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetTelemetryMetadataCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAssessmentRunAgentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAssessmentRunsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAssessmentTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAssessmentTemplatesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListEventSubscriptionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListExclusionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListRulesPackagesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PreviewAgentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RegisterCrossAccountAccessRoleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RemoveAttributesFromFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SetTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StartAssessmentRunCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StopAssessmentRunCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SubscribeToEventCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UnsubscribeFromEventCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateAssessmentTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetExclusionsPreviewPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAssessmentRunAgentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAssessmentRunsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAssessmentTargetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAssessmentTemplatesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListEventSubscriptionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListExclusionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListFindingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRulesPackagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/PreviewAgentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/Inspector.ts +0 -1424
- package/InspectorClient.ts +0 -427
- package/commands/AddAttributesToFindingsCommand.ts +0 -95
- package/commands/CreateAssessmentTargetCommand.ts +0 -101
- package/commands/CreateAssessmentTemplateCommand.ts +0 -97
- package/commands/CreateExclusionsPreviewCommand.ts +0 -96
- package/commands/CreateResourceGroupCommand.ts +0 -97
- package/commands/DeleteAssessmentRunCommand.ts +0 -95
- package/commands/DeleteAssessmentTargetCommand.ts +0 -95
- package/commands/DeleteAssessmentTemplateCommand.ts +0 -95
- package/commands/DescribeAssessmentRunsCommand.ts +0 -95
- package/commands/DescribeAssessmentTargetsCommand.ts +0 -98
- package/commands/DescribeAssessmentTemplatesCommand.ts +0 -100
- package/commands/DescribeCrossAccountAccessRoleCommand.ts +0 -103
- package/commands/DescribeExclusionsCommand.ts +0 -94
- package/commands/DescribeFindingsCommand.ts +0 -94
- package/commands/DescribeResourceGroupsCommand.ts +0 -95
- package/commands/DescribeRulesPackagesCommand.ts +0 -95
- package/commands/GetAssessmentReportCommand.ts +0 -95
- package/commands/GetExclusionsPreviewCommand.ts +0 -96
- package/commands/GetTelemetryMetadataCommand.ts +0 -95
- package/commands/ListAssessmentRunAgentsCommand.ts +0 -95
- package/commands/ListAssessmentRunsCommand.ts +0 -95
- package/commands/ListAssessmentTargetsCommand.ts +0 -96
- package/commands/ListAssessmentTemplatesCommand.ts +0 -95
- package/commands/ListEventSubscriptionsCommand.ts +0 -95
- package/commands/ListExclusionsCommand.ts +0 -94
- package/commands/ListFindingsCommand.ts +0 -95
- package/commands/ListRulesPackagesCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/PreviewAgentsCommand.ts +0 -95
- package/commands/RegisterCrossAccountAccessRoleCommand.ts +0 -101
- package/commands/RemoveAttributesFromFindingsCommand.ts +0 -100
- package/commands/SetTagsForResourceCommand.ts +0 -95
- package/commands/StartAssessmentRunCommand.ts +0 -96
- package/commands/StopAssessmentRunCommand.ts +0 -95
- package/commands/SubscribeToEventCommand.ts +0 -95
- package/commands/UnsubscribeFromEventCommand.ts +0 -95
- package/commands/UpdateAssessmentTargetCommand.ts +0 -97
- package/dist/cjs/Inspector.js.map +0 -1
- package/dist/cjs/InspectorClient.js.map +0 -1
- package/dist/cjs/commands/AddAttributesToFindingsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAssessmentTargetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAssessmentTemplateCommand.js.map +0 -1
- package/dist/cjs/commands/CreateExclusionsPreviewCommand.js.map +0 -1
- package/dist/cjs/commands/CreateResourceGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAssessmentRunCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAssessmentTargetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAssessmentTemplateCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAssessmentRunsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAssessmentTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAssessmentTemplatesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCrossAccountAccessRoleCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeExclusionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeFindingsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeResourceGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRulesPackagesCommand.js.map +0 -1
- package/dist/cjs/commands/GetAssessmentReportCommand.js.map +0 -1
- package/dist/cjs/commands/GetExclusionsPreviewCommand.js.map +0 -1
- package/dist/cjs/commands/GetTelemetryMetadataCommand.js.map +0 -1
- package/dist/cjs/commands/ListAssessmentRunAgentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAssessmentRunsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAssessmentTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAssessmentTemplatesCommand.js.map +0 -1
- package/dist/cjs/commands/ListEventSubscriptionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListExclusionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListFindingsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRulesPackagesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PreviewAgentsCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterCrossAccountAccessRoleCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveAttributesFromFindingsCommand.js.map +0 -1
- package/dist/cjs/commands/SetTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/StartAssessmentRunCommand.js.map +0 -1
- package/dist/cjs/commands/StopAssessmentRunCommand.js.map +0 -1
- package/dist/cjs/commands/SubscribeToEventCommand.js.map +0 -1
- package/dist/cjs/commands/UnsubscribeFromEventCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAssessmentTargetCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetExclusionsPreviewPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListAssessmentRunAgentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAssessmentRunsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAssessmentTargetsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAssessmentTemplatesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListEventSubscriptionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListExclusionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListFindingsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRulesPackagesPaginator.js.map +0 -1
- package/dist/cjs/pagination/PreviewAgentsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Inspector.js.map +0 -1
- package/dist/es/InspectorClient.js.map +0 -1
- package/dist/es/commands/AddAttributesToFindingsCommand.js.map +0 -1
- package/dist/es/commands/CreateAssessmentTargetCommand.js +0 -72
- package/dist/es/commands/CreateAssessmentTargetCommand.js.map +0 -1
- package/dist/es/commands/CreateAssessmentTemplateCommand.js.map +0 -1
- package/dist/es/commands/CreateExclusionsPreviewCommand.js.map +0 -1
- package/dist/es/commands/CreateResourceGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteAssessmentRunCommand.js.map +0 -1
- package/dist/es/commands/DeleteAssessmentTargetCommand.js.map +0 -1
- package/dist/es/commands/DeleteAssessmentTemplateCommand.js.map +0 -1
- package/dist/es/commands/DescribeAssessmentRunsCommand.js.map +0 -1
- package/dist/es/commands/DescribeAssessmentTargetsCommand.js.map +0 -1
- package/dist/es/commands/DescribeAssessmentTemplatesCommand.js.map +0 -1
- package/dist/es/commands/DescribeCrossAccountAccessRoleCommand.js.map +0 -1
- package/dist/es/commands/DescribeExclusionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeFindingsCommand.js.map +0 -1
- package/dist/es/commands/DescribeResourceGroupsCommand.js.map +0 -1
- package/dist/es/commands/DescribeRulesPackagesCommand.js.map +0 -1
- package/dist/es/commands/GetAssessmentReportCommand.js.map +0 -1
- package/dist/es/commands/GetExclusionsPreviewCommand.js.map +0 -1
- package/dist/es/commands/GetTelemetryMetadataCommand.js.map +0 -1
- package/dist/es/commands/ListAssessmentRunAgentsCommand.js.map +0 -1
- package/dist/es/commands/ListAssessmentRunsCommand.js.map +0 -1
- package/dist/es/commands/ListAssessmentTargetsCommand.js.map +0 -1
- package/dist/es/commands/ListAssessmentTemplatesCommand.js.map +0 -1
- package/dist/es/commands/ListEventSubscriptionsCommand.js.map +0 -1
- package/dist/es/commands/ListExclusionsCommand.js.map +0 -1
- package/dist/es/commands/ListFindingsCommand.js.map +0 -1
- package/dist/es/commands/ListRulesPackagesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PreviewAgentsCommand.js.map +0 -1
- package/dist/es/commands/RegisterCrossAccountAccessRoleCommand.js.map +0 -1
- package/dist/es/commands/RemoveAttributesFromFindingsCommand.js.map +0 -1
- package/dist/es/commands/SetTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/StartAssessmentRunCommand.js.map +0 -1
- package/dist/es/commands/StopAssessmentRunCommand.js.map +0 -1
- package/dist/es/commands/SubscribeToEventCommand.js.map +0 -1
- package/dist/es/commands/UnsubscribeFromEventCommand.js.map +0 -1
- package/dist/es/commands/UpdateAssessmentTargetCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -52
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetExclusionsPreviewPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListAssessmentRunAgentsPaginator.js.map +0 -1
- package/dist/es/pagination/ListAssessmentRunsPaginator.js.map +0 -1
- package/dist/es/pagination/ListAssessmentTargetsPaginator.js.map +0 -1
- package/dist/es/pagination/ListAssessmentTemplatesPaginator.js.map +0 -1
- package/dist/es/pagination/ListEventSubscriptionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListExclusionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListFindingsPaginator.js.map +0 -1
- package/dist/es/pagination/ListRulesPackagesPaginator.js.map +0 -1
- package/dist/es/pagination/PreviewAgentsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -86
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3381
- package/pagination/GetExclusionsPreviewPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAssessmentRunAgentsPaginator.ts +0 -58
- package/pagination/ListAssessmentRunsPaginator.ts +0 -58
- package/pagination/ListAssessmentTargetsPaginator.ts +0 -58
- package/pagination/ListAssessmentTemplatesPaginator.ts +0 -58
- package/pagination/ListEventSubscriptionsPaginator.ts +0 -58
- package/pagination/ListExclusionsPaginator.ts +0 -58
- package/pagination/ListFindingsPaginator.ts +0 -58
- package/pagination/ListRulesPackagesPaginator.ts +0 -58
- package/pagination/PreviewAgentsPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -5925
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PreviewAgentsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Previews the agents installed on the EC2 instances that are part of the specified
|
|
10
10
|
* assessment target.</p>
|
|
@@ -59,4 +59,3 @@ class PreviewAgentsCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.PreviewAgentsCommand = PreviewAgentsCommand;
|
|
62
|
-
//# sourceMappingURL=PreviewAgentsCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RegisterCrossAccountAccessRoleCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Registers the IAM role that grants Amazon Inspector access to AWS Services needed to
|
|
10
10
|
* perform security assessments.</p>
|
|
@@ -59,4 +59,3 @@ class RegisterCrossAccountAccessRoleCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.RegisterCrossAccountAccessRoleCommand = RegisterCrossAccountAccessRoleCommand;
|
|
62
|
-
//# sourceMappingURL=RegisterCrossAccountAccessRoleCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemoveAttributesFromFindingsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Removes entire attributes (key and value pairs) from the findings that are specified
|
|
10
10
|
* by the ARNs of the findings where an attribute with the specified key exists.</p>
|
|
@@ -59,4 +59,3 @@ class RemoveAttributesFromFindingsCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.RemoveAttributesFromFindingsCommand = RemoveAttributesFromFindingsCommand;
|
|
62
|
-
//# sourceMappingURL=RemoveAttributesFromFindingsCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetTagsForResourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Sets tags (key and value pairs) to the assessment template that is specified by the
|
|
10
10
|
* ARN of the assessment template.</p>
|
|
@@ -59,4 +59,3 @@ class SetTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.SetTagsForResourceCommand = SetTagsForResourceCommand;
|
|
62
|
-
//# sourceMappingURL=SetTagsForResourceCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StartAssessmentRunCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Starts the assessment run specified by the ARN of the assessment template. For this
|
|
10
10
|
* API to function properly, you must not exceed the limit of running up to 500 concurrent
|
|
@@ -60,4 +60,3 @@ class StartAssessmentRunCommand extends smithy_client_1.Command {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
exports.StartAssessmentRunCommand = StartAssessmentRunCommand;
|
|
63
|
-
//# sourceMappingURL=StartAssessmentRunCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StopAssessmentRunCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Stops the assessment run that is specified by the ARN of the assessment
|
|
10
10
|
* run.</p>
|
|
@@ -59,4 +59,3 @@ class StopAssessmentRunCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.StopAssessmentRunCommand = StopAssessmentRunCommand;
|
|
62
|
-
//# sourceMappingURL=StopAssessmentRunCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SubscribeToEventCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Enables the process of sending Amazon Simple Notification Service (SNS) notifications
|
|
10
10
|
* about a specified event to a specified SNS topic.</p>
|
|
@@ -59,4 +59,3 @@ class SubscribeToEventCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.SubscribeToEventCommand = SubscribeToEventCommand;
|
|
62
|
-
//# sourceMappingURL=SubscribeToEventCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UnsubscribeFromEventCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Disables the process of sending Amazon Simple Notification Service (SNS)
|
|
10
10
|
* notifications about a specified event to a specified SNS topic.</p>
|
|
@@ -59,4 +59,3 @@ class UnsubscribeFromEventCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.UnsubscribeFromEventCommand = UnsubscribeFromEventCommand;
|
|
62
|
-
//# sourceMappingURL=UnsubscribeFromEventCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateAssessmentTargetCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates the assessment target that is specified by the ARN of the assessment
|
|
10
10
|
* target.</p>
|
|
@@ -61,4 +61,3 @@ class UpdateAssessmentTargetCommand extends smithy_client_1.Command {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
exports.UpdateAssessmentTargetCommand = UpdateAssessmentTargetCommand;
|
|
64
|
-
//# sourceMappingURL=UpdateAssessmentTargetCommand.js.map
|
|
@@ -52,4 +52,3 @@ tslib_1.__exportStar(require("./commands/UnsubscribeFromEventCommand"), exports)
|
|
|
52
52
|
tslib_1.__exportStar(require("./commands/UpdateAssessmentTargetCommand"), exports);
|
|
53
53
|
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
54
54
|
tslib_1.__exportStar(require("./models/index"), exports);
|
|
55
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetExclusionsPreview = void 0;
|
|
4
|
+
const GetExclusionsPreviewCommand_1 = require("../commands/GetExclusionsPreviewCommand");
|
|
4
5
|
const Inspector_1 = require("../Inspector");
|
|
5
6
|
const InspectorClient_1 = require("../InspectorClient");
|
|
6
|
-
const GetExclusionsPreviewCommand_1 = require("../commands/GetExclusionsPreviewCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateGetExclusionsPreview(config, input, ...additionalArgumen
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateGetExclusionsPreview = paginateGetExclusionsPreview;
|
|
46
|
-
//# sourceMappingURL=GetExclusionsPreviewPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssessmentRunAgents = void 0;
|
|
4
|
+
const ListAssessmentRunAgentsCommand_1 = require("../commands/ListAssessmentRunAgentsCommand");
|
|
4
5
|
const Inspector_1 = require("../Inspector");
|
|
5
6
|
const InspectorClient_1 = require("../InspectorClient");
|
|
6
|
-
const ListAssessmentRunAgentsCommand_1 = require("../commands/ListAssessmentRunAgentsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListAssessmentRunAgents(config, input, ...additionalArgu
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListAssessmentRunAgents = paginateListAssessmentRunAgents;
|
|
46
|
-
//# sourceMappingURL=ListAssessmentRunAgentsPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssessmentRuns = void 0;
|
|
4
|
+
const ListAssessmentRunsCommand_1 = require("../commands/ListAssessmentRunsCommand");
|
|
4
5
|
const Inspector_1 = require("../Inspector");
|
|
5
6
|
const InspectorClient_1 = require("../InspectorClient");
|
|
6
|
-
const ListAssessmentRunsCommand_1 = require("../commands/ListAssessmentRunsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListAssessmentRuns(config, input, ...additionalArguments
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListAssessmentRuns = paginateListAssessmentRuns;
|
|
46
|
-
//# sourceMappingURL=ListAssessmentRunsPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssessmentTargets = void 0;
|
|
4
|
+
const ListAssessmentTargetsCommand_1 = require("../commands/ListAssessmentTargetsCommand");
|
|
4
5
|
const Inspector_1 = require("../Inspector");
|
|
5
6
|
const InspectorClient_1 = require("../InspectorClient");
|
|
6
|
-
const ListAssessmentTargetsCommand_1 = require("../commands/ListAssessmentTargetsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListAssessmentTargets(config, input, ...additionalArgume
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListAssessmentTargets = paginateListAssessmentTargets;
|
|
46
|
-
//# sourceMappingURL=ListAssessmentTargetsPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssessmentTemplates = void 0;
|
|
4
|
+
const ListAssessmentTemplatesCommand_1 = require("../commands/ListAssessmentTemplatesCommand");
|
|
4
5
|
const Inspector_1 = require("../Inspector");
|
|
5
6
|
const InspectorClient_1 = require("../InspectorClient");
|
|
6
|
-
const ListAssessmentTemplatesCommand_1 = require("../commands/ListAssessmentTemplatesCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListAssessmentTemplates(config, input, ...additionalArgu
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListAssessmentTemplates = paginateListAssessmentTemplates;
|
|
46
|
-
//# sourceMappingURL=ListAssessmentTemplatesPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEventSubscriptions = void 0;
|
|
4
|
+
const ListEventSubscriptionsCommand_1 = require("../commands/ListEventSubscriptionsCommand");
|
|
4
5
|
const Inspector_1 = require("../Inspector");
|
|
5
6
|
const InspectorClient_1 = require("../InspectorClient");
|
|
6
|
-
const ListEventSubscriptionsCommand_1 = require("../commands/ListEventSubscriptionsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListEventSubscriptions(config, input, ...additionalArgum
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListEventSubscriptions = paginateListEventSubscriptions;
|
|
46
|
-
//# sourceMappingURL=ListEventSubscriptionsPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListExclusions = void 0;
|
|
4
|
+
const ListExclusionsCommand_1 = require("../commands/ListExclusionsCommand");
|
|
4
5
|
const Inspector_1 = require("../Inspector");
|
|
5
6
|
const InspectorClient_1 = require("../InspectorClient");
|
|
6
|
-
const ListExclusionsCommand_1 = require("../commands/ListExclusionsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListExclusions(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListExclusions = paginateListExclusions;
|
|
46
|
-
//# sourceMappingURL=ListExclusionsPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFindings = void 0;
|
|
4
|
+
const ListFindingsCommand_1 = require("../commands/ListFindingsCommand");
|
|
4
5
|
const Inspector_1 = require("../Inspector");
|
|
5
6
|
const InspectorClient_1 = require("../InspectorClient");
|
|
6
|
-
const ListFindingsCommand_1 = require("../commands/ListFindingsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListFindings(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListFindings = paginateListFindings;
|
|
46
|
-
//# sourceMappingURL=ListFindingsPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRulesPackages = void 0;
|
|
4
|
+
const ListRulesPackagesCommand_1 = require("../commands/ListRulesPackagesCommand");
|
|
4
5
|
const Inspector_1 = require("../Inspector");
|
|
5
6
|
const InspectorClient_1 = require("../InspectorClient");
|
|
6
|
-
const ListRulesPackagesCommand_1 = require("../commands/ListRulesPackagesCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListRulesPackages(config, input, ...additionalArguments)
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListRulesPackages = paginateListRulesPackages;
|
|
46
|
-
//# sourceMappingURL=ListRulesPackagesPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginatePreviewAgents = void 0;
|
|
4
|
+
const PreviewAgentsCommand_1 = require("../commands/PreviewAgentsCommand");
|
|
4
5
|
const Inspector_1 = require("../Inspector");
|
|
5
6
|
const InspectorClient_1 = require("../InspectorClient");
|
|
6
|
-
const PreviewAgentsCommand_1 = require("../commands/PreviewAgentsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginatePreviewAgents(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginatePreviewAgents = paginatePreviewAgents;
|
|
46
|
-
//# sourceMappingURL=PreviewAgentsPaginator.js.map
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
5
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
6
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
6
7
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
5
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
6
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
6
7
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
8
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
9
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
44
|
};
|
|
44
45
|
};
|
|
45
46
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { InspectorClient } from "./InspectorClient";
|
|
3
2
|
import { AddAttributesToFindingsCommand, } from "./commands/AddAttributesToFindingsCommand";
|
|
4
3
|
import { CreateAssessmentTargetCommand, } from "./commands/CreateAssessmentTargetCommand";
|
|
5
4
|
import { CreateAssessmentTemplateCommand, } from "./commands/CreateAssessmentTemplateCommand";
|
|
@@ -37,13 +36,8 @@ import { StopAssessmentRunCommand, } from "./commands/StopAssessmentRunCommand";
|
|
|
37
36
|
import { SubscribeToEventCommand, } from "./commands/SubscribeToEventCommand";
|
|
38
37
|
import { UnsubscribeFromEventCommand, } from "./commands/UnsubscribeFromEventCommand";
|
|
39
38
|
import { UpdateAssessmentTargetCommand, } from "./commands/UpdateAssessmentTargetCommand";
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
* <p>Amazon Inspector enables you to analyze the behavior of your AWS resources and to
|
|
43
|
-
* identify potential security issues. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html"> Amazon Inspector User
|
|
44
|
-
* Guide</a>.</p>
|
|
45
|
-
*/
|
|
46
|
-
var Inspector = /** @class */ (function (_super) {
|
|
39
|
+
import { InspectorClient } from "./InspectorClient";
|
|
40
|
+
var Inspector = (function (_super) {
|
|
47
41
|
__extends(Inspector, _super);
|
|
48
42
|
function Inspector() {
|
|
49
43
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -569,4 +563,3 @@ var Inspector = /** @class */ (function (_super) {
|
|
|
569
563
|
return Inspector;
|
|
570
564
|
}(InspectorClient));
|
|
571
565
|
export { Inspector };
|
|
572
|
-
//# sourceMappingURL=Inspector.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,13 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* <p>Amazon Inspector enables you to analyze the behavior of your AWS resources and to
|
|
14
|
-
* identify potential security issues. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html"> Amazon Inspector User
|
|
15
|
-
* Guide</a>.</p>
|
|
16
|
-
*/
|
|
17
|
-
var InspectorClient = /** @class */ (function (_super) {
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var InspectorClient = (function (_super) {
|
|
18
12
|
__extends(InspectorClient, _super);
|
|
19
13
|
function InspectorClient(configuration) {
|
|
20
14
|
var _this = this;
|
|
@@ -35,15 +29,9 @@ var InspectorClient = /** @class */ (function (_super) {
|
|
|
35
29
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
36
30
|
return _this;
|
|
37
31
|
}
|
|
38
|
-
/**
|
|
39
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
40
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
41
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
42
|
-
*/
|
|
43
32
|
InspectorClient.prototype.destroy = function () {
|
|
44
33
|
_super.prototype.destroy.call(this);
|
|
45
34
|
};
|
|
46
35
|
return InspectorClient;
|
|
47
36
|
}(__Client));
|
|
48
37
|
export { InspectorClient };
|
|
49
|
-
//# sourceMappingURL=InspectorClient.js.map
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { AddAttributesToFindingsRequest, AddAttributesToFindingsResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1AddAttributesToFindingsCommand, serializeAws_json1_1AddAttributesToFindingsCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { InspectorClient, AddAttributesToFindingsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
13
|
-
* // const { InspectorClient, AddAttributesToFindingsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
14
|
-
* const client = new InspectorClient(config);
|
|
15
|
-
* const command = new AddAttributesToFindingsCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link AddAttributesToFindingsCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link AddAttributesToFindingsCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var AddAttributesToFindingsCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { AddAttributesToFindingsRequest, AddAttributesToFindingsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1AddAttributesToFindingsCommand, serializeAws_json1_1AddAttributesToFindingsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var AddAttributesToFindingsCommand = (function (_super) {
|
|
25
7
|
__extends(AddAttributesToFindingsCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function AddAttributesToFindingsCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
AddAttributesToFindingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +37,3 @@ var AddAttributesToFindingsCommand = /** @class */ (function (_super) {
|
|
|
63
37
|
return AddAttributesToFindingsCommand;
|
|
64
38
|
}($Command));
|
|
65
39
|
export { AddAttributesToFindingsCommand };
|
|
66
|
-
//# sourceMappingURL=AddAttributesToFindingsCommand.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateAssessmentTargetRequest, CreateAssessmentTargetResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateAssessmentTargetCommand, serializeAws_json1_1CreateAssessmentTargetCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateAssessmentTargetCommand = (function (_super) {
|
|
7
|
+
__extends(CreateAssessmentTargetCommand, _super);
|
|
8
|
+
function CreateAssessmentTargetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateAssessmentTargetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "InspectorClient";
|
|
18
|
+
var commandName = "CreateAssessmentTargetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateAssessmentTargetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateAssessmentTargetResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateAssessmentTargetCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateAssessmentTargetCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateAssessmentTargetCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateAssessmentTargetCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateAssessmentTargetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateAssessmentTargetCommand };
|
|
@@ -1,43 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateAssessmentTemplateRequest, CreateAssessmentTemplateResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1CreateAssessmentTemplateCommand, serializeAws_json1_1CreateAssessmentTemplateCommand, } from "../protocols/Aws_json1_1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* registers a service-linked role to grant Amazon Inspector access to AWS Services needed to
|
|
10
|
-
* perform security assessments.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { InspectorClient, CreateAssessmentTemplateCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
15
|
-
* // const { InspectorClient, CreateAssessmentTemplateCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
16
|
-
* const client = new InspectorClient(config);
|
|
17
|
-
* const command = new CreateAssessmentTemplateCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateAssessmentTemplateCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateAssessmentTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var CreateAssessmentTemplateCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CreateAssessmentTemplateRequest, CreateAssessmentTemplateResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateAssessmentTemplateCommand, serializeAws_json1_1CreateAssessmentTemplateCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateAssessmentTemplateCommand = (function (_super) {
|
|
27
7
|
__extends(CreateAssessmentTemplateCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function CreateAssessmentTemplateCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
CreateAssessmentTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +37,3 @@ var CreateAssessmentTemplateCommand = /** @class */ (function (_super) {
|
|
|
65
37
|
return CreateAssessmentTemplateCommand;
|
|
66
38
|
}($Command));
|
|
67
39
|
export { CreateAssessmentTemplateCommand };
|
|
68
|
-
//# sourceMappingURL=CreateAssessmentTemplateCommand.js.map
|