Skip to content

Commit 1decbd3

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

12 files changed

+142
-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
@@ -71,7 +71,7 @@ internal bool IsSetAnalysisDefaults()
7171
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
7272
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
7373
/// </summary>
74-
[AWSProperty(Max=500)]
74+
[AWSProperty(Max=2000)]
7575
public List<CalculatedField> CalculatedFields
7676
{
7777
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
@@ -70,7 +70,7 @@ internal bool IsSetAnalysisDefaults()
7070
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
7171
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
7272
/// </summary>
73-
[AWSProperty(Max=500)]
73+
[AWSProperty(Max=2000)]
7474
public List<CalculatedField> CalculatedFields
7575
{
7676
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
@@ -57,6 +57,17 @@ public void Marshall(HeatMapConfiguration requestObject, JsonMarshallerContext c
5757
context.Writer.WriteEndObject();
5858
}
5959

60+
if(requestObject.IsSetColumnAxisDisplayOptions())
61+
{
62+
context.Writer.WritePropertyName("ColumnAxisDisplayOptions");
63+
context.Writer.WriteStartObject();
64+
65+
var marshaller = AxisDisplayOptionsMarshaller.Instance;
66+
marshaller.Marshall(requestObject.ColumnAxisDisplayOptions, context);
67+
68+
context.Writer.WriteEndObject();
69+
}
70+
6071
if(requestObject.IsSetColumnLabelOptions())
6172
{
6273
context.Writer.WritePropertyName("ColumnLabelOptions");
@@ -112,6 +123,17 @@ public void Marshall(HeatMapConfiguration requestObject, JsonMarshallerContext c
112123
context.Writer.WriteEndObject();
113124
}
114125

126+
if(requestObject.IsSetRowAxisDisplayOptions())
127+
{
128+
context.Writer.WritePropertyName("RowAxisDisplayOptions");
129+
context.Writer.WriteStartObject();
130+
131+
var marshaller = AxisDisplayOptionsMarshaller.Instance;
132+
marshaller.Marshall(requestObject.RowAxisDisplayOptions, context);
133+
134+
context.Writer.WriteEndObject();
135+
}
136+
115137
if(requestObject.IsSetRowLabelOptions())
116138
{
117139
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
@@ -62,6 +62,12 @@ public HeatMapConfiguration Unmarshall(JsonUnmarshallerContext context, ref Stre
6262
unmarshalledObject.ColorScale = unmarshaller.Unmarshall(context, ref reader);
6363
continue;
6464
}
65+
if (context.TestExpression("ColumnAxisDisplayOptions", targetDepth))
66+
{
67+
var unmarshaller = AxisDisplayOptionsUnmarshaller.Instance;
68+
unmarshalledObject.ColumnAxisDisplayOptions = unmarshaller.Unmarshall(context, ref reader);
69+
continue;
70+
}
6571
if (context.TestExpression("ColumnLabelOptions", targetDepth))
6672
{
6773
var unmarshaller = ChartAxisLabelOptionsUnmarshaller.Instance;
@@ -92,6 +98,12 @@ public HeatMapConfiguration Unmarshall(JsonUnmarshallerContext context, ref Stre
9298
unmarshalledObject.Legend = unmarshaller.Unmarshall(context, ref reader);
9399
continue;
94100
}
101+
if (context.TestExpression("RowAxisDisplayOptions", targetDepth))
102+
{
103+
var unmarshaller = AxisDisplayOptionsUnmarshaller.Instance;
104+
unmarshalledObject.RowAxisDisplayOptions = unmarshaller.Unmarshall(context, ref reader);
105+
continue;
106+
}
95107
if (context.TestExpression("RowLabelOptions", targetDepth))
96108
{
97109
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
@@ -46,6 +46,22 @@ public void Marshall(PluginVisual requestObject, JsonMarshallerContext context)
4646
{
4747
if(requestObject == null)
4848
return;
49+
if(requestObject.IsSetActions())
50+
{
51+
context.Writer.WritePropertyName("Actions");
52+
context.Writer.WriteStartArray();
53+
foreach(var requestObjectActionsListValue in requestObject.Actions)
54+
{
55+
context.Writer.WriteStartObject();
56+
57+
var marshaller = VisualCustomActionMarshaller.Instance;
58+
marshaller.Marshall(requestObjectActionsListValue, context);
59+
60+
context.Writer.WriteEndObject();
61+
}
62+
context.Writer.WriteEndArray();
63+
}
64+
4965
if(requestObject.IsSetChartConfiguration())
5066
{
5167
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
@@ -56,6 +56,12 @@ public PluginVisual Unmarshall(JsonUnmarshallerContext context, ref StreamingUtf
5656
int targetDepth = context.CurrentDepth;
5757
while (context.ReadAtDepth(targetDepth, ref reader))
5858
{
59+
if (context.TestExpression("Actions", targetDepth))
60+
{
61+
var unmarshaller = new JsonListUnmarshaller<VisualCustomAction, VisualCustomActionUnmarshaller>(VisualCustomActionUnmarshaller.Instance);
62+
unmarshalledObject.Actions = unmarshaller.Unmarshall(context, ref reader);
63+
continue;
64+
}
5965
if (context.TestExpression("ChartConfiguration", targetDepth))
6066
{
6167
var unmarshaller = PluginVisualConfigurationUnmarshaller.Instance;

0 commit comments

Comments
 (0)