@aws-sdk/client-inspector2 3.44.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 +11 -0
- package/LICENSE +201 -0
- package/README.md +204 -0
- package/dist-cjs/Inspector2.js +457 -0
- package/dist-cjs/Inspector2Client.js +35 -0
- package/dist-cjs/commands/AssociateMemberCommand.js +36 -0
- package/dist-cjs/commands/BatchGetAccountStatusCommand.js +36 -0
- package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +36 -0
- package/dist-cjs/commands/CancelFindingsReportCommand.js +36 -0
- package/dist-cjs/commands/CreateFilterCommand.js +36 -0
- package/dist-cjs/commands/CreateFindingsReportCommand.js +36 -0
- package/dist-cjs/commands/DeleteFilterCommand.js +36 -0
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DisableCommand.js +36 -0
- package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +36 -0
- package/dist-cjs/commands/DisassociateMemberCommand.js +36 -0
- package/dist-cjs/commands/EnableCommand.js +36 -0
- package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +36 -0
- package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +36 -0
- package/dist-cjs/commands/GetFindingsReportStatusCommand.js +36 -0
- package/dist-cjs/commands/GetMemberCommand.js +36 -0
- package/dist-cjs/commands/ListAccountPermissionsCommand.js +36 -0
- package/dist-cjs/commands/ListCoverageCommand.js +36 -0
- package/dist-cjs/commands/ListCoverageStatisticsCommand.js +36 -0
- package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +36 -0
- package/dist-cjs/commands/ListFiltersCommand.js +36 -0
- package/dist-cjs/commands/ListFindingAggregationsCommand.js +36 -0
- package/dist-cjs/commands/ListFindingsCommand.js +36 -0
- package/dist-cjs/commands/ListMembersCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListUsageTotalsCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateFilterCommand.js +36 -0
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +33 -0
- package/dist-cjs/endpoints.js +130 -0
- package/dist-cjs/index.js +8 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +1287 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccountPermissionsPaginator.js +35 -0
- package/dist-cjs/pagination/ListCoveragePaginator.js +35 -0
- package/dist-cjs/pagination/ListCoverageStatisticsPaginator.js +34 -0
- package/dist-cjs/pagination/ListDelegatedAdminAccountsPaginator.js +35 -0
- package/dist-cjs/pagination/ListFiltersPaginator.js +35 -0
- package/dist-cjs/pagination/ListFindingAggregationsPaginator.js +35 -0
- package/dist-cjs/pagination/ListFindingsPaginator.js +35 -0
- package/dist-cjs/pagination/ListMembersPaginator.js +35 -0
- package/dist-cjs/pagination/ListUsageTotalsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +4893 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +44 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Inspector2.js +460 -0
- package/dist-es/Inspector2Client.js +37 -0
- package/dist-es/commands/AssociateMemberCommand.js +39 -0
- package/dist-es/commands/BatchGetAccountStatusCommand.js +39 -0
- package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +39 -0
- package/dist-es/commands/CancelFindingsReportCommand.js +39 -0
- package/dist-es/commands/CreateFilterCommand.js +39 -0
- package/dist-es/commands/CreateFindingsReportCommand.js +39 -0
- package/dist-es/commands/DeleteFilterCommand.js +39 -0
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +39 -0
- package/dist-es/commands/DisableCommand.js +39 -0
- package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +39 -0
- package/dist-es/commands/DisassociateMemberCommand.js +39 -0
- package/dist-es/commands/EnableCommand.js +39 -0
- package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +39 -0
- package/dist-es/commands/GetDelegatedAdminAccountCommand.js +39 -0
- package/dist-es/commands/GetFindingsReportStatusCommand.js +39 -0
- package/dist-es/commands/GetMemberCommand.js +39 -0
- package/dist-es/commands/ListAccountPermissionsCommand.js +39 -0
- package/dist-es/commands/ListCoverageCommand.js +39 -0
- package/dist-es/commands/ListCoverageStatisticsCommand.js +39 -0
- package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +39 -0
- package/dist-es/commands/ListFiltersCommand.js +39 -0
- package/dist-es/commands/ListFindingAggregationsCommand.js +39 -0
- package/dist-es/commands/ListFindingsCommand.js +39 -0
- package/dist-es/commands/ListMembersCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ListUsageTotalsCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateFilterCommand.js +39 -0
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +30 -0
- package/dist-es/endpoints.js +126 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +1000 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccountPermissionsPaginator.js +74 -0
- package/dist-es/pagination/ListCoveragePaginator.js +74 -0
- package/dist-es/pagination/ListCoverageStatisticsPaginator.js +73 -0
- package/dist-es/pagination/ListDelegatedAdminAccountsPaginator.js +74 -0
- package/dist-es/pagination/ListFiltersPaginator.js +74 -0
- package/dist-es/pagination/ListFindingAggregationsPaginator.js +74 -0
- package/dist-es/pagination/ListFindingsPaginator.js +74 -0
- package/dist-es/pagination/ListMembersPaginator.js +74 -0
- package/dist-es/pagination/ListUsageTotalsPaginator.js +74 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +5265 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Inspector2.d.ts +222 -0
- package/dist-types/Inspector2Client.d.ts +171 -0
- package/dist-types/commands/AssociateMemberCommand.d.ts +35 -0
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +35 -0
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +35 -0
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +35 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +35 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +35 -0
- package/dist-types/commands/DeleteFilterCommand.d.ts +35 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/DisableCommand.d.ts +36 -0
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateMemberCommand.d.ts +35 -0
- package/dist-types/commands/EnableCommand.d.ts +35 -0
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +35 -0
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +36 -0
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +35 -0
- package/dist-types/commands/GetMemberCommand.d.ts +35 -0
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +35 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +35 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +35 -0
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +36 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +35 -0
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +35 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +35 -0
- package/dist-types/commands/ListMembersCommand.d.ts +36 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +35 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +30 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +3837 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAccountPermissionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCoveragePaginator.d.ts +4 -0
- package/dist-types/pagination/ListCoverageStatisticsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDelegatedAdminAccountsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFiltersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFindingAggregationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFindingsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMembersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUsageTotalsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/runtimeConfig.browser.d.ts +39 -0
- package/dist-types/runtimeConfig.d.ts +39 -0
- package/dist-types/runtimeConfig.native.d.ts +38 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Inspector2.d.ts +155 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +101 -0
- package/dist-types/ts3.4/commands/AssociateMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetAccountStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetFreeTrialInfoCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelFindingsReportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFindingsReportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableDelegatedAdminAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableDelegatedAdminAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +30 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2416 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccountPermissionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCoveragePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCoverageStatisticsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDelegatedAdminAccountsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFiltersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFindingAggregationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUsageTotalsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +96 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { BatchGetAccountStatusRequest, BatchGetAccountStatusResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1BatchGetAccountStatusCommand, serializeAws_restJson1BatchGetAccountStatusCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var BatchGetAccountStatusCommand = (function (_super) {
|
|
7
|
+
__extends(BatchGetAccountStatusCommand, _super);
|
|
8
|
+
function BatchGetAccountStatusCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
BatchGetAccountStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "BatchGetAccountStatusCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: BatchGetAccountStatusRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: BatchGetAccountStatusResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
BatchGetAccountStatusCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1BatchGetAccountStatusCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
BatchGetAccountStatusCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1BatchGetAccountStatusCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return BatchGetAccountStatusCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchGetAccountStatusCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { BatchGetFreeTrialInfoRequest, BatchGetFreeTrialInfoResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1BatchGetFreeTrialInfoCommand, serializeAws_restJson1BatchGetFreeTrialInfoCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var BatchGetFreeTrialInfoCommand = (function (_super) {
|
|
7
|
+
__extends(BatchGetFreeTrialInfoCommand, _super);
|
|
8
|
+
function BatchGetFreeTrialInfoCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
BatchGetFreeTrialInfoCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "BatchGetFreeTrialInfoCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: BatchGetFreeTrialInfoRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: BatchGetFreeTrialInfoResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
BatchGetFreeTrialInfoCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1BatchGetFreeTrialInfoCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
BatchGetFreeTrialInfoCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1BatchGetFreeTrialInfoCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return BatchGetFreeTrialInfoCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchGetFreeTrialInfoCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CancelFindingsReportRequest, CancelFindingsReportResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CancelFindingsReportCommand, serializeAws_restJson1CancelFindingsReportCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CancelFindingsReportCommand = (function (_super) {
|
|
7
|
+
__extends(CancelFindingsReportCommand, _super);
|
|
8
|
+
function CancelFindingsReportCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CancelFindingsReportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "CancelFindingsReportCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CancelFindingsReportRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CancelFindingsReportResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CancelFindingsReportCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CancelFindingsReportCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CancelFindingsReportCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CancelFindingsReportCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CancelFindingsReportCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CancelFindingsReportCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateFilterRequest, CreateFilterResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateFilterCommand, serializeAws_restJson1CreateFilterCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateFilterCommand = (function (_super) {
|
|
7
|
+
__extends(CreateFilterCommand, _super);
|
|
8
|
+
function CreateFilterCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateFilterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "CreateFilterCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateFilterRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateFilterResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateFilterCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateFilterCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateFilterCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateFilterCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateFilterCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateFilterCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateFindingsReportRequest, CreateFindingsReportResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateFindingsReportCommand, serializeAws_restJson1CreateFindingsReportCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateFindingsReportCommand = (function (_super) {
|
|
7
|
+
__extends(CreateFindingsReportCommand, _super);
|
|
8
|
+
function CreateFindingsReportCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateFindingsReportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "CreateFindingsReportCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateFindingsReportRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateFindingsReportResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateFindingsReportCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateFindingsReportCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateFindingsReportCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateFindingsReportCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateFindingsReportCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateFindingsReportCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteFilterRequest, DeleteFilterResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteFilterCommand, serializeAws_restJson1DeleteFilterCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteFilterCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteFilterCommand, _super);
|
|
8
|
+
function DeleteFilterCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteFilterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "DeleteFilterCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteFilterRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteFilterResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteFilterCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteFilterCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteFilterCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteFilterCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteFilterCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteFilterCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeOrganizationConfigurationRequest, DescribeOrganizationConfigurationResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeOrganizationConfigurationCommand, serializeAws_restJson1DescribeOrganizationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeOrganizationConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeOrganizationConfigurationCommand, _super);
|
|
8
|
+
function DescribeOrganizationConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeOrganizationConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "DescribeOrganizationConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeOrganizationConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeOrganizationConfigurationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeOrganizationConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DescribeOrganizationConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeOrganizationConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DescribeOrganizationConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeOrganizationConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeOrganizationConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DisableRequest, DisableResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DisableCommand, serializeAws_restJson1DisableCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DisableCommand = (function (_super) {
|
|
7
|
+
__extends(DisableCommand, _super);
|
|
8
|
+
function DisableCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DisableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "DisableCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DisableRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DisableResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisableCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DisableCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DisableCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DisableCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DisableCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisableCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DisableDelegatedAdminAccountRequest, DisableDelegatedAdminAccountResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DisableDelegatedAdminAccountCommand, serializeAws_restJson1DisableDelegatedAdminAccountCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DisableDelegatedAdminAccountCommand = (function (_super) {
|
|
7
|
+
__extends(DisableDelegatedAdminAccountCommand, _super);
|
|
8
|
+
function DisableDelegatedAdminAccountCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DisableDelegatedAdminAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "DisableDelegatedAdminAccountCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DisableDelegatedAdminAccountRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DisableDelegatedAdminAccountResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisableDelegatedAdminAccountCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DisableDelegatedAdminAccountCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DisableDelegatedAdminAccountCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DisableDelegatedAdminAccountCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DisableDelegatedAdminAccountCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisableDelegatedAdminAccountCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DisassociateMemberRequest, DisassociateMemberResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DisassociateMemberCommand, serializeAws_restJson1DisassociateMemberCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DisassociateMemberCommand = (function (_super) {
|
|
7
|
+
__extends(DisassociateMemberCommand, _super);
|
|
8
|
+
function DisassociateMemberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DisassociateMemberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "DisassociateMemberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DisassociateMemberRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DisassociateMemberResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DisassociateMemberCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DisassociateMemberCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DisassociateMemberCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DisassociateMemberCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DisassociateMemberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DisassociateMemberCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { EnableRequest, EnableResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1EnableCommand, serializeAws_restJson1EnableCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
var EnableCommand = (function (_super) {
|
|
7
|
+
__extends(EnableCommand, _super);
|
|
8
|
+
function EnableCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
EnableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "EnableCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: EnableRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: EnableResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
EnableCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1EnableCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
EnableCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1EnableCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return EnableCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { EnableCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { EnableDelegatedAdminAccountRequest, EnableDelegatedAdminAccountResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1EnableDelegatedAdminAccountCommand, serializeAws_restJson1EnableDelegatedAdminAccountCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var EnableDelegatedAdminAccountCommand = (function (_super) {
|
|
7
|
+
__extends(EnableDelegatedAdminAccountCommand, _super);
|
|
8
|
+
function EnableDelegatedAdminAccountCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
EnableDelegatedAdminAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "EnableDelegatedAdminAccountCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: EnableDelegatedAdminAccountRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: EnableDelegatedAdminAccountResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
EnableDelegatedAdminAccountCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1EnableDelegatedAdminAccountCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
EnableDelegatedAdminAccountCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1EnableDelegatedAdminAccountCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return EnableDelegatedAdminAccountCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { EnableDelegatedAdminAccountCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetDelegatedAdminAccountRequest, GetDelegatedAdminAccountResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetDelegatedAdminAccountCommand, serializeAws_restJson1GetDelegatedAdminAccountCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetDelegatedAdminAccountCommand = (function (_super) {
|
|
7
|
+
__extends(GetDelegatedAdminAccountCommand, _super);
|
|
8
|
+
function GetDelegatedAdminAccountCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetDelegatedAdminAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "GetDelegatedAdminAccountCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetDelegatedAdminAccountRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetDelegatedAdminAccountResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDelegatedAdminAccountCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetDelegatedAdminAccountCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetDelegatedAdminAccountCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetDelegatedAdminAccountCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetDelegatedAdminAccountCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDelegatedAdminAccountCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetFindingsReportStatusRequest, GetFindingsReportStatusResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetFindingsReportStatusCommand, serializeAws_restJson1GetFindingsReportStatusCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetFindingsReportStatusCommand = (function (_super) {
|
|
7
|
+
__extends(GetFindingsReportStatusCommand, _super);
|
|
8
|
+
function GetFindingsReportStatusCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetFindingsReportStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "GetFindingsReportStatusCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetFindingsReportStatusRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetFindingsReportStatusResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetFindingsReportStatusCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetFindingsReportStatusCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetFindingsReportStatusCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetFindingsReportStatusCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetFindingsReportStatusCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetFindingsReportStatusCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetMemberRequest, GetMemberResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetMemberCommand, serializeAws_restJson1GetMemberCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetMemberCommand = (function (_super) {
|
|
7
|
+
__extends(GetMemberCommand, _super);
|
|
8
|
+
function GetMemberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetMemberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "GetMemberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetMemberRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetMemberResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetMemberCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetMemberCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetMemberCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetMemberCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetMemberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetMemberCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListAccountPermissionsRequest, ListAccountPermissionsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListAccountPermissionsCommand, serializeAws_restJson1ListAccountPermissionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListAccountPermissionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListAccountPermissionsCommand, _super);
|
|
8
|
+
function ListAccountPermissionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListAccountPermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Inspector2Client";
|
|
18
|
+
var commandName = "ListAccountPermissionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListAccountPermissionsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListAccountPermissionsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListAccountPermissionsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListAccountPermissionsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListAccountPermissionsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListAccountPermissionsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListAccountPermissionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListAccountPermissionsCommand };
|