cognitoidentity_get_id: Generates (or retrieves) a Cognito ID

Description Usage Arguments Details Request syntax

View source: R/cognitoidentity_operations.R

Description

Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an implicit linked account.

Usage

1
cognitoidentity_get_id(AccountId, IdentityPoolId, Logins)

Arguments

AccountId

A standard AWS account ID (9+ digits).

IdentityPoolId

[required] An identity pool ID in the format REGION:GUID.

Logins

A set of optional name-value pairs that map provider names to provider tokens. The available provider names for Logins are as follows:

  • Facebook: graph.facebook.com

  • Amazon Cognito user pool: cognito-idp.<region>.amazonaws.com/<YOUR_USER_POOL_ID>, for example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

  • Google: accounts.google.com

  • Amazon: www.amazon.com

  • Twitter: api.twitter.com

  • Digits: www.digits.com

Details

This is a public API. You do not need any credentials to call this API.

Request syntax

1
2
3
4
5
6
7
svc$get_id(
  AccountId = "string",
  IdentityPoolId = "string",
  Logins = list(
    "string"
  )
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.