@aws-sdk/client-cognito-identity 3.325.0 → 3.327.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist-types/commands/CreateIdentityPoolCommand.d.ts +29 -0
  2. package/dist-types/commands/DeleteIdentitiesCommand.d.ts +11 -0
  3. package/dist-types/commands/DeleteIdentityPoolCommand.d.ts +4 -0
  4. package/dist-types/commands/DescribeIdentityCommand.d.ts +11 -0
  5. package/dist-types/commands/DescribeIdentityPoolCommand.d.ts +29 -0
  6. package/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +12 -0
  7. package/dist-types/commands/GetIdCommand.d.ts +6 -0
  8. package/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +25 -0
  9. package/dist-types/commands/GetOpenIdTokenCommand.d.ts +7 -0
  10. package/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +7 -0
  11. package/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +11 -0
  12. package/dist-types/commands/ListIdentitiesCommand.d.ts +17 -0
  13. package/dist-types/commands/ListIdentityPoolsCommand.d.ts +12 -0
  14. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  15. package/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +10 -0
  16. package/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +6 -0
  17. package/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +4 -0
  18. package/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +11 -0
  19. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  20. package/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +4 -0
  21. package/dist-types/commands/UnlinkIdentityCommand.d.ts +4 -0
  22. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  23. package/dist-types/commands/UpdateIdentityPoolCommand.d.ts +29 -0
  24. package/package.json +8 -8
@@ -79,6 +79,33 @@ export interface CreateIdentityPoolCommandOutput extends IdentityPool, __Metadat
79
79
  * };
80
80
  * const command = new CreateIdentityPoolCommand(input);
81
81
  * const response = await client.send(command);
82
+ * // { // IdentityPool
83
+ * // IdentityPoolId: "STRING_VALUE", // required
84
+ * // IdentityPoolName: "STRING_VALUE", // required
85
+ * // AllowUnauthenticatedIdentities: true || false, // required
86
+ * // AllowClassicFlow: true || false,
87
+ * // SupportedLoginProviders: { // IdentityProviders
88
+ * // "<keys>": "STRING_VALUE",
89
+ * // },
90
+ * // DeveloperProviderName: "STRING_VALUE",
91
+ * // OpenIdConnectProviderARNs: [ // OIDCProviderList
92
+ * // "STRING_VALUE",
93
+ * // ],
94
+ * // CognitoIdentityProviders: [ // CognitoIdentityProviderList
95
+ * // { // CognitoIdentityProvider
96
+ * // ProviderName: "STRING_VALUE",
97
+ * // ClientId: "STRING_VALUE",
98
+ * // ServerSideTokenCheck: true || false,
99
+ * // },
100
+ * // ],
101
+ * // SamlProviderARNs: [ // SAMLProviderList
102
+ * // "STRING_VALUE",
103
+ * // ],
104
+ * // IdentityPoolTags: { // IdentityPoolTagsType
105
+ * // "<keys>": "STRING_VALUE",
106
+ * // },
107
+ * // };
108
+ *
82
109
  * ```
83
110
  *
84
111
  * @param CreateIdentityPoolCommandInput - {@link CreateIdentityPoolCommandInput}
@@ -106,6 +133,8 @@ export interface CreateIdentityPoolCommandOutput extends IdentityPool, __Metadat
106
133
  * @throws {@link TooManyRequestsException} (client fault)
107
134
  * <p>Thrown when a request is throttled.</p>
108
135
  *
136
+ * @throws {@link CognitoIdentityServiceException}
137
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
109
138
  *
110
139
  */
111
140
  export declare class CreateIdentityPoolCommand extends $Command<CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -35,6 +35,15 @@ export interface DeleteIdentitiesCommandOutput extends DeleteIdentitiesResponse,
35
35
  * };
36
36
  * const command = new DeleteIdentitiesCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // DeleteIdentitiesResponse
39
+ * // UnprocessedIdentityIds: [ // UnprocessedIdentityIdList
40
+ * // { // UnprocessedIdentityId
41
+ * // IdentityId: "STRING_VALUE",
42
+ * // ErrorCode: "STRING_VALUE",
43
+ * // },
44
+ * // ],
45
+ * // };
46
+ *
38
47
  * ```
