@aws-sdk/client-iam 3.933.0 → 3.935.0

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 (116) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +623 -216
  3. package/dist-es/IAM.js +22 -0
  4. package/dist-es/commands/AcceptDelegationRequestCommand.js +16 -0
  5. package/dist-es/commands/AssociateDelegationRequestCommand.js +16 -0
  6. package/dist-es/commands/DisableOutboundWebIdentityFederationCommand.js +16 -0
  7. package/dist-es/commands/EnableOutboundWebIdentityFederationCommand.js +16 -0
  8. package/dist-es/commands/GetDelegationRequestCommand.js +16 -0
  9. package/dist-es/commands/GetHumanReadableSummaryCommand.js +16 -0
  10. package/dist-es/commands/GetOutboundWebIdentityFederationInfoCommand.js +16 -0
  11. package/dist-es/commands/ListDelegationRequestsCommand.js +16 -0
  12. package/dist-es/commands/RejectDelegationRequestCommand.js +16 -0
  13. package/dist-es/commands/SendDelegationTokenCommand.js +16 -0
  14. package/dist-es/commands/UpdateDelegationRequestCommand.js +16 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/index.js +2 -1
  17. package/dist-es/models/enums.js +176 -0
  18. package/dist-es/models/errors.js +431 -0
  19. package/dist-es/models/models_0.js +1 -446
  20. package/dist-es/models/models_1.js +1 -113
  21. package/dist-es/schemas/schemas_0.js +234 -35
  22. package/dist-types/IAM.d.ts +81 -0
  23. package/dist-types/IAMClient.d.ts +13 -2
  24. package/dist-types/commands/AcceptDelegationRequestCommand.d.ts +92 -0
  25. package/dist-types/commands/AssociateDelegationRequestCommand.d.ts +108 -0
  26. package/dist-types/commands/CreateDelegationRequestCommand.d.ts +5 -1
  27. package/dist-types/commands/DisableOutboundWebIdentityFederationCommand.d.ts +74 -0
  28. package/dist-types/commands/EnableOutboundWebIdentityFederationCommand.d.ts +78 -0
  29. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +2 -2
  30. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +2 -2
  31. package/dist-types/commands/GetDelegationRequestCommand.d.ts +127 -0
  32. package/dist-types/commands/GetHumanReadableSummaryCommand.d.ts +105 -0
  33. package/dist-types/commands/GetOutboundWebIdentityFederationInfoCommand.d.ts +77 -0
  34. package/dist-types/commands/ListDelegationRequestsCommand.d.ts +132 -0
  35. package/dist-types/commands/RejectDelegationRequestCommand.d.ts +96 -0
  36. package/dist-types/commands/SendDelegationTokenCommand.d.ts +98 -0
  37. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  38. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -1
  39. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
  40. package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -1
  41. package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -1
  42. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  43. package/dist-types/commands/TagPolicyCommand.d.ts +1 -1
  44. package/dist-types/commands/TagRoleCommand.d.ts +1 -1
  45. package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
  46. package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
  47. package/dist-types/commands/TagUserCommand.d.ts +1 -1
  48. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
  49. package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
  50. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  51. package/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
  52. package/dist-types/commands/UntagRoleCommand.d.ts +1 -1
  53. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
  54. package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
  55. package/dist-types/commands/UntagUserCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateDelegationRequestCommand.d.ts +96 -0
  60. package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +1 -1
  62. package/dist-types/commands/index.d.ts +11 -0
  63. package/dist-types/index.d.ts +4 -1
  64. package/dist-types/models/enums.d.ts +392 -0
  65. package/dist-types/models/errors.d.ts +463 -0
  66. package/dist-types/models/models_0.d.ts +1695 -675
  67. package/dist-types/models/models_1.d.ts +2 -1392
  68. package/dist-types/schemas/schemas_0.d.ts +29 -0
  69. package/dist-types/ts3.4/IAM.d.ts +209 -0
  70. package/dist-types/ts3.4/IAMClient.d.ts +66 -0
  71. package/dist-types/ts3.4/commands/AcceptDelegationRequestCommand.d.ts +47 -0
  72. package/dist-types/ts3.4/commands/AssociateDelegationRequestCommand.d.ts +47 -0
  73. package/dist-types/ts3.4/commands/DisableOutboundWebIdentityFederationCommand.d.ts +45 -0
  74. package/dist-types/ts3.4/commands/EnableOutboundWebIdentityFederationCommand.d.ts +47 -0
  75. package/dist-types/ts3.4/commands/GetDelegationRequestCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/GetHumanReadableSummaryCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/GetOutboundWebIdentityFederationInfoCommand.d.ts +47 -0
  78. package/dist-types/ts3.4/commands/ListDelegationRequestsCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/RejectDelegationRequestCommand.d.ts +47 -0
  80. package/dist-types/ts3.4/commands/SendDelegationTokenCommand.d.ts +46 -0
  81. package/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/UpdateDelegationRequestCommand.d.ts +47 -0
  104. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  107. package/dist-types/ts3.4/index.d.ts +4 -1
  108. package/dist-types/ts3.4/models/enums.d.ts +222 -0
  109. package/dist-types/ts3.4/models/errors.d.ts +297 -0
  110. package/dist-types/ts3.4/models/models_0.d.ts +279 -390
  111. package/dist-types/ts3.4/models/models_1.d.ts +1 -265
  112. package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
  113. package/package.json +12 -12
  114. package/dist-es/models/index.js +0 -2
  115. package/dist-types/models/index.d.ts +0 -2
  116. package/dist-types/ts3.4/models/index.d.ts +0 -2
