@aws-sdk/client-quicksight 3.261.0 → 3.264.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist-cjs/commands/CreateAnalysisCommand.js +1 -2
  2. package/dist-cjs/commands/GetSessionEmbedUrlCommand.js +2 -1
  3. package/dist-cjs/commands/ListAnalysesCommand.js +3 -3
  4. package/dist-cjs/commands/ListDashboardVersionsCommand.js +3 -3
  5. package/dist-cjs/commands/ListDashboardsCommand.js +3 -3
  6. package/dist-cjs/commands/ListDataSetsCommand.js +3 -3
  7. package/dist-cjs/commands/ListDataSourcesCommand.js +1 -2
  8. package/dist-cjs/endpoint/ruleset.js +1 -1
  9. package/dist-cjs/models/models_1.js +39 -64
  10. package/dist-cjs/models/models_2.js +96 -80
  11. package/dist-cjs/models/models_3.js +78 -6
  12. package/dist-cjs/protocols/Aws_restJson1.js +399 -2
  13. package/dist-es/commands/CreateAnalysisCommand.js +1 -2
  14. package/dist-es/commands/GetSessionEmbedUrlCommand.js +2 -1
  15. package/dist-es/commands/ListAnalysesCommand.js +1 -1
  16. package/dist-es/commands/ListDashboardVersionsCommand.js +1 -1
  17. package/dist-es/commands/ListDashboardsCommand.js +1 -1
  18. package/dist-es/commands/ListDataSetsCommand.js +1 -1
  19. package/dist-es/commands/ListDataSourcesCommand.js +1 -2
  20. package/dist-es/endpoint/ruleset.js +1 -1
  21. package/dist-es/models/models_1.js +28 -52
  22. package/dist-es/models/models_2.js +74 -60
  23. package/dist-es/models/models_3.js +61 -2
  24. package/dist-es/protocols/Aws_restJson1.js +399 -2
  25. package/dist-types/QuickSight.d.ts +4 -4
  26. package/dist-types/commands/CreateAnalysisCommand.d.ts +2 -3
  27. package/dist-types/commands/CreateDashboardCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateTemplateCommand.d.ts +2 -2
  29. package/dist-types/commands/GetSessionEmbedUrlCommand.d.ts +2 -1
  30. package/dist-types/commands/ListAnalysesCommand.d.ts +1 -1
  31. package/dist-types/commands/ListDashboardVersionsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListDataSetsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -2
  35. package/dist-types/models/models_0.d.ts +1 -1
  36. package/dist-types/models/models_1.d.ts +192 -193
  37. package/dist-types/models/models_2.d.ts +354 -271
  38. package/dist-types/models/models_3.d.ts +274 -2
  39. package/dist-types/ts3.4/commands/CreateAnalysisCommand.d.ts +4 -2
  40. package/dist-types/ts3.4/commands/GetSessionEmbedUrlCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/ListAnalysesCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/ListDashboardVersionsCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ListDataSetsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +4 -2
  46. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  47. package/dist-types/ts3.4/models/models_1.d.ts +70 -65
  48. package/dist-types/ts3.4/models/models_2.d.ts +116 -118
  49. package/dist-types/ts3.4/models/models_3.d.ts +120 -4
  50. package/package.json +4 -4
@@ -1,8 +1,9 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { AccessDeniedException, } from "../models/models_0";
4
- import { ConcurrentUpdatingException, ConflictException, InternalFailureException, InvalidParameterValueException, PreconditionNotMetException, ResourceExistsException, ResourceNotFoundException, ResourceUnavailableException, ThrottlingException, } from "../models/models_1";
5
- import { DataSourceParameters, DomainNotWhitelistedException, IdentityTypeNotSupportedException, InvalidNextTokenException, InvalidRequestException, LimitExceededException, PhysicalTable, QuickSightUserNotFoundException, SessionLifetimeInMinutesInvalidException, TransformOperation, UnsupportedPricingPlanException, UnsupportedUserEditionException, } from "../models/models_2";
4
+ import { ConcurrentUpdatingException, ConflictException, InternalFailureException, InvalidParameterValueException, ResourceExistsException, ResourceNotFoundException, ResourceUnavailableException, ThrottlingException, } from "../models/models_1";
5
+ import { DataSourceParameters, DomainNotWhitelistedException, IdentityTypeNotSupportedException, InvalidNextTokenException, LimitExceededException, PhysicalTable, PreconditionNotMetException, QuickSightUserNotFoundException, SessionLifetimeInMinutesInvalidException, TransformOperation, UnsupportedPricingPlanException, UnsupportedUserEditionException, } from "../models/models_2";
6
+ import { InvalidRequestException, } from "../models/models_3";
6
7
  import { QuickSightServiceException as __BaseException } from "../models/QuickSightServiceException";
