@jjrawlins/cdk-iam-policy-builder-helper 0.0.85 → 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 (98) 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 +50 -0
  5. package/lib/constructs/Actions.js +51 -1
  6. package/methods_list.txt +46 -0
  7. package/node_modules/@aws/lambda-invoke-store/README.md +35 -27
  8. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +104 -46
  9. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +104 -46
  10. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts +1 -0
  11. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +40 -47
  12. package/node_modules/@aws/lambda-invoke-store/package.json +2 -2
  13. package/node_modules/@aws-sdk/client-iam/README.md +64 -0
  14. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +349 -71
  15. package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +16 -0
  16. package/node_modules/@aws-sdk/client-iam/dist-es/commands/AcceptDelegationRequestCommand.js +16 -0
  17. package/node_modules/@aws-sdk/client-iam/dist-es/commands/AssociateDelegationRequestCommand.js +16 -0
  18. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetDelegationRequestCommand.js +16 -0
  19. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetHumanReadableSummaryCommand.js +16 -0
  20. package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListDelegationRequestsCommand.js +16 -0
  21. package/node_modules/@aws-sdk/client-iam/dist-es/commands/RejectDelegationRequestCommand.js +16 -0
  22. package/node_modules/@aws-sdk/client-iam/dist-es/commands/SendDelegationTokenCommand.js +16 -0
  23. package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateDelegationRequestCommand.js +16 -0
  24. package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +8 -0
  25. package/node_modules/@aws-sdk/client-iam/dist-es/models/models_0.js +61 -40
  26. package/node_modules/@aws-sdk/client-iam/dist-es/models/models_1.js +4 -0
  27. package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +172 -34
  28. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +57 -0
  29. package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +10 -2
  30. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AcceptDelegationRequestCommand.d.ts +92 -0
  31. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AssociateDelegationRequestCommand.d.ts +108 -0
  32. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateDelegationRequestCommand.d.ts +5 -1
  33. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +2 -2
  34. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +2 -2
  35. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetDelegationRequestCommand.d.ts +127 -0
  36. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetHumanReadableSummaryCommand.d.ts +105 -0
  37. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListDelegationRequestsCommand.d.ts +132 -0
  38. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutGroupPolicyCommand.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePolicyCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPolicyCommand.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RejectDelegationRequestCommand.d.ts +96 -0
  44. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveUserFromGroupCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SendDelegationTokenCommand.d.ts +98 -0
  50. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateDelegationRequestCommand.d.ts +96 -0
  52. package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +8 -0
  53. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +472 -412
  54. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +372 -1
  55. package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +22 -0
  56. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +137 -0
  57. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +48 -0
  58. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcceptDelegationRequestCommand.d.ts +47 -0
  59. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AssociateDelegationRequestCommand.d.ts +47 -0
  60. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetDelegationRequestCommand.d.ts +51 -0
  61. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetHumanReadableSummaryCommand.d.ts +51 -0
  62. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListDelegationRequestsCommand.d.ts +51 -0
  63. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +1 -1
  66. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
  67. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +1 -1
  68. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RejectDelegationRequestCommand.d.ts +47 -0
  69. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  70. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
  73. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +1 -1
  74. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SendDelegationTokenCommand.d.ts +46 -0
  75. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  76. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateDelegationRequestCommand.d.ts +47 -0
  77. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +8 -0
  78. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +111 -82
  79. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +70 -1
  80. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  81. package/node_modules/@aws-sdk/client-iam/package.json +6 -6
  82. package/node_modules/@aws-sdk/client-sso/package.json +5 -5
  83. package/node_modules/@aws-sdk/core/package.json +1 -1
  84. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  85. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  86. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  87. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  88. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  89. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  90. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  91. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +2 -1
  92. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +2 -1
  93. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  94. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  95. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  96. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  97. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  98. package/package.json +2 -2
@@ -1,7 +1,9 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { AcceptDelegationRequestCommandInput, AcceptDelegationRequestCommandOutput } from "./commands/AcceptDelegationRequestCommand";
2
3
  import { AddClientIDToOpenIDConnectProviderCommandInput, AddClientIDToOpenIDConnectProviderCommandOutput } from "./commands/AddClientIDToOpenIDConnectProviderCommand";
3
4
  import { AddRoleToInstanceProfileCommandInput, AddRoleToInstanceProfileCommandOutput } from "./commands/AddRoleToInstanceProfileCommand";
4
5
  import { AddUserToGroupCommandInput, AddUserToGroupCommandOutput } from "./commands/AddUserToGroupCommand";
6
+ import { AssociateDelegationRequestCommandInput, AssociateDelegationRequestCommandOutput } from "./commands/AssociateDelegationRequestCommand";
5
7
  import { AttachGroupPolicyCommandInput, AttachGroupPolicyCommandOutput } from "./commands/AttachGroupPolicyCommand";
6
8
  import { AttachRolePolicyCommandInput, AttachRolePolicyCommandOutput } from "./commands/AttachRolePolicyCommand";
7
9
  import { AttachUserPolicyCommandInput, AttachUserPolicyCommandOutput } from "./commands/AttachUserPolicyCommand";
@@ -63,8 +65,10 @@ import { GetAccountSummaryCommandInput, GetAccountSummaryCommandOutput } from ".
63
65
  import { GetContextKeysForCustomPolicyCommandInput, GetContextKeysForCustomPolicyCommandOutput } from "./commands/GetContextKeysForCustomPolicyCommand";
64
66
  import { GetContextKeysForPrincipalPolicyCommandInput, GetContextKeysForPrincipalPolicyCommandOutput } from "./commands/GetContextKeysForPrincipalPolicyCommand";
65
67
  import { GetCredentialReportCommandInput, GetCredentialReportCommandOutput } from "./commands/GetCredentialReportCommand";
68
+ import { GetDelegationRequestCommandInput, GetDelegationRequestCommandOutput } from "./commands/GetDelegationRequestCommand";
66
69
  import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
67
70
  import { GetGroupPolicyCommandInput, GetGroupPolicyCommandOutput } from "./commands/GetGroupPolicyCommand";
71
+ import { GetHumanReadableSummaryCommandInput, GetHumanReadableSummaryCommandOutput } from "./commands/GetHumanReadableSummaryCommand";
68
72
  import { GetInstanceProfileCommandInput, GetInstanceProfileCommandOutput } from "./commands/GetInstanceProfileCommand";
69
73
  import { GetLoginProfileCommandInput, GetLoginProfileCommandOutput } from "./commands/GetLoginProfileCommand";
70
74
  import { GetMFADeviceCommandInput, GetMFADeviceCommandOutput } from "./commands/GetMFADeviceCommand";
@@ -87,6 +91,7 @@ import { ListAccountAliasesCommandInput, ListAccountAliasesCommandOutput } from
87
91
  import { ListAttachedGroupPoliciesCommandInput, ListAttachedGroupPoliciesCommandOutput } from "./commands/ListAttachedGroupPoliciesCommand";
88
92
  import { ListAttachedRolePoliciesCommandInput, ListAttachedRolePoliciesCommandOutput } from "./commands/ListAttachedRolePoliciesCommand";
89
93
  import { ListAttachedUserPoliciesCommandInput, ListAttachedUserPoliciesCommandOutput } from "./commands/ListAttachedUserPoliciesCommand";
94
+ import { ListDelegationRequestsCommandInput, ListDelegationRequestsCommandOutput } from "./commands/ListDelegationRequestsCommand";
90
95
  import { ListEntitiesForPolicyCommandInput, ListEntitiesForPolicyCommandOutput } from "./commands/ListEntitiesForPolicyCommand";
91
96
  import { ListGroupPoliciesCommandInput, ListGroupPoliciesCommandOutput } from "./commands/ListGroupPoliciesCommand";
92
97
  import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
