@aws-sdk/client-network-firewall 3.194.0 → 3.195.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 (156) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/NetworkFirewallClient.js +11 -8
  3. package/dist-cjs/commands/AssociateFirewallPolicyCommand.js +10 -0
  4. package/dist-cjs/commands/AssociateSubnetsCommand.js +10 -0
  5. package/dist-cjs/commands/CreateFirewallCommand.js +10 -0
  6. package/dist-cjs/commands/CreateFirewallPolicyCommand.js +10 -0
  7. package/dist-cjs/commands/CreateRuleGroupCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteFirewallCommand.js +10 -0
  9. package/dist-cjs/commands/DeleteFirewallPolicyCommand.js +10 -0
  10. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +10 -0
  11. package/dist-cjs/commands/DeleteRuleGroupCommand.js +10 -0
  12. package/dist-cjs/commands/DescribeFirewallCommand.js +10 -0
  13. package/dist-cjs/commands/DescribeFirewallPolicyCommand.js +10 -0
  14. package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +10 -0
  15. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +10 -0
  16. package/dist-cjs/commands/DescribeRuleGroupCommand.js +10 -0
  17. package/dist-cjs/commands/DescribeRuleGroupMetadataCommand.js +10 -0
  18. package/dist-cjs/commands/DisassociateSubnetsCommand.js +10 -0
  19. package/dist-cjs/commands/ListFirewallPoliciesCommand.js +10 -0
  20. package/dist-cjs/commands/ListFirewallsCommand.js +10 -0
  21. package/dist-cjs/commands/ListRuleGroupsCommand.js +10 -0
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  23. package/dist-cjs/commands/PutResourcePolicyCommand.js +10 -0
  24. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  25. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  26. package/dist-cjs/commands/UpdateFirewallDeleteProtectionCommand.js +10 -0
  27. package/dist-cjs/commands/UpdateFirewallDescriptionCommand.js +10 -0
  28. package/dist-cjs/commands/UpdateFirewallEncryptionConfigurationCommand.js +10 -0
  29. package/dist-cjs/commands/UpdateFirewallPolicyChangeProtectionCommand.js +10 -0
  30. package/dist-cjs/commands/UpdateFirewallPolicyCommand.js +10 -0
  31. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +10 -0
  32. package/dist-cjs/commands/UpdateRuleGroupCommand.js +10 -0
  33. package/dist-cjs/commands/UpdateSubnetChangeProtectionCommand.js +10 -0
  34. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  35. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  36. package/dist-cjs/endpoint/ruleset.js +318 -0
  37. package/dist-cjs/runtimeConfig.shared.js +3 -3
  38. package/dist-es/NetworkFirewallClient.js +12 -9
  39. package/dist-es/commands/AssociateFirewallPolicyCommand.js +10 -0
  40. package/dist-es/commands/AssociateSubnetsCommand.js +10 -0
  41. package/dist-es/commands/CreateFirewallCommand.js +10 -0
  42. package/dist-es/commands/CreateFirewallPolicyCommand.js +10 -0
  43. package/dist-es/commands/CreateRuleGroupCommand.js +10 -0
  44. package/dist-es/commands/DeleteFirewallCommand.js +10 -0
  45. package/dist-es/commands/DeleteFirewallPolicyCommand.js +10 -0
  46. package/dist-es/commands/DeleteResourcePolicyCommand.js +10 -0
  47. package/dist-es/commands/DeleteRuleGroupCommand.js +10 -0
  48. package/dist-es/commands/DescribeFirewallCommand.js +10 -0
  49. package/dist-es/commands/DescribeFirewallPolicyCommand.js +10 -0
  50. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +10 -0
  51. package/dist-es/commands/DescribeResourcePolicyCommand.js +10 -0
  52. package/dist-es/commands/DescribeRuleGroupCommand.js +10 -0
  53. package/dist-es/commands/DescribeRuleGroupMetadataCommand.js +10 -0
  54. package/dist-es/commands/DisassociateSubnetsCommand.js +10 -0
  55. package/dist-es/commands/ListFirewallPoliciesCommand.js +10 -0
  56. package/dist-es/commands/ListFirewallsCommand.js +10 -0
  57. package/dist-es/commands/ListRuleGroupsCommand.js +10 -0
  58. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  59. package/dist-es/commands/PutResourcePolicyCommand.js +10 -0
  60. package/dist-es/commands/TagResourceCommand.js +10 -0
  61. package/dist-es/commands/UntagResourceCommand.js +10 -0
  62. package/dist-es/commands/UpdateFirewallDeleteProtectionCommand.js +10 -0
  63. package/dist-es/commands/UpdateFirewallDescriptionCommand.js +10 -0
  64. package/dist-es/commands/UpdateFirewallEncryptionConfigurationCommand.js +10 -0
  65. package/dist-es/commands/UpdateFirewallPolicyChangeProtectionCommand.js +10 -0
  66. package/dist-es/commands/UpdateFirewallPolicyCommand.js +10 -0
  67. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +10 -0
  68. package/dist-es/commands/UpdateRuleGroupCommand.js +10 -0
  69. package/dist-es/commands/UpdateSubnetChangeProtectionCommand.js +10 -0
  70. package/dist-es/endpoint/EndpointParameters.js +8 -0
  71. package/dist-es/endpoint/endpointResolver.js +8 -0
  72. package/dist-es/endpoint/ruleset.js +315 -0
  73. package/dist-es/runtimeConfig.shared.js +2 -2
  74. package/dist-types/NetworkFirewallClient.d.ts +6 -9
  75. package/dist-types/commands/AssociateFirewallPolicyCommand.d.ts +2 -0
  76. package/dist-types/commands/AssociateSubnetsCommand.d.ts +2 -0
  77. package/dist-types/commands/CreateFirewallCommand.d.ts +2 -0
  78. package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +2 -0
  79. package/dist-types/commands/CreateRuleGroupCommand.d.ts +2 -0
  80. package/dist-types/commands/DeleteFirewallCommand.d.ts +2 -0
  81. package/dist-types/commands/DeleteFirewallPolicyCommand.d.ts +2 -0
  82. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -0
  83. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +2 -0
  84. package/dist-types/commands/DescribeFirewallCommand.d.ts +2 -0
  85. package/dist-types/commands/DescribeFirewallPolicyCommand.d.ts +2 -0
  86. package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +2 -0
  87. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +2 -0
  88. package/dist-types/commands/DescribeRuleGroupCommand.d.ts +2 -0
  89. package/dist-types/commands/DescribeRuleGroupMetadataCommand.d.ts +2 -0
  90. package/dist-types/commands/DisassociateSubnetsCommand.d.ts +2 -0
  91. package/dist-types/commands/ListFirewallPoliciesCommand.d.ts +2 -0
  92. package/dist-types/commands/ListFirewallsCommand.d.ts +2 -0
  93. package/dist-types/commands/ListRuleGroupsCommand.d.ts +2 -0
  94. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  95. package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -0
  96. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  97. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  98. package/dist-types/commands/UpdateFirewallDeleteProtectionCommand.d.ts +2 -0
  99. package/dist-types/commands/UpdateFirewallDescriptionCommand.d.ts +2 -0
  100. package/dist-types/commands/UpdateFirewallEncryptionConfigurationCommand.d.ts +2 -0
  101. package/dist-types/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +2 -0
  102. package/dist-types/commands/UpdateFirewallPolicyCommand.d.ts +2 -0
  103. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +2 -0
  104. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +2 -0
  105. package/dist-types/commands/UpdateSubnetChangeProtectionCommand.d.ts +2 -0
  106. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  107. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  108. package/dist-types/endpoint/ruleset.d.ts +2 -0
  109. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  110. package/dist-types/runtimeConfig.d.ts +4 -2
  111. package/dist-types/runtimeConfig.native.d.ts +4 -2
  112. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  113. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +15 -8
  114. package/dist-types/ts3.4/commands/AssociateFirewallPolicyCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/AssociateSubnetsCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/CreateFirewallCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/commands/CreateFirewallPolicyCommand.d.ts +2 -0
  118. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +2 -0
  119. package/dist-types/ts3.4/commands/DeleteFirewallCommand.d.ts +2 -0
  120. package/dist-types/ts3.4/commands/DeleteFirewallPolicyCommand.d.ts +2 -0
  121. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -0
  122. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +2 -0
  123. package/dist-types/ts3.4/commands/DescribeFirewallCommand.d.ts +2 -0
  124. package/dist-types/ts3.4/commands/DescribeFirewallPolicyCommand.d.ts +2 -0
  125. package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +2 -0
  126. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +2 -0
  127. package/dist-types/ts3.4/commands/DescribeRuleGroupCommand.d.ts +2 -0
  128. package/dist-types/ts3.4/commands/DescribeRuleGroupMetadataCommand.d.ts +2 -0
  129. package/dist-types/ts3.4/commands/DisassociateSubnetsCommand.d.ts +2 -0
  130. package/dist-types/ts3.4/commands/ListFirewallPoliciesCommand.d.ts +2 -0
  131. package/dist-types/ts3.4/commands/ListFirewallsCommand.d.ts +2 -0
  132. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +2 -0
  133. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  134. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -0
  135. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  136. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  137. package/dist-types/ts3.4/commands/UpdateFirewallDeleteProtectionCommand.d.ts +2 -0
  138. package/dist-types/ts3.4/commands/UpdateFirewallDescriptionCommand.d.ts +2 -0
  139. package/dist-types/ts3.4/commands/UpdateFirewallEncryptionConfigurationCommand.d.ts +2 -0
  140. package/dist-types/ts3.4/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +2 -0
  141. package/dist-types/ts3.4/commands/UpdateFirewallPolicyCommand.d.ts +2 -0
  142. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +2 -0
  143. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +2 -0
  144. package/dist-types/ts3.4/commands/UpdateSubnetChangeProtectionCommand.d.ts +2 -0
  145. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  146. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  147. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  148. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  149. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  150. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  151. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  152. package/package.json +3 -1
  153. package/dist-cjs/endpoints.js +0 -194
  154. package/dist-es/endpoints.js +0 -190
  155. package/dist-types/endpoints.d.ts +0 -2
  156. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociateFirewallPolicyRequestFilterSensitiveLog, AssociateFirewallPolicyResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AssociateFirewallPolicyCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AssociateFirewallPolicyCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociateSubnetsRequestFilterSensitiveLog, AssociateSubnetsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AssociateSubnetsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AssociateSubnetsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateFirewallRequestFilterSensitiveLog, CreateFirewallResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateFirewallCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateFirewallCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateFirewallPolicyRequestFilterSensitiveLog, CreateFirewallPolicyResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateFirewallPolicyCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateFirewallPolicyCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateRuleGroupRequestFilterSensitiveLog, CreateRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateRuleGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateRuleGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteFirewallRequestFilterSensitiveLog, DeleteFirewallResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteFirewallCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFirewallCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteFirewallPolicyRequestFilterSensitiveLog, DeleteFirewallPolicyResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteFirewallPolicyCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFirewallPolicyCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteResourcePolicyRequestFilterSensitiveLog, DeleteResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteResourcePolicyCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteResourcePolicyCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteRuleGroupRequestFilterSensitiveLog, DeleteRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteRuleGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRuleGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeFirewallRequestFilterSensitiveLog, DescribeFirewallResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeFirewallCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeFirewallCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeFirewallPolicyRequestFilterSensitiveLog, DescribeFirewallPolicyResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeFirewallPolicyCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeFirewallPolicyCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeLoggingConfigurationRequestFilterSensitiveLog, DescribeLoggingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeLoggingConfigurationCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeLoggingConfigurationCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeResourcePolicyRequestFilterSensitiveLog, DescribeResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeResourcePolicyCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeResourcePolicyCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeRuleGroupRequestFilterSensitiveLog, DescribeRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeRuleGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeRuleGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeRuleGroupMetadataRequestFilterSensitiveLog, DescribeRuleGroupMetadataResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeRuleGroupMetadataCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeRuleGroupMetadataCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisassociateSubnetsRequestFilterSensitiveLog, DisassociateSubnetsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DisassociateSubnetsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateSubnetsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListFirewallPoliciesRequestFilterSensitiveLog, ListFirewallPoliciesResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListFirewallPoliciesCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListFirewallPoliciesCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListFirewallsRequestFilterSensitiveLog, ListFirewallsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListFirewallsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListFirewallsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListRuleGroupsRequestFilterSensitiveLog, ListRuleGroupsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListRuleGroupsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListRuleGroupsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutResourcePolicyRequestFilterSensitiveLog, PutResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class PutResourcePolicyCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, PutResourcePolicyCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class TagResourceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UntagResourceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFirewallDeleteProtectionRequestFilterSensitiveLog, UpdateFirewallDeleteProtectionResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateFirewallDeleteProtectionCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFirewallDeleteProtectionCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFirewallDescriptionRequestFilterSensitiveLog, UpdateFirewallDescriptionResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateFirewallDescriptionCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFirewallDescriptionCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFirewallEncryptionConfigurationRequestFilterSensitiveLog, UpdateFirewallEncryptionConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateFirewallEncryptionConfigurationCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFirewallEncryptionConfigurationCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFirewallPolicyChangeProtectionRequestFilterSensitiveLog, UpdateFirewallPolicyChangeProtectionResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateFirewallPolicyChangeProtectionCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFirewallPolicyChangeProtectionCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "NetworkFirewallClient";