{ "version":"2.0", "metadata":{ "apiVersion":"2014-06-30", "endpointPrefix":"cognito-identity", "jsonVersion":"1.1", "protocol":"json", "serviceFullName":"Amazon Cognito Identity", "serviceId":"Cognito Identity", "signatureVersion":"v4", "targetPrefix":"AWSCognitoIdentityService", "uid":"cognito-identity-2014-06-30" }, "operations":{ "CreateIdentityPool":{ "name":"CreateIdentityPool", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateIdentityPoolInput"}, "output":{"shape":"IdentityPool"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"}, {"shape":"LimitExceededException"} ], "documentation":"

Creates a new identity pool. The identity pool is a store of user identity information that is specific to your AWS account. The keys for `SupportedLoginProviders` are as follows:

- Facebook: `graph.facebook.com`

- Google: `accounts.google.com`

- Amazon: `www.amazon.com`

- Twitter: `api.twitter.com`

- Digits: `www.digits.com`

You must use AWS Developer credentials to call this API.

" }, "DeleteIdentities":{ "name":"DeleteIdentities", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteIdentitiesInput"}, "output":{"shape":"DeleteIdentitiesResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Deletes identities from an identity pool. You can specify a list of 1-60 identities that you want to delete.

You must use AWS Developer credentials to call this API.

" }, "DeleteIdentityPool":{ "name":"DeleteIdentityPool", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteIdentityPoolInput"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Deletes an identity pool. Once a pool is deleted, users will not be able to authenticate with the pool.

You must use AWS Developer credentials to call this API.

" }, "DescribeIdentity":{ "name":"DescribeIdentity", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeIdentityInput"}, "output":{"shape":"IdentityDescription"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Returns metadata related to the given identity, including when the identity was created and any associated linked logins.

You must use AWS Developer credentials to call this API.

" }, "DescribeIdentityPool":{ "name":"DescribeIdentityPool", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeIdentityPoolInput"}, "output":{"shape":"IdentityPool"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Gets details about a particular identity pool, including the pool name, ID description, creation date, and current number of users.

You must use AWS Developer credentials to call this API.

" }, "GetCredentialsForIdentity":{ "name":"GetCredentialsForIdentity", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetCredentialsForIdentityInput"}, "output":{"shape":"GetCredentialsForIdentityResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InvalidIdentityPoolConfigurationException"}, {"shape":"InternalErrorException"}, {"shape":"ExternalServiceException"} ], "documentation":"

Returns credentials for the provided identity ID. Any provided logins will be validated against supported login providers. If the token is for cognito-identity.amazonaws.com, it will be passed through to AWS Security Token Service with the appropriate role for the token.

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

", "authtype":"none" }, "GetId":{ "name":"GetId", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetIdInput"}, "output":{"shape":"GetIdResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"}, {"shape":"LimitExceededException"}, {"shape":"ExternalServiceException"} ], "documentation":"

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

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

", "authtype":"none" }, "GetIdentityPoolRoles":{ "name":"GetIdentityPoolRoles", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetIdentityPoolRolesInput"}, "output":{"shape":"GetIdentityPoolRolesResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Gets the roles for an identity pool.

You must use AWS Developer credentials to call this API.

" }, "GetOpenIdToken":{ "name":"GetOpenIdToken", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetOpenIdTokenInput"}, "output":{"shape":"GetOpenIdTokenResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"}, {"shape":"ExternalServiceException"} ], "documentation":"

Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by GetId. You can optionally add additional logins for the identity. Supplying multiple logins creates an implicit link.

The OpenID token is valid for 10 minutes.

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

", "authtype":"none" }, "GetOpenIdTokenForDeveloperIdentity":{ "name":"GetOpenIdTokenForDeveloperIdentity", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetOpenIdTokenForDeveloperIdentityInput"}, "output":{"shape":"GetOpenIdTokenForDeveloperIdentityResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"}, {"shape":"DeveloperUserAlreadyRegisteredException"} ], "documentation":"

Registers (or retrieves) a Cognito `IdentityId` and an OpenID Connect token for a user authenticated by your backend authentication process. Supplying multiple logins will create an implicit linked account. You can only specify one developer provider as part of the `Logins` map, which is linked to the identity pool. The developer provider is the \"domain\" by which Cognito will refer to your users.

You can use `GetOpenIdTokenForDeveloperIdentity` to create a new identity and to link new logins (that is, user credentials issued by a public provider or developer provider) to an existing identity. When you want to create a new identity, the `IdentityId` should be null. When you want to associate a new login with an existing authenticated/unauthenticated identity, you can do so by providing the existing `IdentityId`. This API will create the identity in the specified `IdentityPoolId`.

You must use AWS Developer credentials to call this API.