package/dist-es/IAM.js CHANGED
@@ -1,7 +1,9 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { AcceptDelegationRequestCommand, } from "./commands/AcceptDelegationRequestCommand";
2
3
  import { AddClientIDToOpenIDConnectProviderCommand, } from "./commands/AddClientIDToOpenIDConnectProviderCommand";
3
4
  import { AddRoleToInstanceProfileCommand, } from "./commands/AddRoleToInstanceProfileCommand";
4
5
  import { AddUserToGroupCommand, } from "./commands/AddUserToGroupCommand";
6
+ import { AssociateDelegationRequestCommand, } from "./commands/AssociateDelegationRequestCommand";
5
7
  import { AttachGroupPolicyCommand, } from "./commands/AttachGroupPolicyCommand";
6
8
  import { AttachRolePolicyCommand, } from "./commands/AttachRolePolicyCommand";
7
9
  import { AttachUserPolicyCommand, } from "./commands/AttachUserPolicyCommand";
@@ -50,9 +52,11 @@ import { DetachRolePolicyCommand, } from "./commands/DetachRolePolicyCommand";
50
52
  import { DetachUserPolicyCommand, } from "./commands/DetachUserPolicyCommand";
51
53
  import { DisableOrganizationsRootCredentialsManagementCommand, } from "./commands/DisableOrganizationsRootCredentialsManagementCommand";
52
54
  import { DisableOrganizationsRootSessionsCommand, } from "./commands/DisableOrganizationsRootSessionsCommand";
55
+ import { DisableOutboundWebIdentityFederationCommand, } from "./commands/DisableOutboundWebIdentityFederationCommand";
53
56
  import { EnableMFADeviceCommand, } from "./commands/EnableMFADeviceCommand";
54
57
  import { EnableOrganizationsRootCredentialsManagementCommand, } from "./commands/EnableOrganizationsRootCredentialsManagementCommand";
55
58
  import { EnableOrganizationsRootSessionsCommand, } from "./commands/EnableOrganizationsRootSessionsCommand";
59
+ import { EnableOutboundWebIdentityFederationCommand, } from "./commands/EnableOutboundWebIdentityFederationCommand";
56
60
  import { GenerateCredentialReportCommand, } from "./commands/GenerateCredentialReportCommand";
57
61
  import { GenerateOrganizationsAccessReportCommand, } from "./commands/GenerateOrganizationsAccessReportCommand";
58
62
  import { GenerateServiceLastAccessedDetailsCommand, } from "./commands/GenerateServiceLastAccessedDetailsCommand";
@@ -63,13 +67,16 @@ import { GetAccountSummaryCommand, } from "./commands/GetAccountSummaryCommand";
63
67
  import { GetContextKeysForCustomPolicyCommand, } from "./commands/GetContextKeysForCustomPolicyCommand";
