Skip to content

Commit

Permalink
feat(client-rolesanywhere): This release relaxes constraints on the d…
Browse files Browse the repository at this point in the history
…urationSeconds request parameter for the *Profile APIs that support it. This parameter can now take on values that go up to 43200.
  • Loading branch information
awstools committed Mar 22, 2024
1 parent 816e1f3 commit b6300bc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export interface ImportCrlCommandOutput extends CrlDetailResponse, __MetadataBea

/**
* <p>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. </p>
* <p>
* <b>Required permissions: </b>
Expand Down
12 changes: 9 additions & 3 deletions clients/client-rolesanywhere/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ export interface CreateProfileRequest {
managedPolicyArns?: string[];

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

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

/**
* <p> The number of seconds the vended session credentials are valid for. </p>
* <p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the
* <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object">CreateSession API documentation</a>
* page for more details. </p>
* @public
*/
durationSeconds?: number;
Expand Down
12 changes: 6 additions & 6 deletions codegen/sdk-codegen/aws-models/rolesanywhere.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@
"durationSeconds": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p> The number of seconds the vended session credentials are valid for. </p>",
"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>",
"smithy.api#range": {
"min": 900,
"max": 3600
"max": 43200
}
}
},
Expand Down Expand Up @@ -663,7 +663,7 @@
}
],
"traits": {
"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>",
"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>",
"smithy.api#http": {
"uri": "/crls",
"method": "POST",
Expand Down Expand Up @@ -1341,7 +1341,7 @@
"durationSeconds": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p> The number of seconds the vended session credentials are valid for. </p>"
"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>"
}
}
},
Expand Down Expand Up @@ -3238,10 +3238,10 @@
"durationSeconds": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p> The number of seconds the vended session credentials are valid for. </p>",
"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>",
"smithy.api#range": {
"min": 900,
"max": 3600
"max": 43200
}
}
}
Expand Down

0 comments on commit b6300bc

Please sign in to comment.