39
48
  *
40
49
  * @param DeleteIdentitiesCommandInput - {@link DeleteIdentitiesCommandInput}
@@ -52,6 +61,8 @@ export interface DeleteIdentitiesCommandOutput extends DeleteIdentitiesResponse,
52
61
  * @throws {@link TooManyRequestsException} (client fault)
53
62
  * <p>Thrown when a request is throttled.</p>
54
63
  *
64
+ * @throws {@link CognitoIdentityServiceException}
65
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
55
66
  *
56
67
  */
57
68
  export declare class DeleteIdentitiesCommand extends $Command<DeleteIdentitiesCommandInput, DeleteIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface DeleteIdentityPoolCommandOutput extends __MetadataBearer {
33
33
  * };
34
34
  * const command = new DeleteIdentityPoolCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param DeleteIdentityPoolCommandInput - {@link DeleteIdentityPoolCommandInput}
@@ -57,6 +59,8 @@ export interface DeleteIdentityPoolCommandOutput extends __MetadataBearer {
57
59
  * @throws {@link TooManyRequestsException} (client fault)
58
60
  * <p>Thrown when a request is throttled.</p>
59
61
  *
62
+ * @throws {@link CognitoIdentityServiceException}
63
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
60
64
  *
61
65
  */
62
66
  export declare class DeleteIdentityPoolCommand extends $Command<DeleteIdentityPoolCommandInput, DeleteIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -33,6 +33,15 @@ export interface DescribeIdentityCommandOutput extends IdentityDescription, __Me
33
33
  * };
34
34
  * const command = new DescribeIdentityCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // IdentityDescription
37
+ * // IdentityId: "STRING_VALUE",
38
+ * // Logins: [ // LoginsList
39
+ * // "STRING_VALUE",
40
+ * // ],
41
+ * // CreationDate: new Date("TIMESTAMP"),
42
+ * // LastModifiedDate: new Date("TIMESTAMP"),
43
+ * // };
44
+ *
36
45
  * ```
37
46
  *
38
47
  * @param DescribeIdentityCommandInput - {@link DescribeIdentityCommandInput}
@@ -57,6 +66,8 @@ export interface DescribeIdentityCommandOutput extends IdentityDescription, __Me
57
66
  * @throws {@link TooManyRequestsException} (client fault)
58
67
  * <p>Thrown when a request is throttled.</p>
59
68
  *
69
+ * @throws {@link CognitoIdentityServiceException}
70
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
60
71
  *
61
72
  */
62
73
  export declare class DescribeIdentityCommand extends $Command<DescribeIdentityCommandInput, DescribeIdentityCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -33,6 +33,33 @@ export interface DescribeIdentityPoolCommandOutput extends IdentityPool, __Metad
33
33
  * };
34
34
  * const command = new DescribeIdentityPoolCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // IdentityPool
37
+ * // IdentityPoolId: "STRING_VALUE", // required
38
+ * // IdentityPoolName: "STRING_VALUE", // required
39
+ * // AllowUnauthenticatedIdentities: true || false, // required
40
+ * // AllowClassicFlow: true || false,
41
+ * // SupportedLoginProviders: { // IdentityProviders
42
+ * // "<keys>": "STRING_VALUE",
43
+ * // },
44
+ * // DeveloperProviderName: "STRING_VALUE",
45
+ * // OpenIdConnectProviderARNs: [ // OIDCProviderList
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // CognitoIdentityProviders: [ // CognitoIdentityProviderList
49
+ * // { // CognitoIdentityProvider
50
+ * // ProviderName: "STRING_VALUE",
51
+ * // ClientId: "STRING_VALUE",
52
+ * // ServerSideTokenCheck: true || false,
53
+ * // },
54
+ * // ],
55
+ * // SamlProviderARNs: [ // SAMLProviderList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // IdentityPoolTags: { // IdentityPoolTagsType
59
+ * // "<keys>": "STRING_VALUE",
60
+ * // },
61
+ * // };
62
+ *
36
63
  * ```
