@aws-sdk/client-elastic-load-balancing-v2 3.36.0 → 3.39.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 (119) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/ElasticLoadBalancingV2.js +0 -41
  3. package/dist-cjs/ElasticLoadBalancingV2Client.js +0 -46
  4. package/dist-cjs/commands/AddListenerCertificatesCommand.js +0 -31
  5. package/dist-cjs/commands/AddTagsCommand.js +0 -28
  6. package/dist-cjs/commands/CreateListenerCommand.js +0 -51
  7. package/dist-cjs/commands/CreateLoadBalancerCommand.js +0 -51
  8. package/dist-cjs/commands/CreateRuleCommand.js +0 -29
  9. package/dist-cjs/commands/CreateTargetGroupCommand.js +0 -51
  10. package/dist-cjs/commands/DeleteListenerCommand.js +0 -26
  11. package/dist-cjs/commands/DeleteLoadBalancerCommand.js +0 -30
  12. package/dist-cjs/commands/DeleteRuleCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteTargetGroupCommand.js +0 -28
  14. package/dist-cjs/commands/DeregisterTargetsCommand.js +0 -25
  15. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -46
  16. package/dist-cjs/commands/DescribeListenerCertificatesCommand.js +0 -31
  17. package/dist-cjs/commands/DescribeListenersCommand.js +0 -26
  18. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +0 -47
  19. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeRulesCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeSSLPoliciesCommand.js +0 -26
  22. package/dist-cjs/commands/DescribeTagsCommand.js +0 -26
  23. package/dist-cjs/commands/DescribeTargetGroupAttributesCommand.js +0 -45
  24. package/dist-cjs/commands/DescribeTargetGroupsCommand.js +0 -27
  25. package/dist-cjs/commands/DescribeTargetHealthCommand.js +0 -24
  26. package/dist-cjs/commands/ModifyListenerCommand.js +0 -31
  27. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -27
  28. package/dist-cjs/commands/ModifyRuleCommand.js +0 -28
  29. package/dist-cjs/commands/ModifyTargetGroupAttributesCommand.js +0 -24
  30. package/dist-cjs/commands/ModifyTargetGroupCommand.js +0 -25
  31. package/dist-cjs/commands/RegisterTargetsCommand.js +0 -36
  32. package/dist-cjs/commands/RemoveListenerCertificatesCommand.js +0 -25
  33. package/dist-cjs/commands/RemoveTagsCommand.js +0 -26
  34. package/dist-cjs/commands/SetIpAddressTypeCommand.js +0 -25
  35. package/dist-cjs/commands/SetRulePrioritiesCommand.js +0 -26
  36. package/dist-cjs/commands/SetSecurityGroupsCommand.js +0 -27
  37. package/dist-cjs/commands/SetSubnetsCommand.js +0 -29
  38. package/dist-cjs/commands/index.js +37 -0
  39. package/dist-cjs/endpoints.js +6 -1
  40. package/dist-cjs/index.js +5 -45
  41. package/dist-cjs/models/models_0.js +8 -429
  42. package/dist-cjs/pagination/DescribeListenersPaginator.js +0 -10
  43. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +0 -10
  44. package/dist-cjs/pagination/DescribeTargetGroupsPaginator.js +0 -10
  45. package/dist-cjs/pagination/index.js +7 -0
  46. package/dist-cjs/protocols/Aws_query.js +18 -2
  47. package/dist-cjs/runtimeConfig.browser.js +1 -5
  48. package/dist-cjs/runtimeConfig.js +1 -5
  49. package/dist-cjs/runtimeConfig.native.js +0 -3
  50. package/dist-cjs/runtimeConfig.shared.js +0 -3
  51. package/dist-cjs/waiters/index.js +8 -0
  52. package/dist-cjs/waiters/waitForLoadBalancerAvailable.js +0 -9
  53. package/dist-cjs/waiters/waitForLoadBalancerExists.js +0 -9
  54. package/dist-cjs/waiters/waitForLoadBalancersDeleted.js +0 -9
  55. package/dist-cjs/waiters/waitForTargetDeregistered.js +0 -9
  56. package/dist-cjs/waiters/waitForTargetInService.js +0 -9
  57. package/dist-es/commands/index.js +34 -0
  58. package/dist-es/endpoints.js +6 -1
  59. package/dist-es/index.js +5 -45
  60. package/dist-es/models/models_0.js +5 -0
  61. package/dist-es/pagination/index.js +4 -0
  62. package/dist-es/protocols/Aws_query.js +18 -0
  63. package/dist-es/waiters/index.js +5 -0
  64. package/dist-types/commands/index.d.ts +34 -0
  65. package/dist-types/index.d.ts +5 -45
  66. package/dist-types/models/models_0.d.ts +41 -12
  67. package/dist-types/pagination/index.d.ts +4 -0
  68. package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +35 -378
  69. package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +24 -127
  70. package/dist-types/ts3.4/commands/AddListenerCertificatesCommand.d.ts +2 -27
  71. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -24
  72. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -47
  73. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +2 -47
  74. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -25
  75. package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +2 -47
  76. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -22
  77. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +2 -26
  78. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -21
  79. package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +2 -24
  80. package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +2 -21
  81. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -42
  82. package/dist-types/ts3.4/commands/DescribeListenerCertificatesCommand.d.ts +2 -27
  83. package/dist-types/ts3.4/commands/DescribeListenersCommand.d.ts +2 -22
  84. package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -43
  85. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/DescribeRulesCommand.d.ts +2 -21
  87. package/dist-types/ts3.4/commands/DescribeSSLPoliciesCommand.d.ts +2 -22
  88. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -22
  89. package/dist-types/ts3.4/commands/DescribeTargetGroupAttributesCommand.d.ts +2 -41
  90. package/dist-types/ts3.4/commands/DescribeTargetGroupsCommand.d.ts +2 -23
  91. package/dist-types/ts3.4/commands/DescribeTargetHealthCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/ModifyListenerCommand.d.ts +2 -27
  93. package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -23
  94. package/dist-types/ts3.4/commands/ModifyRuleCommand.d.ts +2 -24
  95. package/dist-types/ts3.4/commands/ModifyTargetGroupAttributesCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/ModifyTargetGroupCommand.d.ts +2 -21
  97. package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +2 -32
  98. package/dist-types/ts3.4/commands/RemoveListenerCertificatesCommand.d.ts +2 -21
  99. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -22
  100. package/dist-types/ts3.4/commands/SetIpAddressTypeCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/SetRulePrioritiesCommand.d.ts +2 -22
  102. package/dist-types/ts3.4/commands/SetSecurityGroupsCommand.d.ts +2 -23
  103. package/dist-types/ts3.4/commands/SetSubnetsCommand.d.ts +2 -25
  104. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  105. package/dist-types/ts3.4/index.d.ts +5 -45
  106. package/dist-types/ts3.4/models/models_0.d.ts +238 -3056
  107. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  108. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -6
  109. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  110. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  111. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  112. package/dist-types/ts3.4/waiters/index.d.ts +5 -0
  113. package/dist-types/ts3.4/waiters/waitForLoadBalancerAvailable.d.ts +2 -9
  114. package/dist-types/ts3.4/waiters/waitForLoadBalancerExists.d.ts +2 -9
  115. package/dist-types/ts3.4/waiters/waitForLoadBalancersDeleted.d.ts +2 -9
  116. package/dist-types/ts3.4/waiters/waitForTargetDeregistered.d.ts +2 -9
  117. package/dist-types/ts3.4/waiters/waitForTargetInService.d.ts +2 -9
  118. package/dist-types/waiters/index.d.ts +5 -0
  119. package/package.json +33 -33
