@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
package/InspectorClient.ts
DELETED
|
@@ -1,427 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AddAttributesToFindingsCommandInput,
|
|
3
|
-
AddAttributesToFindingsCommandOutput,
|
|
4
|
-
} from "./commands/AddAttributesToFindingsCommand";
|
|
5
|
-
import {
|
|
6
|
-
CreateAssessmentTargetCommandInput,
|
|
7
|
-
CreateAssessmentTargetCommandOutput,
|
|
8
|
-
} from "./commands/CreateAssessmentTargetCommand";
|
|
9
|
-
import {
|
|
10
|
-
CreateAssessmentTemplateCommandInput,
|
|
11
|
-
CreateAssessmentTemplateCommandOutput,
|
|
12
|
-
} from "./commands/CreateAssessmentTemplateCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateExclusionsPreviewCommandInput,
|
|
15
|
-
CreateExclusionsPreviewCommandOutput,
|
|
16
|
-
} from "./commands/CreateExclusionsPreviewCommand";
|
|
17
|
-
import {
|
|
18
|
-
CreateResourceGroupCommandInput,
|
|
19
|
-
CreateResourceGroupCommandOutput,
|
|
20
|
-
} from "./commands/CreateResourceGroupCommand";
|
|
21
|
-
import {
|
|
22
|
-
DeleteAssessmentRunCommandInput,
|
|
23
|
-
DeleteAssessmentRunCommandOutput,
|
|
24
|
-
} from "./commands/DeleteAssessmentRunCommand";
|
|
25
|
-
import {
|
|
26
|
-
DeleteAssessmentTargetCommandInput,
|
|
27
|
-
DeleteAssessmentTargetCommandOutput,
|
|
28
|
-
} from "./commands/DeleteAssessmentTargetCommand";
|
|
29
|
-
import {
|
|
30
|
-
DeleteAssessmentTemplateCommandInput,
|
|
31
|
-
DeleteAssessmentTemplateCommandOutput,
|
|
32
|
-
} from "./commands/DeleteAssessmentTemplateCommand";
|
|
33
|
-
import {
|
|
34
|
-
DescribeAssessmentRunsCommandInput,
|
|
35
|
-
DescribeAssessmentRunsCommandOutput,
|
|
36
|
-
} from "./commands/DescribeAssessmentRunsCommand";
|
|
37
|
-
import {
|
|
38
|
-
DescribeAssessmentTargetsCommandInput,
|
|
39
|
-
DescribeAssessmentTargetsCommandOutput,
|
|
40
|
-
} from "./commands/DescribeAssessmentTargetsCommand";
|
|
41
|
-
import {
|
|
42
|
-
DescribeAssessmentTemplatesCommandInput,
|
|
43
|
-
DescribeAssessmentTemplatesCommandOutput,
|
|
44
|
-
} from "./commands/DescribeAssessmentTemplatesCommand";
|
|
45
|
-
import {
|
|
46
|
-
DescribeCrossAccountAccessRoleCommandInput,
|
|
47
|
-
DescribeCrossAccountAccessRoleCommandOutput,
|
|
48
|
-
} from "./commands/DescribeCrossAccountAccessRoleCommand";
|
|
49
|
-
import { DescribeExclusionsCommandInput, DescribeExclusionsCommandOutput } from "./commands/DescribeExclusionsCommand";
|
|
50
|
-
import { DescribeFindingsCommandInput, DescribeFindingsCommandOutput } from "./commands/DescribeFindingsCommand";
|
|
51
|
-
import {
|
|
52
|
-
DescribeResourceGroupsCommandInput,
|
|
53
|
-
DescribeResourceGroupsCommandOutput,
|
|
54
|
-
} from "./commands/DescribeResourceGroupsCommand";
|
|
55
|
-
import {
|
|
56
|
-
DescribeRulesPackagesCommandInput,
|
|
57
|
-
DescribeRulesPackagesCommandOutput,
|
|
58
|
-
} from "./commands/DescribeRulesPackagesCommand";
|
|
59
|
-
import {
|
|
60
|
-
GetAssessmentReportCommandInput,
|
|
61
|
-
GetAssessmentReportCommandOutput,
|
|
62
|
-
} from "./commands/GetAssessmentReportCommand";
|
|
63
|
-
import {
|
|
64
|
-
GetExclusionsPreviewCommandInput,
|
|
65
|
-
GetExclusionsPreviewCommandOutput,
|
|
66
|
-
} from "./commands/GetExclusionsPreviewCommand";
|
|
67
|
-
import {
|
|
68
|
-
GetTelemetryMetadataCommandInput,
|
|
69
|
-
GetTelemetryMetadataCommandOutput,
|
|
70
|
-
} from "./commands/GetTelemetryMetadataCommand";
|
|
71
|
-
import {
|
|
72
|
-
ListAssessmentRunAgentsCommandInput,
|
|
73
|
-
ListAssessmentRunAgentsCommandOutput,
|
|
74
|
-
} from "./commands/ListAssessmentRunAgentsCommand";
|
|
75
|
-
import { ListAssessmentRunsCommandInput, ListAssessmentRunsCommandOutput } from "./commands/ListAssessmentRunsCommand";
|
|
76
|
-
import {
|
|
77
|
-
ListAssessmentTargetsCommandInput,
|
|
78
|
-
ListAssessmentTargetsCommandOutput,
|
|
79
|
-
} from "./commands/ListAssessmentTargetsCommand";
|
|
80
|
-
import {
|
|
81
|
-
ListAssessmentTemplatesCommandInput,
|
|
82
|
-
ListAssessmentTemplatesCommandOutput,
|
|
83
|
-
} from "./commands/ListAssessmentTemplatesCommand";
|
|
84
|
-
import {
|
|
85
|
-
ListEventSubscriptionsCommandInput,
|
|
86
|
-
ListEventSubscriptionsCommandOutput,
|
|
87
|
-
} from "./commands/ListEventSubscriptionsCommand";
|
|
88
|
-
import { ListExclusionsCommandInput, ListExclusionsCommandOutput } from "./commands/ListExclusionsCommand";
|
|
89
|
-
import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
90
|
-
import { ListRulesPackagesCommandInput, ListRulesPackagesCommandOutput } from "./commands/ListRulesPackagesCommand";
|
|
91
|
-
import {
|
|
92
|
-
ListTagsForResourceCommandInput,
|
|
93
|
-
ListTagsForResourceCommandOutput,
|
|
94
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
95
|
-
import { PreviewAgentsCommandInput, PreviewAgentsCommandOutput } from "./commands/PreviewAgentsCommand";
|
|
96
|
-
import {
|
|
97
|
-
RegisterCrossAccountAccessRoleCommandInput,
|
|
98
|
-
RegisterCrossAccountAccessRoleCommandOutput,
|
|
99
|
-
} from "./commands/RegisterCrossAccountAccessRoleCommand";
|
|
100
|
-
import {
|
|
101
|
-
RemoveAttributesFromFindingsCommandInput,
|
|
102
|
-
RemoveAttributesFromFindingsCommandOutput,
|
|
103
|
-
} from "./commands/RemoveAttributesFromFindingsCommand";
|
|
104
|
-
import { SetTagsForResourceCommandInput, SetTagsForResourceCommandOutput } from "./commands/SetTagsForResourceCommand";
|
|
105
|
-
import { StartAssessmentRunCommandInput, StartAssessmentRunCommandOutput } from "./commands/StartAssessmentRunCommand";
|
|
106
|
-
import { StopAssessmentRunCommandInput, StopAssessmentRunCommandOutput } from "./commands/StopAssessmentRunCommand";
|
|
107
|
-
import { SubscribeToEventCommandInput, SubscribeToEventCommandOutput } from "./commands/SubscribeToEventCommand";
|
|
108
|
-
import {
|
|
109
|
-
UnsubscribeFromEventCommandInput,
|
|
110
|
-
UnsubscribeFromEventCommandOutput,
|
|
111
|
-
} from "./commands/UnsubscribeFromEventCommand";
|
|
112
|
-
import {
|
|
113
|
-
UpdateAssessmentTargetCommandInput,
|
|
114
|
-
UpdateAssessmentTargetCommandOutput,
|
|
115
|
-
} from "./commands/UpdateAssessmentTargetCommand";
|
|
116
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
117
|
-
import {
|
|
118
|
-
EndpointsInputConfig,
|
|
119
|
-
EndpointsResolvedConfig,
|
|
120
|
-
RegionInputConfig,
|
|
121
|
-
RegionResolvedConfig,
|
|
122
|
-
resolveEndpointsConfig,
|
|
123
|
-
resolveRegionConfig,
|
|
124
|
-
} from "@aws-sdk/config-resolver";
|
|
125
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
126
|
-
import {
|
|
127
|
-
HostHeaderInputConfig,
|
|
128
|
-
HostHeaderResolvedConfig,
|
|
129
|
-
getHostHeaderPlugin,
|
|
130
|
-
resolveHostHeaderConfig,
|
|
131
|
-
} from "@aws-sdk/middleware-host-header";
|
|
132
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
133
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
134
|
-
import {
|
|
135
|
-
AwsAuthInputConfig,
|
|
136
|
-
AwsAuthResolvedConfig,
|
|
137
|
-
getAwsAuthPlugin,
|
|
138
|
-
resolveAwsAuthConfig,
|
|
139
|
-
} from "@aws-sdk/middleware-signing";
|
|
140
|
-
import {
|
|
141
|
-
UserAgentInputConfig,
|
|
142
|
-
UserAgentResolvedConfig,
|
|
143
|
-
getUserAgentPlugin,
|
|
144
|
-
resolveUserAgentConfig,
|
|
145
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
146
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
147
|
-
import {
|
|
148
|
-
Client as __Client,
|
|
149
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
150
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
151
|
-
} from "@aws-sdk/smithy-client";
|
|
152
|
-
import {
|
|
153
|
-
Provider,
|
|
154
|
-
RegionInfoProvider,
|
|
155
|
-
Credentials as __Credentials,
|
|
156
|
-
Decoder as __Decoder,
|
|
157
|
-
Encoder as __Encoder,
|
|
158
|
-
Hash as __Hash,
|
|
159
|
-
HashConstructor as __HashConstructor,
|
|
160
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
161
|
-
Logger as __Logger,
|
|
162
|
-
Provider as __Provider,
|
|
163
|
-
StreamCollector as __StreamCollector,
|
|
164
|
-
UrlParser as __UrlParser,
|
|
165
|
-
UserAgent as __UserAgent,
|
|
166
|
-
} from "@aws-sdk/types";
|
|
167
|
-
|
|
168
|
-
export type ServiceInputTypes =
|
|
169
|
-
| AddAttributesToFindingsCommandInput
|
|
170
|
-
| CreateAssessmentTargetCommandInput
|
|
171
|
-
| CreateAssessmentTemplateCommandInput
|
|
172
|
-
| CreateExclusionsPreviewCommandInput
|
|
173
|
-
| CreateResourceGroupCommandInput
|
|
174
|
-
| DeleteAssessmentRunCommandInput
|
|
175
|
-
| DeleteAssessmentTargetCommandInput
|
|
176
|
-
| DeleteAssessmentTemplateCommandInput
|
|
177
|
-
| DescribeAssessmentRunsCommandInput
|
|
178
|
-
| DescribeAssessmentTargetsCommandInput
|
|
179
|
-
| DescribeAssessmentTemplatesCommandInput
|
|
180
|
-
| DescribeCrossAccountAccessRoleCommandInput
|
|
181
|
-
| DescribeExclusionsCommandInput
|
|
182
|
-
| DescribeFindingsCommandInput
|
|
183
|
-
| DescribeResourceGroupsCommandInput
|
|
184
|
-
| DescribeRulesPackagesCommandInput
|
|
185
|
-
| GetAssessmentReportCommandInput
|
|
186
|
-
| GetExclusionsPreviewCommandInput
|
|
187
|
-
| GetTelemetryMetadataCommandInput
|
|
188
|
-
| ListAssessmentRunAgentsCommandInput
|
|
189
|
-
| ListAssessmentRunsCommandInput
|
|
190
|
-
| ListAssessmentTargetsCommandInput
|
|
191
|
-
| ListAssessmentTemplatesCommandInput
|
|
192
|
-
| ListEventSubscriptionsCommandInput
|
|
193
|
-
| ListExclusionsCommandInput
|
|
194
|
-
| ListFindingsCommandInput
|
|
195
|
-
| ListRulesPackagesCommandInput
|
|
196
|
-
| ListTagsForResourceCommandInput
|
|
197
|
-
| PreviewAgentsCommandInput
|
|
198
|
-
| RegisterCrossAccountAccessRoleCommandInput
|
|
199
|
-
| RemoveAttributesFromFindingsCommandInput
|
|
200
|
-
| SetTagsForResourceCommandInput
|
|
201
|
-
| StartAssessmentRunCommandInput
|
|
202
|
-
| StopAssessmentRunCommandInput
|
|
203
|
-
| SubscribeToEventCommandInput
|
|
204
|
-
| UnsubscribeFromEventCommandInput
|
|
205
|
-
| UpdateAssessmentTargetCommandInput;
|
|
206
|
-
|
|
207
|
-
export type ServiceOutputTypes =
|
|
208
|
-
| AddAttributesToFindingsCommandOutput
|
|
209
|
-
| CreateAssessmentTargetCommandOutput
|
|
210
|
-
| CreateAssessmentTemplateCommandOutput
|
|
211
|
-
| CreateExclusionsPreviewCommandOutput
|
|
212
|
-
| CreateResourceGroupCommandOutput
|
|
213
|
-
| DeleteAssessmentRunCommandOutput
|
|
214
|
-
| DeleteAssessmentTargetCommandOutput
|
|
215
|
-
| DeleteAssessmentTemplateCommandOutput
|
|
216
|
-
| DescribeAssessmentRunsCommandOutput
|
|
217
|
-
| DescribeAssessmentTargetsCommandOutput
|
|
218
|
-
| DescribeAssessmentTemplatesCommandOutput
|
|
219
|
-
| DescribeCrossAccountAccessRoleCommandOutput
|
|
220
|
-
| DescribeExclusionsCommandOutput
|
|
221
|
-
| DescribeFindingsCommandOutput
|
|
222
|
-
| DescribeResourceGroupsCommandOutput
|
|
223
|
-
| DescribeRulesPackagesCommandOutput
|
|
224
|
-
| GetAssessmentReportCommandOutput
|
|
225
|
-
| GetExclusionsPreviewCommandOutput
|
|
226
|
-
| GetTelemetryMetadataCommandOutput
|
|
227
|
-
| ListAssessmentRunAgentsCommandOutput
|
|
228
|
-
| ListAssessmentRunsCommandOutput
|
|
229
|
-
| ListAssessmentTargetsCommandOutput
|
|
230
|
-
| ListAssessmentTemplatesCommandOutput
|
|
231
|
-
| ListEventSubscriptionsCommandOutput
|
|
232
|
-
| ListExclusionsCommandOutput
|
|
233
|
-
| ListFindingsCommandOutput
|
|
234
|
-
| ListRulesPackagesCommandOutput
|
|
235
|
-
| ListTagsForResourceCommandOutput
|
|
236
|
-
| PreviewAgentsCommandOutput
|
|
237
|
-
| RegisterCrossAccountAccessRoleCommandOutput
|
|
238
|
-
| RemoveAttributesFromFindingsCommandOutput
|
|
239
|
-
| SetTagsForResourceCommandOutput
|
|
240
|
-
| StartAssessmentRunCommandOutput
|
|
241
|
-
| StopAssessmentRunCommandOutput
|
|
242
|
-
| SubscribeToEventCommandOutput
|
|
243
|
-
| UnsubscribeFromEventCommandOutput
|
|
244
|
-
| UpdateAssessmentTargetCommandOutput;
|
|
245
|
-
|
|
246
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
247
|
-
/**
|
|
248
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
249
|
-
*/
|
|
250
|
-
requestHandler?: __HttpHandler;
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
254
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
255
|
-
* @internal
|
|
256
|
-
*/
|
|
257
|
-
sha256?: __HashConstructor;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
261
|
-
* @internal
|
|
262
|
-
*/
|
|
263
|
-
urlParser?: __UrlParser;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* A function that can calculate the length of a request body.
|
|
267
|
-
* @internal
|
|
268
|
-
*/
|
|
269
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* A function that converts a stream into an array of bytes.
|
|
273
|
-
* @internal
|
|
274
|
-
*/
|
|
275
|
-
streamCollector?: __StreamCollector;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
279
|
-
* @internal
|
|
280
|
-
*/
|
|
281
|
-
base64Decoder?: __Decoder;
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
285
|
-
* @internal
|
|
286
|
-
*/
|
|
287
|
-
base64Encoder?: __Encoder;
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
291
|
-
* @internal
|
|
292
|
-
*/
|
|
293
|
-
utf8Decoder?: __Decoder;
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
297
|
-
* @internal
|
|
298
|
-
*/
|
|
299
|
-
utf8Encoder?: __Encoder;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* The runtime environment.
|
|
303
|
-
* @internal
|
|
304
|
-
*/
|
|
305
|
-
runtime?: string;
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
309
|
-
* trait of an operation.
|
|
310
|
-
*/
|
|
311
|
-
disableHostPrefix?: boolean;
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
315
|
-
*/
|
|
316
|
-
maxAttempts?: number | __Provider<number>;
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* Specifies which retry algorithm to use.
|
|
320
|
-
*/
|
|
321
|
-
retryMode?: string | __Provider<string>;
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Optional logger for logging debug/info/warn/error.
|
|
325
|
-
*/
|
|
326
|
-
logger?: __Logger;
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* Unique service identifier.
|
|
330
|
-
* @internal
|
|
331
|
-
*/
|
|
332
|
-
serviceId?: string;
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* The AWS region to which this client will send requests
|
|
336
|
-
*/
|
|
337
|
-
region?: string | __Provider<string>;
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Default credentials provider; Not available in browser runtime.
|
|
341
|
-
* @internal
|
|
342
|
-
*/
|
|
343
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
347
|
-
* @internal
|
|
348
|
-
*/
|
|
349
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
353
|
-
* @internal
|
|
354
|
-
*/
|
|
355
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
type InspectorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
359
|
-
ClientDefaults &
|
|
360
|
-
RegionInputConfig &
|
|
361
|
-
EndpointsInputConfig &
|
|
362
|
-
RetryInputConfig &
|
|
363
|
-
HostHeaderInputConfig &
|
|
364
|
-
AwsAuthInputConfig &
|
|
365
|
-
UserAgentInputConfig;
|
|
366
|
-
/**
|
|
367
|
-
* The configuration interface of InspectorClient class constructor that set the region, credentials and other options.
|
|
368
|
-
*/
|
|
369
|
-
export interface InspectorClientConfig extends InspectorClientConfigType {}
|
|
370
|
-
|
|
371
|
-
type InspectorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
372
|
-
Required<ClientDefaults> &
|
|
373
|
-
RegionResolvedConfig &
|
|
374
|
-
EndpointsResolvedConfig &
|
|
375
|
-
RetryResolvedConfig &
|
|
376
|
-
HostHeaderResolvedConfig &
|
|
377
|
-
AwsAuthResolvedConfig &
|
|
378
|
-
UserAgentResolvedConfig;
|
|
379
|
-
/**
|
|
380
|
-
* The resolved configuration interface of InspectorClient class. This is resolved and normalized from the {@link InspectorClientConfig | constructor configuration interface}.
|
|
381
|
-
*/
|
|
382
|
-
export interface InspectorClientResolvedConfig extends InspectorClientResolvedConfigType {}
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* <fullname>Amazon Inspector</fullname>
|
|
386
|
-
* <p>Amazon Inspector enables you to analyze the behavior of your AWS resources and to
|
|
387
|
-
* identify potential security issues. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html"> Amazon Inspector User
|
|
388
|
-
* Guide</a>.</p>
|
|
389
|
-
*/
|
|
390
|
-
export class InspectorClient extends __Client<
|
|
391
|
-
__HttpHandlerOptions,
|
|
392
|
-
ServiceInputTypes,
|
|
393
|
-
ServiceOutputTypes,
|
|
394
|
-
InspectorClientResolvedConfig
|
|
395
|
-
> {
|
|
396
|
-
/**
|
|
397
|
-
* The resolved configuration of InspectorClient class. This is resolved and normalized from the {@link InspectorClientConfig | constructor configuration interface}.
|
|
398
|
-
*/
|
|
399
|
-
readonly config: InspectorClientResolvedConfig;
|
|
400
|
-
|
|
401
|
-
constructor(configuration: InspectorClientConfig) {
|
|
402
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
403
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
404
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
405
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
406
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
407
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
408
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
409
|
-
super(_config_6);
|
|
410
|
-
this.config = _config_6;
|
|
411
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
412
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
413
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
414
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
415
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
416
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
421
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
422
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
423
|
-
*/
|
|
424
|
-
destroy(): void {
|
|
425
|
-
super.destroy();
|
|
426
|
-
}
|
|
427
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
|
|
2
|
-
import { AddAttributesToFindingsRequest, AddAttributesToFindingsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1AddAttributesToFindingsCommand,
|
|
5
|
-
serializeAws_json1_1AddAttributesToFindingsCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface AddAttributesToFindingsCommandInput extends AddAttributesToFindingsRequest {}
|
|
21
|
-
export interface AddAttributesToFindingsCommandOutput extends AddAttributesToFindingsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Assigns attributes (key and value pairs) to the findings that are specified by the
|
|
25
|
-
* ARNs of the findings.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { InspectorClient, AddAttributesToFindingsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
30
|
-
* // const { InspectorClient, AddAttributesToFindingsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
31
|
-
* const client = new InspectorClient(config);
|
|
32
|
-
* const command = new AddAttributesToFindingsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link AddAttributesToFindingsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link AddAttributesToFindingsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class AddAttributesToFindingsCommand extends $Command<
|
|
42
|
-
AddAttributesToFindingsCommandInput,
|
|
43
|
-
AddAttributesToFindingsCommandOutput,
|
|
44
|
-
InspectorClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: AddAttributesToFindingsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: InspectorClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "InspectorClient";
|
|
69
|
-
const commandName = "AddAttributesToFindingsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: AddAttributesToFindingsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: AddAttributesToFindingsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: AddAttributesToFindingsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1AddAttributesToFindingsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddAttributesToFindingsCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1AddAttributesToFindingsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
|
|
2
|
-
import { CreateAssessmentTargetRequest, CreateAssessmentTargetResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateAssessmentTargetCommand,
|
|
5
|
-
serializeAws_json1_1CreateAssessmentTargetCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateAssessmentTargetCommandInput extends CreateAssessmentTargetRequest {}
|
|
21
|
-
export interface CreateAssessmentTargetCommandOutput extends CreateAssessmentTargetResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a new assessment target using the ARN of the resource group that is generated
|
|
25
|
-
* by <a>CreateResourceGroup</a>. If resourceGroupArn is not specified, all EC2
|
|
26
|
-
* instances in the current AWS account and region are included in the assessment target. If
|
|
27
|
-
* the <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_slr.html">service-linked role</a> isn’t already registered, this action also creates and
|
|
28
|
-
* registers a service-linked role to grant Amazon Inspector access to AWS Services needed to
|
|
29
|
-
* perform security assessments. You can create up to 50 assessment targets per AWS account.
|
|
30
|
-
* You can run up to 500 concurrent agents per AWS account. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_applications.html">
|
|
31
|
-
* Amazon Inspector Assessment Targets</a>.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { InspectorClient, CreateAssessmentTargetCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
36
|
-
* // const { InspectorClient, CreateAssessmentTargetCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
37
|
-
* const client = new InspectorClient(config);
|
|
38
|
-
* const command = new CreateAssessmentTargetCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link CreateAssessmentTargetCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link CreateAssessmentTargetCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link InspectorClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class CreateAssessmentTargetCommand extends $Command<
|
|
48
|
-
CreateAssessmentTargetCommandInput,
|
|
49
|
-
CreateAssessmentTargetCommandOutput,
|
|
50
|
-
InspectorClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: CreateAssessmentTargetCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: InspectorClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<CreateAssessmentTargetCommandInput, CreateAssessmentTargetCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "InspectorClient";
|
|
75
|
-
const commandName = "CreateAssessmentTargetCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: CreateAssessmentTargetRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: CreateAssessmentTargetResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: CreateAssessmentTargetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_1CreateAssessmentTargetCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAssessmentTargetCommandOutput> {
|
|
96
|
-
return deserializeAws_json1_1CreateAssessmentTargetCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|