37
64
  *
38
65
  * @param DescribeIdentityPoolCommandInput - {@link DescribeIdentityPoolCommandInput}
@@ -57,6 +84,8 @@ export interface DescribeIdentityPoolCommandOutput extends IdentityPool, __Metad
57
84
  * @throws {@link TooManyRequestsException} (client fault)
58
85
  * <p>Thrown when a request is throttled.</p>
59
86
  *
87
+ * @throws {@link CognitoIdentityServiceException}
88
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
60
89
  *
61
90
  */
62
91
  export declare class DescribeIdentityPoolCommand extends $Command<DescribeIdentityPoolCommandInput, DescribeIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -39,6 +39,16 @@ export interface GetCredentialsForIdentityCommandOutput extends GetCredentialsFo
39
39
  * };
40
40
  * const command = new GetCredentialsForIdentityCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetCredentialsForIdentityResponse
43
+ * // IdentityId: "STRING_VALUE",
44
+ * // Credentials: { // Credentials
45
+ * // AccessKeyId: "STRING_VALUE",
46
+ * // SecretKey: "STRING_VALUE",
47
+ * // SessionToken: "STRING_VALUE",
48
+ * // Expiration: new Date("TIMESTAMP"),
49
+ * // },
50
+ * // };
51
+ *
42
52
  * ```
43
53
  *
44
54
  * @param GetCredentialsForIdentityCommandInput - {@link GetCredentialsForIdentityCommandInput}
@@ -75,6 +85,8 @@ export interface GetCredentialsForIdentityCommandOutput extends GetCredentialsFo
75
85
  * @throws {@link TooManyRequestsException} (client fault)
76
86
  * <p>Thrown when a request is throttled.</p>
77
87
  *
88
+ * @throws {@link CognitoIdentityServiceException}
89
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
78
90
  *
79
91
  */
80
92
  export declare class GetCredentialsForIdentityCommand extends $Command<GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -37,6 +37,10 @@ export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer {
37
37
  * };
38
38
  * const command = new GetIdCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // GetIdResponse
41
+ * // IdentityId: "STRING_VALUE",
42
+ * // };
43
+ *
40
44
  * ```
41
45
  *
42
46
  * @param GetIdCommandInput - {@link GetIdCommandInput}
@@ -72,6 +76,8 @@ export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer {
72
76
  * @throws {@link TooManyRequestsException} (client fault)
73
77
  * <p>Thrown when a request is throttled.</p>
74
78
  *
79
+ * @throws {@link CognitoIdentityServiceException}
80
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
75
81
  *
76
82
  */
77
83
  export declare class GetIdCommand extends $Command<GetIdCommandInput, GetIdCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -32,6 +32,29 @@ export interface GetIdentityPoolRolesCommandOutput extends GetIdentityPoolRolesR
32
32
  * };
33
33
  * const command = new GetIdentityPoolRolesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetIdentityPoolRolesResponse
