@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,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { GetExclusionsPreviewCommand, } from "../commands/GetExclusionsPreviewCommand";
|
|
2
3
|
import { Inspector } from "../Inspector";
|
|
3
4
|
import { InspectorClient } from "../InspectorClient";
|
|
4
|
-
import { GetExclusionsPreviewCommand, } from "../commands/GetExclusionsPreviewCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetExclusionsPreviewCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.getExclusionsPreview.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateGetExclusionsPreview(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Inspector)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Inspector)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof InspectorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof InspectorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Inspector | InspectorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=GetExclusionsPreviewPaginator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListAssessmentRunAgentsCommand, } from "../commands/ListAssessmentRunAgentsCommand";
|
|
2
3
|
import { Inspector } from "../Inspector";
|
|
3
4
|
import { InspectorClient } from "../InspectorClient";
|
|
4
|
-
import { ListAssessmentRunAgentsCommand, } from "../commands/ListAssessmentRunAgentsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAssessmentRunAgentsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listAssessmentRunAgents.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListAssessmentRunAgents(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Inspector)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Inspector)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof InspectorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof InspectorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Inspector | InspectorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListAssessmentRunAgentsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListAssessmentRunsCommand, } from "../commands/ListAssessmentRunsCommand";
|
|
2
3
|
import { Inspector } from "../Inspector";
|
|
3
4
|
import { InspectorClient } from "../InspectorClient";
|
|
4
|
-
import { ListAssessmentRunsCommand, } from "../commands/ListAssessmentRunsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAssessmentRunsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listAssessmentRuns.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListAssessmentRuns(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Inspector)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Inspector)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof InspectorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof InspectorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Inspector | InspectorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListAssessmentRunsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListAssessmentTargetsCommand, } from "../commands/ListAssessmentTargetsCommand";
|
|
2
3
|
import { Inspector } from "../Inspector";
|
|
3
4
|
import { InspectorClient } from "../InspectorClient";
|
|
4
|
-
import { ListAssessmentTargetsCommand, } from "../commands/ListAssessmentTargetsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAssessmentTargetsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listAssessmentTargets.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListAssessmentTargets(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Inspector)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Inspector)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof InspectorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof InspectorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Inspector | InspectorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListAssessmentTargetsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListAssessmentTemplatesCommand, } from "../commands/ListAssessmentTemplatesCommand";
|
|
2
3
|
import { Inspector } from "../Inspector";
|
|
3
4
|
import { InspectorClient } from "../InspectorClient";
|
|
4
|
-
import { ListAssessmentTemplatesCommand, } from "../commands/ListAssessmentTemplatesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAssessmentTemplatesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listAssessmentTemplates.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListAssessmentTemplates(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Inspector)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Inspector)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof InspectorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof InspectorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Inspector | InspectorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListAssessmentTemplatesPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListEventSubscriptionsCommand, } from "../commands/ListEventSubscriptionsCommand";
|
|
2
3
|
import { Inspector } from "../Inspector";
|
|
3
4
|
import { InspectorClient } from "../InspectorClient";
|
|
4
|
-
import { ListEventSubscriptionsCommand, } from "../commands/ListEventSubscriptionsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEventSubscriptionsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listEventSubscriptions.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListEventSubscriptions(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Inspector)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Inspector)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof InspectorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof InspectorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Inspector | InspectorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListEventSubscriptionsPaginator.js.map
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListExclusionsCommand, } from "../commands/ListExclusionsCommand";
|
|
2
3
|
import { Inspector } from "../Inspector";
|
|
3
4
|
import { InspectorClient } from "../InspectorClient";
|
|
4
|
-
import { ListExclusionsCommand, } from "../commands/ListExclusionsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListExclusionsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listExclusions.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListExclusions(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Inspector)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Inspector)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof InspectorClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof InspectorClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Inspector | InspectorClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListExclusionsPaginator.js.map
|