@aws-sdk/client-elastic-load-balancing-v2 3.774.0 → 3.777.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 (58) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/ElasticLoadBalancingV2Client.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AddListenerCertificatesCommand.d.ts +1 -0
  8. package/dist-types/commands/AddTagsCommand.d.ts +12 -9
  9. package/dist-types/commands/AddTrustStoreRevocationsCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateListenerCommand.d.ts +38 -39
  11. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +44 -45
  12. package/dist-types/commands/CreateRuleCommand.d.ts +21 -21
  13. package/dist-types/commands/CreateTargetGroupCommand.d.ts +22 -22
  14. package/dist-types/commands/CreateTrustStoreCommand.d.ts +1 -0
  15. package/dist-types/commands/DeleteListenerCommand.d.ts +7 -4
  16. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +7 -4
  17. package/dist-types/commands/DeleteRuleCommand.d.ts +7 -4
  18. package/dist-types/commands/DeleteSharedTrustStoreAssociationCommand.d.ts +8 -5
  19. package/dist-types/commands/DeleteTargetGroupCommand.d.ts +7 -4
  20. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +1 -0
  21. package/dist-types/commands/DeregisterTargetsCommand.d.ts +9 -6
  22. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeCapacityReservationCommand.d.ts +1 -0
  24. package/dist-types/commands/DescribeListenerAttributesCommand.d.ts +7 -4
  25. package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +1 -0
  26. package/dist-types/commands/DescribeListenersCommand.d.ts +12 -12
  27. package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +15 -15
  28. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +21 -21
  29. package/dist-types/commands/DescribeRulesCommand.d.ts +14 -14
  30. package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +46 -46
  31. package/dist-types/commands/DescribeTagsCommand.d.ts +11 -11
  32. package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +13 -13
  33. package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +20 -20
  34. package/dist-types/commands/DescribeTargetHealthCommand.d.ts +30 -31
  35. package/dist-types/commands/DescribeTrustStoreAssociationsCommand.d.ts +1 -0
  36. package/dist-types/commands/DescribeTrustStoreRevocationsCommand.d.ts +1 -0
  37. package/dist-types/commands/DescribeTrustStoresCommand.d.ts +1 -0
  38. package/dist-types/commands/GetResourcePolicyCommand.d.ts +7 -4
  39. package/dist-types/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +1 -0
  40. package/dist-types/commands/GetTrustStoreRevocationContentCommand.d.ts +1 -0
  41. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -0
  42. package/dist-types/commands/ModifyIpPoolsCommand.d.ts +1 -0
  43. package/dist-types/commands/ModifyListenerAttributesCommand.d.ts +1 -0
  44. package/dist-types/commands/ModifyListenerCommand.d.ts +30 -31
  45. package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +54 -56
  46. package/dist-types/commands/ModifyRuleCommand.d.ts +17 -17
  47. package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +16 -16
  48. package/dist-types/commands/ModifyTargetGroupCommand.d.ts +21 -21
  49. package/dist-types/commands/ModifyTrustStoreCommand.d.ts +1 -0
  50. package/dist-types/commands/RegisterTargetsCommand.d.ts +20 -15
  51. package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +1 -0
  52. package/dist-types/commands/RemoveTagsCommand.d.ts +8 -5
  53. package/dist-types/commands/RemoveTrustStoreRevocationsCommand.d.ts +1 -0
  54. package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -0
  55. package/dist-types/commands/SetRulePrioritiesCommand.d.ts +16 -16
  56. package/dist-types/commands/SetSecurityGroupsCommand.d.ts +6 -6
  57. package/dist-types/commands/SetSubnetsCommand.d.ts +10 -10
  58. package/package.json +34 -34
@@ -40,8 +40,6 @@ const defaultElasticLoadBalancingV2HttpAuthSchemeProvider = (authParameters) =>
40
40
  exports.defaultElasticLoadBalancingV2HttpAuthSchemeProvider = defaultElasticLoadBalancingV2HttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -194,12 +194,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
194
194
 
195
195
  // src/endpoint/EndpointParameters.ts