@@ -122,11 +127,13 @@ import { PutRolePermissionsBoundaryCommandInput, PutRolePermissionsBoundaryComma
122
127
  import { PutRolePolicyCommandInput, PutRolePolicyCommandOutput } from "./commands/PutRolePolicyCommand";
123
128
  import { PutUserPermissionsBoundaryCommandInput, PutUserPermissionsBoundaryCommandOutput } from "./commands/PutUserPermissionsBoundaryCommand";
124
129
  import { PutUserPolicyCommandInput, PutUserPolicyCommandOutput } from "./commands/PutUserPolicyCommand";
130
+ import { RejectDelegationRequestCommandInput, RejectDelegationRequestCommandOutput } from "./commands/RejectDelegationRequestCommand";
125
131
  import { RemoveClientIDFromOpenIDConnectProviderCommandInput, RemoveClientIDFromOpenIDConnectProviderCommandOutput } from "./commands/RemoveClientIDFromOpenIDConnectProviderCommand";
126
132
  import { RemoveRoleFromInstanceProfileCommandInput, RemoveRoleFromInstanceProfileCommandOutput } from "./commands/RemoveRoleFromInstanceProfileCommand";
127
133
  import { RemoveUserFromGroupCommandInput, RemoveUserFromGroupCommandOutput } from "./commands/RemoveUserFromGroupCommand";
128
134
  import { ResetServiceSpecificCredentialCommandInput, ResetServiceSpecificCredentialCommandOutput } from "./commands/ResetServiceSpecificCredentialCommand";
129
135
  import { ResyncMFADeviceCommandInput, ResyncMFADeviceCommandOutput } from "./commands/ResyncMFADeviceCommand";
136
+ import { SendDelegationTokenCommandInput, SendDelegationTokenCommandOutput } from "./commands/SendDelegationTokenCommand";
130
137
  import { SetDefaultPolicyVersionCommandInput, SetDefaultPolicyVersionCommandOutput } from "./commands/SetDefaultPolicyVersionCommand";
131
138
  import { SetSecurityTokenServicePreferencesCommandInput, SetSecurityTokenServicePreferencesCommandOutput } from "./commands/SetSecurityTokenServicePreferencesCommand";
132
139
  import { SimulateCustomPolicyCommandInput, SimulateCustomPolicyCommandOutput } from "./commands/SimulateCustomPolicyCommand";
@@ -150,6 +157,7 @@ import { UntagUserCommandInput, UntagUserCommandOutput } from "./commands/UntagU
150
157
  import { UpdateAccessKeyCommandInput, UpdateAccessKeyCommandOutput } from "./commands/UpdateAccessKeyCommand";
151
158
  import { UpdateAccountPasswordPolicyCommandInput, UpdateAccountPasswordPolicyCommandOutput } from "./commands/UpdateAccountPasswordPolicyCommand";
152
159
  import { UpdateAssumeRolePolicyCommandInput, UpdateAssumeRolePolicyCommandOutput } from "./commands/UpdateAssumeRolePolicyCommand";
160
+ import { UpdateDelegationRequestCommandInput, UpdateDelegationRequestCommandOutput } from "./commands/UpdateDelegationRequestCommand";
153
161
  import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
154
162
  import { UpdateLoginProfileCommandInput, UpdateLoginProfileCommandOutput } from "./commands/UpdateLoginProfileCommand";
155
163
  import { UpdateOpenIDConnectProviderThumbprintCommandInput, UpdateOpenIDConnectProviderThumbprintCommandOutput } from "./commands/UpdateOpenIDConnectProviderThumbprintCommand";
@@ -166,6 +174,12 @@ import { UploadSigningCertificateCommandInput, UploadSigningCertificateCommandOu
166
174
  import { UploadSSHPublicKeyCommandInput, UploadSSHPublicKeyCommandOutput } from "./commands/UploadSSHPublicKeyCommand";
167
175
  import { IAMClient } from "./IAMClient";
168
176
  export interface IAM {
177
+ /**
178
+ * @see {@link AcceptDelegationRequestCommand}
179
+ */
180
+ acceptDelegationRequest(args: AcceptDelegationRequestCommandInput, options?: __HttpHandlerOptions): Promise<AcceptDelegationRequestCommandOutput>;
181
+ acceptDelegationRequest(args: AcceptDelegationRequestCommandInput, cb: (err: any, data?: AcceptDelegationRequestCommandOutput) => void): void;
182
+ acceptDelegationRequest(args: AcceptDelegationRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptDelegationRequestCommandOutput) => void): void;
169
183
  /**
170
184
  * @see {@link AddClientIDToOpenIDConnectProviderCommand}
171
185
  */
@@ -184,6 +198,12 @@ export interface IAM {
184
198
  addUserToGroup(args: AddUserToGroupCommandInput, options?: __HttpHandlerOptions): Promise<AddUserToGroupCommandOutput>;
185
199
  addUserToGroup(args: AddUserToGroupCommandInput, cb: (err: any, data?: AddUserToGroupCommandOutput) => void): void;
186
200
  addUserToGroup(args: AddUserToGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddUserToGroupCommandOutput) => void): void;
201
+ /**
202
+ * @see {@link AssociateDelegationRequestCommand}
203
+ */
204
+ associateDelegationRequest(args: AssociateDelegationRequestCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDelegationRequestCommandOutput>;
205
+ associateDelegationRequest(args: AssociateDelegationRequestCommandInput, cb: (err: any, data?: AssociateDelegationRequestCommandOutput) => void): void;
206
+ associateDelegationRequest(args: AssociateDelegationRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDelegationRequestCommandOutput) => void): void;
187
207
  /**
188
208
  * @see {@link AttachGroupPolicyCommand}
189
209
  */
@@ -563,6 +583,12 @@ export interface IAM {
563
583
  getCredentialReport(args: GetCredentialReportCommandInput, options?: __HttpHandlerOptions): Promise<GetCredentialReportCommandOutput>;
564
584
  getCredentialReport(args: GetCredentialReportCommandInput, cb: (err: any, data?: GetCredentialReportCommandOutput) => void): void;
565
585
  getCredentialReport(args: GetCredentialReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCredentialReportCommandOutput) => void): void;
586
+ /**
587
+ * @see {@link GetDelegationRequestCommand}
588
+ */
589
+ getDelegationRequest(args: GetDelegationRequestCommandInput, options?: __HttpHandlerOptions): Promise<GetDelegationRequestCommandOutput>;
590
+ getDelegationRequest(args: GetDelegationRequestCommandInput, cb: (err: any, data?: GetDelegationRequestCommandOutput) => void): void;
591
+ getDelegationRequest(args: GetDelegationRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDelegationRequestCommandOutput) => void): void;
566
592
  /**
567
593
  * @see {@link GetGroupCommand}
568
594
  */
@@ -575,6 +601,12 @@ export interface IAM {
575
601
  getGroupPolicy(args: GetGroupPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupPolicyCommandOutput>;
576
602
  getGroupPolicy(args: GetGroupPolicyCommandInput, cb: (err: any, data?: GetGroupPolicyCommandOutput) => void): void;
577
603
  getGroupPolicy(args: GetGroupPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGroupPolicyCommandOutput) => void): void;
604
+ /**
605
+ * @see {@link GetHumanReadableSummaryCommand}
606
+ */
607
+ getHumanReadableSummary(args: GetHumanReadableSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetHumanReadableSummaryCommandOutput>;
608
+ getHumanReadableSummary(args: GetHumanReadableSummaryCommandInput, cb: (err: any, data?: GetHumanReadableSummaryCommandOutput) => void): void;
609
+ getHumanReadableSummary(args: GetHumanReadableSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHumanReadableSummaryCommandOutput) => void): void;
578
610
  /**
579
611
  * @see {@link GetInstanceProfileCommand}
580
612
  */
@@ -711,6 +743,13 @@ export interface IAM {
711
743
  listAttachedUserPolicies(args: ListAttachedUserPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListAttachedUserPoliciesCommandOutput>;
712
744
  listAttachedUserPolicies(args: ListAttachedUserPoliciesCommandInput, cb: (err: any, data?: ListAttachedUserPoliciesCommandOutput) => void): void;
713
745
  listAttachedUserPolicies(args: ListAttachedUserPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttachedUserPoliciesCommandOutput) => void): void;
746
+ /**
747
+ * @see {@link ListDelegationRequestsCommand}
748
+ */
749
+ listDelegationRequests(): Promise<ListDelegationRequestsCommandOutput>;
750
+ listDelegationRequests(args: ListDelegationRequestsCommandInput, options?: __HttpHandlerOptions): Promise<ListDelegationRequestsCommandOutput>;
751
+ listDelegationRequests(args: ListDelegationRequestsCommandInput, cb: (err: any, data?: ListDelegationRequestsCommandOutput) => void): void;
752
+ listDelegationRequests(args: ListDelegationRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDelegationRequestsCommandOutput) => void): void;
714
753
  /**
715
754
  * @see {@link ListEntitiesForPolicyCommand}
716
755
  */
@@ -935,6 +974,12 @@ export interface IAM {
935
974
  putUserPolicy(args: PutUserPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutUserPolicyCommandOutput>;
936
975
  putUserPolicy(args: PutUserPolicyCommandInput, cb: (err: any, data?: PutUserPolicyCommandOutput) => void): void;
937
976
  putUserPolicy(args: PutUserPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutUserPolicyCommandOutput) => void): void;
977
+ /**
978
+ * @see {@link RejectDelegationRequestCommand}
979
+ */
980
+ rejectDelegationRequest(args: RejectDelegationRequestCommandInput, options?: __HttpHandlerOptions): Promise<RejectDelegationRequestCommandOutput>;
981
+ rejectDelegationRequest(args: RejectDelegationRequestCommandInput, cb: (err: any, data?: RejectDelegationRequestCommandOutput) => void): void;
982
+ rejectDelegationRequest(args: RejectDelegationRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectDelegationRequestCommandOutput) => void): void;
938
983
  /**
939
984
  * @see {@link RemoveClientIDFromOpenIDConnectProviderCommand}
940
985
  */
@@ -965,6 +1010,12 @@ export interface IAM {
965
1010
  resyncMFADevice(args: ResyncMFADeviceCommandInput, options?: __HttpHandlerOptions): Promise<ResyncMFADeviceCommandOutput>;
966
1011
  resyncMFADevice(args: ResyncMFADeviceCommandInput, cb: (err: any, data?: ResyncMFADeviceCommandOutput) => void): void;
967
1012
  resyncMFADevice(args: ResyncMFADeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResyncMFADeviceCommandOutput) => void): void;
1013
+ /**
1014
+ * @see {@link SendDelegationTokenCommand}
1015
+ */
1016
+ sendDelegationToken(args: SendDelegationTokenCommandInput, options?: __HttpHandlerOptions): Promise<SendDelegationTokenCommandOutput>;
1017
+ sendDelegationToken(args: SendDelegationTokenCommandInput, cb: (err: any, data?: SendDelegationTokenCommandOutput) => void): void;
1018
+ sendDelegationToken(args: SendDelegationTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendDelegationTokenCommandOutput) => void): void;
968
1019
  /**
969
1020
  * @see {@link SetDefaultPolicyVersionCommand}
970
1021
  */
@@ -1104,6 +1155,12 @@ export interface IAM {
1104
1155
  updateAssumeRolePolicy(args: UpdateAssumeRolePolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAssumeRolePolicyCommandOutput>;
1105
1156
  updateAssumeRolePolicy(args: UpdateAssumeRolePolicyCommandInput, cb: (err: any, data?: UpdateAssumeRolePolicyCommandOutput) => void): void;
1106
1157
  updateAssumeRolePolicy(args: UpdateAssumeRolePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAssumeRolePolicyCommandOutput) => void): void;
1158
+ /**
1159
+ * @see {@link UpdateDelegationRequestCommand}
1160
+ */
1161
+ updateDelegationRequest(args: UpdateDelegationRequestCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDelegationRequestCommandOutput>;
1162
+ updateDelegationRequest(args: UpdateDelegationRequestCommandInput, cb: (err: any, data?: UpdateDelegationRequestCommandOutput) => void): void;
1163
+ updateDelegationRequest(args: UpdateDelegationRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDelegationRequestCommandOutput) => void): void;
1107
1164
  /**
1108
1165
  * @see {@link UpdateGroupCommand}
1109
1166
  */
@@ -7,9 +7,11 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { AcceptDelegationRequestCommandInput, AcceptDelegationRequestCommandOutput } from "./commands/AcceptDelegationRequestCommand";
10
11
  import { AddClientIDToOpenIDConnectProviderCommandInput, AddClientIDToOpenIDConnectProviderCommandOutput } from "./commands/AddClientIDToOpenIDConnectProviderCommand";
11
12
  import { AddRoleToInstanceProfileCommandInput, AddRoleToInstanceProfileCommandOutput } from "./commands/AddRoleToInstanceProfileCommand";
12
13
  import { AddUserToGroupCommandInput, AddUserToGroupCommandOutput } from "./commands/AddUserToGroupCommand";
14
+ import { AssociateDelegationRequestCommandInput, AssociateDelegationRequestCommandOutput } from "./commands/AssociateDelegationRequestCommand";
13
15
  import { AttachGroupPolicyCommandInput, AttachGroupPolicyCommandOutput } from "./commands/AttachGroupPolicyCommand";
14
16
  import { AttachRolePolicyCommandInput, AttachRolePolicyCommandOutput } from "./commands/AttachRolePolicyCommand";
15
17
  import { AttachUserPolicyCommandInput, AttachUserPolicyCommandOutput } from "./commands/AttachUserPolicyCommand";
@@ -71,8 +73,10 @@ import { GetAccountSummaryCommandInput, GetAccountSummaryCommandOutput } from ".
71
73
  import { GetContextKeysForCustomPolicyCommandInput, GetContextKeysForCustomPolicyCommandOutput } from "./commands/GetContextKeysForCustomPolicyCommand";
72
74
  import { GetContextKeysForPrincipalPolicyCommandInput, GetContextKeysForPrincipalPolicyCommandOutput } from "./commands/GetContextKeysForPrincipalPolicyCommand";
73
75
  import { GetCredentialReportCommandInput, GetCredentialReportCommandOutput } from "./commands/GetCredentialReportCommand";
76
+ import { GetDelegationRequestCommandInput, GetDelegationRequestCommandOutput } from "./commands/GetDelegationRequestCommand";
74
77
  import { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
75
78
  import { GetGroupPolicyCommandInput, GetGroupPolicyCommandOutput } from "./commands/GetGroupPolicyCommand";
79
+ import { GetHumanReadableSummaryCommandInput, GetHumanReadableSummaryCommandOutput } from "./commands/GetHumanReadableSummaryCommand";
76
80
  import { GetInstanceProfileCommandInput, GetInstanceProfileCommandOutput } from "./commands/GetInstanceProfileCommand";
77
81
  import { GetLoginProfileCommandInput, GetLoginProfileCommandOutput } from "./commands/GetLoginProfileCommand";
78
82
  import { GetMFADeviceCommandInput, GetMFADeviceCommandOutput } from "./commands/GetMFADeviceCommand";
@@ -95,6 +99,7 @@ import { ListAccountAliasesCommandInput, ListAccountAliasesCommandOutput } from
95
99
  import { ListAttachedGroupPoliciesCommandInput, ListAttachedGroupPoliciesCommandOutput } from "./commands/ListAttachedGroupPoliciesCommand";
96
100
  import { ListAttachedRolePoliciesCommandInput, ListAttachedRolePoliciesCommandOutput } from "./commands/ListAttachedRolePoliciesCommand";
97
101
  import { ListAttachedUserPoliciesCommandInput, ListAttachedUserPoliciesCommandOutput } from "./commands/ListAttachedUserPoliciesCommand";
102
+ import { ListDelegationRequestsCommandInput, ListDelegationRequestsCommandOutput } from "./commands/ListDelegationRequestsCommand";
98
103
  import { ListEntitiesForPolicyCommandInput, ListEntitiesForPolicyCommandOutput } from "./commands/ListEntitiesForPolicyCommand";
99
104
  import { ListGroupPoliciesCommandInput, ListGroupPoliciesCommandOutput } from "./commands/ListGroupPoliciesCommand";
100
105
  import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
@@ -130,11 +135,13 @@ import { PutRolePermissionsBoundaryCommandInput, PutRolePermissionsBoundaryComma
130
135
  import { PutRolePolicyCommandInput, PutRolePolicyCommandOutput } from "./commands/PutRolePolicyCommand";
131
136
  import { PutUserPermissionsBoundaryCommandInput, PutUserPermissionsBoundaryCommandOutput } from "./commands/PutUserPermissionsBoundaryCommand";
132
137
  import { PutUserPolicyCommandInput, PutUserPolicyCommandOutput } from "./commands/PutUserPolicyCommand";
138
+ import { RejectDelegationRequestCommandInput, RejectDelegationRequestCommandOutput } from "./commands/RejectDelegationRequestCommand";
133
139
  import { RemoveClientIDFromOpenIDConnectProviderCommandInput, RemoveClientIDFromOpenIDConnectProviderCommandOutput } from "./commands/RemoveClientIDFromOpenIDConnectProviderCommand";
134
140
  import { RemoveRoleFromInstanceProfileCommandInput, RemoveRoleFromInstanceProfileCommandOutput } from "./commands/RemoveRoleFromInstanceProfileCommand";
135
141
  import { RemoveUserFromGroupCommandInput, RemoveUserFromGroupCommandOutput } from "./commands/RemoveUserFromGroupCommand";
136
142
  import { ResetServiceSpecificCredentialCommandInput, ResetServiceSpecificCredentialCommandOutput } from "./commands/ResetServiceSpecificCredentialCommand";
137
143
  import { ResyncMFADeviceCommandInput, ResyncMFADeviceCommandOutput } from "./commands/ResyncMFADeviceCommand";
144
+ import { SendDelegationTokenCommandInput, SendDelegationTokenCommandOutput } from "./commands/SendDelegationTokenCommand";
138
145
  import { SetDefaultPolicyVersionCommandInput, SetDefaultPolicyVersionCommandOutput } from "./commands/SetDefaultPolicyVersionCommand";
139
146
  import { SetSecurityTokenServicePreferencesCommandInput, SetSecurityTokenServicePreferencesCommandOutput } from "./commands/SetSecurityTokenServicePreferencesCommand";
140
147
  import { SimulateCustomPolicyCommandInput, SimulateCustomPolicyCommandOutput } from "./commands/SimulateCustomPolicyCommand";
@@ -158,6 +165,7 @@ import { UntagUserCommandInput, UntagUserCommandOutput } from "./commands/UntagU
158
165
  import { UpdateAccessKeyCommandInput, UpdateAccessKeyCommandOutput } from "./commands/UpdateAccessKeyCommand";
159
166
  import { UpdateAccountPasswordPolicyCommandInput, UpdateAccountPasswordPolicyCommandOutput } from "./commands/UpdateAccountPasswordPolicyCommand";
160
167
  import { UpdateAssumeRolePolicyCommandInput, UpdateAssumeRolePolicyCommandOutput } from "./commands/UpdateAssumeRolePolicyCommand";
168
+ import { UpdateDelegationRequestCommandInput, UpdateDelegationRequestCommandOutput } from "./commands/UpdateDelegationRequestCommand";
161
169
  import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
162
170
  import { UpdateLoginProfileCommandInput, UpdateLoginProfileCommandOutput } from "./commands/UpdateLoginProfileCommand";
163
171
  import { UpdateOpenIDConnectProviderThumbprintCommandInput, UpdateOpenIDConnectProviderThumbprintCommandOutput } from "./commands/UpdateOpenIDConnectProviderThumbprintCommand";
@@ -178,11 +186,11 @@ export { __Client };
178
186
  /**
179
187
  * @public
180
188
  */
181
- export type ServiceInputTypes = AddClientIDToOpenIDConnectProviderCommandInput | AddRoleToInstanceProfileCommandInput | AddUserToGroupCommandInput | AttachGroupPolicyCommandInput | AttachRolePolicyCommandInput | AttachUserPolicyCommandInput | ChangePasswordCommandInput | CreateAccessKeyCommandInput | CreateAccountAliasCommandInput | CreateDelegationRequestCommandInput | CreateGroupCommandInput | CreateInstanceProfileCommandInput | CreateLoginProfileCommandInput | CreateOpenIDConnectProviderCommandInput | CreatePolicyCommandInput | CreatePolicyVersionCommandInput | CreateRoleCommandInput | CreateSAMLProviderCommandInput | CreateServiceLinkedRoleCommandInput | CreateServiceSpecificCredentialCommandInput | CreateUserCommandInput | CreateVirtualMFADeviceCommandInput | DeactivateMFADeviceCommandInput | DeleteAccessKeyCommandInput | DeleteAccountAliasCommandInput | DeleteAccountPasswordPolicyCommandInput | DeleteGroupCommandInput | DeleteGroupPolicyCommandInput | DeleteInstanceProfileCommandInput | DeleteLoginProfileCommandInput | DeleteOpenIDConnectProviderCommandInput | DeletePolicyCommandInput | DeletePolicyVersionCommandInput | DeleteRoleCommandInput | DeleteRolePermissionsBoundaryCommandInput | DeleteRolePolicyCommandInput | DeleteSAMLProviderCommandInput | DeleteSSHPublicKeyCommandInput | DeleteServerCertificateCommandInput | DeleteServiceLinkedRoleCommandInput | DeleteServiceSpecificCredentialCommandInput | DeleteSigningCertificateCommandInput | DeleteUserCommandInput | DeleteUserPermissionsBoundaryCommandInput | DeleteUserPolicyCommandInput | DeleteVirtualMFADeviceCommandInput | DetachGroupPolicyCommandInput | DetachRolePolicyCommandInput | DetachUserPolicyCommandInput | DisableOrganizationsRootCredentialsManagementCommandInput | DisableOrganizationsRootSessionsCommandInput | EnableMFADeviceCommandInput | EnableOrganizationsRootCredentialsManagementCommandInput | EnableOrganizationsRootSessionsCommandInput | GenerateCredentialReportCommandInput | GenerateOrganizationsAccessReportCommandInput | GenerateServiceLastAccessedDetailsCommandInput | GetAccessKeyLastUsedCommandInput | GetAccountAuthorizationDetailsCommandInput | GetAccountPasswordPolicyCommandInput | GetAccountSummaryCommandInput | GetContextKeysForCustomPolicyCommandInput | GetContextKeysForPrincipalPolicyCommandInput | GetCredentialReportCommandInput | GetGroupCommandInput | GetGroupPolicyCommandInput | GetInstanceProfileCommandInput | GetLoginProfileCommandInput | GetMFADeviceCommandInput | GetOpenIDConnectProviderCommandInput | GetOrganizationsAccessReportCommandInput | GetPolicyCommandInput | GetPolicyVersionCommandInput | GetRoleCommandInput | GetRolePolicyCommandInput | GetSAMLProviderCommandInput | GetSSHPublicKeyCommandInput | GetServerCertificateCommandInput | GetServiceLastAccessedDetailsCommandInput | GetServiceLastAccessedDetailsWithEntitiesCommandInput | GetServiceLinkedRoleDeletionStatusCommandInput | GetUserCommandInput | GetUserPolicyCommandInput | ListAccessKeysCommandInput | ListAccountAliasesCommandInput | ListAttachedGroupPoliciesCommandInput | ListAttachedRolePoliciesCommandInput | ListAttachedUserPoliciesCommandInput | ListEntitiesForPolicyCommandInput | ListGroupPoliciesCommandInput | ListGroupsCommandInput | ListGroupsForUserCommandInput | ListInstanceProfileTagsCommandInput | ListInstanceProfilesCommandInput | ListInstanceProfilesForRoleCommandInput | ListMFADeviceTagsCommandInput | ListMFADevicesCommandInput | ListOpenIDConnectProviderTagsCommandInput | ListOpenIDConnectProvidersCommandInput | ListOrganizationsFeaturesCommandInput | ListPoliciesCommandInput | ListPoliciesGrantingServiceAccessCommandInput | ListPolicyTagsCommandInput | ListPolicyVersionsCommandInput | ListRolePoliciesCommandInput | ListRoleTagsCommandInput | ListRolesCommandInput | ListSAMLProviderTagsCommandInput | ListSAMLProvidersCommandInput | ListSSHPublicKeysCommandInput | ListServerCertificateTagsCommandInput | ListServerCertificatesCommandInput | ListServiceSpecificCredentialsCommandInput | ListSigningCertificatesCommandInput | ListUserPoliciesCommandInput | ListUserTagsCommandInput | ListUsersCommandInput | ListVirtualMFADevicesCommandInput | PutGroupPolicyCommandInput | PutRolePermissionsBoundaryCommandInput | PutRolePolicyCommandInput | PutUserPermissionsBoundaryCommandInput | PutUserPolicyCommandInput | RemoveClientIDFromOpenIDConnectProviderCommandInput | RemoveRoleFromInstanceProfileCommandInput | RemoveUserFromGroupCommandInput | ResetServiceSpecificCredentialCommandInput | ResyncMFADeviceCommandInput | SetDefaultPolicyVersionCommandInput | SetSecurityTokenServicePreferencesCommandInput | SimulateCustomPolicyCommandInput | SimulatePrincipalPolicyCommandInput | TagInstanceProfileCommandInput | TagMFADeviceCommandInput | TagOpenIDConnectProviderCommandInput | TagPolicyCommandInput | TagRoleCommandInput | TagSAMLProviderCommandInput | TagServerCertificateCommandInput | TagUserCommandInput | UntagInstanceProfileCommandInput | UntagMFADeviceCommandInput | UntagOpenIDConnectProviderCommandInput | UntagPolicyCommandInput | UntagRoleCommandInput | UntagSAMLProviderCommandInput | UntagServerCertificateCommandInput | UntagUserCommandInput | UpdateAccessKeyCommandInput | UpdateAccountPasswordPolicyCommandInput | UpdateAssumeRolePolicyCommandInput | UpdateGroupCommandInput | UpdateLoginProfileCommandInput | UpdateOpenIDConnectProviderThumbprintCommandInput | UpdateRoleCommandInput | UpdateRoleDescriptionCommandInput | UpdateSAMLProviderCommandInput | UpdateSSHPublicKeyCommandInput | UpdateServerCertificateCommandInput | UpdateServiceSpecificCredentialCommandInput | UpdateSigningCertificateCommandInput | UpdateUserCommandInput | UploadSSHPublicKeyCommandInput | UploadServerCertificateCommandInput | UploadSigningCertificateCommandInput;
189
+ export type ServiceInputTypes = AcceptDelegationRequestCommandInput | AddClientIDToOpenIDConnectProviderCommandInput | AddRoleToInstanceProfileCommandInput | AddUserToGroupCommandInput | AssociateDelegationRequestCommandInput | AttachGroupPolicyCommandInput | AttachRolePolicyCommandInput | AttachUserPolicyCommandInput | ChangePasswordCommandInput | CreateAccessKeyCommandInput | CreateAccountAliasCommandInput | CreateDelegationRequestCommandInput | CreateGroupCommandInput | CreateInstanceProfileCommandInput | CreateLoginProfileCommandInput | CreateOpenIDConnectProviderCommandInput | CreatePolicyCommandInput | CreatePolicyVersionCommandInput | CreateRoleCommandInput | CreateSAMLProviderCommandInput | CreateServiceLinkedRoleCommandInput | CreateServiceSpecificCredentialCommandInput | CreateUserCommandInput | CreateVirtualMFADeviceCommandInput | DeactivateMFADeviceCommandInput | DeleteAccessKeyCommandInput | DeleteAccountAliasCommandInput | DeleteAccountPasswordPolicyCommandInput | DeleteGroupCommandInput | DeleteGroupPolicyCommandInput | DeleteInstanceProfileCommandInput | DeleteLoginProfileCommandInput | DeleteOpenIDConnectProviderCommandInput | DeletePolicyCommandInput | DeletePolicyVersionCommandInput | DeleteRoleCommandInput | DeleteRolePermissionsBoundaryCommandInput | DeleteRolePolicyCommandInput | DeleteSAMLProviderCommandInput | DeleteSSHPublicKeyCommandInput | DeleteServerCertificateCommandInput | DeleteServiceLinkedRoleCommandInput | DeleteServiceSpecificCredentialCommandInput | DeleteSigningCertificateCommandInput | DeleteUserCommandInput | DeleteUserPermissionsBoundaryCommandInput | DeleteUserPolicyCommandInput | DeleteVirtualMFADeviceCommandInput | DetachGroupPolicyCommandInput | DetachRolePolicyCommandInput | DetachUserPolicyCommandInput | DisableOrganizationsRootCredentialsManagementCommandInput | DisableOrganizationsRootSessionsCommandInput | EnableMFADeviceCommandInput | EnableOrganizationsRootCredentialsManagementCommandInput | EnableOrganizationsRootSessionsCommandInput | GenerateCredentialReportCommandInput | GenerateOrganizationsAccessReportCommandInput | GenerateServiceLastAccessedDetailsCommandInput | GetAccessKeyLastUsedCommandInput | GetAccountAuthorizationDetailsCommandInput | GetAccountPasswordPolicyCommandInput | GetAccountSummaryCommandInput | GetContextKeysForCustomPolicyCommandInput | GetContextKeysForPrincipalPolicyCommandInput | GetCredentialReportCommandInput | GetDelegationRequestCommandInput | GetGroupCommandInput | GetGroupPolicyCommandInput | GetHumanReadableSummaryCommandInput | GetInstanceProfileCommandInput | GetLoginProfileCommandInput | GetMFADeviceCommandInput | GetOpenIDConnectProviderCommandInput | GetOrganizationsAccessReportCommandInput | GetPolicyCommandInput | GetPolicyVersionCommandInput | GetRoleCommandInput | GetRolePolicyCommandInput | GetSAMLProviderCommandInput | GetSSHPublicKeyCommandInput | GetServerCertificateCommandInput | GetServiceLastAccessedDetailsCommandInput | GetServiceLastAccessedDetailsWithEntitiesCommandInput | GetServiceLinkedRoleDeletionStatusCommandInput | GetUserCommandInput | GetUserPolicyCommandInput | ListAccessKeysCommandInput | ListAccountAliasesCommandInput | ListAttachedGroupPoliciesCommandInput | ListAttachedRolePoliciesCommandInput | ListAttachedUserPoliciesCommandInput | ListDelegationRequestsCommandInput | ListEntitiesForPolicyCommandInput | ListGroupPoliciesCommandInput | ListGroupsCommandInput | ListGroupsForUserCommandInput | ListInstanceProfileTagsCommandInput | ListInstanceProfilesCommandInput | ListInstanceProfilesForRoleCommandInput | ListMFADeviceTagsCommandInput | ListMFADevicesCommandInput | ListOpenIDConnectProviderTagsCommandInput | ListOpenIDConnectProvidersCommandInput | ListOrganizationsFeaturesCommandInput | ListPoliciesCommandInput | ListPoliciesGrantingServiceAccessCommandInput | ListPolicyTagsCommandInput | ListPolicyVersionsCommandInput | ListRolePoliciesCommandInput | ListRoleTagsCommandInput | ListRolesCommandInput | ListSAMLProviderTagsCommandInput | ListSAMLProvidersCommandInput | ListSSHPublicKeysCommandInput | ListServerCertificateTagsCommandInput | ListServerCertificatesCommandInput | ListServiceSpecificCredentialsCommandInput | ListSigningCertificatesCommandInput | ListUserPoliciesCommandInput | ListUserTagsCommandInput | ListUsersCommandInput | ListVirtualMFADevicesCommandInput | PutGroupPolicyCommandInput | PutRolePermissionsBoundaryCommandInput | PutRolePolicyCommandInput | PutUserPermissionsBoundaryCommandInput | PutUserPolicyCommandInput | RejectDelegationRequestCommandInput | RemoveClientIDFromOpenIDConnectProviderCommandInput | RemoveRoleFromInstanceProfileCommandInput | RemoveUserFromGroupCommandInput | ResetServiceSpecificCredentialCommandInput | ResyncMFADeviceCommandInput | SendDelegationTokenCommandInput | SetDefaultPolicyVersionCommandInput | SetSecurityTokenServicePreferencesCommandInput | SimulateCustomPolicyCommandInput | SimulatePrincipalPolicyCommandInput | TagInstanceProfileCommandInput | TagMFADeviceCommandInput | TagOpenIDConnectProviderCommandInput | TagPolicyCommandInput | TagRoleCommandInput | TagSAMLProviderCommandInput | TagServerCertificateCommandInput | TagUserCommandInput | UntagInstanceProfileCommandInput | UntagMFADeviceCommandInput | UntagOpenIDConnectProviderCommandInput | UntagPolicyCommandInput | UntagRoleCommandInput | UntagSAMLProviderCommandInput | UntagServerCertificateCommandInput | UntagUserCommandInput | UpdateAccessKeyCommandInput | UpdateAccountPasswordPolicyCommandInput | UpdateAssumeRolePolicyCommandInput | UpdateDelegationRequestCommandInput | UpdateGroupCommandInput | UpdateLoginProfileCommandInput | UpdateOpenIDConnectProviderThumbprintCommandInput | UpdateRoleCommandInput | UpdateRoleDescriptionCommandInput | UpdateSAMLProviderCommandInput | UpdateSSHPublicKeyCommandInput | UpdateServerCertificateCommandInput | UpdateServiceSpecificCredentialCommandInput | UpdateSigningCertificateCommandInput | UpdateUserCommandInput | UploadSSHPublicKeyCommandInput | UploadServerCertificateCommandInput | UploadSigningCertificateCommandInput;
182
190
  /**
183
191
  * @public
184
192
  */
185
- export type ServiceOutputTypes = AddClientIDToOpenIDConnectProviderCommandOutput | AddRoleToInstanceProfileCommandOutput | AddUserToGroupCommandOutput | AttachGroupPolicyCommandOutput | AttachRolePolicyCommandOutput | AttachUserPolicyCommandOutput | ChangePasswordCommandOutput | CreateAccessKeyCommandOutput | CreateAccountAliasCommandOutput | CreateDelegationRequestCommandOutput | CreateGroupCommandOutput | CreateInstanceProfileCommandOutput | CreateLoginProfileCommandOutput | CreateOpenIDConnectProviderCommandOutput | CreatePolicyCommandOutput | CreatePolicyVersionCommandOutput | CreateRoleCommandOutput | CreateSAMLProviderCommandOutput | CreateServiceLinkedRoleCommandOutput | CreateServiceSpecificCredentialCommandOutput | CreateUserCommandOutput | CreateVirtualMFADeviceCommandOutput | DeactivateMFADeviceCommandOutput | DeleteAccessKeyCommandOutput | DeleteAccountAliasCommandOutput | DeleteAccountPasswordPolicyCommandOutput | DeleteGroupCommandOutput | DeleteGroupPolicyCommandOutput | DeleteInstanceProfileCommandOutput | DeleteLoginProfileCommandOutput | DeleteOpenIDConnectProviderCommandOutput | DeletePolicyCommandOutput | DeletePolicyVersionCommandOutput | DeleteRoleCommandOutput | DeleteRolePermissionsBoundaryCommandOutput | DeleteRolePolicyCommandOutput | DeleteSAMLProviderCommandOutput | DeleteSSHPublicKeyCommandOutput | DeleteServerCertificateCommandOutput | DeleteServiceLinkedRoleCommandOutput | DeleteServiceSpecificCredentialCommandOutput | DeleteSigningCertificateCommandOutput | DeleteUserCommandOutput | DeleteUserPermissionsBoundaryCommandOutput | DeleteUserPolicyCommandOutput | DeleteVirtualMFADeviceCommandOutput | DetachGroupPolicyCommandOutput | DetachRolePolicyCommandOutput | DetachUserPolicyCommandOutput | DisableOrganizationsRootCredentialsManagementCommandOutput | DisableOrganizationsRootSessionsCommandOutput | EnableMFADeviceCommandOutput | EnableOrganizationsRootCredentialsManagementCommandOutput | EnableOrganizationsRootSessionsCommandOutput | GenerateCredentialReportCommandOutput | GenerateOrganizationsAccessReportCommandOutput | GenerateServiceLastAccessedDetailsCommandOutput | GetAccessKeyLastUsedCommandOutput | GetAccountAuthorizationDetailsCommandOutput | GetAccountPasswordPolicyCommandOutput | GetAccountSummaryCommandOutput | GetContextKeysForCustomPolicyCommandOutput | GetContextKeysForPrincipalPolicyCommandOutput | GetCredentialReportCommandOutput | GetGroupCommandOutput | GetGroupPolicyCommandOutput | GetInstanceProfileCommandOutput | GetLoginProfileCommandOutput | GetMFADeviceCommandOutput | GetOpenIDConnectProviderCommandOutput | GetOrganizationsAccessReportCommandOutput | GetPolicyCommandOutput | GetPolicyVersionCommandOutput | GetRoleCommandOutput | GetRolePolicyCommandOutput | GetSAMLProviderCommandOutput | GetSSHPublicKeyCommandOutput | GetServerCertificateCommandOutput | GetServiceLastAccessedDetailsCommandOutput | GetServiceLastAccessedDetailsWithEntitiesCommandOutput | GetServiceLinkedRoleDeletionStatusCommandOutput | GetUserCommandOutput | GetUserPolicyCommandOutput | ListAccessKeysCommandOutput | ListAccountAliasesCommandOutput | ListAttachedGroupPoliciesCommandOutput | ListAttachedRolePoliciesCommandOutput | ListAttachedUserPoliciesCommandOutput | ListEntitiesForPolicyCommandOutput | ListGroupPoliciesCommandOutput | ListGroupsCommandOutput | ListGroupsForUserCommandOutput | ListInstanceProfileTagsCommandOutput | ListInstanceProfilesCommandOutput | ListInstanceProfilesForRoleCommandOutput | ListMFADeviceTagsCommandOutput | ListMFADevicesCommandOutput | ListOpenIDConnectProviderTagsCommandOutput | ListOpenIDConnectProvidersCommandOutput | ListOrganizationsFeaturesCommandOutput | ListPoliciesCommandOutput | ListPoliciesGrantingServiceAccessCommandOutput | ListPolicyTagsCommandOutput | ListPolicyVersionsCommandOutput | ListRolePoliciesCommandOutput | ListRoleTagsCommandOutput | ListRolesCommandOutput | ListSAMLProviderTagsCommandOutput | ListSAMLProvidersCommandOutput | ListSSHPublicKeysCommandOutput | ListServerCertificateTagsCommandOutput | ListServerCertificatesCommandOutput | ListServiceSpecificCredentialsCommandOutput | ListSigningCertificatesCommandOutput | ListUserPoliciesCommandOutput | ListUserTagsCommandOutput | ListUsersCommandOutput | ListVirtualMFADevicesCommandOutput | PutGroupPolicyCommandOutput | PutRolePermissionsBoundaryCommandOutput | PutRolePolicyCommandOutput | PutUserPermissionsBoundaryCommandOutput | PutUserPolicyCommandOutput | RemoveClientIDFromOpenIDConnectProviderCommandOutput | RemoveRoleFromInstanceProfileCommandOutput | RemoveUserFromGroupCommandOutput | ResetServiceSpecificCredentialCommandOutput | ResyncMFADeviceCommandOutput | SetDefaultPolicyVersionCommandOutput | SetSecurityTokenServicePreferencesCommandOutput | SimulateCustomPolicyCommandOutput | SimulatePrincipalPolicyCommandOutput | TagInstanceProfileCommandOutput | TagMFADeviceCommandOutput | TagOpenIDConnectProviderCommandOutput | TagPolicyCommandOutput | TagRoleCommandOutput | TagSAMLProviderCommandOutput | TagServerCertificateCommandOutput | TagUserCommandOutput | UntagInstanceProfileCommandOutput | UntagMFADeviceCommandOutput | UntagOpenIDConnectProviderCommandOutput | UntagPolicyCommandOutput | UntagRoleCommandOutput | UntagSAMLProviderCommandOutput | UntagServerCertificateCommandOutput | UntagUserCommandOutput | UpdateAccessKeyCommandOutput | UpdateAccountPasswordPolicyCommandOutput | UpdateAssumeRolePolicyCommandOutput | UpdateGroupCommandOutput | UpdateLoginProfileCommandOutput | UpdateOpenIDConnectProviderThumbprintCommandOutput | UpdateRoleCommandOutput | UpdateRoleDescriptionCommandOutput | UpdateSAMLProviderCommandOutput | UpdateSSHPublicKeyCommandOutput | UpdateServerCertificateCommandOutput | UpdateServiceSpecificCredentialCommandOutput | UpdateSigningCertificateCommandOutput | UpdateUserCommandOutput | UploadSSHPublicKeyCommandOutput | UploadServerCertificateCommandOutput | UploadSigningCertificateCommandOutput;
193
+ export type ServiceOutputTypes = AcceptDelegationRequestCommandOutput | AddClientIDToOpenIDConnectProviderCommandOutput | AddRoleToInstanceProfileCommandOutput | AddUserToGroupCommandOutput | AssociateDelegationRequestCommandOutput | AttachGroupPolicyCommandOutput | AttachRolePolicyCommandOutput | AttachUserPolicyCommandOutput | ChangePasswordCommandOutput | CreateAccessKeyCommandOutput | CreateAccountAliasCommandOutput | CreateDelegationRequestCommandOutput | CreateGroupCommandOutput | CreateInstanceProfileCommandOutput | CreateLoginProfileCommandOutput | CreateOpenIDConnectProviderCommandOutput | CreatePolicyCommandOutput | CreatePolicyVersionCommandOutput | CreateRoleCommandOutput | CreateSAMLProviderCommandOutput | CreateServiceLinkedRoleCommandOutput | CreateServiceSpecificCredentialCommandOutput | CreateUserCommandOutput | CreateVirtualMFADeviceCommandOutput | DeactivateMFADeviceCommandOutput | DeleteAccessKeyCommandOutput | DeleteAccountAliasCommandOutput | DeleteAccountPasswordPolicyCommandOutput | DeleteGroupCommandOutput | DeleteGroupPolicyCommandOutput | DeleteInstanceProfileCommandOutput | DeleteLoginProfileCommandOutput | DeleteOpenIDConnectProviderCommandOutput | DeletePolicyCommandOutput | DeletePolicyVersionCommandOutput | DeleteRoleCommandOutput | DeleteRolePermissionsBoundaryCommandOutput | DeleteRolePolicyCommandOutput | DeleteSAMLProviderCommandOutput | DeleteSSHPublicKeyCommandOutput | DeleteServerCertificateCommandOutput | DeleteServiceLinkedRoleCommandOutput | DeleteServiceSpecificCredentialCommandOutput | DeleteSigningCertificateCommandOutput | DeleteUserCommandOutput | DeleteUserPermissionsBoundaryCommandOutput | DeleteUserPolicyCommandOutput | DeleteVirtualMFADeviceCommandOutput | DetachGroupPolicyCommandOutput | DetachRolePolicyCommandOutput | DetachUserPolicyCommandOutput | DisableOrganizationsRootCredentialsManagementCommandOutput | DisableOrganizationsRootSessionsCommandOutput | EnableMFADeviceCommandOutput | EnableOrganizationsRootCredentialsManagementCommandOutput | EnableOrganizationsRootSessionsCommandOutput | GenerateCredentialReportCommandOutput | GenerateOrganizationsAccessReportCommandOutput | GenerateServiceLastAccessedDetailsCommandOutput | GetAccessKeyLastUsedCommandOutput | GetAccountAuthorizationDetailsCommandOutput | GetAccountPasswordPolicyCommandOutput | GetAccountSummaryCommandOutput | GetContextKeysForCustomPolicyCommandOutput | GetContextKeysForPrincipalPolicyCommandOutput | GetCredentialReportCommandOutput | GetDelegationRequestCommandOutput | GetGroupCommandOutput | GetGroupPolicyCommandOutput | GetHumanReadableSummaryCommandOutput | GetInstanceProfileCommandOutput | GetLoginProfileCommandOutput | GetMFADeviceCommandOutput | GetOpenIDConnectProviderCommandOutput | GetOrganizationsAccessReportCommandOutput | GetPolicyCommandOutput | GetPolicyVersionCommandOutput | GetRoleCommandOutput | GetRolePolicyCommandOutput | GetSAMLProviderCommandOutput | GetSSHPublicKeyCommandOutput | GetServerCertificateCommandOutput | GetServiceLastAccessedDetailsCommandOutput | GetServiceLastAccessedDetailsWithEntitiesCommandOutput | GetServiceLinkedRoleDeletionStatusCommandOutput | GetUserCommandOutput | GetUserPolicyCommandOutput | ListAccessKeysCommandOutput | ListAccountAliasesCommandOutput | ListAttachedGroupPoliciesCommandOutput | ListAttachedRolePoliciesCommandOutput | ListAttachedUserPoliciesCommandOutput | ListDelegationRequestsCommandOutput | ListEntitiesForPolicyCommandOutput | ListGroupPoliciesCommandOutput | ListGroupsCommandOutput | ListGroupsForUserCommandOutput | ListInstanceProfileTagsCommandOutput | ListInstanceProfilesCommandOutput | ListInstanceProfilesForRoleCommandOutput | ListMFADeviceTagsCommandOutput | ListMFADevicesCommandOutput | ListOpenIDConnectProviderTagsCommandOutput | ListOpenIDConnectProvidersCommandOutput | ListOrganizationsFeaturesCommandOutput | ListPoliciesCommandOutput | ListPoliciesGrantingServiceAccessCommandOutput | ListPolicyTagsCommandOutput | ListPolicyVersionsCommandOutput | ListRolePoliciesCommandOutput | ListRoleTagsCommandOutput | ListRolesCommandOutput | ListSAMLProviderTagsCommandOutput | ListSAMLProvidersCommandOutput | ListSSHPublicKeysCommandOutput | ListServerCertificateTagsCommandOutput | ListServerCertificatesCommandOutput | ListServiceSpecificCredentialsCommandOutput | ListSigningCertificatesCommandOutput | ListUserPoliciesCommandOutput | ListUserTagsCommandOutput | ListUsersCommandOutput | ListVirtualMFADevicesCommandOutput | PutGroupPolicyCommandOutput | PutRolePermissionsBoundaryCommandOutput | PutRolePolicyCommandOutput | PutUserPermissionsBoundaryCommandOutput | PutUserPolicyCommandOutput | RejectDelegationRequestCommandOutput | RemoveClientIDFromOpenIDConnectProviderCommandOutput | RemoveRoleFromInstanceProfileCommandOutput | RemoveUserFromGroupCommandOutput | ResetServiceSpecificCredentialCommandOutput | ResyncMFADeviceCommandOutput | SendDelegationTokenCommandOutput | SetDefaultPolicyVersionCommandOutput | SetSecurityTokenServicePreferencesCommandOutput | SimulateCustomPolicyCommandOutput | SimulatePrincipalPolicyCommandOutput | TagInstanceProfileCommandOutput | TagMFADeviceCommandOutput | TagOpenIDConnectProviderCommandOutput | TagPolicyCommandOutput | TagRoleCommandOutput | TagSAMLProviderCommandOutput | TagServerCertificateCommandOutput | TagUserCommandOutput | UntagInstanceProfileCommandOutput | UntagMFADeviceCommandOutput | UntagOpenIDConnectProviderCommandOutput | UntagPolicyCommandOutput | UntagRoleCommandOutput | UntagSAMLProviderCommandOutput | UntagServerCertificateCommandOutput | UntagUserCommandOutput | UpdateAccessKeyCommandOutput | UpdateAccountPasswordPolicyCommandOutput | UpdateAssumeRolePolicyCommandOutput | UpdateDelegationRequestCommandOutput | UpdateGroupCommandOutput | UpdateLoginProfileCommandOutput | UpdateOpenIDConnectProviderThumbprintCommandOutput | UpdateRoleCommandOutput | UpdateRoleDescriptionCommandOutput | UpdateSAMLProviderCommandOutput | UpdateSSHPublicKeyCommandOutput | UpdateServerCertificateCommandOutput | UpdateServiceSpecificCredentialCommandOutput | UpdateSigningCertificateCommandOutput | UpdateUserCommandOutput | UploadSSHPublicKeyCommandOutput | UploadServerCertificateCommandOutput | UploadSigningCertificateCommandOutput;
186
194
  /**
187
195
  * @public
188
196
  */
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
4
+ import { AcceptDelegationRequestRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AcceptDelegationRequestCommand}.
14
+ */
15
+ export interface AcceptDelegationRequestCommandInput extends AcceptDelegationRequestRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AcceptDelegationRequestCommand}.
21
+ */
22
+ export interface AcceptDelegationRequestCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const AcceptDelegationRequestCommand_base: {
25
+ new (input: AcceptDelegationRequestCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptDelegationRequestCommandInput, AcceptDelegationRequestCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AcceptDelegationRequestCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptDelegationRequestCommandInput, AcceptDelegationRequestCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Accepts a delegation request, granting the requested temporary access.</p>
31
+ * <p>Once the delegation request is accepted, it is eligible to send the exchange token to the partner.
32
+ * The <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SendDelegationToken.html">SendDelegationToken</a>
33
+ * API has to be explicitly called to send the delegation token.
34
+ * </p>
35
+ * <p>At the time of acceptance, IAM records the details and the state of the identity that called this API.
36
+ * This is the identity that gets mapped to the delegated credential.
37
+ * </p>
38
+ * <p>An accepted request may be rejected before the exchange token is sent to the partner.</p>
39
+ * @example
40
+ * Use a bare-bones client and the command you need to make an API call.
41
+ * ```javascript
42
+ * import { IAMClient, AcceptDelegationRequestCommand } from "@aws-sdk/client-iam"; // ES Modules import
43
+ * // const { IAMClient, AcceptDelegationRequestCommand } = require("@aws-sdk/client-iam"); // CommonJS import
44
+ * // import type { IAMClientConfig } from "@aws-sdk/client-iam";
45
+ * const config = {}; // type is IAMClientConfig
46
+ * const client = new IAMClient(config);
47
+ * const input = { // AcceptDelegationRequestRequest
48
+ * DelegationRequestId: "STRING_VALUE", // required
49
+ * };
50
+ * const command = new AcceptDelegationRequestCommand(input);
51
+ * const response = await client.send(command);
52
+ * // {};
53
+ *
54
+ * ```
55
+ *
56
+ * @param AcceptDelegationRequestCommandInput - {@link AcceptDelegationRequestCommandInput}
57
+ * @returns {@link AcceptDelegationRequestCommandOutput}
58
+ * @see {@link AcceptDelegationRequestCommandInput} for command's `input` shape.
59
+ * @see {@link AcceptDelegationRequestCommandOutput} for command's `response` shape.
60
+ * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
61
+ *
62
+ * @throws {@link ConcurrentModificationException} (client fault)
63
+ * <p>The request was rejected because multiple requests to change this object were submitted
64
+ * simultaneously. Wait a few minutes and submit your request again.</p>
65
+ *
66
+ * @throws {@link NoSuchEntityException} (client fault)
67
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
68
+ * error message describes the resource.</p>
69
+ *
70
+ * @throws {@link ServiceFailureException} (server fault)
71
+ * <p>The request processing has failed because of an unknown error, exception or
72
+ * failure.</p>
73
+ *
74
+ * @throws {@link IAMServiceException}
75
+ * <p>Base exception class for all service exceptions from IAM service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class AcceptDelegationRequestCommand extends AcceptDelegationRequestCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: AcceptDelegationRequestRequest;
85
+ output: {};
86
+ };
87
+ sdk: {
88
+ input: AcceptDelegationRequestCommandInput;
89
+ output: AcceptDelegationRequestCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,108 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
4
+ import { AssociateDelegationRequestRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AssociateDelegationRequestCommand}.
14
+ */
15
+ export interface AssociateDelegationRequestCommandInput extends AssociateDelegationRequestRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateDelegationRequestCommand}.
21
+ */
22
+ export interface AssociateDelegationRequestCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const AssociateDelegationRequestCommand_base: {
25
+ new (input: AssociateDelegationRequestCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDelegationRequestCommandInput, AssociateDelegationRequestCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssociateDelegationRequestCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDelegationRequestCommandInput, AssociateDelegationRequestCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Associates a delegation request with the current identity.</p>
31
+ * <p>If the partner that created the delegation request has specified the owner account during creation,
32
+ * only an identity from that owner account can call the <code>AssociateDelegationRequest</code> API for
33
+ * the specified delegation request. Once the <code>AssociateDelegationRequest</code> API call is successful,
34
+ * the ARN of the current calling identity will be stored as the
35
+ * <code>ownerId</code>
36
+ * of the request.
37
+ * </p>
38
+ * <p>If the partner that created the delegation request has not specified the owner account during creation,
39
+ * any caller from any account can call the <code>AssociateDelegationRequest</code> API for
40
+ * the delegation request. Once this API call is successful, the ARN of the current calling identity will be stored as the
41
+ * <code>ownerId</code>
42
+ * and the Amazon Web Services account ID of the current calling identity will be stored as the
43
+ * <code>ownerAccount</code>
44
+ * of the request.
45
+ * </p>
46
+ * <p>
47
+ * For more details, see
48
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation.html#temporary-delegation-managing-permissions">
49
+ * Managing Permissions for Delegation Requests</a>.
50
+ * </p>
51
+ * @example
52
+ * Use a bare-bones client and the command you need to make an API call.
53
+ * ```javascript
54
+ * import { IAMClient, AssociateDelegationRequestCommand } from "@aws-sdk/client-iam"; // ES Modules import
55
+ * // const { IAMClient, AssociateDelegationRequestCommand } = require("@aws-sdk/client-iam"); // CommonJS import
56
+ * // import type { IAMClientConfig } from "@aws-sdk/client-iam";
57
+ * const config = {}; // type is IAMClientConfig
58
+ * const client = new IAMClient(config);
59
+ * const input = { // AssociateDelegationRequestRequest
60
+ * DelegationRequestId: "STRING_VALUE", // required
61
+ * };
62
+ * const command = new AssociateDelegationRequestCommand(input);
63
+ * const response = await client.send(command);
64
+ * // {};
65
+ *
66
+ * ```
67
+ *
68
+ * @param AssociateDelegationRequestCommandInput - {@link AssociateDelegationRequestCommandInput}
69
+ * @returns {@link AssociateDelegationRequestCommandOutput}
70
+ * @see {@link AssociateDelegationRequestCommandInput} for command's `input` shape.
71
+ * @see {@link AssociateDelegationRequestCommandOutput} for command's `response` shape.
72
+ * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
73
+ *
74
+ * @throws {@link ConcurrentModificationException} (client fault)
75
+ * <p>The request was rejected because multiple requests to change this object were submitted
76
+ * simultaneously. Wait a few minutes and submit your request again.</p>
77
+ *
78
+ * @throws {@link InvalidInputException} (client fault)
79
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
80
+ * input parameter.</p>
81
+ *
82
+ * @throws {@link NoSuchEntityException} (client fault)
83
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
84
+ * error message describes the resource.</p>
85
+ *
86
+ * @throws {@link ServiceFailureException} (server fault)
87
+ * <p>The request processing has failed because of an unknown error, exception or
88
+ * failure.</p>
89
+ *
90
+ * @throws {@link IAMServiceException}
91
+ * <p>Base exception class for all service exceptions from IAM service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class AssociateDelegationRequestCommand extends AssociateDelegationRequestCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: AssociateDelegationRequestRequest;
101
+ output: {};
102
+ };
103
+ sdk: {
104
+ input: AssociateDelegationRequestCommandInput;
105
+ output: AssociateDelegationRequestCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -27,7 +27,11 @@ declare const CreateDelegationRequestCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>This API is currently unavailable for general use.</p>
30
+ * <p>Creates an IAM delegation request for temporary access delegation.</p>
31
+ * <p>This API is not available for general use. In order to use this API, a caller first need to
32
+ * go through an onboarding process described in the
33
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation-partner-guide.html">partner onboarding documentation</a>.
34
+ * </p>
31
35
  * @example
32
36
  * Use a bare-bones client and the command you need to make an API call.
33
37
  * ```javascript
@@ -49,13 +49,13 @@ declare const GenerateOrganizationsAccessReportCommand_base: {
49
49
  * service last accessed data</a> in the
50
50
  * <i>IAM User Guide</i>.</p>
51
51
  * <important>
52
- * <p>The data includes all attempts to access Amazon Web Services, not just the successful ones. This
52
+ * <p>The data includes all attempts to access Amazon Web Services, not just the successful ones. This
53
53
  * includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any
54
54
  * of the SDKs, or any of the command line tools. An unexpected entry in the service
55
55
  * last accessed data does not mean that an account has been compromised, because the
56
56
  * request might have been denied. Refer to your CloudTrail logs as the authoritative
57
57
  * source for information about all API calls and whether they were successful or
58
- * denied access. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging IAM events with
58
+ * denied access. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging IAM events with
59
59
  * CloudTrail</a> in the <i>IAM User Guide</i>.</p>
60
60
  * </important>
61
61
  * <p>This operation returns a <code>JobId</code>. Use this parameter in the <code>
@@ -35,13 +35,13 @@ declare const GenerateServiceLastAccessedDetailsCommand_base: {
35
35
  * actions for which action last accessed information is displayed, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor-action-last-accessed.html">IAM
36
36
  * action last accessed information services and actions</a>.</p>
37
37
  * <important>
38
- * <p>The service last accessed data includes all attempts to access an Amazon Web Services API, not
38
+ * <p>The service last accessed data includes all attempts to access an Amazon Web Services API, not
39
39
  * just the successful ones. This includes all attempts that were made using the
40
40
  * Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools.
41
41
  * An unexpected entry in the service last accessed data does not mean that your
42
42
  * account has been compromised, because the request might have been denied. Refer to
43
43
  * your CloudTrail logs as the authoritative source for information about all API calls
44
- * and whether they were successful or denied access. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging
44
+ * and whether they were successful or denied access. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging
45
45
  * IAM events with CloudTrail</a> in the
46
46
  * <i>IAM User Guide</i>.</p>
47
47
  * </important>