Skip to content

Commit 2de7392

Browse files
author
awstools
committed
feat(client-iam): Adding the ExpirationTime attribute to the delegation request resource.
1 parent 30b100c commit 2de7392

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed

clients/client-iam/src/commands/GetDelegationRequestCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export interface GetDelegationRequestCommandOutput extends GetDelegationRequestR
7676
* // OwnerId: "STRING_VALUE",
7777
* // ApproverId: "STRING_VALUE",
7878
* // State: "UNASSIGNED" || "ASSIGNED" || "PENDING_APPROVAL" || "FINALIZED" || "ACCEPTED" || "REJECTED" || "EXPIRED",
79+
* // ExpirationTime: new Date("TIMESTAMP"),
7980
* // RequestorId: "STRING_VALUE",
8081
* // RequestorName: "STRING_VALUE",
8182
* // CreateDate: new Date("TIMESTAMP"),

clients/client-iam/src/commands/ListDelegationRequestsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export interface ListDelegationRequestsCommandOutput extends ListDelegationReque
7676
* // OwnerId: "STRING_VALUE",
7777
* // ApproverId: "STRING_VALUE",
7878
* // State: "UNASSIGNED" || "ASSIGNED" || "PENDING_APPROVAL" || "FINALIZED" || "ACCEPTED" || "REJECTED" || "EXPIRED",
79+
* // ExpirationTime: new Date("TIMESTAMP"),
7980
* // RequestorId: "STRING_VALUE",
8081
* // RequestorName: "STRING_VALUE",
8182
* // CreateDate: new Date("TIMESTAMP"),

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3581,12 +3581,20 @@ export interface DelegationRequest {
35813581

35823582
/**
35833583
* <p>The state of this delegation request.</p>
3584-
* <p>See the <a href="IAM/latest/UserGuide/temporary-delegation-building-integration.html">Understanding the Request Lifecycle</a> for an explanation of how these
3584+
* <p>See the <a href="IAM/latest/UserGuide/temporary-delegation-building-integration.html#temporary-delegation-request-lifecycle">Understanding the Request Lifecycle</a> for an explanation of how these
35853585
* states are transitioned.</p>
35863586
* @public
35873587
*/
35883588
State?: StateType | undefined;
35893589

3590+
/**
3591+
* <p>The expiry time of this delegation request</p>
3592+
* <p>See the <a href="IAM/latest/UserGuide/temporary-delegation-building-integration.html#temporary-delegation-request-lifecycle">Understanding the Request Lifecycle</a> for
3593+
* details on the life time of a delegation request at each state.</p>
3594+
* @public
3595+
*/
3596+
ExpirationTime?: Date | undefined;
3597+
35903598
/**
35913599
* <p>Identity of the requestor of this delegation request. This will be an Amazon Web Services account ID.</p>
35923600
* @public

clients/client-iam/src/schemas/schemas_0.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,9 @@ const _ERD = "EvalResourceDecision";
226226
const _ERLT = "EvaluationResultsListType";
227227
const _ERN = "EvalResourceName";
228228
const _ERv = "EvaluationResults";
229-
const _ET = "EntityType";
229+
const _ET = "ExpirationTime";
230230
const _ETUE = "EntityTemporarilyUnmodifiableException";
231+
const _ETn = "EntityType";
231232
const _En = "Encoding";
232233
const _Ex = "Expiration";
233234
const _F = "Filter";
@@ -1131,8 +1132,8 @@ export var DelegationRequest: StaticStructureSchema = [
11311132
n0,
11321133
_DR,
11331134
0,
1134-
[_DRI, _OAI, _D, _RM, _P, _PP, _RPRA, _OI, _AI, _St, _RI, _RNe, _CD, _SD, _RU, _No, _RR, _OSBO, _UT],
1135-
[0, 0, 0, 0, () => DelegationPermission, 0, 64 | 0, 0, 0, 0, 0, 0, 4, 1, 0, 0, 0, 2, 4],
1135+
[_DRI, _OAI, _D, _RM, _P, _PP, _RPRA, _OI, _AI, _St, _ET, _RI, _RNe, _CD, _SD, _RU, _No, _RR, _OSBO, _UT],
1136+
[0, 0, 0, 0, () => DelegationPermission, 0, 64 | 0, 0, 0, 0, 4, 0, 0, 4, 1, 0, 0, 0, 2, 4],
11361137
];
11371138
export var DeleteAccessKeyRequest: StaticStructureSchema = [3, n0, _DAKR, 0, [_UN, _AKI], [0, 0]];
11381139
export var DeleteAccountAliasRequest: StaticStructureSchema = [3, n0, _DAAR, 0, [_AA], [0]];
@@ -1975,7 +1976,7 @@ export var PolicyGrantingServiceAccess: StaticStructureSchema = [
19751976
n0,
19761977
_PGSAo,
19771978
0,
1978-
[_PN, _PT, _PA, _ET, _EN],
1979+
[_PN, _PT, _PA, _ETn, _EN],
19791980
[0, 0, 0, 0, 0],
19801981
];
19811982
export var PolicyGroup: StaticStructureSchema = [3, n0, _PGo, 0, [_GN, _GI], [0, 0]];

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4612,7 +4612,13 @@
46124612
"State": {
46134613
"target": "com.amazonaws.iam#stateType",
46144614
"traits": {
4615-
"smithy.api#documentation": "<p>The state of this delegation request.</p>\n <p>See the <a href=\"IAM/latest/UserGuide/temporary-delegation-building-integration.html\">Understanding the Request Lifecycle</a> for an explanation of how these\n states are transitioned.</p>"
4615+
"smithy.api#documentation": "<p>The state of this delegation request.</p>\n <p>See the <a href=\"IAM/latest/UserGuide/temporary-delegation-building-integration.html#temporary-delegation-request-lifecycle\">Understanding the Request Lifecycle</a> for an explanation of how these\n states are transitioned.</p>"
4616+
}
4617+
},
4618+
"ExpirationTime": {
4619+
"target": "com.amazonaws.iam#dateType",
4620+
"traits": {
4621+
"smithy.api#documentation": "<p>The expiry time of this delegation request</p>\n <p>See the <a href=\"IAM/latest/UserGuide/temporary-delegation-building-integration.html#temporary-delegation-request-lifecycle\">Understanding the Request Lifecycle</a> for\n details on the life time of a delegation request at each state.</p>"
46164622
}
46174623
},
46184624
"RequestorId": {

0 commit comments

Comments
 (0)