Skip to content

Commit adc36eb

Browse files
author
awstools
committed
feat(client-elastic-load-balancing-v2): Add Paginator for DescribeAccountLimits, and fix Paginators for DescribeTrustStoreAssociations, DescribeTrustStoreRevocations, and DescribeTrustStores
1 parent 38f5b59 commit adc36eb

File tree

10 files changed

+101
-46
lines changed

10 files changed

+101
-46
lines changed

clients/client-elastic-load-balancing-v2/src/commands/AddListenerCertificatesCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ export interface AddListenerCertificatesCommandOutput extends AddListenerCertifi
3636
* or TLS listener.</p>
3737
* <p>If the certificate in already in the certificate list, the call is successful but the
3838
* certificate is not added again.</p>
39-
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html">HTTPS
40-
* listeners</a> in the <i>Application Load Balancers Guide</i> or <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html">TLS
41-
* listeners</a> in the <i>Network Load Balancers Guide</i>.</p>
39+
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/https-listener-certificates.html">SSL
40+
* certificates</a> in the <i>Application Load Balancers Guide</i> or <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/tls-listener-certificates.html">Server
41+
* certificates</a> in the <i>Network Load Balancers Guide</i>.</p>
4242
* @example
4343
* Use a bare-bones client and the command you need to make an API call.
4444
* ```javascript

clients/client-elastic-load-balancing-v2/src/commands/CreateTrustStoreCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export interface CreateTrustStoreCommandOutput extends CreateTrustStoreOutput, _
3333

3434
/**
3535
* <p>Creates a trust store.</p>
36+
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/mutual-authentication.html">Mutual TLS for Application Load Balancers</a>.</p>
3637
* @example
3738
* Use a bare-bones client and the command you need to make an API call.
3839
* ```javascript

clients/client-elastic-load-balancing-v2/src/commands/DeregisterTargetsCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ export interface DeregisterTargetsCommandOutput extends DeregisterTargetsOutput,
4141
* <ul>
4242
* <li>
4343
* <p>
44-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#deregistration-delay">
44+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/edit-target-group-attributes.html#deregistration-delay">
4545
* Deregistration delay</a> in the <i>Application Load Balancers User Guide</i>
4646
* </p>
4747
* </li>
4848
* <li>
4949
* <p>
50-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#deregistration-delay">
50+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/edit-target-group-attributes.html#deregistration-delay">
5151
* Deregistration delay</a> in the <i>Network Load Balancers User Guide</i>
5252
* </p>
5353
* </li>
5454
* <li>
5555
* <p>
56-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#deregistration-delay">
56+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/edit-target-group-attributes.html#deregistration-delay">
5757
* Deregistration delay</a> in the <i>Gateway Load Balancers User Guide</i>
5858
* </p>
5959
* </li>

clients/client-elastic-load-balancing-v2/src/commands/DescribeListenerCertificatesCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ export interface DescribeListenerCertificatesCommandOutput
3939
* <p>If the default certificate is also in the certificate list, it appears twice in the
4040
* results (once with <code>IsDefault</code> set to true and once with <code>IsDefault</code> set
4141
* to false).</p>
42-
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates">SSL certificates</a> in the <i>Application Load Balancers Guide</i> or
43-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#tls-listener-certificate">Server certificates</a> in the <i>Network Load Balancers
42+
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/https-listener-certificates.html">SSL certificates</a> in the <i>Application Load Balancers Guide</i> or
43+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/tls-listener-certificates.html">Server certificates</a> in the <i>Network Load Balancers
4444
* Guide</i>.</p>
4545
* @example
4646
* Use a bare-bones client and the command you need to make an API call.

clients/client-elastic-load-balancing-v2/src/commands/DescribeSSLPoliciesCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export interface DescribeSSLPoliciesCommandOutput extends DescribeSSLPoliciesOut
3333