36
+ * // IdentityPoolId: "STRING_VALUE",
37
+ * // Roles: { // RolesMap
38
+ * // "<keys>": "STRING_VALUE",
39
+ * // },
40
+ * // RoleMappings: { // RoleMappingMap
41
+ * // "<keys>": { // RoleMapping
42
+ * // Type: "STRING_VALUE", // required
43
+ * // AmbiguousRoleResolution: "STRING_VALUE",
44
+ * // RulesConfiguration: { // RulesConfigurationType
45
+ * // Rules: [ // MappingRulesList // required
46
+ * // { // MappingRule
47
+ * // Claim: "STRING_VALUE", // required
48
+ * // MatchType: "STRING_VALUE", // required
49
+ * // Value: "STRING_VALUE", // required
50
+ * // RoleARN: "STRING_VALUE", // required
51
+ * // },
52
+ * // ],
53
+ * // },
54
+ * // },
55
+ * // },
56
+ * // };
57
+ *
35
58
  * ```
36
59
  *
37
60
  * @param GetIdentityPoolRolesCommandInput - {@link GetIdentityPoolRolesCommandInput}
@@ -60,6 +83,8 @@ export interface GetIdentityPoolRolesCommandOutput extends GetIdentityPoolRolesR
60
83
  * @throws {@link TooManyRequestsException} (client fault)
61
84
  * <p>Thrown when a request is throttled.</p>
62
85
  *
86
+ * @throws {@link CognitoIdentityServiceException}
87
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
63
88
  *
64
89
  */
65
90
  export declare class GetIdentityPoolRolesCommand extends $Command<GetIdentityPoolRolesCommandInput, GetIdentityPoolRolesCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -38,6 +38,11 @@ export interface GetOpenIdTokenCommandOutput extends GetOpenIdTokenResponse, __M
38
38
  * };
39
39
  * const command = new GetOpenIdTokenCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // GetOpenIdTokenResponse
42
+ * // IdentityId: "STRING_VALUE",
43
+ * // Token: "STRING_VALUE",
44
+ * // };
45
+ *
41
46
  * ```
42
47
  *
43
48
  * @param GetOpenIdTokenCommandInput - {@link GetOpenIdTokenCommandInput}
@@ -70,6 +75,8 @@ export interface GetOpenIdTokenCommandOutput extends GetOpenIdTokenResponse, __M
70
75
  * @throws {@link TooManyRequestsException} (client fault)
71
76
  * <p>Thrown when a request is throttled.</p>
72
77
  *
78
+ * @throws {@link CognitoIdentityServiceException}
79
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
73
80
  *
74
81
  */
75
82
  export declare class GetOpenIdTokenCommand extends $Command<GetOpenIdTokenCommandInput, GetOpenIdTokenCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -51,6 +51,11 @@ export interface GetOpenIdTokenForDeveloperIdentityCommandOutput extends GetOpen
51
51
  * };
52
52
  * const command = new GetOpenIdTokenForDeveloperIdentityCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // { // GetOpenIdTokenForDeveloperIdentityResponse
55
+ * // IdentityId: "STRING_VALUE",
56
+ * // Token: "STRING_VALUE",
57
+ * // };
58
+ *
54
59
  * ```
55
60
  *
56
61
  * @param GetOpenIdTokenForDeveloperIdentityCommandInput - {@link GetOpenIdTokenForDeveloperIdentityCommandInput}
@@ -83,6 +88,8 @@ export interface GetOpenIdTokenForDeveloperIdentityCommandOutput extends GetOpen
83
88
  * @throws {@link TooManyRequestsException} (client fault)
84
89
  * <p>Thrown when a request is throttled.</p>
85
90
  *
91
+ * @throws {@link CognitoIdentityServiceException}
92
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
86
93
  *
87
94
  */
88
95
  export declare class GetOpenIdTokenForDeveloperIdentityCommand extends $Command<GetOpenIdTokenForDeveloperIdentityCommandInput, GetOpenIdTokenForDeveloperIdentityCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -32,6 +32,15 @@ export interface GetPrincipalTagAttributeMapCommandOutput extends GetPrincipalTa
32
32
  * };
33
33
  * const command = new GetPrincipalTagAttributeMapCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetPrincipalTagAttributeMapResponse
36
+ * // IdentityPoolId: "STRING_VALUE",
37
+ * // IdentityProviderName: "STRING_VALUE",
38
+ * // UseDefaults: true || false,
39
+ * // PrincipalTags: { // PrincipalTags
40
+ * // "<keys>": "STRING_VALUE",
41
+ * // },
42
+ * // };
43
+ *
35
44
  * ```
36
45
  *
