@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,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 { UpdateUserAttributesRequest, UpdateUserAttributesResponse } from "../models/models_1";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_json1_1UpdateUserAttributesCommand,
|
|
22
|
-
serializeAws_json1_1UpdateUserAttributesCommand,
|
|
23
|
-
} from "../protocols/Aws_json1_1";
|
|
24
|
-
|
|
25
|
-
export interface UpdateUserAttributesCommandInput extends UpdateUserAttributesRequest {}
|
|
26
|
-
export interface UpdateUserAttributesCommandOutput extends UpdateUserAttributesResponse, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Allows a user to update a specific attribute (one at a time).</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, UpdateUserAttributesCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
51
|
-
* // const { CognitoIdentityProviderClient, UpdateUserAttributesCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
52
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
53
|
-
* const command = new UpdateUserAttributesCommand(input);
|
|
54
|
-
* const response = await client.send(command);
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* @see {@link UpdateUserAttributesCommandInput} for command's `input` shape.
|
|
58
|
-
* @see {@link UpdateUserAttributesCommandOutput} for command's `response` shape.
|
|
59
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
export class UpdateUserAttributesCommand extends $Command<
|
|
63
|
-
UpdateUserAttributesCommandInput,
|
|
64
|
-
UpdateUserAttributesCommandOutput,
|
|
65
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
66
|
-
> {
|
|
67
|
-
// Start section: command_properties
|
|
68
|
-
// End section: command_properties
|
|
69
|
-
|
|
70
|
-
constructor(readonly input: UpdateUserAttributesCommandInput) {
|
|
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<UpdateUserAttributesCommandInput, UpdateUserAttributesCommandOutput> {
|
|
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 = "UpdateUserAttributesCommand";
|
|
91
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
92
|
-
logger,
|
|
93
|
-
clientName,
|
|
94
|
-
commandName,
|
|
95
|
-
inputFilterSensitiveLog: UpdateUserAttributesRequest.filterSensitiveLog,
|
|
96
|
-
outputFilterSensitiveLog: UpdateUserAttributesResponse.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: UpdateUserAttributesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
107
|
-
return serializeAws_json1_1UpdateUserAttributesCommand(input, context);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateUserAttributesCommandOutput> {
|
|
111
|
-
return deserializeAws_json1_1UpdateUserAttributesCommand(output, context);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// Start section: command_body_extra
|
|
115
|
-
// End section: command_body_extra
|
|
116
|
-
}
|
|
@@ -1,108 +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 { UpdateUserPoolClientRequest, UpdateUserPoolClientResponse } from "../models/models_1";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1UpdateUserPoolClientCommand,
|
|
23
|
-
serializeAws_json1_1UpdateUserPoolClientCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface UpdateUserPoolClientCommandInput extends UpdateUserPoolClientRequest {}
|
|
27
|
-
export interface UpdateUserPoolClientCommandOutput extends UpdateUserPoolClientResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Updates the specified user pool app client with the specified attributes. You can get
|
|
31
|
-
* a list of the current user pool app client settings using <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html">DescribeUserPoolClient</a>.</p>
|
|
32
|
-
* <important>
|
|
33
|
-
* <p>If you don't provide a value for an attribute, it will be set to the default
|
|
34
|
-
* value.</p>
|
|
35
|
-
* </important>
|
|
36
|
-
* <p>You can also use this operation to enable token revocation for user pool clients. For more information
|
|
37
|
-
* about revoking tokens, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { CognitoIdentityProviderClient, UpdateUserPoolClientCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
42
|
-
* // const { CognitoIdentityProviderClient, UpdateUserPoolClientCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
43
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
44
|
-
* const command = new UpdateUserPoolClientCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link UpdateUserPoolClientCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link UpdateUserPoolClientCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class UpdateUserPoolClientCommand extends $Command<
|
|
54
|
-
UpdateUserPoolClientCommandInput,
|
|
55
|
-
UpdateUserPoolClientCommandOutput,
|
|
56
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: UpdateUserPoolClientCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<UpdateUserPoolClientCommandInput, UpdateUserPoolClientCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
77
|
-
|
|
78
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
79
|
-
|
|
80
|
-
const { logger } = configuration;
|
|
81
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
82
|
-
const commandName = "UpdateUserPoolClientCommand";
|
|
83
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
84
|
-
logger,
|
|
85
|
-
clientName,
|
|
86
|
-
commandName,
|
|
87
|
-
inputFilterSensitiveLog: UpdateUserPoolClientRequest.filterSensitiveLog,
|
|
88
|
-
outputFilterSensitiveLog: UpdateUserPoolClientResponse.filterSensitiveLog,
|
|
89
|
-
};
|
|
90
|
-
const { requestHandler } = configuration;
|
|
91
|
-
return stack.resolve(
|
|
92
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
93
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
94
|
-
handlerExecutionContext
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private serialize(input: UpdateUserPoolClientCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
99
|
-
return serializeAws_json1_1UpdateUserPoolClientCommand(input, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateUserPoolClientCommandOutput> {
|
|
103
|
-
return deserializeAws_json1_1UpdateUserPoolClientCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,120 +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 { UpdateUserPoolRequest, UpdateUserPoolResponse } from "../models/models_1";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1UpdateUserPoolCommand,
|
|
23
|
-
serializeAws_json1_1UpdateUserPoolCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface UpdateUserPoolCommandInput extends UpdateUserPoolRequest {}
|
|
27
|
-
export interface UpdateUserPoolCommandOutput extends UpdateUserPoolResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Updates the specified user pool with the specified attributes. You can get a list of
|
|
31
|
-
* the current user pool settings using <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">DescribeUserPool</a>. If you don't provide a value for an attribute, it will be set to the default
|
|
32
|
-
* value.</p>
|
|
33
|
-
*
|
|
34
|
-
* <note>
|
|
35
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
36
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
37
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
38
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
39
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
40
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
41
|
-
* in.</p>
|
|
42
|
-
* <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>
|
|
43
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
44
|
-
* mode</a>
|
|
45
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
46
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
47
|
-
* 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
|
|
48
|
-
* Cognito Developer Guide</i>. </p>
|
|
49
|
-
* </note>
|
|
50
|
-
* @example
|
|
51
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
-
* ```javascript
|
|
53
|
-
* import { CognitoIdentityProviderClient, UpdateUserPoolCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
54
|
-
* // const { CognitoIdentityProviderClient, UpdateUserPoolCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
55
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
56
|
-
* const command = new UpdateUserPoolCommand(input);
|
|
57
|
-
* const response = await client.send(command);
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* @see {@link UpdateUserPoolCommandInput} for command's `input` shape.
|
|
61
|
-
* @see {@link UpdateUserPoolCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
|
-
export class UpdateUserPoolCommand extends $Command<
|
|
66
|
-
UpdateUserPoolCommandInput,
|
|
67
|
-
UpdateUserPoolCommandOutput,
|
|
68
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
69
|
-
> {
|
|
70
|
-
// Start section: command_properties
|
|
71
|
-
// End section: command_properties
|
|
72
|
-
|
|
73
|
-
constructor(readonly input: UpdateUserPoolCommandInput) {
|
|
74
|
-
// Start section: command_constructor
|
|
75
|
-
super();
|
|
76
|
-
// End section: command_constructor
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
resolveMiddleware(
|
|
83
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
84
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
85
|
-
options?: __HttpHandlerOptions
|
|
86
|
-
): Handler<UpdateUserPoolCommandInput, UpdateUserPoolCommandOutput> {
|
|
87
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
88
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
89
|
-
|
|
90
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
91
|
-
|
|
92
|
-
const { logger } = configuration;
|
|
93
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
94
|
-
const commandName = "UpdateUserPoolCommand";
|
|
95
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
96
|
-
logger,
|
|
97
|
-
clientName,
|
|
98
|
-
commandName,
|
|
99
|
-
inputFilterSensitiveLog: UpdateUserPoolRequest.filterSensitiveLog,
|
|
100
|
-
outputFilterSensitiveLog: UpdateUserPoolResponse.filterSensitiveLog,
|
|
101
|
-
};
|
|
102
|
-
const { requestHandler } = configuration;
|
|
103
|
-
return stack.resolve(
|
|
104
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
105
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
106
|
-
handlerExecutionContext
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
private serialize(input: UpdateUserPoolCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
111
|
-
return serializeAws_json1_1UpdateUserPoolCommand(input, context);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateUserPoolCommandOutput> {
|
|
115
|
-
return deserializeAws_json1_1UpdateUserPoolCommand(output, context);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// Start section: command_body_extra
|
|
119
|
-
// End section: command_body_extra
|
|
120
|
-
}
|
|
@@ -1,121 +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 { UpdateUserPoolDomainRequest, UpdateUserPoolDomainResponse } from "../models/models_1";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1UpdateUserPoolDomainCommand,
|
|
23
|
-
serializeAws_json1_1UpdateUserPoolDomainCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface UpdateUserPoolDomainCommandInput extends UpdateUserPoolDomainRequest {}
|
|
27
|
-
export interface UpdateUserPoolDomainCommandOutput extends UpdateUserPoolDomainResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user
|
|
31
|
-
* pool.</p>
|
|
32
|
-
* <p>You can use this operation to provide the Amazon Resource Name (ARN) of a new
|
|
33
|
-
* certificate to Amazon Cognito. You cannot use it to change the domain for a user
|
|
34
|
-
* pool.</p>
|
|
35
|
-
* <p>A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up
|
|
36
|
-
* and sign-in pages for your application. When you set up a custom domain, you provide a
|
|
37
|
-
* certificate that you manage with Certificate Manager (ACM). When necessary, you can
|
|
38
|
-
* use this operation to change the certificate that you applied to your custom
|
|
39
|
-
* domain.</p>
|
|
40
|
-
* <p>Usually, this is unnecessary following routine certificate renewal with ACM. When you
|
|
41
|
-
* renew your existing certificate in ACM, the ARN for your certificate remains the same,
|
|
42
|
-
* and your custom domain uses the new certificate automatically.</p>
|
|
43
|
-
* <p>However, if you replace your existing certificate with a new one, ACM gives the new
|
|
44
|
-
* certificate a new ARN. To apply the new certificate to your custom domain, you must
|
|
45
|
-
* provide this ARN to Amazon Cognito.</p>
|
|
46
|
-
* <p>When you add your new certificate in ACM, you must choose US East (N. Virginia) as the
|
|
47
|
-
* Region.</p>
|
|
48
|
-
* <p>After you submit your request, Amazon Cognito requires up to 1 hour to distribute your
|
|
49
|
-
* new certificate to your custom domain.</p>
|
|
50
|
-
* <p>For more information about adding a custom domain to your user pool, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html">Using Your Own Domain for the Hosted UI</a>.</p>
|
|
51
|
-
* @example
|
|
52
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
53
|
-
* ```javascript
|
|
54
|
-
* import { CognitoIdentityProviderClient, UpdateUserPoolDomainCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
55
|
-
* // const { CognitoIdentityProviderClient, UpdateUserPoolDomainCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
56
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
57
|
-
* const command = new UpdateUserPoolDomainCommand(input);
|
|
58
|
-
* const response = await client.send(command);
|
|
59
|
-
* ```
|
|
60
|
-
*
|
|
61
|
-
* @see {@link UpdateUserPoolDomainCommandInput} for command's `input` shape.
|
|
62
|
-
* @see {@link UpdateUserPoolDomainCommandOutput} for command's `response` shape.
|
|
63
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
export class UpdateUserPoolDomainCommand extends $Command<
|
|
67
|
-
UpdateUserPoolDomainCommandInput,
|
|
68
|
-
UpdateUserPoolDomainCommandOutput,
|
|
69
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
70
|
-
> {
|
|
71
|
-
// Start section: command_properties
|
|
72
|
-
// End section: command_properties
|
|
73
|
-
|
|
74
|
-
constructor(readonly input: UpdateUserPoolDomainCommandInput) {
|
|
75
|
-
// Start section: command_constructor
|
|
76
|
-
super();
|
|
77
|
-
// End section: command_constructor
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
resolveMiddleware(
|
|
84
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
85
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
86
|
-
options?: __HttpHandlerOptions
|
|
87
|
-
): Handler<UpdateUserPoolDomainCommandInput, UpdateUserPoolDomainCommandOutput> {
|
|
88
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
89
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
90
|
-
|
|
91
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
92
|
-
|
|
93
|
-
const { logger } = configuration;
|
|
94
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
95
|
-
const commandName = "UpdateUserPoolDomainCommand";
|
|
96
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
97
|
-
logger,
|
|
98
|
-
clientName,
|
|
99
|
-
commandName,
|
|
100
|
-
inputFilterSensitiveLog: UpdateUserPoolDomainRequest.filterSensitiveLog,
|
|
101
|
-
outputFilterSensitiveLog: UpdateUserPoolDomainResponse.filterSensitiveLog,
|
|
102
|
-
};
|
|
103
|
-
const { requestHandler } = configuration;
|
|
104
|
-
return stack.resolve(
|
|
105
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
106
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
107
|
-
handlerExecutionContext
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
private serialize(input: UpdateUserPoolDomainCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
112
|
-
return serializeAws_json1_1UpdateUserPoolDomainCommand(input, context);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateUserPoolDomainCommandOutput> {
|
|
116
|
-
return deserializeAws_json1_1UpdateUserPoolDomainCommand(output, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
// Start section: command_body_extra
|
|
120
|
-
// End section: command_body_extra
|
|
121
|
-
}
|
|
@@ -1,103 +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 { VerifySoftwareTokenRequest, VerifySoftwareTokenResponse } from "../models/models_1";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1VerifySoftwareTokenCommand,
|
|
23
|
-
serializeAws_json1_1VerifySoftwareTokenCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface VerifySoftwareTokenCommandInput extends VerifySoftwareTokenRequest {}
|
|
27
|
-
export interface VerifySoftwareTokenCommandOutput extends VerifySoftwareTokenResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Use this API to register a user's entered TOTP code and mark the user's software token
|
|
31
|
-
* MFA status as "verified" if successful. The request takes an access token or a session
|
|
32
|
-
* string, but not both.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { CognitoIdentityProviderClient, VerifySoftwareTokenCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
37
|
-
* // const { CognitoIdentityProviderClient, VerifySoftwareTokenCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
38
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
39
|
-
* const command = new VerifySoftwareTokenCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link VerifySoftwareTokenCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link VerifySoftwareTokenCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class VerifySoftwareTokenCommand extends $Command<
|
|
49
|
-
VerifySoftwareTokenCommandInput,
|
|
50
|
-
VerifySoftwareTokenCommandOutput,
|
|
51
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: VerifySoftwareTokenCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<VerifySoftwareTokenCommandInput, VerifySoftwareTokenCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
77
|
-
const commandName = "VerifySoftwareTokenCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: VerifySoftwareTokenRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: VerifySoftwareTokenResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: VerifySoftwareTokenCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1VerifySoftwareTokenCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<VerifySoftwareTokenCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1VerifySoftwareTokenCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,99 +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 { VerifyUserAttributeRequest, VerifyUserAttributeResponse } from "../models/models_1";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_json1_1VerifyUserAttributeCommand,
|
|
22
|
-
serializeAws_json1_1VerifyUserAttributeCommand,
|
|
23
|
-
} from "../protocols/Aws_json1_1";
|
|
24
|
-
|
|
25
|
-
export interface VerifyUserAttributeCommandInput extends VerifyUserAttributeRequest {}
|
|
26
|
-
export interface VerifyUserAttributeCommandOutput extends VerifyUserAttributeResponse, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Verifies the specified user attributes in the user pool.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { CognitoIdentityProviderClient, VerifyUserAttributeCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
34
|
-
* // const { CognitoIdentityProviderClient, VerifyUserAttributeCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
35
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
36
|
-
* const command = new VerifyUserAttributeCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link VerifyUserAttributeCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link VerifyUserAttributeCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class VerifyUserAttributeCommand extends $Command<
|
|
46
|
-
VerifyUserAttributeCommandInput,
|
|
47
|
-
VerifyUserAttributeCommandOutput,
|
|
48
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: VerifyUserAttributeCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<VerifyUserAttributeCommandInput, VerifyUserAttributeCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
73
|
-
const commandName = "VerifyUserAttributeCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: VerifyUserAttributeRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: VerifyUserAttributeResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: VerifyUserAttributeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1VerifyUserAttributeCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<VerifyUserAttributeCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1VerifyUserAttributeCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|