@aws-sdk/client-network-firewall 3.43.0 → 3.47.1

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 (37) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/NetworkFirewall.js +15 -0
  3. package/dist-cjs/commands/DescribeRuleGroupMetadataCommand.js +36 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoints.js +1 -28
  6. package/dist-cjs/models/models_0.js +30 -75
  7. package/dist-cjs/protocols/Aws_json1_0.js +166 -2
  8. package/dist-cjs/runtimeConfig.browser.js +7 -2
  9. package/dist-cjs/runtimeConfig.js +9 -3
  10. package/dist-es/NetworkFirewall.js +15 -0
  11. package/dist-es/commands/DescribeRuleGroupMetadataCommand.js +39 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/endpoints.js +1 -28
  14. package/dist-es/models/models_0.js +21 -48
  15. package/dist-es/protocols/Aws_json1_0.js +225 -59
  16. package/dist-es/runtimeConfig.browser.js +12 -3
  17. package/dist-es/runtimeConfig.js +13 -6
  18. package/dist-types/NetworkFirewall.d.ts +13 -1
  19. package/dist-types/NetworkFirewallClient.d.ts +8 -3
  20. package/dist-types/commands/DescribeRuleGroupMetadataCommand.d.ts +38 -0
  21. package/dist-types/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +3 -1
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/models/models_0.d.ts +136 -85
  24. package/dist-types/protocols/Aws_json1_0.d.ts +3 -0
  25. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  26. package/dist-types/runtimeConfig.d.ts +4 -3
  27. package/dist-types/runtimeConfig.native.d.ts +1 -0
  28. package/dist-types/ts3.4/NetworkFirewall.d.ts +5 -0
  29. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +6 -3
  30. package/dist-types/ts3.4/commands/DescribeRuleGroupMetadataCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +50 -48
  33. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +3 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  37. package/package.json +39 -46
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_0PutResourcePolicyCommand = exports.deserializeAws_json1_0ListTagsForResourceCommand = exports.deserializeAws_json1_0ListRuleGroupsCommand = exports.deserializeAws_json1_0ListFirewallsCommand = exports.deserializeAws_json1_0ListFirewallPoliciesCommand = exports.deserializeAws_json1_0DisassociateSubnetsCommand = exports.deserializeAws_json1_0DescribeRuleGroupCommand = exports.deserializeAws_json1_0DescribeResourcePolicyCommand = exports.deserializeAws_json1_0DescribeLoggingConfigurationCommand = exports.deserializeAws_json1_0DescribeFirewallPolicyCommand = exports.deserializeAws_json1_0DescribeFirewallCommand = exports.deserializeAws_json1_0DeleteRuleGroupCommand = exports.deserializeAws_json1_0DeleteResourcePolicyCommand = exports.deserializeAws_json1_0DeleteFirewallPolicyCommand = exports.deserializeAws_json1_0DeleteFirewallCommand = exports.deserializeAws_json1_0CreateRuleGroupCommand = exports.deserializeAws_json1_0CreateFirewallPolicyCommand = exports.deserializeAws_json1_0CreateFirewallCommand = exports.deserializeAws_json1_0AssociateSubnetsCommand = exports.deserializeAws_json1_0AssociateFirewallPolicyCommand = exports.serializeAws_json1_0UpdateSubnetChangeProtectionCommand = exports.serializeAws_json1_0UpdateRuleGroupCommand = exports.serializeAws_json1_0UpdateLoggingConfigurationCommand = exports.serializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand = exports.serializeAws_json1_0UpdateFirewallPolicyCommand = exports.serializeAws_json1_0UpdateFirewallDescriptionCommand = exports.serializeAws_json1_0UpdateFirewallDeleteProtectionCommand = exports.serializeAws_json1_0UntagResourceCommand = exports.serializeAws_json1_0TagResourceCommand = exports.serializeAws_json1_0PutResourcePolicyCommand = exports.serializeAws_json1_0ListTagsForResourceCommand = exports.serializeAws_json1_0ListRuleGroupsCommand = exports.serializeAws_json1_0ListFirewallsCommand = exports.serializeAws_json1_0ListFirewallPoliciesCommand = exports.serializeAws_json1_0DisassociateSubnetsCommand = exports.serializeAws_json1_0DescribeRuleGroupCommand = exports.serializeAws_json1_0DescribeResourcePolicyCommand = exports.serializeAws_json1_0DescribeLoggingConfigurationCommand = exports.serializeAws_json1_0DescribeFirewallPolicyCommand = exports.serializeAws_json1_0DescribeFirewallCommand = exports.serializeAws_json1_0DeleteRuleGroupCommand = exports.serializeAws_json1_0DeleteResourcePolicyCommand = exports.serializeAws_json1_0DeleteFirewallPolicyCommand = exports.serializeAws_json1_0DeleteFirewallCommand = exports.serializeAws_json1_0CreateRuleGroupCommand = exports.serializeAws_json1_0CreateFirewallPolicyCommand = exports.serializeAws_json1_0CreateFirewallCommand = exports.serializeAws_json1_0AssociateSubnetsCommand = exports.serializeAws_json1_0AssociateFirewallPolicyCommand = void 0;
4
- exports.deserializeAws_json1_0UpdateSubnetChangeProtectionCommand = exports.deserializeAws_json1_0UpdateRuleGroupCommand = exports.deserializeAws_json1_0UpdateLoggingConfigurationCommand = exports.deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand = exports.deserializeAws_json1_0UpdateFirewallPolicyCommand = exports.deserializeAws_json1_0UpdateFirewallDescriptionCommand = exports.deserializeAws_json1_0UpdateFirewallDeleteProtectionCommand = exports.deserializeAws_json1_0UntagResourceCommand = void 0;
3
+ exports.deserializeAws_json1_0ListTagsForResourceCommand = exports.deserializeAws_json1_0ListRuleGroupsCommand = exports.deserializeAws_json1_0ListFirewallsCommand = exports.deserializeAws_json1_0ListFirewallPoliciesCommand = exports.deserializeAws_json1_0DisassociateSubnetsCommand = exports.deserializeAws_json1_0DescribeRuleGroupMetadataCommand = exports.deserializeAws_json1_0DescribeRuleGroupCommand = exports.deserializeAws_json1_0DescribeResourcePolicyCommand = exports.deserializeAws_json1_0DescribeLoggingConfigurationCommand = exports.deserializeAws_json1_0DescribeFirewallPolicyCommand = exports.deserializeAws_json1_0DescribeFirewallCommand = exports.deserializeAws_json1_0DeleteRuleGroupCommand = exports.deserializeAws_json1_0DeleteResourcePolicyCommand = exports.deserializeAws_json1_0DeleteFirewallPolicyCommand = exports.deserializeAws_json1_0DeleteFirewallCommand = exports.deserializeAws_json1_0CreateRuleGroupCommand = exports.deserializeAws_json1_0CreateFirewallPolicyCommand = exports.deserializeAws_json1_0CreateFirewallCommand = exports.deserializeAws_json1_0AssociateSubnetsCommand = exports.deserializeAws_json1_0AssociateFirewallPolicyCommand = exports.serializeAws_json1_0UpdateSubnetChangeProtectionCommand = exports.serializeAws_json1_0UpdateRuleGroupCommand = exports.serializeAws_json1_0UpdateLoggingConfigurationCommand = exports.serializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand = exports.serializeAws_json1_0UpdateFirewallPolicyCommand = exports.serializeAws_json1_0UpdateFirewallDescriptionCommand = exports.serializeAws_json1_0UpdateFirewallDeleteProtectionCommand = exports.serializeAws_json1_0UntagResourceCommand = exports.serializeAws_json1_0TagResourceCommand = exports.serializeAws_json1_0PutResourcePolicyCommand = exports.serializeAws_json1_0ListTagsForResourceCommand = exports.serializeAws_json1_0ListRuleGroupsCommand = exports.serializeAws_json1_0ListFirewallsCommand = exports.serializeAws_json1_0ListFirewallPoliciesCommand = exports.serializeAws_json1_0DisassociateSubnetsCommand = exports.serializeAws_json1_0DescribeRuleGroupMetadataCommand = exports.serializeAws_json1_0DescribeRuleGroupCommand = exports.serializeAws_json1_0DescribeResourcePolicyCommand = exports.serializeAws_json1_0DescribeLoggingConfigurationCommand = exports.serializeAws_json1_0DescribeFirewallPolicyCommand = exports.serializeAws_json1_0DescribeFirewallCommand = exports.serializeAws_json1_0DeleteRuleGroupCommand = exports.serializeAws_json1_0DeleteResourcePolicyCommand = exports.serializeAws_json1_0DeleteFirewallPolicyCommand = exports.serializeAws_json1_0DeleteFirewallCommand = exports.serializeAws_json1_0CreateRuleGroupCommand = exports.serializeAws_json1_0CreateFirewallPolicyCommand = exports.serializeAws_json1_0CreateFirewallCommand = exports.serializeAws_json1_0AssociateSubnetsCommand = exports.serializeAws_json1_0AssociateFirewallPolicyCommand = void 0;
4
+ exports.deserializeAws_json1_0UpdateSubnetChangeProtectionCommand = exports.deserializeAws_json1_0UpdateRuleGroupCommand = exports.deserializeAws_json1_0UpdateLoggingConfigurationCommand = exports.deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand = exports.deserializeAws_json1_0UpdateFirewallPolicyCommand = exports.deserializeAws_json1_0UpdateFirewallDescriptionCommand = exports.deserializeAws_json1_0UpdateFirewallDeleteProtectionCommand = exports.deserializeAws_json1_0UntagResourceCommand = exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_0PutResourcePolicyCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const serializeAws_json1_0AssociateFirewallPolicyCommand = async (input, context) => {
@@ -144,6 +144,16 @@ const serializeAws_json1_0DescribeRuleGroupCommand = async (input, context) => {
144
144
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
145
145
  };
146
146
  exports.serializeAws_json1_0DescribeRuleGroupCommand = serializeAws_json1_0DescribeRuleGroupCommand;
147
+ const serializeAws_json1_0DescribeRuleGroupMetadataCommand = async (input, context) => {
148
+ const headers = {
149
+ "content-type": "application/x-amz-json-1.0",
150
+ "x-amz-target": "NetworkFirewall_20201112.DescribeRuleGroupMetadata",
151
+ };
152
+ let body;
153
+ body = JSON.stringify(serializeAws_json1_0DescribeRuleGroupMetadataRequest(input, context));
154
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
155
+ };
156
+ exports.serializeAws_json1_0DescribeRuleGroupMetadataCommand = serializeAws_json1_0DescribeRuleGroupMetadataCommand;
147
157
  const serializeAws_json1_0DisassociateSubnetsCommand = async (input, context) => {
148
158
  const headers = {
149
159
  "content-type": "application/x-amz-json-1.0",
@@ -1416,6 +1426,77 @@ const deserializeAws_json1_0DescribeRuleGroupCommandError = async (output, conte
1416
1426
  delete response.Message;
1417
1427
  return Promise.reject(Object.assign(new Error(message), response));
1418
1428
  };
1429
+ const deserializeAws_json1_0DescribeRuleGroupMetadataCommand = async (output, context) => {
1430
+ if (output.statusCode >= 300) {
1431
+ return deserializeAws_json1_0DescribeRuleGroupMetadataCommandError(output, context);
1432
+ }
1433
+ const data = await parseBody(output.body, context);
1434
+ let contents = {};
1435
+ contents = deserializeAws_json1_0DescribeRuleGroupMetadataResponse(data, context);
1436
+ const response = {
1437
+ $metadata: deserializeMetadata(output),
1438
+ ...contents,
1439
+ };
1440
+ return Promise.resolve(response);
1441
+ };
1442
+ exports.deserializeAws_json1_0DescribeRuleGroupMetadataCommand = deserializeAws_json1_0DescribeRuleGroupMetadataCommand;
1443
+ const deserializeAws_json1_0DescribeRuleGroupMetadataCommandError = async (output, context) => {
1444
+ const parsedOutput = {
1445
+ ...output,
1446
+ body: await parseBody(output.body, context),
1447
+ };
1448
+ let response;
1449
+ let errorCode = "UnknownError";
1450
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1451
+ switch (errorCode) {
1452
+ case "InternalServerError":
1453
+ case "com.amazonaws.networkfirewall#InternalServerError":
1454
+ response = {
1455
+ ...(await deserializeAws_json1_0InternalServerErrorResponse(parsedOutput, context)),
1456
+ name: errorCode,
1457
+ $metadata: deserializeMetadata(output),
1458
+ };
1459
+ break;
1460
+ case "InvalidRequestException":
1461
+ case "com.amazonaws.networkfirewall#InvalidRequestException":
1462
+ response = {
1463
+ ...(await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context)),
1464
+ name: errorCode,
1465
+ $metadata: deserializeMetadata(output),
1466
+ };
1467
+ break;
1468
+ case "ResourceNotFoundException":
1469
+ case "com.amazonaws.networkfirewall#ResourceNotFoundException":
1470
+ response = {
1471
+ ...(await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context)),
1472
+ name: errorCode,
1473
+ $metadata: deserializeMetadata(output),
1474
+ };
1475
+ break;
1476
+ case "ThrottlingException":
1477
+ case "com.amazonaws.networkfirewall#ThrottlingException":
1478
+ response = {
1479
+ ...(await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)),
1480
+ name: errorCode,
1481
+ $metadata: deserializeMetadata(output),
1482
+ };
1483
+ break;
1484
+ default:
1485
+ const parsedBody = parsedOutput.body;
1486
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
1487
+ response = {
1488
+ ...parsedBody,
1489
+ name: `${errorCode}`,
1490
+ message: parsedBody.message || parsedBody.Message || errorCode,
1491
+ $fault: "client",
1492
+ $metadata: deserializeMetadata(output),
1493
+ };
1494
+ }
1495
+ const message = response.message || response.Message || errorCode;
1496
+ response.message = message;
1497
+ delete response.Message;
1498
+ return Promise.reject(Object.assign(new Error(message), response));
1499
+ };
1419
1500
  const deserializeAws_json1_0DisassociateSubnetsCommand = async (output, context) => {
1420
1501
  if (output.statusCode >= 300) {
1421
1502
  return deserializeAws_json1_0DisassociateSubnetsCommandError(output, context);
@@ -1715,6 +1796,14 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
1715
1796
  let errorCode = "UnknownError";
1716
1797
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1717
1798
  switch (errorCode) {
1799
+ case "InternalServerError":
1800
+ case "com.amazonaws.networkfirewall#InternalServerError":
1801
+ response = {
1802
+ ...(await deserializeAws_json1_0InternalServerErrorResponse(parsedOutput, context)),
1803
+ name: errorCode,
1804
+ $metadata: deserializeMetadata(output),
1805
+ };
1806
+ break;
1718
1807
  case "InvalidRequestException":
1719
1808
  case "com.amazonaws.networkfirewall#InvalidRequestException":
1720
1809
  response = {
@@ -1731,6 +1820,14 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
1731
1820
  $metadata: deserializeMetadata(output),
1732
1821
  };
1733
1822
  break;
1823
+ case "ThrottlingException":
1824
+ case "com.amazonaws.networkfirewall#ThrottlingException":
1825
+ response = {
1826
+ ...(await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)),
1827
+ name: errorCode,
1828
+ $metadata: deserializeMetadata(output),
1829
+ };
1830
+ break;
1734
1831
  default:
1735
1832
  const parsedBody = parsedOutput.body;
1736
1833
  errorCode = parsedBody.code || parsedBody.Code || errorCode;
@@ -1849,6 +1946,14 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
1849
1946
  let errorCode = "UnknownError";
1850
1947
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1851
1948
  switch (errorCode) {
1949
+ case "InternalServerError":
1950
+ case "com.amazonaws.networkfirewall#InternalServerError":
1951
+ response = {
1952
+ ...(await deserializeAws_json1_0InternalServerErrorResponse(parsedOutput, context)),
1953
+ name: errorCode,
1954
+ $metadata: deserializeMetadata(output),
1955
+ };
1956
+ break;
1852
1957
  case "InvalidRequestException":
1853
1958
  case "com.amazonaws.networkfirewall#InvalidRequestException":
1854
1959
  response = {
@@ -1865,6 +1970,14 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
1865
1970
  $metadata: deserializeMetadata(output),
1866
1971
  };
1867
1972
  break;
1973
+ case "ThrottlingException":
1974
+ case "com.amazonaws.networkfirewall#ThrottlingException":
1975
+ response = {
1976
+ ...(await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)),
1977
+ name: errorCode,
1978
+ $metadata: deserializeMetadata(output),
1979
+ };
1980
+ break;
1868
1981
  default:
1869
1982
  const parsedBody = parsedOutput.body;
1870
1983
  errorCode = parsedBody.code || parsedBody.Code || errorCode;
@@ -1904,6 +2017,14 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
1904
2017
  let errorCode = "UnknownError";
1905
2018
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1906
2019
  switch (errorCode) {
2020
+ case "InternalServerError":
2021
+ case "com.amazonaws.networkfirewall#InternalServerError":
2022
+ response = {
2023
+ ...(await deserializeAws_json1_0InternalServerErrorResponse(parsedOutput, context)),
2024
+ name: errorCode,
2025
+ $metadata: deserializeMetadata(output),
2026
+ };
2027
+ break;
1907
2028
  case "InvalidRequestException":
1908
2029
  case "com.amazonaws.networkfirewall#InvalidRequestException":
1909
2030
  response = {
@@ -1920,6 +2041,14 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
1920
2041
  $metadata: deserializeMetadata(output),
1921
2042
  };
1922
2043
  break;
2044
+ case "ThrottlingException":
2045
+ case "com.amazonaws.networkfirewall#ThrottlingException":
2046
+ response = {
2047
+ ...(await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context)),
2048
+ name: errorCode,
2049
+ $metadata: deserializeMetadata(output),
2050
+ };
2051
+ break;
1923
2052
  default:
1924
2053
  const parsedBody = parsedOutput.body;
1925
2054
  errorCode = parsedBody.code || parsedBody.Code || errorCode;
@@ -2825,6 +2954,13 @@ const serializeAws_json1_0DescribeResourcePolicyRequest = (input, context) => {
2825
2954
  ...(input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }),
2826
2955
  };
2827
2956
  };