37
46
  * @param GetPrincipalTagAttributeMapCommandInput - {@link GetPrincipalTagAttributeMapCommandInput}
@@ -56,6 +65,8 @@ export interface GetPrincipalTagAttributeMapCommandOutput extends GetPrincipalTa
56
65
  * @throws {@link TooManyRequestsException} (client fault)
57
66
  * <p>Thrown when a request is throttled.</p>
58
67
  *
68
+ * @throws {@link CognitoIdentityServiceException}
69
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
59
70
  *
60
71
  */
61
72
  export declare class GetPrincipalTagAttributeMapCommand extends $Command<GetPrincipalTagAttributeMapCommandInput, GetPrincipalTagAttributeMapCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -35,6 +35,21 @@ export interface ListIdentitiesCommandOutput extends ListIdentitiesResponse, __M
35
35
  * };
36
36
  * const command = new ListIdentitiesCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListIdentitiesResponse
39
+ * // IdentityPoolId: "STRING_VALUE",
40
+ * // Identities: [ // IdentitiesList
41
+ * // { // IdentityDescription
42
+ * // IdentityId: "STRING_VALUE",
43
+ * // Logins: [ // LoginsList
44
+ * // "STRING_VALUE",
45
+ * // ],
46
+ * // CreationDate: new Date("TIMESTAMP"),
47
+ * // LastModifiedDate: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // ],
50
+ * // NextToken: "STRING_VALUE",
51
+ * // };
52
+ *
38
53
  * ```
39
54
  *
40
55
  * @param ListIdentitiesCommandInput - {@link ListIdentitiesCommandInput}
@@ -59,6 +74,8 @@ export interface ListIdentitiesCommandOutput extends ListIdentitiesResponse, __M
59
74
  * @throws {@link TooManyRequestsException} (client fault)
60
75
  * <p>Thrown when a request is throttled.</p>
61
76
  *
77
+ * @throws {@link CognitoIdentityServiceException}
78
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
62
79
  *
63
80
  */
64
81
  export declare class ListIdentitiesCommand extends $Command<ListIdentitiesCommandInput, ListIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -33,6 +33,16 @@ export interface ListIdentityPoolsCommandOutput extends ListIdentityPoolsRespons
33
33
  * };
34
34
  * const command = new ListIdentityPoolsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListIdentityPoolsResponse
37
+ * // IdentityPools: [ // IdentityPoolsList
38
+ * // { // IdentityPoolShortDescription
39
+ * // IdentityPoolId: "STRING_VALUE",
40
+ * // IdentityPoolName: "STRING_VALUE",
41
+ * // },
42
+ * // ],
43
+ * // NextToken: "STRING_VALUE",
44
+ * // };
45
+ *
36
46
  * ```
37
47
  *
38
48
  * @param ListIdentityPoolsCommandInput - {@link ListIdentityPoolsCommandInput}
@@ -57,6 +67,8 @@ export interface ListIdentityPoolsCommandOutput extends ListIdentityPoolsRespons
57
67
  * @throws {@link TooManyRequestsException} (client fault)
58
68
  * <p>Thrown when a request is throttled.</p>
59
69
  *
70
+ * @throws {@link CognitoIdentityServiceException}
71
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
60
72
  *
61
73
  */
62
74
  export declare class ListIdentityPoolsCommand extends $Command<ListIdentityPoolsCommandInput, ListIdentityPoolsCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -34,6 +34,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
34
34
  * };
35
35
  * const command = new ListTagsForResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListTagsForResourceResponse
38
+ * // Tags: { // IdentityPoolTagsType
39
+ * // "<keys>": "STRING_VALUE",
40
+ * // },
41
+ * // };
42
+ *
37
43
  * ```
38
44
  *
39
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -58,6 +64,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
58
64
  * @throws {@link TooManyRequestsException} (client fault)
59
65
  * <p>Thrown when a request is throttled.</p>
60
66
  *
67
+ * @throws {@link CognitoIdentityServiceException}
68
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
61
69
  *
62
70
  */
63
71
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -51,6 +51,14 @@ export interface LookupDeveloperIdentityCommandOutput extends LookupDeveloperIde
51
51
  * };
52
52
  * const command = new LookupDeveloperIdentityCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // { // LookupDeveloperIdentityResponse
55
+ * // IdentityId: "STRING_VALUE",
56
+ * // DeveloperUserIdentifierList: [ // DeveloperUserIdentifierList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // NextToken: "STRING_VALUE",
60
+ * // };
61
+ *
54
62
  * ```
55
63
  *
56
64
  * @param LookupDeveloperIdentityCommandInput - {@link LookupDeveloperIdentityCommandInput}
@@ -79,6 +87,8 @@ export interface LookupDeveloperIdentityCommandOutput extends LookupDeveloperIde
79
87
  * @throws {@link TooManyRequestsException} (client fault)
80
88
  * <p>Thrown when a request is throttled.</p>
81
89
  *
90
+ * @throws {@link CognitoIdentityServiceException}
91
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
82
92
  *
83
93
  */
84
94
  export declare class LookupDeveloperIdentityCommand extends $Command<LookupDeveloperIdentityCommandInput, LookupDeveloperIdentityCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -46,6 +46,10 @@ export interface MergeDeveloperIdentitiesCommandOutput extends MergeDeveloperIde
46
46
  * };
47
47
  * const command = new MergeDeveloperIdentitiesCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // MergeDeveloperIdentitiesResponse
50
+ * // IdentityId: "STRING_VALUE",
51
+ * // };
52
+ *
49
53
  * ```
50
54
  *
51
55
  * @param MergeDeveloperIdentitiesCommandInput - {@link MergeDeveloperIdentitiesCommandInput}
@@ -74,6 +78,8 @@ export interface MergeDeveloperIdentitiesCommandOutput extends MergeDeveloperIde
74
78
  * @throws {@link TooManyRequestsException} (client fault)
75
79
  * <p>Thrown when a request is throttled.</p>
76
80
  *
81
+ * @throws {@link CognitoIdentityServiceException}
82
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
77
83
  *
78
84
  */
79
85
  export declare class MergeDeveloperIdentitiesCommand extends $Command<MergeDeveloperIdentitiesCommandInput, MergeDeveloperIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -51,6 +51,8 @@ export interface SetIdentityPoolRolesCommandOutput extends __MetadataBearer {
51
51
  * };
52
52
  * const command = new SetIdentityPoolRolesCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // {};
55
+ *
54
56
  * ```
55
57
  *
56
58
  * @param SetIdentityPoolRolesCommandInput - {@link SetIdentityPoolRolesCommandInput}
@@ -82,6 +84,8 @@ export interface SetIdentityPoolRolesCommandOutput extends __MetadataBearer {
82
84
  * @throws {@link TooManyRequestsException} (client fault)
83
85
  * <p>Thrown when a request is throttled.</p>
84
86
  *
87
+ * @throws {@link CognitoIdentityServiceException}
88
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
85
89
  *
86
90
  */
87
91
  export declare class SetIdentityPoolRolesCommand extends $Command<SetIdentityPoolRolesCommandInput, SetIdentityPoolRolesCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -36,6 +36,15 @@ export interface SetPrincipalTagAttributeMapCommandOutput extends SetPrincipalTa
36
36
  * };
37
37
  * const command = new SetPrincipalTagAttributeMapCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // SetPrincipalTagAttributeMapResponse
