@aws-sdk/client-elastic-load-balancing 3.774.0 → 3.777.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/ElasticLoadBalancingClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AddTagsCommand.d.ts +12 -9
  8. package/dist-types/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +6 -6
  9. package/dist-types/commands/AttachLoadBalancerToSubnetsCommand.d.ts +6 -6
  10. package/dist-types/commands/ConfigureHealthCheckCommand.d.ts +16 -16
  11. package/dist-types/commands/CreateAppCookieStickinessPolicyCommand.d.ts +9 -6
  12. package/dist-types/commands/CreateLBCookieStickinessPolicyCommand.d.ts +9 -6
  13. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +61 -65
  14. package/dist-types/commands/CreateLoadBalancerListenersCommand.d.ts +23 -18
  15. package/dist-types/commands/CreateLoadBalancerPolicyCommand.d.ts +32 -25
  16. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +7 -4
  17. package/dist-types/commands/DeleteLoadBalancerListenersCommand.d.ts +8 -5
  18. package/dist-types/commands/DeleteLoadBalancerPolicyCommand.d.ts +8 -5
  19. package/dist-types/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +9 -9
  20. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
  21. package/dist-types/commands/DescribeInstanceHealthCommand.d.ts +13 -13
  22. package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +14 -14
  23. package/dist-types/commands/DescribeLoadBalancerPoliciesCommand.d.ts +11 -11
  24. package/dist-types/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +11 -11
  25. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +50 -50
  26. package/dist-types/commands/DescribeTagsCommand.d.ts +11 -11
  27. package/dist-types/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +6 -6
  28. package/dist-types/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +6 -6
  29. package/dist-types/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +6 -6
  30. package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +22 -23
  31. package/dist-types/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +10 -10
  32. package/dist-types/commands/RemoveTagsCommand.d.ts +9 -6
  33. package/dist-types/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +9 -6
  34. package/dist-types/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +9 -6
  35. package/dist-types/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +9 -6
  36. package/package.json +34 -34