7
8
  export const serializeAws_restJson1CancelIngestionCommand = async (input, context) => {
8
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -5603,6 +5604,9 @@ export const deserializeAws_restJson1DescribeDashboardDefinitionCommand = async
5603
5604
  if (data.DashboardId != null) {
5604
5605
  contents.DashboardId = __expectString(data.DashboardId);
5605
5606
  }
5607
+ if (data.DashboardPublishOptions != null) {
5608
+ contents.DashboardPublishOptions = deserializeAws_restJson1DashboardPublishOptions(data.DashboardPublishOptions, context);
5609
+ }
5606
5610
  if (data.Definition != null) {
5607
5611
  contents.Definition = deserializeAws_restJson1DashboardVersionDefinition(data.Definition, context);
5608
5612
  }
@@ -12031,12 +12035,33 @@ const serializeAws_restJson1DashboardPublishOptions = (input, context) => {
12031
12035
  ...(input.AdHocFilteringOption != null && {
12032
12036
  AdHocFilteringOption: serializeAws_restJson1AdHocFilteringOption(input.AdHocFilteringOption, context),
12033
12037
  }),
12038
+ ...(input.DataPointDrillUpDownOption != null && {
12039
+ DataPointDrillUpDownOption: serializeAws_restJson1DataPointDrillUpDownOption(input.DataPointDrillUpDownOption, context),
12040
+ }),
12041
+ ...(input.DataPointMenuLabelOption != null && {
12042
+ DataPointMenuLabelOption: serializeAws_restJson1DataPointMenuLabelOption(input.DataPointMenuLabelOption, context),
12043
+ }),
12044
+ ...(input.DataPointTooltipOption != null && {
12045
+ DataPointTooltipOption: serializeAws_restJson1DataPointTooltipOption(input.DataPointTooltipOption, context),
12046
+ }),
12034
12047
  ...(input.ExportToCSVOption != null && {
12035
12048
  ExportToCSVOption: serializeAws_restJson1ExportToCSVOption(input.ExportToCSVOption, context),
12036
12049
  }),
12050
+ ...(input.ExportWithHiddenFieldsOption != null && {
12051
+ ExportWithHiddenFieldsOption: serializeAws_restJson1ExportWithHiddenFieldsOption(input.ExportWithHiddenFieldsOption, context),
12052
+ }),
12037
12053
  ...(input.SheetControlsOption != null && {
12038
12054
  SheetControlsOption: serializeAws_restJson1SheetControlsOption(input.SheetControlsOption, context),
12039
12055
  }),
12056
+ ...(input.SheetLayoutElementMaximizationOption != null && {
12057
+ SheetLayoutElementMaximizationOption: serializeAws_restJson1SheetLayoutElementMaximizationOption(input.SheetLayoutElementMaximizationOption, context),
12058
+ }),
12059
+ ...(input.VisualAxisSortOption != null && {
12060
+ VisualAxisSortOption: serializeAws_restJson1VisualAxisSortOption(input.VisualAxisSortOption, context),
12061
+ }),
12062
+ ...(input.VisualMenuOption != null && {
12063
+ VisualMenuOption: serializeAws_restJson1VisualMenuOption(input.VisualMenuOption, context),
12064
+ }),
12040
12065
  ...(input.VisualPublishOptions != null && {
12041
12066
  VisualPublishOptions: serializeAws_restJson1DashboardVisualPublishOptions(input.VisualPublishOptions, context),
12042
12067
  }),
@@ -12228,6 +12253,21 @@ const serializeAws_restJson1DataPathValueList = (input, context) => {
12228
12253
  return serializeAws_restJson1DataPathValue(entry, context);
12229
12254
  });
12230
12255
  };
12256
+ const serializeAws_restJson1DataPointDrillUpDownOption = (input, context) => {
12257
+ return {
12258
+ ...(input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }),
12259
+ };
12260
+ };
12261
+ const serializeAws_restJson1DataPointMenuLabelOption = (input, context) => {
12262
+ return {
12263
+ ...(input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }),
12264
+ };
12265
+ };
12266
+ const serializeAws_restJson1DataPointTooltipOption = (input, context) => {
12267
+ return {
12268
+ ...(input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }),
12269
+ };
12270
+ };
12231
12271
  const serializeAws_restJson1DataSetConfiguration = (input, context) => {
12232
12272
  return {
12233
12273
  ...(input.ColumnGroupSchemaList != null && {
@@ -12715,6 +12755,11 @@ const serializeAws_restJson1ExportToCSVOption = (input, context) => {
12715
12755
  ...(input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }),
12716
12756
  };
12717
12757
  };
12758
+ const serializeAws_restJson1ExportWithHiddenFieldsOption = (input, context) => {
12759
+ return {
12760
+ ...(input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }),
12761
+ };
12762
+ };
12718
12763
  const serializeAws_restJson1FieldBasedTooltip = (input, context) => {
12719
12764
  return {
12720
12765
  ...(input.AggregationVisibility != null && { AggregationVisibility: input.AggregationVisibility }),
@@ -15171,6 +15216,119 @@ const serializeAws_restJson1ProjectOperation = (input, context) => {
15171
15216
  }),
15172
15217
  };
15173
15218
  };