40
+ * // IdentityPoolId: "STRING_VALUE",
41
+ * // IdentityProviderName: "STRING_VALUE",
42
+ * // UseDefaults: true || false,
43
+ * // PrincipalTags: { // PrincipalTags
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
39
48
  * ```
40
49
  *
41
50
  * @param SetPrincipalTagAttributeMapCommandInput - {@link SetPrincipalTagAttributeMapCommandInput}
@@ -60,6 +69,8 @@ export interface SetPrincipalTagAttributeMapCommandOutput extends SetPrincipalTa
60
69
  * @throws {@link TooManyRequestsException} (client fault)
61
70
  * <p>Thrown when a request is throttled.</p>
62
71
  *
72
+ * @throws {@link CognitoIdentityServiceException}
73
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
63
74
  *
64
75
  */
65
76
  export declare class SetPrincipalTagAttributeMapCommand extends $Command<SetPrincipalTagAttributeMapCommandInput, SetPrincipalTagAttributeMapCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -48,6 +48,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
48
48
  * };
49
49
  * const command = new TagResourceCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // {};
52
+ *
51
53
  * ```
52
54
  *
53
55
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -72,6 +74,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
72
74
  * @throws {@link TooManyRequestsException} (client fault)
73
75
  * <p>Thrown when a request is throttled.</p>
74
76
  *
77
+ * @throws {@link CognitoIdentityServiceException}
78
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
75
79
  *
76
80
  */
77
81
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -38,6 +38,8 @@ export interface UnlinkDeveloperIdentityCommandOutput extends __MetadataBearer {
38
38
  * };
39
39
  * const command = new UnlinkDeveloperIdentityCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // {};
42
+ *
41
43
  * ```
42
44
  *
43
45
  * @param UnlinkDeveloperIdentityCommandInput - {@link UnlinkDeveloperIdentityCommandInput}
@@ -66,6 +68,8 @@ export interface UnlinkDeveloperIdentityCommandOutput extends __MetadataBearer {
66
68
  * @throws {@link TooManyRequestsException} (client fault)
67
69
  * <p>Thrown when a request is throttled.</p>
68
70
  *
71
+ * @throws {@link CognitoIdentityServiceException}
72
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
69
73
  *
70
74
  */
71
75
  export declare class UnlinkDeveloperIdentityCommand extends $Command<UnlinkDeveloperIdentityCommandInput, UnlinkDeveloperIdentityCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -40,6 +40,8 @@ export interface UnlinkIdentityCommandOutput extends __MetadataBearer {
40
40
  * };
41
41
  * const command = new UnlinkIdentityCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param UnlinkIdentityCommandInput - {@link UnlinkIdentityCommandInput}
@@ -72,6 +74,8 @@ export interface UnlinkIdentityCommandOutput extends __MetadataBearer {
72
74
  * @throws {@link TooManyRequestsException} (client fault)
73
75
  * <p>Thrown when a request is throttled.</p>
74
76
  *
77
+ * @throws {@link CognitoIdentityServiceException}
78
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
75
79
  *
76
80
  */
77
81
  export declare class UnlinkIdentityCommand extends $Command<UnlinkIdentityCommandInput, UnlinkIdentityCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
35
35
  * };
36
36
  * const command = new UntagResourceCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -59,6 +61,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
59
61
  * @throws {@link TooManyRequestsException} (client fault)
60
62
  * <p>Thrown when a request is throttled.</p>
61
63
  *
64
+ * @throws {@link CognitoIdentityServiceException}
65
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
62
66
  *
63
67
  */
64
68
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CognitoIdentityClientResolvedConfig> {
@@ -55,6 +55,33 @@ export interface UpdateIdentityPoolCommandOutput extends IdentityPool, __Metadat
55
55
  * };
56
56
  * const command = new UpdateIdentityPoolCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // IdentityPool
59
+ * // IdentityPoolId: "STRING_VALUE", // required
60
+ * // IdentityPoolName: "STRING_VALUE", // required
61
+ * // AllowUnauthenticatedIdentities: true || false, // required
62
+ * // AllowClassicFlow: true || false,
63
+ * // SupportedLoginProviders: { // IdentityProviders
64
+ * // "<keys>": "STRING_VALUE",
65
+ * // },
66
+ * // DeveloperProviderName: "STRING_VALUE",
67
+ * // OpenIdConnectProviderARNs: [ // OIDCProviderList
68
+ * // "STRING_VALUE",
69
+ * // ],
70
+ * // CognitoIdentityProviders: [ // CognitoIdentityProviderList
71
+ * // { // CognitoIdentityProvider
72
+ * // ProviderName: "STRING_VALUE",
73
+ * // ClientId: "STRING_VALUE",
74
+ * // ServerSideTokenCheck: true || false,
75
+ * // },
76
+ * // ],
77
+ * // SamlProviderARNs: [ // SAMLProviderList
78
+ * // "STRING_VALUE",
79
+ * // ],
80
+ * // IdentityPoolTags: { // IdentityPoolTagsType
81
+ * // "<keys>": "STRING_VALUE",
82
+ * // },
83
+ * // };
84
+ *
58
85
  * ```