@@ -139,84 +139,84 @@ declare const DescribeLoadBalancersCommand_base: {
139
139
  * @throws {@link ElasticLoadBalancingServiceException}
140
140
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
141
141
  *
142
- * @public
142
+ *
143
143
  * @example To describe one of your load balancers
144
144
  * ```javascript
145
145
  * // This example describes the specified load balancer.
146
146
  * const input = {
147
- * "LoadBalancerNames": [
147
+ * LoadBalancerNames: [
148
148
  * "my-load-balancer"
149
149
  * ]
150
150
  * };
151
151
  * const command = new DescribeLoadBalancersCommand(input);
152
152
  * const response = await client.send(command);
153
- * /* response ==
153
+ * /* response is
154
154
  * {
155
- * "LoadBalancerDescriptions": [
155
+ * LoadBalancerDescriptions: [
156
156
  * {
157
- * "AvailabilityZones": [
157
+ * AvailabilityZones: [
158
158
  * "us-west-2a"
159
159
  * ],
160
- * "BackendServerDescriptions": [
160
+ * BackendServerDescriptions: [
161
161
  * {
162
- * "InstancePort": 80,
163
- * "PolicyNames": [
162
+ * InstancePort: 80,
163
+ * PolicyNames: [
164
164
  * "my-ProxyProtocol-policy"
165
165
  * ]
166
166
  * }
167
167
  * ],
168
- * "CanonicalHostedZoneName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com",
169
- * "CanonicalHostedZoneNameID": "Z3DZXE0EXAMPLE",
170
- * "CreatedTime": "2015-03-19T03:24:02.650Z",
171
- * "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com",
172
- * "HealthCheck": {
173
- * "HealthyThreshold": 2,
174
- * "Interval": 30,
175
- * "Target": "HTTP:80/png",
176
- * "Timeout": 3,
177
- * "UnhealthyThreshold": 2
168
+ * CanonicalHostedZoneName: "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com",
169
+ * CanonicalHostedZoneNameID: "Z3DZXE0EXAMPLE",
170
+ * CreatedTime: "2015-03-19T03:24:02.650Z",
171
+ * DNSName: "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com",
172
+ * HealthCheck: {
173
+ * HealthyThreshold: 2,
174
+ * Interval: 30,
175
+ * Target: "HTTP:80/png",
176
+ * Timeout: 3,
177
+ * UnhealthyThreshold: 2
178
178
  * },
179
- * "Instances": [
179
+ * Instances: [
180
180
  * {
181
- * "InstanceId": "i-207d9717"
181
+ * InstanceId: "i-207d9717"
182
182
  * },
183
183
  * {
184
- * "InstanceId": "i-afefb49b"
184
+ * InstanceId: "i-afefb49b"
185
185
  * }
186
186
  * ],
187
- * "ListenerDescriptions": [
187
+ * ListenerDescriptions: [
188
188
  * {
189
- * "Listener": {
190
- * "InstancePort": 80,
191
- * "InstanceProtocol": "HTTP",
192
- * "LoadBalancerPort": 80,
193
- * "Protocol": "HTTP"
189
+ * Listener: {
190
+ * InstancePort: 80,
191
+ * InstanceProtocol: "HTTP",
192
+ * LoadBalancerPort: 80,
193
+ * Protocol: "HTTP"
194
194
  * },
195
- * "PolicyNames": []
195
+ * PolicyNames: []
196
196
  * },
197
197
  * {
198
- * "Listener": {
199
- * "InstancePort": 443,
200
- * "InstanceProtocol": "HTTPS",
201
- * "LoadBalancerPort": 443,
202
- * "Protocol": "HTTPS",
203
- * "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
198
+ * Listener: {
199
+ * InstancePort: 443,
200
+ * InstanceProtocol: "HTTPS",
201
+ * LoadBalancerPort: 443,
202
+ * Protocol: "HTTPS",
203
+ * SSLCertificateId: "arn:aws:iam::123456789012:server-certificate/my-server-cert"
204
204
  * },
205
- * "PolicyNames": [
205
+ * PolicyNames: [
206
206
  * "ELBSecurityPolicy-2015-03"
207
207
  * ]
208
208
  * }
209
209
  * ],
210
- * "LoadBalancerName": "my-load-balancer",
211
- * "Policies": {
212
- * "AppCookieStickinessPolicies": [],
213
- * "LBCookieStickinessPolicies": [
210
+ * LoadBalancerName: "my-load-balancer",
211
+ * Policies: {
212
+ * AppCookieStickinessPolicies: [],
213
+ * LBCookieStickinessPolicies: [
214
214
  * {
215
- * "CookieExpirationPeriod": 60,
216
- * "PolicyName": "my-duration-cookie-policy"
215
+ * CookieExpirationPeriod: 60,
216
+ * PolicyName: "my-duration-cookie-policy"
217
217
  * }
218
218
  * ],
219
- * "OtherPolicies": [
219
+ * OtherPolicies: [
220
220
  * "my-PublicKey-policy",
221
221
  * "my-authentication-policy",
222
222
  * "my-SSLNegotiation-policy",
@@ -224,25 +224,25 @@ declare const DescribeLoadBalancersCommand_base: {
224
224
  * "ELBSecurityPolicy-2015-03"
225
225
  * ]
226
226
  * },
227
- * "Scheme": "internet-facing",
228
- * "SecurityGroups": [
227
+ * Scheme: "internet-facing",
228
+ * SecurityGroups: [
229
229
  * "sg-a61988c3"
230
230
  * ],
231
- * "SourceSecurityGroup": {
232
- * "GroupName": "my-elb-sg",
233
- * "OwnerAlias": "123456789012"
231
+ * SourceSecurityGroup: {
232
+ * GroupName: "my-elb-sg",
233
+ * OwnerAlias: "123456789012"
234
234
  * },
235
- * "Subnets": [
235
+ * Subnets: [
236
236
  * "subnet-15aaab61"
237
237
  * ],
238
- * "VPCId": "vpc-a01106c2"
238
+ * VPCId: "vpc-a01106c2"
239
239
  * }
240
240
  * ]
241
241
  * }
242
242
  * *\/
243
- * // example id: elb-describe-load-balancers-1
244
243
  * ```
245
244
  *
245
+ * @public
246
246
  */
247
247
  export declare class DescribeLoadBalancersCommand extends DescribeLoadBalancersCommand_base {
248
248
  /** @internal type navigation helper, not in runtime. */
@@ -69,39 +69,39 @@ declare const DescribeTagsCommand_base: {
69
69
  * @throws {@link ElasticLoadBalancingServiceException}
70
70
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
71
71
  *
72
- * @public
72
+ *
73
73
  * @example To describe the tags for a load balancer
74
74
  * ```javascript
75
75
  * // This example describes the tags for the specified load balancer.
76
76
  * const input = {
77
- * "LoadBalancerNames": [
77
+ * LoadBalancerNames: [
78
78
  * "my-load-balancer"
79
79
  * ]
80
80
  * };
81
81
  * const command = new DescribeTagsCommand(input);
82
82
  * const response = await client.send(command);
83
- * /* response ==
83
+ * /* response is
84
84
  * {
85
- * "TagDescriptions": [
85
+ * TagDescriptions: [
86
86
  * {
87
- * "LoadBalancerName": "my-load-balancer",
88
- * "Tags": [
87
+ * LoadBalancerName: "my-load-balancer",
88
+ * Tags: [
89
89
  * {
90
- * "Key": "project",
91
- * "Value": "lima"
90
+ * Key: "project",
91
+ * Value: "lima"
92
92
  * },
93
93
  * {
94
- * "Key": "department",
95
- * "Value": "digital-media"
94
+ * Key: "department",
95
+ * Value: "digital-media"
96
96
  * }
97
97
  * ]
98
98
  * }
99
99
  * ]
100
100
  * }
101
101
  * *\/
102
- * // example id: elb-describe-tags-1
103
102
  * ```
104
103
  *
104
+ * @public
105
105
  */
106
106
  export declare class DescribeTagsCommand extends DescribeTagsCommand_base {
107
107
  /** @internal type navigation helper, not in runtime. */
@@ -68,28 +68,28 @@ declare const DetachLoadBalancerFromSubnetsCommand_base: {
68
68
  * @throws {@link ElasticLoadBalancingServiceException}
69
69
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
70
70
  *
71
- * @public
71
+ *
72
72
  * @example To detach a load balancer from a subnet
73
73
  * ```javascript
74
74
  * // This example detaches the specified load balancer from the specified subnet.
75
75
  * const input = {
76
- * "LoadBalancerName": "my-load-balancer",
77
- * "Subnets": [
76
+ * LoadBalancerName: "my-load-balancer",
77
+ * Subnets: [
78
78
  * "subnet-0ecac448"
79
79
  * ]
80
80
  * };
81
81
  * const command = new DetachLoadBalancerFromSubnetsCommand(input);
82
82
  * const response = await client.send(command);
83
- * /* response ==
83
+ * /* response is
84
84
  * {
85
- * "Subnets": [
85
+ * Subnets: [
86
86
  * "subnet-15aaab61"
87
87
  * ]
88
88
  * }
89
89
  * *\/
90
- * // example id: elb-detach-load-balancer-from-subnets-1
91
90
  * ```
92
91
  *
92
+ * @public
93
93
  */
94
94
  export declare class DetachLoadBalancerFromSubnetsCommand extends DetachLoadBalancerFromSubnetsCommand_base {
95
95
  /** @internal type navigation helper, not in runtime. */
@@ -73,28 +73,28 @@ declare const DisableAvailabilityZonesForLoadBalancerCommand_base: {
73
73
  * @throws {@link ElasticLoadBalancingServiceException}
74
74
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
75
75
  *
76
- * @public
76
+ *
77
77
  * @example To disable an Availability Zone for a load balancer
78
78
  * ```javascript
79
79
  * // This example removes the specified Availability Zone from the set of Availability Zones for the specified load balancer.
80
80
  * const input = {
81
- * "AvailabilityZones": [
81
+ * AvailabilityZones: [
82
82
  * "us-west-2a"
83
83
  * ],
84
- * "LoadBalancerName": "my-load-balancer"
84
+ * LoadBalancerName: "my-load-balancer"
85
85
  * };
86
86
  * const command = new DisableAvailabilityZonesForLoadBalancerCommand(input);
87
87
  * const response = await client.send(command);
88
- * /* response ==
88
+ * /* response is
89
89
  * {
90
- * "AvailabilityZones": [
90
+ * AvailabilityZones: [
91
91
  * "us-west-2b"
92
92
  * ]
93
93
  * }
94
94
  * *\/
95
- * // example id: elb-disable-availability-zones-for-load-balancer-1
96
95
  * ```
97
96
  *
97
+ * @public
98
98
  */
99
99
  export declare class DisableAvailabilityZonesForLoadBalancerCommand extends DisableAvailabilityZonesForLoadBalancerCommand_base {
100
100
  /** @internal type navigation helper, not in runtime. */
@@ -67,29 +67,29 @@ declare const EnableAvailabilityZonesForLoadBalancerCommand_base: {
67
67
  * @throws {@link ElasticLoadBalancingServiceException}
68
68
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
69
69
  *
70
- * @public
70
+ *
71
71
  * @example To enable an Availability Zone for a load balancer
72
72
  * ```javascript
73
73
  * // This example adds the specified Availability Zone to the specified load balancer.
74
74
  * const input = {
75
- * "AvailabilityZones": [
75
+ * AvailabilityZones: [
76
76
  * "us-west-2b"
77
77
  * ],
78
- * "LoadBalancerName": "my-load-balancer"
78
+ * LoadBalancerName: "my-load-balancer"
79
79
  * };
80
80
  * const command = new EnableAvailabilityZonesForLoadBalancerCommand(input);
81
81
  * const response = await client.send(command);
82
- * /* response ==
82
+ * /* response is
83
83
  * {
84
- * "AvailabilityZones": [
84
+ * AvailabilityZones: [
85
85
  * "us-west-2a",
86
86
  * "us-west-2b"
87
87
  * ]
88
88
  * }
89
89
  * *\/
90
- * // example id: elb-enable-availability-zones-for-load-balancer-1
91
90
  * ```
92
91
  *
92
+ * @public
93
93
  */
94
94
  export declare class EnableAvailabilityZonesForLoadBalancerCommand extends EnableAvailabilityZonesForLoadBalancerCommand_base {
95
95
  /** @internal type navigation helper, not in runtime. */
@@ -137,61 +137,60 @@ declare const ModifyLoadBalancerAttributesCommand_base: {
137
137
  * @throws {@link ElasticLoadBalancingServiceException}
138
138
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
139
139
  *
140
- * @public
140
+ *
141
141
  * @example To enable cross-zone load balancing
142
142
  * ```javascript
143
143
  * // This example enables cross-zone load balancing for the specified load balancer.
144
144
  * const input = {
145
- * "LoadBalancerAttributes": {
146
- * "CrossZoneLoadBalancing": {
147
- * "Enabled": true
145
+ * LoadBalancerAttributes: {
146
+ * CrossZoneLoadBalancing: {
147
+ * Enabled: true
148
148
  * }
149
149
  * },
150
- * "LoadBalancerName": "my-load-balancer"
150
+ * LoadBalancerName: "my-load-balancer"
151
151
  * };
152
152
  * const command = new ModifyLoadBalancerAttributesCommand(input);
153
153
  * const response = await client.send(command);
154
- * /* response ==
154
+ * /* response is
155
155
  * {
156
- * "LoadBalancerAttributes": {
157
- * "CrossZoneLoadBalancing": {
158
- * "Enabled": true
156
+ * LoadBalancerAttributes: {
157
+ * CrossZoneLoadBalancing: {
158
+ * Enabled: true
159
159
  * }
160
160
  * },
161
- * "LoadBalancerName": "my-load-balancer"
161
+ * LoadBalancerName: "my-load-balancer"
162
162
  * }
163
163
  * *\/
164
- * // example id: elb-modify-load-balancer-attributes-1
165
164
  * ```
166
165
  *
167
166
  * @example To enable connection draining
168
167
  * ```javascript
169
168
  * // This example enables connection draining for the specified load balancer.
170
169
  * const input = {
171
- * "LoadBalancerAttributes": {
172
- * "ConnectionDraining": {
173
- * "Enabled": true,
174
- * "Timeout": 300
170
+ * LoadBalancerAttributes: {
171
+ * ConnectionDraining: {
172
+ * Enabled: true,
173
+ * Timeout: 300
175
174
  * }
176
175
  * },
177
- * "LoadBalancerName": "my-load-balancer"
176
+ * LoadBalancerName: "my-load-balancer"
178
177
  * };
179
178
  * const command = new ModifyLoadBalancerAttributesCommand(input);
180
179
  * const response = await client.send(command);
181
- * /* response ==
180
+ * /* response is
182
181
  * {
183
- * "LoadBalancerAttributes": {
184
- * "ConnectionDraining": {
185
- * "Enabled": true,
186
- * "Timeout": 300
182
+ * LoadBalancerAttributes: {
183
+ * ConnectionDraining: {
184
+ * Enabled: true,
185
+ * Timeout: 300
187
186
  * }
188
187
  * },
189
- * "LoadBalancerName": "my-load-balancer"
188
+ * LoadBalancerName: "my-load-balancer"
190
189
  * }
191
190
  * *\/
192
- * // example id: elb-modify-load-balancer-attributes-2
193
191
  * ```
194
192
  *
193
+ * @public
195
194
  */
196
195
  export declare class ModifyLoadBalancerAttributesCommand extends ModifyLoadBalancerAttributesCommand_base {
197
196
  /** @internal type navigation helper, not in runtime. */
@@ -87,38 +87,38 @@ declare const RegisterInstancesWithLoadBalancerCommand_base: {
87
87
  * @throws {@link ElasticLoadBalancingServiceException}
88
88
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
89
89
  *
90
- * @public
90
+ *
91
91
  * @example To register instances with a load balancer
92
92
  * ```javascript
93
93
  * // This example registers the specified instance with the specified load balancer.
94
94
  * const input = {
95
- * "Instances": [
95
+ * Instances: [
96
96
  * {
97
- * "InstanceId": "i-d6f6fae3"
97
+ * InstanceId: "i-d6f6fae3"
98
98
  * }
99
99
  * ],
100
- * "LoadBalancerName": "my-load-balancer"
100
+ * LoadBalancerName: "my-load-balancer"
101
101
  * };
102
102
  * const command = new RegisterInstancesWithLoadBalancerCommand(input);
103
103
  * const response = await client.send(command);
104
- * /* response ==
104
+ * /* response is
105
105
  * {
106
- * "Instances": [
106
+ * Instances: [
107
107
  * {
108
- * "InstanceId": "i-d6f6fae3"
108
+ * InstanceId: "i-d6f6fae3"
109
109
  * },
110
110
  * {
111
- * "InstanceId": "i-207d9717"
111
+ * InstanceId: "i-207d9717"
112
112
  * },
113
113
  * {
114
- * "InstanceId": "i-afefb49b"
114
+ * InstanceId: "i-afefb49b"
115
115
  * }
116
116
  * ]
117
117
  * }
118
118
  * *\/
119
- * // example id: elb-register-instances-with-load-balancer-1
120
119
  * ```
121
120
  *
121
+ * @public
122
122
  */
123
123
  export declare class RegisterInstancesWithLoadBalancerCommand extends RegisterInstancesWithLoadBalancerCommand_base {
124
124
  /** @internal type navigation helper, not in runtime. */
@@ -62,25 +62,28 @@ declare const RemoveTagsCommand_base: {
62
62
  * @throws {@link ElasticLoadBalancingServiceException}
63
63
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
64
64
  *
65
- * @public
65
+ *
66
66
  * @example To remove tags from a load balancer
67
67
  * ```javascript
68
68
  * // This example removes the specified tag from the specified load balancer.
69
69
  * const input = {
70
- * "LoadBalancerNames": [
70
+ * LoadBalancerNames: [
71
71
  * "my-load-balancer"
72
72
  * ],
73
- * "Tags": [
73
+ * Tags: [
74
74
  * {
75
- * "Key": "project"
75
+ * Key: "project"
76
76
  * }
77
77
  * ]
78
78
  * };
79
79
  * const command = new RemoveTagsCommand(input);
80
- * await client.send(command);
81
- * // example id: elb-remove-tags-1
80
+ * const response = await client.send(command);
81
+ * /* response is
82
+ * { /* metadata only *\/ }
83
+ * *\/
82
84
  * ```
83
85
  *
86
+ * @public
84
87
  */
85
88
  export declare class RemoveTagsCommand extends RemoveTagsCommand_base {
86
89
  /** @internal type navigation helper, not in runtime. */
@@ -75,20 +75,23 @@ declare const SetLoadBalancerListenerSSLCertificateCommand_base: {
75
75
  * @throws {@link ElasticLoadBalancingServiceException}
76
76
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
77
77
  *
78
- * @public
78
+ *
79
79
  * @example To update the SSL certificate for an HTTPS listener
80
80
  * ```javascript
81
81
  * // This example replaces the existing SSL certificate for the specified HTTPS listener.
82
82
  * const input = {
83
- * "LoadBalancerName": "my-load-balancer",
84
- * "LoadBalancerPort": 443,
85
- * "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/new-server-cert"
83
+ * LoadBalancerName: "my-load-balancer",
84
+ * LoadBalancerPort: 443,
85
+ * SSLCertificateId: "arn:aws:iam::123456789012:server-certificate/new-server-cert"
86
86
  * };
87
87
  * const command = new SetLoadBalancerListenerSSLCertificateCommand(input);
88
- * await client.send(command);
89
- * // example id: elb-set-load-balancer-listener-ssl-certificate-1
88
+ * const response = await client.send(command);
89
+ * /* response is
90
+ * { /* metadata only *\/ }
91
+ * *\/
90
92
  * ```
91
93
  *
94
+ * @public
92
95
  */
93
96
  export declare class SetLoadBalancerListenerSSLCertificateCommand extends SetLoadBalancerListenerSSLCertificateCommand_base {
94
97
  /** @internal type navigation helper, not in runtime. */
@@ -75,22 +75,25 @@ declare const SetLoadBalancerPoliciesForBackendServerCommand_base: {
75
75
  * @throws {@link ElasticLoadBalancingServiceException}
76
76
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
77
77
  *
78
- * @public
78
+ *
79
79
  * @example To replace the policies associated with a port for a backend instance
80
80
  * ```javascript
81
81
  * // This example replaces the policies that are currently associated with the specified port.
82
82
  * const input = {
83
- * "InstancePort": 80,
84
- * "LoadBalancerName": "my-load-balancer",
85
- * "PolicyNames": [
83
+ * InstancePort: 80,
84
+ * LoadBalancerName: "my-load-balancer",
85
+ * PolicyNames: [
86
86
  * "my-ProxyProtocol-policy"
87
87
  * ]
88
88
  * };
89
89
  * const command = new SetLoadBalancerPoliciesForBackendServerCommand(input);
90
- * await client.send(command);
91
- * // example id: elb-set-load-balancer-policies-for-backend-server-1
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * { /* metadata only *\/ }
93
+ * *\/
92
94
  * ```
93
95
  *
96
+ * @public
94
97
  */
95
98
  export declare class SetLoadBalancerPoliciesForBackendServerCommand extends SetLoadBalancerPoliciesForBackendServerCommand_base {
96
99
  /** @internal type navigation helper, not in runtime. */
@@ -74,22 +74,25 @@ declare const SetLoadBalancerPoliciesOfListenerCommand_base: {
74
74
  * @throws {@link ElasticLoadBalancingServiceException}
75
75
  * <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
76
76
  *
77
- * @public
77
+ *
78
78
  * @example To replace the policies associated with a listener
79
79
  * ```javascript
80
80
  * // This example replaces the policies that are currently associated with the specified listener.
81
81
  * const input = {
82
- * "LoadBalancerName": "my-load-balancer",
83
- * "LoadBalancerPort": 80,
84
- * "PolicyNames": [
82
+ * LoadBalancerName: "my-load-balancer",
83
+ * LoadBalancerPort: 80,
84
+ * PolicyNames: [
85
85
  * "my-SSLNegotiation-policy"
86
86
  * ]
87
87
  * };
88
88
  * const command = new SetLoadBalancerPoliciesOfListenerCommand(input);
89
- * await client.send(command);
90
- * // example id: elb-set-load-balancer-policies-of-listener-1
89
+ * const response = await client.send(command);
90
+ * /* response is
91
+ * { /* metadata only *\/ }
92
+ * *\/
91
93
  * ```
92
94
  *
95
+ * @public
93
96
  */
94
97
  export declare class SetLoadBalancerPoliciesOfListenerCommand extends SetLoadBalancerPoliciesOfListenerCommand_base {
95
98
  /** @internal type navigation helper, not in runtime. */