@aws-sdk/client-cognito-identity-provider 3.295.0 → 3.297.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/dist-types/CognitoIdentityProvider.d.ts +102 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +24 -4
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +16 -0
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +16 -0
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +16 -0
- package/dist-types/commands/AdminCreateUserCommand.d.ts +16 -0
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +16 -0
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +16 -0
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +16 -0
- package/dist-types/commands/AdminDisableUserCommand.d.ts +16 -0
- package/dist-types/commands/AdminEnableUserCommand.d.ts +16 -0
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +16 -0
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +16 -0
- package/dist-types/commands/AdminGetUserCommand.d.ts +16 -0
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +16 -0
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +16 -0
- package/dist-types/commands/AdminListDevicesCommand.d.ts +16 -0
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +16 -0
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +16 -0
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +16 -0
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +16 -0
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +16 -0
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +16 -0
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +16 -0
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +16 -0
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +16 -0
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +16 -0
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +16 -0
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +16 -0
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +16 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +16 -0
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +16 -0
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +16 -0
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +16 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +16 -0
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +16 -0
- package/dist-types/commands/CreateResourceServerCommand.d.ts +16 -0
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +16 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +16 -0
- package/dist-types/commands/CreateUserPoolCommand.d.ts +16 -0
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +16 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +16 -0
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourceServerCommand.d.ts +16 -0
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +16 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +16 -0
- package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +16 -0
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +16 -0
- package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +16 -0
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +16 -0
- package/dist-types/commands/DescribeResourceServerCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +16 -0
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +16 -0
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +16 -0
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +16 -0
- package/dist-types/commands/ForgetDeviceCommand.d.ts +16 -0
- package/dist-types/commands/ForgotPasswordCommand.d.ts +16 -0
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +16 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +16 -0
- package/dist-types/commands/GetGroupCommand.d.ts +16 -0
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +16 -0
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +16 -0
- package/dist-types/commands/GetUICustomizationCommand.d.ts +16 -0
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +16 -0
- package/dist-types/commands/GetUserCommand.d.ts +16 -0
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +16 -0
- package/dist-types/commands/GlobalSignOutCommand.d.ts +16 -0
- package/dist-types/commands/InitiateAuthCommand.d.ts +16 -0
- package/dist-types/commands/ListDevicesCommand.d.ts +16 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +16 -0
- package/dist-types/commands/ListResourceServersCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +16 -0
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +16 -0
- package/dist-types/commands/ListUserPoolsCommand.d.ts +16 -0
- package/dist-types/commands/ListUsersCommand.d.ts +16 -0
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +16 -0
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +16 -0
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +16 -0
- package/dist-types/commands/RevokeTokenCommand.d.ts +16 -0
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/SetUICustomizationCommand.d.ts +16 -0
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +16 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +16 -0
- package/dist-types/commands/SetUserSettingsCommand.d.ts +16 -0
- package/dist-types/commands/SignUpCommand.d.ts +16 -0
- package/dist-types/commands/StartUserImportJobCommand.d.ts +16 -0
- package/dist-types/commands/StopUserImportJobCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +16 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +16 -0
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +16 -0
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +16 -0
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +16 -0
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +16 -0
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +16 -0
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +16 -0
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +16 -0
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +16 -0
- package/dist-types/models/CognitoIdentityProviderServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +507 -1
- package/dist-types/models/models_1.d.ts +64 -0
- package/dist-types/pagination/AdminListGroupsForUserPaginator.d.ts +3 -0
- package/dist-types/pagination/AdminListUserAuthEventsPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListGroupsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListIdentityProvidersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListResourceServersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListUserPoolClientsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListUserPoolsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListUsersInGroupPaginator.d.ts +3 -0
- package/dist-types/pagination/ListUsersPaginator.d.ts +3 -0
- package/package.json +29 -29
|
@@ -109,15 +109,24 @@ import { UpdateUserPoolDomainCommandInput, UpdateUserPoolDomainCommandOutput } f
|
|
|
109
109
|
import { VerifySoftwareTokenCommandInput, VerifySoftwareTokenCommandOutput } from "./commands/VerifySoftwareTokenCommand";
|
|
110
110
|
import { VerifyUserAttributeCommandInput, VerifyUserAttributeCommandOutput } from "./commands/VerifyUserAttributeCommand";
|
|
111
111
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
112
115
|
export type ServiceInputTypes = AddCustomAttributesCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserCommandInput | AdminInitiateAuthCommandInput | AdminLinkProviderForUserCommandInput | AdminListDevicesCommandInput | AdminListGroupsForUserCommandInput | AdminListUserAuthEventsCommandInput | AdminRemoveUserFromGroupCommandInput | AdminResetUserPasswordCommandInput | AdminRespondToAuthChallengeCommandInput | AdminSetUserMFAPreferenceCommandInput | AdminSetUserPasswordCommandInput | AdminSetUserSettingsCommandInput | AdminUpdateAuthEventFeedbackCommandInput | AdminUpdateDeviceStatusCommandInput | AdminUpdateUserAttributesCommandInput | AdminUserGlobalSignOutCommandInput | AssociateSoftwareTokenCommandInput | ChangePasswordCommandInput | ConfirmDeviceCommandInput | ConfirmForgotPasswordCommandInput | ConfirmSignUpCommandInput | CreateGroupCommandInput | CreateIdentityProviderCommandInput | CreateResourceServerCommandInput | CreateUserImportJobCommandInput | CreateUserPoolClientCommandInput | CreateUserPoolCommandInput | CreateUserPoolDomainCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteResourceServerCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DescribeIdentityProviderCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetSigningCertificateCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateResourceServerCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
113
119
|
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserCommandOutput | AdminInitiateAuthCommandOutput | AdminLinkProviderForUserCommandOutput | AdminListDevicesCommandOutput | AdminListGroupsForUserCommandOutput | AdminListUserAuthEventsCommandOutput | AdminRemoveUserFromGroupCommandOutput | AdminResetUserPasswordCommandOutput | AdminRespondToAuthChallengeCommandOutput | AdminSetUserMFAPreferenceCommandOutput | AdminSetUserPasswordCommandOutput | AdminSetUserSettingsCommandOutput | AdminUpdateAuthEventFeedbackCommandOutput | AdminUpdateDeviceStatusCommandOutput | AdminUpdateUserAttributesCommandOutput | AdminUserGlobalSignOutCommandOutput | AssociateSoftwareTokenCommandOutput | ChangePasswordCommandOutput | ConfirmDeviceCommandOutput | ConfirmForgotPasswordCommandOutput | ConfirmSignUpCommandOutput | CreateGroupCommandOutput | CreateIdentityProviderCommandOutput | CreateResourceServerCommandOutput | CreateUserImportJobCommandOutput | CreateUserPoolClientCommandOutput | CreateUserPoolCommandOutput | CreateUserPoolDomainCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteResourceServerCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DescribeIdentityProviderCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetSigningCertificateCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateResourceServerCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
114
123
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
115
124
|
/**
|
|
116
125
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
117
126
|
*/
|
|
118
127
|
requestHandler?: __HttpHandler;
|
|
119
128
|
/**
|
|
120
|
-
* A constructor for a class implementing the {@link
|
|
129
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
121
130
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
122
131
|
* @internal
|
|
123
132
|
*/
|
|
@@ -207,23 +216,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
207
216
|
*/
|
|
208
217
|
logger?: __Logger;
|
|
209
218
|
/**
|
|
210
|
-
* The {@link
|
|
219
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
211
220
|
*/
|
|
212
221
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
213
222
|
}
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
214
226
|
type CognitoIdentityProviderClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
215
227
|
/**
|
|
216
|
-
*
|
|
228
|
+
* @public
|
|
229
|
+
*
|
|
230
|
+
* The configuration interface of CognitoIdentityProviderClient class constructor that set the region, credentials and other options.
|
|
217
231
|
*/
|
|
218
232
|
export interface CognitoIdentityProviderClientConfig extends CognitoIdentityProviderClientConfigType {
|
|
219
233
|
}
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
220
237
|
type CognitoIdentityProviderClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
221
238
|
/**
|
|
222
|
-
*
|
|
239
|
+
* @public
|
|
240
|
+
*
|
|
241
|
+
* The resolved configuration interface of CognitoIdentityProviderClient class. This is resolved and normalized from the {@link CognitoIdentityProviderClientConfig | constructor configuration interface}.
|
|
223
242
|
*/
|
|
224
243
|
export interface CognitoIdentityProviderClientResolvedConfig extends CognitoIdentityProviderClientResolvedConfigType {
|
|
225
244
|
}
|
|
226
245
|
/**
|
|
246
|
+
* @public
|
|
227
247
|
* <p>Using the Amazon Cognito user pools API, you can create a user pool to manage directories and
|
|
228
248
|
* users. You can authenticate a user to obtain tokens related to user identity and access
|
|
229
249
|
* policies.</p>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AddCustomAttributesRequest, AddCustomAttributesResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AddCustomAttributesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AddCustomAttributesCommandInput extends AddCustomAttributesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AddCustomAttributesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AddCustomAttributesCommandOutput extends AddCustomAttributesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds additional user attributes to the user pool schema.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface AddCustomAttributesCommandOutput extends AddCustomAttributesRes
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param AddCustomAttributesCommandInput - {@link AddCustomAttributesCommandInput}
|
|
34
|
+
* @returns {@link AddCustomAttributesCommandOutput}
|
|
28
35
|
* @see {@link AddCustomAttributesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link AddCustomAttributesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface AddCustomAttributesCommandOutput extends AddCustomAttributesRes
|
|
|
56
63
|
export declare class AddCustomAttributesCommand extends $Command<AddCustomAttributesCommandInput, AddCustomAttributesCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
57
64
|
readonly input: AddCustomAttributesCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: AddCustomAttributesCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddCustomAttributesCommandInput, AddCustomAttributesCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AdminAddUserToGroupRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AdminAddUserToGroupCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AdminAddUserToGroupCommandInput extends AdminAddUserToGroupRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AdminAddUserToGroupCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AdminAddUserToGroupCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds the specified user to the specified group.</p>
|
|
18
23
|
* <p>Calling this action requires developer credentials.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface AdminAddUserToGroupCommandOutput extends __MetadataBearer {
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param AdminAddUserToGroupCommandInput - {@link AdminAddUserToGroupCommandInput}
|
|
35
|
+
* @returns {@link AdminAddUserToGroupCommandOutput}
|
|
29
36
|
* @see {@link AdminAddUserToGroupCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link AdminAddUserToGroupCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface AdminAddUserToGroupCommandOutput extends __MetadataBearer {
|
|
|
56
63
|
export declare class AdminAddUserToGroupCommand extends $Command<AdminAddUserToGroupCommandInput, AdminAddUserToGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
57
64
|
readonly input: AdminAddUserToGroupCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: AdminAddUserToGroupCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminAddUserToGroupCommandInput, AdminAddUserToGroupCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AdminConfirmSignUpRequest, AdminConfirmSignUpResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AdminConfirmSignUpCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AdminConfirmSignUpCommandInput extends AdminConfirmSignUpRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AdminConfirmSignUpCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AdminConfirmSignUpCommandOutput extends AdminConfirmSignUpResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Confirms user registration as an admin without using a confirmation code. Works on any
|
|
18
23
|
* user.</p>
|
|
19
24
|
* <p>Calling this action requires developer credentials.</p>
|
|
@@ -27,6 +32,8 @@ export interface AdminConfirmSignUpCommandOutput extends AdminConfirmSignUpRespo
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param AdminConfirmSignUpCommandInput - {@link AdminConfirmSignUpCommandInput}
|
|
36
|
+
* @returns {@link AdminConfirmSignUpCommandOutput}
|
|
30
37
|
* @see {@link AdminConfirmSignUpCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link AdminConfirmSignUpCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -76,11 +83,20 @@ export interface AdminConfirmSignUpCommandOutput extends AdminConfirmSignUpRespo
|
|
|
76
83
|
export declare class AdminConfirmSignUpCommand extends $Command<AdminConfirmSignUpCommandInput, AdminConfirmSignUpCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
77
84
|
readonly input: AdminConfirmSignUpCommandInput;
|
|
78
85
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
79
89
|
constructor(input: AdminConfirmSignUpCommandInput);
|
|
80
90
|
/**
|
|
81
91
|
* @internal
|
|
82
92
|
*/
|
|
83
93
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminConfirmSignUpCommandInput, AdminConfirmSignUpCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
84
97
|
private serialize;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
85
101
|
private deserialize;
|
|
86
102
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AdminCreateUserRequest, AdminCreateUserResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AdminCreateUserCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AdminCreateUserCommandInput extends AdminCreateUserRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AdminCreateUserCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a new user in the specified user pool.</p>
|
|
18
23
|
* <p>If <code>MessageAction</code> isn't set, the default is to send a welcome message via
|
|
19
24
|
* email or phone (SMS).</p>
|
|
@@ -55,6 +60,8 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _
|
|
|
55
60
|
* const response = await client.send(command);
|
|
56
61
|
* ```
|
|
57
62
|
*
|
|
63
|
+
* @param AdminCreateUserCommandInput - {@link AdminCreateUserCommandInput}
|
|
64
|
+
* @returns {@link AdminCreateUserCommandOutput}
|
|
58
65
|
* @see {@link AdminCreateUserCommandInput} for command's `input` shape.
|
|
59
66
|
* @see {@link AdminCreateUserCommandOutput} for command's `response` shape.
|
|
60
67
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -123,11 +130,20 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _
|
|
|
123
130
|
export declare class AdminCreateUserCommand extends $Command<AdminCreateUserCommandInput, AdminCreateUserCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
124
131
|
readonly input: AdminCreateUserCommandInput;
|
|
125
132
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
126
136
|
constructor(input: AdminCreateUserCommandInput);
|
|
127
137
|
/**
|
|
128
138
|
* @internal
|
|
129
139
|
*/
|
|
130
140
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminCreateUserCommandInput, AdminCreateUserCommandOutput>;
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
131
144
|
private serialize;
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
132
148
|
private deserialize;
|
|
133
149
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AdminDeleteUserAttributesRequest, AdminDeleteUserAttributesResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AdminDeleteUserAttributesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AdminDeleteUserAttributesCommandInput extends AdminDeleteUserAttributesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AdminDeleteUserAttributesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AdminDeleteUserAttributesCommandOutput extends AdminDeleteUserAttributesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the user attributes in a user pool as an administrator. Works on any
|
|
18
23
|
* user.</p>
|
|
19
24
|
* <p>Calling this action requires developer credentials.</p>
|
|
@@ -27,6 +32,8 @@ export interface AdminDeleteUserAttributesCommandOutput extends AdminDeleteUserA
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param AdminDeleteUserAttributesCommandInput - {@link AdminDeleteUserAttributesCommandInput}
|
|
36
|
+
* @returns {@link AdminDeleteUserAttributesCommandOutput}
|
|
30
37
|
* @see {@link AdminDeleteUserAttributesCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link AdminDeleteUserAttributesCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -57,11 +64,20 @@ export interface AdminDeleteUserAttributesCommandOutput extends AdminDeleteUserA
|
|
|
57
64
|
export declare class AdminDeleteUserAttributesCommand extends $Command<AdminDeleteUserAttributesCommandInput, AdminDeleteUserAttributesCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
58
65
|
readonly input: AdminDeleteUserAttributesCommandInput;
|
|
59
66
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
60
70
|
constructor(input: AdminDeleteUserAttributesCommandInput);
|
|
61
71
|
/**
|
|
62
72
|
* @internal
|
|
63
73
|
*/
|
|
64
74
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminDeleteUserAttributesCommandInput, AdminDeleteUserAttributesCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
65
78
|
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
66
82
|
private deserialize;
|
|
67
83
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AdminDeleteUserRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AdminDeleteUserCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AdminDeleteUserCommandInput extends AdminDeleteUserRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AdminDeleteUserCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AdminDeleteUserCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes a user as an administrator. Works on any user.</p>
|
|
18
23
|
* <p>Calling this action requires developer credentials.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface AdminDeleteUserCommandOutput extends __MetadataBearer {
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param AdminDeleteUserCommandInput - {@link AdminDeleteUserCommandInput}
|
|
35
|
+
* @returns {@link AdminDeleteUserCommandOutput}
|
|
29
36
|
* @see {@link AdminDeleteUserCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link AdminDeleteUserCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface AdminDeleteUserCommandOutput extends __MetadataBearer {
|
|
|
56
63
|
export declare class AdminDeleteUserCommand extends $Command<AdminDeleteUserCommandInput, AdminDeleteUserCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
57
64
|
readonly input: AdminDeleteUserCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: AdminDeleteUserCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminDeleteUserCommandInput, AdminDeleteUserCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AdminDisableProviderForUserRequest, AdminDisableProviderForUserResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AdminDisableProviderForUserCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AdminDisableProviderForUserCommandInput extends AdminDisableProviderForUserRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AdminDisableProviderForUserCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AdminDisableProviderForUserCommandOutput extends AdminDisableProviderForUserResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Prevents the user from signing in with the specified external (SAML or social)
|
|
18
23
|
* identity provider (IdP). If the user that you want to deactivate is a Amazon Cognito user pools
|
|
19
24
|
* native username + password user, they can't use their password to sign in. If the user
|
|
@@ -52,6 +57,8 @@ export interface AdminDisableProviderForUserCommandOutput extends AdminDisablePr
|
|
|
52
57
|
* const response = await client.send(command);
|
|
53
58
|
* ```
|
|
54
59
|
*
|
|
60
|
+
* @param AdminDisableProviderForUserCommandInput - {@link AdminDisableProviderForUserCommandInput}
|
|
61
|
+
* @returns {@link AdminDisableProviderForUserCommandOutput}
|
|
55
62
|
* @see {@link AdminDisableProviderForUserCommandInput} for command's `input` shape.
|
|
56
63
|
* @see {@link AdminDisableProviderForUserCommandOutput} for command's `response` shape.
|
|
57
64
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -89,11 +96,20 @@ export interface AdminDisableProviderForUserCommandOutput extends AdminDisablePr
|
|
|
89
96
|
export declare class AdminDisableProviderForUserCommand extends $Command<AdminDisableProviderForUserCommandInput, AdminDisableProviderForUserCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
90
97
|
readonly input: AdminDisableProviderForUserCommandInput;
|
|
91
98
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
92
102
|
constructor(input: AdminDisableProviderForUserCommandInput);
|
|
93
103
|
/**
|
|
94
104
|
* @internal
|
|
95
105
|
*/
|
|
96
106
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminDisableProviderForUserCommandInput, AdminDisableProviderForUserCommandOutput>;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
97
110
|
private serialize;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
98
114
|
private deserialize;
|
|
99
115
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AdminDisableUserRequest, AdminDisableUserResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AdminDisableUserCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AdminDisableUserCommandInput extends AdminDisableUserRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AdminDisableUserCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AdminDisableUserCommandOutput extends AdminDisableUserResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deactivates a user and revokes all access tokens for the user. A deactivated user can't sign in,
|
|
18
23
|
* but still appears in the responses to <code>GetUser</code> and <code>ListUsers</code> API requests.</p>
|
|
19
24
|
* <p>You must make this API request with Amazon Web Services credentials that have <code>cognito-idp:AdminDisableUser</code> permissions.</p>
|
|
@@ -27,6 +32,8 @@ export interface AdminDisableUserCommandOutput extends AdminDisableUserResponse,
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param AdminDisableUserCommandInput - {@link AdminDisableUserCommandInput}
|
|
36
|
+
* @returns {@link AdminDisableUserCommandOutput}
|
|
30
37
|
* @see {@link AdminDisableUserCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link AdminDisableUserCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -57,11 +64,20 @@ export interface AdminDisableUserCommandOutput extends AdminDisableUserResponse,
|
|
|
57
64
|
export declare class AdminDisableUserCommand extends $Command<AdminDisableUserCommandInput, AdminDisableUserCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
58
65
|
readonly input: AdminDisableUserCommandInput;
|
|
59
66
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
60
70
|
constructor(input: AdminDisableUserCommandInput);
|
|
61
71
|
/**
|
|
62
72
|
* @internal
|
|
63
73
|
*/
|
|
64
74
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminDisableUserCommandInput, AdminDisableUserCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
65
78
|
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
66
82
|
private deserialize;
|
|
67
83
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AdminEnableUserRequest, AdminEnableUserResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AdminEnableUserCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AdminEnableUserCommandInput extends AdminEnableUserRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AdminEnableUserCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AdminEnableUserCommandOutput extends AdminEnableUserResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Enables the specified user as an administrator. Works on any user.</p>
|
|
18
23
|
* <p>Calling this action requires developer credentials.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface AdminEnableUserCommandOutput extends AdminEnableUserResponse, _
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param AdminEnableUserCommandInput - {@link AdminEnableUserCommandInput}
|
|
35
|
+
* @returns {@link AdminEnableUserCommandOutput}
|
|
29
36
|
* @see {@link AdminEnableUserCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link AdminEnableUserCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface AdminEnableUserCommandOutput extends AdminEnableUserResponse, _
|
|
|
56
63
|
export declare class AdminEnableUserCommand extends $Command<AdminEnableUserCommandInput, AdminEnableUserCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
57
64
|
readonly input: AdminEnableUserCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: AdminEnableUserCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminEnableUserCommandInput, AdminEnableUserCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AdminForgetDeviceRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AdminForgetDeviceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AdminForgetDeviceCommandInput extends AdminForgetDeviceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AdminForgetDeviceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AdminForgetDeviceCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Forgets the device, as an administrator.</p>
|
|
18
23
|
* <p>Calling this action requires developer credentials.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface AdminForgetDeviceCommandOutput extends __MetadataBearer {
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param AdminForgetDeviceCommandInput - {@link AdminForgetDeviceCommandInput}
|
|
35
|
+
* @returns {@link AdminForgetDeviceCommandOutput}
|
|
29
36
|
* @see {@link AdminForgetDeviceCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link AdminForgetDeviceCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -59,11 +66,20 @@ export interface AdminForgetDeviceCommandOutput extends __MetadataBearer {
|
|
|
59
66
|
export declare class AdminForgetDeviceCommand extends $Command<AdminForgetDeviceCommandInput, AdminForgetDeviceCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
60
67
|
readonly input: AdminForgetDeviceCommandInput;
|
|
61
68
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
62
72
|
constructor(input: AdminForgetDeviceCommandInput);
|
|
63
73
|
/**
|
|
64
74
|
* @internal
|
|
65
75
|
*/
|
|
66
76
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminForgetDeviceCommandInput, AdminForgetDeviceCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
67
80
|
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
68
84
|
private deserialize;
|
|
69
85
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
5
5
|
import { AdminGetDeviceRequest, AdminGetDeviceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AdminGetDeviceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AdminGetDeviceCommandInput extends AdminGetDeviceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AdminGetDeviceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AdminGetDeviceCommandOutput extends AdminGetDeviceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets the device, as an administrator.</p>
|
|
18
23
|
* <p>Calling this action requires developer credentials.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface AdminGetDeviceCommandOutput extends AdminGetDeviceResponse, __M
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param AdminGetDeviceCommandInput - {@link AdminGetDeviceCommandInput}
|
|
35
|
+
* @returns {@link AdminGetDeviceCommandOutput}
|
|
29
36
|
* @see {@link AdminGetDeviceCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link AdminGetDeviceCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface AdminGetDeviceCommandOutput extends AdminGetDeviceResponse, __M
|
|
|
56
63
|
export declare class AdminGetDeviceCommand extends $Command<AdminGetDeviceCommandInput, AdminGetDeviceCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
|
|
57
64
|
readonly input: AdminGetDeviceCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: AdminGetDeviceCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AdminGetDeviceCommandInput, AdminGetDeviceCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|