@aws-sdk/client-fms 3.35.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/FMS.js +0 -1
- package/dist-cjs/FMSClient.js +0 -1
- package/dist-cjs/commands/AssociateAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/DeleteAppsListCommand.js +0 -1
- package/dist-cjs/commands/DeleteNotificationChannelCommand.js +0 -1
- package/dist-cjs/commands/DeletePolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteProtocolsListCommand.js +0 -1
- package/dist-cjs/commands/DisassociateAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/GetAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/GetAppsListCommand.js +0 -1
- package/dist-cjs/commands/GetComplianceDetailCommand.js +0 -1
- package/dist-cjs/commands/GetNotificationChannelCommand.js +0 -1
- package/dist-cjs/commands/GetPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetProtectionStatusCommand.js +0 -1
- package/dist-cjs/commands/GetProtocolsListCommand.js +0 -1
- package/dist-cjs/commands/GetViolationDetailsCommand.js +0 -1
- package/dist-cjs/commands/ListAppsListsCommand.js +0 -1
- package/dist-cjs/commands/ListComplianceStatusCommand.js +0 -1
- package/dist-cjs/commands/ListMemberAccountsCommand.js +0 -1
- package/dist-cjs/commands/ListPoliciesCommand.js +0 -1
- package/dist-cjs/commands/ListProtocolsListsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/PutAppsListCommand.js +0 -1
- package/dist-cjs/commands/PutNotificationChannelCommand.js +0 -1
- package/dist-cjs/commands/PutPolicyCommand.js +0 -1
- package/dist-cjs/commands/PutProtocolsListCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAppsListsPaginator.js +0 -1
- package/dist-cjs/pagination/ListComplianceStatusPaginator.js +0 -1
- package/dist-cjs/pagination/ListMemberAccountsPaginator.js +0 -1
- package/dist-cjs/pagination/ListPoliciesPaginator.js +0 -1
- package/dist-cjs/pagination/ListProtocolsListsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/FMS.js +0 -1
- package/dist-es/FMSClient.js +0 -1
- package/dist-es/commands/AssociateAdminAccountCommand.js +0 -1
- package/dist-es/commands/DeleteAppsListCommand.js +0 -1
- package/dist-es/commands/DeleteNotificationChannelCommand.js +0 -1
- package/dist-es/commands/DeletePolicyCommand.js +0 -1
- package/dist-es/commands/DeleteProtocolsListCommand.js +0 -1
- package/dist-es/commands/DisassociateAdminAccountCommand.js +0 -1
- package/dist-es/commands/GetAdminAccountCommand.js +0 -1
- package/dist-es/commands/GetAppsListCommand.js +0 -1
- package/dist-es/commands/GetComplianceDetailCommand.js +0 -1
- package/dist-es/commands/GetNotificationChannelCommand.js +0 -1
- package/dist-es/commands/GetPolicyCommand.js +0 -1
- package/dist-es/commands/GetProtectionStatusCommand.js +0 -1
- package/dist-es/commands/GetProtocolsListCommand.js +0 -1
- package/dist-es/commands/GetViolationDetailsCommand.js +0 -1
- package/dist-es/commands/ListAppsListsCommand.js +0 -1
- package/dist-es/commands/ListComplianceStatusCommand.js +0 -1
- package/dist-es/commands/ListMemberAccountsCommand.js +0 -1
- package/dist-es/commands/ListPoliciesCommand.js +0 -1
- package/dist-es/commands/ListProtocolsListsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutAppsListCommand.js +0 -1
- package/dist-es/commands/PutNotificationChannelCommand.js +0 -1
- package/dist-es/commands/PutPolicyCommand.js +0 -1
- package/dist-es/commands/PutProtocolsListCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAppsListsPaginator.js +0 -1
- package/dist-es/pagination/ListComplianceStatusPaginator.js +0 -1
- package/dist-es/pagination/ListMemberAccountsPaginator.js +0 -1
- package/dist-es/pagination/ListPoliciesPaginator.js +0 -1
- package/dist-es/pagination/ListProtocolsListsPaginator.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/FMS.js.map +0 -1
- package/dist-cjs/FMSClient.js.map +0 -1
- package/dist-cjs/commands/AssociateAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAppsListCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteNotificationChannelCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteProtocolsListCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/GetAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/GetAppsListCommand.js.map +0 -1
- package/dist-cjs/commands/GetComplianceDetailCommand.js.map +0 -1
- package/dist-cjs/commands/GetNotificationChannelCommand.js.map +0 -1
- package/dist-cjs/commands/GetPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetProtectionStatusCommand.js.map +0 -1
- package/dist-cjs/commands/GetProtocolsListCommand.js.map +0 -1
- package/dist-cjs/commands/GetViolationDetailsCommand.js.map +0 -1
- package/dist-cjs/commands/ListAppsListsCommand.js.map +0 -1
- package/dist-cjs/commands/ListComplianceStatusCommand.js.map +0 -1
- package/dist-cjs/commands/ListMemberAccountsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListProtocolsListsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutAppsListCommand.js.map +0 -1
- package/dist-cjs/commands/PutNotificationChannelCommand.js.map +0 -1
- package/dist-cjs/commands/PutPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutProtocolsListCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAppsListsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListComplianceStatusPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListMemberAccountsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPoliciesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListProtocolsListsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/FMS.js.map +0 -1
- package/dist-es/FMSClient.js.map +0 -1
- package/dist-es/commands/AssociateAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/DeleteAppsListCommand.js.map +0 -1
- package/dist-es/commands/DeleteNotificationChannelCommand.js.map +0 -1
- package/dist-es/commands/DeletePolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteProtocolsListCommand.js.map +0 -1
- package/dist-es/commands/DisassociateAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/GetAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/GetAppsListCommand.js.map +0 -1
- package/dist-es/commands/GetComplianceDetailCommand.js.map +0 -1
- package/dist-es/commands/GetNotificationChannelCommand.js.map +0 -1
- package/dist-es/commands/GetPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetProtectionStatusCommand.js.map +0 -1
- package/dist-es/commands/GetProtocolsListCommand.js.map +0 -1
- package/dist-es/commands/GetViolationDetailsCommand.js.map +0 -1
- package/dist-es/commands/ListAppsListsCommand.js.map +0 -1
- package/dist-es/commands/ListComplianceStatusCommand.js.map +0 -1
- package/dist-es/commands/ListMemberAccountsCommand.js.map +0 -1
- package/dist-es/commands/ListPoliciesCommand.js.map +0 -1
- package/dist-es/commands/ListProtocolsListsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutAppsListCommand.js.map +0 -1
- package/dist-es/commands/PutNotificationChannelCommand.js.map +0 -1
- package/dist-es/commands/PutPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutProtocolsListCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAppsListsPaginator.js.map +0 -1
- package/dist-es/pagination/ListComplianceStatusPaginator.js.map +0 -1
- package/dist-es/pagination/ListMemberAccountsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPoliciesPaginator.js.map +0 -1
- package/dist-es/pagination/ListProtocolsListsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/FMS.ts +0 -994
- package/src/FMSClient.ts +0 -353
- package/src/commands/AssociateAdminAccountCommand.ts +0 -98
- package/src/commands/DeleteAppsListCommand.ts +0 -95
- package/src/commands/DeleteNotificationChannelCommand.ts +0 -99
- package/src/commands/DeletePolicyCommand.ts +0 -95
- package/src/commands/DeleteProtocolsListCommand.ts +0 -95
- package/src/commands/DisassociateAdminAccountCommand.ts +0 -97
- package/src/commands/GetAdminAccountCommand.ts +0 -96
- package/src/commands/GetAppsListCommand.ts +0 -95
- package/src/commands/GetComplianceDetailCommand.ts +0 -118
- package/src/commands/GetNotificationChannelCommand.ts +0 -97
- package/src/commands/GetPolicyCommand.ts +0 -88
- package/src/commands/GetProtectionStatusCommand.ts +0 -96
- package/src/commands/GetProtocolsListCommand.ts +0 -95
- package/src/commands/GetViolationDetailsCommand.ts +0 -95
- package/src/commands/ListAppsListsCommand.ts +0 -95
- package/src/commands/ListComplianceStatusCommand.ts +0 -97
- package/src/commands/ListMemberAccountsCommand.ts +0 -98
- package/src/commands/ListPoliciesCommand.ts +0 -95
- package/src/commands/ListProtocolsListsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutAppsListCommand.ts +0 -95
- package/src/commands/PutNotificationChannelCommand.ts +0 -99
- package/src/commands/PutPolicyCommand.ts +0 -120
- package/src/commands/PutProtocolsListCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/endpoints.ts +0 -161
- package/src/index.ts +0 -35
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3424
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAppsListsPaginator.ts +0 -59
- package/src/pagination/ListComplianceStatusPaginator.ts +0 -59
- package/src/pagination/ListMemberAccountsPaginator.ts +0 -59
- package/src/pagination/ListPoliciesPaginator.ts +0 -59
- package/src/pagination/ListProtocolsListsPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -4652
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
15
|
-
import { ListMemberAccountsRequest, ListMemberAccountsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1ListMemberAccountsCommand,
|
|
18
|
-
serializeAws_json1_1ListMemberAccountsCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface ListMemberAccountsCommandInput extends ListMemberAccountsRequest {}
|
|
22
|
-
export interface ListMemberAccountsCommandOutput extends ListMemberAccountsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a <code>MemberAccounts</code> object that lists the member accounts in the
|
|
26
|
-
* administrator's Amazon Web Services organization.</p>
|
|
27
|
-
* <p>The <code>ListMemberAccounts</code> must be submitted by the account that is set as the
|
|
28
|
-
* Firewall Manager administrator.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { FMSClient, ListMemberAccountsCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
33
|
-
* // const { FMSClient, ListMemberAccountsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
34
|
-
* const client = new FMSClient(config);
|
|
35
|
-
* const command = new ListMemberAccountsCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link ListMemberAccountsCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link ListMemberAccountsCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class ListMemberAccountsCommand extends $Command<
|
|
45
|
-
ListMemberAccountsCommandInput,
|
|
46
|
-
ListMemberAccountsCommandOutput,
|
|
47
|
-
FMSClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: ListMemberAccountsCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: FMSClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<ListMemberAccountsCommandInput, ListMemberAccountsCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "FMSClient";
|
|
72
|
-
const commandName = "ListMemberAccountsCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: ListMemberAccountsRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: ListMemberAccountsResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: ListMemberAccountsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_1ListMemberAccountsCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListMemberAccountsCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1ListMemberAccountsCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
15
|
-
import { ListPoliciesRequest, ListPoliciesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1ListPoliciesCommand,
|
|
18
|
-
serializeAws_json1_1ListPoliciesCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface ListPoliciesCommandInput extends ListPoliciesRequest {}
|
|
22
|
-
export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns an array of <code>PolicySummary</code> objects.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { FMSClient, ListPoliciesCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
30
|
-
* // const { FMSClient, ListPoliciesCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
31
|
-
* const client = new FMSClient(config);
|
|
32
|
-
* const command = new ListPoliciesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListPoliciesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListPoliciesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListPoliciesCommand extends $Command<
|
|
42
|
-
ListPoliciesCommandInput,
|
|
43
|
-
ListPoliciesCommandOutput,
|
|
44
|
-
FMSClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListPoliciesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: FMSClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListPoliciesCommandInput, ListPoliciesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "FMSClient";
|
|
69
|
-
const commandName = "ListPoliciesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListPoliciesRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListPoliciesResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListPoliciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1ListPoliciesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPoliciesCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1ListPoliciesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
15
|
-
import { ListProtocolsListsRequest, ListProtocolsListsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1ListProtocolsListsCommand,
|
|
18
|
-
serializeAws_json1_1ListProtocolsListsCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface ListProtocolsListsCommandInput extends ListProtocolsListsRequest {}
|
|
22
|
-
export interface ListProtocolsListsCommandOutput extends ListProtocolsListsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns an array of <code>ProtocolsListDataSummary</code> objects.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { FMSClient, ListProtocolsListsCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
30
|
-
* // const { FMSClient, ListProtocolsListsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
31
|
-
* const client = new FMSClient(config);
|
|
32
|
-
* const command = new ListProtocolsListsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListProtocolsListsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListProtocolsListsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListProtocolsListsCommand extends $Command<
|
|
42
|
-
ListProtocolsListsCommandInput,
|
|
43
|
-
ListProtocolsListsCommandOutput,
|
|
44
|
-
FMSClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListProtocolsListsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: FMSClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListProtocolsListsCommandInput, ListProtocolsListsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "FMSClient";
|
|
69
|
-
const commandName = "ListProtocolsListsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListProtocolsListsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListProtocolsListsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListProtocolsListsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1ListProtocolsListsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProtocolsListsCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1ListProtocolsListsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
15
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1ListTagsForResourceCommand,
|
|
18
|
-
serializeAws_json1_1ListTagsForResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
22
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves the list of tags for the specified Amazon Web Services resource. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { FMSClient, ListTagsForResourceCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
30
|
-
* // const { FMSClient, ListTagsForResourceCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
31
|
-
* const client = new FMSClient(config);
|
|
32
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
42
|
-
ListTagsForResourceCommandInput,
|
|
43
|
-
ListTagsForResourceCommandOutput,
|
|
44
|
-
FMSClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: FMSClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "FMSClient";
|
|
69
|
-
const commandName = "ListTagsForResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1ListTagsForResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
15
|
-
import { PutAppsListRequest, PutAppsListResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1PutAppsListCommand,
|
|
18
|
-
serializeAws_json1_1PutAppsListCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface PutAppsListCommandInput extends PutAppsListRequest {}
|
|
22
|
-
export interface PutAppsListCommandOutput extends PutAppsListResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an Firewall Manager applications list.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { FMSClient, PutAppsListCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
30
|
-
* // const { FMSClient, PutAppsListCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
31
|
-
* const client = new FMSClient(config);
|
|
32
|
-
* const command = new PutAppsListCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link PutAppsListCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link PutAppsListCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class PutAppsListCommand extends $Command<
|
|
42
|
-
PutAppsListCommandInput,
|
|
43
|
-
PutAppsListCommandOutput,
|
|
44
|
-
FMSClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: PutAppsListCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: FMSClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<PutAppsListCommandInput, PutAppsListCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "FMSClient";
|
|
69
|
-
const commandName = "PutAppsListCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: PutAppsListRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: PutAppsListResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: PutAppsListCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1PutAppsListCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutAppsListCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1PutAppsListCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
15
|
-
import { PutNotificationChannelRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1PutNotificationChannelCommand,
|
|
18
|
-
serializeAws_json1_1PutNotificationChannelCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface PutNotificationChannelCommandInput extends PutNotificationChannelRequest {}
|
|
22
|
-
export interface PutNotificationChannelCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Designates the IAM role and Amazon Simple Notification Service (SNS) topic that
|
|
26
|
-
* Firewall Manager uses to record SNS logs.</p>
|
|
27
|
-
* <p>To perform this action outside of the console, you must configure the SNS topic to allow the Firewall Manager
|
|
28
|
-
* role <code>AWSServiceRoleForFMS</code> to publish SNS logs. For more information, see
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html">Firewall Manager required permissions for API actions</a> in the <i>Firewall Manager Developer Guide</i>.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { FMSClient, PutNotificationChannelCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
34
|
-
* // const { FMSClient, PutNotificationChannelCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
35
|
-
* const client = new FMSClient(config);
|
|
36
|
-
* const command = new PutNotificationChannelCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link PutNotificationChannelCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link PutNotificationChannelCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class PutNotificationChannelCommand extends $Command<
|
|
46
|
-
PutNotificationChannelCommandInput,
|
|
47
|
-
PutNotificationChannelCommandOutput,
|
|
48
|
-
FMSClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: PutNotificationChannelCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: FMSClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<PutNotificationChannelCommandInput, PutNotificationChannelCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "FMSClient";
|
|
73
|
-
const commandName = "PutNotificationChannelCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: PutNotificationChannelRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: PutNotificationChannelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1PutNotificationChannelCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutNotificationChannelCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1PutNotificationChannelCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|