15219
+ const serializeAws_restJson1RadarChartAggregatedFieldWells = (input, context) => {
15220
+ return {
15221
+ ...(input.Category != null && {
15222
+ Category: serializeAws_restJson1RadarChartCategoryFieldList(input.Category, context),
15223
+ }),
15224
+ ...(input.Color != null && { Color: serializeAws_restJson1RadarChartColorFieldList(input.Color, context) }),
15225
+ ...(input.Values != null && { Values: serializeAws_restJson1RadarChartValuesFieldList(input.Values, context) }),
15226
+ };
15227
+ };
15228
+ const serializeAws_restJson1RadarChartAreaStyleSettings = (input, context) => {
15229
+ return {
15230
+ ...(input.Visibility != null && { Visibility: input.Visibility }),
15231
+ };
15232
+ };
15233
+ const serializeAws_restJson1RadarChartCategoryFieldList = (input, context) => {
15234
+ return input
15235
+ .filter((e) => e != null)
15236
+ .map((entry) => {
15237
+ return serializeAws_restJson1DimensionField(entry, context);
15238
+ });
15239
+ };
15240
+ const serializeAws_restJson1RadarChartColorFieldList = (input, context) => {
15241
+ return input
15242
+ .filter((e) => e != null)
15243
+ .map((entry) => {
15244
+ return serializeAws_restJson1DimensionField(entry, context);
15245
+ });
15246
+ };
15247
+ const serializeAws_restJson1RadarChartConfiguration = (input, context) => {
15248
+ return {
15249
+ ...(input.AlternateBandColorsVisibility != null && {
15250
+ AlternateBandColorsVisibility: input.AlternateBandColorsVisibility,
15251
+ }),
15252
+ ...(input.AlternateBandEvenColor != null && { AlternateBandEvenColor: input.AlternateBandEvenColor }),
15253
+ ...(input.AlternateBandOddColor != null && { AlternateBandOddColor: input.AlternateBandOddColor }),
15254
+ ...(input.BaseSeriesSettings != null && {
15255
+ BaseSeriesSettings: serializeAws_restJson1RadarChartSeriesSettings(input.BaseSeriesSettings, context),
15256
+ }),
15257
+ ...(input.CategoryAxis != null && {
15258
+ CategoryAxis: serializeAws_restJson1AxisDisplayOptions(input.CategoryAxis, context),
15259
+ }),
15260
+ ...(input.CategoryLabelOptions != null && {
15261
+ CategoryLabelOptions: serializeAws_restJson1ChartAxisLabelOptions(input.CategoryLabelOptions, context),
15262
+ }),
15263
+ ...(input.ColorAxis != null && { ColorAxis: serializeAws_restJson1AxisDisplayOptions(input.ColorAxis, context) }),
15264
+ ...(input.ColorLabelOptions != null && {
15265
+ ColorLabelOptions: serializeAws_restJson1ChartAxisLabelOptions(input.ColorLabelOptions, context),
15266
+ }),
15267
+ ...(input.FieldWells != null && {
15268
+ FieldWells: serializeAws_restJson1RadarChartFieldWells(input.FieldWells, context),
15269
+ }),
15270
+ ...(input.Legend != null && { Legend: serializeAws_restJson1LegendOptions(input.Legend, context) }),
15271
+ ...(input.Shape != null && { Shape: input.Shape }),
15272
+ ...(input.SortConfiguration != null && {
15273
+ SortConfiguration: serializeAws_restJson1RadarChartSortConfiguration(input.SortConfiguration, context),
15274
+ }),
15275
+ ...(input.StartAngle != null && { StartAngle: __serializeFloat(input.StartAngle) }),
15276
+ ...(input.VisualPalette != null && {
15277
+ VisualPalette: serializeAws_restJson1VisualPalette(input.VisualPalette, context),
15278
+ }),
15279
+ };
15280
+ };
15281
+ const serializeAws_restJson1RadarChartFieldWells = (input, context) => {
15282
+ return {
15283
+ ...(input.RadarChartAggregatedFieldWells != null && {
15284
+ RadarChartAggregatedFieldWells: serializeAws_restJson1RadarChartAggregatedFieldWells(input.RadarChartAggregatedFieldWells, context),
15285
+ }),
15286
+ };
15287
+ };
15288
+ const serializeAws_restJson1RadarChartSeriesSettings = (input, context) => {
15289
+ return {
15290
+ ...(input.AreaStyleSettings != null && {
15291
+ AreaStyleSettings: serializeAws_restJson1RadarChartAreaStyleSettings(input.AreaStyleSettings, context),
15292
+ }),
15293
+ };
15294
+ };
15295
+ const serializeAws_restJson1RadarChartSortConfiguration = (input, context) => {
15296
+ return {
15297
+ ...(input.CategoryItemsLimit != null && {
15298
+ CategoryItemsLimit: serializeAws_restJson1ItemsLimitConfiguration(input.CategoryItemsLimit, context),
15299
+ }),
15300
+ ...(input.CategorySort != null && {
15301
+ CategorySort: serializeAws_restJson1FieldSortOptionsList(input.CategorySort, context),
15302
+ }),
15303
+ ...(input.ColorItemsLimit != null && {
15304
+ ColorItemsLimit: serializeAws_restJson1ItemsLimitConfiguration(input.ColorItemsLimit, context),
15305
+ }),
15306
+ ...(input.ColorSort != null && { ColorSort: serializeAws_restJson1FieldSortOptionsList(input.ColorSort, context) }),
15307
+ };
15308
+ };
15309
+ const serializeAws_restJson1RadarChartValuesFieldList = (input, context) => {
15310
+ return input
15311
+ .filter((e) => e != null)
15312
+ .map((entry) => {
15313
+ return serializeAws_restJson1MeasureField(entry, context);
15314
+ });
15315
+ };
15316
+ const serializeAws_restJson1RadarChartVisual = (input, context) => {
15317
+ return {
15318
+ ...(input.Actions != null && { Actions: serializeAws_restJson1VisualCustomActionList(input.Actions, context) }),
15319
+ ...(input.ChartConfiguration != null && {
15320
+ ChartConfiguration: serializeAws_restJson1RadarChartConfiguration(input.ChartConfiguration, context),
15321
+ }),
15322
+ ...(input.ColumnHierarchies != null && {
15323
+ ColumnHierarchies: serializeAws_restJson1ColumnHierarchyList(input.ColumnHierarchies, context),
15324
+ }),
15325
+ ...(input.Subtitle != null && {
15326
+ Subtitle: serializeAws_restJson1VisualSubtitleLabelOptions(input.Subtitle, context),
15327
+ }),
15328
+ ...(input.Title != null && { Title: serializeAws_restJson1VisualTitleLabelOptions(input.Title, context) }),
15329
+ ...(input.VisualId != null && { VisualId: input.VisualId }),
15330
+ };
15331
+ };
15174
15332
  const serializeAws_restJson1RangeEndsLabelType = (input, context) => {
15175
15333
  return {
15176
15334
  ...(input.Visibility != null && { Visibility: input.Visibility }),
@@ -15811,6 +15969,11 @@ const serializeAws_restJson1SheetElementRenderingRuleList = (input, context) =>
15811
15969
  return serializeAws_restJson1SheetElementRenderingRule(entry, context);
15812
15970
  });