3434
/**
3535
* <p>Describes the specified policies or all policies used for SSL negotiation.</p>
36-
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies">Security policies</a> in the <i>Application Load Balancers Guide</i> or
37-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies">Security policies</a> in the <i>Network Load Balancers Guide</i>.</p>
36+
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html">Security policies</a> in the <i>Application Load Balancers Guide</i> and
37+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/describe-ssl-policies.html">Security policies</a> in the <i>Network Load Balancers Guide</i>.</p>
3838
* @example
3939
* Use a bare-bones client and the command you need to make an API call.
4040
* ```javascript

clients/client-elastic-load-balancing-v2/src/commands/RegisterTargetsCommand.ts

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,27 @@ export interface RegisterTargetsCommandOutput extends RegisterTargetsOutput, __M
3939
* port for the target group. Alternatively, you can override the port for a target when you
4040
* register it. You can register each EC2 instance or IP address with the same target group
4141
* multiple times using different ports.</p>
42-
* <p>With a Network Load Balancer, you can't register instances by instance ID if they have
43-
* the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3,
44-
* and T1. You can register instances of these types by IP address.</p>
42+
* <p>For more information, see the following:</p>
43+
* <ul>
44+
* <li>
45+
* <p>
46+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-register-targets.html">Register
47+
* targets for your Application Load Balancer</a>
48+
* </p>
49+
* </li>
50+
* <li>
51+
* <p>
52+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/target-group-register-targets.html">Register targets
53+
* for your Network Load Balancer</a>
54+
* </p>
55+
* </li>
56+
* <li>
57+
* <p>
58+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-group-register-targets.html">Register targets for your
59+
* Gateway Load Balancer</a>
60+
* </p>
61+
* </li>
62+
* </ul>
4563
* @example
4664
* Use a bare-bones client and the command you need to make an API call.
4765
* ```javascript

clients/client-elastic-load-balancing-v2/src/models/models_0.ts

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ export interface TargetGroupStickinessConfig {
270270

271271
/**
272272
* <p>The time period, in seconds, during which requests from a client should be routed to the
273-
* same target group. The range is 1-604800 seconds (7 days).</p>
273+
* same target group. The range is 1-604800 seconds (7 days). You must specify this value when
274+
* enabling target group stickiness.</p>
274275
* @public
275276
*/
276277
DurationSeconds?: number | undefined;
@@ -1423,8 +1424,8 @@ export interface CreateListenerInput {
14231424
/**
14241425
* <p>[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are
14251426
* supported.</p>
1426-
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies">Security policies</a> in the <i>Application Load Balancers Guide</i> and
1427-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies">Security policies</a> in the <i>Network Load Balancers Guide</i>.</p>
1427+
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html">Security policies</a> in the <i>Application Load Balancers Guide</i> and
1428+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/describe-ssl-policies.html">Security policies</a> in the <i>Network Load Balancers Guide</i>.</p>
14281429
* @public
14291430
*/
14301431
SslPolicy?: string | undefined;
@@ -1473,7 +1474,7 @@ export interface CreateListenerInput {
14731474
* </p>
14741475
* </li>
14751476
* </ul>
1476-
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies">ALPN
1477+
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html#alpn-policies">ALPN
14771478
* policies</a> in the <i>Network Load Balancers Guide</i>.</p>
14781479
* @public
14791480
*/
@@ -2433,7 +2434,8 @@ export interface HostHeaderConditionConfig {
24332434
/**
24342435
* <p>The host names. The maximum size of each name is 128 characters. The comparison is
24352436
* case insensitive. The following wildcard characters are supported: * (matches 0 or more
2436-
* characters) and ? (matches exactly 1 character).</p>
2437+
* characters) and ? (matches exactly 1 character). You must include at least one "."
2438+
* character. You can include only alphabetical characters after the final "." character.</p>
24372439
* <p>If you specify multiple strings, the condition is satisfied if one of the strings matches
24382440
* the host name.</p>
24392441
* @public
@@ -2452,7 +2454,7 @@ export interface HttpHeaderConditionConfig {
24522454
* <p>The name of the HTTP header field. The maximum size is 40 characters. The header name is
24532455
* case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not
24542456
* supported.</p>
2455-
* <p>You can't use an HTTP header condition to specify the host header. Use <a>HostHeaderConditionConfig</a> to specify a host header condition.</p>
2457+
* <p>You can't use an HTTP header condition to specify the host header. Instead, use a <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#host-conditions">host condition</a>.</p>
24562458
* @public
24572459
*/
24582460
HttpHeaderName?: string | undefined;
@@ -2503,7 +2505,7 @@ export interface PathPatternConditionConfig {
25032505
* are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).</p>
25042506
* <p>If you specify multiple strings, the condition is satisfied if one of them matches the
25052507
* request URL. The path pattern is compared only to the path of the URL, not to its query
2506-
* string. To compare against the query string, use <a>QueryStringConditionConfig</a>.</p>
2508+
* string. To compare against the query string, use a <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#query-string-conditions">query string condition</a>.</p>
25072509
* @public
25082510
*/
25092511
Values?: string[] | undefined;
@@ -2563,7 +2565,7 @@ export interface SourceIpConditionConfig {
25632565
* <p>If you specify multiple addresses, the condition is satisfied if the source IP address of
25642566
* the request matches one of the CIDR blocks. This condition is not satisfied by the addresses
25652567
* in the X-Forwarded-For header. To search for addresses in the X-Forwarded-For header, use
2566-
* <a>HttpHeaderConditionConfig</a>.</p>
2568+
* an <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#http-header-conditions">HTTP header condition</a>.</p>
25672569
* <p>The total number of values must be less than, or equal to five.</p>
25682570
* @public
25692571
*/
@@ -3818,7 +3820,7 @@ export interface DescribeCapacityReservationInput {
38183820
}
38193821

38203822
/**
3821-
* <p>The capacity reservation status for each availability zone.</p>
3823+
* <p>The capacity reservation status for each Availability Zone.</p>
38223824
* @public
38233825
*/
38243826
export interface ZonalCapacityReservationState {
@@ -3829,7 +3831,7 @@ export interface ZonalCapacityReservationState {
38293831
State?: CapacityReservationStatus | undefined;
38303832

38313833
/**
3832-
* <p>Information about the availability zone.</p>
3834+
* <p>Information about the Availability Zone.</p>
38333835
* @public
38343836
*/
38353837
AvailabilityZone?: string | undefined;
@@ -4630,7 +4632,7 @@ export interface TargetGroupAttribute {
46304632
* If the number of healthy targets is below this value, mark the zone as unhealthy
46314633
* in DNS, so that traffic is routed only to healthy zones. The possible values are
46324634
* <code>off</code> or an integer from 1 to the maximum number of targets.
4633-
* The default is <code>off</code>.</p>
4635+
* The default is 1.</p>
46344636
* </li>
46354637
* <li>
46364638
* <p>
@@ -5583,8 +5585,8 @@ export interface ModifyListenerInput {
55835585
/**
55845586
* <p>[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are
55855587
* supported.</p>
5586-
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies">Security policies</a> in the <i>Application Load Balancers Guide</i> or
5587-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies">Security policies</a> in the <i>Network Load Balancers Guide</i>.</p>
5588+
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html">Security policies</a> in the <i>Application Load Balancers Guide</i> or
5589+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/describe-ssl-policies.html">Security policies</a> in the <i>Network Load Balancers Guide</i>.</p>
55885590
* @public
55895591
*/
55905592
SslPolicy?: string | undefined;
@@ -5633,7 +5635,7 @@ export interface ModifyListenerInput {
56335635
* </p>
56345636
* </li>
56355637
* </ul>
5636-
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies">ALPN
5638+
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html#alpn-policies">ALPN
56375639
* policies</a> in the <i>Network Load Balancers Guide</i>.</p>
56385640
* @public
56395641
*/
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// smithy-typescript generated code
2+
import { createPaginator } from "@smithy/core";
3+
import { Paginator } from "@smithy/types";
4+
5+
import {
6+
DescribeAccountLimitsCommand,
7+
DescribeAccountLimitsCommandInput,
8+
DescribeAccountLimitsCommandOutput,
9+
} from "../commands/DescribeAccountLimitsCommand";
10+
import { ElasticLoadBalancingV2Client } from "../ElasticLoadBalancingV2Client";
11+
import { ElasticLoadBalancingV2PaginationConfiguration } from "./Interfaces";
12+
13+
/**
14+
* @public
15+
*/
16+
export const paginateDescribeAccountLimits: (
17+
config: ElasticLoadBalancingV2PaginationConfiguration,
18+
input: DescribeAccountLimitsCommandInput,
19+
...rest: any[]
20+
) => Paginator<DescribeAccountLimitsCommandOutput> = createPaginator<
21+
ElasticLoadBalancingV2PaginationConfiguration,
22+
DescribeAccountLimitsCommandInput,
23+
DescribeAccountLimitsCommandOutput
24+
>(ElasticLoadBalancingV2Client, DescribeAccountLimitsCommand, "Marker", "NextMarker", "");

clients/client-elastic-load-balancing-v2/src/pagination/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export * from "./DescribeAccountLimitsPaginator";
2+
13
export * from "./DescribeListenerCertificatesPaginator";
24

35
export * from "./DescribeListenersPaginator";

0 commit comments

Comments
 (0)