64
68
  import { GetContextKeysForPrincipalPolicyCommand, } from "./commands/GetContextKeysForPrincipalPolicyCommand";
65
69
  import { GetCredentialReportCommand, } from "./commands/GetCredentialReportCommand";
70
+ import { GetDelegationRequestCommand, } from "./commands/GetDelegationRequestCommand";
66
71
  import { GetGroupCommand } from "./commands/GetGroupCommand";
67
72
  import { GetGroupPolicyCommand, } from "./commands/GetGroupPolicyCommand";
73
+ import { GetHumanReadableSummaryCommand, } from "./commands/GetHumanReadableSummaryCommand";
68
74
  import { GetInstanceProfileCommand, } from "./commands/GetInstanceProfileCommand";
69
75
  import { GetLoginProfileCommand, } from "./commands/GetLoginProfileCommand";
70
76
  import { GetMFADeviceCommand, } from "./commands/GetMFADeviceCommand";
71
77
  import { GetOpenIDConnectProviderCommand, } from "./commands/GetOpenIDConnectProviderCommand";
72
78
  import { GetOrganizationsAccessReportCommand, } from "./commands/GetOrganizationsAccessReportCommand";
79
+ import { GetOutboundWebIdentityFederationInfoCommand, } from "./commands/GetOutboundWebIdentityFederationInfoCommand";
73
80
  import { GetPolicyCommand } from "./commands/GetPolicyCommand";
74
81
  import { GetPolicyVersionCommand, } from "./commands/GetPolicyVersionCommand";
75
82
  import { GetRoleCommand } from "./commands/GetRoleCommand";
@@ -87,6 +94,7 @@ import { ListAccountAliasesCommand, } from "./commands/ListAccountAliasesCommand
87
94
  import { ListAttachedGroupPoliciesCommand, } from "./commands/ListAttachedGroupPoliciesCommand";
88
95
  import { ListAttachedRolePoliciesCommand, } from "./commands/ListAttachedRolePoliciesCommand";
89
96
  import { ListAttachedUserPoliciesCommand, } from "./commands/ListAttachedUserPoliciesCommand";
97
+ import { ListDelegationRequestsCommand, } from "./commands/ListDelegationRequestsCommand";
90
98
  import { ListEntitiesForPolicyCommand, } from "./commands/ListEntitiesForPolicyCommand";
91
99
  import { ListGroupPoliciesCommand, } from "./commands/ListGroupPoliciesCommand";
92
100
  import { ListGroupsCommand } from "./commands/ListGroupsCommand";
@@ -122,11 +130,13 @@ import { PutRolePermissionsBoundaryCommand, } from "./commands/PutRolePermission
122
130
  import { PutRolePolicyCommand, } from "./commands/PutRolePolicyCommand";
123
131
  import { PutUserPermissionsBoundaryCommand, } from "./commands/PutUserPermissionsBoundaryCommand";
124
132
  import { PutUserPolicyCommand, } from "./commands/PutUserPolicyCommand";
133
+ import { RejectDelegationRequestCommand, } from "./commands/RejectDelegationRequestCommand";
125
134
  import { RemoveClientIDFromOpenIDConnectProviderCommand, } from "./commands/RemoveClientIDFromOpenIDConnectProviderCommand";
126
135
  import { RemoveRoleFromInstanceProfileCommand, } from "./commands/RemoveRoleFromInstanceProfileCommand";
127
136
  import { RemoveUserFromGroupCommand, } from "./commands/RemoveUserFromGroupCommand";
128
137
  import { ResetServiceSpecificCredentialCommand, } from "./commands/ResetServiceSpecificCredentialCommand";
129
138
  import { ResyncMFADeviceCommand, } from "./commands/ResyncMFADeviceCommand";
139
+ import { SendDelegationTokenCommand, } from "./commands/SendDelegationTokenCommand";
130
140
  import { SetDefaultPolicyVersionCommand, } from "./commands/SetDefaultPolicyVersionCommand";
