Skip to content

Commit b6300bc

Browse files
author
awstools
committed
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.
1 parent 816e1f3 commit b6300bc

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

clients/client-rolesanywhere/src/commands/ImportCrlCommand.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export interface ImportCrlCommandOutput extends CrlDetailResponse, __MetadataBea
2828

2929
/**
3030
* <p>Imports the certificate revocation list (CRL). A CRL is a list of certificates that have
31-
* been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere
31+
* been revoked by the issuing certificate Authority (CA).In order to be properly imported, a CRL must be in PEM
32+
* format. IAM Roles Anywhere
3233
* validates against the CRL before issuing credentials. </p>
3334
* <p>
3435
* <b>Required permissions: </b>

clients/client-rolesanywhere/src/models/models_0.ts

+9-3
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ export interface CreateProfileRequest {
7676
managedPolicyArns?: string[];
7777

7878
/**
79-
* <p> The number of seconds the vended session credentials are valid for. </p>
79+
* <p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the
80+
* <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a>
81+
* page for more details. </p>
8082
* @public
8183
*/
8284
durationSeconds?: number;
@@ -166,7 +168,9 @@ export interface ProfileDetail {
166168
updatedAt?: Date;
167169

168170
/**
169-
* <p> The number of seconds the vended session credentials are valid for. </p>
171+
* <p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the
172+
* <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a>
173+
* page for more details. </p>
170174
* @public
171175
*/
172176
durationSeconds?: number;
@@ -1035,7 +1039,9 @@ export interface UpdateProfileRequest {
10351039
managedPolicyArns?: string[];
10361040

10371041
/**
1038-
* <p> The number of seconds the vended session credentials are valid for. </p>
1042+
* <p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the
1043+
* <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a>
1044+
* page for more details. </p>
10391045
* @public
10401046
*/
10411047
durationSeconds?: number;

codegen/sdk-codegen/aws-models/rolesanywhere.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@
8686
"durationSeconds": {
8787
"target": "smithy.api#Integer",
8888
"traits": {
89-
"smithy.api#documentation": "<p> The number of seconds the vended session credentials are valid for. </p>",
89+
"smithy.api#documentation": "<p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the\n <a href=\"https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object\">CreateSession API documentation</a>\npage for more details. </p>",
9090
"smithy.api#range": {
9191
"min": 900,
92-
"max": 3600
92+
"max": 43200
9393
}
9494
}
9595
},
@@ -663,7 +663,7 @@
663663
}
664664
],
665665
"traits": {
666-
"smithy.api#documentation": "<p>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. </p>\n <p>\n <b>Required permissions: </b>\n <code>rolesanywhere:ImportCrl</code>. \n </p>",
666+
"smithy.api#documentation": "<p>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. </p>\n <p>\n <b>Required permissions: </b>\n <code>rolesanywhere:ImportCrl</code>. \n </p>",
667667
"smithy.api#http": {
668668
"uri": "/crls",
669669
"method": "POST",
@@ -1341,7 +1341,7 @@
13411341
"durationSeconds": {
13421342
"target": "smithy.api#Integer",
13431343
"traits": {
1344-
"smithy.api#documentation": "<p> The number of seconds the vended session credentials are valid for. </p>"
1344+
"smithy.api#documentation": "<p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the\n <a href=\"https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object\">CreateSession API documentation</a>\npage for more details. </p>"
13451345
}
13461346
}
13471347
},
@@ -3238,10 +3238,10 @@
32383238
"durationSeconds": {
32393239
"target": "smithy.api#Integer",
32403240
"traits": {
3241-
"smithy.api#documentation": "<p> The number of seconds the vended session credentials are valid for. </p>",
3241+
"smithy.api#documentation": "<p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the\n <a href=\"https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object\">CreateSession API documentation</a>\npage for more details. </p>",
32423242
"smithy.api#range": {
32433243
"min": 900,
3244-
"max": 3600
3244+
"max": 43200
32453245
}
32463246
}
32473247
}

0 commit comments

Comments
 (0)