@aws-sdk/client-elastic-load-balancing 3.299.0 → 3.300.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.
- package/dist-types/commands/AddTagsCommand.d.ts +11 -0
- package/dist-types/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/AttachLoadBalancerToSubnetsCommand.d.ts +6 -0
- package/dist-types/commands/ConfigureHealthCheckCommand.d.ts +10 -0
- package/dist-types/commands/CreateAppCookieStickinessPolicyCommand.d.ts +5 -0
- package/dist-types/commands/CreateLBCookieStickinessPolicyCommand.d.ts +5 -0
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +28 -0
- package/dist-types/commands/CreateLoadBalancerListenersCommand.d.ts +12 -0
- package/dist-types/commands/CreateLoadBalancerPolicyCommand.d.ts +11 -0
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLoadBalancerListenersCommand.d.ts +6 -0
- package/dist-types/commands/DeleteLoadBalancerPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +8 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeInstanceHealthCommand.d.ts +8 -0
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLoadBalancerPoliciesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +7 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +5 -0
- package/dist-types/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +6 -0
- package/dist-types/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +27 -0
- package/dist-types/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +8 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +10 -0
- package/dist-types/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +5 -0
- package/dist-types/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +7 -0
- package/dist-types/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +7 -0
- package/package.json +8 -8
|
@@ -32,6 +32,17 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
32
32
|
* import { ElasticLoadBalancingClient, AddTagsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
33
33
|
* // const { ElasticLoadBalancingClient, AddTagsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
34
34
|
* const client = new ElasticLoadBalancingClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* LoadBalancerNames: [ // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* Tags: [ // required
|
|
40
|
+
* {
|
|
41
|
+
* Key: "STRING_VALUE", // required
|
|
42
|
+
* Value: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
35
46
|
* const command = new AddTagsCommand(input);
|
|
36
47
|
* const response = await client.send(command);
|
|
37
48
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ApplySecurityGroupsToLoadBalancerCommandOutput extends ApplySec
|
|
|
28
28
|
* import { ElasticLoadBalancingClient, ApplySecurityGroupsToLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
29
29
|
* // const { ElasticLoadBalancingClient, ApplySecurityGroupsToLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
30
30
|
* const client = new ElasticLoadBalancingClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
33
|
+
* SecurityGroups: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ApplySecurityGroupsToLoadBalancerCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface AttachLoadBalancerToSubnetsCommandOutput extends AttachLoadBala
|
|
|
29
29
|
* import { ElasticLoadBalancingClient, AttachLoadBalancerToSubnetsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
30
30
|
* // const { ElasticLoadBalancingClient, AttachLoadBalancerToSubnetsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
31
31
|
* const client = new ElasticLoadBalancingClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
34
|
+
* Subnets: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
32
38
|
* const command = new AttachLoadBalancerToSubnetsCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -28,6 +28,16 @@ export interface ConfigureHealthCheckCommandOutput extends ConfigureHealthCheckO
|
|
|
28
28
|
* import { ElasticLoadBalancingClient, ConfigureHealthCheckCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
29
29
|
* // const { ElasticLoadBalancingClient, ConfigureHealthCheckCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
30
30
|
* const client = new ElasticLoadBalancingClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
33
|
+
* HealthCheck: {
|
|
34
|
+
* Target: "STRING_VALUE", // required
|
|
35
|
+
* Interval: Number("int"), // required
|
|
36
|
+
* Timeout: Number("int"), // required
|
|
37
|
+
* UnhealthyThreshold: Number("int"), // required
|
|
38
|
+
* HealthyThreshold: Number("int"), // required
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
31
41
|
* const command = new ConfigureHealthCheckCommand(input);
|
|
32
42
|
* const response = await client.send(command);
|
|
33
43
|
* ```
|
|
@@ -34,6 +34,11 @@ export interface CreateAppCookieStickinessPolicyCommandOutput extends CreateAppC
|
|
|
34
34
|
* import { ElasticLoadBalancingClient, CreateAppCookieStickinessPolicyCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
35
35
|
* // const { ElasticLoadBalancingClient, CreateAppCookieStickinessPolicyCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
36
36
|
* const client = new ElasticLoadBalancingClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
39
|
+
* PolicyName: "STRING_VALUE", // required
|
|
40
|
+
* CookieName: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
37
42
|
* const command = new CreateAppCookieStickinessPolicyCommand(input);
|
|
38
43
|
* const response = await client.send(command);
|
|
39
44
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface CreateLBCookieStickinessPolicyCommandOutput extends CreateLBCoo
|
|
|
32
32
|
* import { ElasticLoadBalancingClient, CreateLBCookieStickinessPolicyCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
33
33
|
* // const { ElasticLoadBalancingClient, CreateLBCookieStickinessPolicyCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
34
34
|
* const client = new ElasticLoadBalancingClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
37
|
+
* PolicyName: "STRING_VALUE", // required
|
|
38
|
+
* CookieExpirationPeriod: Number("long"),
|
|
39
|
+
* };
|
|
35
40
|
* const command = new CreateLBCookieStickinessPolicyCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -39,6 +39,34 @@ export interface CreateLoadBalancerCommandOutput extends CreateAccessPointOutput
|
|
|
39
39
|
* import { ElasticLoadBalancingClient, CreateLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
40
40
|
* // const { ElasticLoadBalancingClient, CreateLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
41
41
|
* const client = new ElasticLoadBalancingClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
44
|
+
* Listeners: [ // required
|
|
45
|
+
* {
|
|
46
|
+
* Protocol: "STRING_VALUE", // required
|
|
47
|
+
* LoadBalancerPort: Number("int"), // required
|
|
48
|
+
* InstanceProtocol: "STRING_VALUE",
|
|
49
|
+
* InstancePort: Number("int"), // required
|
|
50
|
+
* SSLCertificateId: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* AvailabilityZones: [
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* Subnets: [
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* SecurityGroups: [
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* Scheme: "STRING_VALUE",
|
|
63
|
+
* Tags: [
|
|
64
|
+
* {
|
|
65
|
+
* Key: "STRING_VALUE", // required
|
|
66
|
+
* Value: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* };
|
|
42
70
|
* const command = new CreateLoadBalancerCommand(input);
|
|
43
71
|
* const response = await client.send(command);
|
|
44
72
|
* ```
|
|
@@ -28,6 +28,18 @@ export interface CreateLoadBalancerListenersCommandOutput extends CreateLoadBala
|
|
|
28
28
|
* import { ElasticLoadBalancingClient, CreateLoadBalancerListenersCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
29
29
|
* // const { ElasticLoadBalancingClient, CreateLoadBalancerListenersCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
30
30
|
* const client = new ElasticLoadBalancingClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
33
|
+
* Listeners: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* Protocol: "STRING_VALUE", // required
|
|
36
|
+
* LoadBalancerPort: Number("int"), // required
|
|
37
|
+
* InstanceProtocol: "STRING_VALUE",
|
|
38
|
+
* InstancePort: Number("int"), // required
|
|
39
|
+
* SSLCertificateId: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
31
43
|
* const command = new CreateLoadBalancerListenersCommand(input);
|
|
32
44
|
* const response = await client.send(command);
|
|
33
45
|
* ```
|
|
@@ -27,6 +27,17 @@ export interface CreateLoadBalancerPolicyCommandOutput extends CreateLoadBalance
|
|
|
27
27
|
* import { ElasticLoadBalancingClient, CreateLoadBalancerPolicyCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
28
28
|
* // const { ElasticLoadBalancingClient, CreateLoadBalancerPolicyCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
29
29
|
* const client = new ElasticLoadBalancingClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
32
|
+
* PolicyName: "STRING_VALUE", // required
|
|
33
|
+
* PolicyTypeName: "STRING_VALUE", // required
|
|
34
|
+
* PolicyAttributes: [
|
|
35
|
+
* {
|
|
36
|
+
* AttributeName: "STRING_VALUE",
|
|
37
|
+
* AttributeValue: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
30
41
|
* const command = new CreateLoadBalancerPolicyCommand(input);
|
|
31
42
|
* const response = await client.send(command);
|
|
32
43
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteLoadBalancerCommandOutput extends DeleteAccessPointOutput
|
|
|
29
29
|
* import { ElasticLoadBalancingClient, DeleteLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
30
30
|
* // const { ElasticLoadBalancingClient, DeleteLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
31
31
|
* const client = new ElasticLoadBalancingClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteLoadBalancerCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface DeleteLoadBalancerListenersCommandOutput extends DeleteLoadBala
|
|
|
26
26
|
* import { ElasticLoadBalancingClient, DeleteLoadBalancerListenersCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingClient, DeleteLoadBalancerListenersCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
31
|
+
* LoadBalancerPorts: [ // required
|
|
32
|
+
* Number("int"),
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new DeleteLoadBalancerListenersCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteLoadBalancerPolicyCommandOutput extends DeleteLoadBalance
|
|
|
26
26
|
* import { ElasticLoadBalancingClient, DeleteLoadBalancerPolicyCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingClient, DeleteLoadBalancerPolicyCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
31
|
+
* PolicyName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteLoadBalancerPolicyCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -31,6 +31,14 @@ export interface DeregisterInstancesFromLoadBalancerCommandOutput extends Deregi
|
|
|
31
31
|
* import { ElasticLoadBalancingClient, DeregisterInstancesFromLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
32
32
|
* // const { ElasticLoadBalancingClient, DeregisterInstancesFromLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
33
33
|
* const client = new ElasticLoadBalancingClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
36
|
+
* Instances: [ // required
|
|
37
|
+
* {
|
|
38
|
+
* InstanceId: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
34
42
|
* const command = new DeregisterInstancesFromLoadBalancerCommand(input);
|
|
35
43
|
* const response = await client.send(command);
|
|
36
44
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit
|
|
|
28
28
|
* import { ElasticLoadBalancingClient, DescribeAccountLimitsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
29
29
|
* // const { ElasticLoadBalancingClient, DescribeAccountLimitsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
30
30
|
* const client = new ElasticLoadBalancingClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Marker: "STRING_VALUE",
|
|
33
|
+
* PageSize: Number("int"),
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DescribeAccountLimitsCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface DescribeInstanceHealthCommandOutput extends DescribeEndPointSta
|
|
|
26
26
|
* import { ElasticLoadBalancingClient, DescribeInstanceHealthCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingClient, DescribeInstanceHealthCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
31
|
+
* Instances: [
|
|
32
|
+
* {
|
|
33
|
+
* InstanceId: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
29
37
|
* const command = new DescribeInstanceHealthCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeLoadBalancerAttributesCommandOutput extends DescribeLoa
|
|
|
26
26
|
* import { ElasticLoadBalancingClient, DescribeLoadBalancerAttributesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingClient, DescribeLoadBalancerAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeLoadBalancerAttributesCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,12 @@ export interface DescribeLoadBalancerPoliciesCommandOutput extends DescribeLoadB
|
|
|
30
30
|
* import { ElasticLoadBalancingClient, DescribeLoadBalancerPoliciesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
31
31
|
* // const { ElasticLoadBalancingClient, DescribeLoadBalancerPoliciesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
32
32
|
* const client = new ElasticLoadBalancingClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* LoadBalancerName: "STRING_VALUE",
|
|
35
|
+
* PolicyNames: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
33
39
|
* const command = new DescribeLoadBalancerPoliciesCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -33,6 +33,11 @@ export interface DescribeLoadBalancerPolicyTypesCommandOutput extends DescribeLo
|
|
|
33
33
|
* import { ElasticLoadBalancingClient, DescribeLoadBalancerPolicyTypesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
34
34
|
* // const { ElasticLoadBalancingClient, DescribeLoadBalancerPolicyTypesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
35
35
|
* const client = new ElasticLoadBalancingClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* PolicyTypeNames: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
36
41
|
* const command = new DescribeLoadBalancerPolicyTypesCommand(input);
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeAccessPoints
|
|
|
26
26
|
* import { ElasticLoadBalancingClient, DescribeLoadBalancersCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingClient, DescribeLoadBalancersCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LoadBalancerNames: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* Marker: "STRING_VALUE",
|
|
34
|
+
* PageSize: Number("int"),
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DescribeLoadBalancersCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __Metadat
|
|
|
26
26
|
* import { ElasticLoadBalancingClient, DescribeTagsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingClient, DescribeTagsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LoadBalancerNames: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeTagsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface DetachLoadBalancerFromSubnetsCommandOutput extends DetachLoadBa
|
|
|
29
29
|
* import { ElasticLoadBalancingClient, DetachLoadBalancerFromSubnetsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
30
30
|
* // const { ElasticLoadBalancingClient, DetachLoadBalancerFromSubnetsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
31
31
|
* const client = new ElasticLoadBalancingClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
34
|
+
* Subnets: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
32
38
|
* const command = new DetachLoadBalancerFromSubnetsCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -34,6 +34,12 @@ export interface DisableAvailabilityZonesForLoadBalancerCommandOutput extends Re
|
|
|
34
34
|
* import { ElasticLoadBalancingClient, DisableAvailabilityZonesForLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
35
35
|
* // const { ElasticLoadBalancingClient, DisableAvailabilityZonesForLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
36
36
|
* const client = new ElasticLoadBalancingClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
39
|
+
* AvailabilityZones: [ // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
37
43
|
* const command = new DisableAvailabilityZonesForLoadBalancerCommand(input);
|
|
38
44
|
* const response = await client.send(command);
|
|
39
45
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface EnableAvailabilityZonesForLoadBalancerCommandOutput extends Add
|
|
|
31
31
|
* import { ElasticLoadBalancingClient, EnableAvailabilityZonesForLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
32
32
|
* // const { ElasticLoadBalancingClient, EnableAvailabilityZonesForLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
33
33
|
* const client = new ElasticLoadBalancingClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
36
|
+
* AvailabilityZones: [ // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
34
40
|
* const command = new EnableAvailabilityZonesForLoadBalancerCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -52,6 +52,33 @@ export interface ModifyLoadBalancerAttributesCommandOutput extends ModifyLoadBal
|
|
|
52
52
|
* import { ElasticLoadBalancingClient, ModifyLoadBalancerAttributesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
53
53
|
* // const { ElasticLoadBalancingClient, ModifyLoadBalancerAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
54
54
|
* const client = new ElasticLoadBalancingClient(config);
|
|
55
|
+
* const input = {
|
|
56
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
57
|
+
* LoadBalancerAttributes: {
|
|
58
|
+
* CrossZoneLoadBalancing: {
|
|
59
|
+
* Enabled: true || false, // required
|
|
60
|
+
* },
|
|
61
|
+
* AccessLog: {
|
|
62
|
+
* Enabled: true || false, // required
|
|
63
|
+
* S3BucketName: "STRING_VALUE",
|
|
64
|
+
* EmitInterval: Number("int"),
|
|
65
|
+
* S3BucketPrefix: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* ConnectionDraining: {
|
|
68
|
+
* Enabled: true || false, // required
|
|
69
|
+
* Timeout: Number("int"),
|
|
70
|
+
* },
|
|
71
|
+
* ConnectionSettings: {
|
|
72
|
+
* IdleTimeout: Number("int"), // required
|
|
73
|
+
* },
|
|
74
|
+
* AdditionalAttributes: [
|
|
75
|
+
* {
|
|
76
|
+
* Key: "STRING_VALUE",
|
|
77
|
+
* Value: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* },
|
|
81
|
+
* };
|
|
55
82
|
* const command = new ModifyLoadBalancerAttributesCommand(input);
|
|
56
83
|
* const response = await client.send(command);
|
|
57
84
|
* ```
|
|
@@ -44,6 +44,14 @@ export interface RegisterInstancesWithLoadBalancerCommandOutput extends Register
|
|
|
44
44
|
* import { ElasticLoadBalancingClient, RegisterInstancesWithLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
45
45
|
* // const { ElasticLoadBalancingClient, RegisterInstancesWithLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
46
46
|
* const client = new ElasticLoadBalancingClient(config);
|
|
47
|
+
* const input = {
|
|
48
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
49
|
+
* Instances: [ // required
|
|
50
|
+
* {
|
|
51
|
+
* InstanceId: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* };
|
|
47
55
|
* const command = new RegisterInstancesWithLoadBalancerCommand(input);
|
|
48
56
|
* const response = await client.send(command);
|
|
49
57
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface RemoveTagsCommandOutput extends RemoveTagsOutput, __MetadataBea
|
|
|
26
26
|
* import { ElasticLoadBalancingClient, RemoveTagsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingClient, RemoveTagsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LoadBalancerNames: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* Tags: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* Key: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
29
39
|
* const command = new RemoveTagsCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface SetLoadBalancerListenerSSLCertificateCommandOutput extends SetL
|
|
|
30
30
|
* import { ElasticLoadBalancingClient, SetLoadBalancerListenerSSLCertificateCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
31
31
|
* // const { ElasticLoadBalancingClient, SetLoadBalancerListenerSSLCertificateCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
32
32
|
* const client = new ElasticLoadBalancingClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
35
|
+
* LoadBalancerPort: Number("int"), // required
|
|
36
|
+
* SSLCertificateId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
33
38
|
* const command = new SetLoadBalancerListenerSSLCertificateCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -36,6 +36,13 @@ export interface SetLoadBalancerPoliciesForBackendServerCommandOutput extends Se
|
|
|
36
36
|
* import { ElasticLoadBalancingClient, SetLoadBalancerPoliciesForBackendServerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
37
37
|
* // const { ElasticLoadBalancingClient, SetLoadBalancerPoliciesForBackendServerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
38
38
|
* const client = new ElasticLoadBalancingClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
41
|
+
* InstancePort: Number("int"), // required
|
|
42
|
+
* PolicyNames: [ // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
39
46
|
* const command = new SetLoadBalancerPoliciesForBackendServerCommand(input);
|
|
40
47
|
* const response = await client.send(command);
|
|
41
48
|
* ```
|
|
@@ -32,6 +32,13 @@ export interface SetLoadBalancerPoliciesOfListenerCommandOutput extends SetLoadB
|
|
|
32
32
|
* import { ElasticLoadBalancingClient, SetLoadBalancerPoliciesOfListenerCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
33
33
|
* // const { ElasticLoadBalancingClient, SetLoadBalancerPoliciesOfListenerCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
34
34
|
* const client = new ElasticLoadBalancingClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* LoadBalancerName: "STRING_VALUE", // required
|
|
37
|
+
* LoadBalancerPort: Number("int"), // required
|
|
38
|
+
* PolicyNames: [ // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
35
42
|
* const command = new SetLoadBalancerPoliciesOfListenerCommand(input);
|
|
36
43
|
* const response = await client.send(command);
|
|
37
44
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
57
57
|
"fast-xml-parser": "4.1.2",
|