@aws-sdk/client-elastic-load-balancing-v2 3.321.1 → 3.326.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 +11 -0
- package/dist-types/commands/AddTagsCommand.d.ts +4 -0
- package/dist-types/commands/CreateListenerCommand.d.ts +83 -0
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +41 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +112 -0
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +32 -0
- package/dist-types/commands/DeleteListenerCommand.d.ts +4 -0
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTargetGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterTargetsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +12 -0
- package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +12 -0
- package/dist-types/commands/DescribeListenersCommand.d.ts +84 -0
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +11 -0
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +42 -0
- package/dist-types/commands/DescribeRulesCommand.d.ts +113 -0
- package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +23 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +11 -0
- package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +33 -0
- package/dist-types/commands/DescribeTargetHealthCommand.d.ts +20 -0
- package/dist-types/commands/ModifyListenerCommand.d.ts +83 -0
- package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +11 -0
- package/dist-types/commands/ModifyRuleCommand.d.ts +112 -0
- package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +11 -0
- package/dist-types/commands/ModifyTargetGroupCommand.d.ts +32 -0
- package/dist-types/commands/RegisterTargetsCommand.d.ts +4 -0
- package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +4 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +4 -0
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +6 -0
- package/dist-types/commands/SetRulePrioritiesCommand.d.ts +112 -0
- package/dist-types/commands/SetSecurityGroupsCommand.d.ts +8 -0
- package/dist-types/commands/SetSubnetsCommand.d.ts +21 -0
- package/package.json +16 -16
|
@@ -38,6 +38,46 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new DescribeLoadBalancersCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeLoadBalancersOutput
|
|
42
|
+
* // LoadBalancers: [ // LoadBalancers
|
|
43
|
+
* // { // LoadBalancer
|
|
44
|
+
* // LoadBalancerArn: "STRING_VALUE",
|
|
45
|
+
* // DNSName: "STRING_VALUE",
|
|
46
|
+
* // CanonicalHostedZoneId: "STRING_VALUE",
|
|
47
|
+
* // CreatedTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // LoadBalancerName: "STRING_VALUE",
|
|
49
|
+
* // Scheme: "internet-facing" || "internal",
|
|
50
|
+
* // VpcId: "STRING_VALUE",
|
|
51
|
+
* // State: { // LoadBalancerState
|
|
52
|
+
* // Code: "active" || "provisioning" || "active_impaired" || "failed",
|
|
53
|
+
* // Reason: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // Type: "application" || "network" || "gateway",
|
|
56
|
+
* // AvailabilityZones: [ // AvailabilityZones
|
|
57
|
+
* // { // AvailabilityZone
|
|
58
|
+
* // ZoneName: "STRING_VALUE",
|
|
59
|
+
* // SubnetId: "STRING_VALUE",
|
|
60
|
+
* // OutpostId: "STRING_VALUE",
|
|
61
|
+
* // LoadBalancerAddresses: [ // LoadBalancerAddresses
|
|
62
|
+
* // { // LoadBalancerAddress
|
|
63
|
+
* // IpAddress: "STRING_VALUE",
|
|
64
|
+
* // AllocationId: "STRING_VALUE",
|
|
65
|
+
* // PrivateIPv4Address: "STRING_VALUE",
|
|
66
|
+
* // IPv6Address: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // SecurityGroups: [ // SecurityGroups
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // IpAddressType: "ipv4" || "dualstack",
|
|
75
|
+
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // NextMarker: "STRING_VALUE",
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
41
81
|
* ```
|
|
42
82
|
*
|
|
43
83
|
* @param DescribeLoadBalancersCommandInput - {@link DescribeLoadBalancersCommandInput}
|
|
@@ -49,6 +89,8 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
49
89
|
* @throws {@link LoadBalancerNotFoundException} (client fault)
|
|
50
90
|
* <p>The specified load balancer does not exist.</p>
|
|
51
91
|
*
|
|
92
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
52
94
|
*
|
|
53
95
|
* @example To describe a load balancer
|
|
54
96
|
* ```javascript
|
|
@@ -37,6 +37,117 @@ export interface DescribeRulesCommandOutput extends DescribeRulesOutput, __Metad
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new DescribeRulesCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // DescribeRulesOutput
|
|
41
|
+
* // Rules: [ // Rules
|
|
42
|
+
* // { // Rule
|
|
43
|
+
* // RuleArn: "STRING_VALUE",
|
|
44
|
+
* // Priority: "STRING_VALUE",
|
|
45
|
+
* // Conditions: [ // RuleConditionList
|
|
46
|
+
* // { // RuleCondition
|
|
47
|
+
* // Field: "STRING_VALUE",
|
|
48
|
+
* // Values: [ // ListOfString
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // HostHeaderConfig: { // HostHeaderConditionConfig
|
|
52
|
+
* // Values: [
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // PathPatternConfig: { // PathPatternConditionConfig
|
|
57
|
+
* // Values: [
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // HttpHeaderConfig: { // HttpHeaderConditionConfig
|
|
62
|
+
* // HttpHeaderName: "STRING_VALUE",
|
|
63
|
+
* // Values: [
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // },
|
|
67
|
+
* // QueryStringConfig: { // QueryStringConditionConfig
|
|
68
|
+
* // Values: [ // QueryStringKeyValuePairList
|
|
69
|
+
* // { // QueryStringKeyValuePair
|
|
70
|
+
* // Key: "STRING_VALUE",
|
|
71
|
+
* // Value: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // HttpRequestMethodConfig: { // HttpRequestMethodConditionConfig
|
|
76
|
+
* // Values: [
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // SourceIpConfig: { // SourceIpConditionConfig
|
|
81
|
+
* // Values: "<ListOfString>",
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // Actions: [ // Actions
|
|
86
|
+
* // { // Action
|
|
87
|
+
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
88
|
+
* // TargetGroupArn: "STRING_VALUE",
|
|
89
|
+
* // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
90
|
+
* // Issuer: "STRING_VALUE", // required
|
|
91
|
+
* // AuthorizationEndpoint: "STRING_VALUE", // required
|
|
92
|
+
* // TokenEndpoint: "STRING_VALUE", // required
|
|
93
|
+
* // UserInfoEndpoint: "STRING_VALUE", // required
|
|
94
|
+
* // ClientId: "STRING_VALUE", // required
|
|
95
|
+
* // ClientSecret: "STRING_VALUE",
|
|
96
|
+
* // SessionCookieName: "STRING_VALUE",
|
|
97
|
+
* // Scope: "STRING_VALUE",
|
|
98
|
+
* // SessionTimeout: Number("long"),
|
|
99
|
+
* // AuthenticationRequestExtraParams: { // AuthenticateOidcActionAuthenticationRequestExtraParams
|
|
100
|
+
* // "<keys>": "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
103
|
+
* // UseExistingClientSecret: true || false,
|
|
104
|
+
* // },
|
|
105
|
+
* // AuthenticateCognitoConfig: { // AuthenticateCognitoActionConfig
|
|
106
|
+
* // UserPoolArn: "STRING_VALUE", // required
|
|
107
|
+
* // UserPoolClientId: "STRING_VALUE", // required
|
|
108
|
+
* // UserPoolDomain: "STRING_VALUE", // required
|
|
109
|
+
* // SessionCookieName: "STRING_VALUE",
|
|
110
|
+
* // Scope: "STRING_VALUE",
|
|
111
|
+
* // SessionTimeout: Number("long"),
|
|
112
|
+
* // AuthenticationRequestExtraParams: { // AuthenticateCognitoActionAuthenticationRequestExtraParams
|
|
113
|
+
* // "<keys>": "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
116
|
+
* // },
|
|
117
|
+
* // Order: Number("int"),
|
|
118
|
+
* // RedirectConfig: { // RedirectActionConfig
|
|
119
|
+
* // Protocol: "STRING_VALUE",
|
|
120
|
+
* // Port: "STRING_VALUE",
|
|
121
|
+
* // Host: "STRING_VALUE",
|
|
122
|
+
* // Path: "STRING_VALUE",
|
|
123
|
+
* // Query: "STRING_VALUE",
|
|
124
|
+
* // StatusCode: "HTTP_301" || "HTTP_302", // required
|
|
125
|
+
* // },
|
|
126
|
+
* // FixedResponseConfig: { // FixedResponseActionConfig
|
|
127
|
+
* // MessageBody: "STRING_VALUE",
|
|
128
|
+
* // StatusCode: "STRING_VALUE", // required
|
|
129
|
+
* // ContentType: "STRING_VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // ForwardConfig: { // ForwardActionConfig
|
|
132
|
+
* // TargetGroups: [ // TargetGroupList
|
|
133
|
+
* // { // TargetGroupTuple
|
|
134
|
+
* // TargetGroupArn: "STRING_VALUE",
|
|
135
|
+
* // Weight: Number("int"),
|
|
136
|
+
* // },
|
|
137
|
+
* // ],
|
|
138
|
+
* // TargetGroupStickinessConfig: { // TargetGroupStickinessConfig
|
|
139
|
+
* // Enabled: true || false,
|
|
140
|
+
* // DurationSeconds: Number("int"),
|
|
141
|
+
* // },
|
|
142
|
+
* // },
|
|
143
|
+
* // },
|
|
144
|
+
* // ],
|
|
145
|
+
* // IsDefault: true || false,
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // NextMarker: "STRING_VALUE",
|
|
149
|
+
* // };
|
|
150
|
+
*
|
|
40
151
|
* ```
|
|
41
152
|
*
|
|
42
153
|
* @param DescribeRulesCommandInput - {@link DescribeRulesCommandInput}
|
|
@@ -54,6 +165,8 @@ export interface DescribeRulesCommandOutput extends DescribeRulesOutput, __Metad
|
|
|
54
165
|
* @throws {@link UnsupportedProtocolException} (client fault)
|
|
55
166
|
* <p>The specified protocol is not supported.</p>
|
|
56
167
|
*
|
|
168
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
169
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
57
170
|
*
|
|
58
171
|
* @example To describe a rule
|
|
59
172
|
* ```javascript
|
|
@@ -38,6 +38,27 @@ export interface DescribeSSLPoliciesCommandOutput extends DescribeSSLPoliciesOut
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new DescribeSSLPoliciesCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeSSLPoliciesOutput
|
|
42
|
+
* // SslPolicies: [ // SslPolicies
|
|
43
|
+
* // { // SslPolicy
|
|
44
|
+
* // SslProtocols: [ // SslProtocols
|
|
45
|
+
* // "STRING_VALUE",
|
|
46
|
+
* // ],
|
|
47
|
+
* // Ciphers: [ // Ciphers
|
|
48
|
+
* // { // Cipher
|
|
49
|
+
* // Name: "STRING_VALUE",
|
|
50
|
+
* // Priority: Number("int"),
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // Name: "STRING_VALUE",
|
|
54
|
+
* // SupportedLoadBalancerTypes: [ // ListOfString
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // NextMarker: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
41
62
|
* ```
|
|
42
63
|
*
|
|
43
64
|
* @param DescribeSSLPoliciesCommandInput - {@link DescribeSSLPoliciesCommandInput}
|
|
@@ -49,6 +70,8 @@ export interface DescribeSSLPoliciesCommandOutput extends DescribeSSLPoliciesOut
|
|
|
49
70
|
* @throws {@link SSLPolicyNotFoundException} (client fault)
|
|
50
71
|
* <p>The specified SSL policy does not exist.</p>
|
|
51
72
|
*
|
|
73
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
52
75
|
*
|
|
53
76
|
* @example To describe a policy used for SSL negotiation
|
|
54
77
|
* ```javascript
|
|
@@ -35,6 +35,20 @@ export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __Metadat
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DescribeTagsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribeTagsOutput
|
|
39
|
+
* // TagDescriptions: [ // TagDescriptions
|
|
40
|
+
* // { // TagDescription
|
|
41
|
+
* // ResourceArn: "STRING_VALUE",
|
|
42
|
+
* // Tags: [ // TagList
|
|
43
|
+
* // { // Tag
|
|
44
|
+
* // Key: "STRING_VALUE", // required
|
|
45
|
+
* // Value: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
38
52
|
* ```
|
|
39
53
|
*
|
|
40
54
|
* @param DescribeTagsCommandInput - {@link DescribeTagsCommandInput}
|
|
@@ -55,6 +69,8 @@ export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __Metadat
|
|
|
55
69
|
* @throws {@link TargetGroupNotFoundException} (client fault)
|
|
56
70
|
* <p>The specified target group does not exist.</p>
|
|
57
71
|
*
|
|
72
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
58
74
|
*
|
|
59
75
|
* @example To describe the tags assigned to a load balancer
|
|
60
76
|
* ```javascript
|
|
@@ -52,6 +52,15 @@ export interface DescribeTargetGroupAttributesCommandOutput extends DescribeTarg
|
|
|
52
52
|
* };
|
|
53
53
|
* const command = new DescribeTargetGroupAttributesCommand(input);
|
|
54
54
|
* const response = await client.send(command);
|
|
55
|
+
* // { // DescribeTargetGroupAttributesOutput
|
|
56
|
+
* // Attributes: [ // TargetGroupAttributes
|
|
57
|
+
* // { // TargetGroupAttribute
|
|
58
|
+
* // Key: "STRING_VALUE",
|
|
59
|
+
* // Value: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
55
64
|
* ```
|
|
56
65
|
*
|
|
57
66
|
* @param DescribeTargetGroupAttributesCommandInput - {@link DescribeTargetGroupAttributesCommandInput}
|
|
@@ -63,6 +72,8 @@ export interface DescribeTargetGroupAttributesCommandOutput extends DescribeTarg
|
|
|
63
72
|
* @throws {@link TargetGroupNotFoundException} (client fault)
|
|
64
73
|
* <p>The specified target group does not exist.</p>
|
|
65
74
|
*
|
|
75
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
66
77
|
*
|
|
67
78
|
* @example To describe target group attributes
|
|
68
79
|
* ```javascript
|
|
@@ -42,6 +42,37 @@ export interface DescribeTargetGroupsCommandOutput extends DescribeTargetGroupsO
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new DescribeTargetGroupsCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // DescribeTargetGroupsOutput
|
|
46
|
+
* // TargetGroups: [ // TargetGroups
|
|
47
|
+
* // { // TargetGroup
|
|
48
|
+
* // TargetGroupArn: "STRING_VALUE",
|
|
49
|
+
* // TargetGroupName: "STRING_VALUE",
|
|
50
|
+
* // Protocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
|
|
51
|
+
* // Port: Number("int"),
|
|
52
|
+
* // VpcId: "STRING_VALUE",
|
|
53
|
+
* // HealthCheckProtocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
|
|
54
|
+
* // HealthCheckPort: "STRING_VALUE",
|
|
55
|
+
* // HealthCheckEnabled: true || false,
|
|
56
|
+
* // HealthCheckIntervalSeconds: Number("int"),
|
|
57
|
+
* // HealthCheckTimeoutSeconds: Number("int"),
|
|
58
|
+
* // HealthyThresholdCount: Number("int"),
|
|
59
|
+
* // UnhealthyThresholdCount: Number("int"),
|
|
60
|
+
* // HealthCheckPath: "STRING_VALUE",
|
|
61
|
+
* // Matcher: { // Matcher
|
|
62
|
+
* // HttpCode: "STRING_VALUE",
|
|
63
|
+
* // GrpcCode: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // LoadBalancerArns: [ // LoadBalancerArns
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // TargetType: "instance" || "ip" || "lambda" || "alb",
|
|
69
|
+
* // ProtocolVersion: "STRING_VALUE",
|
|
70
|
+
* // IpAddressType: "ipv4" || "ipv6",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // NextMarker: "STRING_VALUE",
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
45
76
|
* ```
|
|
46
77
|
*
|
|
47
78
|
* @param DescribeTargetGroupsCommandInput - {@link DescribeTargetGroupsCommandInput}
|
|
@@ -56,6 +87,8 @@ export interface DescribeTargetGroupsCommandOutput extends DescribeTargetGroupsO
|
|
|
56
87
|
* @throws {@link TargetGroupNotFoundException} (client fault)
|
|
57
88
|
* <p>The specified target group does not exist.</p>
|
|
58
89
|
*
|
|
90
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
59
92
|
*
|
|
60
93
|
* @example To describe a target group
|
|
61
94
|
* ```javascript
|
|
@@ -38,6 +38,24 @@ export interface DescribeTargetHealthCommandOutput extends DescribeTargetHealthO
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new DescribeTargetHealthCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeTargetHealthOutput
|
|
42
|
+
* // TargetHealthDescriptions: [ // TargetHealthDescriptions
|
|
43
|
+
* // { // TargetHealthDescription
|
|
44
|
+
* // Target: { // TargetDescription
|
|
45
|
+
* // Id: "STRING_VALUE", // required
|
|
46
|
+
* // Port: Number("int"),
|
|
47
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // HealthCheckPort: "STRING_VALUE",
|
|
50
|
+
* // TargetHealth: { // TargetHealth
|
|
51
|
+
* // State: "initial" || "healthy" || "unhealthy" || "unused" || "draining" || "unavailable",
|
|
52
|
+
* // Reason: "Elb.RegistrationInProgress" || "Elb.InitialHealthChecking" || "Target.ResponseCodeMismatch" || "Target.Timeout" || "Target.FailedHealthChecks" || "Target.NotRegistered" || "Target.NotInUse" || "Target.DeregistrationInProgress" || "Target.InvalidState" || "Target.IpUnusable" || "Target.HealthCheckDisabled" || "Elb.InternalError",
|
|
53
|
+
* // Description: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
41
59
|
* ```
|
|
42
60
|
*
|
|
43
61
|
* @param DescribeTargetHealthCommandInput - {@link DescribeTargetHealthCommandInput}
|
|
@@ -57,6 +75,8 @@ export interface DescribeTargetHealthCommandOutput extends DescribeTargetHealthO
|
|
|
57
75
|
* @throws {@link TargetGroupNotFoundException} (client fault)
|
|
58
76
|
* <p>The specified target group does not exist.</p>
|
|
59
77
|
*
|
|
78
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
60
80
|
*
|
|
61
81
|
* @example To describe the health of the targets for a target group
|
|
62
82
|
* ```javascript
|
|
@@ -110,6 +110,87 @@ export interface ModifyListenerCommandOutput extends ModifyListenerOutput, __Met
|
|
|
110
110
|
* };
|
|
111
111
|
* const command = new ModifyListenerCommand(input);
|
|
112
112
|
* const response = await client.send(command);
|
|
113
|
+
* // { // ModifyListenerOutput
|
|
114
|
+
* // Listeners: [ // Listeners
|
|
115
|
+
* // { // Listener
|
|
116
|
+
* // ListenerArn: "STRING_VALUE",
|
|
117
|
+
* // LoadBalancerArn: "STRING_VALUE",
|
|
118
|
+
* // Port: Number("int"),
|
|
119
|
+
* // Protocol: "HTTP" || "HTTPS" || "TCP" || "TLS" || "UDP" || "TCP_UDP" || "GENEVE",
|
|
120
|
+
* // Certificates: [ // CertificateList
|
|
121
|
+
* // { // Certificate
|
|
122
|
+
* // CertificateArn: "STRING_VALUE",
|
|
123
|
+
* // IsDefault: true || false,
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // SslPolicy: "STRING_VALUE",
|
|
127
|
+
* // DefaultActions: [ // Actions
|
|
128
|
+
* // { // Action
|
|
129
|
+
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
130
|
+
* // TargetGroupArn: "STRING_VALUE",
|
|
131
|
+
* // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
132
|
+
* // Issuer: "STRING_VALUE", // required
|
|
133
|
+
* // AuthorizationEndpoint: "STRING_VALUE", // required
|
|
134
|
+
* // TokenEndpoint: "STRING_VALUE", // required
|
|
135
|
+
* // UserInfoEndpoint: "STRING_VALUE", // required
|
|
136
|
+
* // ClientId: "STRING_VALUE", // required
|
|
137
|
+
* // ClientSecret: "STRING_VALUE",
|
|
138
|
+
* // SessionCookieName: "STRING_VALUE",
|
|
139
|
+
* // Scope: "STRING_VALUE",
|
|
140
|
+
* // SessionTimeout: Number("long"),
|
|
141
|
+
* // AuthenticationRequestExtraParams: { // AuthenticateOidcActionAuthenticationRequestExtraParams
|
|
142
|
+
* // "<keys>": "STRING_VALUE",
|
|
143
|
+
* // },
|
|
144
|
+
* // OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
145
|
+
* // UseExistingClientSecret: true || false,
|
|
146
|
+
* // },
|
|
147
|
+
* // AuthenticateCognitoConfig: { // AuthenticateCognitoActionConfig
|
|
148
|
+
* // UserPoolArn: "STRING_VALUE", // required
|
|
149
|
+
* // UserPoolClientId: "STRING_VALUE", // required
|
|
150
|
+
* // UserPoolDomain: "STRING_VALUE", // required
|
|
151
|
+
* // SessionCookieName: "STRING_VALUE",
|
|
152
|
+
* // Scope: "STRING_VALUE",
|
|
153
|
+
* // SessionTimeout: Number("long"),
|
|
154
|
+
* // AuthenticationRequestExtraParams: { // AuthenticateCognitoActionAuthenticationRequestExtraParams
|
|
155
|
+
* // "<keys>": "STRING_VALUE",
|
|
156
|
+
* // },
|
|
157
|
+
* // OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
158
|
+
* // },
|
|
159
|
+
* // Order: Number("int"),
|
|
160
|
+
* // RedirectConfig: { // RedirectActionConfig
|
|
161
|
+
* // Protocol: "STRING_VALUE",
|
|
162
|
+
* // Port: "STRING_VALUE",
|
|
163
|
+
* // Host: "STRING_VALUE",
|
|
164
|
+
* // Path: "STRING_VALUE",
|
|
165
|
+
* // Query: "STRING_VALUE",
|
|
166
|
+
* // StatusCode: "HTTP_301" || "HTTP_302", // required
|
|
167
|
+
* // },
|
|
168
|
+
* // FixedResponseConfig: { // FixedResponseActionConfig
|
|
169
|
+
* // MessageBody: "STRING_VALUE",
|
|
170
|
+
* // StatusCode: "STRING_VALUE", // required
|
|
171
|
+
* // ContentType: "STRING_VALUE",
|
|
172
|
+
* // },
|
|
173
|
+
* // ForwardConfig: { // ForwardActionConfig
|
|
174
|
+
* // TargetGroups: [ // TargetGroupList
|
|
175
|
+
* // { // TargetGroupTuple
|
|
176
|
+
* // TargetGroupArn: "STRING_VALUE",
|
|
177
|
+
* // Weight: Number("int"),
|
|
178
|
+
* // },
|
|
179
|
+
* // ],
|
|
180
|
+
* // TargetGroupStickinessConfig: { // TargetGroupStickinessConfig
|
|
181
|
+
* // Enabled: true || false,
|
|
182
|
+
* // DurationSeconds: Number("int"),
|
|
183
|
+
* // },
|
|
184
|
+
* // },
|
|
185
|
+
* // },
|
|
186
|
+
* // ],
|
|
187
|
+
* // AlpnPolicy: [ // AlpnPolicyName
|
|
188
|
+
* // "STRING_VALUE",
|
|
189
|
+
* // ],
|
|
190
|
+
* // },
|
|
191
|
+
* // ],
|
|
192
|
+
* // };
|
|
193
|
+
*
|
|
113
194
|
* ```
|
|
114
195
|
*
|
|
115
196
|
* @param ModifyListenerCommandInput - {@link ModifyListenerCommandInput}
|
|
@@ -172,6 +253,8 @@ export interface ModifyListenerCommandOutput extends ModifyListenerOutput, __Met
|
|
|
172
253
|
* @throws {@link UnsupportedProtocolException} (client fault)
|
|
173
254
|
* <p>The specified protocol is not supported.</p>
|
|
174
255
|
*
|
|
256
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
257
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
175
258
|
*
|
|
176
259
|
* @example To change the default action for a listener
|
|
177
260
|
* ```javascript
|
|
@@ -40,6 +40,15 @@ export interface ModifyLoadBalancerAttributesCommandOutput extends ModifyLoadBal
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new ModifyLoadBalancerAttributesCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // ModifyLoadBalancerAttributesOutput
|
|
44
|
+
* // Attributes: [ // LoadBalancerAttributes
|
|
45
|
+
* // { // LoadBalancerAttribute
|
|
46
|
+
* // Key: "STRING_VALUE",
|
|
47
|
+
* // Value: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
43
52
|
* ```
|
|
44
53
|
*
|
|
45
54
|
* @param ModifyLoadBalancerAttributesCommandInput - {@link ModifyLoadBalancerAttributesCommandInput}
|
|
@@ -54,6 +63,8 @@ export interface ModifyLoadBalancerAttributesCommandOutput extends ModifyLoadBal
|
|
|
54
63
|
* @throws {@link LoadBalancerNotFoundException} (client fault)
|
|
55
64
|
* <p>The specified load balancer does not exist.</p>
|
|
56
65
|
*
|
|
66
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
57
68
|
*
|
|
58
69
|
* @example To enable deletion protection
|
|
59
70
|
* ```javascript
|
|
@@ -135,6 +135,116 @@ export interface ModifyRuleCommandOutput extends ModifyRuleOutput, __MetadataBea
|
|
|
135
135
|
* };
|
|
136
136
|
* const command = new ModifyRuleCommand(input);
|
|
137
137
|
* const response = await client.send(command);
|
|
138
|
+
* // { // ModifyRuleOutput
|
|
139
|
+
* // Rules: [ // Rules
|
|
140
|
+
* // { // Rule
|
|
141
|
+
* // RuleArn: "STRING_VALUE",
|
|
142
|
+
* // Priority: "STRING_VALUE",
|
|
143
|
+
* // Conditions: [ // RuleConditionList
|
|
144
|
+
* // { // RuleCondition
|
|
145
|
+
* // Field: "STRING_VALUE",
|
|
146
|
+
* // Values: [ // ListOfString
|
|
147
|
+
* // "STRING_VALUE",
|
|
148
|
+
* // ],
|
|
149
|
+
* // HostHeaderConfig: { // HostHeaderConditionConfig
|
|
150
|
+
* // Values: [
|
|
151
|
+
* // "STRING_VALUE",
|
|
152
|
+
* // ],
|
|
153
|
+
* // },
|
|
154
|
+
* // PathPatternConfig: { // PathPatternConditionConfig
|
|
155
|
+
* // Values: [
|
|
156
|
+
* // "STRING_VALUE",
|
|
157
|
+
* // ],
|
|
158
|
+
* // },
|
|
159
|
+
* // HttpHeaderConfig: { // HttpHeaderConditionConfig
|
|
160
|
+
* // HttpHeaderName: "STRING_VALUE",
|
|
161
|
+
* // Values: [
|
|
162
|
+
* // "STRING_VALUE",
|
|
163
|
+
* // ],
|
|
164
|
+
* // },
|
|
165
|
+
* // QueryStringConfig: { // QueryStringConditionConfig
|
|
166
|
+
* // Values: [ // QueryStringKeyValuePairList
|
|
167
|
+
* // { // QueryStringKeyValuePair
|
|
168
|
+
* // Key: "STRING_VALUE",
|
|
169
|
+
* // Value: "STRING_VALUE",
|
|
170
|
+
* // },
|
|
171
|
+
* // ],
|
|
172
|
+
* // },
|
|
173
|
+
* // HttpRequestMethodConfig: { // HttpRequestMethodConditionConfig
|
|
174
|
+
* // Values: [
|
|
175
|
+
* // "STRING_VALUE",
|
|
176
|
+
* // ],
|
|
177
|
+
* // },
|
|
178
|
+
* // SourceIpConfig: { // SourceIpConditionConfig
|
|
179
|
+
* // Values: "<ListOfString>",
|
|
180
|
+
* // },
|
|
181
|
+
* // },
|
|
182
|
+
* // ],
|
|
183
|
+
* // Actions: [ // Actions
|
|
184
|
+
* // { // Action
|
|
185
|
+
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
186
|
+
* // TargetGroupArn: "STRING_VALUE",
|
|
187
|
+
* // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
188
|
+
* // Issuer: "STRING_VALUE", // required
|
|
189
|
+
* // AuthorizationEndpoint: "STRING_VALUE", // required
|
|
190
|
+
* // TokenEndpoint: "STRING_VALUE", // required
|
|
191
|
+
* // UserInfoEndpoint: "STRING_VALUE", // required
|
|
192
|
+
* // ClientId: "STRING_VALUE", // required
|
|
193
|
+
* // ClientSecret: "STRING_VALUE",
|
|
194
|
+
* // SessionCookieName: "STRING_VALUE",
|
|
195
|
+
* // Scope: "STRING_VALUE",
|
|
196
|
+
* // SessionTimeout: Number("long"),
|
|
197
|
+
* // AuthenticationRequestExtraParams: { // AuthenticateOidcActionAuthenticationRequestExtraParams
|
|
198
|
+
* // "<keys>": "STRING_VALUE",
|
|
199
|
+
* // },
|
|
200
|
+
* // OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
201
|
+
* // UseExistingClientSecret: true || false,
|
|
202
|
+
* // },
|
|
203
|
+
* // AuthenticateCognitoConfig: { // AuthenticateCognitoActionConfig
|
|
204
|
+
* // UserPoolArn: "STRING_VALUE", // required
|
|
205
|
+
* // UserPoolClientId: "STRING_VALUE", // required
|
|
206
|
+
* // UserPoolDomain: "STRING_VALUE", // required
|
|
207
|
+
* // SessionCookieName: "STRING_VALUE",
|
|
208
|
+
* // Scope: "STRING_VALUE",
|
|
209
|
+
* // SessionTimeout: Number("long"),
|
|
210
|
+
* // AuthenticationRequestExtraParams: { // AuthenticateCognitoActionAuthenticationRequestExtraParams
|
|
211
|
+
* // "<keys>": "STRING_VALUE",
|
|
212
|
+
* // },
|
|
213
|
+
* // OnUnauthenticatedRequest: "deny" || "allow" || "authenticate",
|
|
214
|
+
* // },
|
|
215
|
+
* // Order: Number("int"),
|
|
216
|
+
* // RedirectConfig: { // RedirectActionConfig
|
|
217
|
+
* // Protocol: "STRING_VALUE",
|
|
218
|
+
* // Port: "STRING_VALUE",
|
|
219
|
+
* // Host: "STRING_VALUE",
|
|
220
|
+
* // Path: "STRING_VALUE",
|
|
221
|
+
* // Query: "STRING_VALUE",
|
|
222
|
+
* // StatusCode: "HTTP_301" || "HTTP_302", // required
|
|
223
|
+
* // },
|
|
224
|
+
* // FixedResponseConfig: { // FixedResponseActionConfig
|
|
225
|
+
* // MessageBody: "STRING_VALUE",
|
|
226
|
+
* // StatusCode: "STRING_VALUE", // required
|
|
227
|
+
* // ContentType: "STRING_VALUE",
|
|
228
|
+
* // },
|
|
229
|
+
* // ForwardConfig: { // ForwardActionConfig
|
|
230
|
+
* // TargetGroups: [ // TargetGroupList
|
|
231
|
+
* // { // TargetGroupTuple
|
|
232
|
+
* // TargetGroupArn: "STRING_VALUE",
|
|
233
|
+
* // Weight: Number("int"),
|
|
234
|
+
* // },
|
|
235
|
+
* // ],
|
|
236
|
+
* // TargetGroupStickinessConfig: { // TargetGroupStickinessConfig
|
|
237
|
+
* // Enabled: true || false,
|
|
238
|
+
* // DurationSeconds: Number("int"),
|
|
239
|
+
* // },
|
|
240
|
+
* // },
|
|
241
|
+
* // },
|
|
242
|
+
* // ],
|
|
243
|
+
* // IsDefault: true || false,
|
|
244
|
+
* // },
|
|
245
|
+
* // ],
|
|
246
|
+
* // };
|
|
247
|
+
*
|
|
138
248
|
* ```
|
|
139
249
|
*
|
|
140
250
|
* @param ModifyRuleCommandInput - {@link ModifyRuleCommandInput}
|
|
@@ -179,6 +289,8 @@ export interface ModifyRuleCommandOutput extends ModifyRuleOutput, __MetadataBea
|
|
|
179
289
|
* @throws {@link UnsupportedProtocolException} (client fault)
|
|
180
290
|
* <p>The specified protocol is not supported.</p>
|
|
181
291
|
*
|
|
292
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
293
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
182
294
|
*
|
|
183
295
|
* @example To modify a rule
|
|
184
296
|
* ```javascript
|
|
@@ -37,6 +37,15 @@ export interface ModifyTargetGroupAttributesCommandOutput extends ModifyTargetGr
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new ModifyTargetGroupAttributesCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // ModifyTargetGroupAttributesOutput
|
|
41
|
+
* // Attributes: [ // TargetGroupAttributes
|
|
42
|
+
* // { // TargetGroupAttribute
|
|
43
|
+
* // Key: "STRING_VALUE",
|
|
44
|
+
* // Value: "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // ],
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
40
49
|
* ```
|
|
41
50
|
*
|
|
42
51
|
* @param ModifyTargetGroupAttributesCommandInput - {@link ModifyTargetGroupAttributesCommandInput}
|
|
@@ -51,6 +60,8 @@ export interface ModifyTargetGroupAttributesCommandOutput extends ModifyTargetGr
|
|
|
51
60
|
* @throws {@link TargetGroupNotFoundException} (client fault)
|
|
52
61
|
* <p>The specified target group does not exist.</p>
|
|
53
62
|
*
|
|
63
|
+
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
54
65
|
*
|
|
55
66
|
* @example To modify the deregistration delay timeout
|
|
56
67
|
* ```javascript
|