131
141
  import { SetSecurityTokenServicePreferencesCommand, } from "./commands/SetSecurityTokenServicePreferencesCommand";
132
142
  import { SimulateCustomPolicyCommand, } from "./commands/SimulateCustomPolicyCommand";
@@ -150,6 +160,7 @@ import { UntagUserCommand } from "./commands/UntagUserCommand";
150
160
  import { UpdateAccessKeyCommand, } from "./commands/UpdateAccessKeyCommand";
151
161
  import { UpdateAccountPasswordPolicyCommand, } from "./commands/UpdateAccountPasswordPolicyCommand";
152
162
  import { UpdateAssumeRolePolicyCommand, } from "./commands/UpdateAssumeRolePolicyCommand";
163
+ import { UpdateDelegationRequestCommand, } from "./commands/UpdateDelegationRequestCommand";
153
164
  import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
154
165
  import { UpdateLoginProfileCommand, } from "./commands/UpdateLoginProfileCommand";
155
166
  import { UpdateOpenIDConnectProviderThumbprintCommand, } from "./commands/UpdateOpenIDConnectProviderThumbprintCommand";
@@ -166,9 +177,11 @@ import { UploadSigningCertificateCommand, } from "./commands/UploadSigningCertif
166
177
  import { UploadSSHPublicKeyCommand, } from "./commands/UploadSSHPublicKeyCommand";
167
178
  import { IAMClient } from "./IAMClient";
