Skip to content

Commit 3144f88

Browse files
author
awstools
committed
docs(client-cognito-identity): Updated API model build artifacts for identity pools
1 parent 35ced56 commit 3144f88

25 files changed

+156
-105
lines changed

clients/client-cognito-identity/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ application.</p>
1616
more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon
1717
Cognito user pool, and you can also choose to support unauthenticated access from your app.
1818
Cognito delivers a unique identifier for each user and acts as an OpenID token provider
19-
trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS
20-
credentials.</p>
19+
trusted by Security Token Service (STS) to access temporary, limited-privilege Amazon Web Services credentials.</p>
2120
<p>For a description of the authentication flow from the Amazon Cognito Developer Guide
22-
see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Authentication Flow</a>.</p>
23-
<p>For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html">Amazon Cognito Federated Identities</a>.</p>
21+
see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Authentication
22+
Flow</a>.</p>
23+
<p>For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html">Amazon Cognito Federated
24+
Identities</a>.</p>
2425

2526
## Installing
2627

clients/client-cognito-identity/src/CognitoIdentity.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -513,11 +513,12 @@ export interface CognitoIdentity {
513513
* more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon
514514
* Cognito user pool, and you can also choose to support unauthenticated access from your app.
515515
* Cognito delivers a unique identifier for each user and acts as an OpenID token provider
516-
* trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS
517-
* credentials.</p>
516+
* trusted by Security Token Service (STS) to access temporary, limited-privilege Amazon Web Services credentials.</p>
518517
* <p>For a description of the authentication flow from the Amazon Cognito Developer Guide
519-
* see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Authentication Flow</a>.</p>
520-
* <p>For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html">Amazon Cognito Federated Identities</a>.</p>
518+
* see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Authentication
519+
* Flow</a>.</p>
520+
* <p>For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html">Amazon Cognito Federated
521+
* Identities</a>.</p>
521522
* @public
522523
*/
523524
export class CognitoIdentity extends CognitoIdentityClient implements CognitoIdentity {}

clients/client-cognito-identity/src/CognitoIdentityClient.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,12 @@ export interface CognitoIdentityClientResolvedConfig extends CognitoIdentityClie
376376
* more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon
377377
* Cognito user pool, and you can also choose to support unauthenticated access from your app.
378378
* Cognito delivers a unique identifier for each user and acts as an OpenID token provider
379-
* trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS
380-
* credentials.</p>
379+
* trusted by Security Token Service (STS) to access temporary, limited-privilege Amazon Web Services credentials.</p>
381380
* <p>For a description of the authentication flow from the Amazon Cognito Developer Guide
382-
* see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Authentication Flow</a>.</p>
383-
* <p>For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html">Amazon Cognito Federated Identities</a>.</p>
381+
* see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Authentication
382+
* Flow</a>.</p>
383+
* <p>For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-identity.html">Amazon Cognito Federated
384+
* Identities</a>.</p>
384385
* @public
385386
*/
386387
export class CognitoIdentityClient extends __Client<

clients/client-cognito-identity/src/commands/CreateIdentityPoolCommand.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export interface CreateIdentityPoolCommandOutput extends IdentityPool, __Metadat
2929

3030
/**
3131
* <p>Creates a new identity pool. The identity pool is a store of user identity
32-
* information that is specific to your AWS account. The keys for <code>SupportedLoginProviders</code> are as follows:</p>
33-
*
32+
* information that is specific to your Amazon Web Services account. The keys for
33+
* <code>SupportedLoginProviders</code> are as follows:</p>
3434
* <ul>
3535
* <li>
3636
* <p>Facebook: <code>graph.facebook.com</code>
@@ -41,6 +41,10 @@ export interface CreateIdentityPoolCommandOutput extends IdentityPool, __Metadat
4141
* </p>
4242
* </li>
4343
* <li>
44+
* <p>Sign in With Apple: <code>appleid.apple.com</code>
45+
* </p>
46+
* </li>
47+
* <li>
4448
* <p>Amazon: <code>www.amazon.com</code>
4549
* </p>
4650
* </li>
@@ -53,8 +57,12 @@ export interface CreateIdentityPoolCommandOutput extends IdentityPool, __Metadat
5357
* </p>
5458
* </li>
5559
* </ul>
56-
*
57-
* <p>You must use AWS Developer credentials to call this API.</p>
60+
* <important>
61+
* <p>If you don't provide a value for a parameter, Amazon Cognito sets it to its default value.
62+
* </p>
63+
* </important>
64+
* <p>You must use Amazon Web Services developer credentials to call this
65+
* operation.</p>
5866
* @example
5967
* Use a bare-bones client and the command you need to make an API call.
6068
* ```javascript

clients/client-cognito-identity/src/commands/DeleteIdentitiesCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export interface DeleteIdentitiesCommandOutput extends DeleteIdentitiesResponse,
3030
/**
3131
* <p>Deletes identities from an identity pool. You can specify a list of 1-60 identities
3232
* that you want to delete.</p>
33-
* <p>You must use AWS Developer credentials to call this API.</p>
33+
* <p>You must use Amazon Web Services developer credentials to call this
34+
* operation.</p>
3435
* @example
3536
* Use a bare-bones client and the command you need to make an API call.
3637
* ```javascript

clients/client-cognito-identity/src/commands/DeleteIdentityPoolCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export interface DeleteIdentityPoolCommandOutput extends __MetadataBearer {}
3030
/**
3131
* <p>Deletes an identity pool. Once a pool is deleted, users will not be able to
3232
* authenticate with the pool.</p>
33-
* <p>You must use AWS Developer credentials to call this API.</p>
33+
* <p>You must use Amazon Web Services developer credentials to call this
34+
* operation.</p>
3435
* @example
3536
* Use a bare-bones client and the command you need to make an API call.
3637
* ```javascript

clients/client-cognito-identity/src/commands/DescribeIdentityCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export interface DescribeIdentityCommandOutput extends IdentityDescription, __Me
3030
/**
3131
* <p>Returns metadata related to the given identity, including when the identity was
3232
* created and any associated linked logins.</p>
33-
* <p>You must use AWS Developer credentials to call this API.</p>
33+
* <p>You must use Amazon Web Services developer credentials to call this
34+
* operation.</p>
3435
* @example
3536
* Use a bare-bones client and the command you need to make an API call.
3637
* ```javascript

clients/client-cognito-identity/src/commands/DescribeIdentityPoolCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export interface DescribeIdentityPoolCommandOutput extends IdentityPool, __Metad
3030
/**
3131
* <p>Gets details about a particular identity pool, including the pool name, ID
3232
* description, creation date, and current number of users.</p>
33-
* <p>You must use AWS Developer credentials to call this API.</p>
33+
* <p>You must use Amazon Web Services developer credentials to call this
34+
* operation.</p>
3435
* @example
3536
* Use a bare-bones client and the command you need to make an API call.
3637
* ```javascript

clients/client-cognito-identity/src/commands/GetCredentialsForIdentityCommand.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ export interface GetCredentialsForIdentityCommandOutput extends GetCredentialsFo
3535
/**
3636
* <p>Returns credentials for the provided identity ID. Any provided logins will be
3737
* validated against supported login providers. If the token is for
38-
* cognito-identity.amazonaws.com, it will be passed through to AWS Security Token Service
39-
* with the appropriate role for the token.</p>
38+
* <code>cognito-identity.amazonaws.com</code>, it will be passed through to Security Token Service with the appropriate role for the token.</p>
4039
* <p>This is a public API. You do not need any credentials to call this API.</p>
4140
* @example
4241
* Use a bare-bones client and the command you need to make an API call.
@@ -79,8 +78,13 @@ export interface GetCredentialsForIdentityCommandOutput extends GetCredentialsFo
7978
* <p>Thrown when the service encounters an error during processing the request.</p>
8079
*
8180
* @throws {@link InvalidIdentityPoolConfigurationException} (client fault)
82-
* <p>Thrown if the identity pool has no role associated for the given auth type
83-
* (auth/unauth) or if the AssumeRole fails.</p>
81+
* <p>If you provided authentication information in the request, the identity pool has no
82+
* authenticated role configured, or STS returned an error response to the
83+
* request to assume the authenticated role from the identity pool. If you provided no
84+
* authentication information in the request, the identity pool has no unauthenticated role
85+
* configured, or STS returned an error response to the request to assume the
86+
* unauthenticated role from the identity pool.</p>
87+
* <p>Your role trust policy must grant <code>AssumeRoleWithWebIdentity</code> permissions to <code>cognito-identity.amazonaws.com</code>.</p>
8488
*
8589
* @throws {@link InvalidParameterException} (client fault)
8690
* <p>Thrown for missing or bad input parameter(s).</p>

clients/client-cognito-identity/src/commands/GetIdCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface GetIdCommandInput extends GetIdInput {}
2828
export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an
31+
* <p>Generates (or retrieves) IdentityID. Supplying multiple logins will create an
3232
* implicit linked account.</p>
3333
* <p>This is a public API. You do not need any credentials to call this API.</p>
3434
* @example

0 commit comments

Comments
 (0)