2957
+ const serializeAws_json1_0DescribeRuleGroupMetadataRequest = (input, context) => {
2958
+ return {
2959
+ ...(input.RuleGroupArn !== undefined && input.RuleGroupArn !== null && { RuleGroupArn: input.RuleGroupArn }),
2960
+ ...(input.RuleGroupName !== undefined && input.RuleGroupName !== null && { RuleGroupName: input.RuleGroupName }),
2961
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
2962
+ };
2963
+ };
2828
2964
  const serializeAws_json1_0DescribeRuleGroupRequest = (input, context) => {
2829
2965
  return {
2830
2966
  ...(input.RuleGroupArn !== undefined && input.RuleGroupArn !== null && { RuleGroupArn: input.RuleGroupArn }),
@@ -2946,6 +3082,7 @@ const serializeAws_json1_0ListRuleGroupsRequest = (input, context) => {
2946
3082
  return {
2947
3083
  ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
2948
3084
  ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
3085
+ ...(input.Scope !== undefined && input.Scope !== null && { Scope: input.Scope }),
2949
3086
  };
2950
3087
  };
2951
3088
  const serializeAws_json1_0ListTagsForResourceRequest = (input, context) => {
@@ -3190,8 +3327,15 @@ const serializeAws_json1_0StatefulRule = (input, context) => {
3190
3327
  input.RuleOptions !== null && { RuleOptions: serializeAws_json1_0RuleOptions(input.RuleOptions, context) }),
3191
3328
  };
3192
3329
  };
3330
+ const serializeAws_json1_0StatefulRuleGroupOverride = (input, context) => {
3331
+ return {
3332
+ ...(input.Action !== undefined && input.Action !== null && { Action: input.Action }),
3333
+ };
3334
+ };
3193
3335
  const serializeAws_json1_0StatefulRuleGroupReference = (input, context) => {
3194
3336
  return {
3337
+ ...(input.Override !== undefined &&
3338
+ input.Override !== null && { Override: serializeAws_json1_0StatefulRuleGroupOverride(input.Override, context) }),
3195
3339
  ...(input.Priority !== undefined && input.Priority !== null && { Priority: input.Priority }),
3196
3340
  ...(input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }),
3197
3341
  };
@@ -3608,6 +3752,18 @@ const deserializeAws_json1_0DescribeResourcePolicyResponse = (output, context) =
3608
3752
  Policy: smithy_client_1.expectString(output.Policy),
3609
3753
  };
