@aws-sdk/client-inspector2 3.477.0 → 3.481.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/dist-cjs/commands/AssociateMemberCommand.js +18 -41
- package/dist-cjs/commands/BatchGetAccountStatusCommand.js +18 -41
- package/dist-cjs/commands/BatchGetCodeSnippetCommand.js +18 -41
- package/dist-cjs/commands/BatchGetFindingDetailsCommand.js +18 -41
- package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +18 -41
- package/dist-cjs/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +18 -41
- package/dist-cjs/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +18 -41
- package/dist-cjs/commands/CancelFindingsReportCommand.js +18 -41
- package/dist-cjs/commands/CancelSbomExportCommand.js +18 -41
- package/dist-cjs/commands/CreateFilterCommand.js +18 -41
- package/dist-cjs/commands/CreateFindingsReportCommand.js +18 -41
- package/dist-cjs/commands/CreateSbomExportCommand.js +18 -41
- package/dist-cjs/commands/DeleteFilterCommand.js +18 -41
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DisableCommand.js +18 -41
- package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +18 -41
- package/dist-cjs/commands/DisassociateMemberCommand.js +18 -41
- package/dist-cjs/commands/EnableCommand.js +18 -41
- package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +18 -41
- package/dist-cjs/commands/GetConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +18 -41
- package/dist-cjs/commands/GetEc2DeepInspectionConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetEncryptionKeyCommand.js +18 -41
- package/dist-cjs/commands/GetFindingsReportStatusCommand.js +18 -41
- package/dist-cjs/commands/GetMemberCommand.js +18 -41
- package/dist-cjs/commands/GetSbomExportCommand.js +18 -41
- package/dist-cjs/commands/ListAccountPermissionsCommand.js +18 -41
- package/dist-cjs/commands/ListCoverageCommand.js +18 -41
- package/dist-cjs/commands/ListCoverageStatisticsCommand.js +18 -41
- package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +18 -41
- package/dist-cjs/commands/ListFiltersCommand.js +18 -41
- package/dist-cjs/commands/ListFindingAggregationsCommand.js +18 -41
- package/dist-cjs/commands/ListFindingsCommand.js +18 -41
- package/dist-cjs/commands/ListMembersCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListUsageTotalsCommand.js +18 -41
- package/dist-cjs/commands/ResetEncryptionKeyCommand.js +18 -41
- package/dist-cjs/commands/SearchVulnerabilitiesCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateEc2DeepInspectionConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateEncryptionKeyCommand.js +18 -41
- package/dist-cjs/commands/UpdateFilterCommand.js +18 -41
- package/dist-cjs/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListAccountPermissionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCoveragePaginator.js +2 -24
- package/dist-cjs/pagination/ListCoverageStatisticsPaginator.js +2 -23
- package/dist-cjs/pagination/ListDelegatedAdminAccountsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFiltersPaginator.js +2 -24
- package/dist-cjs/pagination/ListFindingAggregationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFindingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMembersPaginator.js +2 -24
- package/dist-cjs/pagination/ListUsageTotalsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchVulnerabilitiesPaginator.js +2 -23
- package/dist-es/commands/AssociateMemberCommand.js +18 -41
- package/dist-es/commands/BatchGetAccountStatusCommand.js +18 -41
- package/dist-es/commands/BatchGetCodeSnippetCommand.js +18 -41
- package/dist-es/commands/BatchGetFindingDetailsCommand.js +18 -41
- package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +18 -41
- package/dist-es/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +18 -41
- package/dist-es/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +18 -41
- package/dist-es/commands/CancelFindingsReportCommand.js +18 -41
- package/dist-es/commands/CancelSbomExportCommand.js +18 -41
- package/dist-es/commands/CreateFilterCommand.js +18 -41
- package/dist-es/commands/CreateFindingsReportCommand.js +18 -41
- package/dist-es/commands/CreateSbomExportCommand.js +18 -41
- package/dist-es/commands/DeleteFilterCommand.js +18 -41
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +18 -41
- package/dist-es/commands/DisableCommand.js +18 -41
- package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +18 -41
- package/dist-es/commands/DisassociateMemberCommand.js +18 -41
- package/dist-es/commands/EnableCommand.js +18 -41
- package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +18 -41
- package/dist-es/commands/GetConfigurationCommand.js +18 -41
- package/dist-es/commands/GetDelegatedAdminAccountCommand.js +18 -41
- package/dist-es/commands/GetEc2DeepInspectionConfigurationCommand.js +18 -41
- package/dist-es/commands/GetEncryptionKeyCommand.js +18 -41
- package/dist-es/commands/GetFindingsReportStatusCommand.js +18 -41
- package/dist-es/commands/GetMemberCommand.js +18 -41
- package/dist-es/commands/GetSbomExportCommand.js +18 -41
- package/dist-es/commands/ListAccountPermissionsCommand.js +18 -41
- package/dist-es/commands/ListCoverageCommand.js +18 -41
- package/dist-es/commands/ListCoverageStatisticsCommand.js +18 -41
- package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +18 -41
- package/dist-es/commands/ListFiltersCommand.js +18 -41
- package/dist-es/commands/ListFindingAggregationsCommand.js +18 -41
- package/dist-es/commands/ListFindingsCommand.js +18 -41
- package/dist-es/commands/ListMembersCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListUsageTotalsCommand.js +18 -41
- package/dist-es/commands/ResetEncryptionKeyCommand.js +18 -41
- package/dist-es/commands/SearchVulnerabilitiesCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateEc2DeepInspectionConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateEncryptionKeyCommand.js +18 -41
- package/dist-es/commands/UpdateFilterCommand.js +18 -41
- package/dist-es/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListAccountPermissionsPaginator.js +2 -23
- package/dist-es/pagination/ListCoveragePaginator.js +2 -23
- package/dist-es/pagination/ListCoverageStatisticsPaginator.js +2 -22
- package/dist-es/pagination/ListDelegatedAdminAccountsPaginator.js +2 -23
- package/dist-es/pagination/ListFiltersPaginator.js +2 -23
- package/dist-es/pagination/ListFindingAggregationsPaginator.js +2 -23
- package/dist-es/pagination/ListFindingsPaginator.js +2 -23
- package/dist-es/pagination/ListMembersPaginator.js +2 -23
- package/dist-es/pagination/ListUsageTotalsPaginator.js +2 -23
- package/dist-es/pagination/SearchVulnerabilitiesPaginator.js +2 -22
- package/dist-types/commands/AssociateMemberCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +6 -21
- package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +6 -21
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +6 -21
- package/dist-types/commands/CancelSbomExportCommand.d.ts +6 -21
- package/dist-types/commands/CreateFilterCommand.d.ts +6 -21
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +6 -21
- package/dist-types/commands/CreateSbomExportCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFilterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DisableCommand.d.ts +6 -21
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateMemberCommand.d.ts +6 -21
- package/dist-types/commands/EnableCommand.d.ts +6 -21
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -21
- package/dist-types/commands/GetConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +6 -21
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetEncryptionKeyCommand.d.ts +6 -21
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +6 -21
- package/dist-types/commands/GetMemberCommand.d.ts +6 -21
- package/dist-types/commands/GetSbomExportCommand.d.ts +6 -21
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +6 -21
- package/dist-types/commands/ListCoverageCommand.d.ts +6 -21
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +6 -21
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +6 -21
- package/dist-types/commands/ListFiltersCommand.d.ts +6 -21
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +6 -21
- package/dist-types/commands/ListFindingsCommand.d.ts +6 -21
- package/dist-types/commands/ListMembersCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +6 -21
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +6 -21
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateFilterCommand.d.ts +6 -21
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListAccountPermissionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCoveragePaginator.d.ts +1 -1
- package/dist-types/pagination/ListCoverageStatisticsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDelegatedAdminAccountsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFiltersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFindingAggregationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUsageTotalsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchVulnerabilitiesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateMemberCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchGetAccountStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetCodeSnippetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchGetFindingDetailsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetFreeTrialInfoCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CancelFindingsReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CancelSbomExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateFindingsReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateSbomExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisableCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/DisableDelegatedAdminAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/EnableDelegatedAdminAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListAccountPermissionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCoveragePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCoverageStatisticsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDelegatedAdminAccountsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFiltersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFindingAggregationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUsageTotalsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchVulnerabilitiesPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "Inspector2Client";
|
|
29
|
-
const commandName = "UpdateOrganizationConfigurationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Inspector2",
|
|
38
|
-
operation: "UpdateOrganizationConfiguration",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateOrganizationConfigurationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateOrganizationConfigurationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Inspector2", "UpdateOrganizationConfiguration", {})
|
|
22
|
+
.n("Inspector2Client", "UpdateOrganizationConfigurationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateOrganizationConfigurationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateOrganizationConfigurationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateOrganizationConfigurationCommand = UpdateOrganizationConfigurationCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAccountPermissions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAccountPermissionsCommand_1 = require("../commands/ListAccountPermissionsCommand");
|
|
5
6
|
const Inspector2Client_1 = require("../Inspector2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAccountPermissionsCommand_1.ListAccountPermissionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAccountPermissions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof Inspector2Client_1.Inspector2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAccountPermissions = paginateListAccountPermissions;
|
|
7
|
+
exports.paginateListAccountPermissions = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListAccountPermissionsCommand_1.ListAccountPermissionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCoverage = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCoverageCommand_1 = require("../commands/ListCoverageCommand");
|
|
5
6
|
const Inspector2Client_1 = require("../Inspector2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCoverageCommand_1.ListCoverageCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCoverage(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof Inspector2Client_1.Inspector2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCoverage = paginateListCoverage;
|
|
7
|
+
exports.paginateListCoverage = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListCoverageCommand_1.ListCoverageCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCoverageStatistics = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCoverageStatisticsCommand_1 = require("../commands/ListCoverageStatisticsCommand");
|
|
5
6
|
const Inspector2Client_1 = require("../Inspector2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCoverageStatisticsCommand_1.ListCoverageStatisticsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCoverageStatistics(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof Inspector2Client_1.Inspector2Client) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListCoverageStatistics = paginateListCoverageStatistics;
|
|
7
|
+
exports.paginateListCoverageStatistics = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListCoverageStatisticsCommand_1.ListCoverageStatisticsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDelegatedAdminAccounts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDelegatedAdminAccountsCommand_1 = require("../commands/ListDelegatedAdminAccountsCommand");
|
|
5
6
|
const Inspector2Client_1 = require("../Inspector2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDelegatedAdminAccountsCommand_1.ListDelegatedAdminAccountsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDelegatedAdminAccounts(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof Inspector2Client_1.Inspector2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDelegatedAdminAccounts = paginateListDelegatedAdminAccounts;
|
|
7
|
+
exports.paginateListDelegatedAdminAccounts = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListDelegatedAdminAccountsCommand_1.ListDelegatedAdminAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFilters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListFiltersCommand_1 = require("../commands/ListFiltersCommand");
|
|
5
6
|
const Inspector2Client_1 = require("../Inspector2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListFiltersCommand_1.ListFiltersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListFilters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof Inspector2Client_1.Inspector2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListFilters = paginateListFilters;
|
|
7
|
+
exports.paginateListFilters = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListFiltersCommand_1.ListFiltersCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFindingAggregations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListFindingAggregationsCommand_1 = require("../commands/ListFindingAggregationsCommand");
|
|
5
6
|
const Inspector2Client_1 = require("../Inspector2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListFindingAggregationsCommand_1.ListFindingAggregationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListFindingAggregations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof Inspector2Client_1.Inspector2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListFindingAggregations = paginateListFindingAggregations;
|
|
7
|
+
exports.paginateListFindingAggregations = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListFindingAggregationsCommand_1.ListFindingAggregationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFindings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListFindingsCommand_1 = require("../commands/ListFindingsCommand");
|
|
5
6
|
const Inspector2Client_1 = require("../Inspector2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListFindingsCommand_1.ListFindingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListFindings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof Inspector2Client_1.Inspector2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListFindings = paginateListFindings;
|
|
7
|
+
exports.paginateListFindings = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListFindingsCommand_1.ListFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMembers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMembersCommand_1 = require("../commands/ListMembersCommand");
|
|
5
6
|
const Inspector2Client_1 = require("../Inspector2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMembersCommand_1.ListMembersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMembers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof Inspector2Client_1.Inspector2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMembers = paginateListMembers;
|
|
7
|
+
exports.paginateListMembers = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListMembersCommand_1.ListMembersCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListUsageTotals = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListUsageTotalsCommand_1 = require("../commands/ListUsageTotalsCommand");
|
|
5
6
|
const Inspector2Client_1 = require("../Inspector2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListUsageTotalsCommand_1.ListUsageTotalsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListUsageTotals(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof Inspector2Client_1.Inspector2Client) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListUsageTotals = paginateListUsageTotals;
|
|
7
|
+
exports.paginateListUsageTotals = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, ListUsageTotalsCommand_1.ListUsageTotalsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchVulnerabilities = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const SearchVulnerabilitiesCommand_1 = require("../commands/SearchVulnerabilitiesCommand");
|
|
5
6
|
const Inspector2Client_1 = require("../Inspector2Client");
|
|
6
|
-
|
|
7
|
-
return await client.send(new SearchVulnerabilitiesCommand_1.SearchVulnerabilitiesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateSearchVulnerabilities(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof Inspector2Client_1.Inspector2Client) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateSearchVulnerabilities = paginateSearchVulnerabilities;
|
|
7
|
+
exports.paginateSearchVulnerabilities = (0, core_1.createPaginator)(Inspector2Client_1.Inspector2Client, SearchVulnerabilitiesCommand_1.SearchVulnerabilitiesCommand, "nextToken", "nextToken", "");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AssociateMemberCommand, se_AssociateMemberCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AssociateMemberCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Inspector2Client";
|
|
26
|
-
const commandName = "AssociateMemberCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Inspector2",
|
|
35
|
-
operation: "AssociateMember",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AssociateMemberCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AssociateMemberCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AssociateMemberCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "AssociateMember", {})
|
|
19
|
+
.n("Inspector2Client", "AssociateMemberCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AssociateMemberCommand)
|
|
22
|
+
.de(de_AssociateMemberCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchGetAccountStatusCommand, se_BatchGetAccountStatusCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchGetAccountStatusCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Inspector2Client";
|
|
26
|
-
const commandName = "BatchGetAccountStatusCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Inspector2",
|
|
35
|
-
operation: "BatchGetAccountStatus",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchGetAccountStatusCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchGetAccountStatusCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchGetAccountStatusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "BatchGetAccountStatus", {})
|
|
19
|
+
.n("Inspector2Client", "BatchGetAccountStatusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchGetAccountStatusCommand)
|
|
22
|
+
.de(de_BatchGetAccountStatusCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchGetCodeSnippetCommand, se_BatchGetCodeSnippetCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchGetCodeSnippetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Inspector2Client";
|
|
26
|
-
const commandName = "BatchGetCodeSnippetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Inspector2",
|
|
35
|
-
operation: "BatchGetCodeSnippet",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchGetCodeSnippetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchGetCodeSnippetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchGetCodeSnippetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "BatchGetCodeSnippet", {})
|
|
19
|
+
.n("Inspector2Client", "BatchGetCodeSnippetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchGetCodeSnippetCommand)
|
|
22
|
+
.de(de_BatchGetCodeSnippetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|