168
179
  const commands = {
180
+ AcceptDelegationRequestCommand,
169
181
  AddClientIDToOpenIDConnectProviderCommand,
170
182
  AddRoleToInstanceProfileCommand,
171
183
  AddUserToGroupCommand,
184
+ AssociateDelegationRequestCommand,
172
185
  AttachGroupPolicyCommand,
173
186
  AttachRolePolicyCommand,
174
187
  AttachUserPolicyCommand,
@@ -217,9 +230,11 @@ const commands = {
217
230
  DetachUserPolicyCommand,
218
231
  DisableOrganizationsRootCredentialsManagementCommand,
219
232
  DisableOrganizationsRootSessionsCommand,
233
+ DisableOutboundWebIdentityFederationCommand,
220
234
  EnableMFADeviceCommand,
221
235
  EnableOrganizationsRootCredentialsManagementCommand,
222
236
  EnableOrganizationsRootSessionsCommand,
237
+ EnableOutboundWebIdentityFederationCommand,
223
238
  GenerateCredentialReportCommand,
224
239
  GenerateOrganizationsAccessReportCommand,
225
240
  GenerateServiceLastAccessedDetailsCommand,
@@ -230,13 +245,16 @@ const commands = {
230
245
  GetContextKeysForCustomPolicyCommand,
231
246
  GetContextKeysForPrincipalPolicyCommand,
232
247
  GetCredentialReportCommand,
248
+ GetDelegationRequestCommand,
233
249
  GetGroupCommand,
234
250
  GetGroupPolicyCommand,
251
+ GetHumanReadableSummaryCommand,
235
252
  GetInstanceProfileCommand,
236
253
  GetLoginProfileCommand,
237
254
  GetMFADeviceCommand,
238
255
  GetOpenIDConnectProviderCommand,
239
256
  GetOrganizationsAccessReportCommand,
257
+ GetOutboundWebIdentityFederationInfoCommand,
240
258
  GetPolicyCommand,
241
259
  GetPolicyVersionCommand,
242
260
  GetRoleCommand,
@@ -254,6 +272,7 @@ const commands = {
254
272
  ListAttachedGroupPoliciesCommand,
255
273
  ListAttachedRolePoliciesCommand,
256
274
  ListAttachedUserPoliciesCommand,
275
+ ListDelegationRequestsCommand,
257
276
  ListEntitiesForPolicyCommand,
258
277
  ListGroupPoliciesCommand,
259
278
  ListGroupsCommand,
@@ -289,11 +308,13 @@ const commands = {
289
308
  PutRolePolicyCommand,
290
309
  PutUserPermissionsBoundaryCommand,
291
310
  PutUserPolicyCommand,
311
+ RejectDelegationRequestCommand,
292
312
  RemoveClientIDFromOpenIDConnectProviderCommand,
293
313
  RemoveRoleFromInstanceProfileCommand,
294
314
  RemoveUserFromGroupCommand,
295
315
  ResetServiceSpecificCredentialCommand,
296
316
  ResyncMFADeviceCommand,
317
+ SendDelegationTokenCommand,
297
318
  SetDefaultPolicyVersionCommand,
298
319
  SetSecurityTokenServicePreferencesCommand,
299
320
  SimulateCustomPolicyCommand,
@@ -317,6 +338,7 @@ const commands = {
317
338
  UpdateAccessKeyCommand,
318
339
  UpdateAccountPasswordPolicyCommand,
319
340
  UpdateAssumeRolePolicyCommand,
341
+ UpdateDelegationRequestCommand,
320
342
  UpdateGroupCommand,
321
343
  UpdateLoginProfileCommand,
322
344
  UpdateOpenIDConnectProviderThumbprintCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { AcceptDelegationRequest } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class AcceptDelegationRequestCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "AcceptDelegationRequest", {})
13
+ .n("IAMClient", "AcceptDelegationRequestCommand")
14
+ .sc(AcceptDelegationRequest)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { AssociateDelegationRequest } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class AssociateDelegationRequestCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "AssociateDelegationRequest", {})
13
+ .n("IAMClient", "AssociateDelegationRequestCommand")
14
+ .sc(AssociateDelegationRequest)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DisableOutboundWebIdentityFederation } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DisableOutboundWebIdentityFederationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "DisableOutboundWebIdentityFederation", {})
13
+ .n("IAMClient", "DisableOutboundWebIdentityFederationCommand")
14
+ .sc(DisableOutboundWebIdentityFederation)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { EnableOutboundWebIdentityFederation } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class EnableOutboundWebIdentityFederationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "EnableOutboundWebIdentityFederation", {})
13
+ .n("IAMClient", "EnableOutboundWebIdentityFederationCommand")
14
+ .sc(EnableOutboundWebIdentityFederation)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetDelegationRequest } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetDelegationRequestCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "GetDelegationRequest", {})
13
+ .n("IAMClient", "GetDelegationRequestCommand")
14
+ .sc(GetDelegationRequest)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetHumanReadableSummary } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetHumanReadableSummaryCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "GetHumanReadableSummary", {})
13
+ .n("IAMClient", "GetHumanReadableSummaryCommand")
14
+ .sc(GetHumanReadableSummary)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetOutboundWebIdentityFederationInfo } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetOutboundWebIdentityFederationInfoCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "GetOutboundWebIdentityFederationInfo", {})
13
+ .n("IAMClient", "GetOutboundWebIdentityFederationInfoCommand")
14
+ .sc(GetOutboundWebIdentityFederationInfo)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListDelegationRequests } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListDelegationRequestsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "ListDelegationRequests", {})
13
+ .n("IAMClient", "ListDelegationRequestsCommand")
14
+ .sc(ListDelegationRequests)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { RejectDelegationRequest } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class RejectDelegationRequestCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "RejectDelegationRequest", {})
13
+ .n("IAMClient", "RejectDelegationRequestCommand")
14
+ .sc(RejectDelegationRequest)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { SendDelegationToken } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class SendDelegationTokenCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "SendDelegationToken", {})
13
+ .n("IAMClient", "SendDelegationTokenCommand")
14
+ .sc(SendDelegationToken)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateDelegationRequest } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateDelegationRequestCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSIdentityManagementV20100508", "UpdateDelegationRequest", {})
13
+ .n("IAMClient", "UpdateDelegationRequestCommand")
14
+ .sc(UpdateDelegationRequest)
15
+ .build() {
16
+ }
@@ -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";
@@ -49,9 +51,11 @@ export * from "./DetachRolePolicyCommand";
49
51
  export * from "./DetachUserPolicyCommand";
50
52
  export * from "./DisableOrganizationsRootCredentialsManagementCommand";
51
53
  export * from "./DisableOrganizationsRootSessionsCommand";
54
+ export * from "./DisableOutboundWebIdentityFederationCommand";
52
55
  export * from "./EnableMFADeviceCommand";