3610
3754
  };
3755
+ const deserializeAws_json1_0DescribeRuleGroupMetadataResponse = (output, context) => {
3756
+ return {
3757
+ Capacity: smithy_client_1.expectInt32(output.Capacity),
3758
+ Description: smithy_client_1.expectString(output.Description),
3759
+ RuleGroupArn: smithy_client_1.expectString(output.RuleGroupArn),
3760
+ RuleGroupName: smithy_client_1.expectString(output.RuleGroupName),
3761
+ StatefulRuleOptions: output.StatefulRuleOptions !== undefined && output.StatefulRuleOptions !== null
3762
+ ? deserializeAws_json1_0StatefulRuleOptions(output.StatefulRuleOptions, context)
3763
+ : undefined,
3764
+ Type: smithy_client_1.expectString(output.Type),
3765
+ };
3766
+ };
3611
3767
  const deserializeAws_json1_0DescribeRuleGroupResponse = (output, context) => {
3612
3768
  return {
3613
3769
  RuleGroup: output.RuleGroup !== undefined && output.RuleGroup !== null
@@ -4137,8 +4293,16 @@ const deserializeAws_json1_0StatefulRule = (output, context) => {
4137
4293
  : undefined,
4138
4294
  };
4139
4295
  };
4296
+ const deserializeAws_json1_0StatefulRuleGroupOverride = (output, context) => {
4297
+ return {
4298
+ Action: smithy_client_1.expectString(output.Action),
4299
+ };
4300
+ };
4140
4301
  const deserializeAws_json1_0StatefulRuleGroupReference = (output, context) => {
4141
4302
  return {
4303
+ Override: output.Override !== undefined && output.Override !== null
4304
+ ? deserializeAws_json1_0StatefulRuleGroupOverride(output.Override, context)
4305
+ : undefined,
4142
4306
  Priority: smithy_client_1.expectInt32(output.Priority),
4143
4307
  ResourceArn: smithy_client_1.expectString(output.ResourceArn),
4144
4308
  };
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -13,6 +13,7 @@ import { DescribeFirewallPolicyCommand, } from "./commands/DescribeFirewallPolic
13
13
  import { DescribeLoggingConfigurationCommand, } from "./commands/DescribeLoggingConfigurationCommand";
14
14
  import { DescribeResourcePolicyCommand, } from "./commands/DescribeResourcePolicyCommand";
15
15
  import { DescribeRuleGroupCommand, } from "./commands/DescribeRuleGroupCommand";
16
+ import { DescribeRuleGroupMetadataCommand, } from "./commands/DescribeRuleGroupMetadataCommand";
16
17
  import { DisassociateSubnetsCommand, } from "./commands/DisassociateSubnetsCommand";
17
18
  import { ListFirewallPoliciesCommand, } from "./commands/ListFirewallPoliciesCommand";
18
19
  import { ListFirewallsCommand, } from "./commands/ListFirewallsCommand";
@@ -230,6 +231,20 @@ var NetworkFirewall = (function (_super) {
230
231
  return this.send(command, optionsOrCb);
231
232
  }
232
233
  };
234
+ NetworkFirewall.prototype.describeRuleGroupMetadata = function (args, optionsOrCb, cb) {
235
+ var command = new DescribeRuleGroupMetadataCommand(args);
236
+ if (typeof optionsOrCb === "function") {
237
+ this.send(command, optionsOrCb);
238
+ }
239
+ else if (typeof cb === "function") {
240
+ if (typeof optionsOrCb !== "object")
241
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
242
+ this.send(command, optionsOrCb || {}, cb);
243
+ }
244
+ else {
245
+ return this.send(command, optionsOrCb);
246
+ }
247
+ };
233
248
  NetworkFirewall.prototype.disassociateSubnets = function (args, optionsOrCb, cb) {
234
249
  var command = new DisassociateSubnetsCommand(args);
235
250
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeRuleGroupMetadataRequest, DescribeRuleGroupMetadataResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_0DescribeRuleGroupMetadataCommand, serializeAws_json1_0DescribeRuleGroupMetadataCommand, } from "../protocols/Aws_json1_0";
6
+ var DescribeRuleGroupMetadataCommand = (function (_super) {
7
+ __extends(DescribeRuleGroupMetadataCommand, _super);
8
+ function DescribeRuleGroupMetadataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeRuleGroupMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NetworkFirewallClient";
18
+ var commandName = "DescribeRuleGroupMetadataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeRuleGroupMetadataRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeRuleGroupMetadataResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeRuleGroupMetadataCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_0DescribeRuleGroupMetadataCommand(input, context);
33
+ };
34
+ DescribeRuleGroupMetadataCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_0DescribeRuleGroupMetadataCommand(output, context);
36
+ };
37
+ return DescribeRuleGroupMetadataCommand;
38
+ }($Command));
39
+ export { DescribeRuleGroupMetadataCommand };
@@ -12,6 +12,7 @@ export * from "./DescribeFirewallPolicyCommand";
12
12
  export * from "./DescribeLoggingConfigurationCommand";
