Skip to content

Commit e9e2008

Browse files
Add RowAxisDisplayOptions and ColumnAxisDisplayOptions to HeatMapConfiguration, add Actions to PluginVisual, increase limit for CalculatedFields list
1 parent 1f46925 commit e9e2008

12 files changed

+137
-5
lines changed

generator/ServiceModels/quicksight/quicksight-2018-04-01.api.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5827,7 +5827,7 @@
58275827
"CalculatedFields":{
58285828
"type":"list",
58295829
"member":{"shape":"CalculatedField"},
5830-
"max":500
5830+
"max":2000
58315831
},
58325832
"CalculatedMeasureField":{
58335833
"type":"structure",
@@ -13980,7 +13980,9 @@
1398013980
"members":{
1398113981
"FieldWells":{"shape":"HeatMapFieldWells"},
1398213982
"SortConfiguration":{"shape":"HeatMapSortConfiguration"},
13983+
"RowAxisDisplayOptions":{"shape":"AxisDisplayOptions"},
1398313984
"RowLabelOptions":{"shape":"ChartAxisLabelOptions"},
13985+
"ColumnAxisDisplayOptions":{"shape":"AxisDisplayOptions"},
1398413986
"ColumnLabelOptions":{"shape":"ChartAxisLabelOptions"},
1398513987
"ColorScale":{"shape":"ColorScale"},
1398613988
"Legend":{"shape":"LegendOptions"},
@@ -18041,6 +18043,7 @@
1804118043
"Title":{"shape":"VisualTitleLabelOptions"},
1804218044
"Subtitle":{"shape":"VisualSubtitleLabelOptions"},
1804318045
"ChartConfiguration":{"shape":"PluginVisualConfiguration"},
18046+
"Actions":{"shape":"VisualCustomActionList"},
1804418047
"VisualContentAltText":{"shape":"LongPlainText"}
1804518048
}
1804618049
},

generator/ServiceModels/quicksight/quicksight-2018-04-01.docs.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,6 +1915,8 @@
19151915
"ComboChartConfiguration$CategoryAxis": "<p>The category axis of a combo chart.</p>",
19161916
"ComboChartConfiguration$PrimaryYAxisDisplayOptions": "<p>The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field well.</p>",
19171917
"ComboChartConfiguration$SecondaryYAxisDisplayOptions": "<p>The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field well.</p>",
1918+
"HeatMapConfiguration$RowAxisDisplayOptions": "<p>The options that determine the presentation of the row axis label.</p>",
1919+
"HeatMapConfiguration$ColumnAxisDisplayOptions": "<p>The options that determine the presentation of the row axis label.</p>",
19181920
"HistogramConfiguration$XAxisDisplayOptions": "<p>The options that determine the presentation of the x-axis.</p>",
19191921
"HistogramConfiguration$YAxisDisplayOptions": "<p>The options that determine the presentation of the y-axis.</p>",
19201922
"LineChartConfiguration$XAxisDisplayOptions": "<p>The options that determine the presentation of the x-axis.</p>",
@@ -15216,6 +15218,7 @@
1521615218
"LineChartVisual$Actions": "<p>The list of custom actions that are configured for a visual.</p>",
1521715219
"PieChartVisual$Actions": "<p>The list of custom actions that are configured for a visual.</p>",
1521815220
"PivotTableVisual$Actions": "<p>The list of custom actions that are configured for a visual.</p>",
15221+
"PluginVisual$Actions": "<p>The list of custom actions that are configured for a visual.</p>",
1521915222
"RadarChartVisual$Actions": "<p>The list of custom actions that are configured for a visual.</p>",
1522015223
"SankeyDiagramVisual$Actions": "<p>The list of custom actions that are configured for a visual.</p>",
1522115224
"ScatterPlotVisual$Actions": "<p>The list of custom actions that are configured for a visual.</p>",

