@aws-sdk/client-elastic-load-balancing-v2 3.774.0 → 3.777.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/ElasticLoadBalancingV2Client.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/AddListenerCertificatesCommand.d.ts +1 -0
- package/dist-types/commands/AddTagsCommand.d.ts +12 -9
- package/dist-types/commands/AddTrustStoreRevocationsCommand.d.ts +1 -0
- package/dist-types/commands/CreateListenerCommand.d.ts +38 -39
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +44 -45
- package/dist-types/commands/CreateRuleCommand.d.ts +21 -21
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +22 -22
- package/dist-types/commands/CreateTrustStoreCommand.d.ts +1 -0
- package/dist-types/commands/DeleteListenerCommand.d.ts +7 -4
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +7 -4
- package/dist-types/commands/DeleteRuleCommand.d.ts +7 -4
- package/dist-types/commands/DeleteSharedTrustStoreAssociationCommand.d.ts +8 -5
- package/dist-types/commands/DeleteTargetGroupCommand.d.ts +7 -4
- package/dist-types/commands/DeleteTrustStoreCommand.d.ts +1 -0
- package/dist-types/commands/DeregisterTargetsCommand.d.ts +9 -6
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCapacityReservationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeListenerAttributesCommand.d.ts +7 -4
- package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeListenersCommand.d.ts +12 -12
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +15 -15
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +21 -21
- package/dist-types/commands/DescribeRulesCommand.d.ts +14 -14
- package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +46 -46
- package/dist-types/commands/DescribeTagsCommand.d.ts +11 -11
- package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +13 -13
- package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +20 -20
- package/dist-types/commands/DescribeTargetHealthCommand.d.ts +30 -31
- package/dist-types/commands/DescribeTrustStoreAssociationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTrustStoreRevocationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTrustStoresCommand.d.ts +1 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +7 -4
- package/dist-types/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +1 -0
- package/dist-types/commands/GetTrustStoreRevocationContentCommand.d.ts +1 -0
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -0
- package/dist-types/commands/ModifyIpPoolsCommand.d.ts +1 -0
- package/dist-types/commands/ModifyListenerAttributesCommand.d.ts +1 -0
- package/dist-types/commands/ModifyListenerCommand.d.ts +30 -31
- package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +54 -56
- package/dist-types/commands/ModifyRuleCommand.d.ts +17 -17
- package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +16 -16
- package/dist-types/commands/ModifyTargetGroupCommand.d.ts +21 -21
- package/dist-types/commands/ModifyTrustStoreCommand.d.ts +1 -0
- package/dist-types/commands/RegisterTargetsCommand.d.ts +20 -15
- package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +1 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +8 -5
- package/dist-types/commands/RemoveTrustStoreRevocationsCommand.d.ts +1 -0
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -0
- package/dist-types/commands/SetRulePrioritiesCommand.d.ts +16 -16
- package/dist-types/commands/SetSecurityGroupsCommand.d.ts +6 -6
- package/dist-types/commands/SetSubnetsCommand.d.ts +10 -10
- package/package.json +34 -34
|
@@ -83,39 +83,39 @@ declare const DescribeTagsCommand_base: {
|
|
|
83
83
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example To describe the tags assigned to a load balancer
|
|
88
88
|
* ```javascript
|
|
89
89
|
* // This example describes the tags assigned to the specified load balancer.
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
91
|
+
* ResourceArns: [
|
|
92
92
|
* "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
|
|
93
93
|
* ]
|
|
94
94
|
* };
|
|
95
95
|
* const command = new DescribeTagsCommand(input);
|
|
96
96
|
* const response = await client.send(command);
|
|
97
|
-
* /* response
|
|
97
|
+
* /* response is
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
99
|
+
* TagDescriptions: [
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
101
|
+
* ResourceArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
|
|
102
|
+
* Tags: [
|
|
103
103
|
* {
|
|
104
|
-
*
|
|
105
|
-
*
|
|
104
|
+
* Key: "project",
|
|
105
|
+
* Value: "lima"
|
|
106
106
|
* },
|
|
107
107
|
* {
|
|
108
|
-
*
|
|
109
|
-
*
|
|
108
|
+
* Key: "department",
|
|
109
|
+
* Value: "digital-media"
|
|
110
110
|
* }
|
|
111
111
|
* ]
|
|
112
112
|
* }
|
|
113
113
|
* ]
|
|
114
114
|
* }
|
|
115
115
|
* *\/
|
|
116
|
-
* // example id: elbv2-describe-tags-1
|
|
117
116
|
* ```
|
|
118
117
|
*
|
|
118
|
+
* @public
|
|
119
119
|
*/
|
|
120
120
|
export declare class DescribeTagsCommand extends DescribeTagsCommand_base {
|
|
121
121
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -83,40 +83,40 @@ declare const DescribeTargetGroupAttributesCommand_base: {
|
|
|
83
83
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example To describe target group attributes
|
|
88
88
|
* ```javascript
|
|
89
89
|
* // This example describes the attributes of the specified target group.
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
91
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new DescribeTargetGroupAttributesCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
-
* /* response
|
|
95
|
+
* /* response is
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
97
|
+
* Attributes: [
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
100
|
-
*
|
|
99
|
+
* Key: "stickiness.enabled",
|
|
100
|
+
* Value: "false"
|
|
101
101
|
* },
|
|
102
102
|
* {
|
|
103
|
-
*
|
|
104
|
-
*
|
|
103
|
+
* Key: "deregistration_delay.timeout_seconds",
|
|
104
|
+
* Value: "300"
|
|
105
105
|
* },
|
|
106
106
|
* {
|
|
107
|
-
*
|
|
108
|
-
*
|
|
107
|
+
* Key: "stickiness.type",
|
|
108
|
+
* Value: "lb_cookie"
|
|
109
109
|
* },
|
|
110
110
|
* {
|
|
111
|
-
*
|
|
112
|
-
*
|
|
111
|
+
* Key: "stickiness.lb_cookie.duration_seconds",
|
|
112
|
+
* Value: "86400"
|
|
113
113
|
* }
|
|
114
114
|
* ]
|
|
115
115
|
* }
|
|
116
116
|
* *\/
|
|
117
|
-
* // example id: elbv2-describe-target-group-attributes-1
|
|
118
117
|
* ```
|
|
119
118
|
*
|
|
119
|
+
* @public
|
|
120
120
|
*/
|
|
121
121
|
export declare class DescribeTargetGroupAttributesCommand extends DescribeTargetGroupAttributesCommand_base {
|
|
122
122
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -98,46 +98,46 @@ declare const DescribeTargetGroupsCommand_base: {
|
|
|
98
98
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
100
100
|
*
|
|
101
|
-
*
|
|
101
|
+
*
|
|
102
102
|
* @example To describe a target group
|
|
103
103
|
* ```javascript
|
|
104
104
|
* // This example describes the specified target group.
|
|
105
105
|
* const input = {
|
|
106
|
-
*
|
|
106
|
+
* TargetGroupArns: [
|
|
107
107
|
* "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
|
|
108
108
|
* ]
|
|
109
109
|
* };
|
|
110
110
|
* const command = new DescribeTargetGroupsCommand(input);
|
|
111
111
|
* const response = await client.send(command);
|
|
112
|
-
* /* response
|
|
112
|
+
* /* response is
|
|
113
113
|
* {
|
|
114
|
-
*
|
|
114
|
+
* TargetGroups: [
|
|
115
115
|
* {
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
116
|
+
* HealthCheckIntervalSeconds: 30,
|
|
117
|
+
* HealthCheckPath: "/",
|
|
118
|
+
* HealthCheckPort: "traffic-port",
|
|
119
|
+
* HealthCheckProtocol: "HTTP",
|
|
120
|
+
* HealthCheckTimeoutSeconds: 5,
|
|
121
|
+
* HealthyThresholdCount: 5,
|
|
122
|
+
* LoadBalancerArns: [
|
|
123
123
|
* "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
|
|
124
124
|
* ],
|
|
125
|
-
*
|
|
126
|
-
*
|
|
125
|
+
* Matcher: {
|
|
126
|
+
* HttpCode: "200"
|
|
127
127
|
* },
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
128
|
+
* Port: 80,
|
|
129
|
+
* Protocol: "HTTP",
|
|
130
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
131
|
+
* TargetGroupName: "my-targets",
|
|
132
|
+
* UnhealthyThresholdCount: 2,
|
|
133
|
+
* VpcId: "vpc-3ac0fb5f"
|
|
134
134
|
* }
|
|
135
135
|
* ]
|
|
136
136
|
* }
|
|
137
137
|
* *\/
|
|
138
|
-
* // example id: elbv2-describe-target-groups-1
|
|
139
138
|
* ```
|
|
140
139
|
*
|
|
140
|
+
* @public
|
|
141
141
|
*/
|
|
142
142
|
export declare class DescribeTargetGroupsCommand extends DescribeTargetGroupsCommand_base {
|
|
143
143
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -98,78 +98,77 @@ declare const DescribeTargetHealthCommand_base: {
|
|
|
98
98
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
100
100
|
*
|
|
101
|
-
*
|
|
101
|
+
*
|
|
102
102
|
* @example To describe the health of the targets for a target group
|
|
103
103
|
* ```javascript
|
|
104
104
|
* // This example describes the health of the targets for the specified target group. One target is healthy but the other is not specified in an action, so it can't receive traffic from the load balancer.
|
|
105
105
|
* const input = {
|
|
106
|
-
*
|
|
106
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
|
|
107
107
|
* };
|
|
108
108
|
* const command = new DescribeTargetHealthCommand(input);
|
|
109
109
|
* const response = await client.send(command);
|
|
110
|
-
* /* response
|
|
110
|
+
* /* response is
|
|
111
111
|
* {
|
|
112
|
-
*
|
|
112
|
+
* TargetHealthDescriptions: [
|
|
113
113
|
* {
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
114
|
+
* Target: {
|
|
115
|
+
* Id: "i-0f76fade",
|
|
116
|
+
* Port: 80
|
|
117
117
|
* },
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
118
|
+
* TargetHealth: {
|
|
119
|
+
* Description: "Given target group is not configured to receive traffic from ELB",
|
|
120
|
+
* Reason: "Target.NotInUse",
|
|
121
|
+
* State: "unused"
|
|
122
122
|
* }
|
|
123
123
|
* },
|
|
124
124
|
* {
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
125
|
+
* HealthCheckPort: "80",
|
|
126
|
+
* Target: {
|
|
127
|
+
* Id: "i-0f76fade",
|
|
128
|
+
* Port: 80
|
|
129
129
|
* },
|
|
130
|
-
*
|
|
131
|
-
*
|
|
130
|
+
* TargetHealth: {
|
|
131
|
+
* State: "healthy"
|
|
132
132
|
* }
|
|
133
133
|
* }
|
|
134
134
|
* ]
|
|
135
135
|
* }
|
|
136
136
|
* *\/
|
|
137
|
-
* // example id: elbv2-describe-target-health-1
|
|
138
137
|
* ```
|
|
139
138
|
*
|
|
140
139
|
* @example To describe the health of a target
|
|
141
140
|
* ```javascript
|
|
142
141
|
* // This example describes the health of the specified target. This target is healthy.
|
|
143
142
|
* const input = {
|
|
144
|
-
*
|
|
145
|
-
*
|
|
143
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
144
|
+
* Targets: [
|
|
146
145
|
* {
|
|
147
|
-
*
|
|
148
|
-
*
|
|
146
|
+
* Id: "i-0f76fade",
|
|
147
|
+
* Port: 80
|
|
149
148
|
* }
|
|
150
149
|
* ]
|
|
151
150
|
* };
|
|
152
151
|
* const command = new DescribeTargetHealthCommand(input);
|
|
153
152
|
* const response = await client.send(command);
|
|
154
|
-
* /* response
|
|
153
|
+
* /* response is
|
|
155
154
|
* {
|
|
156
|
-
*
|
|
155
|
+
* TargetHealthDescriptions: [
|
|
157
156
|
* {
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
157
|
+
* HealthCheckPort: "80",
|
|
158
|
+
* Target: {
|
|
159
|
+
* Id: "i-0f76fade",
|
|
160
|
+
* Port: 80
|
|
162
161
|
* },
|
|
163
|
-
*
|
|
164
|
-
*
|
|
162
|
+
* TargetHealth: {
|
|
163
|
+
* State: "healthy"
|
|
165
164
|
* }
|
|
166
165
|
* }
|
|
167
166
|
* ]
|
|
168
167
|
* }
|
|
169
168
|
* *\/
|
|
170
|
-
* // example id: elbv2-describe-target-health-2
|
|
171
169
|
* ```
|
|
172
170
|
*
|
|
171
|
+
* @public
|
|
173
172
|
*/
|
|
174
173
|
export declare class DescribeTargetHealthCommand extends DescribeTargetHealthCommand_base {
|
|
175
174
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -64,6 +64,7 @@ declare const DescribeTrustStoreAssociationsCommand_base: {
|
|
|
64
64
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
66
66
|
*
|
|
67
|
+
*
|
|
67
68
|
* @public
|
|
68
69
|
*/
|
|
69
70
|
export declare class DescribeTrustStoreAssociationsCommand extends DescribeTrustStoreAssociationsCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const DescribeTrustStoreRevocationsCommand_base: {
|
|
|
74
74
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class DescribeTrustStoreRevocationsCommand extends DescribeTrustStoreRevocationsCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const DescribeTrustStoresCommand_base: {
|
|
|
73
73
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class DescribeTrustStoresCommand extends DescribeTrustStoresCommand_base {
|
|
@@ -57,18 +57,21 @@ declare const GetResourcePolicyCommand_base: {
|
|
|
57
57
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
58
58
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
59
59
|
*
|
|
60
|
-
*
|
|
60
|
+
*
|
|
61
61
|
* @example Retrieve a resource policy
|
|
62
62
|
* ```javascript
|
|
63
63
|
* // This example retrieves the resource policy for the specified trust store.
|
|
64
64
|
* const input = {
|
|
65
|
-
*
|
|
65
|
+
* ResourceArn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:truststore/my-trust-store/73e2d6bc24d8a067"
|
|
66
66
|
* };
|
|
67
67
|
* const command = new GetResourcePolicyCommand(input);
|
|
68
|
-
* await client.send(command);
|
|
69
|
-
*
|
|
68
|
+
* const response = await client.send(command);
|
|
69
|
+
* /* response is
|
|
70
|
+
* { /* metadata only *\/ }
|
|
71
|
+
* *\/
|
|
70
72
|
* ```
|
|
71
73
|
*
|
|
74
|
+
* @public
|
|
72
75
|
*/
|
|
73
76
|
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
|
|
74
77
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -59,6 +59,7 @@ declare const GetTrustStoreCaCertificatesBundleCommand_base: {
|
|
|
59
59
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
60
60
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
61
61
|
*
|
|
62
|
+
*
|
|
62
63
|
* @public
|
|
63
64
|
*/
|
|
64
65
|
export declare class GetTrustStoreCaCertificatesBundleCommand extends GetTrustStoreCaCertificatesBundleCommand_base {
|
|
@@ -63,6 +63,7 @@ declare const GetTrustStoreRevocationContentCommand_base: {
|
|
|
63
63
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
64
64
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
65
65
|
*
|
|
66
|
+
*
|
|
66
67
|
* @public
|
|
67
68
|
*/
|
|
68
69
|
export declare class GetTrustStoreRevocationContentCommand extends GetTrustStoreRevocationContentCommand_base {
|
|
@@ -98,6 +98,7 @@ declare const ModifyCapacityReservationCommand_base: {
|
|
|
98
98
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
100
100
|
*
|
|
101
|
+
*
|
|
101
102
|
* @public
|
|
102
103
|
*/
|
|
103
104
|
export declare class ModifyCapacityReservationCommand extends ModifyCapacityReservationCommand_base {
|
|
@@ -65,6 +65,7 @@ declare const ModifyIpPoolsCommand_base: {
|
|
|
65
65
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
67
67
|
*
|
|
68
|
+
*
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class ModifyIpPoolsCommand extends ModifyIpPoolsCommand_base {
|
|
@@ -71,6 +71,7 @@ declare const ModifyListenerAttributesCommand_base: {
|
|
|
71
71
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
73
73
|
*
|
|
74
|
+
*
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class ModifyListenerAttributesCommand extends ModifyListenerAttributesCommand_base {
|
|
@@ -284,82 +284,81 @@ declare const ModifyListenerCommand_base: {
|
|
|
284
284
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
285
285
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
286
286
|
*
|
|
287
|
-
*
|
|
287
|
+
*
|
|
288
288
|
* @example To change the default action for a listener
|
|
289
289
|
* ```javascript
|
|
290
290
|
* // This example changes the default action for the specified listener.
|
|
291
291
|
* const input = {
|
|
292
|
-
*
|
|
292
|
+
* DefaultActions: [
|
|
293
293
|
* {
|
|
294
|
-
*
|
|
295
|
-
*
|
|
294
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f",
|
|
295
|
+
* Type: "forward"
|
|
296
296
|
* }
|
|
297
297
|
* ],
|
|
298
|
-
*
|
|
298
|
+
* ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2"
|
|
299
299
|
* };
|
|
300
300
|
* const command = new ModifyListenerCommand(input);
|
|
301
301
|
* const response = await client.send(command);
|
|
302
|
-
* /* response
|
|
302
|
+
* /* response is
|
|
303
303
|
* {
|
|
304
|
-
*
|
|
304
|
+
* Listeners: [
|
|
305
305
|
* {
|
|
306
|
-
*
|
|
306
|
+
* DefaultActions: [
|
|
307
307
|
* {
|
|
308
|
-
*
|
|
309
|
-
*
|
|
308
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f",
|
|
309
|
+
* Type: "forward"
|
|
310
310
|
* }
|
|
311
311
|
* ],
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
|
-
*
|
|
312
|
+
* ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
|
|
313
|
+
* LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
|
|
314
|
+
* Port: 80,
|
|
315
|
+
* Protocol: "HTTP"
|
|
316
316
|
* }
|
|
317
317
|
* ]
|
|
318
318
|
* }
|
|
319
319
|
* *\/
|
|
320
|
-
* // example id: elbv2-modify-listener-1
|
|
321
320
|
* ```
|
|
322
321
|
*
|
|
323
322
|
* @example To change the server certificate
|
|
324
323
|
* ```javascript
|
|
325
324
|
* // This example changes the server certificate for the specified HTTPS listener.
|
|
326
325
|
* const input = {
|
|
327
|
-
*
|
|
326
|
+
* Certificates: [
|
|
328
327
|
* {
|
|
329
|
-
*
|
|
328
|
+
* CertificateArn: "arn:aws:iam::123456789012:server-certificate/my-new-server-cert"
|
|
330
329
|
* }
|
|
331
330
|
* ],
|
|
332
|
-
*
|
|
331
|
+
* ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65"
|
|
333
332
|
* };
|
|
334
333
|
* const command = new ModifyListenerCommand(input);
|
|
335
334
|
* const response = await client.send(command);
|
|
336
|
-
* /* response
|
|
335
|
+
* /* response is
|
|
337
336
|
* {
|
|
338
|
-
*
|
|
337
|
+
* Listeners: [
|
|
339
338
|
* {
|
|
340
|
-
*
|
|
339
|
+
* Certificates: [
|
|
341
340
|
* {
|
|
342
|
-
*
|
|
341
|
+
* CertificateArn: "arn:aws:iam::123456789012:server-certificate/my-new-server-cert"
|
|
343
342
|
* }
|
|
344
343
|
* ],
|
|
345
|
-
*
|
|
344
|
+
* DefaultActions: [
|
|
346
345
|
* {
|
|
347
|
-
*
|
|
348
|
-
*
|
|
346
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
347
|
+
* Type: "forward"
|
|
349
348
|
* }
|
|
350
349
|
* ],
|
|
351
|
-
*
|
|
352
|
-
*
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
350
|
+
* ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65",
|
|
351
|
+
* LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
|
|
352
|
+
* Port: 443,
|
|
353
|
+
* Protocol: "HTTPS",
|
|
354
|
+
* SslPolicy: "ELBSecurityPolicy-2015-05"
|
|
356
355
|
* }
|
|
357
356
|
* ]
|
|
358
357
|
* }
|
|
359
358
|
* *\/
|
|
360
|
-
* // example id: elbv2-modify-listener-2
|
|
361
359
|
* ```
|
|
362
360
|
*
|
|
361
|
+
* @public
|
|
363
362
|
*/
|
|
364
363
|
export declare class ModifyListenerCommand extends ModifyListenerCommand_base {
|
|
365
364
|
/** @internal type navigation helper, not in runtime. */
|