@aws-sdk/client-cognito-identity-provider 3.35.0 → 3.36.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 +13 -0
- package/dist-cjs/CognitoIdentityProvider.js +0 -1
- package/dist-cjs/CognitoIdentityProviderClient.js +0 -1
- package/dist-cjs/commands/AddCustomAttributesCommand.js +0 -1
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js +0 -1
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js +0 -1
- package/dist-cjs/commands/AdminCreateUserCommand.js +0 -1
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +0 -1
- package/dist-cjs/commands/AdminDeleteUserCommand.js +0 -1
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +0 -1
- package/dist-cjs/commands/AdminDisableUserCommand.js +0 -1
- package/dist-cjs/commands/AdminEnableUserCommand.js +0 -1
- package/dist-cjs/commands/AdminForgetDeviceCommand.js +0 -1
- package/dist-cjs/commands/AdminGetDeviceCommand.js +0 -1
- package/dist-cjs/commands/AdminGetUserCommand.js +0 -1
- package/dist-cjs/commands/AdminInitiateAuthCommand.js +0 -1
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +0 -1
- package/dist-cjs/commands/AdminListDevicesCommand.js +0 -1
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js +0 -1
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +0 -1
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +0 -1
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js +0 -1
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +0 -1
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +0 -1
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js +0 -1
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js +0 -1
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +0 -1
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +0 -1
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +0 -1
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +0 -1
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +0 -1
- package/dist-cjs/commands/ChangePasswordCommand.js +0 -1
- package/dist-cjs/commands/ConfirmDeviceCommand.js +0 -1
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +0 -1
- package/dist-cjs/commands/ConfirmSignUpCommand.js +0 -1
- package/dist-cjs/commands/CreateGroupCommand.js +0 -1
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +0 -1
- package/dist-cjs/commands/CreateResourceServerCommand.js +0 -1
- package/dist-cjs/commands/CreateUserImportJobCommand.js +0 -1
- package/dist-cjs/commands/CreateUserPoolClientCommand.js +0 -1
- package/dist-cjs/commands/CreateUserPoolCommand.js +0 -1
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js +0 -1
- package/dist-cjs/commands/DeleteGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +0 -1
- package/dist-cjs/commands/DeleteResourceServerCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserAttributesCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserPoolCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +0 -1
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js +0 -1
- package/dist-cjs/commands/DescribeResourceServerCommand.js +0 -1
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DescribeUserImportJobCommand.js +0 -1
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js +0 -1
- package/dist-cjs/commands/DescribeUserPoolCommand.js +0 -1
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +0 -1
- package/dist-cjs/commands/ForgetDeviceCommand.js +0 -1
- package/dist-cjs/commands/ForgotPasswordCommand.js +0 -1
- package/dist-cjs/commands/GetCSVHeaderCommand.js +0 -1
- package/dist-cjs/commands/GetDeviceCommand.js +0 -1
- package/dist-cjs/commands/GetGroupCommand.js +0 -1
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +0 -1
- package/dist-cjs/commands/GetSigningCertificateCommand.js +0 -1
- package/dist-cjs/commands/GetUICustomizationCommand.js +0 -1
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +0 -1
- package/dist-cjs/commands/GetUserCommand.js +0 -1
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +0 -1
- package/dist-cjs/commands/GlobalSignOutCommand.js +0 -1
- package/dist-cjs/commands/InitiateAuthCommand.js +0 -1
- package/dist-cjs/commands/ListDevicesCommand.js +0 -1
- package/dist-cjs/commands/ListGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +0 -1
- package/dist-cjs/commands/ListResourceServersCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListUserImportJobsCommand.js +0 -1
- package/dist-cjs/commands/ListUserPoolClientsCommand.js +0 -1
- package/dist-cjs/commands/ListUserPoolsCommand.js +0 -1
- package/dist-cjs/commands/ListUsersCommand.js +0 -1
- package/dist-cjs/commands/ListUsersInGroupCommand.js +0 -1
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js +0 -1
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js +0 -1
- package/dist-cjs/commands/RevokeTokenCommand.js +0 -1
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +0 -1
- package/dist-cjs/commands/SetUICustomizationCommand.js +0 -1
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +0 -1
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +0 -1
- package/dist-cjs/commands/SetUserSettingsCommand.js +0 -1
- package/dist-cjs/commands/SignUpCommand.js +0 -1
- package/dist-cjs/commands/StartUserImportJobCommand.js +0 -1
- package/dist-cjs/commands/StopUserImportJobCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +0 -1
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js +0 -1
- package/dist-cjs/commands/UpdateGroupCommand.js +0 -1
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +0 -1
- package/dist-cjs/commands/UpdateResourceServerCommand.js +0 -1
- package/dist-cjs/commands/UpdateUserAttributesCommand.js +0 -1
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js +0 -1
- package/dist-cjs/commands/UpdateUserPoolCommand.js +0 -1
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +0 -1
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +0 -1
- package/dist-cjs/commands/VerifyUserAttributeCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/models/models_1.js +0 -1
- package/dist-cjs/pagination/AdminListGroupsForUserPaginator.js +0 -1
- package/dist-cjs/pagination/AdminListUserAuthEventsPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +0 -1
- package/dist-cjs/pagination/ListResourceServersPaginator.js +0 -1
- package/dist-cjs/pagination/ListUserPoolClientsPaginator.js +0 -1
- package/dist-cjs/pagination/ListUserPoolsPaginator.js +0 -1
- package/dist-cjs/pagination/ListUsersInGroupPaginator.js +0 -1
- package/dist-cjs/pagination/ListUsersPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/CognitoIdentityProvider.js +0 -1
- package/dist-es/CognitoIdentityProviderClient.js +0 -1
- package/dist-es/commands/AddCustomAttributesCommand.js +0 -1
- package/dist-es/commands/AdminAddUserToGroupCommand.js +0 -1
- package/dist-es/commands/AdminConfirmSignUpCommand.js +0 -1
- package/dist-es/commands/AdminCreateUserCommand.js +0 -1
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js +0 -1
- package/dist-es/commands/AdminDeleteUserCommand.js +0 -1
- package/dist-es/commands/AdminDisableProviderForUserCommand.js +0 -1
- package/dist-es/commands/AdminDisableUserCommand.js +0 -1
- package/dist-es/commands/AdminEnableUserCommand.js +0 -1
- package/dist-es/commands/AdminForgetDeviceCommand.js +0 -1
- package/dist-es/commands/AdminGetDeviceCommand.js +0 -1
- package/dist-es/commands/AdminGetUserCommand.js +0 -1
- package/dist-es/commands/AdminInitiateAuthCommand.js +0 -1
- package/dist-es/commands/AdminLinkProviderForUserCommand.js +0 -1
- package/dist-es/commands/AdminListDevicesCommand.js +0 -1
- package/dist-es/commands/AdminListGroupsForUserCommand.js +0 -1
- package/dist-es/commands/AdminListUserAuthEventsCommand.js +0 -1
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +0 -1
- package/dist-es/commands/AdminResetUserPasswordCommand.js +0 -1
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +0 -1
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +0 -1
- package/dist-es/commands/AdminSetUserPasswordCommand.js +0 -1
- package/dist-es/commands/AdminSetUserSettingsCommand.js +0 -1
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +0 -1
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +0 -1
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js +0 -1
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js +0 -1
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +0 -1
- package/dist-es/commands/ChangePasswordCommand.js +0 -1
- package/dist-es/commands/ConfirmDeviceCommand.js +0 -1
- package/dist-es/commands/ConfirmForgotPasswordCommand.js +0 -1
- package/dist-es/commands/ConfirmSignUpCommand.js +0 -1
- package/dist-es/commands/CreateGroupCommand.js +0 -1
- package/dist-es/commands/CreateIdentityProviderCommand.js +0 -1
- package/dist-es/commands/CreateResourceServerCommand.js +0 -1
- package/dist-es/commands/CreateUserImportJobCommand.js +0 -1
- package/dist-es/commands/CreateUserPoolClientCommand.js +0 -1
- package/dist-es/commands/CreateUserPoolCommand.js +0 -1
- package/dist-es/commands/CreateUserPoolDomainCommand.js +0 -1
- package/dist-es/commands/DeleteGroupCommand.js +0 -1
- package/dist-es/commands/DeleteIdentityProviderCommand.js +0 -1
- package/dist-es/commands/DeleteResourceServerCommand.js +0 -1
- package/dist-es/commands/DeleteUserAttributesCommand.js +0 -1
- package/dist-es/commands/DeleteUserCommand.js +0 -1
- package/dist-es/commands/DeleteUserPoolClientCommand.js +0 -1
- package/dist-es/commands/DeleteUserPoolCommand.js +0 -1
- package/dist-es/commands/DeleteUserPoolDomainCommand.js +0 -1
- package/dist-es/commands/DescribeIdentityProviderCommand.js +0 -1
- package/dist-es/commands/DescribeResourceServerCommand.js +0 -1
- package/dist-es/commands/DescribeRiskConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribeUserImportJobCommand.js +0 -1
- package/dist-es/commands/DescribeUserPoolClientCommand.js +0 -1
- package/dist-es/commands/DescribeUserPoolCommand.js +0 -1
- package/dist-es/commands/DescribeUserPoolDomainCommand.js +0 -1
- package/dist-es/commands/ForgetDeviceCommand.js +0 -1
- package/dist-es/commands/ForgotPasswordCommand.js +0 -1
- package/dist-es/commands/GetCSVHeaderCommand.js +0 -1
- package/dist-es/commands/GetDeviceCommand.js +0 -1
- package/dist-es/commands/GetGroupCommand.js +0 -1
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +0 -1
- package/dist-es/commands/GetSigningCertificateCommand.js +0 -1
- package/dist-es/commands/GetUICustomizationCommand.js +0 -1
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +0 -1
- package/dist-es/commands/GetUserCommand.js +0 -1
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js +0 -1
- package/dist-es/commands/GlobalSignOutCommand.js +0 -1
- package/dist-es/commands/InitiateAuthCommand.js +0 -1
- package/dist-es/commands/ListDevicesCommand.js +0 -1
- package/dist-es/commands/ListGroupsCommand.js +0 -1
- package/dist-es/commands/ListIdentityProvidersCommand.js +0 -1
- package/dist-es/commands/ListResourceServersCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListUserImportJobsCommand.js +0 -1
- package/dist-es/commands/ListUserPoolClientsCommand.js +0 -1
- package/dist-es/commands/ListUserPoolsCommand.js +0 -1
- package/dist-es/commands/ListUsersCommand.js +0 -1
- package/dist-es/commands/ListUsersInGroupCommand.js +0 -1
- package/dist-es/commands/ResendConfirmationCodeCommand.js +0 -1
- package/dist-es/commands/RespondToAuthChallengeCommand.js +0 -1
- package/dist-es/commands/RevokeTokenCommand.js +0 -1
- package/dist-es/commands/SetRiskConfigurationCommand.js +0 -1
- package/dist-es/commands/SetUICustomizationCommand.js +0 -1
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +0 -1
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js +0 -1
- package/dist-es/commands/SetUserSettingsCommand.js +0 -1
- package/dist-es/commands/SignUpCommand.js +0 -1
- package/dist-es/commands/StartUserImportJobCommand.js +0 -1
- package/dist-es/commands/StopUserImportJobCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +0 -1
- package/dist-es/commands/UpdateDeviceStatusCommand.js +0 -1
- package/dist-es/commands/UpdateGroupCommand.js +0 -1
- package/dist-es/commands/UpdateIdentityProviderCommand.js +0 -1
- package/dist-es/commands/UpdateResourceServerCommand.js +0 -1
- package/dist-es/commands/UpdateUserAttributesCommand.js +0 -1
- package/dist-es/commands/UpdateUserPoolClientCommand.js +0 -1
- package/dist-es/commands/UpdateUserPoolCommand.js +0 -1
- package/dist-es/commands/UpdateUserPoolDomainCommand.js +0 -1
- package/dist-es/commands/VerifySoftwareTokenCommand.js +0 -1
- package/dist-es/commands/VerifyUserAttributeCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/models/models_1.js +0 -1
- package/dist-es/pagination/AdminListGroupsForUserPaginator.js +0 -1
- package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListGroupsPaginator.js +0 -1
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +0 -1
- package/dist-es/pagination/ListResourceServersPaginator.js +0 -1
- package/dist-es/pagination/ListUserPoolClientsPaginator.js +0 -1
- package/dist-es/pagination/ListUserPoolsPaginator.js +0 -1
- package/dist-es/pagination/ListUsersInGroupPaginator.js +0 -1
- package/dist-es/pagination/ListUsersPaginator.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/runtimeConfig.browser.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -0
- package/package.json +33 -30
- package/dist-cjs/CognitoIdentityProvider.js.map +0 -1
- package/dist-cjs/CognitoIdentityProviderClient.js.map +0 -1
- package/dist-cjs/commands/AddCustomAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js.map +0 -1
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js.map +0 -1
- package/dist-cjs/commands/AdminCreateUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/AdminDeleteUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminDisableUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminEnableUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminForgetDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/AdminGetDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/AdminGetUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminInitiateAuthCommand.js.map +0 -1
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminListDevicesCommand.js.map +0 -1
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js.map +0 -1
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js.map +0 -1
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js.map +0 -1
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js.map +0 -1
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js.map +0 -1
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js.map +0 -1
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js.map +0 -1
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js.map +0 -1
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js.map +0 -1
- package/dist-cjs/commands/ChangePasswordCommand.js.map +0 -1
- package/dist-cjs/commands/ConfirmDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js.map +0 -1
- package/dist-cjs/commands/ConfirmSignUpCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIdentityProviderCommand.js.map +0 -1
- package/dist-cjs/commands/CreateResourceServerCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserImportJobCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserPoolClientCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserPoolCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteResourceServerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserPoolCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeResourceServerCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUserImportJobCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUserPoolCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js.map +0 -1
- package/dist-cjs/commands/ForgetDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/ForgotPasswordCommand.js.map +0 -1
- package/dist-cjs/commands/GetCSVHeaderCommand.js.map +0 -1
- package/dist-cjs/commands/GetDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/GetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js.map +0 -1
- package/dist-cjs/commands/GetSigningCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/GetUICustomizationCommand.js.map +0 -1
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js.map +0 -1
- package/dist-cjs/commands/GetUserCommand.js.map +0 -1
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GlobalSignOutCommand.js.map +0 -1
- package/dist-cjs/commands/InitiateAuthCommand.js.map +0 -1
- package/dist-cjs/commands/ListDevicesCommand.js.map +0 -1
- package/dist-cjs/commands/ListGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListIdentityProvidersCommand.js.map +0 -1
- package/dist-cjs/commands/ListResourceServersCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListUserImportJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListUserPoolClientsCommand.js.map +0 -1
- package/dist-cjs/commands/ListUserPoolsCommand.js.map +0 -1
- package/dist-cjs/commands/ListUsersCommand.js.map +0 -1
- package/dist-cjs/commands/ListUsersInGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js.map +0 -1
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js.map +0 -1
- package/dist-cjs/commands/RevokeTokenCommand.js.map +0 -1
- package/dist-cjs/commands/SetRiskConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/SetUICustomizationCommand.js.map +0 -1
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js.map +0 -1
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist-cjs/commands/SetUserSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/SignUpCommand.js.map +0 -1
- package/dist-cjs/commands/StartUserImportJobCommand.js.map +0 -1
- package/dist-cjs/commands/StopUserImportJobCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateResourceServerCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateUserAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateUserPoolCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js.map +0 -1
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js.map +0 -1
- package/dist-cjs/commands/VerifyUserAttributeCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/models/models_1.js.map +0 -1
- package/dist-cjs/pagination/AdminListGroupsForUserPaginator.js.map +0 -1
- package/dist-cjs/pagination/AdminListUserAuthEventsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListIdentityProvidersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListResourceServersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUserPoolClientsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUserPoolsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUsersInGroupPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUsersPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/CognitoIdentityProvider.js.map +0 -1
- package/dist-es/CognitoIdentityProviderClient.js.map +0 -1
- package/dist-es/commands/AddCustomAttributesCommand.js.map +0 -1
- package/dist-es/commands/AdminAddUserToGroupCommand.js.map +0 -1
- package/dist-es/commands/AdminConfirmSignUpCommand.js.map +0 -1
- package/dist-es/commands/AdminCreateUserCommand.js.map +0 -1
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js.map +0 -1
- package/dist-es/commands/AdminDeleteUserCommand.js.map +0 -1
- package/dist-es/commands/AdminDisableProviderForUserCommand.js.map +0 -1
- package/dist-es/commands/AdminDisableUserCommand.js.map +0 -1
- package/dist-es/commands/AdminEnableUserCommand.js.map +0 -1
- package/dist-es/commands/AdminForgetDeviceCommand.js.map +0 -1
- package/dist-es/commands/AdminGetDeviceCommand.js.map +0 -1
- package/dist-es/commands/AdminGetUserCommand.js.map +0 -1
- package/dist-es/commands/AdminInitiateAuthCommand.js.map +0 -1
- package/dist-es/commands/AdminLinkProviderForUserCommand.js.map +0 -1
- package/dist-es/commands/AdminListDevicesCommand.js.map +0 -1
- package/dist-es/commands/AdminListGroupsForUserCommand.js.map +0 -1
- package/dist-es/commands/AdminListUserAuthEventsCommand.js.map +0 -1
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js.map +0 -1
- package/dist-es/commands/AdminResetUserPasswordCommand.js.map +0 -1
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js.map +0 -1
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js.map +0 -1
- package/dist-es/commands/AdminSetUserPasswordCommand.js.map +0 -1
- package/dist-es/commands/AdminSetUserSettingsCommand.js.map +0 -1
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js.map +0 -1
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js.map +0 -1
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js.map +0 -1
- package/dist-es/commands/AssociateSoftwareTokenCommand.js.map +0 -1
- package/dist-es/commands/ChangePasswordCommand.js.map +0 -1
- package/dist-es/commands/ConfirmDeviceCommand.js.map +0 -1
- package/dist-es/commands/ConfirmForgotPasswordCommand.js.map +0 -1
- package/dist-es/commands/ConfirmSignUpCommand.js.map +0 -1
- package/dist-es/commands/CreateGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateIdentityProviderCommand.js.map +0 -1
- package/dist-es/commands/CreateResourceServerCommand.js.map +0 -1
- package/dist-es/commands/CreateUserImportJobCommand.js.map +0 -1
- package/dist-es/commands/CreateUserPoolClientCommand.js.map +0 -1
- package/dist-es/commands/CreateUserPoolCommand.js.map +0 -1
- package/dist-es/commands/CreateUserPoolDomainCommand.js.map +0 -1
- package/dist-es/commands/DeleteGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteIdentityProviderCommand.js.map +0 -1
- package/dist-es/commands/DeleteResourceServerCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserAttributesCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserPoolClientCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserPoolCommand.js.map +0 -1
- package/dist-es/commands/DeleteUserPoolDomainCommand.js.map +0 -1
- package/dist-es/commands/DescribeIdentityProviderCommand.js.map +0 -1
- package/dist-es/commands/DescribeResourceServerCommand.js.map +0 -1
- package/dist-es/commands/DescribeRiskConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribeUserImportJobCommand.js.map +0 -1
- package/dist-es/commands/DescribeUserPoolClientCommand.js.map +0 -1
- package/dist-es/commands/DescribeUserPoolCommand.js.map +0 -1
- package/dist-es/commands/DescribeUserPoolDomainCommand.js.map +0 -1
- package/dist-es/commands/ForgetDeviceCommand.js.map +0 -1
- package/dist-es/commands/ForgotPasswordCommand.js.map +0 -1
- package/dist-es/commands/GetCSVHeaderCommand.js.map +0 -1
- package/dist-es/commands/GetDeviceCommand.js.map +0 -1
- package/dist-es/commands/GetGroupCommand.js.map +0 -1
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js.map +0 -1
- package/dist-es/commands/GetSigningCertificateCommand.js.map +0 -1
- package/dist-es/commands/GetUICustomizationCommand.js.map +0 -1
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js.map +0 -1
- package/dist-es/commands/GetUserCommand.js.map +0 -1
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist-es/commands/GlobalSignOutCommand.js.map +0 -1
- package/dist-es/commands/InitiateAuthCommand.js.map +0 -1
- package/dist-es/commands/ListDevicesCommand.js.map +0 -1
- package/dist-es/commands/ListGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListIdentityProvidersCommand.js.map +0 -1
- package/dist-es/commands/ListResourceServersCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListUserImportJobsCommand.js.map +0 -1
- package/dist-es/commands/ListUserPoolClientsCommand.js.map +0 -1
- package/dist-es/commands/ListUserPoolsCommand.js.map +0 -1
- package/dist-es/commands/ListUsersCommand.js.map +0 -1
- package/dist-es/commands/ListUsersInGroupCommand.js.map +0 -1
- package/dist-es/commands/ResendConfirmationCodeCommand.js.map +0 -1
- package/dist-es/commands/RespondToAuthChallengeCommand.js.map +0 -1
- package/dist-es/commands/RevokeTokenCommand.js.map +0 -1
- package/dist-es/commands/SetRiskConfigurationCommand.js.map +0 -1
- package/dist-es/commands/SetUICustomizationCommand.js.map +0 -1
- package/dist-es/commands/SetUserMFAPreferenceCommand.js.map +0 -1
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist-es/commands/SetUserSettingsCommand.js.map +0 -1
- package/dist-es/commands/SignUpCommand.js.map +0 -1
- package/dist-es/commands/StartUserImportJobCommand.js.map +0 -1
- package/dist-es/commands/StopUserImportJobCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist-es/commands/UpdateDeviceStatusCommand.js.map +0 -1
- package/dist-es/commands/UpdateGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateIdentityProviderCommand.js.map +0 -1
- package/dist-es/commands/UpdateResourceServerCommand.js.map +0 -1
- package/dist-es/commands/UpdateUserAttributesCommand.js.map +0 -1
- package/dist-es/commands/UpdateUserPoolClientCommand.js.map +0 -1
- package/dist-es/commands/UpdateUserPoolCommand.js.map +0 -1
- package/dist-es/commands/UpdateUserPoolDomainCommand.js.map +0 -1
- package/dist-es/commands/VerifySoftwareTokenCommand.js.map +0 -1
- package/dist-es/commands/VerifyUserAttributeCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/models/models_1.js.map +0 -1
- package/dist-es/pagination/AdminListGroupsForUserPaginator.js.map +0 -1
- package/dist-es/pagination/AdminListUserAuthEventsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/ListIdentityProvidersPaginator.js.map +0 -1
- package/dist-es/pagination/ListResourceServersPaginator.js.map +0 -1
- package/dist-es/pagination/ListUserPoolClientsPaginator.js.map +0 -1
- package/dist-es/pagination/ListUserPoolsPaginator.js.map +0 -1
- package/dist-es/pagination/ListUsersInGroupPaginator.js.map +0 -1
- package/dist-es/pagination/ListUsersPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/CognitoIdentityProvider.ts +0 -4102
- package/src/CognitoIdentityProviderClient.ts +0 -707
- package/src/commands/AddCustomAttributesCommand.ts +0 -101
- package/src/commands/AdminAddUserToGroupCommand.ts +0 -102
- package/src/commands/AdminConfirmSignUpCommand.ts +0 -103
- package/src/commands/AdminCreateUserCommand.ts +0 -130
- package/src/commands/AdminDeleteUserAttributesCommand.ts +0 -106
- package/src/commands/AdminDeleteUserCommand.ts +0 -102
- package/src/commands/AdminDisableProviderForUserCommand.ts +0 -133
- package/src/commands/AdminDisableUserCommand.ts +0 -102
- package/src/commands/AdminEnableUserCommand.ts +0 -102
- package/src/commands/AdminForgetDeviceCommand.ts +0 -102
- package/src/commands/AdminGetDeviceCommand.ts +0 -102
- package/src/commands/AdminGetUserCommand.ts +0 -103
- package/src/commands/AdminInitiateAuthCommand.ts +0 -121
- package/src/commands/AdminLinkProviderForUserCommand.ts +0 -121
- package/src/commands/AdminListDevicesCommand.ts +0 -102
- package/src/commands/AdminListGroupsForUserCommand.ts +0 -102
- package/src/commands/AdminListUserAuthEventsCommand.ts +0 -102
- package/src/commands/AdminRemoveUserFromGroupCommand.ts +0 -102
- package/src/commands/AdminResetUserPasswordCommand.ts +0 -130
- package/src/commands/AdminRespondToAuthChallengeCommand.ts +0 -125
- package/src/commands/AdminSetUserMFAPreferenceCommand.ts +0 -108
- package/src/commands/AdminSetUserPasswordCommand.ts +0 -110
- package/src/commands/AdminSetUserSettingsCommand.ts +0 -104
- package/src/commands/AdminUpdateAuthEventFeedbackCommand.ts +0 -108
- package/src/commands/AdminUpdateDeviceStatusCommand.ts +0 -102
- package/src/commands/AdminUpdateUserAttributesCommand.ts +0 -128
- package/src/commands/AdminUserGlobalSignOutCommand.ts +0 -104
- package/src/commands/AssociateSoftwareTokenCommand.ts +0 -110
- package/src/commands/ChangePasswordCommand.ts +0 -99
- package/src/commands/ConfirmDeviceCommand.ts +0 -102
- package/src/commands/ConfirmForgotPasswordCommand.ts +0 -99
- package/src/commands/ConfirmSignUpCommand.ts +0 -100
- package/src/commands/CreateGroupCommand.ts +0 -102
- package/src/commands/CreateIdentityProviderCommand.ts +0 -101
- package/src/commands/CreateResourceServerCommand.ts +0 -101
- package/src/commands/CreateUserImportJobCommand.ts +0 -101
- package/src/commands/CreateUserPoolClientCommand.ts +0 -103
- package/src/commands/CreateUserPoolCommand.ts +0 -119
- package/src/commands/CreateUserPoolDomainCommand.ts +0 -101
- package/src/commands/DeleteGroupCommand.ts +0 -102
- package/src/commands/DeleteIdentityProviderCommand.ts +0 -101
- package/src/commands/DeleteResourceServerCommand.ts +0 -101
- package/src/commands/DeleteUserAttributesCommand.ts +0 -99
- package/src/commands/DeleteUserCommand.ts +0 -99
- package/src/commands/DeleteUserPoolClientCommand.ts +0 -101
- package/src/commands/DeleteUserPoolCommand.ts +0 -101
- package/src/commands/DeleteUserPoolDomainCommand.ts +0 -101
- package/src/commands/DescribeIdentityProviderCommand.ts +0 -101
- package/src/commands/DescribeResourceServerCommand.ts +0 -101
- package/src/commands/DescribeRiskConfigurationCommand.ts +0 -104
- package/src/commands/DescribeUserImportJobCommand.ts +0 -101
- package/src/commands/DescribeUserPoolClientCommand.ts +0 -102
- package/src/commands/DescribeUserPoolCommand.ts +0 -101
- package/src/commands/DescribeUserPoolDomainCommand.ts +0 -101
- package/src/commands/ForgetDeviceCommand.ts +0 -101
- package/src/commands/ForgotPasswordCommand.ts +0 -123
- package/src/commands/GetCSVHeaderCommand.ts +0 -102
- package/src/commands/GetDeviceCommand.ts +0 -98
- package/src/commands/GetGroupCommand.ts +0 -99
- package/src/commands/GetIdentityProviderByIdentifierCommand.ts +0 -109
- package/src/commands/GetSigningCertificateCommand.ts +0 -101
- package/src/commands/GetUICustomizationCommand.ts +0 -104
- package/src/commands/GetUserAttributeVerificationCodeCommand.ts +0 -124
- package/src/commands/GetUserCommand.ts +0 -96
- package/src/commands/GetUserPoolMfaConfigCommand.ts +0 -101
- package/src/commands/GlobalSignOutCommand.ts +0 -103
- package/src/commands/InitiateAuthCommand.ts +0 -116
- package/src/commands/ListDevicesCommand.ts +0 -101
- package/src/commands/ListGroupsCommand.ts +0 -102
- package/src/commands/ListIdentityProvidersCommand.ts +0 -101
- package/src/commands/ListResourceServersCommand.ts +0 -101
- package/src/commands/ListTagsForResourceCommand.ts +0 -104
- package/src/commands/ListUserImportJobsCommand.ts +0 -101
- package/src/commands/ListUserPoolClientsCommand.ts +0 -101
- package/src/commands/ListUserPoolsCommand.ts +0 -101
- package/src/commands/ListUsersCommand.ts +0 -98
- package/src/commands/ListUsersInGroupCommand.ts +0 -102
- package/src/commands/ResendConfirmationCodeCommand.ts +0 -117
- package/src/commands/RespondToAuthChallengeCommand.ts +0 -116
- package/src/commands/RevokeTokenCommand.ts +0 -102
- package/src/commands/SetRiskConfigurationCommand.ts +0 -105
- package/src/commands/SetUICustomizationCommand.ts +0 -112
- package/src/commands/SetUserMFAPreferenceCommand.ts +0 -109
- package/src/commands/SetUserPoolMfaConfigCommand.ts +0 -118
- package/src/commands/SetUserSettingsCommand.ts +0 -102
- package/src/commands/SignUpCommand.ts +0 -114
- package/src/commands/StartUserImportJobCommand.ts +0 -102
- package/src/commands/StopUserImportJobCommand.ts +0 -101
- package/src/commands/TagResourceCommand.ts +0 -114
- package/src/commands/UntagResourceCommand.ts +0 -102
- package/src/commands/UpdateAuthEventFeedbackCommand.ts +0 -103
- package/src/commands/UpdateDeviceStatusCommand.ts +0 -101
- package/src/commands/UpdateGroupCommand.ts +0 -102
- package/src/commands/UpdateIdentityProviderCommand.ts +0 -101
- package/src/commands/UpdateResourceServerCommand.ts +0 -105
- package/src/commands/UpdateUserAttributesCommand.ts +0 -116
- package/src/commands/UpdateUserPoolClientCommand.ts +0 -108
- package/src/commands/UpdateUserPoolCommand.ts +0 -120
- package/src/commands/UpdateUserPoolDomainCommand.ts +0 -121
- package/src/commands/VerifySoftwareTokenCommand.ts +0 -103
- package/src/commands/VerifyUserAttributeCommand.ts +0 -99
- package/src/endpoints.ts +0 -82
- package/src/index.ts +0 -114
- package/src/models/index.ts +0 -2
- package/src/models/models_0.ts +0 -9830
- package/src/models/models_1.ts +0 -1072
- package/src/pagination/AdminListGroupsForUserPaginator.ts +0 -59
- package/src/pagination/AdminListUserAuthEventsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListGroupsPaginator.ts +0 -55
- package/src/pagination/ListIdentityProvidersPaginator.ts +0 -59
- package/src/pagination/ListResourceServersPaginator.ts +0 -59
- package/src/pagination/ListUserPoolClientsPaginator.ts +0 -59
- package/src/pagination/ListUserPoolsPaginator.ts +0 -59
- package/src/pagination/ListUsersInGroupPaginator.ts +0 -59
- package/src/pagination/ListUsersPaginator.ts +0 -55
- package/src/protocols/Aws_json1_1.ts +0 -18343
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CognitoIdentityProvider } from "../CognitoIdentityProvider";
|
|
4
|
-
import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
|
|
5
|
-
import {
|
|
6
|
-
AdminListGroupsForUserCommand,
|
|
7
|
-
AdminListGroupsForUserCommandInput,
|
|
8
|
-
AdminListGroupsForUserCommandOutput,
|
|
9
|
-
} from "../commands/AdminListGroupsForUserCommand";
|
|
10
|
-
import { CognitoIdentityProviderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CognitoIdentityProviderClient,
|
|
17
|
-
input: AdminListGroupsForUserCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<AdminListGroupsForUserCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new AdminListGroupsForUserCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CognitoIdentityProvider,
|
|
28
|
-
input: AdminListGroupsForUserCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<AdminListGroupsForUserCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.adminListGroupsForUser(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateAdminListGroupsForUser(
|
|
35
|
-
config: CognitoIdentityProviderPaginationConfiguration,
|
|
36
|
-
input: AdminListGroupsForUserCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<AdminListGroupsForUserCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: AdminListGroupsForUserCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["Limit"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CognitoIdentityProvider) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CognitoIdentityProviderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CognitoIdentityProvider } from "../CognitoIdentityProvider";
|
|
4
|
-
import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
|
|
5
|
-
import {
|
|
6
|
-
AdminListUserAuthEventsCommand,
|
|
7
|
-
AdminListUserAuthEventsCommandInput,
|
|
8
|
-
AdminListUserAuthEventsCommandOutput,
|
|
9
|
-
} from "../commands/AdminListUserAuthEventsCommand";
|
|
10
|
-
import { CognitoIdentityProviderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CognitoIdentityProviderClient,
|
|
17
|
-
input: AdminListUserAuthEventsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<AdminListUserAuthEventsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new AdminListUserAuthEventsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CognitoIdentityProvider,
|
|
28
|
-
input: AdminListUserAuthEventsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<AdminListUserAuthEventsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.adminListUserAuthEvents(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateAdminListUserAuthEvents(
|
|
35
|
-
config: CognitoIdentityProviderPaginationConfiguration,
|
|
36
|
-
input: AdminListUserAuthEventsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<AdminListUserAuthEventsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: AdminListUserAuthEventsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CognitoIdentityProvider) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CognitoIdentityProviderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CognitoIdentityProvider } from "../CognitoIdentityProvider";
|
|
4
|
-
import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
|
|
5
|
-
|
|
6
|
-
export interface CognitoIdentityProviderPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
-
client: CognitoIdentityProvider | CognitoIdentityProviderClient;
|
|
8
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CognitoIdentityProvider } from "../CognitoIdentityProvider";
|
|
4
|
-
import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
|
|
5
|
-
import { ListGroupsCommand, ListGroupsCommandInput, ListGroupsCommandOutput } from "../commands/ListGroupsCommand";
|
|
6
|
-
import { CognitoIdentityProviderPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: CognitoIdentityProviderClient,
|
|
13
|
-
input: ListGroupsCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListGroupsCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListGroupsCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: CognitoIdentityProvider,
|
|
24
|
-
input: ListGroupsCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListGroupsCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listGroups(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListGroups(
|
|
31
|
-
config: CognitoIdentityProviderPaginationConfiguration,
|
|
32
|
-
input: ListGroupsCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListGroupsCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
36
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListGroupsCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.NextToken = token;
|
|
41
|
-
input["Limit"] = config.pageSize;
|
|
42
|
-
if (config.client instanceof CognitoIdentityProvider) {
|
|
43
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
44
|
-
} else if (config.client instanceof CognitoIdentityProviderClient) {
|
|
45
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
46
|
-
} else {
|
|
47
|
-
throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
|
|
48
|
-
}
|
|
49
|
-
yield page;
|
|
50
|
-
token = page.NextToken;
|
|
51
|
-
hasNext = !!token;
|
|
52
|
-
}
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CognitoIdentityProvider } from "../CognitoIdentityProvider";
|
|
4
|
-
import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
|
|
5
|
-
import {
|
|
6
|
-
ListIdentityProvidersCommand,
|
|
7
|
-
ListIdentityProvidersCommandInput,
|
|
8
|
-
ListIdentityProvidersCommandOutput,
|
|
9
|
-
} from "../commands/ListIdentityProvidersCommand";
|
|
10
|
-
import { CognitoIdentityProviderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CognitoIdentityProviderClient,
|
|
17
|
-
input: ListIdentityProvidersCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListIdentityProvidersCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListIdentityProvidersCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CognitoIdentityProvider,
|
|
28
|
-
input: ListIdentityProvidersCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListIdentityProvidersCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listIdentityProviders(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListIdentityProviders(
|
|
35
|
-
config: CognitoIdentityProviderPaginationConfiguration,
|
|
36
|
-
input: ListIdentityProvidersCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListIdentityProvidersCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListIdentityProvidersCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CognitoIdentityProvider) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CognitoIdentityProviderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CognitoIdentityProvider } from "../CognitoIdentityProvider";
|
|
4
|
-
import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
|
|
5
|
-
import {
|
|
6
|
-
ListResourceServersCommand,
|
|
7
|
-
ListResourceServersCommandInput,
|
|
8
|
-
ListResourceServersCommandOutput,
|
|
9
|
-
} from "../commands/ListResourceServersCommand";
|
|
10
|
-
import { CognitoIdentityProviderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CognitoIdentityProviderClient,
|
|
17
|
-
input: ListResourceServersCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListResourceServersCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListResourceServersCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CognitoIdentityProvider,
|
|
28
|
-
input: ListResourceServersCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListResourceServersCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listResourceServers(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListResourceServers(
|
|
35
|
-
config: CognitoIdentityProviderPaginationConfiguration,
|
|
36
|
-
input: ListResourceServersCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListResourceServersCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListResourceServersCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CognitoIdentityProvider) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CognitoIdentityProviderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CognitoIdentityProvider } from "../CognitoIdentityProvider";
|
|
4
|
-
import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
|
|
5
|
-
import {
|
|
6
|
-
ListUserPoolClientsCommand,
|
|
7
|
-
ListUserPoolClientsCommandInput,
|
|
8
|
-
ListUserPoolClientsCommandOutput,
|
|
9
|
-
} from "../commands/ListUserPoolClientsCommand";
|
|
10
|
-
import { CognitoIdentityProviderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CognitoIdentityProviderClient,
|
|
17
|
-
input: ListUserPoolClientsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListUserPoolClientsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListUserPoolClientsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CognitoIdentityProvider,
|
|
28
|
-
input: ListUserPoolClientsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListUserPoolClientsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listUserPoolClients(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListUserPoolClients(
|
|
35
|
-
config: CognitoIdentityProviderPaginationConfiguration,
|
|
36
|
-
input: ListUserPoolClientsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListUserPoolClientsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListUserPoolClientsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CognitoIdentityProvider) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CognitoIdentityProviderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CognitoIdentityProvider } from "../CognitoIdentityProvider";
|
|
4
|
-
import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
|
|
5
|
-
import {
|
|
6
|
-
ListUserPoolsCommand,
|
|
7
|
-
ListUserPoolsCommandInput,
|
|
8
|
-
ListUserPoolsCommandOutput,
|
|
9
|
-
} from "../commands/ListUserPoolsCommand";
|
|
10
|
-
import { CognitoIdentityProviderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CognitoIdentityProviderClient,
|
|
17
|
-
input: ListUserPoolsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListUserPoolsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListUserPoolsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CognitoIdentityProvider,
|
|
28
|
-
input: ListUserPoolsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListUserPoolsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listUserPools(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListUserPools(
|
|
35
|
-
config: CognitoIdentityProviderPaginationConfiguration,
|
|
36
|
-
input: ListUserPoolsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListUserPoolsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListUserPoolsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CognitoIdentityProvider) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CognitoIdentityProviderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CognitoIdentityProvider } from "../CognitoIdentityProvider";
|
|
4
|
-
import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
|
|
5
|
-
import {
|
|
6
|
-
ListUsersInGroupCommand,
|
|
7
|
-
ListUsersInGroupCommandInput,
|
|
8
|
-
ListUsersInGroupCommandOutput,
|
|
9
|
-
} from "../commands/ListUsersInGroupCommand";
|
|
10
|
-
import { CognitoIdentityProviderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CognitoIdentityProviderClient,
|
|
17
|
-
input: ListUsersInGroupCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListUsersInGroupCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListUsersInGroupCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CognitoIdentityProvider,
|
|
28
|
-
input: ListUsersInGroupCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListUsersInGroupCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listUsersInGroup(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListUsersInGroup(
|
|
35
|
-
config: CognitoIdentityProviderPaginationConfiguration,
|
|
36
|
-
input: ListUsersInGroupCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListUsersInGroupCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListUsersInGroupCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["Limit"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CognitoIdentityProvider) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CognitoIdentityProviderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CognitoIdentityProvider } from "../CognitoIdentityProvider";
|
|
4
|
-
import { CognitoIdentityProviderClient } from "../CognitoIdentityProviderClient";
|
|
5
|
-
import { ListUsersCommand, ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListUsersCommand";
|
|
6
|
-
import { CognitoIdentityProviderPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: CognitoIdentityProviderClient,
|
|
13
|
-
input: ListUsersCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListUsersCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListUsersCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: CognitoIdentityProvider,
|
|
24
|
-
input: ListUsersCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListUsersCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listUsers(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListUsers(
|
|
31
|
-
config: CognitoIdentityProviderPaginationConfiguration,
|
|
32
|
-
input: ListUsersCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListUsersCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.PaginationToken
|
|
36
|
-
let token: typeof input.PaginationToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListUsersCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.PaginationToken = token;
|
|
41
|
-
input["Limit"] = config.pageSize;
|
|
42
|
-
if (config.client instanceof CognitoIdentityProvider) {
|
|
43
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
44
|
-
} else if (config.client instanceof CognitoIdentityProviderClient) {
|
|
45
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
46
|
-
} else {
|
|
47
|
-
throw new Error("Invalid client, expected CognitoIdentityProvider | CognitoIdentityProviderClient");
|
|
48
|
-
}
|
|
49
|
-
yield page;
|
|
50
|
-
token = page.PaginationToken;
|
|
51
|
-
hasNext = !!token;
|
|
52
|
-
}
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|