blib/lib/Paws/Quicksight/UpdateTheme.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Quicksight::UpdateTheme;
3 use Moose;
4 has AwsAccountId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'AwsAccountId', required => 1);
5 has BaseThemeId => (is => 'ro', isa => 'Str', required => 1);
6 has Configuration => (is => 'ro', isa => 'Paws::Quicksight::ThemeConfiguration');
7 has Name => (is => 'ro', isa => 'Str');
8 has ThemeId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'ThemeId', required => 1);
9 has VersionDescription => (is => 'ro', isa => 'Str');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateTheme');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/accounts/{AwsAccountId}/themes/{ThemeId}');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Quicksight::UpdateThemeResponse');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::Quicksight::UpdateTheme - Arguments for method UpdateTheme on L<Paws::Quicksight>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method UpdateTheme on the
28 L<Amazon QuickSight|Paws::Quicksight> service. Use the attributes of this class
29 as arguments to method UpdateTheme.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTheme.
32  
33 =head1 SYNOPSIS
34  
35 my $quicksight = Paws->service('Quicksight');
36 my $UpdateThemeResponse = $quicksight->UpdateTheme(
37 AwsAccountId => 'MyAwsAccountId',
38 BaseThemeId => 'MyRestrictiveResourceId',
39 ThemeId => 'MyRestrictiveResourceId',
40 Configuration => {
41 DataColorPalette => {
42 Colors => [ 'MyHexColor', ... ], # max: 100; OPTIONAL
43 EmptyFillColor => 'MyHexColor',
44 MinMaxGradient => [ 'MyHexColor', ... ], # max: 100; OPTIONAL
45 }, # OPTIONAL
46 Sheet => {
47 Tile => {
48 Border => {
49 Show => 1, # OPTIONAL
50 }, # OPTIONAL
51 }, # OPTIONAL
52 TileLayout => {
53 Gutter => {
54 Show => 1, # OPTIONAL
55 }, # OPTIONAL
56 Margin => {
57 Show => 1, # OPTIONAL
58 }, # OPTIONAL
59 }, # OPTIONAL
60 }, # OPTIONAL
61 UIColorPalette => {
62 Accent => 'MyHexColor',
63 AccentForeground => 'MyHexColor',
64 Danger => 'MyHexColor',
65 DangerForeground => 'MyHexColor',
66 Dimension => 'MyHexColor',
67 DimensionForeground => 'MyHexColor',
68 Measure => 'MyHexColor',
69 MeasureForeground => 'MyHexColor',
70 PrimaryBackground => 'MyHexColor',
71 PrimaryForeground => 'MyHexColor',
72 SecondaryBackground => 'MyHexColor',
73 SecondaryForeground => 'MyHexColor',
74 Success => 'MyHexColor',
75 SuccessForeground => 'MyHexColor',
76 Warning => 'MyHexColor',
77 WarningForeground => 'MyHexColor',
78 }, # OPTIONAL
79 }, # OPTIONAL
80 Name => 'MyThemeName', # OPTIONAL
81 VersionDescription => 'MyVersionDescription', # OPTIONAL
82 );
83  
84 # Results:
85 my $Arn = $UpdateThemeResponse->Arn;
86 my $CreationStatus = $UpdateThemeResponse->CreationStatus;
87 my $RequestId = $UpdateThemeResponse->RequestId;
88 my $Status = $UpdateThemeResponse->Status;
89 my $ThemeId = $UpdateThemeResponse->ThemeId;
90 my $VersionArn = $UpdateThemeResponse->VersionArn;
91  
92 # Returns a L<Paws::Quicksight::UpdateThemeResponse> object.
93  
94 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.
95 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/quicksight/UpdateTheme>
96  
97 =head1 ATTRIBUTES
98  
99  
100 =head2 B<REQUIRED> AwsAccountId => Str
101  
102 The ID of the AWS account that contains the theme that you're updating.
103  
104  
105  
106 =head2 B<REQUIRED> BaseThemeId => Str
107  
108 The theme ID, defined by Amazon QuickSight, that a custom theme
109 inherits from. All themes initially inherit from a default QuickSight
110 theme.
111  
112  
113  
114 =head2 Configuration => L<Paws::Quicksight::ThemeConfiguration>
115  
116 The theme configuration, which contains the theme display properties.
117  
118  
119  
120 =head2 Name => Str
121  
122 The name for the theme.
123  
124  
125  
126 =head2 B<REQUIRED> ThemeId => Str
127  
128 The ID for the theme.
129  
130  
131  
132 =head2 VersionDescription => Str
133  
134 A description of the theme version that you're updating Every time that
135 you call C<UpdateTheme>, you create a new version of the theme. Each
136 version of the theme maintains a description of the version in
137 C<VersionDescription>.
138  
139  
140  
141  
142 =head1 SEE ALSO
143  
144 This class forms part of L<Paws>, documenting arguments for method UpdateTheme in L<Paws::Quicksight>
145  
146 =head1 BUGS and CONTRIBUTIONS
147  
148 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
149  
150 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
151  
152 =cut
153