From b6300bcab240338eda13eb59873156fca7d1bd33 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 22 Mar 2024 18:13:20 +0000 Subject: [PATCH] feat(client-rolesanywhere): This release relaxes constraints on the durationSeconds request parameter for the *Profile APIs that support it. This parameter can now take on values that go up to 43200. --- .../src/commands/ImportCrlCommand.ts | 3 ++- clients/client-rolesanywhere/src/models/models_0.ts | 12 +++++++++--- codegen/sdk-codegen/aws-models/rolesanywhere.json | 12 ++++++------ 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/clients/client-rolesanywhere/src/commands/ImportCrlCommand.ts b/clients/client-rolesanywhere/src/commands/ImportCrlCommand.ts index d9923c5039a7..99adcac66b17 100644 --- a/clients/client-rolesanywhere/src/commands/ImportCrlCommand.ts +++ b/clients/client-rolesanywhere/src/commands/ImportCrlCommand.ts @@ -28,7 +28,8 @@ export interface ImportCrlCommandOutput extends CrlDetailResponse, __MetadataBea /** *

Imports the certificate revocation list (CRL). A CRL is a list of certificates that have - * been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere + * been revoked by the issuing certificate Authority (CA).In order to be properly imported, a CRL must be in PEM + * format. IAM Roles Anywhere * validates against the CRL before issuing credentials.

*

* Required permissions: diff --git a/clients/client-rolesanywhere/src/models/models_0.ts b/clients/client-rolesanywhere/src/models/models_0.ts index 5bf8b3e2bf17..1023bc2358e1 100644 --- a/clients/client-rolesanywhere/src/models/models_0.ts +++ b/clients/client-rolesanywhere/src/models/models_0.ts @@ -76,7 +76,9 @@ export interface CreateProfileRequest { managedPolicyArns?: string[]; /** - *

The number of seconds the vended session credentials are valid for.

+ *

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the + * CreateSession API documentation + * page for more details.

* @public */ durationSeconds?: number; @@ -166,7 +168,9 @@ export interface ProfileDetail { updatedAt?: Date; /** - *

The number of seconds the vended session credentials are valid for.

+ *

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the + * CreateSession API documentation + * page for more details.

* @public */ durationSeconds?: number; @@ -1035,7 +1039,9 @@ export interface UpdateProfileRequest { managedPolicyArns?: string[]; /** - *

The number of seconds the vended session credentials are valid for.

+ *

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the + * CreateSession API documentation + * page for more details.

* @public */ durationSeconds?: number; diff --git a/codegen/sdk-codegen/aws-models/rolesanywhere.json b/codegen/sdk-codegen/aws-models/rolesanywhere.json index 8f6444887de7..d7aa39e7f8d8 100644 --- a/codegen/sdk-codegen/aws-models/rolesanywhere.json +++ b/codegen/sdk-codegen/aws-models/rolesanywhere.json @@ -86,10 +86,10 @@ "durationSeconds": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The number of seconds the vended session credentials are valid for.

", + "smithy.api#documentation": "

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the\n CreateSession API documentation\npage for more details.

", "smithy.api#range": { "min": 900, - "max": 3600 + "max": 43200 } } }, @@ -663,7 +663,7 @@ } ], "traits": { - "smithy.api#documentation": "

Imports the certificate revocation list (CRL). A CRL is a list of certificates that have\n been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere\n validates against the CRL before issuing credentials.

\n

\n Required permissions: \n rolesanywhere:ImportCrl. \n

", + "smithy.api#documentation": "

Imports the certificate revocation list (CRL). A CRL is a list of certificates that have\n been revoked by the issuing certificate Authority (CA).In order to be properly imported, a CRL must be in PEM \n format. IAM Roles Anywhere\n validates against the CRL before issuing credentials.

\n

\n Required permissions: \n rolesanywhere:ImportCrl. \n

", "smithy.api#http": { "uri": "/crls", "method": "POST", @@ -1341,7 +1341,7 @@ "durationSeconds": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The number of seconds the vended session credentials are valid for.

" + "smithy.api#documentation": "

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the\n CreateSession API documentation\npage for more details.

" } } }, @@ -3238,10 +3238,10 @@ "durationSeconds": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The number of seconds the vended session credentials are valid for.

", + "smithy.api#documentation": "

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the\n CreateSession API documentation\npage for more details.

", "smithy.api#range": { "min": 900, - "max": 3600 + "max": 43200 } } }