15813
15971
  };
15972
+ const serializeAws_restJson1SheetLayoutElementMaximizationOption = (input, context) => {
15973
+ return {
15974
+ ...(input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }),
15975
+ };
15976
+ };
15814
15977
  const serializeAws_restJson1SheetStyle = (input, context) => {
15815
15978
  return {
15816
15979
  ...(input.Tile != null && { Tile: serializeAws_restJson1TileStyle(input.Tile, context) }),
@@ -16767,6 +16930,9 @@ const serializeAws_restJson1Visual = (input, context) => {
16767
16930
  ...(input.PivotTableVisual != null && {
16768
16931
  PivotTableVisual: serializeAws_restJson1PivotTableVisual(input.PivotTableVisual, context),
16769
16932
  }),
16933
+ ...(input.RadarChartVisual != null && {
16934
+ RadarChartVisual: serializeAws_restJson1RadarChartVisual(input.RadarChartVisual, context),
16935
+ }),
16770
16936
  ...(input.SankeyDiagramVisual != null && {
16771
16937
  SankeyDiagramVisual: serializeAws_restJson1SankeyDiagramVisual(input.SankeyDiagramVisual, context),
16772
16938
  }),
@@ -16785,6 +16951,11 @@ const serializeAws_restJson1Visual = (input, context) => {
16785
16951
  }),
16786
16952
  };
16787
16953
  };
16954
+ const serializeAws_restJson1VisualAxisSortOption = (input, context) => {
16955
+ return {
16956
+ ...(input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }),
16957
+ };
16958
+ };
16788
16959
  const serializeAws_restJson1VisualCustomAction = (input, context) => {
16789
16960
  return {
16790
16961
  ...(input.ActionOperations != null && {
@@ -16833,6 +17004,11 @@ const serializeAws_restJson1VisualList = (input, context) => {
16833
17004
  return serializeAws_restJson1Visual(entry, context);
16834
17005
  });
16835
17006
  };
17007
+ const serializeAws_restJson1VisualMenuOption = (input, context) => {
17008
+ return {
17009
+ ...(input.AvailabilityStatus != null && { AvailabilityStatus: input.AvailabilityStatus }),
17010
+ };
17011
+ };
16836
17012
  const serializeAws_restJson1VisualPalette = (input, context) => {
16837
17013
  return {
16838
17014
  ...(input.ChartColor != null && { ChartColor: input.ChartColor }),
@@ -17082,6 +17258,11 @@ const deserializeAws_restJson1ActiveIAMPolicyAssignmentList = (output, context)
17082
17258
  });
17083
17259
  return retVal;
17084
17260
  };
17261
+ const deserializeAws_restJson1AdHocFilteringOption = (output, context) => {
17262
+ return {
17263
+ AvailabilityStatus: __expectString(output.AvailabilityStatus),
17264
+ };
17265
+ };
17085
17266
  const deserializeAws_restJson1AggregationFunction = (output, context) => {
17086
17267
  return {
17087
17268
  CategoricalAggregationFunction: __expectString(output.CategoricalAggregationFunction),
@@ -18395,6 +18576,43 @@ const deserializeAws_restJson1DashboardErrorList = (output, context) => {
18395
18576
  });
18396
18577
  return retVal;
18397
18578
  };
18579
+ const deserializeAws_restJson1DashboardPublishOptions = (output, context) => {
18580
+ return {
18581
+ AdHocFilteringOption: output.AdHocFilteringOption != null
18582
+ ? deserializeAws_restJson1AdHocFilteringOption(output.AdHocFilteringOption, context)
18583
+ : undefined,
18584
+ DataPointDrillUpDownOption: output.DataPointDrillUpDownOption != null
18585
+ ? deserializeAws_restJson1DataPointDrillUpDownOption(output.DataPointDrillUpDownOption, context)
18586
+ : undefined,
18587
+ DataPointMenuLabelOption: output.DataPointMenuLabelOption != null
18588
+ ? deserializeAws_restJson1DataPointMenuLabelOption(output.DataPointMenuLabelOption, context)
18589
+ : undefined,
18590
+ DataPointTooltipOption: output.DataPointTooltipOption != null
18591
+ ? deserializeAws_restJson1DataPointTooltipOption(output.DataPointTooltipOption, context)
18592
+ : undefined,
18593
+ ExportToCSVOption: output.ExportToCSVOption != null
18594
+ ? deserializeAws_restJson1ExportToCSVOption(output.ExportToCSVOption, context)
18595
+ : undefined,
18596
+ ExportWithHiddenFieldsOption: output.ExportWithHiddenFieldsOption != null
18597
+ ? deserializeAws_restJson1ExportWithHiddenFieldsOption(output.ExportWithHiddenFieldsOption, context)
18598
+ : undefined,
18599
+ SheetControlsOption: output.SheetControlsOption != null
18600
+ ? deserializeAws_restJson1SheetControlsOption(output.SheetControlsOption, context)
18601
+ : undefined,
18602
+ SheetLayoutElementMaximizationOption: output.SheetLayoutElementMaximizationOption != null
18603
+ ? deserializeAws_restJson1SheetLayoutElementMaximizationOption(output.SheetLayoutElementMaximizationOption, context)
18604
+ : undefined,
18605
+ VisualAxisSortOption: output.VisualAxisSortOption != null
18606
+ ? deserializeAws_restJson1VisualAxisSortOption(output.VisualAxisSortOption, context)
18607
+ : undefined,
18608
+ VisualMenuOption: output.VisualMenuOption != null
18609
+ ? deserializeAws_restJson1VisualMenuOption(output.VisualMenuOption, context)
18610
+ : undefined,
18611
+ VisualPublishOptions: output.VisualPublishOptions != null
18612
+ ? deserializeAws_restJson1DashboardVisualPublishOptions(output.VisualPublishOptions, context)
18613
+ : undefined,
18614
+ };
18615
+ };
18398
18616
  const deserializeAws_restJson1DashboardSummary = (output, context) => {
18399
18617
  return {
18400
18618
  Arn: __expectString(output.Arn),
@@ -18483,6 +18701,13 @@ const deserializeAws_restJson1DashboardVersionSummaryList = (output, context) =>
18483
18701
  });
18484
18702
  return retVal;
18485
18703
  };
