@aws-sdk/client-iam 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/IAM.js +0 -7
- package/dist-cjs/IAMClient.js +0 -12
- package/dist-cjs/commands/AddClientIDToOpenIDConnectProviderCommand.js +0 -27
- package/dist-cjs/commands/AddRoleToInstanceProfileCommand.js +0 -36
- package/dist-cjs/commands/AddUserToGroupCommand.js +0 -24
- package/dist-cjs/commands/AttachGroupPolicyCommand.js +0 -31
- package/dist-cjs/commands/AttachRolePolicyCommand.js +0 -38
- package/dist-cjs/commands/AttachUserPolicyCommand.js +0 -31
- package/dist-cjs/commands/ChangePasswordCommand.js +0 -32
- package/dist-cjs/commands/CreateAccessKeyCommand.js +0 -37
- package/dist-cjs/commands/CreateAccountAliasCommand.js +0 -27
- package/dist-cjs/commands/CreateGroupCommand.js +0 -26
- package/dist-cjs/commands/CreateInstanceProfileCommand.js +0 -28
- package/dist-cjs/commands/CreateLoginProfileCommand.js +0 -31
- package/dist-cjs/commands/CreateOpenIDConnectProviderCommand.js +0 -61
- package/dist-cjs/commands/CreatePolicyCommand.js +0 -34
- package/dist-cjs/commands/CreatePolicyVersionCommand.js +0 -31
- package/dist-cjs/commands/CreateRoleCommand.js +0 -28
- package/dist-cjs/commands/CreateSAMLProviderCommand.js +0 -41
- package/dist-cjs/commands/CreateServiceLinkedRoleCommand.js +0 -32
- package/dist-cjs/commands/CreateServiceSpecificCredentialCommand.js +0 -34
- package/dist-cjs/commands/CreateUserCommand.js +0 -26
- package/dist-cjs/commands/CreateVirtualMFADeviceCommand.js +0 -36
- package/dist-cjs/commands/DeactivateMFADeviceCommand.js +0 -28
- package/dist-cjs/commands/DeleteAccessKeyCommand.js +0 -28
- package/dist-cjs/commands/DeleteAccountAliasCommand.js +0 -26
- package/dist-cjs/commands/DeleteAccountPasswordPolicyCommand.js +0 -24
- package/dist-cjs/commands/DeleteGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteGroupPolicyCommand.js +0 -29
- package/dist-cjs/commands/DeleteInstanceProfileCommand.js +0 -33
- package/dist-cjs/commands/DeleteLoginProfileCommand.js +0 -36
- package/dist-cjs/commands/DeleteOpenIDConnectProviderCommand.js +0 -29
- package/dist-cjs/commands/DeletePolicyCommand.js +0 -48
- package/dist-cjs/commands/DeletePolicyVersionCommand.js +0 -29
- package/dist-cjs/commands/DeleteRoleCommand.js +0 -30
- package/dist-cjs/commands/DeleteRolePermissionsBoundaryCommand.js +0 -29
- package/dist-cjs/commands/DeleteRolePolicyCommand.js +0 -29
- package/dist-cjs/commands/DeleteSAMLProviderCommand.js +0 -30
- package/dist-cjs/commands/DeleteSSHPublicKeyCommand.js +0 -28
- package/dist-cjs/commands/DeleteServerCertificateCommand.js +0 -38
- package/dist-cjs/commands/DeleteServiceLinkedRoleCommand.js +0 -40
- package/dist-cjs/commands/DeleteServiceSpecificCredentialCommand.js +0 -24
- package/dist-cjs/commands/DeleteSigningCertificateCommand.js +0 -28
- package/dist-cjs/commands/DeleteUserCommand.js +0 -56
- package/dist-cjs/commands/DeleteUserPermissionsBoundaryCommand.js +0 -29
- package/dist-cjs/commands/DeleteUserPolicyCommand.js +0 -29
- package/dist-cjs/commands/DeleteVirtualMFADeviceCommand.js +0 -28
- package/dist-cjs/commands/DetachGroupPolicyCommand.js +0 -28
- package/dist-cjs/commands/DetachRolePolicyCommand.js +0 -28
- package/dist-cjs/commands/DetachUserPolicyCommand.js +0 -28
- package/dist-cjs/commands/EnableMFADeviceCommand.js +0 -26
- package/dist-cjs/commands/GenerateCredentialReportCommand.js +0 -26
- package/dist-cjs/commands/GenerateOrganizationsAccessReportCommand.js +0 -155
- package/dist-cjs/commands/GenerateServiceLastAccessedDetailsCommand.js +0 -77
- package/dist-cjs/commands/GetAccessKeyLastUsedCommand.js +0 -26
- package/dist-cjs/commands/GetAccountAuthorizationDetailsCommand.js +0 -37
- package/dist-cjs/commands/GetAccountPasswordPolicyCommand.js +0 -27
- package/dist-cjs/commands/GetAccountSummaryCommand.js +0 -27
- package/dist-cjs/commands/GetContextKeysForCustomPolicyCommand.js +0 -33
- package/dist-cjs/commands/GetContextKeysForPrincipalPolicyCommand.js +0 -37
- package/dist-cjs/commands/GetCredentialReportCommand.js +0 -26
- package/dist-cjs/commands/GetGroupCommand.js +0 -25
- package/dist-cjs/commands/GetGroupPolicyCommand.js +0 -38
- package/dist-cjs/commands/GetInstanceProfileCommand.js +0 -27
- package/dist-cjs/commands/GetLoginProfileCommand.js +0 -33
- package/dist-cjs/commands/GetOpenIDConnectProviderCommand.js +0 -25
- package/dist-cjs/commands/GetOrganizationsAccessReportCommand.js +0 -42
- package/dist-cjs/commands/GetPolicyCommand.js +0 -33
- package/dist-cjs/commands/GetPolicyVersionCommand.js +0 -39
- package/dist-cjs/commands/GetRoleCommand.js +0 -33
- package/dist-cjs/commands/GetRolePolicyCommand.js +0 -40
- package/dist-cjs/commands/GetSAMLProviderCommand.js +0 -28
- package/dist-cjs/commands/GetSSHPublicKeyCommand.js +0 -28
- package/dist-cjs/commands/GetServerCertificateCommand.js +0 -28
- package/dist-cjs/commands/GetServiceLastAccessedDetailsCommand.js +0 -75
- package/dist-cjs/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +0 -49
- package/dist-cjs/commands/GetServiceLinkedRoleDeletionStatusCommand.js +0 -28
- package/dist-cjs/commands/GetUserCommand.js +0 -27
- package/dist-cjs/commands/GetUserPolicyCommand.js +0 -38
- package/dist-cjs/commands/ListAccessKeysCommand.js +0 -36
- package/dist-cjs/commands/ListAccountAliasesCommand.js +0 -26
- package/dist-cjs/commands/ListAttachedGroupPoliciesCommand.js +0 -33
- package/dist-cjs/commands/ListAttachedRolePoliciesCommand.js +0 -33
- package/dist-cjs/commands/ListAttachedUserPoliciesCommand.js +0 -33
- package/dist-cjs/commands/ListEntitiesForPolicyCommand.js +0 -31
- package/dist-cjs/commands/ListGroupPoliciesCommand.js +0 -32
- package/dist-cjs/commands/ListGroupsCommand.js +0 -26
- package/dist-cjs/commands/ListGroupsForUserCommand.js +0 -26
- package/dist-cjs/commands/ListInstanceProfileTagsCommand.js +0 -26
- package/dist-cjs/commands/ListInstanceProfilesCommand.js +0 -33
- package/dist-cjs/commands/ListInstanceProfilesForRoleCommand.js +0 -29
- package/dist-cjs/commands/ListMFADeviceTagsCommand.js +0 -26
- package/dist-cjs/commands/ListMFADevicesCommand.js +0 -29
- package/dist-cjs/commands/ListOpenIDConnectProviderTagsCommand.js +0 -28
- package/dist-cjs/commands/ListOpenIDConnectProvidersCommand.js +0 -29
- package/dist-cjs/commands/ListPoliciesCommand.js +0 -39
- package/dist-cjs/commands/ListPoliciesGrantingServiceAccessCommand.js +0 -63
- package/dist-cjs/commands/ListPolicyTagsCommand.js +0 -26
- package/dist-cjs/commands/ListPolicyVersionsCommand.js +0 -27
- package/dist-cjs/commands/ListRolePoliciesCommand.js +0 -32
- package/dist-cjs/commands/ListRoleTagsCommand.js +0 -26
- package/dist-cjs/commands/ListRolesCommand.js +0 -32
- package/dist-cjs/commands/ListSAMLProviderTagsCommand.js +0 -28
- package/dist-cjs/commands/ListSAMLProvidersCommand.js +0 -29
- package/dist-cjs/commands/ListSSHPublicKeysCommand.js +0 -31
- package/dist-cjs/commands/ListServerCertificateTagsCommand.js +0 -33
- package/dist-cjs/commands/ListServerCertificatesCommand.js +0 -35
- package/dist-cjs/commands/ListServiceSpecificCredentialsCommand.js +0 -29
- package/dist-cjs/commands/ListSigningCertificatesCommand.js +0 -33
- package/dist-cjs/commands/ListUserPoliciesCommand.js +0 -31
- package/dist-cjs/commands/ListUserTagsCommand.js +0 -25
- package/dist-cjs/commands/ListUsersCommand.js +0 -32
- package/dist-cjs/commands/ListVirtualMFADevicesCommand.js +0 -34
- package/dist-cjs/commands/PutGroupPolicyCommand.js +0 -38
- package/dist-cjs/commands/PutRolePermissionsBoundaryCommand.js +0 -35
- package/dist-cjs/commands/PutRolePolicyCommand.js +0 -43
- package/dist-cjs/commands/PutUserPermissionsBoundaryCommand.js +0 -34
- package/dist-cjs/commands/PutUserPolicyCommand.js +0 -38
- package/dist-cjs/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +0 -28
- package/dist-cjs/commands/RemoveRoleFromInstanceProfileCommand.js +0 -33
- package/dist-cjs/commands/RemoveUserFromGroupCommand.js +0 -24
- package/dist-cjs/commands/ResetServiceSpecificCredentialCommand.js +0 -27
- package/dist-cjs/commands/ResyncMFADeviceCommand.js +0 -27
- package/dist-cjs/commands/SetDefaultPolicyVersionCommand.js +0 -29
- package/dist-cjs/commands/SetSecurityTokenServicePreferencesCommand.js +0 -42
- package/dist-cjs/commands/SimulateCustomPolicyCommand.js +0 -40
- package/dist-cjs/commands/SimulatePrincipalPolicyCommand.js +0 -49
- package/dist-cjs/commands/TagInstanceProfileCommand.js +0 -59
- package/dist-cjs/commands/TagMFADeviceCommand.js +0 -60
- package/dist-cjs/commands/TagOpenIDConnectProviderCommand.js +0 -61
- package/dist-cjs/commands/TagPolicyCommand.js +0 -59
- package/dist-cjs/commands/TagRoleCommand.js +0 -68
- package/dist-cjs/commands/TagSAMLProviderCommand.js +0 -61
- package/dist-cjs/commands/TagServerCertificateCommand.js +0 -71
- package/dist-cjs/commands/TagUserCommand.js +0 -67
- package/dist-cjs/commands/UntagInstanceProfileCommand.js +0 -25
- package/dist-cjs/commands/UntagMFADeviceCommand.js +0 -26
- package/dist-cjs/commands/UntagOpenIDConnectProviderCommand.js +0 -27
- package/dist-cjs/commands/UntagPolicyCommand.js +0 -25
- package/dist-cjs/commands/UntagRoleCommand.js +0 -25
- package/dist-cjs/commands/UntagSAMLProviderCommand.js +0 -27
- package/dist-cjs/commands/UntagServerCertificateCommand.js +0 -33
- package/dist-cjs/commands/UntagUserCommand.js +0 -25
- package/dist-cjs/commands/UpdateAccessKeyCommand.js +0 -33
- package/dist-cjs/commands/UpdateAccountPasswordPolicyCommand.js +0 -39
- package/dist-cjs/commands/UpdateAssumeRolePolicyCommand.js +0 -27
- package/dist-cjs/commands/UpdateGroupCommand.js +0 -38
- package/dist-cjs/commands/UpdateLoginProfileCommand.js +0 -30
- package/dist-cjs/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +0 -45
- package/dist-cjs/commands/UpdateRoleCommand.js +0 -24
- package/dist-cjs/commands/UpdateRoleDescriptionCommand.js +0 -26
- package/dist-cjs/commands/UpdateSAMLProviderCommand.js +0 -27
- package/dist-cjs/commands/UpdateSSHPublicKeyCommand.js +0 -30
- package/dist-cjs/commands/UpdateServerCertificateCommand.js +0 -43
- package/dist-cjs/commands/UpdateServiceSpecificCredentialCommand.js +0 -27
- package/dist-cjs/commands/UpdateSigningCertificateCommand.js +0 -31
- package/dist-cjs/commands/UpdateUserCommand.js +0 -36
- package/dist-cjs/commands/UploadSSHPublicKeyCommand.js +0 -28
- package/dist-cjs/commands/UploadServerCertificateCommand.js +0 -45
- package/dist-cjs/commands/UploadSigningCertificateCommand.js +0 -43
- package/dist-cjs/commands/index.js +161 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -192
- package/dist-cjs/models/models_0.js +0 -840
- package/dist-cjs/models/models_1.js +0 -102
- package/dist-cjs/pagination/GetAccountAuthorizationDetailsPaginator.js +0 -10
- package/dist-cjs/pagination/GetGroupPaginator.js +0 -10
- package/dist-cjs/pagination/ListAccessKeysPaginator.js +0 -10
- package/dist-cjs/pagination/ListAccountAliasesPaginator.js +0 -10
- package/dist-cjs/pagination/ListAttachedGroupPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListAttachedRolePoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListAttachedUserPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListEntitiesForPolicyPaginator.js +0 -10
- package/dist-cjs/pagination/ListGroupPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListGroupsForUserPaginator.js +0 -10
- package/dist-cjs/pagination/ListGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/ListInstanceProfilesForRolePaginator.js +0 -10
- package/dist-cjs/pagination/ListInstanceProfilesPaginator.js +0 -10
- package/dist-cjs/pagination/ListMFADevicesPaginator.js +0 -10
- package/dist-cjs/pagination/ListPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListRolePoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListRolesPaginator.js +0 -10
- package/dist-cjs/pagination/ListSSHPublicKeysPaginator.js +0 -10
- package/dist-cjs/pagination/ListServerCertificatesPaginator.js +0 -10
- package/dist-cjs/pagination/ListSigningCertificatesPaginator.js +0 -10
- package/dist-cjs/pagination/ListUserPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListUserTagsPaginator.js +0 -10
- package/dist-cjs/pagination/ListUsersPaginator.js +0 -10
- package/dist-cjs/pagination/ListVirtualMFADevicesPaginator.js +0 -10
- package/dist-cjs/pagination/SimulateCustomPolicyPaginator.js +0 -10
- package/dist-cjs/pagination/SimulatePrincipalPolicyPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +31 -0
- package/dist-cjs/protocols/Aws_query.js +0 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +7 -0
- package/dist-cjs/waiters/waitForInstanceProfileExists.js +0 -9
- package/dist-cjs/waiters/waitForPolicyExists.js +0 -9
- package/dist-cjs/waiters/waitForRoleExists.js +0 -9
- package/dist-cjs/waiters/waitForUserExists.js +0 -9
- package/dist-es/commands/index.js +158 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -192
- package/dist-es/pagination/index.js +28 -0
- package/dist-es/waiters/index.js +4 -0
- package/dist-types/commands/index.d.ts +158 -0
- package/dist-types/index.d.ts +5 -192
- package/dist-types/pagination/index.d.ts +28 -0
- package/dist-types/ts3.4/IAM.d.ts +159 -2189
- package/dist-types/ts3.4/IAMClient.d.ts +24 -93
- package/dist-types/ts3.4/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/AddRoleToInstanceProfileCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/AddUserToGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/AttachGroupPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/AttachRolePolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/AttachUserPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateAccessKeyCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/CreateAccountAliasCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateLoginProfileCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateOpenIDConnectProviderCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CreatePolicyVersionCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateRoleCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateSAMLProviderCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/CreateServiceLinkedRoleCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateServiceSpecificCredentialCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateVirtualMFADeviceCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DeactivateMFADeviceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteAccessKeyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteAccountPasswordPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteGroupPolicyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeleteLoginProfileCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DeleteOpenIDConnectProviderCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/DeletePolicyVersionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteRoleCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteRolePermissionsBoundaryCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteRolePolicyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteSAMLProviderCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteSSHPublicKeyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteServerCertificateCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteServiceLinkedRoleCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/DeleteServiceSpecificCredentialCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSigningCertificateCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/DeleteUserPermissionsBoundaryCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteUserPolicyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteVirtualMFADeviceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DetachGroupPolicyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DetachRolePolicyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DetachUserPolicyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/EnableMFADeviceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GenerateCredentialReportCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GenerateOrganizationsAccessReportCommand.d.ts +2 -151
- package/dist-types/ts3.4/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +2 -73
- package/dist-types/ts3.4/commands/GetAccessKeyLastUsedCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetAccountAuthorizationDetailsCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/GetAccountPasswordPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetAccountSummaryCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetContextKeysForCustomPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/GetCredentialReportCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetGroupPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/GetInstanceProfileCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetLoginProfileCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetOpenIDConnectProviderCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetOrganizationsAccessReportCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/GetRoleCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetRolePolicyCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/GetSAMLProviderCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetSSHPublicKeyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetServerCertificateCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsCommand.d.ts +2 -71
- package/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetUserPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/ListAccessKeysCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/ListAccountAliasesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListAttachedGroupPoliciesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListAttachedRolePoliciesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListAttachedUserPoliciesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListEntitiesForPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListGroupPoliciesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListGroupsForUserCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListInstanceProfileTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListInstanceProfilesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListInstanceProfilesForRoleCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListMFADeviceTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListMFADevicesCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListOpenIDConnectProviderTagsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListOpenIDConnectProvidersCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/ListPolicyTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListRolePoliciesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListRoleTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListRolesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListSAMLProviderTagsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListSAMLProvidersCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListSSHPublicKeysCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListServerCertificateTagsCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListServerCertificatesCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/ListServiceSpecificCredentialsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListSigningCertificatesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListUserPoliciesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListUserTagsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListVirtualMFADevicesCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +2 -55
- package/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +2 -56
- package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +2 -55
- package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +2 -64
- package/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/TagUserCommand.d.ts +2 -63
- package/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/UntagUserCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/UpdateRoleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRoleDescriptionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateSAMLProviderCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateSSHPublicKeyCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/UpdateServerCertificateCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/UpdateServiceSpecificCredentialCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateSigningCertificateCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/UploadSSHPublicKeyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UploadServerCertificateCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/UploadSigningCertificateCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/index.d.ts +158 -0
- package/dist-types/ts3.4/index.d.ts +5 -192
- package/dist-types/ts3.4/models/models_0.d.ts +1165 -5935
- package/dist-types/ts3.4/models/models_1.d.ts +114 -631
- package/dist-types/ts3.4/pagination/index.d.ts +28 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForInstanceProfileExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForPolicyExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForRoleExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForUserExists.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +4 -0
- package/package.json +33 -33
|
@@ -4,22 +4,13 @@ exports.paginateListInstanceProfiles = void 0;
|
|
|
4
4
|
const ListInstanceProfilesCommand_1 = require("../commands/ListInstanceProfilesCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListInstanceProfilesCommand_1.ListInstanceProfilesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listInstanceProfiles(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListInstanceProfiles(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListInstanceProfiles(config, input, ...additionalArgumen
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListInstanceProfiles = paginateListInstanceProfiles;
|
|
@@ -4,22 +4,13 @@ exports.paginateListMFADevices = void 0;
|
|
|
4
4
|
const ListMFADevicesCommand_1 = require("../commands/ListMFADevicesCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListMFADevicesCommand_1.ListMFADevicesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listMFADevices(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListMFADevices(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListMFADevices(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListMFADevices = paginateListMFADevices;
|
|
@@ -4,22 +4,13 @@ exports.paginateListPolicies = void 0;
|
|
|
4
4
|
const ListPoliciesCommand_1 = require("../commands/ListPoliciesCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListPoliciesCommand_1.ListPoliciesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listPolicies(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListPolicies(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListPolicies(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListPolicies = paginateListPolicies;
|
|
@@ -4,22 +4,13 @@ exports.paginateListPolicyVersions = void 0;
|
|
|
4
4
|
const ListPolicyVersionsCommand_1 = require("../commands/ListPolicyVersionsCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListPolicyVersionsCommand_1.ListPolicyVersionsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listPolicyVersions(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListPolicyVersions(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListPolicyVersions(config, input, ...additionalArguments
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListPolicyVersions = paginateListPolicyVersions;
|
|
@@ -4,22 +4,13 @@ exports.paginateListRolePolicies = void 0;
|
|
|
4
4
|
const ListRolePoliciesCommand_1 = require("../commands/ListRolePoliciesCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListRolePoliciesCommand_1.ListRolePoliciesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listRolePolicies(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListRolePolicies(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListRolePolicies(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListRolePolicies = paginateListRolePolicies;
|
|
@@ -4,22 +4,13 @@ exports.paginateListRoles = void 0;
|
|
|
4
4
|
const ListRolesCommand_1 = require("../commands/ListRolesCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListRolesCommand_1.ListRolesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listRoles(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListRoles(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListRoles(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListRoles = paginateListRoles;
|
|
@@ -4,22 +4,13 @@ exports.paginateListSSHPublicKeys = void 0;
|
|
|
4
4
|
const ListSSHPublicKeysCommand_1 = require("../commands/ListSSHPublicKeysCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListSSHPublicKeysCommand_1.ListSSHPublicKeysCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listSSHPublicKeys(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListSSHPublicKeys(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListSSHPublicKeys(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListSSHPublicKeys = paginateListSSHPublicKeys;
|
|
@@ -4,22 +4,13 @@ exports.paginateListServerCertificates = void 0;
|
|
|
4
4
|
const ListServerCertificatesCommand_1 = require("../commands/ListServerCertificatesCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListServerCertificatesCommand_1.ListServerCertificatesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listServerCertificates(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListServerCertificates(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListServerCertificates(config, input, ...additionalArgum
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListServerCertificates = paginateListServerCertificates;
|
|
@@ -4,22 +4,13 @@ exports.paginateListSigningCertificates = void 0;
|
|
|
4
4
|
const ListSigningCertificatesCommand_1 = require("../commands/ListSigningCertificatesCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListSigningCertificatesCommand_1.ListSigningCertificatesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listSigningCertificates(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListSigningCertificates(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListSigningCertificates(config, input, ...additionalArgu
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListSigningCertificates = paginateListSigningCertificates;
|
|
@@ -4,22 +4,13 @@ exports.paginateListUserPolicies = void 0;
|
|
|
4
4
|
const ListUserPoliciesCommand_1 = require("../commands/ListUserPoliciesCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListUserPoliciesCommand_1.ListUserPoliciesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listUserPolicies(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListUserPolicies(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListUserPolicies(config, input, ...additionalArguments)
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListUserPolicies = paginateListUserPolicies;
|
|
@@ -4,22 +4,13 @@ exports.paginateListUserTags = void 0;
|
|
|
4
4
|
const ListUserTagsCommand_1 = require("../commands/ListUserTagsCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListUserTagsCommand_1.ListUserTagsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listUserTags(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListUserTags(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListUserTags(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListUserTags = paginateListUserTags;
|
|
@@ -4,22 +4,13 @@ exports.paginateListUsers = void 0;
|
|
|
4
4
|
const ListUsersCommand_1 = require("../commands/ListUsersCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListUsersCommand_1.ListUsersCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listUsers(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListUsers(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListUsers(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListUsers = paginateListUsers;
|
|
@@ -4,22 +4,13 @@ exports.paginateListVirtualMFADevices = void 0;
|
|
|
4
4
|
const ListVirtualMFADevicesCommand_1 = require("../commands/ListVirtualMFADevicesCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListVirtualMFADevicesCommand_1.ListVirtualMFADevicesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listVirtualMFADevices(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListVirtualMFADevices(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListVirtualMFADevices(config, input, ...additionalArgume
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListVirtualMFADevices = paginateListVirtualMFADevices;
|
|
@@ -4,22 +4,13 @@ exports.paginateSimulateCustomPolicy = void 0;
|
|
|
4
4
|
const SimulateCustomPolicyCommand_1 = require("../commands/SimulateCustomPolicyCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new SimulateCustomPolicyCommand_1.SimulateCustomPolicyCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.simulateCustomPolicy(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateSimulateCustomPolicy(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateSimulateCustomPolicy(config, input, ...additionalArgumen
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateSimulateCustomPolicy = paginateSimulateCustomPolicy;
|
|
@@ -4,22 +4,13 @@ exports.paginateSimulatePrincipalPolicy = void 0;
|
|
|
4
4
|
const SimulatePrincipalPolicyCommand_1 = require("../commands/SimulatePrincipalPolicyCommand");
|
|
5
5
|
const IAM_1 = require("../IAM");
|
|
6
6
|
const IAMClient_1 = require("../IAMClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new SimulatePrincipalPolicyCommand_1.SimulatePrincipalPolicyCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.simulatePrincipalPolicy(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateSimulatePrincipalPolicy(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateSimulatePrincipalPolicy(config, input, ...additionalArgu
|
|
|
39
30
|
token = page.Marker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateSimulatePrincipalPolicy = paginateSimulatePrincipalPolicy;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./GetAccountAuthorizationDetailsPaginator"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./GetGroupPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListAccessKeysPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListAccountAliasesPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListAttachedGroupPoliciesPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListAttachedRolePoliciesPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListAttachedUserPoliciesPaginator"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListEntitiesForPolicyPaginator"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListGroupPoliciesPaginator"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./ListGroupsForUserPaginator"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./ListGroupsPaginator"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./ListInstanceProfilesForRolePaginator"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./ListInstanceProfilesPaginator"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./ListMFADevicesPaginator"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListPoliciesPaginator"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListPolicyVersionsPaginator"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListRolePoliciesPaginator"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./ListRolesPaginator"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListSSHPublicKeysPaginator"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./ListServerCertificatesPaginator"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./ListSigningCertificatesPaginator"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./ListUserPoliciesPaginator"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./ListUserTagsPaginator"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./ListUsersPaginator"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ListVirtualMFADevicesPaginator"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./SimulateCustomPolicyPaginator"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./SimulatePrincipalPolicyPaginator"), exports);
|
|
@@ -17827,14 +17827,12 @@ const deserializeMetadata = (output) => {
|
|
|
17827
17827
|
cfId: output.headers["x-amz-cf-id"],
|
|
17828
17828
|
});
|
|
17829
17829
|
};
|
|
17830
|
-
// Collect low-level response body stream to Uint8Array.
|
|
17831
17830
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
17832
17831
|
if (streamBody instanceof Uint8Array) {
|
|
17833
17832
|
return Promise.resolve(streamBody);
|
|
17834
17833
|
}
|
|
17835
17834
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
17836
17835
|
};
|
|
17837
|
-
// Encode Uint8Array data into string with utf-8.
|
|
17838
17836
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
17839
17837
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
17840
17838
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
8
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
8
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
9
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -0,0 +1,7 @@
|
|
|
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);
|
|
@@ -18,20 +18,11 @@ const checkState = async (client, input) => {
|
|
|
18
18
|
}
|
|
19
19
|
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
20
20
|
};
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @deprecated Use waitUntilInstanceProfileExists instead. waitForInstanceProfileExists does not throw error in non-success cases.
|
|
24
|
-
*/
|
|
25
21
|
const waitForInstanceProfileExists = async (params, input) => {
|
|
26
22
|
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
27
23
|
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
28
24
|
};
|
|
29
25
|
exports.waitForInstanceProfileExists = waitForInstanceProfileExists;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @param params - Waiter configuration options.
|
|
33
|
-
* @param input - The input to GetInstanceProfileCommand for polling.
|
|
34
|
-
*/
|
|
35
26
|
const waitUntilInstanceProfileExists = async (params, input) => {
|
|
36
27
|
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
37
28
|
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
@@ -18,20 +18,11 @@ const checkState = async (client, input) => {
|
|
|
18
18
|
}
|
|
19
19
|
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
20
20
|
};
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @deprecated Use waitUntilPolicyExists instead. waitForPolicyExists does not throw error in non-success cases.
|
|
24
|
-
*/
|
|
25
21
|
const waitForPolicyExists = async (params, input) => {
|
|
26
22
|
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
27
23
|
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
28
24
|
};
|
|
29
25
|
exports.waitForPolicyExists = waitForPolicyExists;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @param params - Waiter configuration options.
|
|
33
|
-
* @param input - The input to GetPolicyCommand for polling.
|
|
34
|
-
*/
|
|
35
26
|
const waitUntilPolicyExists = async (params, input) => {
|
|
36
27
|
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
37
28
|
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
@@ -18,20 +18,11 @@ const checkState = async (client, input) => {
|
|
|
18
18
|
}
|
|
19
19
|
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
20
20
|
};
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @deprecated Use waitUntilRoleExists instead. waitForRoleExists does not throw error in non-success cases.
|
|
24
|
-
*/
|
|
25
21
|
const waitForRoleExists = async (params, input) => {
|
|
26
22
|
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
27
23
|
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
28
24
|
};
|
|
29
25
|
exports.waitForRoleExists = waitForRoleExists;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @param params - Waiter configuration options.
|
|
33
|
-
* @param input - The input to GetRoleCommand for polling.
|
|
34
|
-
*/
|
|
35
26
|
const waitUntilRoleExists = async (params, input) => {
|
|
36
27
|
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
37
28
|
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|