AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateManagedLoginBranding operation. Configures the branding settings for a user pool style. This operation is the programmatic option for the configuration of a style in the branding editor.

Provides values for UI customization in a Settings JSON object and image files in an Assets array.

This operation has a 2-megabyte request-size limit and include the CSS settings and image assets for your app client. Your branding settings might exceed 2MB in size. Amazon Cognito doesn't require that you pass all parameters in one request and preserves existing style settings that you don't specify. If your request is larger than 2MB, separate it into multiple requests, each with a size smaller than the limit.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderRequest
      Amazon.CognitoIdentityProvider.Model.UpdateManagedLoginBrandingRequest

Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateManagedLoginBrandingRequest : AmazonCognitoIdentityProviderRequest
         IAmazonWebServiceRequest

The UpdateManagedLoginBrandingRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Assets System.Collections.Generic.List<Amazon.CognitoIdentityProvider.Model.AssetType>

Gets and sets the property Assets.

An array of image files that you want to apply to roles like backgrounds, logos, and icons. Each object must also indicate whether it is for dark mode, light mode, or browser-adaptive mode.

Public Property ManagedLoginBrandingId System.String

Gets and sets the property ManagedLoginBrandingId.

The ID of the managed login branding style that you want to update.

Public Property Settings Amazon.Runtime.Documents.Document

Gets and sets the property Settings.

A JSON file, encoded as a Document type, with the the settings that you want to apply to your style.

The following components are not currently implemented and reserved for future use:

Public Property UseCognitoProvidedValues System.Boolean

Gets and sets the property UseCognitoProvidedValues.

When true, applies the default branding style options. This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding editor.

When you specify true for this option, you must also omit values for Settings and Assets in the request.

Public Property UserPoolId System.String

Gets and sets the property UserPoolId.

The ID of the user pool that contains the managed login branding style that you want to update.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5