53
56
  export * from "./EnableOrganizationsRootCredentialsManagementCommand";
54
57
  export * from "./EnableOrganizationsRootSessionsCommand";
58
+ export * from "./EnableOutboundWebIdentityFederationCommand";
55
59
  export * from "./GenerateCredentialReportCommand";
56
60
  export * from "./GenerateOrganizationsAccessReportCommand";
57
61
  export * from "./GenerateServiceLastAccessedDetailsCommand";
@@ -62,13 +66,16 @@ export * from "./GetAccountSummaryCommand";
62
66
  export * from "./GetContextKeysForCustomPolicyCommand";
63
67
  export * from "./GetContextKeysForPrincipalPolicyCommand";
64
68
  export * from "./GetCredentialReportCommand";
69
+ export * from "./GetDelegationRequestCommand";
65
70
  export * from "./GetGroupCommand";
66
71
  export * from "./GetGroupPolicyCommand";
72
+ export * from "./GetHumanReadableSummaryCommand";
67
73
  export * from "./GetInstanceProfileCommand";
68
74
  export * from "./GetLoginProfileCommand";
69
75
  export * from "./GetMFADeviceCommand";
70
76
  export * from "./GetOpenIDConnectProviderCommand";
71
77
  export * from "./GetOrganizationsAccessReportCommand";
78
+ export * from "./GetOutboundWebIdentityFederationInfoCommand";
72
79
  export * from "./GetPolicyCommand";
73
80
  export * from "./GetPolicyVersionCommand";
74
81
  export * from "./GetRoleCommand";
@@ -86,6 +93,7 @@ export * from "./ListAccountAliasesCommand";
86
93
  export * from "./ListAttachedGroupPoliciesCommand";
87
94
  export * from "./ListAttachedRolePoliciesCommand";
88
95
  export * from "./ListAttachedUserPoliciesCommand";
96
+ export * from "./ListDelegationRequestsCommand";
89
97
  export * from "./ListEntitiesForPolicyCommand";
90
98
  export * from "./ListGroupPoliciesCommand";
91
99
  export * from "./ListGroupsCommand";
@@ -121,11 +129,13 @@ export * from "./PutRolePermissionsBoundaryCommand";
121
129
  export * from "./PutRolePolicyCommand";
122
130
  export * from "./PutUserPermissionsBoundaryCommand";
123
131
  export * from "./PutUserPolicyCommand";
132
+ export * from "./RejectDelegationRequestCommand";
124
133
  export * from "./RemoveClientIDFromOpenIDConnectProviderCommand";
125
134
  export * from "./RemoveRoleFromInstanceProfileCommand";
126
135
  export * from "./RemoveUserFromGroupCommand";
127
136
  export * from "./ResetServiceSpecificCredentialCommand";
128
137
  export * from "./ResyncMFADeviceCommand";
138
+ export * from "./SendDelegationTokenCommand";
129
139
  export * from "./SetDefaultPolicyVersionCommand";
130
140
  export * from "./SetSecurityTokenServicePreferencesCommand";
131
141
  export * from "./SimulateCustomPolicyCommand";
@@ -149,6 +159,7 @@ export * from "./UntagUserCommand";
149
159
  export * from "./UpdateAccessKeyCommand";
150
160
  export * from "./UpdateAccountPasswordPolicyCommand";
151
161
  export * from "./UpdateAssumeRolePolicyCommand";
162
+ export * from "./UpdateDelegationRequestCommand";
152
163
  export * from "./UpdateGroupCommand";
153
164
  export * from "./UpdateLoginProfileCommand";
154
165
  export * from "./UpdateOpenIDConnectProviderThumbprintCommand";
package/dist-es/index.js CHANGED
@@ -3,5 +3,6 @@ export * from "./IAM";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
- export * from "./models";
6
+ export * from "./models/enums";
7
+ export * from "./models/errors";
7
8
  export { IAMServiceException } from "./models/IAMServiceException";