196
196
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
197
- return {
198
- ...options,
197
+ return Object.assign(options, {
199
198
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
200
199
  useFipsEndpoint: options.useFipsEndpoint ?? false,
201
200
  defaultSigningName: "elasticloadbalancing"
202
- };
201
+ });
203
202
  }, "resolveClientEndpointParameters");
204
203
  var commonParams = {
205
204
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -256,22 +255,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
256
255
  }, "resolveHttpAuthRuntimeConfig");
257
256
 
258
257
  // src/runtimeExtensions.ts
259
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
260
258
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
261
- const extensionConfiguration = {
262
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
263
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
264
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
265
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
266
- };
259
+ const extensionConfiguration = Object.assign(
260
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
261
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
262
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
263
+ getHttpAuthExtensionConfiguration(runtimeConfig)
264
+ );
267
265
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
268
- return {
269
- ...runtimeConfig,
270
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
271
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
272
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
273
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
274
- };
266
+ return Object.assign(
267
+ runtimeConfig,
268
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
269
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
270
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
271
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
272
+ );
275
273
  }, "resolveRuntimeExtensions");
276
274
 
277
275
  // src/ElasticLoadBalancingV2Client.ts
@@ -285,6 +283,8 @@ var ElasticLoadBalancingV2Client = class extends import_smithy_client.Client {
285
283
  config;
286
284
  constructor(...[configuration]) {
287
285
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
286
+ super(_config_0);
287
+ this.initConfig = _config_0;
288
288
  const _config_1 = resolveClientEndpointParameters(_config_0);
289
289
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
290
290
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -293,7 +293,6 @@ var ElasticLoadBalancingV2Client = class extends import_smithy_client.Client {
293
293
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
294
294
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
295
295
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
296
- super(_config_8);
297
296
  this.config = _config_8;
298
297
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
299
298
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class ElasticLoadBalancingV2Client extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class ElasticLoadBalancingV2Client extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultElasticLoadBalancingV2HttpAuthSchemeProvider = (authParamete
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "elasticloadbalancing",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -80,6 +80,7 @@ declare const AddListenerCertificatesCommand_base: {
80
80
  * @throws {@link ElasticLoadBalancingV2ServiceException}
81
81
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
82
82
  *
83
+ *
83
84
  * @public
84
85
  */
85
86
  export declare class AddListenerCertificatesCommand extends AddListenerCertificatesCommand_base {
@@ -85,30 +85,33 @@ declare const AddTagsCommand_base: {
85
85
  * @throws {@link ElasticLoadBalancingV2ServiceException}
86
86
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
87
87
  *
88
- * @public
88
+ *
89
89
  * @example To add tags to a load balancer
90
90
  * ```javascript
91
91
  * // This example adds the specified tags to the specified load balancer.
92
92
  * const input = {
93
- * "ResourceArns": [
93
+ * ResourceArns: [
94
94
  * "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
95
95
  * ],
96
- * "Tags": [
96
+ * Tags: [
97
97
  * {
98
- * "Key": "project",
99
- * "Value": "lima"
98
+ * Key: "project",
99
+ * Value: "lima"
100
100
  * },
101
101
  * {
102
- * "Key": "department",
103
- * "Value": "digital-media"
102
+ * Key: "department",
103
+ * Value: "digital-media"
104
104
  * }
105
105
  * ]
106
106
  * };
107
107
  * const command = new AddTagsCommand(input);
108
- * await client.send(command);
109
- * // example id: elbv2-add-tags-1
108
+ * const response = await client.send(command);
109
+ * /* response is
110
+ * { /* metadata only *\/ }
111
+ * *\/
110
112
  * ```
111
113
  *
114
+ * @public
112
115
  */
113
116
  export declare class AddTagsCommand extends AddTagsCommand_base {
114
117
  /** @internal type navigation helper, not in runtime. */
@@ -81,6 +81,7 @@ declare const AddTrustStoreRevocationsCommand_base: {
81
81
  * @throws {@link ElasticLoadBalancingV2ServiceException}
82
82
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
83
83
  *
84
+ *
84
85
  * @public
85
86
  */
86
87
  export declare class AddTrustStoreRevocationsCommand extends AddTrustStoreRevocationsCommand_base {
@@ -310,93 +310,92 @@ declare const CreateListenerCommand_base: {
310
310
  * @throws {@link ElasticLoadBalancingV2ServiceException}
311
311
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
312
312
  *
313
- * @public
313
+ *
314
314
  * @example To create an HTTP listener
315
315
  * ```javascript
316
316
  * // This example creates an HTTP listener for the specified load balancer that forwards requests to the specified target group.
317
317
  * const input = {
318
- * "DefaultActions": [
318
+ * DefaultActions: [
319
319
  * {
320
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
321
- * "Type": "forward"
320
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
321
+ * Type: "forward"
322
322
  * }
323
323
  * ],
324
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
325
- * "Port": 80,
326
- * "Protocol": "HTTP"
324
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
325
+ * Port: 80,
326
+ * Protocol: "HTTP"
327
327
  * };
328
328
  * const command = new CreateListenerCommand(input);
329
329
  * const response = await client.send(command);
330
- * /* response ==
330
+ * /* response is
331
331
  * {
332
- * "Listeners": [
332
+ * Listeners: [
333
333
  * {
334
- * "DefaultActions": [
334
+ * DefaultActions: [
335
335
  * {
336
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
337
- * "Type": "forward"
336
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
337
+ * Type: "forward"
338
338
  * }
339
339
  * ],
340
- * "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
341
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
342
- * "Port": 80,
343
- * "Protocol": "HTTP"
340
+ * ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
341
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
342
+ * Port: 80,
343
+ * Protocol: "HTTP"
344
344
  * }
345
345
  * ]
346
346
  * }
347
347
  * *\/
348
- * // example id: elbv2-create-listener-1
349
348
  * ```
350
349
  *
351
350
  * @example To create an HTTPS listener
352
351
  * ```javascript
353
352
  * // This example creates an HTTPS listener for the specified load balancer that forwards requests to the specified target group. Note that you must specify an SSL certificate for an HTTPS listener. You can create and manage certificates using AWS Certificate Manager (ACM). Alternatively, you can create a certificate using SSL/TLS tools, get the certificate signed by a certificate authority (CA), and upload the certificate to AWS Identity and Access Management (IAM).
354
353
  * const input = {
355
- * "Certificates": [
354
+ * Certificates: [
356
355
  * {
357
- * "CertificateArn": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
356
+ * CertificateArn: "arn:aws:iam::123456789012:server-certificate/my-server-cert"
358
357
  * }
359
358
  * ],
360
- * "DefaultActions": [
359
+ * DefaultActions: [
361
360
  * {
362
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
363
- * "Type": "forward"
361
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
362
+ * Type: "forward"
364
363
  * }
365
364
  * ],
366
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
367
- * "Port": 443,
368
- * "Protocol": "HTTPS",
369
- * "SslPolicy": "ELBSecurityPolicy-2015-05"
365
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
366
+ * Port: 443,
367
+ * Protocol: "HTTPS",
368
+ * SslPolicy: "ELBSecurityPolicy-2015-05"
370
369
  * };
371
370
  * const command = new CreateListenerCommand(input);
372
371
  * const response = await client.send(command);
373
- * /* response ==
372
+ * /* response is
374
373
  * {
375
- * "Listeners": [
374
+ * Listeners: [
376
375
  * {
377
- * "Certificates": [
376
+ * Certificates: [
378
377
  * {
379
- * "CertificateArn": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
378
+ * CertificateArn: "arn:aws:iam::123456789012:server-certificate/my-server-cert"
380
379
  * }
381
380
  * ],
382
- * "DefaultActions": [
381
+ * DefaultActions: [
383
382
  * {
384
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
385
- * "Type": "forward"
383
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
384
+ * Type: "forward"
386
385
  * }
387
386
  * ],
388
- * "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
389
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
390
- * "Port": 443,
391
- * "Protocol": "HTTPS",
392
- * "SslPolicy": "ELBSecurityPolicy-2015-05"
387
+ * ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
388
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
389
+ * Port: 443,
390
+ * Protocol: "HTTPS",
391
+ * SslPolicy: "ELBSecurityPolicy-2015-05"
393
392
  * }
394
393
  * ]
395
394
  * }
396
395
  * *\/
397
- * // example id: elbv2-create-listener-2
398
396
  * ```
399
397
  *
398
+ * @public
400
399
  */
401
400
  export declare class CreateListenerCommand extends CreateListenerCommand_base {
402
401
  /** @internal type navigation helper, not in runtime. */
@@ -189,103 +189,102 @@ declare const CreateLoadBalancerCommand_base: {
189
189
  * @throws {@link ElasticLoadBalancingV2ServiceException}
190
190
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
191
191
  *
192
- * @public
192
+ *
193
193
  * @example To create an Internet-facing load balancer
194
194
  * ```javascript
195
195
  * // This example creates an Internet-facing load balancer and enables the Availability Zones for the specified subnets.
196
196
  * const input = {
197
- * "Name": "my-load-balancer",
198
- * "Subnets": [
197
+ * Name: "my-load-balancer",
198
+ * Subnets: [
199
199
  * "subnet-b7d581c0",
200
200
  * "subnet-8360a9e7"
201
201
  * ]
202
202
  * };
203
203
  * const command = new CreateLoadBalancerCommand(input);
204
204
  * const response = await client.send(command);
205
- * /* response ==
205
+ * /* response is
206
206
  * {
207
- * "LoadBalancers": [
207
+ * LoadBalancers: [
208
208
  * {
209
- * "AvailabilityZones": [
209
+ * AvailabilityZones: [
210
210
  * {
211
- * "SubnetId": "subnet-8360a9e7",
212
- * "ZoneName": "us-west-2a"
211
+ * SubnetId: "subnet-8360a9e7",
212
+ * ZoneName: "us-west-2a"
213
213
  * },
214
214
  * {
215
- * "SubnetId": "subnet-b7d581c0",
216
- * "ZoneName": "us-west-2b"
215
+ * SubnetId: "subnet-b7d581c0",
216
+ * ZoneName: "us-west-2b"
217
217
  * }
218
218
  * ],
219
- * "CanonicalHostedZoneId": "Z2P70J7EXAMPLE",
220
- * "CreatedTime": "2016-03-25T21:26:12.920Z",
221
- * "DNSName": "my-load-balancer-424835706.us-west-2.elb.amazonaws.com",
222
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
223
- * "LoadBalancerName": "my-load-balancer",
224
- * "Scheme": "internet-facing",
225
- * "SecurityGroups": [
219
+ * CanonicalHostedZoneId: "Z2P70J7EXAMPLE",
220
+ * CreatedTime: "2016-03-25T21:26:12.920Z",
221
+ * DNSName: "my-load-balancer-424835706.us-west-2.elb.amazonaws.com",
222
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
223
+ * LoadBalancerName: "my-load-balancer",
224
+ * Scheme: "internet-facing",
225
+ * SecurityGroups: [
226
226
  * "sg-5943793c"
227
227
  * ],
228
- * "State": {
229
- * "Code": "provisioning"
228
+ * State: {
229
+ * Code: "provisioning"
230
230
  * },
231
- * "Type": "application",
232
- * "VpcId": "vpc-3ac0fb5f"
231
+ * Type: "application",
232
+ * VpcId: "vpc-3ac0fb5f"
233
233
  * }
234
234
  * ]
235
235
  * }
236
236
  * *\/
237
- * // example id: elbv2-create-load-balancer-1
238
237
  * ```
239
238
  *
240
239
  * @example To create an internal load balancer
241
240
  * ```javascript
242
241
  * // This example creates an internal load balancer and enables the Availability Zones for the specified subnets.
243
242
  * const input = {
244
- * "Name": "my-internal-load-balancer",
245
- * "Scheme": "internal",
246
- * "SecurityGroups": [],
247
- * "Subnets": [
243
+ * Name: "my-internal-load-balancer",
244
+ * Scheme: "internal",
245
+ * SecurityGroups: [],
246
+ * Subnets: [
248
247
  * "subnet-b7d581c0",
249
248
  * "subnet-8360a9e7"
250
249
  * ]
251
250
  * };
252
251
  * const command = new CreateLoadBalancerCommand(input);
253
252
  * const response = await client.send(command);
254
- * /* response ==
253
+ * /* response is
255
254
  * {
256
- * "LoadBalancers": [
255
+ * LoadBalancers: [
257
256
  * {
258
- * "AvailabilityZones": [
257
+ * AvailabilityZones: [
259
258
  * {
260
- * "SubnetId": "subnet-8360a9e7",
261
- * "ZoneName": "us-west-2a"
259
+ * SubnetId: "subnet-8360a9e7",
260
+ * ZoneName: "us-west-2a"
262
261
  * },
263
262
  * {
264
- * "SubnetId": "subnet-b7d581c0",
265
- * "ZoneName": "us-west-2b"
263
+ * SubnetId: "subnet-b7d581c0",
264
+ * ZoneName: "us-west-2b"
266
265
  * }
267
266
  * ],
268
- * "CanonicalHostedZoneId": "Z2P70J7EXAMPLE",
269
- * "CreatedTime": "2016-03-25T21:29:48.850Z",
270
- * "DNSName": "internal-my-internal-load-balancer-1529930873.us-west-2.elb.amazonaws.com",
271
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-internal-load-balancer/5b49b8d4303115c2",
272
- * "LoadBalancerName": "my-internal-load-balancer",
273
- * "Scheme": "internal",
274
- * "SecurityGroups": [
267
+ * CanonicalHostedZoneId: "Z2P70J7EXAMPLE",
268
+ * CreatedTime: "2016-03-25T21:29:48.850Z",
269
+ * DNSName: "internal-my-internal-load-balancer-1529930873.us-west-2.elb.amazonaws.com",
270
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-internal-load-balancer/5b49b8d4303115c2",
271
+ * LoadBalancerName: "my-internal-load-balancer",
272
+ * Scheme: "internal",
273
+ * SecurityGroups: [
275
274
  * "sg-5943793c"
276
275
  * ],
277
- * "State": {
278
- * "Code": "provisioning"
276
+ * State: {
277
+ * Code: "provisioning"
279
278
  * },
280
- * "Type": "application",
281
- * "VpcId": "vpc-3ac0fb5f"
279
+ * Type: "application",
280
+ * VpcId: "vpc-3ac0fb5f"
282
281
  * }
283
282
  * ]
284
283
  * }
285
284
  * *\/
286
- * // example id: elbv2-create-load-balancer-2
287
285
  * ```
288
286
  *
287
+ * @public
289
288
  */
290
289
  export declare class CreateLoadBalancerCommand extends CreateLoadBalancerCommand_base {
291
290
  /** @internal type navigation helper, not in runtime. */
@@ -321,58 +321,58 @@ declare const CreateRuleCommand_base: {
321
321
  * @throws {@link ElasticLoadBalancingV2ServiceException}
322
322
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
323
323
  *
324
- * @public
324
+ *
325
325
  * @example To create a rule
326
326
  * ```javascript
327
327
  * // This example creates a rule that forwards requests to the specified target group if the URL contains the specified pattern (for example, /img/*).
328
328
  * const input = {
329
- * "Actions": [
329
+ * Actions: [
330
330
  * {
331
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
332
- * "Type": "forward"
331
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
332
+ * Type: "forward"
333
333
  * }
334
334
  * ],
335
- * "Conditions": [
335
+ * Conditions: [
336
336
  * {
337
- * "Field": "path-pattern",
338
- * "Values": [
337
+ * Field: "path-pattern",
338
+ * Values: [
339
339
  * "/img/*"
340
340
  * ]
341
341
  * }
342
342
  * ],
343
- * "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
344
- * "Priority": 10
343
+ * ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
344
+ * Priority: 10
345
345
  * };
346
346
  * const command = new CreateRuleCommand(input);
347
347
  * const response = await client.send(command);
348
- * /* response ==
348
+ * /* response is
349
349
  * {
350
- * "Rules": [
350
+ * Rules: [
351
351
  * {
352
- * "Actions": [
352
+ * Actions: [
353
353
  * {
354
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
355
- * "Type": "forward"
354
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
355
+ * Type: "forward"
356
356
  * }
357
357
  * ],
358
- * "Conditions": [
358
+ * Conditions: [
359
359
  * {
360
- * "Field": "path-pattern",
361
- * "Values": [
360
+ * Field: "path-pattern",
361
+ * Values: [
362
362
  * "/img/*"
363
363
  * ]
364
364
  * }
365
365
  * ],
366
- * "IsDefault": false,
367
- * "Priority": "10",
368
- * "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee"
366
+ * IsDefault: false,
367
+ * Priority: "10",
368
+ * RuleArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee"
369
369
  * }
370
370
  * ]
371
371
  * }
372
372
  * *\/
373
- * // example id: elbv2-create-rule-1
374
373
  * ```
375
374
  *
375
+ * @public
376
376
  */
377
377
  export declare class CreateRuleCommand extends CreateRuleCommand_base {
378
378
  /** @internal type navigation helper, not in runtime. */
@@ -140,44 +140,44 @@ declare const CreateTargetGroupCommand_base: {
140
140
  * @throws {@link ElasticLoadBalancingV2ServiceException}
141
141
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
142
142
  *
143
- * @public
143
+ *
144
144
  * @example To create a target group
145
145
  * ```javascript
146
146
  * // This example creates a target group that you can use to route traffic to targets using HTTP on port 80. This target group uses the default health check configuration.
147
147
  * const input = {
148
- * "Name": "my-targets",
149
- * "Port": 80,
150
- * "Protocol": "HTTP",
151
- * "VpcId": "vpc-3ac0fb5f"
148
+ * Name: "my-targets",
149
+ * Port: 80,
150
+ * Protocol: "HTTP",
151
+ * VpcId: "vpc-3ac0fb5f"
152
152
  * };
153
153
  * const command = new CreateTargetGroupCommand(input);
154
154
  * const response = await client.send(command);
155
- * /* response ==
155
+ * /* response is
156
156
  * {
157
- * "TargetGroups": [
157
+ * TargetGroups: [
158
158
  * {
159
- * "HealthCheckIntervalSeconds": 30,
160
- * "HealthCheckPath": "/",
161
- * "HealthCheckPort": "traffic-port",
162
- * "HealthCheckProtocol": "HTTP",
163
- * "HealthCheckTimeoutSeconds": 5,
164
- * "HealthyThresholdCount": 5,
165
- * "Matcher": {
166
- * "HttpCode": "200"
159
+ * HealthCheckIntervalSeconds: 30,
160
+ * HealthCheckPath: "/",
161
+ * HealthCheckPort: "traffic-port",
162
+ * HealthCheckProtocol: "HTTP",
163
+ * HealthCheckTimeoutSeconds: 5,
164
+ * HealthyThresholdCount: 5,
165
+ * Matcher: {
166
+ * HttpCode: "200"
167
167
  * },
168
- * "Port": 80,
169
- * "Protocol": "HTTP",
170
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
171
- * "TargetGroupName": "my-targets",
172
- * "UnhealthyThresholdCount": 2,
173
- * "VpcId": "vpc-3ac0fb5f"
168
+ * Port: 80,
169
+ * Protocol: "HTTP",
170
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
171
+ * TargetGroupName: "my-targets",
172
+ * UnhealthyThresholdCount: 2,
173
+ * VpcId: "vpc-3ac0fb5f"
174
174
  * }
175
175
  * ]
176
176
  * }
177
177
  * *\/
178
- * // example id: elbv2-create-target-group-1
179
178
  * ```
180
179
  *
180
+ * @public
181
181
  */
182
182
  export declare class CreateTargetGroupCommand extends CreateTargetGroupCommand_base {
183
183
  /** @internal type navigation helper, not in runtime. */
@@ -89,6 +89,7 @@ declare const CreateTrustStoreCommand_base: {
89
89
  * @throws {@link ElasticLoadBalancingV2ServiceException}
90
90
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
91
91
  *
92
+ *
92
93
  * @public
93
94
  */
94
95
  export declare class CreateTrustStoreCommand extends CreateTrustStoreCommand_base {