@@ -4,22 +4,13 @@ exports.paginateDescribeListeners = void 0;
4
4
  const DescribeListenersCommand_1 = require("../commands/DescribeListenersCommand");
5
5
  const ElasticLoadBalancingV2_1 = require("../ElasticLoadBalancingV2");
6
6
  const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeListenersCommand_1.DescribeListenersCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeListeners(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeListeners(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.Marker
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -38,7 +29,6 @@ async function* paginateDescribeListeners(config, input, ...additionalArguments)
38
29
  token = page.NextMarker;
39
30
  hasNext = !!token;
40
31
  }
41
- // @ts-ignore
42
32
  return undefined;
43
33
  }
44
34
  exports.paginateDescribeListeners = paginateDescribeListeners;
@@ -4,22 +4,13 @@ exports.paginateDescribeLoadBalancers = void 0;
4
4
  const DescribeLoadBalancersCommand_1 = require("../commands/DescribeLoadBalancersCommand");
5
5
  const ElasticLoadBalancingV2_1 = require("../ElasticLoadBalancingV2");
6
6
  const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeLoadBalancersCommand_1.DescribeLoadBalancersCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeLoadBalancers(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeLoadBalancers(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.Marker
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -38,7 +29,6 @@ async function* paginateDescribeLoadBalancers(config, input, ...additionalArgume
38
29
  token = page.NextMarker;
39
30
  hasNext = !!token;
40
31
  }
41
- // @ts-ignore
42
32
  return undefined;
43
33
  }
44
34
  exports.paginateDescribeLoadBalancers = paginateDescribeLoadBalancers;
@@ -4,22 +4,13 @@ exports.paginateDescribeTargetGroups = void 0;
4
4
  const DescribeTargetGroupsCommand_1 = require("../commands/DescribeTargetGroupsCommand");
5
5
  const ElasticLoadBalancingV2_1 = require("../ElasticLoadBalancingV2");
6
6
  const ElasticLoadBalancingV2Client_1 = require("../ElasticLoadBalancingV2Client");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeTargetGroupsCommand_1.DescribeTargetGroupsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeTargetGroups(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeTargetGroups(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.Marker
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -38,7 +29,6 @@ async function* paginateDescribeTargetGroups(config, input, ...additionalArgumen
38
29
  token = page.NextMarker;
39
30
  hasNext = !!token;
40
31
  }
41
- // @ts-ignore
42
32
  return undefined;
43
33
  }
44
34
  exports.paginateDescribeTargetGroups = paginateDescribeTargetGroups;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeListenersPaginator"), exports);
5
+ tslib_1.__exportStar(require("./DescribeLoadBalancersPaginator"), exports);
6
+ tslib_1.__exportStar(require("./DescribeTargetGroupsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./Interfaces"), exports);
@@ -3785,6 +3785,9 @@ const serializeAws_queryCreateTargetGroupInput = (input, context) => {
3785
3785
  entries[loc] = value;
3786
3786
  });
3787
3787
  }
