@aws-sdk/client-iam 3.490.0 → 3.496.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 (213) hide show
  1. package/dist-cjs/IAM.js +1 -329
  2. package/dist-cjs/IAMClient.js +1 -43
  3. package/dist-cjs/commands/AddClientIDToOpenIDConnectProviderCommand.js +1 -28
  4. package/dist-cjs/commands/AddRoleToInstanceProfileCommand.js +1 -28
  5. package/dist-cjs/commands/AddUserToGroupCommand.js +1 -28
  6. package/dist-cjs/commands/AttachGroupPolicyCommand.js +1 -28
  7. package/dist-cjs/commands/AttachRolePolicyCommand.js +1 -28
  8. package/dist-cjs/commands/AttachUserPolicyCommand.js +1 -28
  9. package/dist-cjs/commands/ChangePasswordCommand.js +1 -29
  10. package/dist-cjs/commands/CreateAccessKeyCommand.js +1 -29
  11. package/dist-cjs/commands/CreateAccountAliasCommand.js +1 -28
  12. package/dist-cjs/commands/CreateGroupCommand.js +1 -28
  13. package/dist-cjs/commands/CreateInstanceProfileCommand.js +1 -28
  14. package/dist-cjs/commands/CreateLoginProfileCommand.js +1 -29
  15. package/dist-cjs/commands/CreateOpenIDConnectProviderCommand.js +1 -28
  16. package/dist-cjs/commands/CreatePolicyCommand.js +1 -28
  17. package/dist-cjs/commands/CreatePolicyVersionCommand.js +1 -28
  18. package/dist-cjs/commands/CreateRoleCommand.js +1 -28
  19. package/dist-cjs/commands/CreateSAMLProviderCommand.js +1 -28
  20. package/dist-cjs/commands/CreateServiceLinkedRoleCommand.js +1 -28
  21. package/dist-cjs/commands/CreateServiceSpecificCredentialCommand.js +1 -29
  22. package/dist-cjs/commands/CreateUserCommand.js +1 -28
  23. package/dist-cjs/commands/CreateVirtualMFADeviceCommand.js +1 -29
  24. package/dist-cjs/commands/DeactivateMFADeviceCommand.js +1 -28
  25. package/dist-cjs/commands/DeleteAccessKeyCommand.js +1 -28
  26. package/dist-cjs/commands/DeleteAccountAliasCommand.js +1 -28
  27. package/dist-cjs/commands/DeleteAccountPasswordPolicyCommand.js +1 -28
  28. package/dist-cjs/commands/DeleteGroupCommand.js +1 -28
  29. package/dist-cjs/commands/DeleteGroupPolicyCommand.js +1 -28
  30. package/dist-cjs/commands/DeleteInstanceProfileCommand.js +1 -28
  31. package/dist-cjs/commands/DeleteLoginProfileCommand.js +1 -28
  32. package/dist-cjs/commands/DeleteOpenIDConnectProviderCommand.js +1 -28
  33. package/dist-cjs/commands/DeletePolicyCommand.js +1 -28
  34. package/dist-cjs/commands/DeletePolicyVersionCommand.js +1 -28
  35. package/dist-cjs/commands/DeleteRoleCommand.js +1 -28
  36. package/dist-cjs/commands/DeleteRolePermissionsBoundaryCommand.js +1 -28
  37. package/dist-cjs/commands/DeleteRolePolicyCommand.js +1 -28
  38. package/dist-cjs/commands/DeleteSAMLProviderCommand.js +1 -28
  39. package/dist-cjs/commands/DeleteSSHPublicKeyCommand.js +1 -28
  40. package/dist-cjs/commands/DeleteServerCertificateCommand.js +1 -28
  41. package/dist-cjs/commands/DeleteServiceLinkedRoleCommand.js +1 -28
  42. package/dist-cjs/commands/DeleteServiceSpecificCredentialCommand.js +1 -28
  43. package/dist-cjs/commands/DeleteSigningCertificateCommand.js +1 -28
  44. package/dist-cjs/commands/DeleteUserCommand.js +1 -28
  45. package/dist-cjs/commands/DeleteUserPermissionsBoundaryCommand.js +1 -28
  46. package/dist-cjs/commands/DeleteUserPolicyCommand.js +1 -28
  47. package/dist-cjs/commands/DeleteVirtualMFADeviceCommand.js +1 -28
  48. package/dist-cjs/commands/DetachGroupPolicyCommand.js +1 -28
  49. package/dist-cjs/commands/DetachRolePolicyCommand.js +1 -28
  50. package/dist-cjs/commands/DetachUserPolicyCommand.js +1 -28
  51. package/dist-cjs/commands/EnableMFADeviceCommand.js +1 -28
  52. package/dist-cjs/commands/GenerateCredentialReportCommand.js +1 -28
  53. package/dist-cjs/commands/GenerateOrganizationsAccessReportCommand.js +1 -28
  54. package/dist-cjs/commands/GenerateServiceLastAccessedDetailsCommand.js +1 -28
  55. package/dist-cjs/commands/GetAccessKeyLastUsedCommand.js +1 -28
  56. package/dist-cjs/commands/GetAccountAuthorizationDetailsCommand.js +1 -28
  57. package/dist-cjs/commands/GetAccountPasswordPolicyCommand.js +1 -28
  58. package/dist-cjs/commands/GetAccountSummaryCommand.js +1 -28
  59. package/dist-cjs/commands/GetContextKeysForCustomPolicyCommand.js +1 -28
  60. package/dist-cjs/commands/GetContextKeysForPrincipalPolicyCommand.js +1 -28
  61. package/dist-cjs/commands/GetCredentialReportCommand.js +1 -28
  62. package/dist-cjs/commands/GetGroupCommand.js +1 -28
  63. package/dist-cjs/commands/GetGroupPolicyCommand.js +1 -28
  64. package/dist-cjs/commands/GetInstanceProfileCommand.js +1 -28
  65. package/dist-cjs/commands/GetLoginProfileCommand.js +1 -28
  66. package/dist-cjs/commands/GetMFADeviceCommand.js +1 -28
  67. package/dist-cjs/commands/GetOpenIDConnectProviderCommand.js +1 -28
  68. package/dist-cjs/commands/GetOrganizationsAccessReportCommand.js +1 -28
  69. package/dist-cjs/commands/GetPolicyCommand.js +1 -28
  70. package/dist-cjs/commands/GetPolicyVersionCommand.js +1 -28
  71. package/dist-cjs/commands/GetRoleCommand.js +1 -28
  72. package/dist-cjs/commands/GetRolePolicyCommand.js +1 -28
  73. package/dist-cjs/commands/GetSAMLProviderCommand.js +1 -28
  74. package/dist-cjs/commands/GetSSHPublicKeyCommand.js +1 -28
  75. package/dist-cjs/commands/GetServerCertificateCommand.js +1 -28
  76. package/dist-cjs/commands/GetServiceLastAccessedDetailsCommand.js +1 -28
  77. package/dist-cjs/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +1 -28
  78. package/dist-cjs/commands/GetServiceLinkedRoleDeletionStatusCommand.js +1 -28
  79. package/dist-cjs/commands/GetUserCommand.js +1 -28
  80. package/dist-cjs/commands/GetUserPolicyCommand.js +1 -28
  81. package/dist-cjs/commands/ListAccessKeysCommand.js +1 -28
  82. package/dist-cjs/commands/ListAccountAliasesCommand.js +1 -28
  83. package/dist-cjs/commands/ListAttachedGroupPoliciesCommand.js +1 -28
  84. package/dist-cjs/commands/ListAttachedRolePoliciesCommand.js +1 -28
  85. package/dist-cjs/commands/ListAttachedUserPoliciesCommand.js +1 -28
  86. package/dist-cjs/commands/ListEntitiesForPolicyCommand.js +1 -28
  87. package/dist-cjs/commands/ListGroupPoliciesCommand.js +1 -28
  88. package/dist-cjs/commands/ListGroupsCommand.js +1 -28
  89. package/dist-cjs/commands/ListGroupsForUserCommand.js +1 -28
  90. package/dist-cjs/commands/ListInstanceProfileTagsCommand.js +1 -28
  91. package/dist-cjs/commands/ListInstanceProfilesCommand.js +1 -28
  92. package/dist-cjs/commands/ListInstanceProfilesForRoleCommand.js +1 -28
  93. package/dist-cjs/commands/ListMFADeviceTagsCommand.js +1 -28
  94. package/dist-cjs/commands/ListMFADevicesCommand.js +1 -28
  95. package/dist-cjs/commands/ListOpenIDConnectProviderTagsCommand.js +1 -28
  96. package/dist-cjs/commands/ListOpenIDConnectProvidersCommand.js +1 -28
  97. package/dist-cjs/commands/ListPoliciesCommand.js +1 -28
  98. package/dist-cjs/commands/ListPoliciesGrantingServiceAccessCommand.js +1 -28
  99. package/dist-cjs/commands/ListPolicyTagsCommand.js +1 -28
  100. package/dist-cjs/commands/ListPolicyVersionsCommand.js +1 -28
  101. package/dist-cjs/commands/ListRolePoliciesCommand.js +1 -28
  102. package/dist-cjs/commands/ListRoleTagsCommand.js +1 -28
  103. package/dist-cjs/commands/ListRolesCommand.js +1 -28
  104. package/dist-cjs/commands/ListSAMLProviderTagsCommand.js +1 -28
  105. package/dist-cjs/commands/ListSAMLProvidersCommand.js +1 -28
  106. package/dist-cjs/commands/ListSSHPublicKeysCommand.js +1 -28
  107. package/dist-cjs/commands/ListServerCertificateTagsCommand.js +1 -28
  108. package/dist-cjs/commands/ListServerCertificatesCommand.js +1 -28
  109. package/dist-cjs/commands/ListServiceSpecificCredentialsCommand.js +1 -28
  110. package/dist-cjs/commands/ListSigningCertificatesCommand.js +1 -28
  111. package/dist-cjs/commands/ListUserPoliciesCommand.js +1 -28
  112. package/dist-cjs/commands/ListUserTagsCommand.js +1 -28
  113. package/dist-cjs/commands/ListUsersCommand.js +1 -28
  114. package/dist-cjs/commands/ListVirtualMFADevicesCommand.js +1 -29
  115. package/dist-cjs/commands/PutGroupPolicyCommand.js +1 -28
  116. package/dist-cjs/commands/PutRolePermissionsBoundaryCommand.js +1 -28
  117. package/dist-cjs/commands/PutRolePolicyCommand.js +1 -28
  118. package/dist-cjs/commands/PutUserPermissionsBoundaryCommand.js +1 -28
  119. package/dist-cjs/commands/PutUserPolicyCommand.js +1 -28
  120. package/dist-cjs/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +1 -28
  121. package/dist-cjs/commands/RemoveRoleFromInstanceProfileCommand.js +1 -28
  122. package/dist-cjs/commands/RemoveUserFromGroupCommand.js +1 -28
  123. package/dist-cjs/commands/ResetServiceSpecificCredentialCommand.js +1 -29
  124. package/dist-cjs/commands/ResyncMFADeviceCommand.js +1 -28
  125. package/dist-cjs/commands/SetDefaultPolicyVersionCommand.js +1 -28
  126. package/dist-cjs/commands/SetSecurityTokenServicePreferencesCommand.js +1 -28
  127. package/dist-cjs/commands/SimulateCustomPolicyCommand.js +1 -28
  128. package/dist-cjs/commands/SimulatePrincipalPolicyCommand.js +1 -28
  129. package/dist-cjs/commands/TagInstanceProfileCommand.js +1 -28
  130. package/dist-cjs/commands/TagMFADeviceCommand.js +1 -28
  131. package/dist-cjs/commands/TagOpenIDConnectProviderCommand.js +1 -28
  132. package/dist-cjs/commands/TagPolicyCommand.js +1 -28
  133. package/dist-cjs/commands/TagRoleCommand.js +1 -28
  134. package/dist-cjs/commands/TagSAMLProviderCommand.js +1 -28
  135. package/dist-cjs/commands/TagServerCertificateCommand.js +1 -28
  136. package/dist-cjs/commands/TagUserCommand.js +1 -28
  137. package/dist-cjs/commands/UntagInstanceProfileCommand.js +1 -28
  138. package/dist-cjs/commands/UntagMFADeviceCommand.js +1 -28
  139. package/dist-cjs/commands/UntagOpenIDConnectProviderCommand.js +1 -28
  140. package/dist-cjs/commands/UntagPolicyCommand.js +1 -28
  141. package/dist-cjs/commands/UntagRoleCommand.js +1 -28
  142. package/dist-cjs/commands/UntagSAMLProviderCommand.js +1 -28
  143. package/dist-cjs/commands/UntagServerCertificateCommand.js +1 -28
  144. package/dist-cjs/commands/UntagUserCommand.js +1 -28
  145. package/dist-cjs/commands/UpdateAccessKeyCommand.js +1 -28
  146. package/dist-cjs/commands/UpdateAccountPasswordPolicyCommand.js +1 -28
  147. package/dist-cjs/commands/UpdateAssumeRolePolicyCommand.js +1 -28
  148. package/dist-cjs/commands/UpdateGroupCommand.js +1 -28
  149. package/dist-cjs/commands/UpdateLoginProfileCommand.js +1 -29
  150. package/dist-cjs/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +1 -28
  151. package/dist-cjs/commands/UpdateRoleCommand.js +1 -28
  152. package/dist-cjs/commands/UpdateRoleDescriptionCommand.js +1 -28
  153. package/dist-cjs/commands/UpdateSAMLProviderCommand.js +1 -28
  154. package/dist-cjs/commands/UpdateSSHPublicKeyCommand.js +1 -28
  155. package/dist-cjs/commands/UpdateServerCertificateCommand.js +1 -28
  156. package/dist-cjs/commands/UpdateServiceSpecificCredentialCommand.js +1 -28
  157. package/dist-cjs/commands/UpdateSigningCertificateCommand.js +1 -28
  158. package/dist-cjs/commands/UpdateUserCommand.js +1 -28
  159. package/dist-cjs/commands/UploadSSHPublicKeyCommand.js +1 -28
  160. package/dist-cjs/commands/UploadServerCertificateCommand.js +1 -29
  161. package/dist-cjs/commands/UploadSigningCertificateCommand.js +1 -28
  162. package/dist-cjs/commands/index.js +1 -162
  163. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  164. package/dist-cjs/extensionConfiguration.js +1 -2
  165. package/dist-cjs/index.js +17390 -12
  166. package/dist-cjs/models/IAMServiceException.js +1 -12
  167. package/dist-cjs/models/index.js +1 -5
  168. package/dist-cjs/models/models_0.js +1 -467
  169. package/dist-cjs/models/models_1.js +1 -93
  170. package/dist-cjs/pagination/GetAccountAuthorizationDetailsPaginator.js +1 -7
  171. package/dist-cjs/pagination/GetGroupPaginator.js +1 -7
  172. package/dist-cjs/pagination/Interfaces.js +1 -2
  173. package/dist-cjs/pagination/ListAccessKeysPaginator.js +1 -7
  174. package/dist-cjs/pagination/ListAccountAliasesPaginator.js +1 -7
  175. package/dist-cjs/pagination/ListAttachedGroupPoliciesPaginator.js +1 -7
  176. package/dist-cjs/pagination/ListAttachedRolePoliciesPaginator.js +1 -7
  177. package/dist-cjs/pagination/ListAttachedUserPoliciesPaginator.js +1 -7
  178. package/dist-cjs/pagination/ListEntitiesForPolicyPaginator.js +1 -7
  179. package/dist-cjs/pagination/ListGroupPoliciesPaginator.js +1 -7
  180. package/dist-cjs/pagination/ListGroupsForUserPaginator.js +1 -7
  181. package/dist-cjs/pagination/ListGroupsPaginator.js +1 -7
  182. package/dist-cjs/pagination/ListInstanceProfileTagsPaginator.js +1 -7
  183. package/dist-cjs/pagination/ListInstanceProfilesForRolePaginator.js +1 -7
  184. package/dist-cjs/pagination/ListInstanceProfilesPaginator.js +1 -7
  185. package/dist-cjs/pagination/ListMFADeviceTagsPaginator.js +1 -7
  186. package/dist-cjs/pagination/ListMFADevicesPaginator.js +1 -7
  187. package/dist-cjs/pagination/ListOpenIDConnectProviderTagsPaginator.js +1 -7
  188. package/dist-cjs/pagination/ListPoliciesPaginator.js +1 -7
  189. package/dist-cjs/pagination/ListPolicyTagsPaginator.js +1 -7
  190. package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +1 -7
  191. package/dist-cjs/pagination/ListRolePoliciesPaginator.js +1 -7
  192. package/dist-cjs/pagination/ListRoleTagsPaginator.js +1 -7
  193. package/dist-cjs/pagination/ListRolesPaginator.js +1 -7
  194. package/dist-cjs/pagination/ListSAMLProviderTagsPaginator.js +1 -7
  195. package/dist-cjs/pagination/ListSSHPublicKeysPaginator.js +1 -7
  196. package/dist-cjs/pagination/ListServerCertificateTagsPaginator.js +1 -7
  197. package/dist-cjs/pagination/ListServerCertificatesPaginator.js +1 -7
  198. package/dist-cjs/pagination/ListSigningCertificatesPaginator.js +1 -7
  199. package/dist-cjs/pagination/ListUserPoliciesPaginator.js +1 -7
  200. package/dist-cjs/pagination/ListUserTagsPaginator.js +1 -7
  201. package/dist-cjs/pagination/ListUsersPaginator.js +1 -7
  202. package/dist-cjs/pagination/ListVirtualMFADevicesPaginator.js +1 -7
  203. package/dist-cjs/pagination/SimulateCustomPolicyPaginator.js +1 -7
  204. package/dist-cjs/pagination/SimulatePrincipalPolicyPaginator.js +1 -7
  205. package/dist-cjs/pagination/index.js +1 -38
  206. package/dist-cjs/protocols/Aws_query.js +1 -13421
  207. package/dist-cjs/runtimeExtensions.js +1 -22
  208. package/dist-cjs/waiters/index.js +1 -7
  209. package/dist-cjs/waiters/waitForInstanceProfileExists.js +1 -31
  210. package/dist-cjs/waiters/waitForPolicyExists.js +1 -31
  211. package/dist-cjs/waiters/waitForRoleExists.js +1 -31
  212. package/dist-cjs/waiters/waitForUserExists.js +1 -31
  213. package/package.json +41 -41