13
13
  export * from "./DescribeResourcePolicyCommand";
14
14
  export * from "./DescribeRuleGroupCommand";
15
+ export * from "./DescribeRuleGroupMetadataCommand";
15
16
  export * from "./DisassociateSubnetsCommand";
16
17
  export * from "./ListFirewallPoliciesCommand";
17
18
  export * from "./ListFirewallsCommand";
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "ca-central-1": {
5
5
  variants: [
6
- {
7
- hostname: "network-firewall.ca-central-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "network-firewall-fips.ca-central-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "us-east-1": {
17
13
  variants: [
18
- {
19
- hostname: "network-firewall.us-east-1.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "network-firewall-fips.us-east-1.amazonaws.com",
24
16
  tags: ["fips"],
@@ -27,10 +19,6 @@ var regionHash = {
27
19
  },
28
20
  "us-east-2": {
29
21
  variants: [
30
- {
31
- hostname: "network-firewall.us-east-2.amazonaws.com",
32
- tags: [],
33
- },
34
22
  {
35
23
  hostname: "network-firewall-fips.us-east-2.amazonaws.com",
36
24
  tags: ["fips"],
@@ -39,10 +27,6 @@ var regionHash = {
39
27
  },
40
28
  "us-gov-east-1": {
41
29
  variants: [
42
- {
43
- hostname: "network-firewall.us-gov-east-1.amazonaws.com",
44
- tags: [],
45
- },
46
30
  {
47
31
  hostname: "network-firewall-fips.us-gov-east-1.amazonaws.com",
48
32
  tags: ["fips"],
@@ -51,10 +35,6 @@ var regionHash = {
51
35
  },
52
36
  "us-gov-west-1": {
53
37
  variants: [
54
- {
55
- hostname: "network-firewall.us-gov-west-1.amazonaws.com",
56
- tags: [],
57
- },
58
38
  {
59
39
  hostname: "network-firewall-fips.us-gov-west-1.amazonaws.com",
60
40
  tags: ["fips"],
@@ -63,10 +43,6 @@ var regionHash = {
63
43
  },
64
44
  "us-west-1": {
65
45
  variants: [
66
- {
67
- hostname: "network-firewall.us-west-1.amazonaws.com",
68
- tags: [],
69
- },
70
46
  {
71
47
  hostname: "network-firewall-fips.us-west-1.amazonaws.com",
72
48
  tags: ["fips"],
@@ -75,10 +51,6 @@ var regionHash = {
75
51
  },
76
52
  "us-west-2": {
77
53
  variants: [
78
- {
79
- hostname: "network-firewall.us-west-2.amazonaws.com",
80
- tags: [],
81
- },
82
54
  {
83
55
  hostname: "network-firewall-fips.us-west-2.amazonaws.com",
84
56
  tags: ["fips"],
@@ -97,6 +69,7 @@ var partitionHash = {
97
69
  "ap-south-1",
98
70
  "ap-southeast-1",
99
71
  "ap-southeast-2",
72
+ "ap-southeast-3",
100
73
  "ca-central-1",
101
74
  "eu-central-1",
102
75
  "eu-north-1",
@@ -23,30 +23,6 @@ export var AssociateFirewallPolicyResponse;
23
23
  (function (AssociateFirewallPolicyResponse) {
24
24
  AssociateFirewallPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
25
  })(AssociateFirewallPolicyResponse || (AssociateFirewallPolicyResponse = {}));
26
- export var InternalServerError;
27
- (function (InternalServerError) {
28
- InternalServerError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
- })(InternalServerError || (InternalServerError = {}));
30
- export var InvalidOperationException;
31
- (function (InvalidOperationException) {
32
- InvalidOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
33
- })(InvalidOperationException || (InvalidOperationException = {}));
34
- export var InvalidRequestException;
35
- (function (InvalidRequestException) {
36
- InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
37
- })(InvalidRequestException || (InvalidRequestException = {}));
38
- export var InvalidTokenException;
39
- (function (InvalidTokenException) {
40
- InvalidTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
- })(InvalidTokenException || (InvalidTokenException = {}));
42
- export var ResourceNotFoundException;
43
- (function (ResourceNotFoundException) {
44
- ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
45
- })(ResourceNotFoundException || (ResourceNotFoundException = {}));
46
- export var ThrottlingException;
47
- (function (ThrottlingException) {
48
- ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
49
- })(ThrottlingException || (ThrottlingException = {}));
50
26
  export var SubnetMapping;
51
27
  (function (SubnetMapping) {
52
28
  SubnetMapping.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -59,10 +35,6 @@ export var AssociateSubnetsResponse;
59
35
  (function (AssociateSubnetsResponse) {
60
36
  AssociateSubnetsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
61
37
  })(AssociateSubnetsResponse || (AssociateSubnetsResponse = {}));
62
- export var InsufficientCapacityException;
63
- (function (InsufficientCapacityException) {
64
- InsufficientCapacityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
65
- })(InsufficientCapacityException || (InsufficientCapacityException = {}));
66
38
  export var AttachmentStatus;
67
39
  (function (AttachmentStatus) {
68
40
  AttachmentStatus["CREATING"] = "CREATING";
@@ -118,10 +90,6 @@ export var CreateFirewallResponse;
118
90
  (function (CreateFirewallResponse) {
119
91
  CreateFirewallResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
120
92
  })(CreateFirewallResponse || (CreateFirewallResponse = {}));
121
- export var LimitExceededException;
122
- (function (LimitExceededException) {
123
- LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
124
- })(LimitExceededException || (LimitExceededException = {}));
125
93
  export var RuleOrder;
126
94
  (function (RuleOrder) {
127
95
  RuleOrder["DEFAULT_ACTION_ORDER"] = "DEFAULT_ACTION_ORDER";
@@ -131,6 +99,14 @@ export var StatefulEngineOptions;
131
99
  (function (StatefulEngineOptions) {
132
100
  StatefulEngineOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
133
101
  })(StatefulEngineOptions || (StatefulEngineOptions = {}));
102
+ export var OverrideAction;
103
+ (function (OverrideAction) {
104
+ OverrideAction["DROP_TO_ALERT"] = "DROP_TO_ALERT";
105
+ })(OverrideAction || (OverrideAction = {}));
106
+ export var StatefulRuleGroupOverride;
107
+ (function (StatefulRuleGroupOverride) {
108
+ StatefulRuleGroupOverride.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
+ })(StatefulRuleGroupOverride || (StatefulRuleGroupOverride = {}));
134
110
  export var StatefulRuleGroupReference;
135
111
  (function (StatefulRuleGroupReference) {
136
112
  StatefulRuleGroupReference.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -307,10 +283,6 @@ export var DeleteFirewallResponse;
307
283
  (function (DeleteFirewallResponse) {
308
284
  DeleteFirewallResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
309
285
  })(DeleteFirewallResponse || (DeleteFirewallResponse = {}));
310
- export var UnsupportedOperationException;
311
- (function (UnsupportedOperationException) {
312
- UnsupportedOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
313
- })(UnsupportedOperationException || (UnsupportedOperationException = {}));
314
286
  export var DeleteFirewallPolicyRequest;
315
287
  (function (DeleteFirewallPolicyRequest) {
316
288
  DeleteFirewallPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -327,10 +299,6 @@ export var DeleteResourcePolicyResponse;
327
299
  (function (DeleteResourcePolicyResponse) {
328
300
  DeleteResourcePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
329
301
  })(DeleteResourcePolicyResponse || (DeleteResourcePolicyResponse = {}));
330
- export var InvalidResourcePolicyException;
331
- (function (InvalidResourcePolicyException) {
332
- InvalidResourcePolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
333
- })(InvalidResourcePolicyException || (InvalidResourcePolicyException = {}));
334
302
  export var DeleteRuleGroupRequest;
335
303
  (function (DeleteRuleGroupRequest) {
336
304
  DeleteRuleGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -398,6 +366,14 @@ export var DescribeRuleGroupResponse;
398
366
  (function (DescribeRuleGroupResponse) {
399
367
  DescribeRuleGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
400
368
  })(DescribeRuleGroupResponse || (DescribeRuleGroupResponse = {}));
369
+ export var DescribeRuleGroupMetadataRequest;
370
+ (function (DescribeRuleGroupMetadataRequest) {
371
+ DescribeRuleGroupMetadataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
372
+ })(DescribeRuleGroupMetadataRequest || (DescribeRuleGroupMetadataRequest = {}));
373
+ export var DescribeRuleGroupMetadataResponse;
374
+ (function (DescribeRuleGroupMetadataResponse) {
375
+ DescribeRuleGroupMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
376
+ })(DescribeRuleGroupMetadataResponse || (DescribeRuleGroupMetadataResponse = {}));
401
377
  export var DisassociateSubnetsRequest;
402
378
  (function (DisassociateSubnetsRequest) {
403
379
  DisassociateSubnetsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -430,6 +406,11 @@ export var ListFirewallsResponse;
430
406
  (function (ListFirewallsResponse) {
431
407
  ListFirewallsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
432
408
  })(ListFirewallsResponse || (ListFirewallsResponse = {}));
409
+ export var ResourceManagedStatus;
410
+ (function (ResourceManagedStatus) {
411
+ ResourceManagedStatus["ACCOUNT"] = "ACCOUNT";
412
+ ResourceManagedStatus["MANAGED"] = "MANAGED";
413
+ })(ResourceManagedStatus || (ResourceManagedStatus = {}));
433
414
  export var ListRuleGroupsRequest;
434
415
  (function (ListRuleGroupsRequest) {
435
416
  ListRuleGroupsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -450,10 +431,6 @@ export var ListTagsForResourceResponse;
450
431
  (function (ListTagsForResourceResponse) {
451
432
  ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
452
433
  })(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
453
- export var LogDestinationPermissionException;
454
- (function (LogDestinationPermissionException) {
455
- LogDestinationPermissionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
456
- })(LogDestinationPermissionException || (LogDestinationPermissionException = {}));
457
434
  export var PutResourcePolicyRequest;
458
435
  (function (PutResourcePolicyRequest) {
459
436
  PutResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -478,10 +455,6 @@ export var UntagResourceResponse;
478
455
  (function (UntagResourceResponse) {
479
456
  UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
480
457
  })(UntagResourceResponse || (UntagResourceResponse = {}));
481
- export var ResourceOwnerCheckException;
482
- (function (ResourceOwnerCheckException) {
483
- ResourceOwnerCheckException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
484
- })(ResourceOwnerCheckException || (ResourceOwnerCheckException = {}));
485
458
  export var UpdateFirewallDeleteProtectionRequest;
486
459
  (function (UpdateFirewallDeleteProtectionRequest) {
487
460
  UpdateFirewallDeleteProtectionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };