@aws-sdk/client-elastic-load-balancing-v2 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/AddListenerCertificatesCommand.d.ts +9 -0
- package/dist-types/commands/AddTagsCommand.d.ts +11 -0
- package/dist-types/commands/CreateListenerCommand.d.ts +81 -0
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +27 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +112 -0
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +27 -0
- package/dist-types/commands/DeleteListenerCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTargetGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeregisterTargetsCommand.d.ts +10 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeListenersCommand.d.ts +8 -0
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +10 -0
- package/dist-types/commands/DescribeRulesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeTargetHealthCommand.d.ts +10 -0
- package/dist-types/commands/ModifyListenerCommand.d.ts +75 -0
- package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +9 -0
- package/dist-types/commands/ModifyRuleCommand.d.ts +105 -0
- package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +9 -0
- package/dist-types/commands/ModifyTargetGroupCommand.d.ts +15 -0
- package/dist-types/commands/RegisterTargetsCommand.d.ts +10 -0
- package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +9 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +8 -0
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +4 -0
- package/dist-types/commands/SetRulePrioritiesCommand.d.ts +8 -0
- package/dist-types/commands/SetSecurityGroupsCommand.d.ts +6 -0
- package/dist-types/commands/SetSubnetsCommand.d.ts +15 -0
- package/package.json +8 -8
|
@@ -32,6 +32,15 @@ export interface AddListenerCertificatesCommandOutput extends AddListenerCertifi
|
|
|
32
32
|
* import { ElasticLoadBalancingV2Client, AddListenerCertificatesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
33
33
|
* // const { ElasticLoadBalancingV2Client, AddListenerCertificatesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
34
34
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ListenerArn: "STRING_VALUE", // required
|
|
37
|
+
* Certificates: [ // required
|
|
38
|
+
* {
|
|
39
|
+
* CertificateArn: "STRING_VALUE",
|
|
40
|
+
* IsDefault: true || false,
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
35
44
|
* const command = new AddListenerCertificatesCommand(input);
|
|
36
45
|
* const response = await client.send(command);
|
|
37
46
|
* ```
|
|
@@ -30,6 +30,17 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
|
|
|
30
30
|
* import { ElasticLoadBalancingV2Client, AddTagsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
31
31
|
* // const { ElasticLoadBalancingV2Client, AddTagsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
32
32
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* ResourceArns: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* Tags: [ // required
|
|
38
|
+
* {
|
|
39
|
+
* Key: "STRING_VALUE", // required
|
|
40
|
+
* Value: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
33
44
|
* const command = new AddTagsCommand(input);
|
|
34
45
|
* const response = await client.send(command);
|
|
35
46
|
* ```
|
|
@@ -50,6 +50,87 @@ export interface CreateListenerCommandOutput extends CreateListenerOutput, __Met
|
|
|
50
50
|
* import { ElasticLoadBalancingV2Client, CreateListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
51
51
|
* // const { ElasticLoadBalancingV2Client, CreateListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
52
52
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
53
|
+
* const input = {
|
|
54
|
+
* LoadBalancerArn: "STRING_VALUE", // required
|
|
55
|
+
* Protocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
|
|
56
|
+
* Port: Number("int"),
|
|
57
|
+
* SslPolicy: "STRING_VALUE",
|
|
58
|
+
* Certificates: [
|
|
59
|
+
* {
|
|
60
|
+
* CertificateArn: "STRING_VALUE",
|
|
61
|
+
* IsDefault: true || false,
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* DefaultActions: [ // required
|
|
65
|
+
* {
|
|
66
|
+
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
67
|
+
* TargetGroupArn: "STRING_VALUE",
|
|
68
|
+
* AuthenticateOidcConfig: {
|
|
69
|
+
* Issuer: "STRING_VALUE", // required
|
|
70
|
+
* AuthorizationEndpoint: "STRING_VALUE", // required
|
|
71
|
+
* TokenEndpoint: "STRING_VALUE", // required
|
|
72
|
+
* UserInfoEndpoint: "STRING_VALUE", // required
|
|
73
|
+
* ClientId: "STRING_VALUE", // required
|
|
74
|
+
* ClientSecret: "STRING_VALUE",
|
|
75
|
+
* SessionCookieName: "STRING_VALUE",
|
|
76
|
+
* Scope: "STRING_VALUE",
|
|
77
|
+
* SessionTimeout: Number("long"),
|
|
78
|
+
* AuthenticationRequestExtraParams: {
|
|
79
|
+
* "<keys>": "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
82
|
+
* UseExistingClientSecret: true || false,
|
|
83
|
+
* },
|
|
84
|
+
* AuthenticateCognitoConfig: {
|
|
85
|
+
* UserPoolArn: "STRING_VALUE", // required
|
|
86
|
+
* UserPoolClientId: "STRING_VALUE", // required
|
|
87
|
+
* UserPoolDomain: "STRING_VALUE", // required
|
|
88
|
+
* SessionCookieName: "STRING_VALUE",
|
|
89
|
+
* Scope: "STRING_VALUE",
|
|
90
|
+
* SessionTimeout: Number("long"),
|
|
91
|
+
* AuthenticationRequestExtraParams: {
|
|
92
|
+
* "<keys>": "STRING_VALUE",
|
|
93
|
+
* },
|
|
94
|
+
* OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
95
|
+
* },
|
|
96
|
+
* Order: Number("int"),
|
|
97
|
+
* RedirectConfig: {
|
|
98
|
+
* Protocol: "STRING_VALUE",
|
|
99
|
+
* Port: "STRING_VALUE",
|
|
100
|
+
* Host: "STRING_VALUE",
|
|
101
|
+
* Path: "STRING_VALUE",
|
|
102
|
+
* Query: "STRING_VALUE",
|
|
103
|
+
* StatusCode: "HTTP_301" || "HTTP_302", // required
|
|
104
|
+
* },
|
|
105
|
+
* FixedResponseConfig: {
|
|
106
|
+
* MessageBody: "STRING_VALUE",
|
|
107
|
+
* StatusCode: "STRING_VALUE", // required
|
|
108
|
+
* ContentType: "STRING_VALUE",
|
|
109
|
+
* },
|
|
110
|
+
* ForwardConfig: {
|
|
111
|
+
* TargetGroups: [
|
|
112
|
+
* {
|
|
113
|
+
* TargetGroupArn: "STRING_VALUE",
|
|
114
|
+
* Weight: Number("int"),
|
|
115
|
+
* },
|
|
116
|
+
* ],
|
|
117
|
+
* TargetGroupStickinessConfig: {
|
|
118
|
+
* Enabled: true || false,
|
|
119
|
+
* DurationSeconds: Number("int"),
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* AlpnPolicy: [
|
|
125
|
+
* "STRING_VALUE",
|
|
126
|
+
* ],
|
|
127
|
+
* Tags: [
|
|
128
|
+
* {
|
|
129
|
+
* Key: "STRING_VALUE", // required
|
|
130
|
+
* Value: "STRING_VALUE",
|
|
131
|
+
* },
|
|
132
|
+
* ],
|
|
133
|
+
* };
|
|
53
134
|
* const command = new CreateListenerCommand(input);
|
|
54
135
|
* const response = await client.send(command);
|
|
55
136
|
* ```
|
|
@@ -49,6 +49,33 @@ export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerOutpu
|
|
|
49
49
|
* import { ElasticLoadBalancingV2Client, CreateLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
50
50
|
* // const { ElasticLoadBalancingV2Client, CreateLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
51
51
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* Name: "STRING_VALUE", // required
|
|
54
|
+
* Subnets: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* SubnetMappings: [
|
|
58
|
+
* {
|
|
59
|
+
* SubnetId: "STRING_VALUE",
|
|
60
|
+
* AllocationId: "STRING_VALUE",
|
|
61
|
+
* PrivateIPv4Address: "STRING_VALUE",
|
|
62
|
+
* IPv6Address: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* SecurityGroups: [
|
|
66
|
+
* "STRING_VALUE",
|
|
67
|
+
* ],
|
|
68
|
+
* Scheme: "internet-facing" || "internal",
|
|
69
|
+
* Tags: [
|
|
70
|
+
* {
|
|
71
|
+
* Key: "STRING_VALUE", // required
|
|
72
|
+
* Value: "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* ],
|
|
75
|
+
* Type: "application" || "network" || "gateway",
|
|
76
|
+
* IpAddressType: "ipv4" || "dualstack",
|
|
77
|
+
* CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
78
|
+
* };
|
|
52
79
|
* const command = new CreateLoadBalancerCommand(input);
|
|
53
80
|
* const response = await client.send(command);
|
|
54
81
|
* ```
|
|
@@ -31,6 +31,118 @@ export interface CreateRuleCommandOutput extends CreateRuleOutput, __MetadataBea
|
|
|
31
31
|
* import { ElasticLoadBalancingV2Client, CreateRuleCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
32
32
|
* // const { ElasticLoadBalancingV2Client, CreateRuleCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
33
33
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* ListenerArn: "STRING_VALUE", // required
|
|
36
|
+
* Conditions: [ // required
|
|
37
|
+
* {
|
|
38
|
+
* Field: "STRING_VALUE",
|
|
39
|
+
* Values: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* HostHeaderConfig: {
|
|
43
|
+
* Values: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* PathPatternConfig: {
|
|
48
|
+
* Values: [
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* HttpHeaderConfig: {
|
|
53
|
+
* HttpHeaderName: "STRING_VALUE",
|
|
54
|
+
* Values: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* QueryStringConfig: {
|
|
59
|
+
* Values: [
|
|
60
|
+
* {
|
|
61
|
+
* Key: "STRING_VALUE",
|
|
62
|
+
* Value: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* HttpRequestMethodConfig: {
|
|
67
|
+
* Values: [
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
71
|
+
* SourceIpConfig: {
|
|
72
|
+
* Values: [
|
|
73
|
+
* "STRING_VALUE",
|
|
74
|
+
* ],
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* Priority: Number("int"), // required
|
|
79
|
+
* Actions: [ // required
|
|
80
|
+
* {
|
|
81
|
+
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
82
|
+
* TargetGroupArn: "STRING_VALUE",
|
|
83
|
+
* AuthenticateOidcConfig: {
|
|
84
|
+
* Issuer: "STRING_VALUE", // required
|
|
85
|
+
* AuthorizationEndpoint: "STRING_VALUE", // required
|
|
86
|
+
* TokenEndpoint: "STRING_VALUE", // required
|
|
87
|
+
* UserInfoEndpoint: "STRING_VALUE", // required
|
|
88
|
+
* ClientId: "STRING_VALUE", // required
|
|
89
|
+
* ClientSecret: "STRING_VALUE",
|
|
90
|
+
* SessionCookieName: "STRING_VALUE",
|
|
91
|
+
* Scope: "STRING_VALUE",
|
|
92
|
+
* SessionTimeout: Number("long"),
|
|
93
|
+
* AuthenticationRequestExtraParams: {
|
|
94
|
+
* "<keys>": "STRING_VALUE",
|
|
95
|
+
* },
|
|
96
|
+
* OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
97
|
+
* UseExistingClientSecret: true || false,
|
|
98
|
+
* },
|
|
99
|
+
* AuthenticateCognitoConfig: {
|
|
100
|
+
* UserPoolArn: "STRING_VALUE", // required
|
|
101
|
+
* UserPoolClientId: "STRING_VALUE", // required
|
|
102
|
+
* UserPoolDomain: "STRING_VALUE", // required
|
|
103
|
+
* SessionCookieName: "STRING_VALUE",
|
|
104
|
+
* Scope: "STRING_VALUE",
|
|
105
|
+
* SessionTimeout: Number("long"),
|
|
106
|
+
* AuthenticationRequestExtraParams: {
|
|
107
|
+
* "<keys>": "STRING_VALUE",
|
|
108
|
+
* },
|
|
109
|
+
* OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
110
|
+
* },
|
|
111
|
+
* Order: Number("int"),
|
|
112
|
+
* RedirectConfig: {
|
|
113
|
+
* Protocol: "STRING_VALUE",
|
|
114
|
+
* Port: "STRING_VALUE",
|
|
115
|
+
* Host: "STRING_VALUE",
|
|
116
|
+
* Path: "STRING_VALUE",
|
|
117
|
+
* Query: "STRING_VALUE",
|
|
118
|
+
* StatusCode: "HTTP_301" || "HTTP_302", // required
|
|
119
|
+
* },
|
|
120
|
+
* FixedResponseConfig: {
|
|
121
|
+
* MessageBody: "STRING_VALUE",
|
|
122
|
+
* StatusCode: "STRING_VALUE", // required
|
|
123
|
+
* ContentType: "STRING_VALUE",
|
|
124
|
+
* },
|
|
125
|
+
* ForwardConfig: {
|
|
126
|
+
* TargetGroups: [
|
|
127
|
+
* {
|
|
128
|
+
* TargetGroupArn: "STRING_VALUE",
|
|
129
|
+
* Weight: Number("int"),
|
|
130
|
+
* },
|
|
131
|
+
* ],
|
|
132
|
+
* TargetGroupStickinessConfig: {
|
|
133
|
+
* Enabled: true || false,
|
|
134
|
+
* DurationSeconds: Number("int"),
|
|
135
|
+
* },
|
|
136
|
+
* },
|
|
137
|
+
* },
|
|
138
|
+
* ],
|
|
139
|
+
* Tags: [
|
|
140
|
+
* {
|
|
141
|
+
* Key: "STRING_VALUE", // required
|
|
142
|
+
* Value: "STRING_VALUE",
|
|
143
|
+
* },
|
|
144
|
+
* ],
|
|
145
|
+
* };
|
|
34
146
|
* const command = new CreateRuleCommand(input);
|
|
35
147
|
* const response = await client.send(command);
|
|
36
148
|
* ```
|
|
@@ -49,6 +49,33 @@ export interface CreateTargetGroupCommandOutput extends CreateTargetGroupOutput,
|
|
|
49
49
|
* import { ElasticLoadBalancingV2Client, CreateTargetGroupCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
50
50
|
* // const { ElasticLoadBalancingV2Client, CreateTargetGroupCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
51
51
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* Name: "STRING_VALUE", // required
|
|
54
|
+
* Protocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
|
|
55
|
+
* ProtocolVersion: "STRING_VALUE",
|
|
56
|
+
* Port: Number("int"),
|
|
57
|
+
* VpcId: "STRING_VALUE",
|
|
58
|
+
* HealthCheckProtocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
|
|
59
|
+
* HealthCheckPort: "STRING_VALUE",
|
|
60
|
+
* HealthCheckEnabled: true || false,
|
|
61
|
+
* HealthCheckPath: "STRING_VALUE",
|
|
62
|
+
* HealthCheckIntervalSeconds: Number("int"),
|
|
63
|
+
* HealthCheckTimeoutSeconds: Number("int"),
|
|
64
|
+
* HealthyThresholdCount: Number("int"),
|
|
65
|
+
* UnhealthyThresholdCount: Number("int"),
|
|
66
|
+
* Matcher: {
|
|
67
|
+
* HttpCode: "STRING_VALUE",
|
|
68
|
+
* GrpcCode: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* TargetType: "instance" || "ip" || "lambda" || "alb",
|
|
71
|
+
* Tags: [
|
|
72
|
+
* {
|
|
73
|
+
* Key: "STRING_VALUE", // required
|
|
74
|
+
* Value: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* IpAddressType: "ipv4" || "ipv6",
|
|
78
|
+
* };
|
|
52
79
|
* const command = new CreateTargetGroupCommand(input);
|
|
53
80
|
* const response = await client.send(command);
|
|
54
81
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteListenerCommandOutput extends DeleteListenerOutput, __Met
|
|
|
28
28
|
* import { ElasticLoadBalancingV2Client, DeleteListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
29
29
|
* // const { ElasticLoadBalancingV2Client, DeleteListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
30
30
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ListenerArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteListenerCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface DeleteLoadBalancerCommandOutput extends DeleteLoadBalancerOutpu
|
|
|
32
32
|
* import { ElasticLoadBalancingV2Client, DeleteLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
33
33
|
* // const { ElasticLoadBalancingV2Client, DeleteLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
34
34
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* LoadBalancerArn: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new DeleteLoadBalancerCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteRuleCommandOutput extends DeleteRuleOutput, __MetadataBea
|
|
|
27
27
|
* import { ElasticLoadBalancingV2Client, DeleteRuleCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
28
28
|
* // const { ElasticLoadBalancingV2Client, DeleteRuleCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
29
29
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* RuleArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteRuleCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteTargetGroupCommandOutput extends DeleteTargetGroupOutput,
|
|
|
30
30
|
* import { ElasticLoadBalancingV2Client, DeleteTargetGroupCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
31
31
|
* // const { ElasticLoadBalancingV2Client, DeleteTargetGroupCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
32
32
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* TargetGroupArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteTargetGroupCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface DeregisterTargetsCommandOutput extends DeregisterTargetsOutput,
|
|
|
27
27
|
* import { ElasticLoadBalancingV2Client, DeregisterTargetsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
28
28
|
* // const { ElasticLoadBalancingV2Client, DeregisterTargetsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
29
29
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* TargetGroupArn: "STRING_VALUE", // required
|
|
32
|
+
* Targets: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* Id: "STRING_VALUE", // required
|
|
35
|
+
* Port: Number("int"),
|
|
36
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
30
40
|
* const command = new DeregisterTargetsCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -48,6 +48,10 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit
|
|
|
48
48
|
* import { ElasticLoadBalancingV2Client, DescribeAccountLimitsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
49
49
|
* // const { ElasticLoadBalancingV2Client, DescribeAccountLimitsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
50
50
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
51
|
+
* const input = {
|
|
52
|
+
* Marker: "STRING_VALUE",
|
|
53
|
+
* PageSize: Number("int"),
|
|
54
|
+
* };
|
|
51
55
|
* const command = new DescribeAccountLimitsCommand(input);
|
|
52
56
|
* const response = await client.send(command);
|
|
53
57
|
* ```
|
|
@@ -33,6 +33,11 @@ export interface DescribeListenerCertificatesCommandOutput extends DescribeListe
|
|
|
33
33
|
* import { ElasticLoadBalancingV2Client, DescribeListenerCertificatesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
34
34
|
* // const { ElasticLoadBalancingV2Client, DescribeListenerCertificatesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
35
35
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* ListenerArn: "STRING_VALUE", // required
|
|
38
|
+
* Marker: "STRING_VALUE",
|
|
39
|
+
* PageSize: Number("int"),
|
|
40
|
+
* };
|
|
36
41
|
* const command = new DescribeListenerCertificatesCommand(input);
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface DescribeListenersCommandOutput extends DescribeListenersOutput,
|
|
|
28
28
|
* import { ElasticLoadBalancingV2Client, DescribeListenersCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
29
29
|
* // const { ElasticLoadBalancingV2Client, DescribeListenersCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
30
30
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* LoadBalancerArn: "STRING_VALUE",
|
|
33
|
+
* ListenerArns: [
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* Marker: "STRING_VALUE",
|
|
37
|
+
* PageSize: Number("int"),
|
|
38
|
+
* };
|
|
31
39
|
* const command = new DescribeListenersCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -48,6 +48,9 @@ export interface DescribeLoadBalancerAttributesCommandOutput extends DescribeLoa
|
|
|
48
48
|
* import { ElasticLoadBalancingV2Client, DescribeLoadBalancerAttributesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
49
49
|
* // const { ElasticLoadBalancingV2Client, DescribeLoadBalancerAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
50
50
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
51
|
+
* const input = {
|
|
52
|
+
* LoadBalancerArn: "STRING_VALUE", // required
|
|
53
|
+
* };
|
|
51
54
|
* const command = new DescribeLoadBalancerAttributesCommand(input);
|
|
52
55
|
* const response = await client.send(command);
|
|
53
56
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
26
26
|
* import { ElasticLoadBalancingV2Client, DescribeLoadBalancersCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingV2Client, DescribeLoadBalancersCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LoadBalancerArns: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* Names: [
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* Marker: "STRING_VALUE",
|
|
37
|
+
* PageSize: Number("int"),
|
|
38
|
+
* };
|
|
29
39
|
* const command = new DescribeLoadBalancersCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface DescribeRulesCommandOutput extends DescribeRulesOutput, __Metad
|
|
|
27
27
|
* import { ElasticLoadBalancingV2Client, DescribeRulesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
28
28
|
* // const { ElasticLoadBalancingV2Client, DescribeRulesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
29
29
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ListenerArn: "STRING_VALUE",
|
|
32
|
+
* RuleArns: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* Marker: "STRING_VALUE",
|
|
36
|
+
* PageSize: Number("int"),
|
|
37
|
+
* };
|
|
30
38
|
* const command = new DescribeRulesCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface DescribeSSLPoliciesCommandOutput extends DescribeSSLPoliciesOut
|
|
|
28
28
|
* import { ElasticLoadBalancingV2Client, DescribeSSLPoliciesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
29
29
|
* // const { ElasticLoadBalancingV2Client, DescribeSSLPoliciesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
30
30
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Names: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* Marker: "STRING_VALUE",
|
|
36
|
+
* PageSize: Number("int"),
|
|
37
|
+
* LoadBalancerType: "application" || "network" || "gateway",
|
|
38
|
+
* };
|
|
31
39
|
* const command = new DescribeSSLPoliciesCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __Metadat
|
|
|
28
28
|
* import { ElasticLoadBalancingV2Client, DescribeTagsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
29
29
|
* // const { ElasticLoadBalancingV2Client, DescribeTagsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
30
30
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceArns: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeTagsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -47,6 +47,9 @@ export interface DescribeTargetGroupAttributesCommandOutput extends DescribeTarg
|
|
|
47
47
|
* import { ElasticLoadBalancingV2Client, DescribeTargetGroupAttributesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
48
48
|
* // const { ElasticLoadBalancingV2Client, DescribeTargetGroupAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
49
49
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
50
|
+
* const input = {
|
|
51
|
+
* TargetGroupArn: "STRING_VALUE", // required
|
|
52
|
+
* };
|
|
50
53
|
* const command = new DescribeTargetGroupAttributesCommand(input);
|
|
51
54
|
* const response = await client.send(command);
|
|
52
55
|
* ```
|
|
@@ -29,6 +29,17 @@ export interface DescribeTargetGroupsCommandOutput extends DescribeTargetGroupsO
|
|
|
29
29
|
* import { ElasticLoadBalancingV2Client, DescribeTargetGroupsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
30
30
|
* // const { ElasticLoadBalancingV2Client, DescribeTargetGroupsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
31
31
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* LoadBalancerArn: "STRING_VALUE",
|
|
34
|
+
* TargetGroupArns: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* Names: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* Marker: "STRING_VALUE",
|
|
41
|
+
* PageSize: Number("int"),
|
|
42
|
+
* };
|
|
32
43
|
* const command = new DescribeTargetGroupsCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface DescribeTargetHealthCommandOutput extends DescribeTargetHealthO
|
|
|
26
26
|
* import { ElasticLoadBalancingV2Client, DescribeTargetHealthCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingV2Client, DescribeTargetHealthCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TargetGroupArn: "STRING_VALUE", // required
|
|
31
|
+
* Targets: [
|
|
32
|
+
* {
|
|
33
|
+
* Id: "STRING_VALUE", // required
|
|
34
|
+
* Port: Number("int"),
|
|
35
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
29
39
|
* const command = new DescribeTargetHealthCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -33,6 +33,81 @@ export interface ModifyListenerCommandOutput extends ModifyListenerOutput, __Met
|
|
|
33
33
|
* import { ElasticLoadBalancingV2Client, ModifyListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
34
34
|
* // const { ElasticLoadBalancingV2Client, ModifyListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
35
35
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* ListenerArn: "STRING_VALUE", // required
|
|
38
|
+
* Port: Number("int"),
|
|
39
|
+
* Protocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
|
|
40
|
+
* SslPolicy: "STRING_VALUE",
|
|
41
|
+
* Certificates: [
|
|
42
|
+
* {
|
|
43
|
+
* CertificateArn: "STRING_VALUE",
|
|
44
|
+
* IsDefault: true || false,
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* DefaultActions: [
|
|
48
|
+
* {
|
|
49
|
+
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
50
|
+
* TargetGroupArn: "STRING_VALUE",
|
|
51
|
+
* AuthenticateOidcConfig: {
|
|
52
|
+
* Issuer: "STRING_VALUE", // required
|
|
53
|
+
* AuthorizationEndpoint: "STRING_VALUE", // required
|
|
54
|
+
* TokenEndpoint: "STRING_VALUE", // required
|
|
55
|
+
* UserInfoEndpoint: "STRING_VALUE", // required
|
|
56
|
+
* ClientId: "STRING_VALUE", // required
|
|
57
|
+
* ClientSecret: "STRING_VALUE",
|
|
58
|
+
* SessionCookieName: "STRING_VALUE",
|
|
59
|
+
* Scope: "STRING_VALUE",
|
|
60
|
+
* SessionTimeout: Number("long"),
|
|
61
|
+
* AuthenticationRequestExtraParams: {
|
|
62
|
+
* "<keys>": "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
65
|
+
* UseExistingClientSecret: true || false,
|
|
66
|
+
* },
|
|
67
|
+
* AuthenticateCognitoConfig: {
|
|
68
|
+
* UserPoolArn: "STRING_VALUE", // required
|
|
69
|
+
* UserPoolClientId: "STRING_VALUE", // required
|
|
70
|
+
* UserPoolDomain: "STRING_VALUE", // required
|
|
71
|
+
* SessionCookieName: "STRING_VALUE",
|
|
72
|
+
* Scope: "STRING_VALUE",
|
|
73
|
+
* SessionTimeout: Number("long"),
|
|
74
|
+
* AuthenticationRequestExtraParams: {
|
|
75
|
+
* "<keys>": "STRING_VALUE",
|
|
76
|
+
* },
|
|
77
|
+
* OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
78
|
+
* },
|
|
79
|
+
* Order: Number("int"),
|
|
80
|
+
* RedirectConfig: {
|
|
81
|
+
* Protocol: "STRING_VALUE",
|
|
82
|
+
* Port: "STRING_VALUE",
|
|
83
|
+
* Host: "STRING_VALUE",
|
|
84
|
+
* Path: "STRING_VALUE",
|
|
85
|
+
* Query: "STRING_VALUE",
|
|
86
|
+
* StatusCode: "HTTP_301" || "HTTP_302", // required
|
|
87
|
+
* },
|
|
88
|
+
* FixedResponseConfig: {
|
|
89
|
+
* MessageBody: "STRING_VALUE",
|
|
90
|
+
* StatusCode: "STRING_VALUE", // required
|
|
91
|
+
* ContentType: "STRING_VALUE",
|
|
92
|
+
* },
|
|
93
|
+
* ForwardConfig: {
|
|
94
|
+
* TargetGroups: [
|
|
95
|
+
* {
|
|
96
|
+
* TargetGroupArn: "STRING_VALUE",
|
|
97
|
+
* Weight: Number("int"),
|
|
98
|
+
* },
|
|
99
|
+
* ],
|
|
100
|
+
* TargetGroupStickinessConfig: {
|
|
101
|
+
* Enabled: true || false,
|
|
102
|
+
* DurationSeconds: Number("int"),
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* AlpnPolicy: [
|
|
108
|
+
* "STRING_VALUE",
|
|
109
|
+
* ],
|
|
110
|
+
* };
|
|
36
111
|
* const command = new ModifyListenerCommand(input);
|
|
37
112
|
* const response = await client.send(command);
|
|
38
113
|
* ```
|
|
@@ -29,6 +29,15 @@ export interface ModifyLoadBalancerAttributesCommandOutput extends ModifyLoadBal
|
|
|
29
29
|
* import { ElasticLoadBalancingV2Client, ModifyLoadBalancerAttributesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
30
30
|
* // const { ElasticLoadBalancingV2Client, ModifyLoadBalancerAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
31
31
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* LoadBalancerArn: "STRING_VALUE", // required
|
|
34
|
+
* Attributes: [ // required
|
|
35
|
+
* {
|
|
36
|
+
* Key: "STRING_VALUE",
|
|
37
|
+
* Value: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
32
41
|
* const command = new ModifyLoadBalancerAttributesCommand(input);
|
|
33
42
|
* const response = await client.send(command);
|
|
34
43
|
* ```
|
|
@@ -30,6 +30,111 @@ export interface ModifyRuleCommandOutput extends ModifyRuleOutput, __MetadataBea
|
|
|
30
30
|
* import { ElasticLoadBalancingV2Client, ModifyRuleCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
31
31
|
* // const { ElasticLoadBalancingV2Client, ModifyRuleCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
32
32
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* RuleArn: "STRING_VALUE", // required
|
|
35
|
+
* Conditions: [
|
|
36
|
+
* {
|
|
37
|
+
* Field: "STRING_VALUE",
|
|
38
|
+
* Values: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* HostHeaderConfig: {
|
|
42
|
+
* Values: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* PathPatternConfig: {
|
|
47
|
+
* Values: [
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* HttpHeaderConfig: {
|
|
52
|
+
* HttpHeaderName: "STRING_VALUE",
|
|
53
|
+
* Values: [
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* QueryStringConfig: {
|
|
58
|
+
* Values: [
|
|
59
|
+
* {
|
|
60
|
+
* Key: "STRING_VALUE",
|
|
61
|
+
* Value: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* HttpRequestMethodConfig: {
|
|
66
|
+
* Values: [
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* },
|
|
70
|
+
* SourceIpConfig: {
|
|
71
|
+
* Values: [
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* Actions: [
|
|
78
|
+
* {
|
|
79
|
+
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
80
|
+
* TargetGroupArn: "STRING_VALUE",
|
|
81
|
+
* AuthenticateOidcConfig: {
|
|
82
|
+
* Issuer: "STRING_VALUE", // required
|
|
83
|
+
* AuthorizationEndpoint: "STRING_VALUE", // required
|
|
84
|
+
* TokenEndpoint: "STRING_VALUE", // required
|
|
85
|
+
* UserInfoEndpoint: "STRING_VALUE", // required
|
|
86
|
+
* ClientId: "STRING_VALUE", // required
|
|
87
|
+
* ClientSecret: "STRING_VALUE",
|
|
88
|
+
* SessionCookieName: "STRING_VALUE",
|
|
89
|
+
* Scope: "STRING_VALUE",
|
|
90
|
+
* SessionTimeout: Number("long"),
|
|
91
|
+
* AuthenticationRequestExtraParams: {
|
|
92
|
+
* "<keys>": "STRING_VALUE",
|
|
93
|
+
* },
|
|
94
|
+
* OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
95
|
+
* UseExistingClientSecret: true || false,
|
|
96
|
+
* },
|
|
97
|
+
* AuthenticateCognitoConfig: {
|
|
98
|
+
* UserPoolArn: "STRING_VALUE", // required
|
|
99
|
+
* UserPoolClientId: "STRING_VALUE", // required
|
|
100
|
+
* UserPoolDomain: "STRING_VALUE", // required
|
|
101
|
+
* SessionCookieName: "STRING_VALUE",
|
|
102
|
+
* Scope: "STRING_VALUE",
|
|
103
|
+
* SessionTimeout: Number("long"),
|
|
104
|
+
* AuthenticationRequestExtraParams: {
|
|
105
|
+
* "<keys>": "STRING_VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
108
|
+
* },
|
|
109
|
+
* Order: Number("int"),
|
|
110
|
+
* RedirectConfig: {
|
|
111
|
+
* Protocol: "STRING_VALUE",
|
|
112
|
+
* Port: "STRING_VALUE",
|
|
113
|
+
* Host: "STRING_VALUE",
|
|
114
|
+
* Path: "STRING_VALUE",
|
|
115
|
+
* Query: "STRING_VALUE",
|
|
116
|
+
* StatusCode: "HTTP_301" || "HTTP_302", // required
|
|
117
|
+
* },
|
|
118
|
+
* FixedResponseConfig: {
|
|
119
|
+
* MessageBody: "STRING_VALUE",
|
|
120
|
+
* StatusCode: "STRING_VALUE", // required
|
|
121
|
+
* ContentType: "STRING_VALUE",
|
|
122
|
+
* },
|
|
123
|
+
* ForwardConfig: {
|
|
124
|
+
* TargetGroups: [
|
|
125
|
+
* {
|
|
126
|
+
* TargetGroupArn: "STRING_VALUE",
|
|
127
|
+
* Weight: Number("int"),
|
|
128
|
+
* },
|
|
129
|
+
* ],
|
|
130
|
+
* TargetGroupStickinessConfig: {
|
|
131
|
+
* Enabled: true || false,
|
|
132
|
+
* DurationSeconds: Number("int"),
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* ],
|
|
137
|
+
* };
|
|
33
138
|
* const command = new ModifyRuleCommand(input);
|
|
34
139
|
* const response = await client.send(command);
|
|
35
140
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface ModifyTargetGroupAttributesCommandOutput extends ModifyTargetGr
|
|
|
26
26
|
* import { ElasticLoadBalancingV2Client, ModifyTargetGroupAttributesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingV2Client, ModifyTargetGroupAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TargetGroupArn: "STRING_VALUE", // required
|
|
31
|
+
* Attributes: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* Key: "STRING_VALUE",
|
|
34
|
+
* Value: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new ModifyTargetGroupAttributesCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -27,6 +27,21 @@ export interface ModifyTargetGroupCommandOutput extends ModifyTargetGroupOutput,
|
|
|
27
27
|
* import { ElasticLoadBalancingV2Client, ModifyTargetGroupCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
28
28
|
* // const { ElasticLoadBalancingV2Client, ModifyTargetGroupCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
29
29
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* TargetGroupArn: "STRING_VALUE", // required
|
|
32
|
+
* HealthCheckProtocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
|
|
33
|
+
* HealthCheckPort: "STRING_VALUE",
|
|
34
|
+
* HealthCheckPath: "STRING_VALUE",
|
|
35
|
+
* HealthCheckEnabled: true || false,
|
|
36
|
+
* HealthCheckIntervalSeconds: Number("int"),
|
|
37
|
+
* HealthCheckTimeoutSeconds: Number("int"),
|
|
38
|
+
* HealthyThresholdCount: Number("int"),
|
|
39
|
+
* UnhealthyThresholdCount: Number("int"),
|
|
40
|
+
* Matcher: {
|
|
41
|
+
* HttpCode: "STRING_VALUE",
|
|
42
|
+
* GrpcCode: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
30
45
|
* const command = new ModifyTargetGroupCommand(input);
|
|
31
46
|
* const response = await client.send(command);
|
|
32
47
|
* ```
|
|
@@ -35,6 +35,16 @@ export interface RegisterTargetsCommandOutput extends RegisterTargetsOutput, __M
|
|
|
35
35
|
* import { ElasticLoadBalancingV2Client, RegisterTargetsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
36
36
|
* // const { ElasticLoadBalancingV2Client, RegisterTargetsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
37
37
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* TargetGroupArn: "STRING_VALUE", // required
|
|
40
|
+
* Targets: [ // required
|
|
41
|
+
* {
|
|
42
|
+
* Id: "STRING_VALUE", // required
|
|
43
|
+
* Port: Number("int"),
|
|
44
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
38
48
|
* const command = new RegisterTargetsCommand(input);
|
|
39
49
|
* const response = await client.send(command);
|
|
40
50
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface RemoveListenerCertificatesCommandOutput extends RemoveListenerC
|
|
|
27
27
|
* import { ElasticLoadBalancingV2Client, RemoveListenerCertificatesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
28
28
|
* // const { ElasticLoadBalancingV2Client, RemoveListenerCertificatesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
29
29
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ListenerArn: "STRING_VALUE", // required
|
|
32
|
+
* Certificates: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* CertificateArn: "STRING_VALUE",
|
|
35
|
+
* IsDefault: true || false,
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
30
39
|
* const command = new RemoveListenerCertificatesCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface RemoveTagsCommandOutput extends RemoveTagsOutput, __MetadataBea
|
|
|
28
28
|
* import { ElasticLoadBalancingV2Client, RemoveTagsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
29
29
|
* // const { ElasticLoadBalancingV2Client, RemoveTagsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
30
30
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceArns: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* TagKeys: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
31
39
|
* const command = new RemoveTagsCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface SetIpAddressTypeCommandOutput extends SetIpAddressTypeOutput, _
|
|
|
26
26
|
* import { ElasticLoadBalancingV2Client, SetIpAddressTypeCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
27
27
|
* // const { ElasticLoadBalancingV2Client, SetIpAddressTypeCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
28
28
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LoadBalancerArn: "STRING_VALUE", // required
|
|
31
|
+
* IpAddressType: "ipv4" || "dualstack", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new SetIpAddressTypeCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface SetRulePrioritiesCommandOutput extends SetRulePrioritiesOutput,
|
|
|
28
28
|
* import { ElasticLoadBalancingV2Client, SetRulePrioritiesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
29
29
|
* // const { ElasticLoadBalancingV2Client, SetRulePrioritiesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
30
30
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* RulePriorities: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* RuleArn: "STRING_VALUE",
|
|
35
|
+
* Priority: Number("int"),
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
31
39
|
* const command = new SetRulePrioritiesCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface SetSecurityGroupsCommandOutput extends SetSecurityGroupsOutput,
|
|
|
29
29
|
* import { ElasticLoadBalancingV2Client, SetSecurityGroupsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
30
30
|
* // const { ElasticLoadBalancingV2Client, SetSecurityGroupsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
31
31
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* LoadBalancerArn: "STRING_VALUE", // required
|
|
34
|
+
* SecurityGroups: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
32
38
|
* const command = new SetSecurityGroupsCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -31,6 +31,21 @@ export interface SetSubnetsCommandOutput extends SetSubnetsOutput, __MetadataBea
|
|
|
31
31
|
* import { ElasticLoadBalancingV2Client, SetSubnetsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
32
32
|
* // const { ElasticLoadBalancingV2Client, SetSubnetsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
33
33
|
* const client = new ElasticLoadBalancingV2Client(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* LoadBalancerArn: "STRING_VALUE", // required
|
|
36
|
+
* Subnets: [
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* SubnetMappings: [
|
|
40
|
+
* {
|
|
41
|
+
* SubnetId: "STRING_VALUE",
|
|
42
|
+
* AllocationId: "STRING_VALUE",
|
|
43
|
+
* PrivateIPv4Address: "STRING_VALUE",
|
|
44
|
+
* IPv6Address: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* IpAddressType: "ipv4" || "dualstack",
|
|
48
|
+
* };
|
|
34
49
|
* const command = new SetSubnetsCommand(input);
|
|
35
50
|
* const response = await client.send(command);
|
|
36
51
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing V2 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",
|