18704
+ const deserializeAws_restJson1DashboardVisualPublishOptions = (output, context) => {
18705
+ return {
18706
+ ExportHiddenFieldsOption: output.ExportHiddenFieldsOption != null
18707
+ ? deserializeAws_restJson1ExportHiddenFieldsOption(output.ExportHiddenFieldsOption, context)
18708
+ : undefined,
18709
+ };
18710
+ };
18486
18711
  const deserializeAws_restJson1DataBarsOptions = (output, context) => {
18487
18712
  return {
18488
18713
  FieldId: __expectString(output.FieldId),
@@ -18613,6 +18838,21 @@ const deserializeAws_restJson1DataPathValueList = (output, context) => {
18613
18838
  });
18614
18839
  return retVal;
18615
18840
  };
18841
+ const deserializeAws_restJson1DataPointDrillUpDownOption = (output, context) => {
18842
+ return {
18843
+ AvailabilityStatus: __expectString(output.AvailabilityStatus),
18844
+ };
18845
+ };
18846
+ const deserializeAws_restJson1DataPointMenuLabelOption = (output, context) => {
18847
+ return {
18848
+ AvailabilityStatus: __expectString(output.AvailabilityStatus),
18849
+ };
18850
+ };
18851
+ const deserializeAws_restJson1DataPointTooltipOption = (output, context) => {
18852
+ return {
18853
+ AvailabilityStatus: __expectString(output.AvailabilityStatus),
18854
+ };
18855
+ };
18616
18856
  const deserializeAws_restJson1DataSet = (output, context) => {
18617
18857
  return {
18618
18858
  Arn: __expectString(output.Arn),
@@ -19280,6 +19520,21 @@ const deserializeAws_restJson1ExplicitHierarchyColumnList = (output, context) =>
19280
19520
  });
19281
19521
  return retVal;
19282
19522
  };