generator/ServiceModels/quicksight/quicksight-2018-04-01.normal.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7377,7 +7377,7 @@
73777377
"CalculatedFields":{
73787378
"type":"list",
73797379
"member":{"shape":"CalculatedField"},
7380-
"max":500
7380+
"max":2000
73817381
},
73827382
"CalculatedMeasureField":{
73837383
"type":"structure",
@@ -20697,10 +20697,18 @@
2069720697
"shape":"HeatMapSortConfiguration",
2069820698
"documentation":"<p>The sort configuration of a heat map.</p>"
2069920699
},
20700+
"RowAxisDisplayOptions":{
20701+
"shape":"AxisDisplayOptions",
20702+
"documentation":"<p>The options that determine the presentation of the row axis label.</p>"
20703+
},
2070020704
"RowLabelOptions":{
2070120705
"shape":"ChartAxisLabelOptions",
2070220706
"documentation":"<p>The label options of the row that is displayed in a <code>heat map</code>.</p>"
2070320707
},
20708+
"ColumnAxisDisplayOptions":{
20709+
"shape":"AxisDisplayOptions",
20710+
"documentation":"<p>The options that determine the presentation of the row axis label.</p>"
20711+
},
2070420712
"ColumnLabelOptions":{
2070520713
"shape":"ChartAxisLabelOptions",
2070620714
"documentation":"<p>The label options of the column that is displayed in a heat map.</p>"
@@ -27154,6 +27162,10 @@
2715427162
"shape":"PluginVisualConfiguration",
2715527163
"documentation":"<p> A description of the plugin field wells and their persisted properties. </p>"
2715627164
},
27165+
"Actions":{
27166+
"shape":"VisualCustomActionList",
27167+
"documentation":"<p>The list of custom actions that are configured for a visual.</p>"
27168+
},
2715727169
"VisualContentAltText":{
2715827170
"shape":"LongPlainText",
2715927171
"documentation":"<p>The alt text for the visual.</p>"

sdk/src/Services/QuickSight/Generated/Model/AnalysisDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ internal bool IsSetAnalysisDefaults()
6666
/// An array of calculated field definitions for the analysis.
6767
/// </para>
6868
/// </summary>
69-
[AWSProperty(Max=500)]
69+
[AWSProperty(Max=2000)]
7070
public List<CalculatedField> CalculatedFields
7171
{
7272
get { return this._calculatedFields; }

sdk/src/Services/QuickSight/Generated/Model/DashboardVersionDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ internal bool IsSetAnalysisDefaults()
6565
/// An array of calculated field definitions for the dashboard.
6666
/// </para>
6767
/// </summary>
68-
[AWSProperty(Max=500)]
68+
[AWSProperty(Max=2000)]
6969
public List<CalculatedField> CalculatedFields
7070
{
7171
get { return this._calculatedFields; }

sdk/src/Services/QuickSight/Generated/Model/HeatMapConfiguration.cs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ namespace Amazon.QuickSight.Model
3535
public partial class HeatMapConfiguration
3636
{
3737
private ColorScale _colorScale;
38+
private AxisDisplayOptions _columnAxisDisplayOptions;
3839
private ChartAxisLabelOptions _columnLabelOptions;
3940
private DataLabelOptions _dataLabels;
4041
private HeatMapFieldWells _fieldWells;
4142
private VisualInteractionOptions _interactions;
4243
private LegendOptions _legend;
44+
private AxisDisplayOptions _rowAxisDisplayOptions;
4345
private ChartAxisLabelOptions _rowLabelOptions;
4446
private HeatMapSortConfiguration _sortConfiguration;
4547
private TooltipOptions _tooltip;
@@ -62,6 +64,24 @@ internal bool IsSetColorScale()
6264
return this._colorScale != null;
6365
}
6466

67+
/// <summary>
68+
/// Gets and sets the property ColumnAxisDisplayOptions.
69+
/// <para>
70+
/// The options that determine the presentation of the row axis label.
71+
/// </para>
72+
/// </summary>
73+
public AxisDisplayOptions ColumnAxisDisplayOptions
74+
{
75+
get { return this._columnAxisDisplayOptions; }
76+
set { this._columnAxisDisplayOptions = value; }
77+
}
78+
79+
// Check to see if ColumnAxisDisplayOptions property is set
80+
internal bool IsSetColumnAxisDisplayOptions()
81+
{
82+
return this._columnAxisDisplayOptions != null;
83+
}
84+
6585
/// <summary>
6686
/// Gets and sets the property ColumnLabelOptions.
6787
/// <para>
@@ -152,6 +172,24 @@ internal bool IsSetLegend()
152172
return this._legend != null;
153173
}
154174

175+
/// <summary>
176+
/// Gets and sets the property RowAxisDisplayOptions.
177+
/// <para>
178+
/// The options that determine the presentation of the row axis label.
179+
/// </para>
180+
/// </summary>
181+
public AxisDisplayOptions RowAxisDisplayOptions
182+
{
183+
get { return this._rowAxisDisplayOptions; }
184+
set { this._rowAxisDisplayOptions = value; }
185+
}
186+
187+
// Check to see if RowAxisDisplayOptions property is set
188+
internal bool IsSetRowAxisDisplayOptions()
189+
{
190+
return this._rowAxisDisplayOptions != null;
191+
}
192+
155193
/// <summary>
156194
/// Gets and sets the property RowLabelOptions.
157195
/// <para>

sdk/src/Services/QuickSight/Generated/Model/Internal/MarshallTransformations/HeatMapConfigurationMarshaller.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,17 @@ public void Marshall(HeatMapConfiguration requestObject, JsonMarshallerContext c
5959
context.Writer.WriteObjectEnd();
6060
}
6161

62+
if(requestObject.IsSetColumnAxisDisplayOptions())
63+
{
64+
context.Writer.WritePropertyName("ColumnAxisDisplayOptions");
65+
context.Writer.WriteObjectStart();
66+
67+
var marshaller = AxisDisplayOptionsMarshaller.Instance;
68+
marshaller.Marshall(requestObject.ColumnAxisDisplayOptions, context);
69+
70+
context.Writer.WriteObjectEnd();
71+
}
72+
6273
if(requestObject.IsSetColumnLabelOptions())
6374
{
6475
context.Writer.WritePropertyName("ColumnLabelOptions");
@@ -114,6 +125,17 @@ public void Marshall(HeatMapConfiguration requestObject, JsonMarshallerContext c
114125
context.Writer.WriteObjectEnd();
115126
}
116127

128+
if(requestObject.IsSetRowAxisDisplayOptions())
129+
{
130+
context.Writer.WritePropertyName("RowAxisDisplayOptions");
131+
context.Writer.WriteObjectStart();
132+
133+
var marshaller = AxisDisplayOptionsMarshaller.Instance;
134+
marshaller.Marshall(requestObject.RowAxisDisplayOptions, context);
135+
136+
context.Writer.WriteObjectEnd();
137+
}
138+
117139
if(requestObject.IsSetRowLabelOptions())
118140
{
119141
context.Writer.WritePropertyName("RowLabelOptions");

sdk/src/Services/QuickSight/Generated/Model/Internal/MarshallTransformations/HeatMapConfigurationUnmarshaller.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ public HeatMapConfiguration Unmarshall(JsonUnmarshallerContext context)
7272
unmarshalledObject.ColorScale = unmarshaller.Unmarshall(context);
7373
continue;
7474
}
75+
if (context.TestExpression("ColumnAxisDisplayOptions", targetDepth))
76+
{
77+
var unmarshaller = AxisDisplayOptionsUnmarshaller.Instance;
78+
unmarshalledObject.ColumnAxisDisplayOptions = unmarshaller.Unmarshall(context);
79+
continue;
80+
}
7581
if (context.TestExpression("ColumnLabelOptions", targetDepth))
7682
{
7783
var unmarshaller = ChartAxisLabelOptionsUnmarshaller.Instance;
@@ -102,6 +108,12 @@ public HeatMapConfiguration Unmarshall(JsonUnmarshallerContext context)
102108
unmarshalledObject.Legend = unmarshaller.Unmarshall(context);
103109
continue;
104110
}
111+
if (context.TestExpression("RowAxisDisplayOptions", targetDepth))
112+
{
113+
var unmarshaller = AxisDisplayOptionsUnmarshaller.Instance;
114+
unmarshalledObject.RowAxisDisplayOptions = unmarshaller.Unmarshall(context);
115+
continue;
116+
}
105117
if (context.TestExpression("RowLabelOptions", targetDepth))
106118
{
107119
var unmarshaller = ChartAxisLabelOptionsUnmarshaller.Instance;

sdk/src/Services/QuickSight/Generated/Model/Internal/MarshallTransformations/PluginVisualMarshaller.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,22 @@ public void Marshall(PluginVisual requestObject, JsonMarshallerContext context)
4848
{
4949
if(requestObject == null)
5050
return;
51+
if(requestObject.IsSetActions())
52+
{
53+
context.Writer.WritePropertyName("Actions");
54+
context.Writer.WriteArrayStart();
55+
foreach(var requestObjectActionsListValue in requestObject.Actions)
56+
{
57+
context.Writer.WriteObjectStart();
58+
59+
var marshaller = VisualCustomActionMarshaller.Instance;
60+
marshaller.Marshall(requestObjectActionsListValue, context);
61+
62+
context.Writer.WriteObjectEnd();
63+
}
64+
context.Writer.WriteArrayEnd();
65+
}
66+
5167
if(requestObject.IsSetChartConfiguration())
5268
{
5369
context.Writer.WritePropertyName("ChartConfiguration");

sdk/src/Services/QuickSight/Generated/Model/Internal/MarshallTransformations/PluginVisualUnmarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ public PluginVisual Unmarshall(JsonUnmarshallerContext context)
6666
int targetDepth = context.CurrentDepth;
6767
while (context.ReadAtDepth(targetDepth))
6868
{
69+
if (context.TestExpression("Actions", targetDepth))
70+
{
71+
var unmarshaller = new ListUnmarshaller<VisualCustomAction, VisualCustomActionUnmarshaller>(VisualCustomActionUnmarshaller.Instance);
72+
unmarshalledObject.Actions = unmarshaller.Unmarshall(context);
73+
continue;
74+
}
6975
if (context.TestExpression("ChartConfiguration", targetDepth))
7076
{
7177
var unmarshaller = PluginVisualConfigurationUnmarshaller.Instance;

0 commit comments

Comments
 (0)