3788
+ if (input.IpAddressType !== undefined && input.IpAddressType !== null) {
3789
+ entries["IpAddressType"] = input.IpAddressType;
3790
+ }
3788
3791
  return entries;
3789
3792
  };
3790
3793
  const serializeAws_queryDeleteListenerInput = (input, context) => {
@@ -3938,6 +3941,9 @@ const serializeAws_queryDescribeSSLPoliciesInput = (input, context) => {
3938
3941
  if (input.PageSize !== undefined && input.PageSize !== null) {
3939
3942
  entries["PageSize"] = input.PageSize;
3940
3943
  }
3944
+ if (input.LoadBalancerType !== undefined && input.LoadBalancerType !== null) {
3945
+ entries["LoadBalancerType"] = input.LoadBalancerType;
3946
+ }
3941
3947
  return entries;
3942
3948
  };
3943
3949
  const serializeAws_queryDescribeTagsInput = (input, context) => {
@@ -6145,6 +6151,7 @@ const deserializeAws_querySslPolicy = (output, context) => {
6145
6151
  SslProtocols: undefined,
6146
6152
  Ciphers: undefined,
6147
6153
  Name: undefined,
6154
+ SupportedLoadBalancerTypes: undefined,
6148
6155
  };
6149
6156
  if (output.SslProtocols === "") {
6150
6157
  contents.SslProtocols = [];
@@ -6161,6 +6168,13 @@ const deserializeAws_querySslPolicy = (output, context) => {
6161
6168
  if (output["Name"] !== undefined) {
6162
6169
  contents.Name = smithy_client_1.expectString(output["Name"]);
6163
6170
  }
6171
+ if (output.SupportedLoadBalancerTypes === "") {
6172
+ contents.SupportedLoadBalancerTypes = [];
6173
+ }
6174
+ if (output["SupportedLoadBalancerTypes"] !== undefined &&
6175
+ output["SupportedLoadBalancerTypes"]["member"] !== undefined) {
6176
+ contents.SupportedLoadBalancerTypes = deserializeAws_queryListOfString(smithy_client_1.getArrayIfSingleItem(output["SupportedLoadBalancerTypes"]["member"]), context);
6177
+ }
6164
6178
  return contents;
6165
6179
  };
6166
6180
  const deserializeAws_querySSLPolicyNotFoundException = (output, context) => {
@@ -6276,6 +6290,7 @@ const deserializeAws_queryTargetGroup = (output, context) => {
6276
6290
  LoadBalancerArns: undefined,
6277
6291
  TargetType: undefined,
6278
6292
  ProtocolVersion: undefined,
6293
+ IpAddressType: undefined,
6279
6294
  };
6280
6295
  if (output["TargetGroupArn"] !== undefined) {
6281
6296
  contents.TargetGroupArn = smithy_client_1.expectString(output["TargetGroupArn"]);
@@ -6331,6 +6346,9 @@ const deserializeAws_queryTargetGroup = (output, context) => {
6331
6346
  if (output["ProtocolVersion"] !== undefined) {
6332
6347
  contents.ProtocolVersion = smithy_client_1.expectString(output["ProtocolVersion"]);
6333
6348
  }
6349
+ if (output["IpAddressType"] !== undefined) {
6350
+ contents.IpAddressType = smithy_client_1.expectString(output["IpAddressType"]);
6351
+ }
6334
6352
  return contents;
6335
6353
  };
6336
6354
  const deserializeAws_queryTargetGroupAssociationLimitException = (output, context) => {
@@ -6572,14 +6590,12 @@ const deserializeMetadata = (output) => {
6572
6590
  cfId: output.headers["x-amz-cf-id"],
6573
6591
  });
6574
6592
  };
6575
- // Collect low-level response body stream to Uint8Array.
6576
6593
  const collectBody = (streamBody = new Uint8Array(), context) => {
6577
6594
  if (streamBody instanceof Uint8Array) {
6578
6595
  return Promise.resolve(streamBody);
6579
6596
  }
6580
6597
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
6581
6598
  };
6582
- // Encode Uint8Array data into string with utf-8.
6583
6599
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
6584
6600
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
6585
6601
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
8
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const client_sts_1 = require("@aws-sdk/client-sts");
8
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
9
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
17
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
18
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
20
- /**
21
- * @internal
22
- */
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./waitForLoadBalancerAvailable"), exports);
5
+ tslib_1.__exportStar(require("./waitForLoadBalancerExists"), exports);
6
+ tslib_1.__exportStar(require("./waitForLoadBalancersDeleted"), exports);
7
+ tslib_1.__exportStar(require("./waitForTargetDeregistered"), exports);
8
+ tslib_1.__exportStar(require("./waitForTargetInService"), exports);
@@ -49,20 +49,11 @@ const checkState = async (client, input) => {
49
49
  }
50
50
  return { state: util_waiter_1.WaiterState.RETRY, reason };
51
51
  };
52
- /**
53
- *
54
- * @deprecated Use waitUntilLoadBalancerAvailable instead. waitForLoadBalancerAvailable does not throw error in non-success cases.
55
- */
56
52
  const waitForLoadBalancerAvailable = async (params, input) => {
57
53
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
58
54
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
59
55
  };
60
56
  exports.waitForLoadBalancerAvailable = waitForLoadBalancerAvailable;
61
- /**
62
- *
63
- * @param params - Waiter configuration options.
64
- * @param input - The input to DescribeLoadBalancersCommand for polling.
65
- */
66
57
  const waitUntilLoadBalancerAvailable = async (params, input) => {
67
58
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
68
59
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
@@ -18,20 +18,11 @@ const checkState = async (client, input) => {
18
18
  }
19
19
  return { state: util_waiter_1.WaiterState.RETRY, reason };
20
20
  };
21
- /**
22
- *
23
- * @deprecated Use waitUntilLoadBalancerExists instead. waitForLoadBalancerExists does not throw error in non-success cases.
24
- */
25
21
  const waitForLoadBalancerExists = async (params, input) => {
26
22
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
27
23
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
28
24
  };
29
25
  exports.waitForLoadBalancerExists = waitForLoadBalancerExists;
30
- /**
31
- *
32
- * @param params - Waiter configuration options.
33
- * @param input - The input to DescribeLoadBalancersCommand for polling.
34
- */
35
26
  const waitUntilLoadBalancerExists = async (params, input) => {
36
27
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
37
28
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
@@ -34,20 +34,11 @@ const checkState = async (client, input) => {
34
34
  }
35
35
  return { state: util_waiter_1.WaiterState.RETRY, reason };
36
36
  };
37
- /**
38
- *
39
- * @deprecated Use waitUntilLoadBalancersDeleted instead. waitForLoadBalancersDeleted does not throw error in non-success cases.
40
- */
41
37
  const waitForLoadBalancersDeleted = async (params, input) => {
42
38
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
43
39
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
44
40
  };
45
41
  exports.waitForLoadBalancersDeleted = waitForLoadBalancersDeleted;
46
- /**
47
- *
48
- * @param params - Waiter configuration options.
49
- * @param input - The input to DescribeLoadBalancersCommand for polling.
50
- */
51
42
  const waitUntilLoadBalancersDeleted = async (params, input) => {
52
43
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
53
44
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
@@ -34,20 +34,11 @@ const checkState = async (client, input) => {
34
34
  }
35
35
  return { state: util_waiter_1.WaiterState.RETRY, reason };
36
36
  };
37
- /**
38
- *
39
- * @deprecated Use waitUntilTargetDeregistered instead. waitForTargetDeregistered does not throw error in non-success cases.
40
- */
41
37
  const waitForTargetDeregistered = async (params, input) => {
42
38
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
43
39
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
44
40
  };
45
41
  exports.waitForTargetDeregistered = waitForTargetDeregistered;
46
- /**
47
- *
48
- * @param params - Waiter configuration options.
49
- * @param input - The input to DescribeTargetHealthCommand for polling.
50
- */
51
42
  const waitUntilTargetDeregistered = async (params, input) => {
52
43
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
53
44
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
@@ -34,20 +34,11 @@ const checkState = async (client, input) => {
34
34
  }
35
35
  return { state: util_waiter_1.WaiterState.RETRY, reason };
36
36
  };
37
- /**
38
- *
39
- * @deprecated Use waitUntilTargetInService instead. waitForTargetInService does not throw error in non-success cases.
40
- */
41
37
  const waitForTargetInService = async (params, input) => {
42
38
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
43
39
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
44
40
  };
45
41
  exports.waitForTargetInService = waitForTargetInService;
46
- /**
47
- *
48
- * @param params - Waiter configuration options.
49
- * @param input - The input to DescribeTargetHealthCommand for polling.
50
- */
51
42
  const waitUntilTargetInService = async (params, input) => {
52
43
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
53
44
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
@@ -0,0 +1,34 @@
1
+ export * from "./AddListenerCertificatesCommand";
2
+ export * from "./AddTagsCommand";
3
+ export * from "./CreateListenerCommand";
4
+ export * from "./CreateLoadBalancerCommand";
5
+ export * from "./CreateRuleCommand";
6
+ export * from "./CreateTargetGroupCommand";
7
+ export * from "./DeleteListenerCommand";
8
+ export * from "./DeleteLoadBalancerCommand";
9
+ export * from "./DeleteRuleCommand";
10
+ export * from "./DeleteTargetGroupCommand";
11
+ export * from "./DeregisterTargetsCommand";
12
+ export * from "./DescribeAccountLimitsCommand";
13
+ export * from "./DescribeListenerCertificatesCommand";
14
+ export * from "./DescribeListenersCommand";
15
+ export * from "./DescribeLoadBalancerAttributesCommand";
16
+ export * from "./DescribeLoadBalancersCommand";
17
+ export * from "./DescribeRulesCommand";
18
+ export * from "./DescribeSSLPoliciesCommand";
19
+ export * from "./DescribeTagsCommand";
20
+ export * from "./DescribeTargetGroupAttributesCommand";
21
+ export * from "./DescribeTargetGroupsCommand";
22
+ export * from "./DescribeTargetHealthCommand";
23
+ export * from "./ModifyListenerCommand";
24
+ export * from "./ModifyLoadBalancerAttributesCommand";
25
+ export * from "./ModifyRuleCommand";
26
+ export * from "./ModifyTargetGroupAttributesCommand";
27
+ export * from "./ModifyTargetGroupCommand";
28
+ export * from "./RegisterTargetsCommand";
29
+ export * from "./RemoveListenerCertificatesCommand";
30
+ export * from "./RemoveTagsCommand";
31
+ export * from "./SetIpAddressTypeCommand";
32
+ export * from "./SetRulePrioritiesCommand";
33
+ export * from "./SetSecurityGroupsCommand";
34
+ export * from "./SetSubnetsCommand";
@@ -55,22 +55,27 @@ var partitionHash = {
55
55
  "us-west-1",
56
56
  "us-west-2",
57
57
  ],
58
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
58
59
  hostname: "elasticloadbalancing.{region}.amazonaws.com",
59
60
  },
60
61
  "aws-cn": {
61
62
  regions: ["cn-north-1", "cn-northwest-1"],
63
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
62
64
  hostname: "elasticloadbalancing.{region}.amazonaws.com.cn",
63
65
  },
64
66
  "aws-iso": {
65
- regions: ["us-iso-east-1"],
67
+ regions: ["us-iso-east-1", "us-iso-west-1"],
68
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
66
69
  hostname: "elasticloadbalancing.{region}.c2s.ic.gov",
67
70
  },
68
71
  "aws-iso-b": {
69
72
  regions: ["us-isob-east-1"],
73
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
70
74
  hostname: "elasticloadbalancing.{region}.sc2s.sgov.gov",
71
75
  },
72
76
  "aws-us-gov": {
73
77
  regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
78
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
74
79
  hostname: "elasticloadbalancing.{region}.amazonaws.com",
75
80
  },
76
81
  };
package/dist-es/index.js CHANGED
@@ -1,46 +1,6 @@
1
- export * from "./ElasticLoadBalancingV2Client";
2
1
  export * from "./ElasticLoadBalancingV2";
3
- export * from "./commands/AddListenerCertificatesCommand";
4
- export * from "./commands/AddTagsCommand";
5
- export * from "./commands/CreateListenerCommand";
6
- export * from "./commands/CreateLoadBalancerCommand";
7
- export * from "./commands/CreateRuleCommand";
8
- export * from "./commands/CreateTargetGroupCommand";
9
- export * from "./commands/DeleteListenerCommand";
10
- export * from "./commands/DeleteLoadBalancerCommand";
11
- export * from "./commands/DeleteRuleCommand";
12
- export * from "./commands/DeleteTargetGroupCommand";
13
- export * from "./commands/DeregisterTargetsCommand";
14
- export * from "./commands/DescribeAccountLimitsCommand";
15
- export * from "./commands/DescribeListenerCertificatesCommand";
16
- export * from "./commands/DescribeListenersCommand";
17
- export * from "./pagination/DescribeListenersPaginator";
18
- export * from "./commands/DescribeLoadBalancerAttributesCommand";
19
- export * from "./commands/DescribeLoadBalancersCommand";
20
- export * from "./pagination/DescribeLoadBalancersPaginator";
21
- export * from "./waiters/waitForLoadBalancerAvailable";
22
- export * from "./waiters/waitForLoadBalancerExists";
23
- export * from "./waiters/waitForLoadBalancersDeleted";
24
- export * from "./commands/DescribeRulesCommand";
25
- export * from "./commands/DescribeSSLPoliciesCommand";
26
- export * from "./commands/DescribeTagsCommand";
27
- export * from "./commands/DescribeTargetGroupAttributesCommand";
28
- export * from "./commands/DescribeTargetGroupsCommand";
29
- export * from "./pagination/DescribeTargetGroupsPaginator";
30
- export * from "./commands/DescribeTargetHealthCommand";
31
- export * from "./waiters/waitForTargetDeregistered";
32
- export * from "./waiters/waitForTargetInService";
33
- export * from "./commands/ModifyListenerCommand";
34
- export * from "./commands/ModifyLoadBalancerAttributesCommand";
35
- export * from "./commands/ModifyRuleCommand";
36
- export * from "./commands/ModifyTargetGroupCommand";
37
- export * from "./commands/ModifyTargetGroupAttributesCommand";
38
- export * from "./commands/RegisterTargetsCommand";
39
- export * from "./commands/RemoveListenerCertificatesCommand";
40
- export * from "./commands/RemoveTagsCommand";
41
- export * from "./commands/SetIpAddressTypeCommand";
42
- export * from "./commands/SetRulePrioritiesCommand";
43
- export * from "./commands/SetSecurityGroupsCommand";
44
- export * from "./commands/SetSubnetsCommand";
45
- export * from "./pagination/Interfaces";
46
- export * from "./models/index";
2
+ export * from "./ElasticLoadBalancingV2Client";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -327,6 +327,11 @@ export var TooManyTargetGroupsException;
327
327
  (function (TooManyTargetGroupsException) {
328
328
  TooManyTargetGroupsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
329
329
  })(TooManyTargetGroupsException || (TooManyTargetGroupsException = {}));
330
+ export var TargetGroupIpAddressTypeEnum;
331
+ (function (TargetGroupIpAddressTypeEnum) {
332
+ TargetGroupIpAddressTypeEnum["IPV4"] = "ipv4";
333
+ TargetGroupIpAddressTypeEnum["IPV6"] = "ipv6";
334
+ })(TargetGroupIpAddressTypeEnum || (TargetGroupIpAddressTypeEnum = {}));
330
335
  export var Matcher;
331
336
  (function (Matcher) {
332
337
  Matcher.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -0,0 +1,4 @@
1
+ export * from "./DescribeListenersPaginator";
2
+ export * from "./DescribeLoadBalancersPaginator";
3
+ export * from "./DescribeTargetGroupsPaginator";
4
+ export * from "./Interfaces";
@@ -3966,6 +3966,9 @@ var serializeAws_queryCreateTargetGroupInput = function (input, context) {
3966
3966
  entries[loc] = value;
3967
3967
  });
3968
3968
  }
3969
+ if (input.IpAddressType !== undefined && input.IpAddressType !== null) {
3970
+ entries["IpAddressType"] = input.IpAddressType;
3971
+ }
3969
3972
  return entries;
3970
3973
  };
3971
3974
  var serializeAws_queryDeleteListenerInput = function (input, context) {
@@ -4125,6 +4128,9 @@ var serializeAws_queryDescribeSSLPoliciesInput = function (input, context) {
4125
4128
  if (input.PageSize !== undefined && input.PageSize !== null) {
4126
4129
  entries["PageSize"] = input.PageSize;
4127
4130
  }
4131
+ if (input.LoadBalancerType !== undefined && input.LoadBalancerType !== null) {
4132
+ entries["LoadBalancerType"] = input.LoadBalancerType;
4133
+ }
4128
4134
  return entries;
4129
4135
  };
4130
4136
  var serializeAws_queryDescribeTagsInput = function (input, context) {
@@ -6603,6 +6609,7 @@ var deserializeAws_querySslPolicy = function (output, context) {
6603
6609
  SslProtocols: undefined,
6604
6610
  Ciphers: undefined,
6605
6611
  Name: undefined,
6612
+ SupportedLoadBalancerTypes: undefined,
6606
6613
  };
6607
6614
  if (output.SslProtocols === "") {
6608
6615
  contents.SslProtocols = [];
@@ -6619,6 +6626,13 @@ var deserializeAws_querySslPolicy = function (output, context) {
6619
6626
  if (output["Name"] !== undefined) {
6620
6627
  contents.Name = __expectString(output["Name"]);
6621
6628
  }
6629
+ if (output.SupportedLoadBalancerTypes === "") {
6630
+ contents.SupportedLoadBalancerTypes = [];
6631
+ }
6632
+ if (output["SupportedLoadBalancerTypes"] !== undefined &&
6633
+ output["SupportedLoadBalancerTypes"]["member"] !== undefined) {
6634
+ contents.SupportedLoadBalancerTypes = deserializeAws_queryListOfString(__getArrayIfSingleItem(output["SupportedLoadBalancerTypes"]["member"]), context);
6635
+ }
6622
6636
  return contents;
6623
6637
  };
6624
6638
  var deserializeAws_querySSLPolicyNotFoundException = function (output, context) {
@@ -6734,6 +6748,7 @@ var deserializeAws_queryTargetGroup = function (output, context) {
6734
6748
  LoadBalancerArns: undefined,
6735
6749
  TargetType: undefined,
6736
6750
  ProtocolVersion: undefined,
6751
+ IpAddressType: undefined,
6737
6752
  };
6738
6753
  if (output["TargetGroupArn"] !== undefined) {
6739
6754
  contents.TargetGroupArn = __expectString(output["TargetGroupArn"]);
@@ -6789,6 +6804,9 @@ var deserializeAws_queryTargetGroup = function (output, context) {
6789
6804
  if (output["ProtocolVersion"] !== undefined) {
6790
6805
  contents.ProtocolVersion = __expectString(output["ProtocolVersion"]);
6791
6806
  }
6807
+ if (output["IpAddressType"] !== undefined) {
6808
+ contents.IpAddressType = __expectString(output["IpAddressType"]);
6809
+ }
6792
6810
  return contents;
6793
6811
  };
6794
6812
  var deserializeAws_queryTargetGroupAssociationLimitException = function (output, context) {
@@ -0,0 +1,5 @@
1
+ export * from "./waitForLoadBalancerAvailable";
2
+ export * from "./waitForLoadBalancerExists";
3
+ export * from "./waitForLoadBalancersDeleted";
4
+ export * from "./waitForTargetDeregistered";
5
+ export * from "./waitForTargetInService";
@@ -0,0 +1,34 @@
1
+ export * from "./AddListenerCertificatesCommand";
2
+ export * from "./AddTagsCommand";
3
+ export * from "./CreateListenerCommand";
4
+ export * from "./CreateLoadBalancerCommand";
5
+ export * from "./CreateRuleCommand";
6
+ export * from "./CreateTargetGroupCommand";
7
+ export * from "./DeleteListenerCommand";
8
+ export * from "./DeleteLoadBalancerCommand";
9
+ export * from "./DeleteRuleCommand";
10
+ export * from "./DeleteTargetGroupCommand";
11
+ export * from "./DeregisterTargetsCommand";
12
+ export * from "./DescribeAccountLimitsCommand";
13
+ export * from "./DescribeListenerCertificatesCommand";
14
+ export * from "./DescribeListenersCommand";
15
+ export * from "./DescribeLoadBalancerAttributesCommand";
16
+ export * from "./DescribeLoadBalancersCommand";
17
+ export * from "./DescribeRulesCommand";
18
+ export * from "./DescribeSSLPoliciesCommand";
19
+ export * from "./DescribeTagsCommand";
20
+ export * from "./DescribeTargetGroupAttributesCommand";
21
+ export * from "./DescribeTargetGroupsCommand";
22
+ export * from "./DescribeTargetHealthCommand";
23
+ export * from "./ModifyListenerCommand";
24
+ export * from "./ModifyLoadBalancerAttributesCommand";
25
+ export * from "./ModifyRuleCommand";
26
+ export * from "./ModifyTargetGroupAttributesCommand";
27
+ export * from "./ModifyTargetGroupCommand";
28
+ export * from "./RegisterTargetsCommand";
29
+ export * from "./RemoveListenerCertificatesCommand";
30
+ export * from "./RemoveTagsCommand";
31
+ export * from "./SetIpAddressTypeCommand";
32
+ export * from "./SetRulePrioritiesCommand";
33
+ export * from "./SetSecurityGroupsCommand";
34
+ export * from "./SetSubnetsCommand";
@@ -1,46 +1,6 @@
1
- export * from "./ElasticLoadBalancingV2Client";
2
1
  export * from "./ElasticLoadBalancingV2";
3
- export * from "./commands/AddListenerCertificatesCommand";
4
- export * from "./commands/AddTagsCommand";
5
- export * from "./commands/CreateListenerCommand";
6
- export * from "./commands/CreateLoadBalancerCommand";
7
- export * from "./commands/CreateRuleCommand";
8
- export * from "./commands/CreateTargetGroupCommand";
9
- export * from "./commands/DeleteListenerCommand";
10
- export * from "./commands/DeleteLoadBalancerCommand";
11
- export * from "./commands/DeleteRuleCommand";
12
- export * from "./commands/DeleteTargetGroupCommand";
13
- export * from "./commands/DeregisterTargetsCommand";
14
- export * from "./commands/DescribeAccountLimitsCommand";
15
- export * from "./commands/DescribeListenerCertificatesCommand";
16
- export * from "./commands/DescribeListenersCommand";
17
- export * from "./pagination/DescribeListenersPaginator";
18
- export * from "./commands/DescribeLoadBalancerAttributesCommand";
19
- export * from "./commands/DescribeLoadBalancersCommand";
20
- export * from "./pagination/DescribeLoadBalancersPaginator";
21
- export * from "./waiters/waitForLoadBalancerAvailable";
22
- export * from "./waiters/waitForLoadBalancerExists";
23
- export * from "./waiters/waitForLoadBalancersDeleted";
24
- export * from "./commands/DescribeRulesCommand";
25
- export * from "./commands/DescribeSSLPoliciesCommand";
26
- export * from "./commands/DescribeTagsCommand";
27
- export * from "./commands/DescribeTargetGroupAttributesCommand";
28
- export * from "./commands/DescribeTargetGroupsCommand";
29
- export * from "./pagination/DescribeTargetGroupsPaginator";
30
- export * from "./commands/DescribeTargetHealthCommand";
31
- export * from "./waiters/waitForTargetDeregistered";
32
- export * from "./waiters/waitForTargetInService";
33
- export * from "./commands/ModifyListenerCommand";
34
- export * from "./commands/ModifyLoadBalancerAttributesCommand";
35
- export * from "./commands/ModifyRuleCommand";
36
- export * from "./commands/ModifyTargetGroupCommand";
37
- export * from "./commands/ModifyTargetGroupAttributesCommand";
38
- export * from "./commands/RegisterTargetsCommand";
39
- export * from "./commands/RemoveListenerCertificatesCommand";
40
- export * from "./commands/RemoveTagsCommand";
41
- export * from "./commands/SetIpAddressTypeCommand";
42
- export * from "./commands/SetRulePrioritiesCommand";
43
- export * from "./commands/SetSecurityGroupsCommand";
44
- export * from "./commands/SetSubnetsCommand";
45
- export * from "./pagination/Interfaces";
46
- export * from "./models/index";
2
+ export * from "./ElasticLoadBalancingV2Client";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";