@@ -0,0 +1,176 @@
1
+ export const AccessAdvisorUsageGranularityType = {
2
+ ACTION_LEVEL: "ACTION_LEVEL",
3
+ SERVICE_LEVEL: "SERVICE_LEVEL",
4
+ };
5
+ export const StatusType = {
6
+ Active: "Active",
7
+ Expired: "Expired",
8
+ Inactive: "Inactive",
9
+ };
10
+ export const AssertionEncryptionModeType = {
11
+ Allowed: "Allowed",
12
+ Required: "Required",
13
+ };
14
+ export const AssignmentStatusType = {
15
+ Any: "Any",
16
+ Assigned: "Assigned",
17
+ Unassigned: "Unassigned",
18
+ };
19
+ export const PermissionsBoundaryAttachmentType = {
20
+ Policy: "PermissionsBoundaryPolicy",
21
+ };
22
+ export const PolicyParameterTypeEnum = {
23
+ STRING: "string",
24
+ STRING_LIST: "stringList",
25
+ };
26
+ export const FeatureType = {
27
+ ROOT_CREDENTIALS_MANAGEMENT: "RootCredentialsManagement",
28
+ ROOT_SESSIONS: "RootSessions",
29
+ };
30
+ export const ReportStateType = {
31
+ COMPLETE: "COMPLETE",
32
+ INPROGRESS: "INPROGRESS",
33
+ STARTED: "STARTED",
34
+ };
35
+ export const EntityType = {
36
+ AWSManagedPolicy: "AWSManagedPolicy",
37
+ Group: "Group",
38
+ LocalManagedPolicy: "LocalManagedPolicy",
39
+ Role: "Role",
40
+ User: "User",
41
+ };
42
+ export const SummaryKeyType = {
43
+ AccessKeysPerUserQuota: "AccessKeysPerUserQuota",
44
+ AccountAccessKeysPresent: "AccountAccessKeysPresent",
45
+ AccountMFAEnabled: "AccountMFAEnabled",
46
+ AccountPasswordPresent: "AccountPasswordPresent",
47
+ AccountSigningCertificatesPresent: "AccountSigningCertificatesPresent",
48
+ AssumeRolePolicySizeQuota: "AssumeRolePolicySizeQuota",
49
+ AttachedPoliciesPerGroupQuota: "AttachedPoliciesPerGroupQuota",
50
+ AttachedPoliciesPerRoleQuota: "AttachedPoliciesPerRoleQuota",
51
+ AttachedPoliciesPerUserQuota: "AttachedPoliciesPerUserQuota",
52
+ GlobalEndpointTokenVersion: "GlobalEndpointTokenVersion",
53
+ GroupPolicySizeQuota: "GroupPolicySizeQuota",
54
+ Groups: "Groups",
55
+ GroupsPerUserQuota: "GroupsPerUserQuota",
56
+ GroupsQuota: "GroupsQuota",
57
+ InstanceProfiles: "InstanceProfiles",
58
+ InstanceProfilesQuota: "InstanceProfilesQuota",
59
+ MFADevices: "MFADevices",
60
+ MFADevicesInUse: "MFADevicesInUse",
61
+ Policies: "Policies",
62
+ PoliciesQuota: "PoliciesQuota",
63
+ PolicySizeQuota: "PolicySizeQuota",
64
+ PolicyVersionsInUse: "PolicyVersionsInUse",
65
+ PolicyVersionsInUseQuota: "PolicyVersionsInUseQuota",
66
+ Providers: "Providers",
67
+ RolePolicySizeQuota: "RolePolicySizeQuota",
68
+ Roles: "Roles",
69
+ RolesQuota: "RolesQuota",
70
+ ServerCertificates: "ServerCertificates",
71
+ ServerCertificatesQuota: "ServerCertificatesQuota",
72
+ SigningCertificatesPerUserQuota: "SigningCertificatesPerUserQuota",
73
+ UserPolicySizeQuota: "UserPolicySizeQuota",
74
+ Users: "Users",
75
+ UsersQuota: "UsersQuota",
76
+ VersionsPerPolicyQuota: "VersionsPerPolicyQuota",
77
+ };
78
+ export const ReportFormatType = {
79
+ text_csv: "text/csv",
80
+ };
81
+ export const StateType = {
82
+ ACCEPTED: "ACCEPTED",
83
+ ASSIGNED: "ASSIGNED",
84
+ EXPIRED: "EXPIRED",
85
+ FINALIZED: "FINALIZED",
86
+ PENDING_APPROVAL: "PENDING_APPROVAL",
87
+ REJECTED: "REJECTED",
88
+ UNASSIGNED: "UNASSIGNED",
89
+ };
90
+ export const PermissionCheckResultType = {
91
+ ALLOWED: "ALLOWED",
92
+ DENIED: "DENIED",
93
+ UNSURE: "UNSURE",
94
+ };
95
+ export const PermissionCheckStatusType = {
96
+ COMPLETE: "COMPLETE",
97
+ FAILED: "FAILED",
98
+ IN_PROGRESS: "IN_PROGRESS",
99
+ };
100
+ export const SummaryStateType = {
101
+ AVAILABLE: "AVAILABLE",
102
+ FAILED: "FAILED",
103
+ NOT_AVAILABLE: "NOT_AVAILABLE",
104
+ NOT_SUPPORTED: "NOT_SUPPORTED",
105
+ };
106
+ export const SortKeyType = {
107
+ LAST_AUTHENTICATED_TIME_ASCENDING: "LAST_AUTHENTICATED_TIME_ASCENDING",
108
+ LAST_AUTHENTICATED_TIME_DESCENDING: "LAST_AUTHENTICATED_TIME_DESCENDING",
109
+ SERVICE_NAMESPACE_ASCENDING: "SERVICE_NAMESPACE_ASCENDING",
110
+ SERVICE_NAMESPACE_DESCENDING: "SERVICE_NAMESPACE_DESCENDING",
111
+ };
112
+ export const JobStatusType = {
113
+ COMPLETED: "COMPLETED",
114
+ FAILED: "FAILED",
115
+ IN_PROGRESS: "IN_PROGRESS",
116
+ };
117
+ export const PolicyOwnerEntityType = {
118
+ GROUP: "GROUP",
119
+ ROLE: "ROLE",
120
+ USER: "USER",
121
+ };
122
+ export const DeletionTaskStatusType = {
123
+ FAILED: "FAILED",
124
+ IN_PROGRESS: "IN_PROGRESS",
125
+ NOT_STARTED: "NOT_STARTED",
126
+ SUCCEEDED: "SUCCEEDED",
127
+ };
128
+ export const EncodingType = {
129
+ PEM: "PEM",
130
+ SSH: "SSH",
131
+ };
132
+ export const PolicyUsageType = {
133
+ PermissionsBoundary: "PermissionsBoundary",
134
+ PermissionsPolicy: "PermissionsPolicy",
135
+ };
136
+ export const PolicyScopeType = {
137
+ AWS: "AWS",
138
+ All: "All",
139
+ Local: "Local",
140
+ };
141
+ export const PolicyType = {
142
+ INLINE: "INLINE",
143
+ MANAGED: "MANAGED",
144
+ };
145
+ export const GlobalEndpointTokenVersion = {
146
+ v1Token: "v1Token",
147
+ v2Token: "v2Token",
148
+ };
149
+ export const ContextKeyTypeEnum = {
150
+ BINARY: "binary",
151
+ BINARY_LIST: "binaryList",
152
+ BOOLEAN: "boolean",
153
+ BOOLEAN_LIST: "booleanList",
154
+ DATE: "date",
155
+ DATE_LIST: "dateList",
156
+ IP: "ip",
157
+ IP_LIST: "ipList",
158
+ NUMERIC: "numeric",
159
+ NUMERIC_LIST: "numericList",
160
+ STRING: "string",
161
+ STRING_LIST: "stringList",
162
+ };
163
+ export const PolicyEvaluationDecisionType = {
164
+ ALLOWED: "allowed",
165
+ EXPLICIT_DENY: "explicitDeny",
166
+ IMPLICIT_DENY: "implicitDeny",
167
+ };
168
+ export const PolicySourceType = {
169
+ AWS_MANAGED: "aws-managed",
170
+ GROUP: "group",
171
+ NONE: "none",
172
+ RESOURCE: "resource",
173
+ ROLE: "role",
174
+ USER: "user",
175
+ USER_MANAGED: "user-managed",
176
+ };