@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,117 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../CognitoIdentityProviderClient";
|
|
19
|
-
import { ResendConfirmationCodeRequest, ResendConfirmationCodeResponse } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_json1_1ResendConfirmationCodeCommand,
|
|
22
|
-
serializeAws_json1_1ResendConfirmationCodeCommand,
|
|
23
|
-
} from "../protocols/Aws_json1_1";
|
|
24
|
-
|
|
25
|
-
export interface ResendConfirmationCodeCommandInput extends ResendConfirmationCodeRequest {}
|
|
26
|
-
export interface ResendConfirmationCodeCommandOutput extends ResendConfirmationCodeResponse, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Resends the confirmation (for confirmation of registration) to a specific user in the
|
|
30
|
-
* user pool.</p>
|
|
31
|
-
*
|
|
32
|
-
* <note>
|
|
33
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
34
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
35
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
36
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
37
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
38
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
39
|
-
* in.</p>
|
|
40
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
42
|
-
* mode</a>
|
|
43
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
44
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
45
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
46
|
-
* Cognito Developer Guide</i>. </p>
|
|
47
|
-
* </note>
|
|
48
|
-
* @example
|
|
49
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
50
|
-
* ```javascript
|
|
51
|
-
* import { CognitoIdentityProviderClient, ResendConfirmationCodeCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
52
|
-
* // const { CognitoIdentityProviderClient, ResendConfirmationCodeCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
53
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
54
|
-
* const command = new ResendConfirmationCodeCommand(input);
|
|
55
|
-
* const response = await client.send(command);
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* @see {@link ResendConfirmationCodeCommandInput} for command's `input` shape.
|
|
59
|
-
* @see {@link ResendConfirmationCodeCommandOutput} for command's `response` shape.
|
|
60
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
export class ResendConfirmationCodeCommand extends $Command<
|
|
64
|
-
ResendConfirmationCodeCommandInput,
|
|
65
|
-
ResendConfirmationCodeCommandOutput,
|
|
66
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
67
|
-
> {
|
|
68
|
-
// Start section: command_properties
|
|
69
|
-
// End section: command_properties
|
|
70
|
-
|
|
71
|
-
constructor(readonly input: ResendConfirmationCodeCommandInput) {
|
|
72
|
-
// Start section: command_constructor
|
|
73
|
-
super();
|
|
74
|
-
// End section: command_constructor
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
resolveMiddleware(
|
|
81
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
82
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
83
|
-
options?: __HttpHandlerOptions
|
|
84
|
-
): Handler<ResendConfirmationCodeCommandInput, ResendConfirmationCodeCommandOutput> {
|
|
85
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
86
|
-
|
|
87
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
88
|
-
|
|
89
|
-
const { logger } = configuration;
|
|
90
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
91
|
-
const commandName = "ResendConfirmationCodeCommand";
|
|
92
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
93
|
-
logger,
|
|
94
|
-
clientName,
|
|
95
|
-
commandName,
|
|
96
|
-
inputFilterSensitiveLog: ResendConfirmationCodeRequest.filterSensitiveLog,
|
|
97
|
-
outputFilterSensitiveLog: ResendConfirmationCodeResponse.filterSensitiveLog,
|
|
98
|
-
};
|
|
99
|
-
const { requestHandler } = configuration;
|
|
100
|
-
return stack.resolve(
|
|
101
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
102
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
103
|
-
handlerExecutionContext
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
private serialize(input: ResendConfirmationCodeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
108
|
-
return serializeAws_json1_1ResendConfirmationCodeCommand(input, context);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ResendConfirmationCodeCommandOutput> {
|
|
112
|
-
return deserializeAws_json1_1ResendConfirmationCodeCommand(output, context);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// Start section: command_body_extra
|
|
116
|
-
// End section: command_body_extra
|
|
117
|
-
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../CognitoIdentityProviderClient";
|
|
19
|
-
import { RespondToAuthChallengeRequest, RespondToAuthChallengeResponse } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_json1_1RespondToAuthChallengeCommand,
|
|
22
|
-
serializeAws_json1_1RespondToAuthChallengeCommand,
|
|
23
|
-
} from "../protocols/Aws_json1_1";
|
|
24
|
-
|
|
25
|
-
export interface RespondToAuthChallengeCommandInput extends RespondToAuthChallengeRequest {}
|
|
26
|
-
export interface RespondToAuthChallengeCommandOutput extends RespondToAuthChallengeResponse, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Responds to the authentication challenge.</p>
|
|
30
|
-
*
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
33
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
34
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
35
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
36
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
37
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
38
|
-
* in.</p>
|
|
39
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
40
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
41
|
-
* mode</a>
|
|
42
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
43
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
44
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
45
|
-
* Cognito Developer Guide</i>. </p>
|
|
46
|
-
* </note>
|
|
47
|
-
* @example
|
|
48
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
49
|
-
* ```javascript
|
|
50
|
-
* import { CognitoIdentityProviderClient, RespondToAuthChallengeCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
51
|
-
* // const { CognitoIdentityProviderClient, RespondToAuthChallengeCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
52
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
53
|
-
* const command = new RespondToAuthChallengeCommand(input);
|
|
54
|
-
* const response = await client.send(command);
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* @see {@link RespondToAuthChallengeCommandInput} for command's `input` shape.
|
|
58
|
-
* @see {@link RespondToAuthChallengeCommandOutput} for command's `response` shape.
|
|
59
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
export class RespondToAuthChallengeCommand extends $Command<
|
|
63
|
-
RespondToAuthChallengeCommandInput,
|
|
64
|
-
RespondToAuthChallengeCommandOutput,
|
|
65
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
66
|
-
> {
|
|
67
|
-
// Start section: command_properties
|
|
68
|
-
// End section: command_properties
|
|
69
|
-
|
|
70
|
-
constructor(readonly input: RespondToAuthChallengeCommandInput) {
|
|
71
|
-
// Start section: command_constructor
|
|
72
|
-
super();
|
|
73
|
-
// End section: command_constructor
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
resolveMiddleware(
|
|
80
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
81
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
82
|
-
options?: __HttpHandlerOptions
|
|
83
|
-
): Handler<RespondToAuthChallengeCommandInput, RespondToAuthChallengeCommandOutput> {
|
|
84
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
85
|
-
|
|
86
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
87
|
-
|
|
88
|
-
const { logger } = configuration;
|
|
89
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
90
|
-
const commandName = "RespondToAuthChallengeCommand";
|
|
91
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
92
|
-
logger,
|
|
93
|
-
clientName,
|
|
94
|
-
commandName,
|
|
95
|
-
inputFilterSensitiveLog: RespondToAuthChallengeRequest.filterSensitiveLog,
|
|
96
|
-
outputFilterSensitiveLog: RespondToAuthChallengeResponse.filterSensitiveLog,
|
|
97
|
-
};
|
|
98
|
-
const { requestHandler } = configuration;
|
|
99
|
-
return stack.resolve(
|
|
100
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
101
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
102
|
-
handlerExecutionContext
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private serialize(input: RespondToAuthChallengeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
107
|
-
return serializeAws_json1_1RespondToAuthChallengeCommand(input, context);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RespondToAuthChallengeCommandOutput> {
|
|
111
|
-
return deserializeAws_json1_1RespondToAuthChallengeCommand(output, context);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// Start section: command_body_extra
|
|
115
|
-
// End section: command_body_extra
|
|
116
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
-
ServiceInputTypes,
|
|
18
|
-
ServiceOutputTypes,
|
|
19
|
-
} from "../CognitoIdentityProviderClient";
|
|
20
|
-
import { RevokeTokenRequest, RevokeTokenResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1RevokeTokenCommand,
|
|
23
|
-
serializeAws_json1_1RevokeTokenCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface RevokeTokenCommandInput extends RevokeTokenRequest {}
|
|
27
|
-
export interface RevokeTokenCommandOutput extends RevokeTokenResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Revokes all of the access tokens generated by the specified refresh token. After the token is revoked, you can not
|
|
31
|
-
* use the revoked token to access Cognito authenticated APIs.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { CognitoIdentityProviderClient, RevokeTokenCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
36
|
-
* // const { CognitoIdentityProviderClient, RevokeTokenCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
37
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
38
|
-
* const command = new RevokeTokenCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link RevokeTokenCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link RevokeTokenCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class RevokeTokenCommand extends $Command<
|
|
48
|
-
RevokeTokenCommandInput,
|
|
49
|
-
RevokeTokenCommandOutput,
|
|
50
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: RevokeTokenCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<RevokeTokenCommandInput, RevokeTokenCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
76
|
-
const commandName = "RevokeTokenCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: RevokeTokenRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: RevokeTokenResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: RevokeTokenCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1RevokeTokenCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RevokeTokenCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1RevokeTokenCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
-
ServiceInputTypes,
|
|
18
|
-
ServiceOutputTypes,
|
|
19
|
-
} from "../CognitoIdentityProviderClient";
|
|
20
|
-
import { SetRiskConfigurationRequest, SetRiskConfigurationResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1SetRiskConfigurationCommand,
|
|
23
|
-
serializeAws_json1_1SetRiskConfigurationCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface SetRiskConfigurationCommandInput extends SetRiskConfigurationRequest {}
|
|
27
|
-
export interface SetRiskConfigurationCommandOutput extends SetRiskConfigurationResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Configures actions on detected risks. To delete the risk configuration for
|
|
31
|
-
* <code>UserPoolId</code> or <code>ClientId</code>, pass null values for all four
|
|
32
|
-
* configuration types.</p>
|
|
33
|
-
* <p>To enable Amazon Cognito advanced security features, update the user pool to include
|
|
34
|
-
* the <code>UserPoolAddOns</code> key<code>AdvancedSecurityMode</code>.</p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { CognitoIdentityProviderClient, SetRiskConfigurationCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
39
|
-
* // const { CognitoIdentityProviderClient, SetRiskConfigurationCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
40
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
41
|
-
* const command = new SetRiskConfigurationCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link SetRiskConfigurationCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link SetRiskConfigurationCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export class SetRiskConfigurationCommand extends $Command<
|
|
51
|
-
SetRiskConfigurationCommandInput,
|
|
52
|
-
SetRiskConfigurationCommandOutput,
|
|
53
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
54
|
-
> {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
|
|
58
|
-
constructor(readonly input: SetRiskConfigurationCommandInput) {
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
super();
|
|
61
|
-
// End section: command_constructor
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
resolveMiddleware(
|
|
68
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
69
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
70
|
-
options?: __HttpHandlerOptions
|
|
71
|
-
): Handler<SetRiskConfigurationCommandInput, SetRiskConfigurationCommandOutput> {
|
|
72
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
73
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
74
|
-
|
|
75
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
79
|
-
const commandName = "SetRiskConfigurationCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: SetRiskConfigurationRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: SetRiskConfigurationResponse.filterSensitiveLog,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve(
|
|
89
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
90
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
91
|
-
handlerExecutionContext
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private serialize(input: SetRiskConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_json1_1SetRiskConfigurationCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SetRiskConfigurationCommandOutput> {
|
|
100
|
-
return deserializeAws_json1_1SetRiskConfigurationCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
-
ServiceInputTypes,
|
|
18
|
-
ServiceOutputTypes,
|
|
19
|
-
} from "../CognitoIdentityProviderClient";
|
|
20
|
-
import { SetUICustomizationRequest, SetUICustomizationResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1SetUICustomizationCommand,
|
|
23
|
-
serializeAws_json1_1SetUICustomizationCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface SetUICustomizationCommandInput extends SetUICustomizationRequest {}
|
|
27
|
-
export interface SetUICustomizationCommandOutput extends SetUICustomizationResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Sets the UI customization information for a user pool's built-in app UI.</p>
|
|
31
|
-
* <p>You can specify app UI customization settings for a single client (with a specific
|
|
32
|
-
* <code>clientId</code>) or for all clients (by setting the <code>clientId</code> to
|
|
33
|
-
* <code>ALL</code>). If you specify <code>ALL</code>, the default configuration will
|
|
34
|
-
* be used for every client that has no UI customization set previously. If you specify UI
|
|
35
|
-
* customization settings for a particular client, it will no longer fall back to the
|
|
36
|
-
* <code>ALL</code> configuration. </p>
|
|
37
|
-
* <note>
|
|
38
|
-
* <p>To use this API, your user pool must have a domain associated with it. Otherwise,
|
|
39
|
-
* there is no place to host the app's pages, and the service will throw an
|
|
40
|
-
* error.</p>
|
|
41
|
-
* </note>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { CognitoIdentityProviderClient, SetUICustomizationCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
46
|
-
* // const { CognitoIdentityProviderClient, SetUICustomizationCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
47
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
48
|
-
* const command = new SetUICustomizationCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link SetUICustomizationCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link SetUICustomizationCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
export class SetUICustomizationCommand extends $Command<
|
|
58
|
-
SetUICustomizationCommandInput,
|
|
59
|
-
SetUICustomizationCommandOutput,
|
|
60
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
61
|
-
> {
|
|
62
|
-
// Start section: command_properties
|
|
63
|
-
// End section: command_properties
|
|
64
|
-
|
|
65
|
-
constructor(readonly input: SetUICustomizationCommandInput) {
|
|
66
|
-
// Start section: command_constructor
|
|
67
|
-
super();
|
|
68
|
-
// End section: command_constructor
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
resolveMiddleware(
|
|
75
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
76
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
77
|
-
options?: __HttpHandlerOptions
|
|
78
|
-
): Handler<SetUICustomizationCommandInput, SetUICustomizationCommandOutput> {
|
|
79
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
80
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
81
|
-
|
|
82
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
83
|
-
|
|
84
|
-
const { logger } = configuration;
|
|
85
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
86
|
-
const commandName = "SetUICustomizationCommand";
|
|
87
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
88
|
-
logger,
|
|
89
|
-
clientName,
|
|
90
|
-
commandName,
|
|
91
|
-
inputFilterSensitiveLog: SetUICustomizationRequest.filterSensitiveLog,
|
|
92
|
-
outputFilterSensitiveLog: SetUICustomizationResponse.filterSensitiveLog,
|
|
93
|
-
};
|
|
94
|
-
const { requestHandler } = configuration;
|
|
95
|
-
return stack.resolve(
|
|
96
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
97
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
98
|
-
handlerExecutionContext
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
private serialize(input: SetUICustomizationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
103
|
-
return serializeAws_json1_1SetUICustomizationCommand(input, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SetUICustomizationCommandOutput> {
|
|
107
|
-
return deserializeAws_json1_1SetUICustomizationCommand(output, context);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// Start section: command_body_extra
|
|
111
|
-
// End section: command_body_extra
|
|
112
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
-
ServiceInputTypes,
|
|
18
|
-
ServiceOutputTypes,
|
|
19
|
-
} from "../CognitoIdentityProviderClient";
|
|
20
|
-
import { SetUserMFAPreferenceRequest, SetUserMFAPreferenceResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1SetUserMFAPreferenceCommand,
|
|
23
|
-
serializeAws_json1_1SetUserMFAPreferenceCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface SetUserMFAPreferenceCommandInput extends SetUserMFAPreferenceRequest {}
|
|
27
|
-
export interface SetUserMFAPreferenceCommandOutput extends SetUserMFAPreferenceResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Set the user's multi-factor authentication (MFA) method preference, including which
|
|
31
|
-
* MFA factors are enabled and if any are preferred. Only one factor can be set as
|
|
32
|
-
* preferred. The preferred MFA factor will be used to authenticate a user if multiple
|
|
33
|
-
* factors are enabled. If multiple options are enabled and no preference is set, a
|
|
34
|
-
* challenge to choose an MFA option will be returned during sign in. If an MFA type is
|
|
35
|
-
* enabled for a user, the user will be prompted for MFA during all sign in attempts,
|
|
36
|
-
* unless device tracking is turned on and the device has been trusted. If you would like
|
|
37
|
-
* MFA to be applied selectively based on the assessed risk level of sign in attempts,
|
|
38
|
-
* disable MFA for users and turn on Adaptive Authentication for the user pool.</p>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { CognitoIdentityProviderClient, SetUserMFAPreferenceCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
43
|
-
* // const { CognitoIdentityProviderClient, SetUserMFAPreferenceCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
44
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
45
|
-
* const command = new SetUserMFAPreferenceCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link SetUserMFAPreferenceCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link SetUserMFAPreferenceCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
export class SetUserMFAPreferenceCommand extends $Command<
|
|
55
|
-
SetUserMFAPreferenceCommandInput,
|
|
56
|
-
SetUserMFAPreferenceCommandOutput,
|
|
57
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
58
|
-
> {
|
|
59
|
-
// Start section: command_properties
|
|
60
|
-
// End section: command_properties
|
|
61
|
-
|
|
62
|
-
constructor(readonly input: SetUserMFAPreferenceCommandInput) {
|
|
63
|
-
// Start section: command_constructor
|
|
64
|
-
super();
|
|
65
|
-
// End section: command_constructor
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(
|
|
72
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
73
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
74
|
-
options?: __HttpHandlerOptions
|
|
75
|
-
): Handler<SetUserMFAPreferenceCommandInput, SetUserMFAPreferenceCommandOutput> {
|
|
76
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
78
|
-
|
|
79
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
80
|
-
|
|
81
|
-
const { logger } = configuration;
|
|
82
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
83
|
-
const commandName = "SetUserMFAPreferenceCommand";
|
|
84
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
85
|
-
logger,
|
|
86
|
-
clientName,
|
|
87
|
-
commandName,
|
|
88
|
-
inputFilterSensitiveLog: SetUserMFAPreferenceRequest.filterSensitiveLog,
|
|
89
|
-
outputFilterSensitiveLog: SetUserMFAPreferenceResponse.filterSensitiveLog,
|
|
90
|
-
};
|
|
91
|
-
const { requestHandler } = configuration;
|
|
92
|
-
return stack.resolve(
|
|
93
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
94
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
95
|
-
handlerExecutionContext
|
|
96
|
-
);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private serialize(input: SetUserMFAPreferenceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
100
|
-
return serializeAws_json1_1SetUserMFAPreferenceCommand(input, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SetUserMFAPreferenceCommandOutput> {
|
|
104
|
-
return deserializeAws_json1_1SetUserMFAPreferenceCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|