@@ -1,22 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveRuntimeExtensions = void 0;
4
- const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
- const protocol_http_1 = require("@smithy/protocol-http");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- const asPartial = (t) => t;
8
- const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
- const extensionConfiguration = {
10
- ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
11
- ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
12
- ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
13
- };
14
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
15
- return {
16
- ...runtimeConfig,
17
- ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
18
- ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
19
- ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
20
- };
21
- };
22
- exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
1
+ module.exports = require("./index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./waitForInstanceProfileExists"), exports);
5
- tslib_1.__exportStar(require("./waitForPolicyExists"), exports);
6
- tslib_1.__exportStar(require("./waitForRoleExists"), exports);
7
- tslib_1.__exportStar(require("./waitForUserExists"), exports);
1
+ module.exports = require("../index.js");
@@ -1,31 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.waitUntilInstanceProfileExists = exports.waitForInstanceProfileExists = void 0;
4
- const util_waiter_1 = require("@smithy/util-waiter");
5
- const GetInstanceProfileCommand_1 = require("../commands/GetInstanceProfileCommand");
6
- const checkState = async (client, input) => {
7
- let reason;
8
- try {
9
- const result = await client.send(new GetInstanceProfileCommand_1.GetInstanceProfileCommand(input));
10
- reason = result;
11
- return { state: util_waiter_1.WaiterState.SUCCESS, reason };
12
- }
13
- catch (exception) {
14
- reason = exception;
15
- if (exception.name && exception.name == "NoSuchEntityException") {
16
- return { state: util_waiter_1.WaiterState.RETRY, reason };
17
- }
18
- }
19
- return { state: util_waiter_1.WaiterState.RETRY, reason };
20
- };
21
- const waitForInstanceProfileExists = async (params, input) => {
22
- const serviceDefaults = { minDelay: 1, maxDelay: 120 };
23
- return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
24
- };
25
- exports.waitForInstanceProfileExists = waitForInstanceProfileExists;
26
- const waitUntilInstanceProfileExists = async (params, input) => {
27
- const serviceDefaults = { minDelay: 1, maxDelay: 120 };
28
- const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
29
- return (0, util_waiter_1.checkExceptions)(result);
30
- };
31
- exports.waitUntilInstanceProfileExists = waitUntilInstanceProfileExists;
1
+ module.exports = require("../index.js");
@@ -1,31 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.waitUntilPolicyExists = exports.waitForPolicyExists = void 0;
4
- const util_waiter_1 = require("@smithy/util-waiter");
5
- const GetPolicyCommand_1 = require("../commands/GetPolicyCommand");
6
- const checkState = async (client, input) => {
7
- let reason;
8
- try {
9
- const result = await client.send(new GetPolicyCommand_1.GetPolicyCommand(input));
10
- reason = result;
11
- return { state: util_waiter_1.WaiterState.SUCCESS, reason };
12
- }
13
- catch (exception) {
14
- reason = exception;
15
- if (exception.name && exception.name == "NoSuchEntity") {
16
- return { state: util_waiter_1.WaiterState.RETRY, reason };
17
- }
18
- }
19
- return { state: util_waiter_1.WaiterState.RETRY, reason };
20
- };
21
- const waitForPolicyExists = async (params, input) => {
22
- const serviceDefaults = { minDelay: 1, maxDelay: 120 };
23
- return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
24
- };
25
- exports.waitForPolicyExists = waitForPolicyExists;
26
- const waitUntilPolicyExists = async (params, input) => {
27
- const serviceDefaults = { minDelay: 1, maxDelay: 120 };
28
- const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
29
- return (0, util_waiter_1.checkExceptions)(result);
30
- };
31
- exports.waitUntilPolicyExists = waitUntilPolicyExists;
1
+ module.exports = require("../index.js");
@@ -1,31 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.waitUntilRoleExists = exports.waitForRoleExists = void 0;
4
- const util_waiter_1 = require("@smithy/util-waiter");
5
- const GetRoleCommand_1 = require("../commands/GetRoleCommand");
6
- const checkState = async (client, input) => {
7
- let reason;
8
- try {
9
- const result = await client.send(new GetRoleCommand_1.GetRoleCommand(input));
10
- reason = result;
11
- return { state: util_waiter_1.WaiterState.SUCCESS, reason };
12
- }
13
- catch (exception) {
14
- reason = exception;
15
- if (exception.name && exception.name == "NoSuchEntity") {
16
- return { state: util_waiter_1.WaiterState.RETRY, reason };
17
- }
18
- }
19
- return { state: util_waiter_1.WaiterState.RETRY, reason };
20
- };
21
- const waitForRoleExists = async (params, input) => {
22
- const serviceDefaults = { minDelay: 1, maxDelay: 120 };
23
- return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
24
- };
25
- exports.waitForRoleExists = waitForRoleExists;
26
- const waitUntilRoleExists = async (params, input) => {
27
- const serviceDefaults = { minDelay: 1, maxDelay: 120 };
28
- const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
29
- return (0, util_waiter_1.checkExceptions)(result);
30
- };
31
- exports.waitUntilRoleExists = waitUntilRoleExists;
1
+ module.exports = require("../index.js");
@@ -1,31 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.waitUntilUserExists = exports.waitForUserExists = void 0;
4
- const util_waiter_1 = require("@smithy/util-waiter");
5
- const GetUserCommand_1 = require("../commands/GetUserCommand");
6
- const checkState = async (client, input) => {
7
- let reason;
8
- try {
9
- const result = await client.send(new GetUserCommand_1.GetUserCommand(input));
10
- reason = result;
11
- return { state: util_waiter_1.WaiterState.SUCCESS, reason };
12
- }
13
- catch (exception) {
14
- reason = exception;
15
- if (exception.name && exception.name == "NoSuchEntity") {
16
- return { state: util_waiter_1.WaiterState.RETRY, reason };
17
- }
18
- }
19
- return { state: util_waiter_1.WaiterState.RETRY, reason };
20
- };
21
- const waitForUserExists = async (params, input) => {
22
- const serviceDefaults = { minDelay: 1, maxDelay: 120 };
23
- return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
24
- };
25
- exports.waitForUserExists = waitForUserExists;
26
- const waitUntilUserExists = async (params, input) => {
27
- const serviceDefaults = { minDelay: 1, maxDelay: 120 };
28
- const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
29
- return (0, util_waiter_1.checkExceptions)(result);
30
- };
31
- exports.waitUntilUserExists = waitUntilUserExists;
1
+ module.exports = require("../index.js");
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.490.0",
4
+ "version": "3.496.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-iam",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
10
  "build:types": "tsc -p tsconfig.types.json",
