@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,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 { AdminUpdateAuthEventFeedbackRequest, AdminUpdateAuthEventFeedbackResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AdminUpdateAuthEventFeedbackCommand,
|
|
23
|
-
serializeAws_json1_1AdminUpdateAuthEventFeedbackCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AdminUpdateAuthEventFeedbackCommandInput extends AdminUpdateAuthEventFeedbackRequest {}
|
|
27
|
-
export interface AdminUpdateAuthEventFeedbackCommandOutput
|
|
28
|
-
extends AdminUpdateAuthEventFeedbackResponse,
|
|
29
|
-
__MetadataBearer {}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* <p>Provides feedback for an authentication event as to whether it was from a valid user.
|
|
33
|
-
* This feedback is used for improving the risk evaluation decision for the user pool as
|
|
34
|
-
* part of Amazon Cognito advanced security.</p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { CognitoIdentityProviderClient, AdminUpdateAuthEventFeedbackCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
39
|
-
* // const { CognitoIdentityProviderClient, AdminUpdateAuthEventFeedbackCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
40
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
41
|
-
* const command = new AdminUpdateAuthEventFeedbackCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link AdminUpdateAuthEventFeedbackCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link AdminUpdateAuthEventFeedbackCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export class AdminUpdateAuthEventFeedbackCommand extends $Command<
|
|
51
|
-
AdminUpdateAuthEventFeedbackCommandInput,
|
|
52
|
-
AdminUpdateAuthEventFeedbackCommandOutput,
|
|
53
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
54
|
-
> {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
|
|
58
|
-
constructor(readonly input: AdminUpdateAuthEventFeedbackCommandInput) {
|
|
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<AdminUpdateAuthEventFeedbackCommandInput, AdminUpdateAuthEventFeedbackCommandOutput> {
|
|
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 = "AdminUpdateAuthEventFeedbackCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: AdminUpdateAuthEventFeedbackRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: AdminUpdateAuthEventFeedbackResponse.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: AdminUpdateAuthEventFeedbackCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_json1_1AdminUpdateAuthEventFeedbackCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(
|
|
100
|
-
output: __HttpResponse,
|
|
101
|
-
context: __SerdeContext
|
|
102
|
-
): Promise<AdminUpdateAuthEventFeedbackCommandOutput> {
|
|
103
|
-
return deserializeAws_json1_1AdminUpdateAuthEventFeedbackCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -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 { AdminUpdateDeviceStatusRequest, AdminUpdateDeviceStatusResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AdminUpdateDeviceStatusCommand,
|
|
23
|
-
serializeAws_json1_1AdminUpdateDeviceStatusCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AdminUpdateDeviceStatusCommandInput extends AdminUpdateDeviceStatusRequest {}
|
|
27
|
-
export interface AdminUpdateDeviceStatusCommandOutput extends AdminUpdateDeviceStatusResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Updates the device status as an administrator.</p>
|
|
31
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { CognitoIdentityProviderClient, AdminUpdateDeviceStatusCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
36
|
-
* // const { CognitoIdentityProviderClient, AdminUpdateDeviceStatusCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
37
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
38
|
-
* const command = new AdminUpdateDeviceStatusCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link AdminUpdateDeviceStatusCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link AdminUpdateDeviceStatusCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class AdminUpdateDeviceStatusCommand extends $Command<
|
|
48
|
-
AdminUpdateDeviceStatusCommandInput,
|
|
49
|
-
AdminUpdateDeviceStatusCommandOutput,
|
|
50
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: AdminUpdateDeviceStatusCommandInput) {
|
|
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<AdminUpdateDeviceStatusCommandInput, AdminUpdateDeviceStatusCommandOutput> {
|
|
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 = "AdminUpdateDeviceStatusCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: AdminUpdateDeviceStatusRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: AdminUpdateDeviceStatusResponse.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: AdminUpdateDeviceStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1AdminUpdateDeviceStatusCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AdminUpdateDeviceStatusCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1AdminUpdateDeviceStatusCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,128 +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 { AdminUpdateUserAttributesRequest, AdminUpdateUserAttributesResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AdminUpdateUserAttributesCommand,
|
|
23
|
-
serializeAws_json1_1AdminUpdateUserAttributesCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AdminUpdateUserAttributesCommandInput extends AdminUpdateUserAttributesRequest {}
|
|
27
|
-
export interface AdminUpdateUserAttributesCommandOutput extends AdminUpdateUserAttributesResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Updates the specified user's attributes, including developer attributes, as an
|
|
31
|
-
* administrator. Works on any user.</p>
|
|
32
|
-
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
33
|
-
* attribute name.</p>
|
|
34
|
-
* <p>In addition to updating user attributes, this API can also be used to mark phone and
|
|
35
|
-
* email as verified.</p>
|
|
36
|
-
*
|
|
37
|
-
* <note>
|
|
38
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
39
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
40
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
41
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
42
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
43
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
44
|
-
* in.</p>
|
|
45
|
-
* <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>
|
|
46
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
47
|
-
* mode</a>
|
|
48
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
49
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
50
|
-
* 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
|
|
51
|
-
* Cognito Developer Guide</i>. </p>
|
|
52
|
-
* </note>
|
|
53
|
-
*
|
|
54
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
55
|
-
* @example
|
|
56
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
57
|
-
* ```javascript
|
|
58
|
-
* import { CognitoIdentityProviderClient, AdminUpdateUserAttributesCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
59
|
-
* // const { CognitoIdentityProviderClient, AdminUpdateUserAttributesCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
60
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
61
|
-
* const command = new AdminUpdateUserAttributesCommand(input);
|
|
62
|
-
* const response = await client.send(command);
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* @see {@link AdminUpdateUserAttributesCommandInput} for command's `input` shape.
|
|
66
|
-
* @see {@link AdminUpdateUserAttributesCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
70
|
-
export class AdminUpdateUserAttributesCommand extends $Command<
|
|
71
|
-
AdminUpdateUserAttributesCommandInput,
|
|
72
|
-
AdminUpdateUserAttributesCommandOutput,
|
|
73
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
74
|
-
> {
|
|
75
|
-
// Start section: command_properties
|
|
76
|
-
// End section: command_properties
|
|
77
|
-
|
|
78
|
-
constructor(readonly input: AdminUpdateUserAttributesCommandInput) {
|
|
79
|
-
// Start section: command_constructor
|
|
80
|
-
super();
|
|
81
|
-
// End section: command_constructor
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
resolveMiddleware(
|
|
88
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
89
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
90
|
-
options?: __HttpHandlerOptions
|
|
91
|
-
): Handler<AdminUpdateUserAttributesCommandInput, AdminUpdateUserAttributesCommandOutput> {
|
|
92
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
93
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
94
|
-
|
|
95
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
96
|
-
|
|
97
|
-
const { logger } = configuration;
|
|
98
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
99
|
-
const commandName = "AdminUpdateUserAttributesCommand";
|
|
100
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
101
|
-
logger,
|
|
102
|
-
clientName,
|
|
103
|
-
commandName,
|
|
104
|
-
inputFilterSensitiveLog: AdminUpdateUserAttributesRequest.filterSensitiveLog,
|
|
105
|
-
outputFilterSensitiveLog: AdminUpdateUserAttributesResponse.filterSensitiveLog,
|
|
106
|
-
};
|
|
107
|
-
const { requestHandler } = configuration;
|
|
108
|
-
return stack.resolve(
|
|
109
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
110
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
111
|
-
handlerExecutionContext
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private serialize(input: AdminUpdateUserAttributesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
116
|
-
return serializeAws_json1_1AdminUpdateUserAttributesCommand(input, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
private deserialize(
|
|
120
|
-
output: __HttpResponse,
|
|
121
|
-
context: __SerdeContext
|
|
122
|
-
): Promise<AdminUpdateUserAttributesCommandOutput> {
|
|
123
|
-
return deserializeAws_json1_1AdminUpdateUserAttributesCommand(output, context);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Start section: command_body_extra
|
|
127
|
-
// End section: command_body_extra
|
|
128
|
-
}
|
|
@@ -1,104 +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 { AdminUserGlobalSignOutRequest, AdminUserGlobalSignOutResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AdminUserGlobalSignOutCommand,
|
|
23
|
-
serializeAws_json1_1AdminUserGlobalSignOutCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AdminUserGlobalSignOutCommandInput extends AdminUserGlobalSignOutRequest {}
|
|
27
|
-
export interface AdminUserGlobalSignOutCommandOutput extends AdminUserGlobalSignOutResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Signs out users from all devices, as an administrator. It also invalidates all refresh
|
|
31
|
-
* tokens issued to a user. The user's current access and Id tokens remain valid until
|
|
32
|
-
* their expiry. Access and Id tokens expire one hour after they are issued.</p>
|
|
33
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { CognitoIdentityProviderClient, AdminUserGlobalSignOutCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
38
|
-
* // const { CognitoIdentityProviderClient, AdminUserGlobalSignOutCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
39
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
40
|
-
* const command = new AdminUserGlobalSignOutCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link AdminUserGlobalSignOutCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link AdminUserGlobalSignOutCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class AdminUserGlobalSignOutCommand extends $Command<
|
|
50
|
-
AdminUserGlobalSignOutCommandInput,
|
|
51
|
-
AdminUserGlobalSignOutCommandOutput,
|
|
52
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: AdminUserGlobalSignOutCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<AdminUserGlobalSignOutCommandInput, AdminUserGlobalSignOutCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
73
|
-
|
|
74
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
75
|
-
|
|
76
|
-
const { logger } = configuration;
|
|
77
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
78
|
-
const commandName = "AdminUserGlobalSignOutCommand";
|
|
79
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
80
|
-
logger,
|
|
81
|
-
clientName,
|
|
82
|
-
commandName,
|
|
83
|
-
inputFilterSensitiveLog: AdminUserGlobalSignOutRequest.filterSensitiveLog,
|
|
84
|
-
outputFilterSensitiveLog: AdminUserGlobalSignOutResponse.filterSensitiveLog,
|
|
85
|
-
};
|
|
86
|
-
const { requestHandler } = configuration;
|
|
87
|
-
return stack.resolve(
|
|
88
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
89
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
90
|
-
handlerExecutionContext
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private serialize(input: AdminUserGlobalSignOutCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_json1_1AdminUserGlobalSignOutCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AdminUserGlobalSignOutCommandOutput> {
|
|
99
|
-
return deserializeAws_json1_1AdminUserGlobalSignOutCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,110 +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 { AssociateSoftwareTokenRequest, AssociateSoftwareTokenResponse } from "../models/models_0";
|
|
21
|
-
import {
|
|
22
|
-
deserializeAws_json1_1AssociateSoftwareTokenCommand,
|
|
23
|
-
serializeAws_json1_1AssociateSoftwareTokenCommand,
|
|
24
|
-
} from "../protocols/Aws_json1_1";
|
|
25
|
-
|
|
26
|
-
export interface AssociateSoftwareTokenCommandInput extends AssociateSoftwareTokenRequest {}
|
|
27
|
-
export interface AssociateSoftwareTokenCommandOutput extends AssociateSoftwareTokenResponse, __MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Returns a unique generated shared secret key code for the user account. The request
|
|
31
|
-
* takes an access token or a session string, but not both.</p>
|
|
32
|
-
* <note>
|
|
33
|
-
* <p>Calling AssociateSoftwareToken immediately disassociates the existing software
|
|
34
|
-
* token from the user account. If the user doesn't subsequently verify the software
|
|
35
|
-
* token, their account is essentially set up to authenticate without MFA. If MFA
|
|
36
|
-
* config is set to Optional at the user pool level, the user can then login without
|
|
37
|
-
* MFA. However, if MFA is set to Required for the user pool, the user will be asked to
|
|
38
|
-
* setup a new software token MFA during sign in.</p>
|
|
39
|
-
* </note>
|
|
40
|
-
* @example
|
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
-
* ```javascript
|
|
43
|
-
* import { CognitoIdentityProviderClient, AssociateSoftwareTokenCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
44
|
-
* // const { CognitoIdentityProviderClient, AssociateSoftwareTokenCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
45
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
46
|
-
* const command = new AssociateSoftwareTokenCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @see {@link AssociateSoftwareTokenCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link AssociateSoftwareTokenCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
export class AssociateSoftwareTokenCommand extends $Command<
|
|
56
|
-
AssociateSoftwareTokenCommandInput,
|
|
57
|
-
AssociateSoftwareTokenCommandOutput,
|
|
58
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
59
|
-
> {
|
|
60
|
-
// Start section: command_properties
|
|
61
|
-
// End section: command_properties
|
|
62
|
-
|
|
63
|
-
constructor(readonly input: AssociateSoftwareTokenCommandInput) {
|
|
64
|
-
// Start section: command_constructor
|
|
65
|
-
super();
|
|
66
|
-
// End section: command_constructor
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
resolveMiddleware(
|
|
73
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
74
|
-
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
75
|
-
options?: __HttpHandlerOptions
|
|
76
|
-
): Handler<AssociateSoftwareTokenCommandInput, AssociateSoftwareTokenCommandOutput> {
|
|
77
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
78
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
79
|
-
|
|
80
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
81
|
-
|
|
82
|
-
const { logger } = configuration;
|
|
83
|
-
const clientName = "CognitoIdentityProviderClient";
|
|
84
|
-
const commandName = "AssociateSoftwareTokenCommand";
|
|
85
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
86
|
-
logger,
|
|
87
|
-
clientName,
|
|
88
|
-
commandName,
|
|
89
|
-
inputFilterSensitiveLog: AssociateSoftwareTokenRequest.filterSensitiveLog,
|
|
90
|
-
outputFilterSensitiveLog: AssociateSoftwareTokenResponse.filterSensitiveLog,
|
|
91
|
-
};
|
|
92
|
-
const { requestHandler } = configuration;
|
|
93
|
-
return stack.resolve(
|
|
94
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
95
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
96
|
-
handlerExecutionContext
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private serialize(input: AssociateSoftwareTokenCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
101
|
-
return serializeAws_json1_1AssociateSoftwareTokenCommand(input, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AssociateSoftwareTokenCommandOutput> {
|
|
105
|
-
return deserializeAws_json1_1AssociateSoftwareTokenCommand(output, context);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// Start section: command_body_extra
|
|
109
|
-
// End section: command_body_extra
|
|
110
|
-
}
|
|
@@ -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 { ChangePasswordRequest, ChangePasswordResponse } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_json1_1ChangePasswordCommand,
|
|
22
|
-
serializeAws_json1_1ChangePasswordCommand,
|
|
23
|
-
} from "../protocols/Aws_json1_1";
|
|
24
|
-
|
|
25
|
-
export interface ChangePasswordCommandInput extends ChangePasswordRequest {}
|
|
26
|
-
export interface ChangePasswordCommandOutput extends ChangePasswordResponse, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Changes the password for a specified user in a 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, ChangePasswordCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
34
|
-
* // const { CognitoIdentityProviderClient, ChangePasswordCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
35
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
36
|
-
* const command = new ChangePasswordCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link ChangePasswordCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link ChangePasswordCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class ChangePasswordCommand extends $Command<
|
|
46
|
-
ChangePasswordCommandInput,
|
|
47
|
-
ChangePasswordCommandOutput,
|
|
48
|
-
CognitoIdentityProviderClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: ChangePasswordCommandInput) {
|
|
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<ChangePasswordCommandInput, ChangePasswordCommandOutput> {
|
|
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 = "ChangePasswordCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: ChangePasswordRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: ChangePasswordResponse.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: ChangePasswordCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1ChangePasswordCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ChangePasswordCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1ChangePasswordCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|