59
86
  *
60
87
  * @param UpdateIdentityPoolCommandInput - {@link UpdateIdentityPoolCommandInput}
@@ -89,6 +116,8 @@ export interface UpdateIdentityPoolCommandOutput extends IdentityPool, __Metadat
89
116
  * @throws {@link TooManyRequestsException} (client fault)
90
117
  * <p>Thrown when a request is throttled.</p>
91
118
  *
119
+ * @throws {@link CognitoIdentityServiceException}
120
+ * <p>Base exception class for all service exceptions from CognitoIdentity service.</p>
92
121
  *
93
122
  */
94
123
  export declare class UpdateIdentityPoolCommand extends $Command<UpdateIdentityPoolCommandInput, UpdateIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",
4
- "version": "3.325.0",
4
+ "version": "3.327.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -22,9 +22,9 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "3.0.0",
24
24
  "@aws-crypto/sha256-js": "3.0.0",
25
- "@aws-sdk/client-sts": "3.325.0",
25
+ "@aws-sdk/client-sts": "3.327.0",
26
26
  "@aws-sdk/config-resolver": "3.310.0",
27
- "@aws-sdk/credential-provider-node": "3.325.0",
27
+ "@aws-sdk/credential-provider-node": "3.327.0",
28
28
  "@aws-sdk/fetch-http-handler": "3.310.0",
29
29
  "@aws-sdk/hash-node": "3.310.0",
30
30
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -33,11 +33,11 @@
33
33
  "@aws-sdk/middleware-host-header": "3.325.0",
34
34
  "@aws-sdk/middleware-logger": "3.325.0",
35
35
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
36
- "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-retry": "3.327.0",
37
37
  "@aws-sdk/middleware-serde": "3.325.0",
38
38
  "@aws-sdk/middleware-signing": "3.325.0",
39
39
  "@aws-sdk/middleware-stack": "3.325.0",
40
- "@aws-sdk/middleware-user-agent": "3.325.0",
40
+ "@aws-sdk/middleware-user-agent": "3.327.0",
41
41
  "@aws-sdk/node-config-provider": "3.310.0",
42
42
  "@aws-sdk/node-http-handler": "3.321.1",
43
43
  "@aws-sdk/protocol-http": "3.310.0",
@@ -49,15 +49,15 @@
49
49
  "@aws-sdk/util-body-length-node": "3.310.0",
50
50
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
51
51
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
52
- "@aws-sdk/util-endpoints": "3.319.0",
53
- "@aws-sdk/util-retry": "3.310.0",
52
+ "@aws-sdk/util-endpoints": "3.327.0",
53
+ "@aws-sdk/util-retry": "3.327.0",
54
54
  "@aws-sdk/util-user-agent-browser": "3.310.0",
55
55
  "@aws-sdk/util-user-agent-node": "3.310.0",
56
56
  "@aws-sdk/util-utf8": "3.310.0",
57
57
  "tslib": "^2.5.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/client-iam": "3.325.0",
60
+ "@aws-sdk/client-iam": "3.327.0",
61
61
  "@aws-sdk/service-client-documentation-generator": "3.310.0",
62
62
  "@tsconfig/node14": "1.0.3",
63
63
  "@types/chai": "^4.2.11",