npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_cognito_idp

v5.0.0

Published

DataFire integration for Amazon Cognito Identity Provider

Downloads

23

Readme

@datafire/amazonaws_cognito_idp

Client library for Amazon Cognito Identity Provider

Installation and Usage

npm install --save @datafire/amazonaws_cognito_idp
let amazonaws_cognito_idp = require('@datafire/amazonaws_cognito_idp').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_cognito_idp.AddCustomAttributes({
  "UserPoolId": "",
  "CustomAttributes": []
}).then(data => {
  console.log(data);
});

Description

Actions

AddCustomAttributes

amazonaws_cognito_idp.AddCustomAttributes({
  "UserPoolId": "",
  "CustomAttributes": []
}, context)

Input

Output

AdminAddUserToGroup

amazonaws_cognito_idp.AdminAddUserToGroup({
  "UserPoolId": "",
  "Username": "",
  "GroupName": ""
}, context)

Input

Output

Output schema unknown

AdminConfirmSignUp

amazonaws_cognito_idp.AdminConfirmSignUp({
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

AdminCreateUser

amazonaws_cognito_idp.AdminCreateUser({
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

AdminDeleteUser

amazonaws_cognito_idp.AdminDeleteUser({
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

Output schema unknown

AdminDeleteUserAttributes

amazonaws_cognito_idp.AdminDeleteUserAttributes({
  "UserPoolId": "",
  "Username": "",
  "UserAttributeNames": []
}, context)

Input

Output

AdminDisableProviderForUser

amazonaws_cognito_idp.AdminDisableProviderForUser({
  "UserPoolId": "",
  "User": {}
}, context)

Input

Output

AdminDisableUser

amazonaws_cognito_idp.AdminDisableUser({
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

AdminEnableUser

amazonaws_cognito_idp.AdminEnableUser({
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

AdminForgetDevice

amazonaws_cognito_idp.AdminForgetDevice({
  "UserPoolId": "",
  "Username": "",
  "DeviceKey": ""
}, context)

Input

Output

Output schema unknown

AdminGetDevice

amazonaws_cognito_idp.AdminGetDevice({
  "DeviceKey": "",
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

AdminGetUser

amazonaws_cognito_idp.AdminGetUser({
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

AdminInitiateAuth

amazonaws_cognito_idp.AdminInitiateAuth({
  "UserPoolId": "",
  "ClientId": "",
  "AuthFlow": ""
}, context)

Input

Output

AdminLinkProviderForUser

amazonaws_cognito_idp.AdminLinkProviderForUser({
  "UserPoolId": "",
  "DestinationUser": {},
  "SourceUser": {}
}, context)

Input

Output

AdminListDevices

amazonaws_cognito_idp.AdminListDevices({
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

AdminListGroupsForUser

amazonaws_cognito_idp.AdminListGroupsForUser({
  "Username": "",
  "UserPoolId": ""
}, context)

Input

Output

AdminListUserAuthEvents

amazonaws_cognito_idp.AdminListUserAuthEvents({
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

AdminRemoveUserFromGroup

amazonaws_cognito_idp.AdminRemoveUserFromGroup({
  "UserPoolId": "",
  "Username": "",
  "GroupName": ""
}, context)

Input

Output

Output schema unknown

AdminResetUserPassword

amazonaws_cognito_idp.AdminResetUserPassword({
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

AdminRespondToAuthChallenge

amazonaws_cognito_idp.AdminRespondToAuthChallenge({
  "UserPoolId": "",
  "ClientId": "",
  "ChallengeName": ""
}, context)

Input

Output

AdminSetUserMFAPreference

amazonaws_cognito_idp.AdminSetUserMFAPreference({
  "Username": "",
  "UserPoolId": ""
}, context)

Input

Output

AdminSetUserSettings

amazonaws_cognito_idp.AdminSetUserSettings({
  "UserPoolId": "",
  "Username": "",
  "MFAOptions": []
}, context)

Input

Output

AdminUpdateAuthEventFeedback

amazonaws_cognito_idp.AdminUpdateAuthEventFeedback({
  "UserPoolId": "",
  "Username": "",
  "EventId": "",
  "FeedbackValue": ""
}, context)

Input

Output

AdminUpdateDeviceStatus

amazonaws_cognito_idp.AdminUpdateDeviceStatus({
  "UserPoolId": "",
  "Username": "",
  "DeviceKey": ""
}, context)

Input

Output

AdminUpdateUserAttributes

amazonaws_cognito_idp.AdminUpdateUserAttributes({
  "UserPoolId": "",
  "Username": "",
  "UserAttributes": []
}, context)

Input

Output

AdminUserGlobalSignOut

amazonaws_cognito_idp.AdminUserGlobalSignOut({
  "UserPoolId": "",
  "Username": ""
}, context)

Input

Output

AssociateSoftwareToken

amazonaws_cognito_idp.AssociateSoftwareToken({}, context)

Input

Output

ChangePassword

amazonaws_cognito_idp.ChangePassword({
  "PreviousPassword": "",
  "ProposedPassword": "",
  "AccessToken": ""
}, context)

Input

Output

ConfirmDevice

amazonaws_cognito_idp.ConfirmDevice({
  "AccessToken": "",
  "DeviceKey": ""
}, context)

Input

Output

ConfirmForgotPassword

amazonaws_cognito_idp.ConfirmForgotPassword({
  "ClientId": "",
  "Username": "",
  "ConfirmationCode": "",
  "Password": ""
}, context)

Input

Output

ConfirmSignUp

amazonaws_cognito_idp.ConfirmSignUp({
  "ClientId": "",
  "Username": "",
  "ConfirmationCode": ""
}, context)

Input

Output

CreateGroup

amazonaws_cognito_idp.CreateGroup({
  "GroupName": "",
  "UserPoolId": ""
}, context)

Input

Output

CreateIdentityProvider

amazonaws_cognito_idp.CreateIdentityProvider({
  "UserPoolId": "",
  "ProviderName": "",
  "ProviderType": "",
  "ProviderDetails": []
}, context)

Input

Output

CreateResourceServer

amazonaws_cognito_idp.CreateResourceServer({
  "UserPoolId": "",
  "Identifier": "",
  "Name": ""
}, context)

Input

Output

CreateUserImportJob

amazonaws_cognito_idp.CreateUserImportJob({
  "JobName": "",
  "UserPoolId": "",
  "CloudWatchLogsRoleArn": ""
}, context)

Input

Output

CreateUserPool

amazonaws_cognito_idp.CreateUserPool({
  "PoolName": ""
}, context)

Input

Output

CreateUserPoolClient

amazonaws_cognito_idp.CreateUserPoolClient({
  "UserPoolId": "",
  "ClientName": ""
}, context)

Input

Output

CreateUserPoolDomain

amazonaws_cognito_idp.CreateUserPoolDomain({
  "Domain": "",
  "UserPoolId": ""
}, context)

Input

Output

DeleteGroup

amazonaws_cognito_idp.DeleteGroup({
  "GroupName": "",
  "UserPoolId": ""
}, context)

Input

Output

Output schema unknown

DeleteIdentityProvider

amazonaws_cognito_idp.DeleteIdentityProvider({
  "UserPoolId": "",
  "ProviderName": ""
}, context)

Input

Output

Output schema unknown

DeleteResourceServer

amazonaws_cognito_idp.DeleteResourceServer({
  "UserPoolId": "",
  "Identifier": ""
}, context)

Input

Output

Output schema unknown

DeleteUser

amazonaws_cognito_idp.DeleteUser({
  "AccessToken": ""
}, context)

Input

Output

Output schema unknown

DeleteUserAttributes

amazonaws_cognito_idp.DeleteUserAttributes({
  "UserAttributeNames": [],
  "AccessToken": ""
}, context)

Input

Output

DeleteUserPool

amazonaws_cognito_idp.DeleteUserPool({
  "UserPoolId": ""
}, context)

Input

Output

Output schema unknown

DeleteUserPoolClient

amazonaws_cognito_idp.DeleteUserPoolClient({
  "UserPoolId": "",
  "ClientId": ""
}, context)

Input

Output

Output schema unknown

DeleteUserPoolDomain

amazonaws_cognito_idp.DeleteUserPoolDomain({
  "Domain": "",
  "UserPoolId": ""
}, context)

Input

Output

DescribeIdentityProvider

amazonaws_cognito_idp.DescribeIdentityProvider({
  "UserPoolId": "",
  "ProviderName": ""
}, context)

Input

Output

DescribeResourceServer

amazonaws_cognito_idp.DescribeResourceServer({
  "UserPoolId": "",
  "Identifier": ""
}, context)

Input

Output

DescribeRiskConfiguration

amazonaws_cognito_idp.DescribeRiskConfiguration({
  "UserPoolId": ""
}, context)

Input

Output

DescribeUserImportJob

amazonaws_cognito_idp.DescribeUserImportJob({
  "UserPoolId": "",
  "JobId": ""
}, context)

Input

Output

DescribeUserPool

amazonaws_cognito_idp.DescribeUserPool({
  "UserPoolId": ""
}, context)

Input

Output

DescribeUserPoolClient

amazonaws_cognito_idp.DescribeUserPoolClient({
  "UserPoolId": "",
  "ClientId": ""
}, context)

Input

Output

DescribeUserPoolDomain

amazonaws_cognito_idp.DescribeUserPoolDomain({
  "Domain": ""
}, context)

Input

Output

ForgetDevice

amazonaws_cognito_idp.ForgetDevice({
  "DeviceKey": ""
}, context)

Input

Output

Output schema unknown

ForgotPassword

amazonaws_cognito_idp.ForgotPassword({
  "ClientId": "",
  "Username": ""
}, context)

Input

Output

GetCSVHeader

amazonaws_cognito_idp.GetCSVHeader({
  "UserPoolId": ""
}, context)

Input

Output

GetDevice

amazonaws_cognito_idp.GetDevice({
  "DeviceKey": ""
}, context)

Input

Output

GetGroup

amazonaws_cognito_idp.GetGroup({
  "GroupName": "",
  "UserPoolId": ""
}, context)

Input

Output

GetIdentityProviderByIdentifier

amazonaws_cognito_idp.GetIdentityProviderByIdentifier({
  "UserPoolId": "",
  "IdpIdentifier": ""
}, context)

Input

Output

GetSigningCertificate

amazonaws_cognito_idp.GetSigningCertificate({
  "UserPoolId": ""
}, context)

Input

Output

GetUICustomization

amazonaws_cognito_idp.GetUICustomization({
  "UserPoolId": ""
}, context)

Input

Output

GetUser

amazonaws_cognito_idp.GetUser({
  "AccessToken": ""
}, context)

Input

Output

GetUserAttributeVerificationCode

amazonaws_cognito_idp.GetUserAttributeVerificationCode({
  "AccessToken": "",
  "AttributeName": ""
}, context)

Input

Output

GetUserPoolMfaConfig

amazonaws_cognito_idp.GetUserPoolMfaConfig({
  "UserPoolId": ""
}, context)

Input

Output

GlobalSignOut

amazonaws_cognito_idp.GlobalSignOut({
  "AccessToken": ""
}, context)

Input

Output

InitiateAuth

amazonaws_cognito_idp.InitiateAuth({
  "AuthFlow": "",
  "ClientId": ""
}, context)

Input

Output

ListDevices

amazonaws_cognito_idp.ListDevices({
  "AccessToken": ""
}, context)

Input

Output

ListGroups

amazonaws_cognito_idp.ListGroups({
  "UserPoolId": ""
}, context)

Input

Output

ListIdentityProviders

amazonaws_cognito_idp.ListIdentityProviders({
  "UserPoolId": ""
}, context)

Input

Output

ListResourceServers

amazonaws_cognito_idp.ListResourceServers({
  "UserPoolId": ""
}, context)

Input

Output

ListUserImportJobs

amazonaws_cognito_idp.ListUserImportJobs({
  "UserPoolId": "",
  "MaxResults": 0
}, context)

Input

Output

ListUserPoolClients

amazonaws_cognito_idp.ListUserPoolClients({
  "UserPoolId": ""
}, context)

Input

Output

ListUserPools

amazonaws_cognito_idp.ListUserPools({
  "MaxResults": 0
}, context)

Input

Output

ListUsers

amazonaws_cognito_idp.ListUsers({
  "UserPoolId": ""
}, context)

Input

Output

ListUsersInGroup

amazonaws_cognito_idp.ListUsersInGroup({
  "UserPoolId": "",
  "GroupName": ""
}, context)

Input

Output

ResendConfirmationCode

amazonaws_cognito_idp.ResendConfirmationCode({
  "ClientId": "",
  "Username": ""
}, context)

Input

Output

RespondToAuthChallenge

amazonaws_cognito_idp.RespondToAuthChallenge({
  "ClientId": "",
  "ChallengeName": ""
}, context)

Input

Output

SetRiskConfiguration

amazonaws_cognito_idp.SetRiskConfiguration({
  "UserPoolId": ""
}, context)

Input

Output

SetUICustomization

amazonaws_cognito_idp.SetUICustomization({
  "UserPoolId": ""
}, context)

Input

Output

SetUserMFAPreference

amazonaws_cognito_idp.SetUserMFAPreference({
  "AccessToken": ""
}, context)

Input

Output

SetUserPoolMfaConfig

amazonaws_cognito_idp.SetUserPoolMfaConfig({
  "UserPoolId": ""
}, context)

Input

Output

SetUserSettings

amazonaws_cognito_idp.SetUserSettings({
  "AccessToken": "",
  "MFAOptions": []
}, context)

Input

Output

SignUp

amazonaws_cognito_idp.SignUp({
  "ClientId": "",
  "Username": "",
  "Password": ""
}, context)

Input

Output

StartUserImportJob

amazonaws_cognito_idp.StartUserImportJob({
  "UserPoolId": "",
  "JobId": ""
}, context)

Input

Output

StopUserImportJob

amazonaws_cognito_idp.StopUserImportJob({
  "UserPoolId": "",
  "JobId": ""
}, context)

Input

Output

UpdateAuthEventFeedback

amazonaws_cognito_idp.UpdateAuthEventFeedback({
  "UserPoolId": "",
  "Username": "",
  "EventId": "",
  "FeedbackToken": "",
  "FeedbackValue": ""
}, context)

Input

Output

UpdateDeviceStatus

amazonaws_cognito_idp.UpdateDeviceStatus({
  "AccessToken": "",
  "DeviceKey": ""
}, context)

Input

Output

UpdateGroup

amazonaws_cognito_idp.UpdateGroup({
  "GroupName": "",
  "UserPoolId": ""
}, context)

Input

Output

UpdateIdentityProvider

amazonaws_cognito_idp.UpdateIdentityProvider({
  "UserPoolId": "",
  "ProviderName": ""
}, context)

Input

Output

UpdateResourceServer

amazonaws_cognito_idp.UpdateResourceServer({
  "UserPoolId": "",
  "Identifier": "",
  "Name": ""
}, context)

Input

Output

UpdateUserAttributes

amazonaws_cognito_idp.UpdateUserAttributes({
  "UserAttributes": [],
  "AccessToken": ""
}, context)

Input

Output

UpdateUserPool

amazonaws_cognito_idp.UpdateUserPool({
  "UserPoolId": ""
}, context)

Input

Output

UpdateUserPoolClient

amazonaws_cognito_idp.UpdateUserPoolClient({
  "UserPoolId": "",
  "ClientId": ""
}, context)

Input

Output

VerifySoftwareToken

amazonaws_cognito_idp.VerifySoftwareToken({
  "UserCode": ""
}, context)

Input

Output

VerifyUserAttribute

amazonaws_cognito_idp.VerifyUserAttribute({
  "AccessToken": "",
  "AttributeName": "",
  "Code": ""
}, context)

Input

Output

Definitions

AWSAccountIdType

  • AWSAccountIdType string

AccountTakeoverActionNotifyType

  • AccountTakeoverActionNotifyType boolean

AccountTakeoverActionType

AccountTakeoverActionsType

AccountTakeoverEventActionType

  • AccountTakeoverEventActionType string (values: BLOCK, MFA_IF_CONFIGURED, MFA_REQUIRED, NO_ACTION)

AccountTakeoverRiskConfigurationType

  • AccountTakeoverRiskConfigurationType object: Configuration for mitigation actions and notification for different levels of risk detected for a potential account takeover.

AddCustomAttributesRequest

AddCustomAttributesResponse

  • AddCustomAttributesResponse object: Represents the response from the server for the request to add custom attributes.

AdminAddUserToGroupRequest

AdminConfirmSignUpRequest

  • AdminConfirmSignUpRequest object: Represents the request to confirm user registration.

AdminConfirmSignUpResponse

  • AdminConfirmSignUpResponse object: Represents the response from the server for the request to confirm registration.

AdminCreateUserConfigType

AdminCreateUserRequest

AdminCreateUserResponse

  • AdminCreateUserResponse object: Represents the response from the server to the request to create the user.

AdminCreateUserUnusedAccountValidityDaysType

  • AdminCreateUserUnusedAccountValidityDaysType integer

AdminDeleteUserAttributesRequest

AdminDeleteUserAttributesResponse

  • AdminDeleteUserAttributesResponse object: Represents the response received from the server for a request to delete user attributes.

AdminDeleteUserRequest

  • AdminDeleteUserRequest object: Represents the request to delete a user as an administrator.

AdminDisableProviderForUserRequest

AdminDisableProviderForUserResponse

  • AdminDisableProviderForUserResponse object

AdminDisableUserRequest

  • AdminDisableUserRequest object: Represents the request to disable any user as an administrator.

AdminDisableUserResponse

  • AdminDisableUserResponse object: Represents the response received from the server to disable the user as an administrator.

AdminEnableUserRequest

  • AdminEnableUserRequest object: Represents the request that enables the user as an administrator.

AdminEnableUserResponse

  • AdminEnableUserResponse object: Represents the response from the server for the request to enable a user as an administrator.

AdminForgetDeviceRequest

AdminGetDeviceRequest

AdminGetDeviceResponse

  • AdminGetDeviceResponse object: Gets the device response, as an administrator.

AdminGetUserRequest

  • AdminGetUserRequest object: Represents the request to get the specified user as an administrator.

AdminGetUserResponse

AdminInitiateAuthRequest

AdminInitiateAuthResponse

AdminLinkProviderForUserRequest

AdminLinkProviderForUserResponse

  • AdminLinkProviderForUserResponse object

AdminListDevicesRequest

AdminListDevicesResponse

AdminListGroupsForUserRequest

AdminListGroupsForUserResponse

AdminListUserAuthEventsRequest

AdminListUserAuthEventsResponse

AdminRemoveUserFromGroupRequest

AdminResetUserPasswordRequest

  • AdminResetUserPasswordRequest object: Represents the request to reset a user's password as an administrator.

AdminResetUserPasswordResponse

  • AdminResetUserPasswordResponse object: Represents the response from the server to reset a user password as an administrator.

AdminRespondToAuthChallengeRequest

AdminRespondToAuthChallengeResponse

AdminSetUserMFAPreferenceRequest

AdminSetUserMFAPreferenceResponse

  • AdminSetUserMFAPreferenceResponse object

AdminSetUserSettingsRequest

AdminSetUserSettingsResponse

  • AdminSetUserSettingsResponse object: Represents the response from the server to set user settings as an administrator.

AdminUpdateAuthEventFeedbackRequest

AdminUpdateAuthEventFeedbackResponse

  • AdminUpdateAuthEventFeedbackResponse object

AdminUpdateDeviceStatusRequest

AdminUpdateDeviceStatusResponse

  • AdminUpdateDeviceStatusResponse object: The status response from the request to update the device, as an administrator.

AdminUpdateUserAttributesRequest

  • AdminUpdateUserAttributesRequest object: Represents the request to update the user's attributes as an administrator.

AdminUpdateUserAttributesResponse

  • AdminUpdateUserAttributesResponse object: Represents the response from the server for the request to update user attributes as an administrator.

AdminUserGlobalSignOutRequest

  • AdminUserGlobalSignOutRequest object: The request to sign out of all devices, as an administrator.

AdminUserGlobalSignOutResponse

  • AdminUserGlobalSignOutResponse object: The global sign-out response, as an administrator.

AdvancedSecurityModeType

  • AdvancedSecurityModeType string (values: OFF, AUDIT, ENFORCED)

AliasAttributeType

  • AliasAttributeType string (values: phone_number, email, preferred_username)

AliasAttributesListType

AliasExistsException

  • AliasExistsException object: This exception is thrown when a user tries to confirm the account with an email or phone number that has already been supplied as an alias from a different account. This exception tells user that an account with this email or phone already exists.

AnalyticsConfigurationType

  • AnalyticsConfigurationType object: The Amazon Pinpoint analytics configuration for collecting metrics for a user pool.

AnalyticsMetadataType

  • AnalyticsMetadataType object: An Amazon Pinpoint analytics endpoint. An endpoint uniquely identifies a mobile device, email address, or phone number that can receive messages from Amazon Pinpoint analytics.

ArnType

  • ArnType string

AssociateSoftwareTokenRequest

AssociateSoftwareTokenResponse

AttributeDataType

  • AttributeDataType string (values: String, Number, DateTime, Boolean)

AttributeListType

AttributeMappingKeyType

  • AttributeMappingKeyType string

AttributeMappingType

AttributeNameListType

AttributeNameType

  • AttributeNameType string

AttributeType

AttributeValueType

  • AttributeValueType string

AuthEventType

AuthEventsType

AuthFlowType

  • AuthFlowType string (values: USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN, CUSTOM_AUTH, ADMIN_NO_SRP_AUTH, USER_PASSWORD_AUTH)

AuthParametersType

AuthenticationResultType

BlockedIPRangeListType

BooleanType

  • BooleanType boolean

CSSType

  • CSSType string

CSSVersionType

  • CSSVersionType string

CallbackURLsListType

ChallengeName

  • ChallengeName string (values: Password, Mfa)

ChallengeNameType

  • ChallengeNameType string (values: SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE, MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED)

ChallengeParametersType

ChallengeResponse

  • ChallengeResponse string (values: Success, Failure)

ChallengeResponseListType

ChallengeResponseType

ChallengeResponsesType

ChangePasswordRequest

  • ChangePasswordRequest object: Represents the request to change a user password.

Cha