@aws-sdk/client-iam 3.490.0 → 3.495.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.
- package/dist-cjs/IAM.js +1 -329
- package/dist-cjs/IAMClient.js +1 -43
- package/dist-cjs/commands/AddClientIDToOpenIDConnectProviderCommand.js +1 -28
- package/dist-cjs/commands/AddRoleToInstanceProfileCommand.js +1 -28
- package/dist-cjs/commands/AddUserToGroupCommand.js +1 -28
- package/dist-cjs/commands/AttachGroupPolicyCommand.js +1 -28
- package/dist-cjs/commands/AttachRolePolicyCommand.js +1 -28
- package/dist-cjs/commands/AttachUserPolicyCommand.js +1 -28
- package/dist-cjs/commands/ChangePasswordCommand.js +1 -29
- package/dist-cjs/commands/CreateAccessKeyCommand.js +1 -29
- package/dist-cjs/commands/CreateAccountAliasCommand.js +1 -28
- package/dist-cjs/commands/CreateGroupCommand.js +1 -28
- package/dist-cjs/commands/CreateInstanceProfileCommand.js +1 -28
- package/dist-cjs/commands/CreateLoginProfileCommand.js +1 -29
- package/dist-cjs/commands/CreateOpenIDConnectProviderCommand.js +1 -28
- package/dist-cjs/commands/CreatePolicyCommand.js +1 -28
- package/dist-cjs/commands/CreatePolicyVersionCommand.js +1 -28
- package/dist-cjs/commands/CreateRoleCommand.js +1 -28
- package/dist-cjs/commands/CreateSAMLProviderCommand.js +1 -28
- package/dist-cjs/commands/CreateServiceLinkedRoleCommand.js +1 -28
- package/dist-cjs/commands/CreateServiceSpecificCredentialCommand.js +1 -29
- package/dist-cjs/commands/CreateUserCommand.js +1 -28
- package/dist-cjs/commands/CreateVirtualMFADeviceCommand.js +1 -29
- package/dist-cjs/commands/DeactivateMFADeviceCommand.js +1 -28
- package/dist-cjs/commands/DeleteAccessKeyCommand.js +1 -28
- package/dist-cjs/commands/DeleteAccountAliasCommand.js +1 -28
- package/dist-cjs/commands/DeleteAccountPasswordPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteGroupCommand.js +1 -28
- package/dist-cjs/commands/DeleteGroupPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteInstanceProfileCommand.js +1 -28
- package/dist-cjs/commands/DeleteLoginProfileCommand.js +1 -28
- package/dist-cjs/commands/DeleteOpenIDConnectProviderCommand.js +1 -28
- package/dist-cjs/commands/DeletePolicyCommand.js +1 -28
- package/dist-cjs/commands/DeletePolicyVersionCommand.js +1 -28
- package/dist-cjs/commands/DeleteRoleCommand.js +1 -28
- package/dist-cjs/commands/DeleteRolePermissionsBoundaryCommand.js +1 -28
- package/dist-cjs/commands/DeleteRolePolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteSAMLProviderCommand.js +1 -28
- package/dist-cjs/commands/DeleteSSHPublicKeyCommand.js +1 -28
- package/dist-cjs/commands/DeleteServerCertificateCommand.js +1 -28
- package/dist-cjs/commands/DeleteServiceLinkedRoleCommand.js +1 -28
- package/dist-cjs/commands/DeleteServiceSpecificCredentialCommand.js +1 -28
- package/dist-cjs/commands/DeleteSigningCertificateCommand.js +1 -28
- package/dist-cjs/commands/DeleteUserCommand.js +1 -28
- package/dist-cjs/commands/DeleteUserPermissionsBoundaryCommand.js +1 -28
- package/dist-cjs/commands/DeleteUserPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteVirtualMFADeviceCommand.js +1 -28
- package/dist-cjs/commands/DetachGroupPolicyCommand.js +1 -28
- package/dist-cjs/commands/DetachRolePolicyCommand.js +1 -28
- package/dist-cjs/commands/DetachUserPolicyCommand.js +1 -28
- package/dist-cjs/commands/EnableMFADeviceCommand.js +1 -28
- package/dist-cjs/commands/GenerateCredentialReportCommand.js +1 -28
- package/dist-cjs/commands/GenerateOrganizationsAccessReportCommand.js +1 -28
- package/dist-cjs/commands/GenerateServiceLastAccessedDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetAccessKeyLastUsedCommand.js +1 -28
- package/dist-cjs/commands/GetAccountAuthorizationDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetAccountPasswordPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetAccountSummaryCommand.js +1 -28
- package/dist-cjs/commands/GetContextKeysForCustomPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetContextKeysForPrincipalPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetCredentialReportCommand.js +1 -28
- package/dist-cjs/commands/GetGroupCommand.js +1 -28
- package/dist-cjs/commands/GetGroupPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetInstanceProfileCommand.js +1 -28
- package/dist-cjs/commands/GetLoginProfileCommand.js +1 -28
- package/dist-cjs/commands/GetMFADeviceCommand.js +1 -28
- package/dist-cjs/commands/GetOpenIDConnectProviderCommand.js +1 -28
- package/dist-cjs/commands/GetOrganizationsAccessReportCommand.js +1 -28
- package/dist-cjs/commands/GetPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetPolicyVersionCommand.js +1 -28
- package/dist-cjs/commands/GetRoleCommand.js +1 -28
- package/dist-cjs/commands/GetRolePolicyCommand.js +1 -28
- package/dist-cjs/commands/GetSAMLProviderCommand.js +1 -28
- package/dist-cjs/commands/GetSSHPublicKeyCommand.js +1 -28
- package/dist-cjs/commands/GetServerCertificateCommand.js +1 -28
- package/dist-cjs/commands/GetServiceLastAccessedDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +1 -28
- package/dist-cjs/commands/GetServiceLinkedRoleDeletionStatusCommand.js +1 -28
- package/dist-cjs/commands/GetUserCommand.js +1 -28
- package/dist-cjs/commands/GetUserPolicyCommand.js +1 -28
- package/dist-cjs/commands/ListAccessKeysCommand.js +1 -28
- package/dist-cjs/commands/ListAccountAliasesCommand.js +1 -28
- package/dist-cjs/commands/ListAttachedGroupPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListAttachedRolePoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListAttachedUserPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListEntitiesForPolicyCommand.js +1 -28
- package/dist-cjs/commands/ListGroupPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListGroupsCommand.js +1 -28
- package/dist-cjs/commands/ListGroupsForUserCommand.js +1 -28
- package/dist-cjs/commands/ListInstanceProfileTagsCommand.js +1 -28
- package/dist-cjs/commands/ListInstanceProfilesCommand.js +1 -28
- package/dist-cjs/commands/ListInstanceProfilesForRoleCommand.js +1 -28
- package/dist-cjs/commands/ListMFADeviceTagsCommand.js +1 -28
- package/dist-cjs/commands/ListMFADevicesCommand.js +1 -28
- package/dist-cjs/commands/ListOpenIDConnectProviderTagsCommand.js +1 -28
- package/dist-cjs/commands/ListOpenIDConnectProvidersCommand.js +1 -28
- package/dist-cjs/commands/ListPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListPoliciesGrantingServiceAccessCommand.js +1 -28
- package/dist-cjs/commands/ListPolicyTagsCommand.js +1 -28
- package/dist-cjs/commands/ListPolicyVersionsCommand.js +1 -28
- package/dist-cjs/commands/ListRolePoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListRoleTagsCommand.js +1 -28
- package/dist-cjs/commands/ListRolesCommand.js +1 -28
- package/dist-cjs/commands/ListSAMLProviderTagsCommand.js +1 -28
- package/dist-cjs/commands/ListSAMLProvidersCommand.js +1 -28
- package/dist-cjs/commands/ListSSHPublicKeysCommand.js +1 -28
- package/dist-cjs/commands/ListServerCertificateTagsCommand.js +1 -28
- package/dist-cjs/commands/ListServerCertificatesCommand.js +1 -28
- package/dist-cjs/commands/ListServiceSpecificCredentialsCommand.js +1 -28
- package/dist-cjs/commands/ListSigningCertificatesCommand.js +1 -28
- package/dist-cjs/commands/ListUserPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListUserTagsCommand.js +1 -28
- package/dist-cjs/commands/ListUsersCommand.js +1 -28
- package/dist-cjs/commands/ListVirtualMFADevicesCommand.js +1 -29
- package/dist-cjs/commands/PutGroupPolicyCommand.js +1 -28
- package/dist-cjs/commands/PutRolePermissionsBoundaryCommand.js +1 -28
- package/dist-cjs/commands/PutRolePolicyCommand.js +1 -28
- package/dist-cjs/commands/PutUserPermissionsBoundaryCommand.js +1 -28
- package/dist-cjs/commands/PutUserPolicyCommand.js +1 -28
- package/dist-cjs/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +1 -28
- package/dist-cjs/commands/RemoveRoleFromInstanceProfileCommand.js +1 -28
- package/dist-cjs/commands/RemoveUserFromGroupCommand.js +1 -28
- package/dist-cjs/commands/ResetServiceSpecificCredentialCommand.js +1 -29
- package/dist-cjs/commands/ResyncMFADeviceCommand.js +1 -28
- package/dist-cjs/commands/SetDefaultPolicyVersionCommand.js +1 -28
- package/dist-cjs/commands/SetSecurityTokenServicePreferencesCommand.js +1 -28
- package/dist-cjs/commands/SimulateCustomPolicyCommand.js +1 -28
- package/dist-cjs/commands/SimulatePrincipalPolicyCommand.js +1 -28
- package/dist-cjs/commands/TagInstanceProfileCommand.js +1 -28
- package/dist-cjs/commands/TagMFADeviceCommand.js +1 -28
- package/dist-cjs/commands/TagOpenIDConnectProviderCommand.js +1 -28
- package/dist-cjs/commands/TagPolicyCommand.js +1 -28
- package/dist-cjs/commands/TagRoleCommand.js +1 -28
- package/dist-cjs/commands/TagSAMLProviderCommand.js +1 -28
- package/dist-cjs/commands/TagServerCertificateCommand.js +1 -28
- package/dist-cjs/commands/TagUserCommand.js +1 -28
- package/dist-cjs/commands/UntagInstanceProfileCommand.js +1 -28
- package/dist-cjs/commands/UntagMFADeviceCommand.js +1 -28
- package/dist-cjs/commands/UntagOpenIDConnectProviderCommand.js +1 -28
- package/dist-cjs/commands/UntagPolicyCommand.js +1 -28
- package/dist-cjs/commands/UntagRoleCommand.js +1 -28
- package/dist-cjs/commands/UntagSAMLProviderCommand.js +1 -28
- package/dist-cjs/commands/UntagServerCertificateCommand.js +1 -28
- package/dist-cjs/commands/UntagUserCommand.js +1 -28
- package/dist-cjs/commands/UpdateAccessKeyCommand.js +1 -28
- package/dist-cjs/commands/UpdateAccountPasswordPolicyCommand.js +1 -28
- package/dist-cjs/commands/UpdateAssumeRolePolicyCommand.js +1 -28
- package/dist-cjs/commands/UpdateGroupCommand.js +1 -28
- package/dist-cjs/commands/UpdateLoginProfileCommand.js +1 -29
- package/dist-cjs/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +1 -28
- package/dist-cjs/commands/UpdateRoleCommand.js +1 -28
- package/dist-cjs/commands/UpdateRoleDescriptionCommand.js +1 -28
- package/dist-cjs/commands/UpdateSAMLProviderCommand.js +1 -28
- package/dist-cjs/commands/UpdateSSHPublicKeyCommand.js +1 -28
- package/dist-cjs/commands/UpdateServerCertificateCommand.js +1 -28
- package/dist-cjs/commands/UpdateServiceSpecificCredentialCommand.js +1 -28
- package/dist-cjs/commands/UpdateSigningCertificateCommand.js +1 -28
- package/dist-cjs/commands/UpdateUserCommand.js +1 -28
- package/dist-cjs/commands/UploadSSHPublicKeyCommand.js +1 -28
- package/dist-cjs/commands/UploadServerCertificateCommand.js +1 -29
- package/dist-cjs/commands/UploadSigningCertificateCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -162
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +17388 -12
- package/dist-cjs/models/IAMServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -5
- package/dist-cjs/models/models_0.js +1 -467
- package/dist-cjs/models/models_1.js +1 -93
- package/dist-cjs/pagination/GetAccountAuthorizationDetailsPaginator.js +1 -7
- package/dist-cjs/pagination/GetGroupPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAccessKeysPaginator.js +1 -7
- package/dist-cjs/pagination/ListAccountAliasesPaginator.js +1 -7
- package/dist-cjs/pagination/ListAttachedGroupPoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/ListAttachedRolePoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/ListAttachedUserPoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/ListEntitiesForPolicyPaginator.js +1 -7
- package/dist-cjs/pagination/ListGroupPoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/ListGroupsForUserPaginator.js +1 -7
- package/dist-cjs/pagination/ListGroupsPaginator.js +1 -7
- package/dist-cjs/pagination/ListInstanceProfileTagsPaginator.js +1 -7
- package/dist-cjs/pagination/ListInstanceProfilesForRolePaginator.js +1 -7
- package/dist-cjs/pagination/ListInstanceProfilesPaginator.js +1 -7
- package/dist-cjs/pagination/ListMFADeviceTagsPaginator.js +1 -7
- package/dist-cjs/pagination/ListMFADevicesPaginator.js +1 -7
- package/dist-cjs/pagination/ListOpenIDConnectProviderTagsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/ListPolicyTagsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRolePoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/ListRoleTagsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRolesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSAMLProviderTagsPaginator.js +1 -7
- package/dist-cjs/pagination/ListSSHPublicKeysPaginator.js +1 -7
- package/dist-cjs/pagination/ListServerCertificateTagsPaginator.js +1 -7
- package/dist-cjs/pagination/ListServerCertificatesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSigningCertificatesPaginator.js +1 -7
- package/dist-cjs/pagination/ListUserPoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/ListUserTagsPaginator.js +1 -7
- package/dist-cjs/pagination/ListUsersPaginator.js +1 -7
- package/dist-cjs/pagination/ListVirtualMFADevicesPaginator.js +1 -7
- package/dist-cjs/pagination/SimulateCustomPolicyPaginator.js +1 -7
- package/dist-cjs/pagination/SimulatePrincipalPolicyPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -38
- package/dist-cjs/protocols/Aws_query.js +1 -13421
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -7
- package/dist-cjs/waiters/waitForInstanceProfileExists.js +1 -31
- package/dist-cjs/waiters/waitForPolicyExists.js +1 -31
- package/dist-cjs/waiters/waitForRoleExists.js +1 -31
- package/dist-cjs/waiters/waitForUserExists.js +1 -31
- package/package.json +41 -41
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
4
|
+
"version": "3.495.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
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.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0
|
|
37
|
-
"@smithy/core": "^1.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.
|
|
39
|
-
"@smithy/hash-node": "^2.0
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0
|
|
44
|
-
"@smithy/middleware-serde": "^2.0
|
|
45
|
-
"@smithy/middleware-stack": "^2.0
|
|
46
|
-
"@smithy/node-config-provider": "^2.
|
|
47
|
-
"@smithy/node-http-handler": "^2.
|
|
48
|
-
"@smithy/protocol-http": "^3.0
|
|
49
|
-
"@smithy/smithy-client": "^2.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0
|
|
52
|
-
"@smithy/util-base64": "^2.0
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.0
|
|
54
|
-
"@smithy/util-body-length-node": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0
|
|
57
|
-
"@smithy/util-endpoints": "^1.0
|
|
58
|
-
"@smithy/util-retry": "^2.0
|
|
59
|
-
"@smithy/util-utf8": "^2.0
|
|
60
|
-
"@smithy/util-waiter": "^2.0
|
|
23
|
+
"@aws-sdk/client-sts": "3.495.0",
|
|
24
|
+
"@aws-sdk/core": "3.495.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.495.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.495.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.495.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.495.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.495.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.495.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.495.0",
|
|
32
|
+
"@aws-sdk/types": "3.495.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.495.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.495.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.495.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.1.0",
|
|
37
|
+
"@smithy/core": "^1.3.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.4.0",
|
|
39
|
+
"@smithy/hash-node": "^2.1.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.1.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.1.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.4.0",
|
|
43
|
+
"@smithy/middleware-retry": "^2.1.0",
|
|
44
|
+
"@smithy/middleware-serde": "^2.1.0",
|
|
45
|
+
"@smithy/middleware-stack": "^2.1.0",
|
|
46
|
+
"@smithy/node-config-provider": "^2.2.0",
|
|
47
|
+
"@smithy/node-http-handler": "^2.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^3.1.0",
|
|
49
|
+
"@smithy/smithy-client": "^2.3.0",
|
|
50
|
+
"@smithy/types": "^2.9.0",
|
|
51
|
+
"@smithy/url-parser": "^2.1.0",
|
|
52
|
+
"@smithy/util-base64": "^2.1.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^2.1.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.1.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.1.0",
|
|
57
|
+
"@smithy/util-endpoints": "^1.1.0",
|
|
58
|
+
"@smithy/util-retry": "^2.1.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.1.0",
|
|
60
|
+
"@smithy/util-waiter": "^2.1.0",
|
|
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.
|
|
65
|
+
"@smithy/service-client-documentation-generator": "^2.1.0",
|
|
66
66
|
"@tsconfig/node14": "1.0.3",
|
|
67
67
|
"@types/node": "^14.14.31",
|
|
68
68
|
"concurrently": "7.0.0",
|