Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GetCredentialsForIdentityInput

import type { GetCredentialsForIdentityInput } from "https://aws-api.deno.dev/v0.3/services/cognitoidentity.ts?docs=full";

Input to the GetCredentialsForIdentity action.

interface GetCredentialsForIdentityInput {
CustomRoleArn?: string | null;
IdentityId: string;
Logins?: {
[key: string]: string | null | undefined;
}
| null;
}

§Properties

§
CustomRoleArn?: string | null
[src]

The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization.

§
IdentityId: string
[src]

A unique identifier in the format REGION:GUID.

§
Logins?: {
[key: string]: string | null | undefined;
}
| null
[src]

A set of optional name-value pairs that map provider names to provider tokens. The name-value pair will follow the syntax "provider_name": "provider_user_identifier".

Logins should not be specified when trying to get credentials for an unauthenticated identity.

The Logins parameter is required when using identities associated with external identity providers such as Facebook. For examples of Logins maps, see the code examples in the External Identity Providers section of the Amazon Cognito Developer Guide.