" }, "GetPrincipalTagAttributeMap":{ "name":"GetPrincipalTagAttributeMap", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetPrincipalTagAttributeMapInput"}, "output":{"shape":"GetPrincipalTagAttributeMapResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Use `GetPrincipalTagAttributeMap` to list all mappings between `PrincipalTags` and user attributes.

" }, "ListIdentities":{ "name":"ListIdentities", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListIdentitiesInput"}, "output":{"shape":"ListIdentitiesResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Lists the identities in an identity pool.

You must use AWS Developer credentials to call this API.

" }, "ListIdentityPools":{ "name":"ListIdentityPools", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListIdentityPoolsInput"}, "output":{"shape":"ListIdentityPoolsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"NotAuthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalErrorException"} ], "documentation":"

Lists all of the Cognito identity pools registered for your account.

You must use AWS Developer credentials to call this API.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListTagsForResourceInput"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Lists the tags that are assigned to an Amazon Cognito identity pool.

A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.

You can use this action up to 10 times per second, per account.

" }, "LookupDeveloperIdentity":{ "name":"LookupDeveloperIdentity", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"LookupDeveloperIdentityInput"}, "output":{"shape":"LookupDeveloperIdentityResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Retrieves the `IdentityID` associated with a `DeveloperUserIdentifier` or the list of `DeveloperUserIdentifier` values associated with an `IdentityId` for an existing identity. Either `IdentityID` or `DeveloperUserIdentifier` must not be null. If you supply only one of these values, the other value will be searched in the database and returned as a part of the response. If you supply both, `DeveloperUserIdentifier` will be matched against `IdentityID`. If the values are verified against the database, the response returns both values and is the same as the request. Otherwise a `ResourceConflictException` is thrown.

`LookupDeveloperIdentity` is intended for low-throughput control plane operations: for example, to enable customer service to locate an identity ID by username. If you are using it for higher-volume operations such as user authentication, your requests are likely to be throttled. GetOpenIdTokenForDeveloperIdentity is a better option for higher-volume operations for user authentication.

You must use AWS Developer credentials to call this API.

" }, "MergeDeveloperIdentities":{ "name":"MergeDeveloperIdentities", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"MergeDeveloperIdentitiesInput"}, "output":{"shape":"MergeDeveloperIdentitiesResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Merges two users having different `IdentityId`s, existing in the same identity pool, and identified by the same developer provider. You can use this action to request that discrete users be merged and identified as a single user in the Cognito environment. Cognito associates the given source user (`SourceUserIdentifier`) with the `IdentityId` of the `DestinationUserIdentifier`. Only developer-authenticated users can be merged. If the users to be merged are associated with the same public provider, but as two different users, an exception will be thrown.

The number of linked logins is limited to 20. So, the number of linked logins for the source user, `SourceUserIdentifier`, and the destination user, `DestinationUserIdentifier`, together should not be larger than 20. Otherwise, an exception will be thrown.

You must use AWS Developer credentials to call this API.

" }, "SetIdentityPoolRoles":{ "name":"SetIdentityPoolRoles", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"SetIdentityPoolRolesInput"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"}, {"shape":"ConcurrentModificationException"} ], "documentation":"

Sets the roles for an identity pool. These roles are used when making calls to GetCredentialsForIdentity action.

You must use AWS Developer credentials to call this API.

" }, "SetPrincipalTagAttributeMap":{ "name":"SetPrincipalTagAttributeMap", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"SetPrincipalTagAttributeMapInput"}, "output":{"shape":"SetPrincipalTagAttributeMapResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

You can use this operation to use default (username and clientID) attribute or custom attribute mappings.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"TagResourceInput"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Assigns a set of tags to the specified Amazon Cognito identity pool. A tag is a label that you can use to categorize and manage identity pools in different ways, such as by purpose, owner, environment, or other criteria.

Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of an identity pool, one for testing and another for production, you might assign an `Environment` tag key to both identity pools. The value of this key might be `Test` for one identity pool and `Production` for the other.

Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with your identity pools. In an IAM policy, you can constrain permissions for identity pools based on specific tags or tag values.

You can use this action up to 5 times per second, per account. An identity pool can have as many as 50 tags.

" }, "UnlinkDeveloperIdentity":{ "name":"UnlinkDeveloperIdentity", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UnlinkDeveloperIdentityInput"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Unlinks a `DeveloperUserIdentifier` from an existing identity. Unlinked developer users will be considered new identities next time they are seen. If, for a given Cognito identity, you remove all federated identities as well as the developer user identifier, the Cognito identity becomes inaccessible.

You must use AWS Developer credentials to call this API.

" }, "UnlinkIdentity":{ "name":"UnlinkIdentity", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UnlinkIdentityInput"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"}, {"shape":"ExternalServiceException"} ], "documentation":"

Unlinks a federated identity from an existing account. Unlinked logins will be considered new identities next time they are seen. Removing the last linked login will make this identity inaccessible.

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

", "authtype":"none" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UntagResourceInput"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"} ], "documentation":"

Removes the specified tags from the specified Amazon Cognito identity pool. You can use this action up to 5 times per second, per account

" }, "UpdateIdentityPool":{ "name":"UpdateIdentityPool", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"IdentityPool"}, "output":{"shape":"IdentityPool"}, "errors":[ {"shape":"InvalidParameterException"}, {"shape":"ResourceNotFoundException"}, {"shape":"NotAuthorizedException"}, {"shape":"ResourceConflictException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalErrorException"}, {"shape":"ConcurrentModificationException"}, {"shape":"LimitExceededException"} ], "documentation":"

