@jjrawlins/cdk-iam-policy-builder-helper 0.0.86 → 0.0.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/.jsii +3 -3
  2. package/cdkiampolicybuilderhelper/jsii/jsii.go +2 -2
  3. package/cdkiampolicybuilderhelper/version +1 -1
  4. package/lib/constructs/Actions.d.ts +31 -0
  5. package/lib/constructs/Actions.js +32 -1
  6. package/methods_list.txt +29 -0
  7. package/node_modules/@aws-sdk/client-iam/README.md +64 -0
  8. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +349 -71
  9. package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +16 -0
  10. package/node_modules/@aws-sdk/client-iam/dist-es/commands/AcceptDelegationRequestCommand.js +16 -0
  11. package/node_modules/@aws-sdk/client-iam/dist-es/commands/AssociateDelegationRequestCommand.js +16 -0
  12. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetDelegationRequestCommand.js +16 -0
  13. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetHumanReadableSummaryCommand.js +16 -0
  14. package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListDelegationRequestsCommand.js +16 -0
  15. package/node_modules/@aws-sdk/client-iam/dist-es/commands/RejectDelegationRequestCommand.js +16 -0
  16. package/node_modules/@aws-sdk/client-iam/dist-es/commands/SendDelegationTokenCommand.js +16 -0
  17. package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateDelegationRequestCommand.js +16 -0
  18. package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +8 -0
  19. package/node_modules/@aws-sdk/client-iam/dist-es/models/models_0.js +61 -40
  20. package/node_modules/@aws-sdk/client-iam/dist-es/models/models_1.js +4 -0
  21. package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +172 -34
  22. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +57 -0
  23. package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +10 -2
  24. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AcceptDelegationRequestCommand.d.ts +92 -0
  25. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AssociateDelegationRequestCommand.d.ts +108 -0
  26. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateDelegationRequestCommand.d.ts +5 -1
  27. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +2 -2
  28. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +2 -2
  29. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetDelegationRequestCommand.d.ts +127 -0
  30. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetHumanReadableSummaryCommand.d.ts +105 -0
  31. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListDelegationRequestsCommand.d.ts +132 -0
  32. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutGroupPolicyCommand.d.ts +1 -1
  33. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
  34. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePolicyCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPolicyCommand.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RejectDelegationRequestCommand.d.ts +96 -0
  38. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveUserFromGroupCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SendDelegationTokenCommand.d.ts +98 -0
  44. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateDelegationRequestCommand.d.ts +96 -0
  46. package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +8 -0
  47. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +472 -412
  48. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +372 -1
  49. package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +22 -0
  50. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +137 -0
  51. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +48 -0
  52. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcceptDelegationRequestCommand.d.ts +47 -0
  53. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AssociateDelegationRequestCommand.d.ts +47 -0
  54. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetDelegationRequestCommand.d.ts +51 -0
  55. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetHumanReadableSummaryCommand.d.ts +51 -0
  56. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListDelegationRequestsCommand.d.ts +51 -0
  57. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RejectDelegationRequestCommand.d.ts +47 -0
  63. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +1 -1
  66. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
  67. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +1 -1
  68. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SendDelegationTokenCommand.d.ts +46 -0
  69. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  70. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateDelegationRequestCommand.d.ts +47 -0
  71. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +8 -0
  72. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +111 -82
  73. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +70 -1
  74. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  75. package/node_modules/@aws-sdk/client-iam/package.json +5 -5
  76. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  77. package/node_modules/@aws-sdk/core/package.json +1 -1
  78. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  79. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  80. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  81. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  82. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  83. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  84. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  85. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  86. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  87. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  88. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  89. package/package.json +2 -2
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { PutRolePermissionsBoundaryRequest } from "../models/models_0";
8
+ import { PutRolePermissionsBoundaryRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface PutRolePermissionsBoundaryCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { PutRolePolicyRequest } from "../models/models_0";
8
+ import { PutRolePolicyRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface PutRolePolicyCommandInput extends PutRolePolicyRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { PutUserPermissionsBoundaryRequest } from "../models/models_0";
8
+ import { PutUserPermissionsBoundaryRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface PutUserPermissionsBoundaryCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { PutUserPolicyRequest } from "../models/models_0";
8
+ import { PutUserPolicyRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface PutUserPolicyCommandInput extends PutUserPolicyRequest {}
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ IAMClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../IAMClient";
8
+ import { RejectDelegationRequestRequest } from "../models/models_1";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface RejectDelegationRequestCommandInput
12
+ extends RejectDelegationRequestRequest {}
13
+ export interface RejectDelegationRequestCommandOutput
14
+ extends __MetadataBearer {}
15
+ declare const RejectDelegationRequestCommand_base: {
16
+ new (
17
+ input: RejectDelegationRequestCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ RejectDelegationRequestCommandInput,
20
+ RejectDelegationRequestCommandOutput,
21
+ IAMClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: RejectDelegationRequestCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ RejectDelegationRequestCommandInput,
29
+ RejectDelegationRequestCommandOutput,
30
+ IAMClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class RejectDelegationRequestCommand extends RejectDelegationRequestCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: RejectDelegationRequestRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: RejectDelegationRequestCommandInput;
44
+ output: RejectDelegationRequestCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { RemoveClientIDFromOpenIDConnectProviderRequest } from "../models/models_0";
8
+ import { RemoveClientIDFromOpenIDConnectProviderRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface RemoveClientIDFromOpenIDConnectProviderCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { RemoveRoleFromInstanceProfileRequest } from "../models/models_0";
8
+ import { RemoveRoleFromInstanceProfileRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface RemoveRoleFromInstanceProfileCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { RemoveUserFromGroupRequest } from "../models/models_0";
8
+ import { RemoveUserFromGroupRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface RemoveUserFromGroupCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ResetServiceSpecificCredentialRequest,
10
10
  ResetServiceSpecificCredentialResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ResetServiceSpecificCredentialCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { ResyncMFADeviceRequest } from "../models/models_0";
8
+ import { ResyncMFADeviceRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface ResyncMFADeviceCommandInput extends ResyncMFADeviceRequest {}
@@ -0,0 +1,46 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ IAMClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../IAMClient";
8
+ import { SendDelegationTokenRequest } from "../models/models_1";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface SendDelegationTokenCommandInput
12
+ extends SendDelegationTokenRequest {}
13
+ export interface SendDelegationTokenCommandOutput extends __MetadataBearer {}
14
+ declare const SendDelegationTokenCommand_base: {
15
+ new (
16
+ input: SendDelegationTokenCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ SendDelegationTokenCommandInput,
19
+ SendDelegationTokenCommandOutput,
20
+ IAMClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ input: SendDelegationTokenCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ SendDelegationTokenCommandInput,
28
+ SendDelegationTokenCommandOutput,
29
+ IAMClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class SendDelegationTokenCommand extends SendDelegationTokenCommand_base {
36
+ protected static __types: {
37
+ api: {
38
+ input: SendDelegationTokenRequest;
39
+ output: {};
40
+ };
41
+ sdk: {
42
+ input: SendDelegationTokenCommandInput;
43
+ output: SendDelegationTokenCommandOutput;
44
+ };
45
+ };
46
+ }
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IAMClient";
8
- import { SetDefaultPolicyVersionRequest } from "../models/models_0";
8
+ import { SetDefaultPolicyVersionRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface SetDefaultPolicyVersionCommandInput
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ IAMClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../IAMClient";
8
+ import { UpdateDelegationRequestRequest } from "../models/models_1";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface UpdateDelegationRequestCommandInput
12
+ extends UpdateDelegationRequestRequest {}
13
+ export interface UpdateDelegationRequestCommandOutput
14
+ extends __MetadataBearer {}
15
+ declare const UpdateDelegationRequestCommand_base: {
16
+ new (
17
+ input: UpdateDelegationRequestCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ UpdateDelegationRequestCommandInput,
20
+ UpdateDelegationRequestCommandOutput,
21
+ IAMClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: UpdateDelegationRequestCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ UpdateDelegationRequestCommandInput,
29
+ UpdateDelegationRequestCommandOutput,
30
+ IAMClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class UpdateDelegationRequestCommand extends UpdateDelegationRequestCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: UpdateDelegationRequestRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: UpdateDelegationRequestCommandInput;
44
+ output: UpdateDelegationRequestCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -1,6 +1,8 @@
1
+ export * from "./AcceptDelegationRequestCommand";
1
2
  export * from "./AddClientIDToOpenIDConnectProviderCommand";
2
3
  export * from "./AddRoleToInstanceProfileCommand";
3
4
  export * from "./AddUserToGroupCommand";
5
+ export * from "./AssociateDelegationRequestCommand";
4
6
  export * from "./AttachGroupPolicyCommand";
5
7
  export * from "./AttachRolePolicyCommand";
6
8
  export * from "./AttachUserPolicyCommand";
@@ -62,8 +64,10 @@ export * from "./GetAccountSummaryCommand";
62
64
  export * from "./GetContextKeysForCustomPolicyCommand";
63
65
  export * from "./GetContextKeysForPrincipalPolicyCommand";
64
66
  export * from "./GetCredentialReportCommand";
67
+ export * from "./GetDelegationRequestCommand";
65
68
  export * from "./GetGroupCommand";
66
69
  export * from "./GetGroupPolicyCommand";
70
+ export * from "./GetHumanReadableSummaryCommand";
67
71
  export * from "./GetInstanceProfileCommand";
68
72
  export * from "./GetLoginProfileCommand";
69
73
  export * from "./GetMFADeviceCommand";
@@ -86,6 +90,7 @@ export * from "./ListAccountAliasesCommand";
86
90
  export * from "./ListAttachedGroupPoliciesCommand";
87
91
  export * from "./ListAttachedRolePoliciesCommand";
88
92
  export * from "./ListAttachedUserPoliciesCommand";
93
+ export * from "./ListDelegationRequestsCommand";
89
94
  export * from "./ListEntitiesForPolicyCommand";
90
95
  export * from "./ListGroupPoliciesCommand";
91
96
  export * from "./ListGroupsCommand";
@@ -121,11 +126,13 @@ export * from "./PutRolePermissionsBoundaryCommand";
121
126
  export * from "./PutRolePolicyCommand";
122
127
  export * from "./PutUserPermissionsBoundaryCommand";
123
128
  export * from "./PutUserPolicyCommand";
129
+ export * from "./RejectDelegationRequestCommand";
124
130
  export * from "./RemoveClientIDFromOpenIDConnectProviderCommand";
125
131
  export * from "./RemoveRoleFromInstanceProfileCommand";
126
132
  export * from "./RemoveUserFromGroupCommand";
127
133
  export * from "./ResetServiceSpecificCredentialCommand";
128
134
  export * from "./ResyncMFADeviceCommand";
135
+ export * from "./SendDelegationTokenCommand";
129
136
  export * from "./SetDefaultPolicyVersionCommand";
130
137
  export * from "./SetSecurityTokenServicePreferencesCommand";
131
138
  export * from "./SimulateCustomPolicyCommand";
@@ -149,6 +156,7 @@ export * from "./UntagUserCommand";
149
156
  export * from "./UpdateAccessKeyCommand";
150
157
  export * from "./UpdateAccountPasswordPolicyCommand";
151
158
  export * from "./UpdateAssumeRolePolicyCommand";
159
+ export * from "./UpdateDelegationRequestCommand";
152
160
  export * from "./UpdateGroupCommand";
153
161
  export * from "./UpdateLoginProfileCommand";
154
162
  export * from "./UpdateOpenIDConnectProviderThumbprintCommand";
@@ -1,5 +1,32 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
+ export interface AcceptDelegationRequestRequest {
4
+ DelegationRequestId: string | undefined;
5
+ }
6
+ export declare class ConcurrentModificationException extends __BaseException {
7
+ readonly name: "ConcurrentModificationException";
8
+ readonly $fault: "client";
9
+ constructor(
10
+ opts: __ExceptionOptionType<
11
+ ConcurrentModificationException,
12
+ __BaseException
13
+ >
14
+ );
15
+ }
16
+ export declare class NoSuchEntityException extends __BaseException {
17
+ readonly name: "NoSuchEntityException";
18
+ readonly $fault: "client";
19
+ constructor(
20
+ opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>
21
+ );
22
+ }
23
+ export declare class ServiceFailureException extends __BaseException {
24
+ readonly name: "ServiceFailureException";
25
+ readonly $fault: "server";
26
+ constructor(
27
+ opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
28
+ );
29
+ }
3
30
  export declare const AccessAdvisorUsageGranularityType: {
4
31
  readonly ACTION_LEVEL: "ACTION_LEVEL";
5
32
  readonly SERVICE_LEVEL: "SERVICE_LEVEL";
@@ -53,16 +80,6 @@ export interface AddClientIDToOpenIDConnectProviderRequest {
53
80
  OpenIDConnectProviderArn: string | undefined;
54
81
  ClientID: string | undefined;
55
82
  }
56
- export declare class ConcurrentModificationException extends __BaseException {
57
- readonly name: "ConcurrentModificationException";
58
- readonly $fault: "client";
59
- constructor(
60
- opts: __ExceptionOptionType<
61
- ConcurrentModificationException,
62
- __BaseException
63
- >
64
- );
65
- }
66
83
  export declare class InvalidInputException extends __BaseException {
67
84
  readonly name: "InvalidInputException";
68
85
  readonly $fault: "client";
@@ -77,20 +94,6 @@ export declare class LimitExceededException extends __BaseException {
77
94
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
78
95
  );
79
96
  }
80
- export declare class NoSuchEntityException extends __BaseException {
81
- readonly name: "NoSuchEntityException";
82
- readonly $fault: "client";
83
- constructor(
84
- opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>
85
- );
86
- }
87
- export declare class ServiceFailureException extends __BaseException {
88
- readonly name: "ServiceFailureException";
89
- readonly $fault: "server";
90
- constructor(
91
- opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
92
- );
93
- }
94
97
  export interface AddRoleToInstanceProfileRequest {
95
98
  InstanceProfileName: string | undefined;
96
99
  RoleName: string | undefined;
@@ -126,6 +129,9 @@ export declare const AssignmentStatusType: {
126
129
  };
127
130
  export type AssignmentStatusType =
128
131
  (typeof AssignmentStatusType)[keyof typeof AssignmentStatusType];
132
+ export interface AssociateDelegationRequestRequest {
133
+ DelegationRequestId: string | undefined;
134
+ }
129
135
  export declare const PermissionsBoundaryAttachmentType: {
130
136
  readonly Policy: "PermissionsBoundaryPolicy";
131
137
  };
@@ -858,6 +864,60 @@ export interface GetCredentialReportResponse {
858
864
  ReportFormat?: ReportFormatType | undefined;
859
865
  GeneratedTime?: Date | undefined;
860
866
  }
867
+ export interface GetDelegationRequestRequest {
868
+ DelegationRequestId: string | undefined;
869
+ DelegationPermissionCheck?: boolean | undefined;
870
+ }
871
+ export declare const StateType: {
872
+ readonly ACCEPTED: "ACCEPTED";
873
+ readonly ASSIGNED: "ASSIGNED";
874
+ readonly EXPIRED: "EXPIRED";
875
+ readonly FINALIZED: "FINALIZED";
876
+ readonly PENDING_APPROVAL: "PENDING_APPROVAL";
877
+ readonly REJECTED: "REJECTED";
878
+ readonly UNASSIGNED: "UNASSIGNED";
879
+ };
880
+ export type StateType = (typeof StateType)[keyof typeof StateType];
881
+ export interface DelegationRequest {
882
+ DelegationRequestId?: string | undefined;
883
+ OwnerAccountId?: string | undefined;
884
+ Description?: string | undefined;
885
+ RequestMessage?: string | undefined;
886
+ Permissions?: DelegationPermission | undefined;
887
+ PermissionPolicy?: string | undefined;
888
+ RolePermissionRestrictionArns?: string[] | undefined;
889
+ OwnerId?: string | undefined;
890
+ ApproverId?: string | undefined;
891
+ State?: StateType | undefined;
892
+ RequestorId?: string | undefined;
893
+ RequestorName?: string | undefined;
894
+ CreateDate?: Date | undefined;
895
+ SessionDuration?: number | undefined;
896
+ RedirectUrl?: string | undefined;
897
+ Notes?: string | undefined;
898
+ RejectionReason?: string | undefined;
899
+ OnlySendByOwner?: boolean | undefined;
900
+ UpdatedTime?: Date | undefined;
901
+ }
902
+ export declare const PermissionCheckResultType: {
903
+ readonly ALLOWED: "ALLOWED";
904
+ readonly DENIED: "DENIED";
905
+ readonly UNSURE: "UNSURE";
906
+ };
907
+ export type PermissionCheckResultType =
908
+ (typeof PermissionCheckResultType)[keyof typeof PermissionCheckResultType];
909
+ export declare const PermissionCheckStatusType: {
910
+ readonly COMPLETE: "COMPLETE";
911
+ readonly FAILED: "FAILED";
912
+ readonly IN_PROGRESS: "IN_PROGRESS";
913
+ };
914
+ export type PermissionCheckStatusType =
915
+ (typeof PermissionCheckStatusType)[keyof typeof PermissionCheckStatusType];
916
+ export interface GetDelegationRequestResponse {
917
+ DelegationRequest?: DelegationRequest | undefined;
918
+ PermissionCheckStatus?: PermissionCheckStatusType | undefined;
919
+ PermissionCheckResult?: PermissionCheckResultType | undefined;
920
+ }
861
921
  export interface GetGroupRequest {
862
922
  GroupName: string | undefined;
863
923
  Marker?: string | undefined;
@@ -878,6 +938,23 @@ export interface GetGroupPolicyResponse {
878
938
  PolicyName: string | undefined;
879
939
  PolicyDocument: string | undefined;
880
940
  }
941
+ export interface GetHumanReadableSummaryRequest {
942
+ EntityArn: string | undefined;
943
+ Locale?: string | undefined;
944
+ }
945
+ export declare const SummaryStateType: {
946
+ readonly AVAILABLE: "AVAILABLE";
947
+ readonly FAILED: "FAILED";
948
+ readonly NOT_AVAILABLE: "NOT_AVAILABLE";
949
+ readonly NOT_SUPPORTED: "NOT_SUPPORTED";
950
+ };
951
+ export type SummaryStateType =
952
+ (typeof SummaryStateType)[keyof typeof SummaryStateType];
953
+ export interface GetHumanReadableSummaryResponse {
954
+ SummaryContent?: string | undefined;
955
+ Locale?: string | undefined;
956
+ SummaryState?: SummaryStateType | undefined;
957
+ }
881
958
  export interface GetInstanceProfileRequest {
882
959
  InstanceProfileName: string | undefined;
883
960
  }
@@ -1192,6 +1269,16 @@ export interface ListAttachedUserPoliciesResponse {
1192
1269
  IsTruncated?: boolean | undefined;
1193
1270
  Marker?: string | undefined;
1194
1271
  }
1272
+ export interface ListDelegationRequestsRequest {
1273
+ OwnerId?: string | undefined;
1274
+ Marker?: string | undefined;
1275
+ MaxItems?: number | undefined;
1276
+ }
1277
+ export interface ListDelegationRequestsResponse {
1278
+ DelegationRequests?: DelegationRequest[] | undefined;
1279
+ Marker?: string | undefined;
1280
+ isTruncated?: boolean | undefined;
1281
+ }
1195
1282
  export declare const PolicyUsageType: {
1196
1283
  readonly PermissionsBoundary: "PermissionsBoundary";
1197
1284
  readonly PermissionsPolicy: "PermissionsPolicy";
@@ -1564,61 +1651,3 @@ export interface ListVirtualMFADevicesResponse {
1564
1651
  IsTruncated?: boolean | undefined;
1565
1652
  Marker?: string | undefined;
1566
1653
  }
1567
- export interface PutGroupPolicyRequest {
1568
- GroupName: string | undefined;
1569
- PolicyName: string | undefined;
1570
- PolicyDocument: string | undefined;
1571
- }
1572
- export interface PutRolePermissionsBoundaryRequest {
1573
- RoleName: string | undefined;
1574
- PermissionsBoundary: string | undefined;
1575
- }
1576
- export interface PutRolePolicyRequest {
1577
- RoleName: string | undefined;
1578
- PolicyName: string | undefined;
1579
- PolicyDocument: string | undefined;
1580
- }
1581
- export interface PutUserPermissionsBoundaryRequest {
1582
- UserName: string | undefined;
1583
- PermissionsBoundary: string | undefined;
1584
- }
1585
- export interface PutUserPolicyRequest {
1586
- UserName: string | undefined;
1587
- PolicyName: string | undefined;
1588
- PolicyDocument: string | undefined;
1589
- }
1590
- export interface RemoveClientIDFromOpenIDConnectProviderRequest {
1591
- OpenIDConnectProviderArn: string | undefined;
1592
- ClientID: string | undefined;
1593
- }
1594
- export interface RemoveRoleFromInstanceProfileRequest {
1595
- InstanceProfileName: string | undefined;
1596
- RoleName: string | undefined;
1597
- }
1598
- export interface RemoveUserFromGroupRequest {
1599
- GroupName: string | undefined;
1600
- UserName: string | undefined;
1601
- }
1602
- export interface ResetServiceSpecificCredentialRequest {
1603
- UserName?: string | undefined;
1604
- ServiceSpecificCredentialId: string | undefined;
1605
- }
1606
- export interface ResetServiceSpecificCredentialResponse {
1607
- ServiceSpecificCredential?: ServiceSpecificCredential | undefined;
1608
- }
1609
- export interface ResyncMFADeviceRequest {
1610
- UserName: string | undefined;
1611
- SerialNumber: string | undefined;
1612
- AuthenticationCode1: string | undefined;
1613
- AuthenticationCode2: string | undefined;
1614
- }
1615
- export interface SetDefaultPolicyVersionRequest {
1616
- PolicyArn: string | undefined;
1617
- VersionId: string | undefined;
1618
- }
1619
- export declare const GlobalEndpointTokenVersion: {
1620
- readonly v1Token: "v1Token";
1621
- readonly v2Token: "v2Token";
1622
- };
1623
- export type GlobalEndpointTokenVersion =
1624
- (typeof GlobalEndpointTokenVersion)[keyof typeof GlobalEndpointTokenVersion];
@@ -2,14 +2,79 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
3
  import {
4
4
  AssertionEncryptionModeType,
5
- GlobalEndpointTokenVersion,
6
5
  Role,
7
6
  ServerCertificateMetadata,
7
+ ServiceSpecificCredential,
8
8
  SigningCertificate,
9
9
  SSHPublicKey,
10
10
  StatusType,
11
11
  Tag,
12
12
  } from "./models_0";
13
+ export interface PutGroupPolicyRequest {
14
+ GroupName: string | undefined;
15
+ PolicyName: string | undefined;
16
+ PolicyDocument: string | undefined;
17
+ }
18
+ export interface PutRolePermissionsBoundaryRequest {
19
+ RoleName: string | undefined;
20
+ PermissionsBoundary: string | undefined;
21
+ }
22
+ export interface PutRolePolicyRequest {
23
+ RoleName: string | undefined;
24
+ PolicyName: string | undefined;
25
+ PolicyDocument: string | undefined;
26
+ }
27
+ export interface PutUserPermissionsBoundaryRequest {
28
+ UserName: string | undefined;
29
+ PermissionsBoundary: string | undefined;
30
+ }
31
+ export interface PutUserPolicyRequest {
32
+ UserName: string | undefined;
33
+ PolicyName: string | undefined;
34
+ PolicyDocument: string | undefined;
35
+ }
36
+ export interface RejectDelegationRequestRequest {
37
+ DelegationRequestId: string | undefined;
38
+ Notes?: string | undefined;
39
+ }
40
+ export interface RemoveClientIDFromOpenIDConnectProviderRequest {
41
+ OpenIDConnectProviderArn: string | undefined;
42
+ ClientID: string | undefined;
43
+ }
44
+ export interface RemoveRoleFromInstanceProfileRequest {
45
+ InstanceProfileName: string | undefined;
46
+ RoleName: string | undefined;
47
+ }
48
+ export interface RemoveUserFromGroupRequest {
49
+ GroupName: string | undefined;
50
+ UserName: string | undefined;
51
+ }
52
+ export interface ResetServiceSpecificCredentialRequest {
53
+ UserName?: string | undefined;
54
+ ServiceSpecificCredentialId: string | undefined;
55
+ }
56
+ export interface ResetServiceSpecificCredentialResponse {
57
+ ServiceSpecificCredential?: ServiceSpecificCredential | undefined;
58
+ }
59
+ export interface ResyncMFADeviceRequest {
60
+ UserName: string | undefined;
61
+ SerialNumber: string | undefined;
62
+ AuthenticationCode1: string | undefined;
63
+ AuthenticationCode2: string | undefined;
64
+ }
65
+ export interface SendDelegationTokenRequest {
66
+ DelegationRequestId: string | undefined;
67
+ }
68
+ export interface SetDefaultPolicyVersionRequest {
69
+ PolicyArn: string | undefined;
70
+ VersionId: string | undefined;
71
+ }
72
+ export declare const GlobalEndpointTokenVersion: {
73
+ readonly v1Token: "v1Token";
74
+ readonly v2Token: "v2Token";
75
+ };
76
+ export type GlobalEndpointTokenVersion =
77
+ (typeof GlobalEndpointTokenVersion)[keyof typeof GlobalEndpointTokenVersion];
13
78
  export interface SetSecurityTokenServicePreferencesRequest {
14
79
  GlobalEndpointTokenVersion: GlobalEndpointTokenVersion | undefined;
15
80
  }
@@ -218,6 +283,10 @@ export interface UpdateAssumeRolePolicyRequest {
218
283
  RoleName: string | undefined;
219
284
  PolicyDocument: string | undefined;
220
285
  }
286
+ export interface UpdateDelegationRequestRequest {
287
+ DelegationRequestId: string | undefined;
288
+ Notes?: string | undefined;
289
+ }
221
290
  export interface UpdateGroupRequest {
222
291
  GroupName: string | undefined;
223
292
  NewPath?: string | undefined;