19523
+ const deserializeAws_restJson1ExportHiddenFieldsOption = (output, context) => {
19524
+ return {
19525
+ AvailabilityStatus: __expectString(output.AvailabilityStatus),
19526
+ };
19527
+ };
19528
+ const deserializeAws_restJson1ExportToCSVOption = (output, context) => {
19529
+ return {
19530
+ AvailabilityStatus: __expectString(output.AvailabilityStatus),
19531
+ };
19532
+ };
19533
+ const deserializeAws_restJson1ExportWithHiddenFieldsOption = (output, context) => {
19534
+ return {
19535
+ AvailabilityStatus: __expectString(output.AvailabilityStatus),
19536
+ };
19537
+ };
19283
19538
  const deserializeAws_restJson1FieldBasedTooltip = (output, context) => {
19284
19539
  return {
19285
19540
  AggregationVisibility: __expectString(output.AggregationVisibility),
@@ -22009,6 +22264,125 @@ const deserializeAws_restJson1QueueInfo = (output, context) => {
22009
22264
  WaitingOnIngestion: __expectString(output.WaitingOnIngestion),
22010
22265
  };
22011
22266
  };
22267
+ const deserializeAws_restJson1RadarChartAggregatedFieldWells = (output, context) => {
22268
+ return {
22269
+ Category: output.Category != null
22270
+ ? deserializeAws_restJson1RadarChartCategoryFieldList(output.Category, context)
22271
+ : undefined,
22272
+ Color: output.Color != null ? deserializeAws_restJson1RadarChartColorFieldList(output.Color, context) : undefined,
22273
+ Values: output.Values != null ? deserializeAws_restJson1RadarChartValuesFieldList(output.Values, context) : undefined,
22274
+ };
22275
+ };
22276
+ const deserializeAws_restJson1RadarChartAreaStyleSettings = (output, context) => {
22277
+ return {
22278
+ Visibility: __expectString(output.Visibility),
22279
+ };
22280
+ };
22281
+ const deserializeAws_restJson1RadarChartCategoryFieldList = (output, context) => {
22282
+ const retVal = (output || [])
22283
+ .filter((e) => e != null)
22284
+ .map((entry) => {
22285
+ if (entry === null) {
22286
+ return null;
22287
+ }
22288
+ return deserializeAws_restJson1DimensionField(entry, context);
22289
+ });
22290
+ return retVal;
22291
+ };
22292
+ const deserializeAws_restJson1RadarChartColorFieldList = (output, context) => {
22293
+ const retVal = (output || [])
22294
+ .filter((e) => e != null)
22295
+ .map((entry) => {
22296
+ if (entry === null) {
22297
+ return null;
22298
+ }
22299
+ return deserializeAws_restJson1DimensionField(entry, context);
22300
+ });
22301
+ return retVal;
22302
+ };
22303
+ const deserializeAws_restJson1RadarChartConfiguration = (output, context) => {
22304
+ return {
22305
+ AlternateBandColorsVisibility: __expectString(output.AlternateBandColorsVisibility),
22306
+ AlternateBandEvenColor: __expectString(output.AlternateBandEvenColor),
22307
+ AlternateBandOddColor: __expectString(output.AlternateBandOddColor),
22308
+ BaseSeriesSettings: output.BaseSeriesSettings != null
22309
+ ? deserializeAws_restJson1RadarChartSeriesSettings(output.BaseSeriesSettings, context)
22310
+ : undefined,
22311
+ CategoryAxis: output.CategoryAxis != null
22312
+ ? deserializeAws_restJson1AxisDisplayOptions(output.CategoryAxis, context)
22313
+ : undefined,
22314
+ CategoryLabelOptions: output.CategoryLabelOptions != null
22315
+ ? deserializeAws_restJson1ChartAxisLabelOptions(output.CategoryLabelOptions, context)
22316
+ : undefined,
22317
+ ColorAxis: output.ColorAxis != null ? deserializeAws_restJson1AxisDisplayOptions(output.ColorAxis, context) : undefined,
22318
+ ColorLabelOptions: output.ColorLabelOptions != null
22319
+ ? deserializeAws_restJson1ChartAxisLabelOptions(output.ColorLabelOptions, context)
22320
+ : undefined,
22321
+ FieldWells: output.FieldWells != null ? deserializeAws_restJson1RadarChartFieldWells(output.FieldWells, context) : undefined,
22322
+ Legend: output.Legend != null ? deserializeAws_restJson1LegendOptions(output.Legend, context) : undefined,
22323
+ Shape: __expectString(output.Shape),
22324
+ SortConfiguration: output.SortConfiguration != null
22325
+ ? deserializeAws_restJson1RadarChartSortConfiguration(output.SortConfiguration, context)
22326
+ : undefined,
22327
+ StartAngle: __limitedParseDouble(output.StartAngle),
22328
+ VisualPalette: output.VisualPalette != null ? deserializeAws_restJson1VisualPalette(output.VisualPalette, context) : undefined,
22329
+ };
22330
+ };
22331
+ const deserializeAws_restJson1RadarChartFieldWells = (output, context) => {
22332
+ return {
22333
+ RadarChartAggregatedFieldWells: output.RadarChartAggregatedFieldWells != null
22334
+ ? deserializeAws_restJson1RadarChartAggregatedFieldWells(output.RadarChartAggregatedFieldWells, context)
22335
+ : undefined,
22336
+ };
22337
+ };
22338
+ const deserializeAws_restJson1RadarChartSeriesSettings = (output, context) => {
22339
+ return {
22340
+ AreaStyleSettings: output.AreaStyleSettings != null
22341
+ ? deserializeAws_restJson1RadarChartAreaStyleSettings(output.AreaStyleSettings, context)
22342
+ : undefined,
22343
+ };
22344
+ };
22345
+ const deserializeAws_restJson1RadarChartSortConfiguration = (output, context) => {
22346
+ return {
22347
+ CategoryItemsLimit: output.CategoryItemsLimit != null
22348
+ ? deserializeAws_restJson1ItemsLimitConfiguration(output.CategoryItemsLimit, context)
22349
+ : undefined,
22350
+ CategorySort: output.CategorySort != null
22351
+ ? deserializeAws_restJson1FieldSortOptionsList(output.CategorySort, context)
22352
+ : undefined,
22353
+ ColorItemsLimit: output.ColorItemsLimit != null
22354
+ ? deserializeAws_restJson1ItemsLimitConfiguration(output.ColorItemsLimit, context)
22355
+ : undefined,
22356
+ ColorSort: output.ColorSort != null ? deserializeAws_restJson1FieldSortOptionsList(output.ColorSort, context) : undefined,
22357
+ };
22358
+ };
22359
+ const deserializeAws_restJson1RadarChartValuesFieldList = (output, context) => {
22360
+ const retVal = (output || [])
22361
+ .filter((e) => e != null)
22362
+ .map((entry) => {
22363
+ if (entry === null) {
22364
+ return null;
22365
+ }
22366
+ return deserializeAws_restJson1MeasureField(entry, context);
22367
+ });
22368
+ return retVal;
22369
+ };
22370
+ const deserializeAws_restJson1RadarChartVisual = (output, context) => {
22371
+ return {
22372
+ Actions: output.Actions != null ? deserializeAws_restJson1VisualCustomActionList(output.Actions, context) : undefined,
22373
+ ChartConfiguration: output.ChartConfiguration != null
22374
+ ? deserializeAws_restJson1RadarChartConfiguration(output.ChartConfiguration, context)
22375
+ : undefined,
22376
+ ColumnHierarchies: output.ColumnHierarchies != null
22377
+ ? deserializeAws_restJson1ColumnHierarchyList(output.ColumnHierarchies, context)
22378
+ : undefined,
22379
+ Subtitle: output.Subtitle != null
22380
+ ? deserializeAws_restJson1VisualSubtitleLabelOptions(output.Subtitle, context)
22381
+ : undefined,
22382
+ Title: output.Title != null ? deserializeAws_restJson1VisualTitleLabelOptions(output.Title, context) : undefined,
22383
+ VisualId: __expectString(output.VisualId),
22384
+ };
22385
+ };
22012
22386
  const deserializeAws_restJson1RangeEndsLabelType = (output, context) => {
22013
22387
  return {
22014
22388
  Visibility: __expectString(output.Visibility),
@@ -22552,6 +22926,11 @@ const deserializeAws_restJson1SheetControlLayoutList = (output, context) => {
22552
22926
  });
22553
22927
  return retVal;
22554
22928
  };
22929
+ const deserializeAws_restJson1SheetControlsOption = (output, context) => {
22930
+ return {
22931
+ VisibilityState: __expectString(output.VisibilityState),
22932
+ };
22933
+ };
22555
22934
  const deserializeAws_restJson1SheetDefinition = (output, context) => {
22556
22935
  return {
22557
22936
  ContentType: __expectString(output.ContentType),
@@ -22608,6 +22987,11 @@ const deserializeAws_restJson1SheetElementRenderingRuleList = (output, context)
22608
22987
  });
22609
22988
  return retVal;
22610
22989
  };