@@ -20,49 +20,49 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.490.0",
24
- "@aws-sdk/core": "3.490.0",
25
- "@aws-sdk/credential-provider-node": "3.490.0",
26
- "@aws-sdk/middleware-host-header": "3.489.0",
27
- "@aws-sdk/middleware-logger": "3.489.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.489.0",
29
- "@aws-sdk/middleware-signing": "3.489.0",
30
- "@aws-sdk/middleware-user-agent": "3.489.0",
31
- "@aws-sdk/region-config-resolver": "3.489.0",
32
- "@aws-sdk/types": "3.489.0",
33
- "@aws-sdk/util-endpoints": "3.489.0",
34
- "@aws-sdk/util-user-agent-browser": "3.489.0",
35
- "@aws-sdk/util-user-agent-node": "3.489.0",
36
- "@smithy/config-resolver": "^2.0.23",
37
- "@smithy/core": "^1.2.2",
38
- "@smithy/fetch-http-handler": "^2.3.2",
39
- "@smithy/hash-node": "^2.0.18",
40
- "@smithy/invalid-dependency": "^2.0.16",
41
- "@smithy/middleware-content-length": "^2.0.18",
42
- "@smithy/middleware-endpoint": "^2.3.0",
43
- "@smithy/middleware-retry": "^2.0.26",
44
- "@smithy/middleware-serde": "^2.0.16",
45
- "@smithy/middleware-stack": "^2.0.10",
46
- "@smithy/node-config-provider": "^2.1.9",
47
- "@smithy/node-http-handler": "^2.2.2",
48
- "@smithy/protocol-http": "^3.0.12",
49
- "@smithy/smithy-client": "^2.2.1",
50
- "@smithy/types": "^2.8.0",
51
- "@smithy/url-parser": "^2.0.16",
52
- "@smithy/util-base64": "^2.0.1",
53
- "@smithy/util-body-length-browser": "^2.0.1",
54
- "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.24",
56
- "@smithy/util-defaults-mode-node": "^2.0.32",
57
- "@smithy/util-endpoints": "^1.0.8",
58
- "@smithy/util-retry": "^2.0.9",
59
- "@smithy/util-utf8": "^2.0.2",
60
- "@smithy/util-waiter": "^2.0.16",
23
+ "@aws-sdk/client-sts": "3.496.0",
24
+ "@aws-sdk/core": "3.496.0",
25
+ "@aws-sdk/credential-provider-node": "3.496.0",
26
+ "@aws-sdk/middleware-host-header": "3.496.0",
27
+ "@aws-sdk/middleware-logger": "3.496.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.496.0",
29
+ "@aws-sdk/middleware-signing": "3.496.0",
30
+ "@aws-sdk/middleware-user-agent": "3.496.0",
31
+ "@aws-sdk/region-config-resolver": "3.496.0",
32
+ "@aws-sdk/types": "3.496.0",
33
+ "@aws-sdk/util-endpoints": "3.496.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.496.0",
35
+ "@aws-sdk/util-user-agent-node": "3.496.0",
36
+ "@smithy/config-resolver": "^2.1.1",
37
+ "@smithy/core": "^1.3.1",
38
+ "@smithy/fetch-http-handler": "^2.4.1",
39
+ "@smithy/hash-node": "^2.1.1",
40
+ "@smithy/invalid-dependency": "^2.1.1",
41
+ "@smithy/middleware-content-length": "^2.1.1",
42
+ "@smithy/middleware-endpoint": "^2.4.1",
43
+ "@smithy/middleware-retry": "^2.1.1",
44
+ "@smithy/middleware-serde": "^2.1.1",
45
+ "@smithy/middleware-stack": "^2.1.1",
46
+ "@smithy/node-config-provider": "^2.2.1",
47
+ "@smithy/node-http-handler": "^2.3.1",
48
+ "@smithy/protocol-http": "^3.1.1",
49
+ "@smithy/smithy-client": "^2.3.1",
50
+ "@smithy/types": "^2.9.1",
51
+ "@smithy/url-parser": "^2.1.1",
52
+ "@smithy/util-base64": "^2.1.1",
53
+ "@smithy/util-body-length-browser": "^2.1.1",
54
+ "@smithy/util-body-length-node": "^2.2.1",
55
+ "@smithy/util-defaults-mode-browser": "^2.1.1",
56
+ "@smithy/util-defaults-mode-node": "^2.1.1",
57
+ "@smithy/util-endpoints": "^1.1.1",
58
+ "@smithy/util-retry": "^2.1.1",
59
+ "@smithy/util-utf8": "^2.1.1",
60
+ "@smithy/util-waiter": "^2.1.1",
61
61
  "fast-xml-parser": "4.2.5",
62
62
  "tslib": "^2.5.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@smithy/service-client-documentation-generator": "^2.0.0",
65
+ "@smithy/service-client-documentation-generator": "^2.1.1",
66
66
  "@tsconfig/node14": "1.0.3",
67
67
  "@types/node": "^14.14.31",
68
68
  "concurrently": "7.0.0",