@aws-sdk/client-cognito-identity-provider
Version:
AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native
110 lines (109 loc) • 5.78 kB
TypeScript
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
import { DescribeManagedLoginBrandingByClientRequest, DescribeManagedLoginBrandingByClientResponse } from "../models/models_0";
/**
* @public
*/
export type { __MetadataBearer };
export { $Command };
/**
* @public
*
* The input for {@link DescribeManagedLoginBrandingByClientCommand}.
*/
export interface DescribeManagedLoginBrandingByClientCommandInput extends DescribeManagedLoginBrandingByClientRequest {
}
/**
* @public
*
* The output of {@link DescribeManagedLoginBrandingByClientCommand}.
*/
export interface DescribeManagedLoginBrandingByClientCommandOutput extends DescribeManagedLoginBrandingByClientResponse, __MetadataBearer {
}
declare const DescribeManagedLoginBrandingByClientCommand_base: {
new (input: DescribeManagedLoginBrandingByClientCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeManagedLoginBrandingByClientCommandInput, DescribeManagedLoginBrandingByClientCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
new (input: DescribeManagedLoginBrandingByClientCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeManagedLoginBrandingByClientCommandInput, DescribeManagedLoginBrandingByClientCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
};
/**
* <p>Given the ID of a user pool app client, returns detailed information about the style
* assigned to the app client.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { CognitoIdentityProviderClient, DescribeManagedLoginBrandingByClientCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
* // const { CognitoIdentityProviderClient, DescribeManagedLoginBrandingByClientCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
* const client = new CognitoIdentityProviderClient(config);
* const input = { // DescribeManagedLoginBrandingByClientRequest
* UserPoolId: "STRING_VALUE", // required
* ClientId: "STRING_VALUE", // required
* ReturnMergedResources: true || false,
* };
* const command = new DescribeManagedLoginBrandingByClientCommand(input);
* const response = await client.send(command);
* // { // DescribeManagedLoginBrandingByClientResponse
* // ManagedLoginBranding: { // ManagedLoginBrandingType
* // ManagedLoginBrandingId: "STRING_VALUE",
* // UserPoolId: "STRING_VALUE",
* // UseCognitoProvidedValues: true || false,
* // Settings: "DOCUMENT_VALUE",
* // Assets: [ // AssetListType
* // { // AssetType
* // 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
* // ColorMode: "LIGHT" || "DARK" || "DYNAMIC", // required
* // Extension: "ICO" || "JPEG" || "PNG" || "SVG" || "WEBP", // required
* // Bytes: new Uint8Array(),
* // ResourceId: "STRING_VALUE",
* // },
* // ],
* // CreationDate: new Date("TIMESTAMP"),
* // LastModifiedDate: new Date("TIMESTAMP"),
* // },
* // };
*
* ```
*
* @param DescribeManagedLoginBrandingByClientCommandInput - {@link DescribeManagedLoginBrandingByClientCommandInput}
* @returns {@link DescribeManagedLoginBrandingByClientCommandOutput}
* @see {@link DescribeManagedLoginBrandingByClientCommandInput} for command's `input` shape.
* @see {@link DescribeManagedLoginBrandingByClientCommandOutput} for command's `response` shape.
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
*
* @throws {@link InternalErrorException} (server fault)
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
*
* @throws {@link InvalidParameterException} (client fault)
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
* parameter.</p>
*
* @throws {@link NotAuthorizedException} (client fault)
* <p>This exception is thrown when a user isn't authorized.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
* resource.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>This exception is thrown when the user has made too many requests for a given
* operation.</p>
*
* @throws {@link CognitoIdentityProviderServiceException}
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
*
*
* @public
*/
export declare class DescribeManagedLoginBrandingByClientCommand extends DescribeManagedLoginBrandingByClientCommand_base {
/** @internal type navigation helper, not in runtime. */
protected static __types: {
api: {
input: DescribeManagedLoginBrandingByClientRequest;
output: DescribeManagedLoginBrandingByClientResponse;
};
sdk: {
input: DescribeManagedLoginBrandingByClientCommandInput;
output: DescribeManagedLoginBrandingByClientCommandOutput;
};
};
}