Updates an identity pool.

You must use AWS Developer credentials to call this API.

" } }, "shapes":{ "ARNString":{ "type":"string", "max":2048, "min":20 }, "AccessKeyString":{"type":"string"}, "AccountId":{ "type":"string", "max":15, "min":1, "pattern":"\\d+" }, "AmbiguousRoleResolutionType":{ "type":"string", "enum":[ "AuthenticatedRole", "Deny" ] }, "ClaimName":{ "type":"string", "max":64, "min":1, "pattern":"[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+" }, "ClaimValue":{ "type":"string", "max":128, "min":1 }, "ClassicFlow":{"type":"boolean"}, "CognitoIdentityProvider":{ "type":"structure", "members":{ "ProviderName":{ "shape":"CognitoIdentityProviderName", "documentation":"

The provider name for an Amazon Cognito user pool. For example, `cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789`.

" }, "ClientId":{ "shape":"CognitoIdentityProviderClientId", "documentation":"

The client ID for the Amazon Cognito user pool.

" }, "ServerSideTokenCheck":{ "shape":"CognitoIdentityProviderTokenCheck", "documentation":"

TRUE if server-side token validation is enabled for the identity provider’s token.

Once you set `ServerSideTokenCheck` to TRUE for an identity pool, that identity pool will check with the integrated user pools to make sure that the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.

If the user is signed out or deleted, the identity pool will return a 400 Not Authorized error.

", "box":true } }, "documentation":"

A provider representing an Amazon Cognito user pool and its client ID.

" }, "CognitoIdentityProviderClientId":{ "type":"string", "max":128, "min":1, "pattern":"[\\w_]+" }, "CognitoIdentityProviderList":{ "type":"list", "member":{"shape":"CognitoIdentityProvider"} }, "CognitoIdentityProviderName":{ "type":"string", "max":128, "min":1, "pattern":"[\\w._:/-]+" }, "CognitoIdentityProviderTokenCheck":{"type":"boolean"}, "ConcurrentModificationException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

The message returned by a ConcurrentModificationException.

" } }, "documentation":"

Thrown if there are parallel requests to modify a resource.

", "exception":true }, "CreateIdentityPoolInput":{ "type":"structure", "required":[ "IdentityPoolName", "AllowUnauthenticatedIdentities" ], "members":{ "IdentityPoolName":{ "shape":"IdentityPoolName", "documentation":"

A string that you provide.

" }, "AllowUnauthenticatedIdentities":{ "shape":"IdentityPoolUnauthenticated", "documentation":"

TRUE if the identity pool supports unauthenticated logins.

" }, "AllowClassicFlow":{ "shape":"ClassicFlow", "documentation":"

Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.

" }, "SupportedLoginProviders":{ "shape":"IdentityProviders", "documentation":"

Optional key:value pairs mapping provider names to provider app IDs.

" }, "DeveloperProviderName":{ "shape":"DeveloperProviderName", "documentation":"

The \"domain\" by which Cognito will refer to your users. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the `DeveloperProviderName`, you can use letters as well as period (`.`), underscore (`_`), and dash (`-`).

Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.

" }, "OpenIdConnectProviderARNs":{ "shape":"OIDCProviderList", "documentation":"

The Amazon Resource Names (ARN) of the OpenID Connect providers.

" }, "CognitoIdentityProviders":{ "shape":"CognitoIdentityProviderList", "documentation":"

An array of Amazon Cognito user pools and their client IDs.

" }, "SamlProviderARNs":{ "shape":"SAMLProviderList", "documentation":"

An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.

" }, "IdentityPoolTags":{ "shape":"IdentityPoolTagsType", "documentation":"

Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.

" } }, "documentation":"

Input to the CreateIdentityPool action.

" }, "Credentials":{ "type":"structure", "members":{ "AccessKeyId":{ "shape":"AccessKeyString", "documentation":"

The Access Key portion of the credentials.

" }, "SecretKey":{ "shape":"SecretKeyString", "documentation":"

The Secret Access Key portion of the credentials

" }, "SessionToken":{ "shape":"SessionTokenString", "documentation":"

The Session Token portion of the credentials

" }, "Expiration":{ "shape":"DateType", "documentation":"

The date at which these credentials will expire.

" } }, "documentation":"

Credentials for the provided identity ID.

" }, "DateType":{"type":"timestamp"}, "DeleteIdentitiesInput":{ "type":"structure", "required":["IdentityIdsToDelete"], "members":{ "IdentityIdsToDelete":{ "shape":"IdentityIdList", "documentation":"

A list of 1-60 identities that you want to delete.

" } }, "documentation":"

Input to the `DeleteIdentities` action.

" }, "DeleteIdentitiesResponse":{ "type":"structure", "members":{ "UnprocessedIdentityIds":{ "shape":"UnprocessedIdentityIdList", "documentation":"

An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId.

" } }, "documentation":"

Returned in response to a successful `DeleteIdentities` operation.

" }, "DeleteIdentityPoolInput":{ "type":"structure", "required":["IdentityPoolId"], "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" } }, "documentation":"

Input to the DeleteIdentityPool action.

" }, "DescribeIdentityInput":{ "type":"structure", "required":["IdentityId"], "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" } }, "documentation":"

Input to the `DescribeIdentity` action.

" }, "DescribeIdentityPoolInput":{ "type":"structure", "required":["IdentityPoolId"], "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" } }, "documentation":"

Input to the DescribeIdentityPool action.

" }, "DeveloperProviderName":{ "type":"string", "max":128, "min":1, "pattern":"[\\w._-]+" }, "DeveloperUserAlreadyRegisteredException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

This developer user identifier is already registered with Cognito.

" } }, "documentation":"

The provided developer user identifier is already registered with Cognito under a different identity ID.

", "exception":true }, "DeveloperUserIdentifier":{ "type":"string", "max":1024, "min":1 }, "DeveloperUserIdentifierList":{ "type":"list", "member":{"shape":"DeveloperUserIdentifier"} }, "ErrorCode":{ "type":"string", "enum":[ "AccessDenied", "InternalServerError" ] }, "ExternalServiceException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

The message returned by an ExternalServiceException

" } }, "documentation":"

An exception thrown when a dependent service such as Facebook or Twitter is not responding

", "exception":true }, "GetCredentialsForIdentityInput":{ "type":"structure", "required":["IdentityId"], "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "Logins":{ "shape":"LoginsMap", "documentation":"

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.

" }, "CustomRoleArn":{ "shape":"ARNString", "documentation":"

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.

" } }, "documentation":"

Input to the `GetCredentialsForIdentity` action.

" }, "GetCredentialsForIdentityResponse":{ "type":"structure", "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "Credentials":{ "shape":"Credentials", "documentation":"

Credentials for the provided identity ID.

" } }, "documentation":"

Returned in response to a successful `GetCredentialsForIdentity` operation.

" }, "GetIdInput":{ "type":"structure", "required":["IdentityPoolId"], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

A standard AWS account ID (9+ digits).

" }, "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" }, "Logins":{ "shape":"LoginsMap", "documentation":"

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`

" } }, "documentation":"

Input to the GetId action.

" }, "GetIdResponse":{ "type":"structure", "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" } }, "documentation":"

Returned in response to a GetId request.

" }, "GetIdentityPoolRolesInput":{ "type":"structure", "required":["IdentityPoolId"], "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" } }, "documentation":"

Input to the `GetIdentityPoolRoles` action.

" }, "GetIdentityPoolRolesResponse":{ "type":"structure", "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" }, "Roles":{ "shape":"RolesMap", "documentation":"

The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.

" }, "RoleMappings":{ "shape":"RoleMappingMap", "documentation":"

How users for a specific identity provider are to mapped to roles. This is a String-to-RoleMapping object map. The string identifies the identity provider, for example, \"graph.facebook.com\" or \"cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id\".

" } }, "documentation":"

Returned in response to a successful `GetIdentityPoolRoles` operation.

" }, "GetOpenIdTokenForDeveloperIdentityInput":{ "type":"structure", "required":[ "IdentityPoolId", "Logins" ], "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" }, "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "Logins":{ "shape":"LoginsMap", "documentation":"

A set of optional name-value pairs that map provider names to provider tokens. Each name-value pair represents a user from a public provider or developer provider. If the user is from a developer provider, the name-value pair will follow the syntax `\"developer_provider_name\": \"developer_user_identifier\"`. The developer provider is the \"domain\" by which Cognito will refer to your users; you provided this domain while creating/updating the identity pool. The developer user identifier is an identifier from your backend that uniquely identifies a user. When you create an identity pool, you can specify the supported logins.

" }, "PrincipalTags":{ "shape":"PrincipalTags", "documentation":"

Use this operation to configure attribute mappings for custom providers.

" }, "TokenDuration":{ "shape":"TokenDuration", "documentation":"

The expiration time of the token, in seconds. You can specify a custom expiration time for the token so that you can cache it. If you don't provide an expiration time, the token is valid for 15 minutes. You can exchange the token with Amazon STS for temporary AWS credentials, which are valid for a maximum of one hour. The maximum token duration you can set is 24 hours. You should take care in setting the expiration time for a token, as there are significant security implications: an attacker could use a leaked token to access your AWS resources for the token's duration.

Please provide for a small grace period, usually no more than 5 minutes, to account for clock skew.

" } }, "documentation":"

Input to the `GetOpenIdTokenForDeveloperIdentity` action.

" }, "GetOpenIdTokenForDeveloperIdentityResponse":{ "type":"structure", "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "Token":{ "shape":"OIDCToken", "documentation":"

An OpenID token.

" } }, "documentation":"

Returned in response to a successful `GetOpenIdTokenForDeveloperIdentity` request.

" }, "GetOpenIdTokenInput":{ "type":"structure", "required":["IdentityId"], "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "Logins":{ "shape":"LoginsMap", "documentation":"

A set of optional name-value pairs that map provider names to provider tokens. When using graph.facebook.com and www.amazon.com, supply the access_token returned from the provider's authflow. For accounts.google.com, an Amazon Cognito user pool provider, or any other OpenID Connect provider, always include the `id_token`.

" } }, "documentation":"

Input to the GetOpenIdToken action.

" }, "GetOpenIdTokenResponse":{ "type":"structure", "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.

" }, "Token":{ "shape":"OIDCToken", "documentation":"

An OpenID token, valid for 10 minutes.

" } }, "documentation":"

Returned in response to a successful GetOpenIdToken request.

" }, "GetPrincipalTagAttributeMapInput":{ "type":"structure", "required":[ "IdentityPoolId", "IdentityProviderName" ], "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

You can use this operation to get the ID of the Identity Pool you setup attribute mappings for.

" }, "IdentityProviderName":{ "shape":"IdentityProviderName", "documentation":"

You can use this operation to get the provider name.

" } } }, "GetPrincipalTagAttributeMapResponse":{ "type":"structure", "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

You can use this operation to get the ID of the Identity Pool you setup attribute mappings for.

" }, "IdentityProviderName":{ "shape":"IdentityProviderName", "documentation":"

You can use this operation to get the provider name.

" }, "UseDefaults":{ "shape":"UseDefaults", "documentation":"

You can use this operation to list

" }, "PrincipalTags":{ "shape":"PrincipalTags", "documentation":"

You can use this operation to add principal tags. The `PrincipalTags`operation enables you to reference user attributes in your IAM permissions policy.

" } } }, "HideDisabled":{"type":"boolean"}, "IdentitiesList":{ "type":"list", "member":{"shape":"IdentityDescription"} }, "IdentityDescription":{ "type":"structure", "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "Logins":{ "shape":"LoginsList", "documentation":"

The provider names.

" }, "CreationDate":{ "shape":"DateType", "documentation":"

Date on which the identity was created.

" }, "LastModifiedDate":{ "shape":"DateType", "documentation":"

Date on which the identity was last modified.

" } }, "documentation":"

A description of the identity.

" }, "IdentityId":{ "type":"string", "max":55, "min":1, "pattern":"[\\w-]+:[0-9a-f-]+" }, "IdentityIdList":{ "type":"list", "member":{"shape":"IdentityId"}, "max":60, "min":1 }, "IdentityPool":{ "type":"structure", "required":[ "IdentityPoolId", "IdentityPoolName", "AllowUnauthenticatedIdentities" ], "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" }, "IdentityPoolName":{ "shape":"IdentityPoolName", "documentation":"

A string that you provide.

" }, "AllowUnauthenticatedIdentities":{ "shape":"IdentityPoolUnauthenticated", "documentation":"

TRUE if the identity pool supports unauthenticated logins.

" }, "AllowClassicFlow":{ "shape":"ClassicFlow", "documentation":"

Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.

" }, "SupportedLoginProviders":{ "shape":"IdentityProviders", "documentation":"

Optional key:value pairs mapping provider names to provider app IDs.

" }, "DeveloperProviderName":{ "shape":"DeveloperProviderName", "documentation":"

The \"domain\" by which Cognito will refer to your users.

" }, "OpenIdConnectProviderARNs":{ "shape":"OIDCProviderList", "documentation":"

The ARNs of the OpenID Connect providers.

" }, "CognitoIdentityProviders":{ "shape":"CognitoIdentityProviderList", "documentation":"

A list representing an Amazon Cognito user pool and its client ID.

" }, "SamlProviderARNs":{ "shape":"SAMLProviderList", "documentation":"

An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.

" }, "IdentityPoolTags":{ "shape":"IdentityPoolTagsType", "documentation":"

The tags that are assigned to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.

" } }, "documentation":"

An object representing an Amazon Cognito identity pool.

" }, "IdentityPoolId":{ "type":"string", "max":55, "min":1, "pattern":"[\\w-]+:[0-9a-f-]+" }, "IdentityPoolName":{ "type":"string", "max":128, "min":1, "pattern":"[\\w\\s+=,.@-]+" }, "IdentityPoolShortDescription":{ "type":"structure", "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" }, "IdentityPoolName":{ "shape":"IdentityPoolName", "documentation":"

A string that you provide.

" } }, "documentation":"

A description of the identity pool.

" }, "IdentityPoolTagsListType":{ "type":"list", "member":{"shape":"TagKeysType"} }, "IdentityPoolTagsType":{ "type":"map", "key":{"shape":"TagKeysType"}, "value":{"shape":"TagValueType"} }, "IdentityPoolUnauthenticated":{"type":"boolean"}, "IdentityPoolsList":{ "type":"list", "member":{"shape":"IdentityPoolShortDescription"} }, "IdentityProviderId":{ "type":"string", "max":128, "min":1, "pattern":"[\\w.;_/-]+" }, "IdentityProviderName":{ "type":"string", "max":128, "min":1 }, "IdentityProviderToken":{ "type":"string", "max":50000, "min":1 }, "IdentityProviders":{ "type":"map", "key":{"shape":"IdentityProviderName"}, "value":{"shape":"IdentityProviderId"}, "max":10 }, "InternalErrorException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

The message returned by an InternalErrorException.

" } }, "documentation":"

Thrown when the service encounters an error during processing the request.

", "exception":true, "fault":true }, "InvalidIdentityPoolConfigurationException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

The message returned for an `InvalidIdentityPoolConfigurationException`

" } }, "documentation":"

Thrown if the identity pool has no role associated for the given auth type (auth/unauth) or if the AssumeRole fails.

", "exception":true }, "InvalidParameterException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

The message returned by an InvalidParameterException.

" } }, "documentation":"

Thrown for missing or bad input parameter(s).

", "exception":true }, "LimitExceededException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

The message returned by a LimitExceededException.

" } }, "documentation":"

Thrown when the total number of user pools has exceeded a preset limit.

", "exception":true }, "ListIdentitiesInput":{ "type":"structure", "required":[ "IdentityPoolId", "MaxResults" ], "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" }, "MaxResults":{ "shape":"QueryLimit", "documentation":"

The maximum number of identities to return.

" }, "NextToken":{ "shape":"PaginationKey", "documentation":"

A pagination token.

" }, "HideDisabled":{ "shape":"HideDisabled", "documentation":"

An optional boolean parameter that allows you to hide disabled identities. If omitted, the ListIdentities API will include disabled identities in the response.

" } }, "documentation":"

Input to the ListIdentities action.

" }, "ListIdentitiesResponse":{ "type":"structure", "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" }, "Identities":{ "shape":"IdentitiesList", "documentation":"

An object containing a set of identities and associated mappings.

" }, "NextToken":{ "shape":"PaginationKey", "documentation":"

A pagination token.

" } }, "documentation":"

The response to a ListIdentities request.

" }, "ListIdentityPoolsInput":{ "type":"structure", "required":["MaxResults"], "members":{ "MaxResults":{ "shape":"QueryLimit", "documentation":"

The maximum number of identities to return.

" }, "NextToken":{ "shape":"PaginationKey", "documentation":"

A pagination token.

" } }, "documentation":"

Input to the ListIdentityPools action.

" }, "ListIdentityPoolsResponse":{ "type":"structure", "members":{ "IdentityPools":{ "shape":"IdentityPoolsList", "documentation":"

The identity pools returned by the ListIdentityPools action.

" }, "NextToken":{ "shape":"PaginationKey", "documentation":"

A pagination token.

" } }, "documentation":"

The result of a successful ListIdentityPools action.

" }, "ListTagsForResourceInput":{ "type":"structure", "required":["ResourceArn"], "members":{ "ResourceArn":{ "shape":"ARNString", "documentation":"

The Amazon Resource Name (ARN) of the identity pool that the tags are assigned to.

" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "Tags":{ "shape":"IdentityPoolTagsType", "documentation":"

The tags that are assigned to the identity pool.

" } } }, "LoginsList":{ "type":"list", "member":{"shape":"IdentityProviderName"} }, "LoginsMap":{ "type":"map", "key":{"shape":"IdentityProviderName"}, "value":{"shape":"IdentityProviderToken"}, "max":10 }, "LookupDeveloperIdentityInput":{ "type":"structure", "required":["IdentityPoolId"], "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" }, "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "DeveloperUserIdentifier":{ "shape":"DeveloperUserIdentifier", "documentation":"

A unique ID used by your backend authentication process to identify a user. Typically, a developer identity provider would issue many developer user identifiers, in keeping with the number of users.

" }, "MaxResults":{ "shape":"QueryLimit", "documentation":"

The maximum number of identities to return.

" }, "NextToken":{ "shape":"PaginationKey", "documentation":"

A pagination token. The first call you make will have `NextToken` set to null. After that the service will return `NextToken` values as needed. For example, let's say you make a request with `MaxResults` set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match.

" } }, "documentation":"

Input to the `LookupDeveloperIdentityInput` action.

" }, "LookupDeveloperIdentityResponse":{ "type":"structure", "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "DeveloperUserIdentifierList":{ "shape":"DeveloperUserIdentifierList", "documentation":"

This is the list of developer user identifiers associated with an identity ID. Cognito supports the association of multiple developer user identifiers with an identity ID.

" }, "NextToken":{ "shape":"PaginationKey", "documentation":"

A pagination token. The first call you make will have `NextToken` set to null. After that the service will return `NextToken` values as needed. For example, let's say you make a request with `MaxResults` set to 10, and there are 20 matches in the database. The service will return a pagination token as a part of the response. This token can be used to call the API again and get results starting from the 11th match.

" } }, "documentation":"

Returned in response to a successful `LookupDeveloperIdentity` action.

" }, "MappingRule":{ "type":"structure", "required":[ "Claim", "MatchType", "Value", "RoleARN" ], "members":{ "Claim":{ "shape":"ClaimName", "documentation":"

The claim name that must be present in the token, for example, \"isAdmin\" or \"paid\".

" }, "MatchType":{ "shape":"MappingRuleMatchType", "documentation":"

The match condition that specifies how closely the claim value in the IdP token must match `Value`.

" }, "Value":{ "shape":"ClaimValue", "documentation":"

A brief string that the claim must match, for example, \"paid\" or \"yes\".

" }, "RoleARN":{ "shape":"ARNString", "documentation":"

The role ARN.

" } }, "documentation":"

A rule that maps a claim name, a claim value, and a match type to a role ARN.

" }, "MappingRuleMatchType":{ "type":"string", "enum":[ "Equals", "Contains", "StartsWith", "NotEqual" ] }, "MappingRulesList":{ "type":"list", "member":{"shape":"MappingRule"}, "max":400, "min":1 }, "MergeDeveloperIdentitiesInput":{ "type":"structure", "required":[ "SourceUserIdentifier", "DestinationUserIdentifier", "DeveloperProviderName", "IdentityPoolId" ], "members":{ "SourceUserIdentifier":{ "shape":"DeveloperUserIdentifier", "documentation":"

User identifier for the source user. The value should be a `DeveloperUserIdentifier`.

" }, "DestinationUserIdentifier":{ "shape":"DeveloperUserIdentifier", "documentation":"

User identifier for the destination user. The value should be a `DeveloperUserIdentifier`.

" }, "DeveloperProviderName":{ "shape":"DeveloperProviderName", "documentation":"

The \"domain\" by which Cognito will refer to your users. This is a (pseudo) domain name that you provide while creating an identity pool. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the `DeveloperProviderName`, you can use letters as well as period (.), underscore (_), and dash (-).

" }, "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" } }, "documentation":"

Input to the `MergeDeveloperIdentities` action.

" }, "MergeDeveloperIdentitiesResponse":{ "type":"structure", "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" } }, "documentation":"

Returned in response to a successful `MergeDeveloperIdentities` action.

" }, "NotAuthorizedException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

The message returned by a NotAuthorizedException

" } }, "documentation":"

Thrown when a user is not authorized to access the requested resource.

", "exception":true }, "OIDCProviderList":{ "type":"list", "member":{"shape":"ARNString"} }, "OIDCToken":{"type":"string"}, "PaginationKey":{ "type":"string", "max":65535, "min":1, "pattern":"[\\S]+" }, "PrincipalTagID":{ "type":"string", "max":128, "min":1 }, "PrincipalTagValue":{ "type":"string", "max":256, "min":1 }, "PrincipalTags":{ "type":"map", "key":{"shape":"PrincipalTagID"}, "value":{"shape":"PrincipalTagValue"}, "max":50 }, "QueryLimit":{ "type":"integer", "max":60, "min":1 }, "ResourceConflictException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

The message returned by a ResourceConflictException.

" } }, "documentation":"

Thrown when a user tries to use a login which is already linked to another account.

", "exception":true }, "ResourceNotFoundException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

The message returned by a ResourceNotFoundException.

" } }, "documentation":"

Thrown when the requested resource (for example, a dataset or record) does not exist.

", "exception":true }, "RoleMapping":{ "type":"structure", "required":["Type"], "members":{ "Type":{ "shape":"RoleMappingType", "documentation":"

The role mapping type. Token will use `cognito:roles` and `cognito:preferred_role` claims from the Cognito identity provider token to map groups to roles. Rules will attempt to match claims from the token to map to a role.

" }, "AmbiguousRoleResolution":{ "shape":"AmbiguousRoleResolutionType", "documentation":"

If you specify Token or Rules as the `Type`, `AmbiguousRoleResolution` is required.

Specifies the action to be taken if either no rules match the claim value for the `Rules` type, or there is no `cognito:preferred_role` claim and there are multiple `cognito:roles` matches for the `Token` type.

" }, "RulesConfiguration":{ "shape":"RulesConfigurationType", "documentation":"

The rules to be used for mapping users to roles.

If you specify Rules as the role mapping type, `RulesConfiguration` is required.

" } }, "documentation":"

A role mapping.

" }, "RoleMappingMap":{ "type":"map", "key":{"shape":"IdentityProviderName"}, "value":{"shape":"RoleMapping"}, "max":10 }, "RoleMappingType":{ "type":"string", "enum":[ "Token", "Rules" ] }, "RoleType":{ "type":"string", "max":128, "min":1, "pattern":"(un)?authenticated" }, "RolesMap":{ "type":"map", "key":{"shape":"RoleType"}, "value":{"shape":"ARNString"}, "max":2 }, "RulesConfigurationType":{ "type":"structure", "required":["Rules"], "members":{ "Rules":{ "shape":"MappingRulesList", "documentation":"

An array of rules. You can specify up to 25 rules per identity provider.

Rules are evaluated in order. The first one to match specifies the role.

" } }, "documentation":"

A container for rules.

" }, "SAMLProviderList":{ "type":"list", "member":{"shape":"ARNString"} }, "SecretKeyString":{"type":"string"}, "SessionTokenString":{"type":"string"}, "SetIdentityPoolRolesInput":{ "type":"structure", "required":[ "IdentityPoolId", "Roles" ], "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" }, "Roles":{ "shape":"RolesMap", "documentation":"

The map of roles associated with this pool. For a given role, the key will be either \"authenticated\" or \"unauthenticated\" and the value will be the Role ARN.

" }, "RoleMappings":{ "shape":"RoleMappingMap", "documentation":"

How users for a specific identity provider are to mapped to roles. This is a string to RoleMapping object map. The string identifies the identity provider, for example, \"graph.facebook.com\" or \"cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id\".

Up to 25 rules can be specified per identity provider.

" } }, "documentation":"

Input to the `SetIdentityPoolRoles` action.

" }, "SetPrincipalTagAttributeMapInput":{ "type":"structure", "required":[ "IdentityPoolId", "IdentityProviderName" ], "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

The ID of the Identity Pool you want to set attribute mappings for.

" }, "IdentityProviderName":{ "shape":"IdentityProviderName", "documentation":"

The provider name you want to use for attribute mappings.

" }, "UseDefaults":{ "shape":"UseDefaults", "documentation":"

You can use this operation to use default (username and clientID) attribute mappings.

" }, "PrincipalTags":{ "shape":"PrincipalTags", "documentation":"

You can use this operation to add principal tags.

" } } }, "SetPrincipalTagAttributeMapResponse":{ "type":"structure", "members":{ "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

The ID of the Identity Pool you want to set attribute mappings for.

" }, "IdentityProviderName":{ "shape":"IdentityProviderName", "documentation":"

The provider name you want to use for attribute mappings.

" }, "UseDefaults":{ "shape":"UseDefaults", "documentation":"

You can use this operation to select default (username and clientID) attribute mappings.

" }, "PrincipalTags":{ "shape":"PrincipalTags", "documentation":"

You can use this operation to add principal tags. The `PrincipalTags`operation enables you to reference user attributes in your IAM permissions policy.

" } } }, "String":{"type":"string"}, "TagKeysType":{ "type":"string", "max":128, "min":1 }, "TagResourceInput":{ "type":"structure", "required":[ "ResourceArn", "Tags" ], "members":{ "ResourceArn":{ "shape":"ARNString", "documentation":"

The Amazon Resource Name (ARN) of the identity pool.

" }, "Tags":{ "shape":"IdentityPoolTagsType", "documentation":"

The tags to assign to the identity pool.

" } } }, "TagResourceResponse":{ "type":"structure", "members":{ } }, "TagValueType":{ "type":"string", "max":256, "min":0 }, "TokenDuration":{ "type":"long", "max":86400, "min":1 }, "TooManyRequestsException":{ "type":"structure", "members":{ "message":{ "shape":"String", "documentation":"

Message returned by a TooManyRequestsException

" } }, "documentation":"

Thrown when a request is throttled.

", "exception":true }, "UnlinkDeveloperIdentityInput":{ "type":"structure", "required":[ "IdentityId", "IdentityPoolId", "DeveloperProviderName", "DeveloperUserIdentifier" ], "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "IdentityPoolId":{ "shape":"IdentityPoolId", "documentation":"

An identity pool ID in the format REGION:GUID.

" }, "DeveloperProviderName":{ "shape":"DeveloperProviderName", "documentation":"

The \"domain\" by which Cognito will refer to your users.

" }, "DeveloperUserIdentifier":{ "shape":"DeveloperUserIdentifier", "documentation":"

A unique ID used by your backend authentication process to identify a user.

" } }, "documentation":"

Input to the `UnlinkDeveloperIdentity` action.

" }, "UnlinkIdentityInput":{ "type":"structure", "required":[ "IdentityId", "Logins", "LoginsToRemove" ], "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "Logins":{ "shape":"LoginsMap", "documentation":"

A set of optional name-value pairs that map provider names to provider tokens.

" }, "LoginsToRemove":{ "shape":"LoginsList", "documentation":"

Provider names to unlink from this identity.

" } }, "documentation":"

Input to the UnlinkIdentity action.

" }, "UnprocessedIdentityId":{ "type":"structure", "members":{ "IdentityId":{ "shape":"IdentityId", "documentation":"

A unique identifier in the format REGION:GUID.

" }, "ErrorCode":{ "shape":"ErrorCode", "documentation":"

The error code indicating the type of error that occurred.

" } }, "documentation":"

An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId.

" }, "UnprocessedIdentityIdList":{ "type":"list", "member":{"shape":"UnprocessedIdentityId"}, "max":60 }, "UntagResourceInput":{ "type":"structure", "required":[ "ResourceArn", "TagKeys" ], "members":{ "ResourceArn":{ "shape":"ARNString", "documentation":"

The Amazon Resource Name (ARN) of the identity pool.

" }, "TagKeys":{ "shape":"IdentityPoolTagsListType", "documentation":"

The keys of the tags to remove from the user pool.

" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UseDefaults":{"type":"boolean"} }, "documentation":"Amazon Cognito Federated Identities

Amazon Cognito Federated Identities is a web service that delivers scoped temporary credentials to mobile devices and other untrusted environments. It uniquely identifies a device and supplies the user with a consistent identity over the lifetime of an application.

Using Amazon Cognito Federated Identities, you can enable authentication with one or more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon Cognito user pool, and you can also choose to support unauthenticated access from your app. Cognito delivers a unique identifier for each user and acts as an OpenID token provider trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS credentials.

For a description of the authentication flow from the Amazon Cognito Developer Guide see Authentication Flow.

For more information see Amazon Cognito Federated Identities.

" }