@aws-sdk/client-cognito-identity-provider 3.693.0 → 3.699.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 +80 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +20 -0
- package/dist-cjs/index.js +983 -71
- package/dist-es/CognitoIdentityProvider.js +20 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +20 -0
- package/dist-es/commands/CompleteWebAuthnRegistrationCommand.js +23 -0
- package/dist-es/commands/ConfirmSignUpCommand.js +2 -2
- package/dist-es/commands/CreateManagedLoginBrandingCommand.js +23 -0
- package/dist-es/commands/DeleteManagedLoginBrandingCommand.js +22 -0
- package/dist-es/commands/DeleteWebAuthnCredentialCommand.js +23 -0
- package/dist-es/commands/DescribeManagedLoginBrandingByClientCommand.js +23 -0
- package/dist-es/commands/DescribeManagedLoginBrandingCommand.js +22 -0
- package/dist-es/commands/GetUserAuthFactorsCommand.js +23 -0
- package/dist-es/commands/GlobalSignOutCommand.js +1 -1
- package/dist-es/commands/InitiateAuthCommand.js +1 -1
- package/dist-es/commands/ListDevicesCommand.js +1 -1
- package/dist-es/commands/ListUserPoolClientsCommand.js +1 -1
- package/dist-es/commands/ListUsersCommand.js +1 -1
- package/dist-es/commands/ListUsersInGroupCommand.js +1 -1
- package/dist-es/commands/ListWebAuthnCredentialsCommand.js +23 -0
- package/dist-es/commands/ResendConfirmationCodeCommand.js +1 -1
- package/dist-es/commands/RespondToAuthChallengeCommand.js +1 -2
- package/dist-es/commands/SignUpCommand.js +2 -2
- package/dist-es/commands/StartWebAuthnRegistrationCommand.js +23 -0
- package/dist-es/commands/UpdateManagedLoginBrandingCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +184 -50
- package/dist-es/models/models_1.js +82 -1
- package/dist-es/protocols/Aws_json1_1.js +433 -2
- package/dist-types/CognitoIdentityProvider.d.ts +71 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +12 -2
- package/dist-types/commands/AdminCreateUserCommand.d.ts +9 -4
- package/dist-types/commands/AdminGetUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +5 -4
- package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -2
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +4 -4
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +2 -2
- package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
- package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +119 -0
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +5 -2
- package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +162 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -2
- package/dist-types/commands/CreateUserPoolCommand.d.ts +22 -2
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +8 -1
- package/dist-types/commands/DeleteManagedLoginBrandingCommand.d.ts +113 -0
- package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +90 -0
- package/dist-types/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +108 -0
- package/dist-types/commands/DescribeManagedLoginBrandingCommand.d.ts +108 -0
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +6 -0
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +1 -0
- package/dist-types/commands/ForgotPasswordCommand.d.ts +2 -2
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -2
- package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +120 -0
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +6 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -1
- package/dist-types/commands/InitiateAuthCommand.d.ts +9 -5
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceServersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +100 -0
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +3 -3
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +5 -6
- package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +15 -3
- package/dist-types/commands/SignUpCommand.d.ts +11 -3
- package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +107 -0
- package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +150 -0
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +2 -2
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +2 -2
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +17 -2
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1609 -1660
- package/dist-types/models/models_1.d.ts +1711 -7
- package/dist-types/protocols/Aws_json1_1.d.ts +90 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +177 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CompleteWebAuthnRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateManagedLoginBrandingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteManagedLoginBrandingCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteWebAuthnCredentialCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeManagedLoginBrandingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetUserAuthFactorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWebAuthnCredentialsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartWebAuthnRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateManagedLoginBrandingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +248 -185
- package/dist-types/ts3.4/models/models_1.d.ts +262 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +120 -0
- package/package.json +35 -35
|
@@ -67,10 +67,13 @@ declare const ConfirmSignUpCommand_base: {
|
|
|
67
67
|
* ClientMetadata: { // ClientMetadataType
|
|
68
68
|
* "<keys>": "STRING_VALUE",
|
|
69
69
|
* },
|
|
70
|
+
* Session: "STRING_VALUE",
|
|
70
71
|
* };
|
|
71
72
|
* const command = new ConfirmSignUpCommand(input);
|
|
72
73
|
* const response = await client.send(command);
|
|
73
|
-
* // {
|
|
74
|
+
* // { // ConfirmSignUpResponse
|
|
75
|
+
* // Session: "STRING_VALUE",
|
|
76
|
+
* // };
|
|
74
77
|
*
|
|
75
78
|
* ```
|
|
76
79
|
*
|
|
@@ -148,7 +151,7 @@ export declare class ConfirmSignUpCommand extends ConfirmSignUpCommand_base {
|
|
|
148
151
|
protected static __types: {
|
|
149
152
|
api: {
|
|
150
153
|
input: ConfirmSignUpRequest;
|
|
151
|
-
output:
|
|
154
|
+
output: ConfirmSignUpResponse;
|
|
152
155
|
};
|
|
153
156
|
sdk: {
|
|
154
157
|
input: ConfirmSignUpCommandInput;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
+
import { CreateManagedLoginBrandingRequest, CreateManagedLoginBrandingResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateManagedLoginBrandingCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateManagedLoginBrandingCommandInput extends CreateManagedLoginBrandingRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateManagedLoginBrandingCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateManagedLoginBrandingCommandOutput extends CreateManagedLoginBrandingResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateManagedLoginBrandingCommand_base: {
|
|
25
|
+
new (input: CreateManagedLoginBrandingCommandInput): import("@smithy/smithy-client").CommandImpl<CreateManagedLoginBrandingCommandInput, CreateManagedLoginBrandingCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateManagedLoginBrandingCommandInput): import("@smithy/smithy-client").CommandImpl<CreateManagedLoginBrandingCommandInput, CreateManagedLoginBrandingCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new set of branding settings for a user pool style and associates it with an
|
|
31
|
+
* app client. This operation is the programmatic option for the creation of a new style in
|
|
32
|
+
* the branding designer.</p>
|
|
33
|
+
* <p>Provides values for UI customization in a <code>Settings</code> JSON object and image
|
|
34
|
+
* files in an <code>Assets</code> array. To send the JSON object <code>Document</code>
|
|
35
|
+
* type parameter in <code>Settings</code>, you might need to update to the most recent
|
|
36
|
+
* version of your Amazon Web Services SDK. </p>
|
|
37
|
+
* <p> This operation has a 2-megabyte request-size limit and include the CSS settings and
|
|
38
|
+
* image assets for your app client. Your branding settings might exceed 2MB in size. Amazon Cognito
|
|
39
|
+
* doesn't require that you pass all parameters in one request and preserves existing
|
|
40
|
+
* style settings that you don't specify. If your request is larger than 2MB, separate it
|
|
41
|
+
* into multiple requests, each with a size smaller than the limit. </p>
|
|
42
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/managed-login-brandingdesigner.html#branding-designer-api">API and SDK operations for managed login branding</a>
|
|
43
|
+
* </p>
|
|
44
|
+
* <note>
|
|
45
|
+
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
46
|
+
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
47
|
+
* grant yourself the corresponding IAM permission in a policy.</p>
|
|
48
|
+
* <p class="title">
|
|
49
|
+
* <b>Learn more</b>
|
|
50
|
+
* </p>
|
|
51
|
+
* <ul>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>
|
|
54
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html">Signing Amazon Web Services API Requests</a>
|
|
55
|
+
* </p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>
|
|
59
|
+
* <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html">Using the Amazon Cognito user pools API and user pool endpoints</a>
|
|
60
|
+
* </p>
|
|
61
|
+
* </li>
|
|
62
|
+
* </ul>
|
|
63
|
+
* </note>
|
|
64
|
+
* @example
|
|
65
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
66
|
+
* ```javascript
|
|
67
|
+
* import { CognitoIdentityProviderClient, CreateManagedLoginBrandingCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
68
|
+
* // const { CognitoIdentityProviderClient, CreateManagedLoginBrandingCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
69
|
+
* const client = new CognitoIdentityProviderClient(config);
|
|
70
|
+
* const input = { // CreateManagedLoginBrandingRequest
|
|
71
|
+
* UserPoolId: "STRING_VALUE", // required
|
|
72
|
+
* ClientId: "STRING_VALUE", // required
|
|
73
|
+
* UseCognitoProvidedValues: true || false,
|
|
74
|
+
* Settings: "DOCUMENT_VALUE",
|
|
75
|
+
* Assets: [ // AssetListType
|
|
76
|
+
* { // AssetType
|
|
77
|
+
* Category: "FAVICON_ICO" || "FAVICON_SVG" || "EMAIL_GRAPHIC" || "SMS_GRAPHIC" || "AUTH_APP_GRAPHIC" || "PASSWORD_GRAPHIC" || "PASSKEY_GRAPHIC" || "PAGE_HEADER_LOGO" || "PAGE_HEADER_BACKGROUND" || "PAGE_FOOTER_LOGO" || "PAGE_FOOTER_BACKGROUND" || "PAGE_BACKGROUND" || "FORM_BACKGROUND" || "FORM_LOGO" || "IDP_BUTTON_ICON", // required
|
|
78
|
+
* ColorMode: "LIGHT" || "DARK" || "DYNAMIC", // required
|
|
79
|
+
* Extension: "ICO" || "JPEG" || "PNG" || "SVG" || "WEBP", // required
|
|
80
|
+
* Bytes: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
81
|
+
* ResourceId: "STRING_VALUE",
|
|
82
|
+
* },
|
|
83
|
+
* ],
|
|
84
|
+
* };
|
|
85
|
+
* const command = new CreateManagedLoginBrandingCommand(input);
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* // { // CreateManagedLoginBrandingResponse
|
|
88
|
+
* // ManagedLoginBranding: { // ManagedLoginBrandingType
|
|
89
|
+
* // ManagedLoginBrandingId: "STRING_VALUE",
|
|
90
|
+
* // UserPoolId: "STRING_VALUE",
|
|
91
|
+
* // UseCognitoProvidedValues: true || false,
|
|
92
|
+
* // Settings: "DOCUMENT_VALUE",
|
|
93
|
+
* // Assets: [ // AssetListType
|
|
94
|
+
* // { // AssetType
|
|
95
|
+
* // Category: "FAVICON_ICO" || "FAVICON_SVG" || "EMAIL_GRAPHIC" || "SMS_GRAPHIC" || "AUTH_APP_GRAPHIC" || "PASSWORD_GRAPHIC" || "PASSKEY_GRAPHIC" || "PAGE_HEADER_LOGO" || "PAGE_HEADER_BACKGROUND" || "PAGE_FOOTER_LOGO" || "PAGE_FOOTER_BACKGROUND" || "PAGE_BACKGROUND" || "FORM_BACKGROUND" || "FORM_LOGO" || "IDP_BUTTON_ICON", // required
|
|
96
|
+
* // ColorMode: "LIGHT" || "DARK" || "DYNAMIC", // required
|
|
97
|
+
* // Extension: "ICO" || "JPEG" || "PNG" || "SVG" || "WEBP", // required
|
|
98
|
+
* // Bytes: new Uint8Array(),
|
|
99
|
+
* // ResourceId: "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // CreationDate: new Date("TIMESTAMP"),
|
|
103
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
104
|
+
* // },
|
|
105
|
+
* // };
|
|
106
|
+
*
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* @param CreateManagedLoginBrandingCommandInput - {@link CreateManagedLoginBrandingCommandInput}
|
|
110
|
+
* @returns {@link CreateManagedLoginBrandingCommandOutput}
|
|
111
|
+
* @see {@link CreateManagedLoginBrandingCommandInput} for command's `input` shape.
|
|
112
|
+
* @see {@link CreateManagedLoginBrandingCommandOutput} for command's `response` shape.
|
|
113
|
+
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
116
|
+
* <p>This exception is thrown if two or more modifications are happening
|
|
117
|
+
* concurrently.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
120
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
123
|
+
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
124
|
+
* parameter.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
127
|
+
* <p>This exception is thrown when a user exceeds the limit for a requested Amazon Web Services
|
|
128
|
+
* resource.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link ManagedLoginBrandingExistsException} (client fault)
|
|
131
|
+
* <p>This exception is thrown when you attempt to apply a managed login branding style to
|
|
132
|
+
* an app client that already has an assigned style.</p>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
135
|
+
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
138
|
+
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
|
|
139
|
+
* resource.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
142
|
+
* <p>This exception is thrown when the user has made too many requests for a given
|
|
143
|
+
* operation.</p>
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link CognitoIdentityProviderServiceException}
|
|
146
|
+
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
147
|
+
*
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export declare class CreateManagedLoginBrandingCommand extends CreateManagedLoginBrandingCommand_base {
|
|
151
|
+
/** @internal type navigation helper, not in runtime. */
|
|
152
|
+
protected static __types: {
|
|
153
|
+
api: {
|
|
154
|
+
input: CreateManagedLoginBrandingRequest;
|
|
155
|
+
output: CreateManagedLoginBrandingResponse;
|
|
156
|
+
};
|
|
157
|
+
sdk: {
|
|
158
|
+
input: CreateManagedLoginBrandingCommandInput;
|
|
159
|
+
output: CreateManagedLoginBrandingCommandOutput;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
}
|
|
@@ -78,7 +78,7 @@ declare const CreateUserPoolClientCommand_base: {
|
|
|
78
78
|
* "STRING_VALUE",
|
|
79
79
|
* ],
|
|
80
80
|
* ExplicitAuthFlows: [ // ExplicitAuthFlowsListType
|
|
81
|
-
* "ADMIN_NO_SRP_AUTH" || "CUSTOM_AUTH_FLOW_ONLY" || "USER_PASSWORD_AUTH" || "ALLOW_ADMIN_USER_PASSWORD_AUTH" || "ALLOW_CUSTOM_AUTH" || "ALLOW_USER_PASSWORD_AUTH" || "ALLOW_USER_SRP_AUTH" || "ALLOW_REFRESH_TOKEN_AUTH",
|
|
81
|
+
* "ADMIN_NO_SRP_AUTH" || "CUSTOM_AUTH_FLOW_ONLY" || "USER_PASSWORD_AUTH" || "ALLOW_ADMIN_USER_PASSWORD_AUTH" || "ALLOW_CUSTOM_AUTH" || "ALLOW_USER_PASSWORD_AUTH" || "ALLOW_USER_SRP_AUTH" || "ALLOW_REFRESH_TOKEN_AUTH" || "ALLOW_USER_AUTH",
|
|
82
82
|
* ],
|
|
83
83
|
* SupportedIdentityProviders: [ // SupportedIdentityProvidersListType
|
|
84
84
|
* "STRING_VALUE",
|
|
@@ -134,7 +134,7 @@ declare const CreateUserPoolClientCommand_base: {
|
|
|
134
134
|
* // "STRING_VALUE",
|
|
135
135
|
* // ],
|
|
136
136
|
* // ExplicitAuthFlows: [ // ExplicitAuthFlowsListType
|
|
137
|
-
* // "ADMIN_NO_SRP_AUTH" || "CUSTOM_AUTH_FLOW_ONLY" || "USER_PASSWORD_AUTH" || "ALLOW_ADMIN_USER_PASSWORD_AUTH" || "ALLOW_CUSTOM_AUTH" || "ALLOW_USER_PASSWORD_AUTH" || "ALLOW_USER_SRP_AUTH" || "ALLOW_REFRESH_TOKEN_AUTH",
|
|
137
|
+
* // "ADMIN_NO_SRP_AUTH" || "CUSTOM_AUTH_FLOW_ONLY" || "USER_PASSWORD_AUTH" || "ALLOW_ADMIN_USER_PASSWORD_AUTH" || "ALLOW_CUSTOM_AUTH" || "ALLOW_USER_PASSWORD_AUTH" || "ALLOW_USER_SRP_AUTH" || "ALLOW_REFRESH_TOKEN_AUTH" || "ALLOW_USER_AUTH",
|
|
138
138
|
* // ],
|
|
139
139
|
* // SupportedIdentityProviders: [ // SupportedIdentityProvidersListType
|
|
140
140
|
* // "STRING_VALUE",
|
|
@@ -35,7 +35,7 @@ declare const CreateUserPoolCommand_base: {
|
|
|
35
35
|
* Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must
|
|
36
36
|
* receive SMS messages might not be able to sign up, activate their accounts, or sign
|
|
37
37
|
* in.</p>
|
|
38
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
|
|
38
|
+
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service,
|
|
39
39
|
* Amazon Simple Notification Service might place your account in the SMS sandbox. In <i>
|
|
40
40
|
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
41
41
|
* mode</a>
|
|
@@ -87,6 +87,11 @@ declare const CreateUserPoolCommand_base: {
|
|
|
87
87
|
* PasswordHistorySize: Number("int"),
|
|
88
88
|
* TemporaryPasswordValidityDays: Number("int"),
|
|
89
89
|
* },
|
|
90
|
+
* SignInPolicy: { // SignInPolicyType
|
|
91
|
+
* AllowedFirstAuthFactors: [ // AllowedFirstAuthFactorsListType
|
|
92
|
+
* "PASSWORD" || "EMAIL_OTP" || "SMS_OTP" || "WEB_AUTHN",
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
90
95
|
* },
|
|
91
96
|
* DeletionProtection: "ACTIVE" || "INACTIVE",
|
|
92
97
|
* LambdaConfig: { // LambdaConfigType
|
|
@@ -203,6 +208,7 @@ declare const CreateUserPoolCommand_base: {
|
|
|
203
208
|
* },
|
|
204
209
|
* ],
|
|
205
210
|
* },
|
|
211
|
+
* UserPoolTier: "LITE" || "ESSENTIALS" || "PLUS",
|
|
206
212
|
* };
|
|
207
213
|
* const command = new CreateUserPoolCommand(input);
|
|
208
214
|
* const response = await client.send(command);
|
|
@@ -220,6 +226,11 @@ declare const CreateUserPoolCommand_base: {
|
|
|
220
226
|
* // PasswordHistorySize: Number("int"),
|
|
221
227
|
* // TemporaryPasswordValidityDays: Number("int"),
|
|
222
228
|
* // },
|
|
229
|
+
* // SignInPolicy: { // SignInPolicyType
|
|
230
|
+
* // AllowedFirstAuthFactors: [ // AllowedFirstAuthFactorsListType
|
|
231
|
+
* // "PASSWORD" || "EMAIL_OTP" || "SMS_OTP" || "WEB_AUTHN",
|
|
232
|
+
* // ],
|
|
233
|
+
* // },
|
|
223
234
|
* // },
|
|
224
235
|
* // DeletionProtection: "ACTIVE" || "INACTIVE",
|
|
225
236
|
* // LambdaConfig: { // LambdaConfigType
|
|
@@ -345,6 +356,7 @@ declare const CreateUserPoolCommand_base: {
|
|
|
345
356
|
* // },
|
|
346
357
|
* // ],
|
|
347
358
|
* // },
|
|
359
|
+
* // UserPoolTier: "LITE" || "ESSENTIALS" || "PLUS",
|
|
348
360
|
* // },
|
|
349
361
|
* // };
|
|
350
362
|
*
|
|
@@ -356,6 +368,10 @@ declare const CreateUserPoolCommand_base: {
|
|
|
356
368
|
* @see {@link CreateUserPoolCommandOutput} for command's `response` shape.
|
|
357
369
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
358
370
|
*
|
|
371
|
+
* @throws {@link FeatureUnavailableInTierException} (client fault)
|
|
372
|
+
* <p>This exception is thrown when a feature you attempted to configure isn't
|
|
373
|
+
* available in your current feature plan.</p>
|
|
374
|
+
*
|
|
359
375
|
* @throws {@link InternalErrorException} (server fault)
|
|
360
376
|
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
361
377
|
*
|
|
@@ -374,7 +390,7 @@ declare const CreateUserPoolCommand_base: {
|
|
|
374
390
|
* @throws {@link InvalidSmsRoleTrustRelationshipException} (client fault)
|
|
375
391
|
* <p>This exception is thrown when the trust relationship is not valid for the role
|
|
376
392
|
* provided for SMS configuration. This can happen if you don't trust
|
|
377
|
-
*
|
|
393
|
+
* <code>cognito-idp.amazonaws.com</code> or the external ID provided in the role does
|
|
378
394
|
* not match what is provided in the SMS configuration for the user pool.</p>
|
|
379
395
|
*
|
|
380
396
|
* @throws {@link LimitExceededException} (client fault)
|
|
@@ -384,6 +400,10 @@ declare const CreateUserPoolCommand_base: {
|
|
|
384
400
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
385
401
|
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
386
402
|
*
|
|
403
|
+
* @throws {@link TierChangeNotAllowedException} (client fault)
|
|
404
|
+
* <p>This exception is thrown when you've attempted to change your feature plan but
|
|
405
|
+
* the operation isn't permitted.</p>
|
|
406
|
+
*
|
|
387
407
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
388
408
|
* <p>This exception is thrown when the user has made too many requests for a given
|
|
389
409
|
* operation.</p>
|
|
@@ -27,7 +27,8 @@ declare const CreateUserPoolDomainCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new domain for a user pool
|
|
30
|
+
* <p>Creates a new domain for a user pool. The domain hosts user pool domain services like
|
|
31
|
+
* managed login, the hosted UI (classic), and the user pool authorization server.</p>
|
|
31
32
|
* <note>
|
|
32
33
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
34
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -57,6 +58,7 @@ declare const CreateUserPoolDomainCommand_base: {
|
|
|
57
58
|
* const input = { // CreateUserPoolDomainRequest
|
|
58
59
|
* Domain: "STRING_VALUE", // required
|
|
59
60
|
* UserPoolId: "STRING_VALUE", // required
|
|
61
|
+
* ManagedLoginVersion: Number("int"),
|
|
60
62
|
* CustomDomainConfig: { // CustomDomainConfigType
|
|
61
63
|
* CertificateArn: "STRING_VALUE", // required
|
|
62
64
|
* },
|
|
@@ -64,6 +66,7 @@ declare const CreateUserPoolDomainCommand_base: {
|
|
|
64
66
|
* const command = new CreateUserPoolDomainCommand(input);
|
|
65
67
|
* const response = await client.send(command);
|
|
66
68
|
* // { // CreateUserPoolDomainResponse
|
|
69
|
+
* // ManagedLoginVersion: Number("int"),
|
|
67
70
|
* // CloudFrontDomain: "STRING_VALUE",
|
|
68
71
|
* // };
|
|
69
72
|
*
|
|
@@ -75,6 +78,10 @@ declare const CreateUserPoolDomainCommand_base: {
|
|
|
75
78
|
* @see {@link CreateUserPoolDomainCommandOutput} for command's `response` shape.
|
|
76
79
|
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
77
80
|
*
|
|
81
|
+
* @throws {@link FeatureUnavailableInTierException} (client fault)
|
|
82
|
+
* <p>This exception is thrown when a feature you attempted to configure isn't
|
|
83
|
+
* available in your current feature plan.</p>
|
|
84
|
+
*
|
|
78
85
|
* @throws {@link InternalErrorException} (server fault)
|
|
79
86
|
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
80
87
|
*
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
+
import { DeleteManagedLoginBrandingRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteManagedLoginBrandingCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteManagedLoginBrandingCommandInput extends DeleteManagedLoginBrandingRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteManagedLoginBrandingCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteManagedLoginBrandingCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteManagedLoginBrandingCommand_base: {
|
|
25
|
+
new (input: DeleteManagedLoginBrandingCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteManagedLoginBrandingCommandInput, DeleteManagedLoginBrandingCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteManagedLoginBrandingCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteManagedLoginBrandingCommandInput, DeleteManagedLoginBrandingCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a managed login branding style. When you delete a style, you delete the
|
|
31
|
+
* branding association for an app client and restore it to default settings.</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
34
|
+
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
35
|
+
* grant yourself the corresponding IAM permission in a policy.</p>
|
|
36
|
+
* <p class="title">
|
|
37
|
+
* <b>Learn more</b>
|
|
38
|
+
* </p>
|
|
39
|
+
* <ul>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>
|
|
42
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html">Signing Amazon Web Services API Requests</a>
|
|
43
|
+
* </p>
|
|
44
|
+
* </li>
|
|
45
|
+
* <li>
|
|
46
|
+
* <p>
|
|
47
|
+
* <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html">Using the Amazon Cognito user pools API and user pool endpoints</a>
|
|
48
|
+
* </p>
|
|
49
|
+
* </li>
|
|
50
|
+
* </ul>
|
|
51
|
+
* </note>
|
|
52
|
+
* @example
|
|
53
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
54
|
+
* ```javascript
|
|
55
|
+
* import { CognitoIdentityProviderClient, DeleteManagedLoginBrandingCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
56
|
+
* // const { CognitoIdentityProviderClient, DeleteManagedLoginBrandingCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
57
|
+
* const client = new CognitoIdentityProviderClient(config);
|
|
58
|
+
* const input = { // DeleteManagedLoginBrandingRequest
|
|
59
|
+
* ManagedLoginBrandingId: "STRING_VALUE", // required
|
|
60
|
+
* UserPoolId: "STRING_VALUE", // required
|
|
61
|
+
* };
|
|
62
|
+
* const command = new DeleteManagedLoginBrandingCommand(input);
|
|
63
|
+
* const response = await client.send(command);
|
|
64
|
+
* // {};
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param DeleteManagedLoginBrandingCommandInput - {@link DeleteManagedLoginBrandingCommandInput}
|
|
69
|
+
* @returns {@link DeleteManagedLoginBrandingCommandOutput}
|
|
70
|
+
* @see {@link DeleteManagedLoginBrandingCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link DeleteManagedLoginBrandingCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
75
|
+
* <p>This exception is thrown if two or more modifications are happening
|
|
76
|
+
* concurrently.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
79
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
82
|
+
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
83
|
+
* parameter.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
86
|
+
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
|
|
90
|
+
* resource.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
93
|
+
* <p>This exception is thrown when the user has made too many requests for a given
|
|
94
|
+
* operation.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link CognitoIdentityProviderServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class DeleteManagedLoginBrandingCommand extends DeleteManagedLoginBrandingCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: DeleteManagedLoginBrandingRequest;
|
|
106
|
+
output: {};
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: DeleteManagedLoginBrandingCommandInput;
|
|
110
|
+
output: DeleteManagedLoginBrandingCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
+
import { DeleteWebAuthnCredentialRequest, DeleteWebAuthnCredentialResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteWebAuthnCredentialCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteWebAuthnCredentialCommandInput extends DeleteWebAuthnCredentialRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteWebAuthnCredentialCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteWebAuthnCredentialCommandOutput extends DeleteWebAuthnCredentialResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteWebAuthnCredentialCommand_base: {
|
|
25
|
+
new (input: DeleteWebAuthnCredentialCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWebAuthnCredentialCommandInput, DeleteWebAuthnCredentialCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteWebAuthnCredentialCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWebAuthnCredentialCommandInput, DeleteWebAuthnCredentialCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a registered passkey, or webauthN, device for the currently signed-in
|
|
31
|
+
* user.</p>
|
|
32
|
+
* <p>Authorize this action with a signed-in user's access token. It must include the scope <code>aws.cognito.signin.user.admin</code>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { CognitoIdentityProviderClient, DeleteWebAuthnCredentialCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
37
|
+
* // const { CognitoIdentityProviderClient, DeleteWebAuthnCredentialCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
38
|
+
* const client = new CognitoIdentityProviderClient(config);
|
|
39
|
+
* const input = { // DeleteWebAuthnCredentialRequest
|
|
40
|
+
* AccessToken: "STRING_VALUE", // required
|
|
41
|
+
* CredentialId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteWebAuthnCredentialCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteWebAuthnCredentialCommandInput - {@link DeleteWebAuthnCredentialCommandInput}
|
|
50
|
+
* @returns {@link DeleteWebAuthnCredentialCommandOutput}
|
|
51
|
+
* @see {@link DeleteWebAuthnCredentialCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteWebAuthnCredentialCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
56
|
+
* <p>This exception is thrown when WAF doesn't allow your request based on a web
|
|
57
|
+
* ACL that's associated with your user pool.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
60
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
63
|
+
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
64
|
+
* parameter.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
67
|
+
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
|
|
71
|
+
* resource.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link CognitoIdentityProviderServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class DeleteWebAuthnCredentialCommand extends DeleteWebAuthnCredentialCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: DeleteWebAuthnCredentialRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: DeleteWebAuthnCredentialCommandInput;
|
|
87
|
+
output: DeleteWebAuthnCredentialCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
+
import { DescribeManagedLoginBrandingByClientRequest, DescribeManagedLoginBrandingByClientResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeManagedLoginBrandingByClientCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeManagedLoginBrandingByClientCommandInput extends DescribeManagedLoginBrandingByClientRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeManagedLoginBrandingByClientCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeManagedLoginBrandingByClientCommandOutput extends DescribeManagedLoginBrandingByClientResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeManagedLoginBrandingByClientCommand_base: {
|
|
25
|
+
new (input: DescribeManagedLoginBrandingByClientCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeManagedLoginBrandingByClientCommandInput, DescribeManagedLoginBrandingByClientCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DescribeManagedLoginBrandingByClientCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeManagedLoginBrandingByClientCommandInput, DescribeManagedLoginBrandingByClientCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>When given the ID of a user pool app client, returns detailed information about the
|
|
31
|
+
* style assigned to the app client.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CognitoIdentityProviderClient, DescribeManagedLoginBrandingByClientCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
36
|
+
* // const { CognitoIdentityProviderClient, DescribeManagedLoginBrandingByClientCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
37
|
+
* const client = new CognitoIdentityProviderClient(config);
|
|
38
|
+
* const input = { // DescribeManagedLoginBrandingByClientRequest
|
|
39
|
+
* UserPoolId: "STRING_VALUE", // required
|
|
40
|
+
* ClientId: "STRING_VALUE", // required
|
|
41
|
+
* ReturnMergedResources: true || false,
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DescribeManagedLoginBrandingByClientCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DescribeManagedLoginBrandingByClientResponse
|
|
46
|
+
* // ManagedLoginBranding: { // ManagedLoginBrandingType
|
|
47
|
+
* // ManagedLoginBrandingId: "STRING_VALUE",
|
|
48
|
+
* // UserPoolId: "STRING_VALUE",
|
|
49
|
+
* // UseCognitoProvidedValues: true || false,
|
|
50
|
+
* // Settings: "DOCUMENT_VALUE",
|
|
51
|
+
* // Assets: [ // AssetListType
|
|
52
|
+
* // { // AssetType
|
|
53
|
+
* // Category: "FAVICON_ICO" || "FAVICON_SVG" || "EMAIL_GRAPHIC" || "SMS_GRAPHIC" || "AUTH_APP_GRAPHIC" || "PASSWORD_GRAPHIC" || "PASSKEY_GRAPHIC" || "PAGE_HEADER_LOGO" || "PAGE_HEADER_BACKGROUND" || "PAGE_FOOTER_LOGO" || "PAGE_FOOTER_BACKGROUND" || "PAGE_BACKGROUND" || "FORM_BACKGROUND" || "FORM_LOGO" || "IDP_BUTTON_ICON", // required
|
|
54
|
+
* // ColorMode: "LIGHT" || "DARK" || "DYNAMIC", // required
|
|
55
|
+
* // Extension: "ICO" || "JPEG" || "PNG" || "SVG" || "WEBP", // required
|
|
56
|
+
* // Bytes: new Uint8Array(),
|
|
57
|
+
* // ResourceId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // CreationDate: new Date("TIMESTAMP"),
|
|
61
|
+
* // LastModifiedDate: new Date("TIMESTAMP"),
|
|
62
|
+
* // },
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param DescribeManagedLoginBrandingByClientCommandInput - {@link DescribeManagedLoginBrandingByClientCommandInput}
|
|
68
|
+
* @returns {@link DescribeManagedLoginBrandingByClientCommandOutput}
|
|
69
|
+
* @see {@link DescribeManagedLoginBrandingByClientCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link DescribeManagedLoginBrandingByClientCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
74
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
78
|
+
* parameter.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
81
|
+
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
|
|
85
|
+
* resource.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
88
|
+
* <p>This exception is thrown when the user has made too many requests for a given
|
|
89
|
+
* operation.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link CognitoIdentityProviderServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class DescribeManagedLoginBrandingByClientCommand extends DescribeManagedLoginBrandingByClientCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: DescribeManagedLoginBrandingByClientRequest;
|
|
101
|
+
output: DescribeManagedLoginBrandingByClientResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: DescribeManagedLoginBrandingByClientCommandInput;
|
|
105
|
+
output: DescribeManagedLoginBrandingByClientCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|