@aws-sdk/client-cognito-identity-provider 3.998.0 → 3.1000.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.
- package/README.md +21 -0
- package/dist-cjs/index.js +42 -0
- package/dist-cjs/models/errors.js +41 -15
- package/dist-cjs/schemas/schemas_0.js +96 -18
- package/dist-es/CognitoIdentityProvider.js +6 -0
- package/dist-es/commands/AddUserPoolClientSecretCommand.js +16 -0
- package/dist-es/commands/DeleteUserPoolClientSecretCommand.js +16 -0
- package/dist-es/commands/ListUserPoolClientSecretsCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/errors.js +36 -12
- package/dist-es/schemas/schemas_0.js +87 -9
- package/dist-types/CognitoIdentityProvider.d.ts +21 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +5 -2
- package/dist-types/commands/AddUserPoolClientSecretCommand.d.ts +102 -0
- package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +3 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserPoolClientSecretCommand.d.ts +93 -0
- package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +3 -0
- package/dist-types/commands/ListUserPoolClientSecretsCommand.d.ts +102 -0
- package/dist-types/commands/ListUsersCommand.d.ts +3 -0
- package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +3 -0
- package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTermsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/errors.d.ts +37 -13
- package/dist-types/models/models_0.d.ts +313 -533
- package/dist-types/models/models_1.d.ts +313 -2
- package/dist-types/schemas/schemas_0.d.ts +12 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +51 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AddUserPoolClientSecretCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolClientSecretCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListUserPoolClientSecretsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateTermsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/errors.d.ts +21 -7
- package/dist-types/ts3.4/models/models_0.d.ts +29 -46
- package/dist-types/ts3.4/models/models_1.d.ts +66 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/package.json +12 -12
|
@@ -67,6 +67,7 @@ declare const CreateUserPoolClientCommand_base: {
|
|
|
67
67
|
* UserPoolId: "STRING_VALUE", // required
|
|
68
68
|
* ClientName: "STRING_VALUE", // required
|
|
69
69
|
* GenerateSecret: true || false,
|
|
70
|
+
* ClientSecret: "STRING_VALUE",
|
|
70
71
|
* RefreshTokenValidity: Number("int"),
|
|
71
72
|
* AccessTokenValidity: Number("int"),
|
|
72
73
|
* IdTokenValidity: Number("int"),
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
+
import type { DeleteUserPoolClientSecretRequest, DeleteUserPoolClientSecretResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteUserPoolClientSecretCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteUserPoolClientSecretCommandInput extends DeleteUserPoolClientSecretRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteUserPoolClientSecretCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteUserPoolClientSecretCommandOutput extends DeleteUserPoolClientSecretResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteUserPoolClientSecretCommand_base: {
|
|
25
|
+
new (input: DeleteUserPoolClientSecretCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteUserPoolClientSecretCommandInput, DeleteUserPoolClientSecretCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteUserPoolClientSecretCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteUserPoolClientSecretCommandInput, DeleteUserPoolClientSecretCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a specific client secret from a user pool app client. You cannot delete the last remaining secret for an app client.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CognitoIdentityProviderClient, DeleteUserPoolClientSecretCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
35
|
+
* // const { CognitoIdentityProviderClient, DeleteUserPoolClientSecretCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
36
|
+
* // import type { CognitoIdentityProviderClientConfig } from "@aws-sdk/client-cognito-identity-provider";
|
|
37
|
+
* const config = {}; // type is CognitoIdentityProviderClientConfig
|
|
38
|
+
* const client = new CognitoIdentityProviderClient(config);
|
|
39
|
+
* const input = { // DeleteUserPoolClientSecretRequest
|
|
40
|
+
* UserPoolId: "STRING_VALUE", // required
|
|
41
|
+
* ClientId: "STRING_VALUE", // required
|
|
42
|
+
* ClientSecretId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteUserPoolClientSecretCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeleteUserPoolClientSecretCommandInput - {@link DeleteUserPoolClientSecretCommandInput}
|
|
51
|
+
* @returns {@link DeleteUserPoolClientSecretCommandOutput}
|
|
52
|
+
* @see {@link DeleteUserPoolClientSecretCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeleteUserPoolClientSecretCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServerException} (server fault)
|
|
57
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal server error.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
60
|
+
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
61
|
+
* parameter.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
64
|
+
* <p>This exception is thrown when a user exceeds the limit for a requested Amazon Web Services
|
|
65
|
+
* resource.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
|
|
69
|
+
* resource.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
72
|
+
* <p>This exception is thrown when the user has made too many requests for a given
|
|
73
|
+
* operation.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link CognitoIdentityProviderServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeleteUserPoolClientSecretCommand extends DeleteUserPoolClientSecretCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: DeleteUserPoolClientSecretRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: DeleteUserPoolClientSecretCommandInput;
|
|
90
|
+
output: DeleteUserPoolClientSecretCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -78,6 +78,9 @@ declare const DeleteWebAuthnCredentialCommand_base: {
|
|
|
78
78
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
79
79
|
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
80
80
|
*
|
|
81
|
+
* @throws {@link PasswordResetRequiredException} (client fault)
|
|
82
|
+
* <p>This exception is thrown when a password reset is required.</p>
|
|
83
|
+
*
|
|
81
84
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
85
|
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
|
|
83
86
|
* resource.</p>
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
+
import type { ListUserPoolClientSecretsRequest, ListUserPoolClientSecretsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListUserPoolClientSecretsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListUserPoolClientSecretsCommandInput extends ListUserPoolClientSecretsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListUserPoolClientSecretsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListUserPoolClientSecretsCommandOutput extends ListUserPoolClientSecretsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListUserPoolClientSecretsCommand_base: {
|
|
25
|
+
new (input: ListUserPoolClientSecretsCommandInput): import("@smithy/smithy-client").CommandImpl<ListUserPoolClientSecretsCommandInput, ListUserPoolClientSecretsCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListUserPoolClientSecretsCommandInput): import("@smithy/smithy-client").CommandImpl<ListUserPoolClientSecretsCommandInput, ListUserPoolClientSecretsCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all client secrets associated with a user pool app client. Returns metadata about the secrets. The response does not include pagination tokens as there are only 2 secrets at any given time and we return both with every ListUserPoolClientSecrets call. For security reasons, the response never reveals the actual secret value in ClientSecretValue.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CognitoIdentityProviderClient, ListUserPoolClientSecretsCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
35
|
+
* // const { CognitoIdentityProviderClient, ListUserPoolClientSecretsCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
36
|
+
* // import type { CognitoIdentityProviderClientConfig } from "@aws-sdk/client-cognito-identity-provider";
|
|
37
|
+
* const config = {}; // type is CognitoIdentityProviderClientConfig
|
|
38
|
+
* const client = new CognitoIdentityProviderClient(config);
|
|
39
|
+
* const input = { // ListUserPoolClientSecretsRequest
|
|
40
|
+
* UserPoolId: "STRING_VALUE", // required
|
|
41
|
+
* ClientId: "STRING_VALUE", // required
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListUserPoolClientSecretsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListUserPoolClientSecretsResponse
|
|
47
|
+
* // ClientSecrets: [ // ClientSecretDescriptorListType
|
|
48
|
+
* // { // ClientSecretDescriptorType
|
|
49
|
+
* // ClientSecretId: "STRING_VALUE",
|
|
50
|
+
* // ClientSecretValue: "STRING_VALUE",
|
|
51
|
+
* // ClientSecretCreateDate: new Date("TIMESTAMP"),
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // NextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListUserPoolClientSecretsCommandInput - {@link ListUserPoolClientSecretsCommandInput}
|
|
60
|
+
* @returns {@link ListUserPoolClientSecretsCommandOutput}
|
|
61
|
+
* @see {@link ListUserPoolClientSecretsCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListUserPoolClientSecretsCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal server error.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
69
|
+
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
70
|
+
* parameter.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
73
|
+
* <p>This exception is thrown when a user exceeds the limit for a requested Amazon Web Services
|
|
74
|
+
* resource.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
|
|
78
|
+
* resource.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
81
|
+
* <p>This exception is thrown when the user has made too many requests for a given
|
|
82
|
+
* operation.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link CognitoIdentityProviderServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ListUserPoolClientSecretsCommand extends ListUserPoolClientSecretsCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: ListUserPoolClientSecretsRequest;
|
|
95
|
+
output: ListUserPoolClientSecretsResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: ListUserPoolClientSecretsCommandInput;
|
|
99
|
+
output: ListUserPoolClientSecretsCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -29,6 +29,9 @@ declare const ListUsersCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Given a user pool ID, returns a list of users and their basic details in a user
|
|
31
31
|
* pool.</p>
|
|
32
|
+
* <p>This operation is eventually consistent. You might experience a delay before results
|
|
33
|
+
* are up-to-date. To validate the existence or configuration of an individual user, use
|
|
34
|
+
* <code>AdminGetUser</code>.</p>
|
|
32
35
|
* <note>
|
|
33
36
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
34
37
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -93,6 +93,9 @@ declare const ListWebAuthnCredentialsCommand_base: {
|
|
|
93
93
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
94
94
|
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
95
95
|
*
|
|
96
|
+
* @throws {@link PasswordResetRequiredException} (client fault)
|
|
97
|
+
* <p>This exception is thrown when a password reset is required.</p>
|
|
98
|
+
*
|
|
96
99
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
97
100
|
* <p>This exception is thrown when the user has made too many requests for a given
|
|
98
101
|
* operation.</p>
|
|
@@ -75,6 +75,9 @@ declare const StartWebAuthnRegistrationCommand_base: {
|
|
|
75
75
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
76
76
|
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
77
77
|
*
|
|
78
|
+
* @throws {@link PasswordResetRequiredException} (client fault)
|
|
79
|
+
* <p>This exception is thrown when a password reset is required.</p>
|
|
80
|
+
*
|
|
78
81
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
79
82
|
* <p>This exception is thrown when the user has made too many requests for a given
|
|
80
83
|
* operation.</p>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
-
import type { UpdateResourceServerRequest
|
|
4
|
+
import type { UpdateResourceServerRequest } from "../models/models_0";
|
|
5
|
+
import type { UpdateResourceServerResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
-
import type { UpdateTermsRequest, UpdateTermsResponse } from "../models/
|
|
4
|
+
import type { UpdateTermsRequest, UpdateTermsResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
-
import type { UpdateUserAttributesRequest, UpdateUserAttributesResponse } from "../models/
|
|
4
|
+
import type { UpdateUserAttributesRequest, UpdateUserAttributesResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
-
import type { UpdateUserPoolRequest, UpdateUserPoolResponse } from "../models/
|
|
4
|
+
import type { UpdateUserPoolRequest, UpdateUserPoolResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -31,7 +31,7 @@ declare const UpdateUserPoolCommand_base: {
|
|
|
31
31
|
* defaults, construct this API request to pass the existing configuration of your user
|
|
32
32
|
* pool, modified to include the changes that you want to make.</p>
|
|
33
33
|
* <important>
|
|
34
|
-
* <p>
|
|
34
|
+
* <p>With the exception of <code>UserPoolTier</code>, if you don't provide a value for an attribute, Amazon Cognito sets it to its default value.</p>
|
|
35
35
|
* </important>
|
|
36
36
|
* <note>
|
|
37
37
|
* <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AddCustomAttributesCommand";
|
|
2
|
+
export * from "./AddUserPoolClientSecretCommand";
|
|
2
3
|
export * from "./AdminAddUserToGroupCommand";
|
|
3
4
|
export * from "./AdminConfirmSignUpCommand";
|
|
4
5
|
export * from "./AdminCreateUserCommand";
|
|
@@ -48,6 +49,7 @@ export * from "./DeleteTermsCommand";
|
|
|
48
49
|
export * from "./DeleteUserAttributesCommand";
|
|
49
50
|
export * from "./DeleteUserCommand";
|
|
50
51
|
export * from "./DeleteUserPoolClientCommand";
|
|
52
|
+
export * from "./DeleteUserPoolClientSecretCommand";
|
|
51
53
|
export * from "./DeleteUserPoolCommand";
|
|
52
54
|
export * from "./DeleteUserPoolDomainCommand";
|
|
53
55
|
export * from "./DeleteWebAuthnCredentialCommand";
|
|
@@ -84,6 +86,7 @@ export * from "./ListResourceServersCommand";
|
|
|
84
86
|
export * from "./ListTagsForResourceCommand";
|
|
85
87
|
export * from "./ListTermsCommand";
|
|
86
88
|
export * from "./ListUserImportJobsCommand";
|
|
89
|
+
export * from "./ListUserPoolClientSecretsCommand";
|
|
87
90
|
export * from "./ListUserPoolClientsCommand";
|
|
88
91
|
export * from "./ListUserPoolsCommand";
|
|
89
92
|
export * from "./ListUsersCommand";
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>This exception is thrown when you don't have sufficient permissions to perform the requested operation.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
3
15
|
/**
|
|
4
16
|
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
5
17
|
* @public
|
|
@@ -82,41 +94,53 @@ export declare class UserImportInProgressException extends __BaseException {
|
|
|
82
94
|
constructor(opts: __ExceptionOptionType<UserImportInProgressException, __BaseException>);
|
|
83
95
|
}
|
|
84
96
|
/**
|
|
85
|
-
* <p>This exception is thrown when
|
|
97
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal server error.</p>
|
|
86
98
|
* @public
|
|
87
99
|
*/
|
|
88
|
-
export declare class
|
|
89
|
-
readonly name: "
|
|
100
|
+
export declare class InternalServerException extends __BaseException {
|
|
101
|
+
readonly name: "InternalServerException";
|
|
102
|
+
readonly $fault: "server";
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* <p>This exception is thrown when a user exceeds the limit for a requested Amazon Web Services
|
|
110
|
+
* resource.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class LimitExceededException extends __BaseException {
|
|
114
|
+
readonly name: "LimitExceededException";
|
|
90
115
|
readonly $fault: "client";
|
|
91
116
|
/**
|
|
92
117
|
* @internal
|
|
93
118
|
*/
|
|
94
|
-
constructor(opts: __ExceptionOptionType<
|
|
119
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
95
120
|
}
|
|
96
121
|
/**
|
|
97
|
-
* <p>This exception is thrown when
|
|
122
|
+
* <p>This exception is thrown when a user isn't found.</p>
|
|
98
123
|
* @public
|
|
99
124
|
*/
|
|
100
|
-
export declare class
|
|
101
|
-
readonly name: "
|
|
125
|
+
export declare class UserNotFoundException extends __BaseException {
|
|
126
|
+
readonly name: "UserNotFoundException";
|
|
102
127
|
readonly $fault: "client";
|
|
103
128
|
/**
|
|
104
129
|
* @internal
|
|
105
130
|
*/
|
|
106
|
-
constructor(opts: __ExceptionOptionType<
|
|
131
|
+
constructor(opts: __ExceptionOptionType<UserNotFoundException, __BaseException>);
|
|
107
132
|
}
|
|
108
133
|
/**
|
|
109
|
-
* <p>This exception is thrown when
|
|
110
|
-
* resource.</p>
|
|
134
|
+
* <p>This exception is thrown when Amazon Cognito encounters an invalid Lambda response.</p>
|
|
111
135
|
* @public
|
|
112
136
|
*/
|
|
113
|
-
export declare class
|
|
114
|
-
readonly name: "
|
|
137
|
+
export declare class InvalidLambdaResponseException extends __BaseException {
|
|
138
|
+
readonly name: "InvalidLambdaResponseException";
|
|
115
139
|
readonly $fault: "client";
|
|
116
140
|
/**
|
|
117
141
|
* @internal
|
|
118
142
|
*/
|
|
119
|
-
constructor(opts: __ExceptionOptionType<
|
|
143
|
+
constructor(opts: __ExceptionOptionType<InvalidLambdaResponseException, __BaseException>);
|
|
120
144
|
}
|
|
121
145
|
/**
|
|
122
146
|
* <p>This exception is thrown when the user has made too many failed attempts for a given
|