@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.
Files changed (221) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/FMS.js +0 -1
  3. package/dist-cjs/FMSClient.js +0 -1
  4. package/dist-cjs/commands/AssociateAdminAccountCommand.js +0 -1
  5. package/dist-cjs/commands/DeleteAppsListCommand.js +0 -1
  6. package/dist-cjs/commands/DeleteNotificationChannelCommand.js +0 -1
  7. package/dist-cjs/commands/DeletePolicyCommand.js +0 -1
  8. package/dist-cjs/commands/DeleteProtocolsListCommand.js +0 -1
  9. package/dist-cjs/commands/DisassociateAdminAccountCommand.js +0 -1
  10. package/dist-cjs/commands/GetAdminAccountCommand.js +0 -1
  11. package/dist-cjs/commands/GetAppsListCommand.js +0 -1
  12. package/dist-cjs/commands/GetComplianceDetailCommand.js +0 -1
  13. package/dist-cjs/commands/GetNotificationChannelCommand.js +0 -1
  14. package/dist-cjs/commands/GetPolicyCommand.js +0 -1
  15. package/dist-cjs/commands/GetProtectionStatusCommand.js +0 -1
  16. package/dist-cjs/commands/GetProtocolsListCommand.js +0 -1
  17. package/dist-cjs/commands/GetViolationDetailsCommand.js +0 -1
  18. package/dist-cjs/commands/ListAppsListsCommand.js +0 -1
  19. package/dist-cjs/commands/ListComplianceStatusCommand.js +0 -1
  20. package/dist-cjs/commands/ListMemberAccountsCommand.js +0 -1
  21. package/dist-cjs/commands/ListPoliciesCommand.js +0 -1
  22. package/dist-cjs/commands/ListProtocolsListsCommand.js +0 -1
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  24. package/dist-cjs/commands/PutAppsListCommand.js +0 -1
  25. package/dist-cjs/commands/PutNotificationChannelCommand.js +0 -1
  26. package/dist-cjs/commands/PutPolicyCommand.js +0 -1
  27. package/dist-cjs/commands/PutProtocolsListCommand.js +0 -1
  28. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  29. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  30. package/dist-cjs/endpoints.js +0 -1
  31. package/dist-cjs/index.js +0 -1
  32. package/dist-cjs/models/index.js +0 -1
  33. package/dist-cjs/models/models_0.js +0 -1
  34. package/dist-cjs/pagination/Interfaces.js +0 -1
  35. package/dist-cjs/pagination/ListAppsListsPaginator.js +0 -1
  36. package/dist-cjs/pagination/ListComplianceStatusPaginator.js +0 -1
  37. package/dist-cjs/pagination/ListMemberAccountsPaginator.js +0 -1
  38. package/dist-cjs/pagination/ListPoliciesPaginator.js +0 -1
  39. package/dist-cjs/pagination/ListProtocolsListsPaginator.js +0 -1
  40. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  41. package/dist-cjs/runtimeConfig.browser.js +2 -3
  42. package/dist-cjs/runtimeConfig.js +3 -4
  43. package/dist-cjs/runtimeConfig.native.js +0 -1
  44. package/dist-cjs/runtimeConfig.shared.js +0 -1
  45. package/dist-es/FMS.js +0 -1
  46. package/dist-es/FMSClient.js +0 -1
  47. package/dist-es/commands/AssociateAdminAccountCommand.js +0 -1
  48. package/dist-es/commands/DeleteAppsListCommand.js +0 -1
  49. package/dist-es/commands/DeleteNotificationChannelCommand.js +0 -1
  50. package/dist-es/commands/DeletePolicyCommand.js +0 -1
  51. package/dist-es/commands/DeleteProtocolsListCommand.js +0 -1
  52. package/dist-es/commands/DisassociateAdminAccountCommand.js +0 -1
  53. package/dist-es/commands/GetAdminAccountCommand.js +0 -1
  54. package/dist-es/commands/GetAppsListCommand.js +0 -1
  55. package/dist-es/commands/GetComplianceDetailCommand.js +0 -1
  56. package/dist-es/commands/GetNotificationChannelCommand.js +0 -1
  57. package/dist-es/commands/GetPolicyCommand.js +0 -1
  58. package/dist-es/commands/GetProtectionStatusCommand.js +0 -1
  59. package/dist-es/commands/GetProtocolsListCommand.js +0 -1
  60. package/dist-es/commands/GetViolationDetailsCommand.js +0 -1
  61. package/dist-es/commands/ListAppsListsCommand.js +0 -1
  62. package/dist-es/commands/ListComplianceStatusCommand.js +0 -1
  63. package/dist-es/commands/ListMemberAccountsCommand.js +0 -1
  64. package/dist-es/commands/ListPoliciesCommand.js +0 -1
  65. package/dist-es/commands/ListProtocolsListsCommand.js +0 -1
  66. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  67. package/dist-es/commands/PutAppsListCommand.js +0 -1
  68. package/dist-es/commands/PutNotificationChannelCommand.js +0 -1
  69. package/dist-es/commands/PutPolicyCommand.js +0 -1
  70. package/dist-es/commands/PutProtocolsListCommand.js +0 -1
  71. package/dist-es/commands/TagResourceCommand.js +0 -1
  72. package/dist-es/commands/UntagResourceCommand.js +0 -1
  73. package/dist-es/endpoints.js +0 -1
  74. package/dist-es/index.js +0 -1
  75. package/dist-es/models/index.js +0 -1
  76. package/dist-es/models/models_0.js +0 -1
  77. package/dist-es/pagination/Interfaces.js +0 -1
  78. package/dist-es/pagination/ListAppsListsPaginator.js +0 -1
  79. package/dist-es/pagination/ListComplianceStatusPaginator.js +0 -1
  80. package/dist-es/pagination/ListMemberAccountsPaginator.js +0 -1
  81. package/dist-es/pagination/ListPoliciesPaginator.js +0 -1
  82. package/dist-es/pagination/ListProtocolsListsPaginator.js +0 -1
  83. package/dist-es/protocols/Aws_json1_1.js +0 -1
  84. package/dist-es/runtimeConfig.browser.js +1 -2
  85. package/dist-es/runtimeConfig.js +2 -3
  86. package/dist-es/runtimeConfig.native.js +0 -1
  87. package/dist-es/runtimeConfig.shared.js +0 -1
  88. package/package.json +33 -30
  89. package/dist-cjs/FMS.js.map +0 -1
  90. package/dist-cjs/FMSClient.js.map +0 -1
  91. package/dist-cjs/commands/AssociateAdminAccountCommand.js.map +0 -1
  92. package/dist-cjs/commands/DeleteAppsListCommand.js.map +0 -1
  93. package/dist-cjs/commands/DeleteNotificationChannelCommand.js.map +0 -1
  94. package/dist-cjs/commands/DeletePolicyCommand.js.map +0 -1
  95. package/dist-cjs/commands/DeleteProtocolsListCommand.js.map +0 -1
  96. package/dist-cjs/commands/DisassociateAdminAccountCommand.js.map +0 -1
  97. package/dist-cjs/commands/GetAdminAccountCommand.js.map +0 -1
  98. package/dist-cjs/commands/GetAppsListCommand.js.map +0 -1
  99. package/dist-cjs/commands/GetComplianceDetailCommand.js.map +0 -1
  100. package/dist-cjs/commands/GetNotificationChannelCommand.js.map +0 -1
  101. package/dist-cjs/commands/GetPolicyCommand.js.map +0 -1
  102. package/dist-cjs/commands/GetProtectionStatusCommand.js.map +0 -1
  103. package/dist-cjs/commands/GetProtocolsListCommand.js.map +0 -1
  104. package/dist-cjs/commands/GetViolationDetailsCommand.js.map +0 -1
  105. package/dist-cjs/commands/ListAppsListsCommand.js.map +0 -1
  106. package/dist-cjs/commands/ListComplianceStatusCommand.js.map +0 -1
  107. package/dist-cjs/commands/ListMemberAccountsCommand.js.map +0 -1
  108. package/dist-cjs/commands/ListPoliciesCommand.js.map +0 -1
  109. package/dist-cjs/commands/ListProtocolsListsCommand.js.map +0 -1
  110. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  111. package/dist-cjs/commands/PutAppsListCommand.js.map +0 -1
  112. package/dist-cjs/commands/PutNotificationChannelCommand.js.map +0 -1
  113. package/dist-cjs/commands/PutPolicyCommand.js.map +0 -1
  114. package/dist-cjs/commands/PutProtocolsListCommand.js.map +0 -1
  115. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  116. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  117. package/dist-cjs/endpoints.js.map +0 -1
  118. package/dist-cjs/index.js.map +0 -1
  119. package/dist-cjs/models/index.js.map +0 -1
  120. package/dist-cjs/models/models_0.js.map +0 -1
  121. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  122. package/dist-cjs/pagination/ListAppsListsPaginator.js.map +0 -1
  123. package/dist-cjs/pagination/ListComplianceStatusPaginator.js.map +0 -1
  124. package/dist-cjs/pagination/ListMemberAccountsPaginator.js.map +0 -1
  125. package/dist-cjs/pagination/ListPoliciesPaginator.js.map +0 -1
  126. package/dist-cjs/pagination/ListProtocolsListsPaginator.js.map +0 -1
  127. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  128. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  129. package/dist-cjs/runtimeConfig.js.map +0 -1
  130. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  131. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  132. package/dist-es/FMS.js.map +0 -1
  133. package/dist-es/FMSClient.js.map +0 -1
  134. package/dist-es/commands/AssociateAdminAccountCommand.js.map +0 -1
  135. package/dist-es/commands/DeleteAppsListCommand.js.map +0 -1
  136. package/dist-es/commands/DeleteNotificationChannelCommand.js.map +0 -1
  137. package/dist-es/commands/DeletePolicyCommand.js.map +0 -1
  138. package/dist-es/commands/DeleteProtocolsListCommand.js.map +0 -1
  139. package/dist-es/commands/DisassociateAdminAccountCommand.js.map +0 -1
  140. package/dist-es/commands/GetAdminAccountCommand.js.map +0 -1
  141. package/dist-es/commands/GetAppsListCommand.js.map +0 -1
  142. package/dist-es/commands/GetComplianceDetailCommand.js.map +0 -1
  143. package/dist-es/commands/GetNotificationChannelCommand.js.map +0 -1
  144. package/dist-es/commands/GetPolicyCommand.js.map +0 -1
  145. package/dist-es/commands/GetProtectionStatusCommand.js.map +0 -1
  146. package/dist-es/commands/GetProtocolsListCommand.js.map +0 -1
  147. package/dist-es/commands/GetViolationDetailsCommand.js.map +0 -1
  148. package/dist-es/commands/ListAppsListsCommand.js.map +0 -1
  149. package/dist-es/commands/ListComplianceStatusCommand.js.map +0 -1
  150. package/dist-es/commands/ListMemberAccountsCommand.js.map +0 -1
  151. package/dist-es/commands/ListPoliciesCommand.js.map +0 -1
  152. package/dist-es/commands/ListProtocolsListsCommand.js.map +0 -1
  153. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  154. package/dist-es/commands/PutAppsListCommand.js.map +0 -1
  155. package/dist-es/commands/PutNotificationChannelCommand.js.map +0 -1
  156. package/dist-es/commands/PutPolicyCommand.js.map +0 -1
  157. package/dist-es/commands/PutProtocolsListCommand.js.map +0 -1
  158. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  159. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  160. package/dist-es/endpoints.js.map +0 -1
  161. package/dist-es/index.js.map +0 -1
  162. package/dist-es/models/index.js.map +0 -1
  163. package/dist-es/models/models_0.js.map +0 -1
  164. package/dist-es/pagination/Interfaces.js.map +0 -1
  165. package/dist-es/pagination/ListAppsListsPaginator.js.map +0 -1
  166. package/dist-es/pagination/ListComplianceStatusPaginator.js.map +0 -1
  167. package/dist-es/pagination/ListMemberAccountsPaginator.js.map +0 -1
  168. package/dist-es/pagination/ListPoliciesPaginator.js.map +0 -1
  169. package/dist-es/pagination/ListProtocolsListsPaginator.js.map +0 -1
  170. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  171. package/dist-es/runtimeConfig.browser.js.map +0 -1
  172. package/dist-es/runtimeConfig.js.map +0 -1
  173. package/dist-es/runtimeConfig.native.js.map +0 -1
  174. package/dist-es/runtimeConfig.shared.js.map +0 -1
  175. package/jest.config.js +0 -4
  176. package/src/FMS.ts +0 -994
  177. package/src/FMSClient.ts +0 -353
  178. package/src/commands/AssociateAdminAccountCommand.ts +0 -98
  179. package/src/commands/DeleteAppsListCommand.ts +0 -95
  180. package/src/commands/DeleteNotificationChannelCommand.ts +0 -99
  181. package/src/commands/DeletePolicyCommand.ts +0 -95
  182. package/src/commands/DeleteProtocolsListCommand.ts +0 -95
  183. package/src/commands/DisassociateAdminAccountCommand.ts +0 -97
  184. package/src/commands/GetAdminAccountCommand.ts +0 -96
  185. package/src/commands/GetAppsListCommand.ts +0 -95
  186. package/src/commands/GetComplianceDetailCommand.ts +0 -118
  187. package/src/commands/GetNotificationChannelCommand.ts +0 -97
  188. package/src/commands/GetPolicyCommand.ts +0 -88
  189. package/src/commands/GetProtectionStatusCommand.ts +0 -96
  190. package/src/commands/GetProtocolsListCommand.ts +0 -95
  191. package/src/commands/GetViolationDetailsCommand.ts +0 -95
  192. package/src/commands/ListAppsListsCommand.ts +0 -95
  193. package/src/commands/ListComplianceStatusCommand.ts +0 -97
  194. package/src/commands/ListMemberAccountsCommand.ts +0 -98
  195. package/src/commands/ListPoliciesCommand.ts +0 -95
  196. package/src/commands/ListProtocolsListsCommand.ts +0 -95
  197. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  198. package/src/commands/PutAppsListCommand.ts +0 -95
  199. package/src/commands/PutNotificationChannelCommand.ts +0 -99
  200. package/src/commands/PutPolicyCommand.ts +0 -120
  201. package/src/commands/PutProtocolsListCommand.ts +0 -95
  202. package/src/commands/TagResourceCommand.ts +0 -95
  203. package/src/commands/UntagResourceCommand.ts +0 -95
  204. package/src/endpoints.ts +0 -161
  205. package/src/index.ts +0 -35
  206. package/src/models/index.ts +0 -1
  207. package/src/models/models_0.ts +0 -3424
  208. package/src/pagination/Interfaces.ts +0 -8
  209. package/src/pagination/ListAppsListsPaginator.ts +0 -59
  210. package/src/pagination/ListComplianceStatusPaginator.ts +0 -59
  211. package/src/pagination/ListMemberAccountsPaginator.ts +0 -59
  212. package/src/pagination/ListPoliciesPaginator.ts +0 -59
  213. package/src/pagination/ListProtocolsListsPaginator.ts +0 -59
  214. package/src/protocols/Aws_json1_1.ts +0 -4652
  215. package/src/runtimeConfig.browser.ts +0 -41
  216. package/src/runtimeConfig.native.ts +0 -17
  217. package/src/runtimeConfig.shared.ts +0 -17
  218. package/src/runtimeConfig.ts +0 -46
  219. package/tsconfig.es.json +0 -10
  220. package/tsconfig.json +0 -33
  221. 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
- }