NAME
Paws::Quicksight::CreateTheme - Arguments for method CreateTheme on Paws::Quicksight
DESCRIPTION
This class represents the parameters used for calling the method CreateTheme on the Amazon QuickSight service. Use the attributes of this class as arguments to method CreateTheme.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateTheme.
SYNOPSIS
my $quicksight = Paws->service('Quicksight');
my $CreateThemeResponse = $quicksight->CreateTheme(
AwsAccountId => 'MyAwsAccountId',
BaseThemeId => 'MyRestrictiveResourceId',
Configuration => {
DataColorPalette => {
Colors => [ 'MyHexColor', ... ], # max: 100; OPTIONAL
EmptyFillColor => 'MyHexColor',
MinMaxGradient => [ 'MyHexColor', ... ], # max: 100; OPTIONAL
}, # OPTIONAL
Sheet => {
Tile => {
Border => {
Show => 1, # OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
TileLayout => {
Gutter => {
Show => 1, # OPTIONAL
}, # OPTIONAL
Margin => {
Show => 1, # OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
UIColorPalette => {
Accent => 'MyHexColor',
AccentForeground => 'MyHexColor',
Danger => 'MyHexColor',
DangerForeground => 'MyHexColor',
Dimension => 'MyHexColor',
DimensionForeground => 'MyHexColor',
Measure => 'MyHexColor',
MeasureForeground => 'MyHexColor',
PrimaryBackground => 'MyHexColor',
PrimaryForeground => 'MyHexColor',
SecondaryBackground => 'MyHexColor',
SecondaryForeground => 'MyHexColor',
Success => 'MyHexColor',
SuccessForeground => 'MyHexColor',
Warning => 'MyHexColor',
WarningForeground => 'MyHexColor',
}, # OPTIONAL
},
Name => 'MyThemeName',
ThemeId => 'MyRestrictiveResourceId',
Permissions => [
{
Actions => [ 'MyString', ... ], # min: 1, max: 16
Principal => 'MyPrincipal', # min: 1, max: 256
},
...
], # OPTIONAL
Tags => [
{
Key => 'MyTagKey', # min: 1, max: 128
Value => 'MyTagValue', # min: 1, max: 256
},
...
], # OPTIONAL
VersionDescription => 'MyVersionDescription', # OPTIONAL
);
# Results:
my $Arn = $CreateThemeResponse->Arn;
my $CreationStatus = $CreateThemeResponse->CreationStatus;
my $RequestId = $CreateThemeResponse->RequestId;
my $Status = $CreateThemeResponse->Status;
my $ThemeId = $CreateThemeResponse->ThemeId;
my $VersionArn = $CreateThemeResponse->VersionArn;
# Returns a L<Paws::Quicksight::CreateThemeResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/quicksight/CreateTheme
ATTRIBUTES
REQUIRED AwsAccountId => Str
The ID of the AWS account where you want to store the new theme.
REQUIRED BaseThemeId => Str
The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes
or choose Themes from within a QuickSight analysis.
REQUIRED Configuration => Paws::Quicksight::ThemeConfiguration
The theme configuration, which contains the theme display properties.
REQUIRED Name => Str
A display name for the theme.
Permissions => ArrayRef[Paws::Quicksight::ResourcePermission]
A valid grouping of resource permissions to apply to the new theme.
Tags => ArrayRef[Paws::Quicksight::Tag]
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
REQUIRED ThemeId => Str
An ID for the theme that you want to create. The theme ID is unique per AWS Region in each AWS account.
VersionDescription => Str
A description of the first version of the theme that you're creating. Every time UpdateTheme
is called, a new version is created. Each version of the theme has a description of the version in the VersionDescription
field.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateTheme in Paws::Quicksight
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues