diff --git a/clients/client-lightsail/src/commands/GetCertificatesCommand.ts b/clients/client-lightsail/src/commands/GetCertificatesCommand.ts index 2c1a531b9a195..4b1f49b7638dd 100644 --- a/clients/client-lightsail/src/commands/GetCertificatesCommand.ts +++ b/clients/client-lightsail/src/commands/GetCertificatesCommand.ts @@ -38,7 +38,7 @@ export interface GetCertificatesCommandOutput extends GetCertificatesResult, __M * @public *

Returns information about one or more Amazon Lightsail SSL/TLS certificates.

* - *

To get a summary of a certificate, ommit includeCertificateDetails from + *

To get a summary of a certificate, omit includeCertificateDetails from * your request. The response will include only the certificate Amazon Resource Name (ARN), * certificate name, domain name, and tags.

*
@@ -54,6 +54,7 @@ export interface GetCertificatesCommandOutput extends GetCertificatesResult, __M * ], * includeCertificateDetails: true || false, * certificateName: "STRING_VALUE", + * pageToken: "STRING_VALUE", * }; * const command = new GetCertificatesCommand(input); * const response = await client.send(command); @@ -134,6 +135,7 @@ export interface GetCertificatesCommandOutput extends GetCertificatesResult, __M * // ], * // }, * // ], + * // nextPageToken: "STRING_VALUE", * // }; * * ``` diff --git a/clients/client-lightsail/src/models/models_0.ts b/clients/client-lightsail/src/models/models_0.ts index 7eee8bc1bfa8f..404b54349fd5e 100644 --- a/clients/client-lightsail/src/models/models_0.ts +++ b/clients/client-lightsail/src/models/models_0.ts @@ -2659,7 +2659,7 @@ export type CertificateStatus = (typeof CertificateStatus)[keyof typeof Certific * @public *

Describes the full details of an Amazon Lightsail SSL/TLS certificate.

* - *

To get a summary of a certificate, use the GetCertificates action and ommit + *

To get a summary of a certificate, use the GetCertificates action and omit * includeCertificateDetails from your request. The response will include only * the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.

*
@@ -8167,6 +8167,12 @@ export interface GetCertificatesRequest { * Region where the request is made.

*/ certificateName?: string; + + /** + *

The token to advance to the next page of results from your request.

+ *

To get a page token, perform an initial GetCertificates request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

+ */ + pageToken?: string; } /** @@ -8177,6 +8183,11 @@ export interface GetCertificatesResult { *

An object that describes certificates.

*/ certificates?: CertificateSummary[]; + + /** + *

If NextPageToken is returned there are more results available. The value of NextPageToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

+ */ + nextPageToken?: string; } /** diff --git a/clients/client-lightsail/src/models/models_1.ts b/clients/client-lightsail/src/models/models_1.ts index b999486d5d403..04fa0273483a7 100644 --- a/clients/client-lightsail/src/models/models_1.ts +++ b/clients/client-lightsail/src/models/models_1.ts @@ -63,7 +63,7 @@ export interface GetCostEstimateRequest { * *
  • *

    Specified in the Unix time format.

    - *

    For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify + *

    For example, if you want to use a start time of October 1, 2018, at 8 PM UTC, specify * 1538424000 as the start time.

    *
  • * @@ -80,7 +80,7 @@ export interface GetCostEstimateRequest { * *
  • *

    Specified in the Unix time format.

    - *

    For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify + *

    For example, if you want to use an end time of October 1, 2018, at 9 PM UTC, specify * 1538427600 as the end time.

    *
  • * diff --git a/clients/client-lightsail/src/protocols/Aws_json1_1.ts b/clients/client-lightsail/src/protocols/Aws_json1_1.ts index 0e715944134a4..ebac665dafdd8 100644 --- a/clients/client-lightsail/src/protocols/Aws_json1_1.ts +++ b/clients/client-lightsail/src/protocols/Aws_json1_1.ts @@ -14893,6 +14893,7 @@ const de_GetBundlesResult = (output: any, context: __SerdeContext): GetBundlesRe const de_GetCertificatesResult = (output: any, context: __SerdeContext): GetCertificatesResult => { return take(output, { certificates: (_: any) => de_CertificateSummaryList(_, context), + nextPageToken: __expectString, }) as any; };