22990
+ const deserializeAws_restJson1SheetLayoutElementMaximizationOption = (output, context) => {
22991
+ return {
22992
+ AvailabilityStatus: __expectString(output.AvailabilityStatus),
22993
+ };
22994
+ };
22611
22995
  const deserializeAws_restJson1SheetList = (output, context) => {
22612
22996
  const retVal = (output || [])
22613
22997
  .filter((e) => e != null)
@@ -23835,6 +24219,9 @@ const deserializeAws_restJson1Visual = (output, context) => {
23835
24219
  PivotTableVisual: output.PivotTableVisual != null
23836
24220
  ? deserializeAws_restJson1PivotTableVisual(output.PivotTableVisual, context)
23837
24221
  : undefined,
24222
+ RadarChartVisual: output.RadarChartVisual != null
24223
+ ? deserializeAws_restJson1RadarChartVisual(output.RadarChartVisual, context)
24224
+ : undefined,
23838
24225
  SankeyDiagramVisual: output.SankeyDiagramVisual != null
23839
24226
  ? deserializeAws_restJson1SankeyDiagramVisual(output.SankeyDiagramVisual, context)
23840
24227
  : undefined,
@@ -23851,6 +24238,11 @@ const deserializeAws_restJson1Visual = (output, context) => {
23851
24238
  : undefined,
23852
24239
  };
23853
24240
  };
24241
+ const deserializeAws_restJson1VisualAxisSortOption = (output, context) => {
24242
+ return {
24243
+ AvailabilityStatus: __expectString(output.AvailabilityStatus),
24244
+ };
24245
+ };
23854
24246
  const deserializeAws_restJson1VisualCustomAction = (output, context) => {
23855
24247
  return {
23856
24248
  ActionOperations: output.ActionOperations != null
@@ -23911,6 +24303,11 @@ const deserializeAws_restJson1VisualList = (output, context) => {
23911
24303
  });
23912
24304
  return retVal;
23913
24305
  };
24306
+ const deserializeAws_restJson1VisualMenuOption = (output, context) => {
24307
+ return {
24308
+ AvailabilityStatus: __expectString(output.AvailabilityStatus),
24309
+ };
24310
+ };
23914
24311
  const deserializeAws_restJson1VisualPalette = (output, context) => {
23915
24312
  return {
23916
24313
  ChartColor: __expectString(output.ChartColor),
@@ -197,13 +197,13 @@ export declare class QuickSight extends QuickSightClient {
197
197
  createAccountSubscription(args: CreateAccountSubscriptionCommandInput, cb: (err: any, data?: CreateAccountSubscriptionCommandOutput) => void): void;
198
198
  createAccountSubscription(args: CreateAccountSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccountSubscriptionCommandOutput) => void): void;
199
199
  /**
200
- * <p>Creates an analysis in Amazon QuickSight.</p>
200
+ * <p>Creates an analysis in Amazon QuickSight. Analyses can be created either from a template or from an <code>AnalysisDefinition</code>.</p>
201
201
  */
202
202
  createAnalysis(args: CreateAnalysisCommandInput, options?: __HttpHandlerOptions): Promise<CreateAnalysisCommandOutput>;
203
203
  createAnalysis(args: CreateAnalysisCommandInput, cb: (err: any, data?: CreateAnalysisCommandOutput) => void): void;
204
204
  createAnalysis(args: CreateAnalysisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAnalysisCommandOutput) => void): void;
205
205
  /**
206
- * <p>Creates a dashboard from a template. To first create a template, see the
206
+ * <p>Creates a dashboard from either a template or directly with a <code>DashboardDefinition</code>. To first create a template, see the
207
207
  * <code>
208
208
  * <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CreateTemplate.html">CreateTemplate</a>
209
209
  * </code>
@@ -291,8 +291,8 @@ export declare class QuickSight extends QuickSightClient {
291
291
  createNamespace(args: CreateNamespaceCommandInput, cb: (err: any, data?: CreateNamespaceCommandOutput) => void): void;
292
292
  createNamespace(args: CreateNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNamespaceCommandOutput) => void): void;
293
293
  /**
294
- * <p>Creates a template from an existing Amazon QuickSight analysis or template. You can use the resulting
295
- * template to create a dashboard.</p>
294
+ * <p>Creates a template either from a <code>TemplateDefinition</code> or from an existing Amazon QuickSight analysis or template. You can use the resulting
295
+ * template to create additional dashboards, templates, or analyses.</p>
296
296
  * <p>A <i>template</i> is an entity in Amazon QuickSight that encapsulates the metadata
297
297
  * required to create an analysis and that you can use to create s dashboard. A template adds
298
298
  * a layer of abstraction by using placeholders to replace the dataset associated with the
@@ -1,15 +1,14 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { CreateAnalysisRequest } from "../models/models_1";
5
- import { CreateAnalysisResponse } from "../models/models_2";
4
+ import { CreateAnalysisRequest, CreateAnalysisResponse } from "../models/models_2";
6
5
  import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
7
6
  export interface CreateAnalysisCommandInput extends CreateAnalysisRequest {
8
7
  }
9
8
  export interface CreateAnalysisCommandOutput extends CreateAnalysisResponse, __MetadataBearer {
10
9
  }
11
10
  /**
12
- * <p>Creates an analysis in Amazon QuickSight.</p>
11
+ * <p>Creates an analysis in Amazon QuickSight. Analyses can be created either from a template or from an <code>AnalysisDefinition</code>.</p>
13
12
  * @example
14
13
  * Use a bare-bones client and the command you need to make an API call.
15
14
  * ```javascript
@@ -8,7 +8,7 @@ export interface CreateDashboardCommandInput extends CreateDashboardRequest {
8
8
  export interface CreateDashboardCommandOutput extends CreateDashboardResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a dashboard from a template. To first create a template, see the
11
+ * <p>Creates a dashboard from either a template or directly with a <code>DashboardDefinition</code>. To first create a template, see the
12
12
  * <code>
13
13
  * <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CreateTemplate.html">CreateTemplate</a>
14
14
  * </code>
@@ -8,8 +8,8 @@ export interface CreateTemplateCommandInput extends CreateTemplateRequest {
8
8
  export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a template from an existing Amazon QuickSight analysis or template. You can use the resulting
12
- * template to create a dashboard.</p>
11
+ * <p>Creates a template either from a <code>TemplateDefinition</code> or from an existing Amazon QuickSight analysis or template. You can use the resulting
12
+ * template to create additional dashboards, templates, or analyses.</p>
13
13
  * <p>A <i>template</i> is an entity in Amazon QuickSight that encapsulates the metadata
14
14
  * required to create an analysis and that you can use to create s dashboard. A template adds
15
15
  * a layer of abstraction by using placeholders to replace the dataset associated with the
@@ -1,7 +1,8 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { GetSessionEmbedUrlRequest, GetSessionEmbedUrlResponse } from "../models/models_2";
4
+ import { GetSessionEmbedUrlRequest } from "../models/models_2";
5
+ import { GetSessionEmbedUrlResponse } from "../models/models_3";
5
6
  import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
6
7
  export interface GetSessionEmbedUrlCommandInput extends GetSessionEmbedUrlRequest {
7
8
  }
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { ListAnalysesRequest, ListAnalysesResponse } from "../models/models_2";
4
+ import { ListAnalysesRequest, ListAnalysesResponse } from "../models/models_3";
5
5
  import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
6
6
  export interface ListAnalysesCommandInput extends ListAnalysesRequest {
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { ListDashboardVersionsRequest, ListDashboardVersionsResponse } from "../models/models_2";
4
+ import { ListDashboardVersionsRequest, ListDashboardVersionsResponse } from "../models/models_3";
5
5
  import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
6
6
  export interface ListDashboardVersionsCommandInput extends ListDashboardVersionsRequest {
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { ListDashboardsRequest, ListDashboardsResponse } from "../models/models_2";
4
+ import { ListDashboardsRequest, ListDashboardsResponse } from "../models/models_3";
5
5
  import { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
6
6
  export interface ListDashboardsCommandInput extends ListDashboardsRequest {
7
7
  }