@aws-sdk/client-quicksight 3.948.0 → 3.952.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 (62) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +415 -101
  3. package/dist-es/QuickSight.js +2 -0
  4. package/dist-es/commands/GetIdentityContextCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +49 -17
  7. package/dist-es/schemas/schemas_0.js +349 -84
  8. package/dist-types/QuickSight.d.ts +7 -0
  9. package/dist-types/QuickSightClient.d.ts +3 -2
  10. package/dist-types/commands/CreateAnalysisCommand.d.ts +194 -0
  11. package/dist-types/commands/CreateDashboardCommand.d.ts +194 -0
  12. package/dist-types/commands/CreateDataSetCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateDataSourceCommand.d.ts +5 -0
  14. package/dist-types/commands/CreateTemplateCommand.d.ts +194 -0
  15. package/dist-types/commands/DescribeAnalysisDefinitionCommand.d.ts +194 -0
  16. package/dist-types/commands/DescribeDashboardDefinitionCommand.d.ts +194 -0
  17. package/dist-types/commands/DescribeDashboardSnapshotJobCommand.d.ts +19 -0
  18. package/dist-types/commands/DescribeDashboardSnapshotJobResultCommand.d.ts +89 -0
  19. package/dist-types/commands/DescribeTemplateDefinitionCommand.d.ts +194 -0
  20. package/dist-types/commands/DescribeThemeAliasCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeThemeCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeThemePermissionsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeTopicCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeTopicPermissionsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeTopicRefreshCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeTopicRefreshScheduleCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  28. package/dist-types/commands/GetIdentityContextCommand.d.ts +143 -0
  29. package/dist-types/commands/StartDashboardSnapshotJobCommand.d.ts +55 -0
  30. package/dist-types/commands/UpdateAnalysisCommand.d.ts +194 -0
  31. package/dist-types/commands/UpdateDashboardCommand.d.ts +194 -0
  32. package/dist-types/commands/UpdateDataSourceCommand.d.ts +5 -0
  33. package/dist-types/commands/UpdateTemplateCommand.d.ts +194 -0
  34. package/dist-types/commands/index.d.ts +1 -0
  35. package/dist-types/models/enums.d.ts +97 -41
  36. package/dist-types/models/models_0.d.ts +265 -162
  37. package/dist-types/models/models_1.d.ts +615 -822
  38. package/dist-types/models/models_2.d.ts +5138 -5090
  39. package/dist-types/models/models_3.d.ts +3935 -3902
  40. package/dist-types/models/models_4.d.ts +727 -7
  41. package/dist-types/schemas/schemas_0.d.ts +33 -0
  42. package/dist-types/ts3.4/QuickSight.d.ts +17 -0
  43. package/dist-types/ts3.4/QuickSightClient.d.ts +6 -0
  44. package/dist-types/ts3.4/commands/CreateDataSetCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DescribeThemeAliasCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeThemeCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/DescribeThemePermissionsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DescribeTopicCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DescribeTopicPermissionsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/DescribeTopicRefreshCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/DescribeTopicRefreshScheduleCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/GetIdentityContextCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  55. package/dist-types/ts3.4/models/enums.d.ts +61 -23
  56. package/dist-types/ts3.4/models/models_0.d.ts +41 -38
  57. package/dist-types/ts3.4/models/models_1.d.ts +140 -164
  58. package/dist-types/ts3.4/models/models_2.d.ts +174 -176
  59. package/dist-types/ts3.4/models/models_3.d.ts +183 -147
  60. package/dist-types/ts3.4/models/models_4.d.ts +189 -13
  61. package/dist-types/ts3.4/schemas/schemas_0.d.ts +33 -0
  62. package/package.json +2 -2
@@ -970,6 +970,14 @@ declare const DescribeTemplateDefinitionCommand_base: {
970
970
  * // },
971
971
  * // },
972
972
  * // ],
973
+ * // DashboardCustomizationVisualOptions: { // DashboardCustomizationVisualOptions
974
+ * // FieldsConfiguration: { // VisualCustomizationFieldsConfiguration
975
+ * // Status: "ENABLED" || "DISABLED",
976
+ * // AdditionalFields: [ // VisualCustomizationAdditionalFieldsList
977
+ * // "<ColumnIdentifier>",
978
+ * // ],
979
+ * // },
980
+ * // },
973
981
  * // Interactions: { // VisualInteractionOptions
974
982
  * // VisualMenuOption: { // VisualMenuOption
975
983
  * // AvailabilityStatus: "ENABLED" || "DISABLED",
@@ -1482,6 +1490,14 @@ declare const DescribeTemplateDefinitionCommand_base: {
1482
1490
  * // VerticalOverflowVisibility: "HIDDEN" || "VISIBLE",
1483
1491
  * // OverflowColumnHeaderVisibility: "HIDDEN" || "VISIBLE",
1484
1492
  * // },
1493
+ * // DashboardCustomizationVisualOptions: {
1494
+ * // FieldsConfiguration: {
1495
+ * // Status: "ENABLED" || "DISABLED",
1496
+ * // AdditionalFields: [
1497
+ * // "<ColumnIdentifier>",
1498
+ * // ],
1499
+ * // },
1500
+ * // },
1485
1501
  * // Interactions: {
1486
1502
  * // VisualMenuOption: {
1487
1503
  * // AvailabilityStatus: "ENABLED" || "DISABLED",
@@ -1959,6 +1975,59 @@ declare const DescribeTemplateDefinitionCommand_base: {
1959
1975
  * // },
1960
1976
  * // ],
1961
1977
  * // },
1978
+ * // DefaultSeriesSettings: { // BarChartDefaultSeriesSettings
1979
+ * // DecalSettings: { // DecalSettings
1980
+ * // ElementValue: "STRING_VALUE",
1981
+ * // DecalVisibility: "HIDDEN" || "VISIBLE",
1982
+ * // DecalColor: "STRING_VALUE",
1983
+ * // DecalPatternType: "SOLID" || "DIAGONAL_MEDIUM" || "CIRCLE_MEDIUM" || "DIAMOND_GRID_MEDIUM" || "CHECKERBOARD_MEDIUM" || "TRIANGLE_MEDIUM" || "DIAGONAL_OPPOSITE_MEDIUM" || "DIAMOND_MEDIUM" || "DIAGONAL_LARGE" || "CIRCLE_LARGE" || "DIAMOND_GRID_LARGE" || "CHECKERBOARD_LARGE" || "TRIANGLE_LARGE" || "DIAGONAL_OPPOSITE_LARGE" || "DIAMOND_LARGE" || "DIAGONAL_SMALL" || "CIRCLE_SMALL" || "DIAMOND_GRID_SMALL" || "CHECKERBOARD_SMALL" || "TRIANGLE_SMALL" || "DIAGONAL_OPPOSITE_SMALL" || "DIAMOND_SMALL",
1984
+ * // DecalStyleType: "Manual" || "Auto",
1985
+ * // },
1986
+ * // BorderSettings: { // BorderSettings
1987
+ * // BorderVisibility: "HIDDEN" || "VISIBLE",
1988
+ * // BorderWidth: "STRING_VALUE",
1989
+ * // BorderColor: "STRING_VALUE",
1990
+ * // },
1991
+ * // },
1992
+ * // Series: [ // BarSeriesItemList
1993
+ * // { // BarSeriesItem
1994
+ * // FieldBarSeriesItem: { // FieldBarSeriesItem
1995
+ * // FieldId: "STRING_VALUE", // required
1996
+ * // Settings: { // BarChartSeriesSettings
1997
+ * // DecalSettings: {
1998
+ * // ElementValue: "STRING_VALUE",
1999
+ * // DecalVisibility: "HIDDEN" || "VISIBLE",
2000
+ * // DecalColor: "STRING_VALUE",
2001
+ * // DecalPatternType: "SOLID" || "DIAGONAL_MEDIUM" || "CIRCLE_MEDIUM" || "DIAMOND_GRID_MEDIUM" || "CHECKERBOARD_MEDIUM" || "TRIANGLE_MEDIUM" || "DIAGONAL_OPPOSITE_MEDIUM" || "DIAMOND_MEDIUM" || "DIAGONAL_LARGE" || "CIRCLE_LARGE" || "DIAMOND_GRID_LARGE" || "CHECKERBOARD_LARGE" || "TRIANGLE_LARGE" || "DIAGONAL_OPPOSITE_LARGE" || "DIAMOND_LARGE" || "DIAGONAL_SMALL" || "CIRCLE_SMALL" || "DIAMOND_GRID_SMALL" || "CHECKERBOARD_SMALL" || "TRIANGLE_SMALL" || "DIAGONAL_OPPOSITE_SMALL" || "DIAMOND_SMALL",
2002
+ * // DecalStyleType: "Manual" || "Auto",
2003
+ * // },
2004
+ * // BorderSettings: {
2005
+ * // BorderVisibility: "HIDDEN" || "VISIBLE",
2006
+ * // BorderWidth: "STRING_VALUE",
2007
+ * // BorderColor: "STRING_VALUE",
2008
+ * // },
2009
+ * // },
2010
+ * // },
2011
+ * // DataFieldBarSeriesItem: { // DataFieldBarSeriesItem
2012
+ * // FieldId: "STRING_VALUE", // required
2013
+ * // FieldValue: "STRING_VALUE",
2014
+ * // Settings: {
2015
+ * // DecalSettings: {
2016
+ * // ElementValue: "STRING_VALUE",
2017
+ * // DecalVisibility: "HIDDEN" || "VISIBLE",
2018
+ * // DecalColor: "STRING_VALUE",
2019
+ * // DecalPatternType: "SOLID" || "DIAGONAL_MEDIUM" || "CIRCLE_MEDIUM" || "DIAMOND_GRID_MEDIUM" || "CHECKERBOARD_MEDIUM" || "TRIANGLE_MEDIUM" || "DIAGONAL_OPPOSITE_MEDIUM" || "DIAMOND_MEDIUM" || "DIAGONAL_LARGE" || "CIRCLE_LARGE" || "DIAMOND_GRID_LARGE" || "CHECKERBOARD_LARGE" || "TRIANGLE_LARGE" || "DIAGONAL_OPPOSITE_LARGE" || "DIAMOND_LARGE" || "DIAGONAL_SMALL" || "CIRCLE_SMALL" || "DIAMOND_GRID_SMALL" || "CHECKERBOARD_SMALL" || "TRIANGLE_SMALL" || "DIAGONAL_OPPOSITE_SMALL" || "DIAMOND_SMALL",
2020
+ * // DecalStyleType: "Manual" || "Auto",
2021
+ * // },
2022
+ * // BorderSettings: {
2023
+ * // BorderVisibility: "HIDDEN" || "VISIBLE",
2024
+ * // BorderWidth: "STRING_VALUE",
2025
+ * // BorderColor: "STRING_VALUE",
2026
+ * // },
2027
+ * // },
2028
+ * // },
2029
+ * // },
2030
+ * // ],
1962
2031
  * // Legend: { // LegendOptions
1963
2032
  * // Visibility: "HIDDEN" || "VISIBLE",
1964
2033
  * // Title: "<LabelOptions>",
@@ -3195,6 +3264,13 @@ declare const DescribeTemplateDefinitionCommand_base: {
3195
3264
  * // MarkerSize: "STRING_VALUE",
3196
3265
  * // MarkerColor: "STRING_VALUE",
3197
3266
  * // },
3267
+ * // DecalSettings: {
3268
+ * // ElementValue: "STRING_VALUE",
3269
+ * // DecalVisibility: "HIDDEN" || "VISIBLE",
3270
+ * // DecalColor: "STRING_VALUE",
3271
+ * // DecalPatternType: "SOLID" || "DIAGONAL_MEDIUM" || "CIRCLE_MEDIUM" || "DIAMOND_GRID_MEDIUM" || "CHECKERBOARD_MEDIUM" || "TRIANGLE_MEDIUM" || "DIAGONAL_OPPOSITE_MEDIUM" || "DIAMOND_MEDIUM" || "DIAGONAL_LARGE" || "CIRCLE_LARGE" || "DIAMOND_GRID_LARGE" || "CHECKERBOARD_LARGE" || "TRIANGLE_LARGE" || "DIAGONAL_OPPOSITE_LARGE" || "DIAMOND_LARGE" || "DIAGONAL_SMALL" || "CIRCLE_SMALL" || "DIAMOND_GRID_SMALL" || "CHECKERBOARD_SMALL" || "TRIANGLE_SMALL" || "DIAGONAL_OPPOSITE_SMALL" || "DIAMOND_SMALL",
3272
+ * // DecalStyleType: "Manual" || "Auto",
3273
+ * // },
3198
3274
  * // },
3199
3275
  * // Series: [ // SeriesItemList
3200
3276
  * // { // SeriesItem
@@ -3214,6 +3290,13 @@ declare const DescribeTemplateDefinitionCommand_base: {
3214
3290
  * // MarkerSize: "STRING_VALUE",
3215
3291
  * // MarkerColor: "STRING_VALUE",
3216
3292
  * // },
3293
+ * // DecalSettings: {
3294
+ * // ElementValue: "STRING_VALUE",
3295
+ * // DecalVisibility: "HIDDEN" || "VISIBLE",
3296
+ * // DecalColor: "STRING_VALUE",
3297
+ * // DecalPatternType: "SOLID" || "DIAGONAL_MEDIUM" || "CIRCLE_MEDIUM" || "DIAMOND_GRID_MEDIUM" || "CHECKERBOARD_MEDIUM" || "TRIANGLE_MEDIUM" || "DIAGONAL_OPPOSITE_MEDIUM" || "DIAMOND_MEDIUM" || "DIAGONAL_LARGE" || "CIRCLE_LARGE" || "DIAMOND_GRID_LARGE" || "CHECKERBOARD_LARGE" || "TRIANGLE_LARGE" || "DIAGONAL_OPPOSITE_LARGE" || "DIAMOND_LARGE" || "DIAGONAL_SMALL" || "CIRCLE_SMALL" || "DIAMOND_GRID_SMALL" || "CHECKERBOARD_SMALL" || "TRIANGLE_SMALL" || "DIAGONAL_OPPOSITE_SMALL" || "DIAMOND_SMALL",
3298
+ * // DecalStyleType: "Manual" || "Auto",
3299
+ * // },
3217
3300
  * // },
3218
3301
  * // },
3219
3302
  * // DataFieldSeriesItem: { // DataFieldSeriesItem
@@ -3233,6 +3316,7 @@ declare const DescribeTemplateDefinitionCommand_base: {
3233
3316
  * // MarkerSize: "STRING_VALUE",
3234
3317
  * // MarkerColor: "STRING_VALUE",
3235
3318
  * // },
3319
+ * // DecalSettings: "<DecalSettings>",
3236
3320
  * // },
3237
3321
  * // },
3238
3322
  * // },
@@ -3630,6 +3714,30 @@ declare const DescribeTemplateDefinitionCommand_base: {
3630
3714
  * // ColumnHierarchies: "<ColumnHierarchyList>",
3631
3715
  * // Actions: "<VisualCustomActionList>",
3632
3716
  * // VisualContentAltText: "STRING_VALUE",
3717
+ * // GeocodingPreferences: [ // GeocodePreferenceList
3718
+ * // { // GeocodePreference
3719
+ * // RequestKey: { // GeocoderHierarchy
3720
+ * // Country: "STRING_VALUE",
3721
+ * // State: "STRING_VALUE",
3722
+ * // County: "STRING_VALUE",
3723
+ * // City: "STRING_VALUE",
3724
+ * // PostCode: "STRING_VALUE",
3725
+ * // },
3726
+ * // Preference: { // GeocodePreferenceValue Union: only one key present
3727
+ * // GeocoderHierarchy: {
3728
+ * // Country: "STRING_VALUE",
3729
+ * // State: "STRING_VALUE",
3730
+ * // County: "STRING_VALUE",
3731
+ * // City: "STRING_VALUE",
3732
+ * // PostCode: "STRING_VALUE",
3733
+ * // },
3734
+ * // Coordinate: { // Coordinate
3735
+ * // Latitude: Number("double"), // required
3736
+ * // Longitude: Number("double"), // required
3737
+ * // },
3738
+ * // },
3739
+ * // },
3740
+ * // ],
3633
3741
  * // },
3634
3742
  * // FilledMapVisual: { // FilledMapVisual
3635
3743
  * // VisualId: "STRING_VALUE", // required
@@ -3680,6 +3788,30 @@ declare const DescribeTemplateDefinitionCommand_base: {
3680
3788
  * // ColumnHierarchies: "<ColumnHierarchyList>",
3681
3789
  * // Actions: "<VisualCustomActionList>",
3682
3790
  * // VisualContentAltText: "STRING_VALUE",
3791
+ * // GeocodingPreferences: [
3792
+ * // {
3793
+ * // RequestKey: {
3794
+ * // Country: "STRING_VALUE",
3795
+ * // State: "STRING_VALUE",
3796
+ * // County: "STRING_VALUE",
3797
+ * // City: "STRING_VALUE",
3798
+ * // PostCode: "STRING_VALUE",
3799
+ * // },
3800
+ * // Preference: {// Union: only one key present
3801
+ * // GeocoderHierarchy: {
3802
+ * // Country: "STRING_VALUE",
3803
+ * // State: "STRING_VALUE",
3804
+ * // County: "STRING_VALUE",
3805
+ * // City: "STRING_VALUE",
3806
+ * // PostCode: "STRING_VALUE",
3807
+ * // },
3808
+ * // Coordinate: {
3809
+ * // Latitude: Number("double"), // required
3810
+ * // Longitude: Number("double"), // required
3811
+ * // },
3812
+ * // },
3813
+ * // },
3814
+ * // ],
3683
3815
  * // },
3684
3816
  * // LayerMapVisual: { // LayerMapVisual
3685
3817
  * // VisualId: "STRING_VALUE", // required
@@ -4066,6 +4198,63 @@ declare const DescribeTemplateDefinitionCommand_base: {
4066
4198
  * // },
4067
4199
  * // },
4068
4200
  * // ColorLabelOptions: "<ChartAxisLabelOptions>",
4201
+ * // DefaultSeriesSettings: { // ComboChartDefaultSeriesSettings
4202
+ * // LineStyleSettings: {
4203
+ * // LineVisibility: "HIDDEN" || "VISIBLE",
4204
+ * // LineInterpolation: "LINEAR" || "SMOOTH" || "STEPPED",
4205
+ * // LineStyle: "SOLID" || "DOTTED" || "DASHED",
4206
+ * // LineWidth: "STRING_VALUE",
4207
+ * // },
4208
+ * // MarkerStyleSettings: {
4209
+ * // MarkerVisibility: "HIDDEN" || "VISIBLE",
4210
+ * // MarkerShape: "CIRCLE" || "TRIANGLE" || "SQUARE" || "DIAMOND" || "ROUNDED_SQUARE",
4211
+ * // MarkerSize: "STRING_VALUE",
4212
+ * // MarkerColor: "STRING_VALUE",
4213
+ * // },
4214
+ * // DecalSettings: "<DecalSettings>",
4215
+ * // BorderSettings: {
4216
+ * // BorderVisibility: "HIDDEN" || "VISIBLE",
4217
+ * // BorderWidth: "STRING_VALUE",
4218
+ * // BorderColor: "STRING_VALUE",
4219
+ * // },
4220
+ * // },
4221
+ * // Series: [ // ComboSeriesItemList
4222
+ * // { // ComboSeriesItem
4223
+ * // FieldComboSeriesItem: { // FieldComboSeriesItem
4224
+ * // FieldId: "STRING_VALUE", // required
4225
+ * // Settings: { // ComboChartSeriesSettings
4226
+ * // LineStyleSettings: {
4227
+ * // LineVisibility: "HIDDEN" || "VISIBLE",
4228
+ * // LineInterpolation: "LINEAR" || "SMOOTH" || "STEPPED",
4229
+ * // LineStyle: "SOLID" || "DOTTED" || "DASHED",
4230
+ * // LineWidth: "STRING_VALUE",
4231
+ * // },
4232
+ * // MarkerStyleSettings: {
4233
+ * // MarkerVisibility: "HIDDEN" || "VISIBLE",
4234
+ * // MarkerShape: "CIRCLE" || "TRIANGLE" || "SQUARE" || "DIAMOND" || "ROUNDED_SQUARE",
4235
+ * // MarkerSize: "STRING_VALUE",
4236
+ * // MarkerColor: "STRING_VALUE",
4237
+ * // },
4238
+ * // DecalSettings: "<DecalSettings>",
4239
+ * // BorderSettings: {
4240
+ * // BorderVisibility: "HIDDEN" || "VISIBLE",
4241
+ * // BorderWidth: "STRING_VALUE",
4242
+ * // BorderColor: "STRING_VALUE",
4243
+ * // },
4244
+ * // },
4245
+ * // },
4246
+ * // DataFieldComboSeriesItem: { // DataFieldComboSeriesItem
4247
+ * // FieldId: "STRING_VALUE", // required
4248
+ * // FieldValue: "STRING_VALUE",
4249
+ * // Settings: {
4250
+ * // LineStyleSettings: "<LineChartLineStyleSettings>",
4251
+ * // MarkerStyleSettings: "<LineChartMarkerStyleSettings>",
4252
+ * // DecalSettings: "<DecalSettings>",
4253
+ * // BorderSettings: "<BorderSettings>",
4254
+ * // },
4255
+ * // },
4256
+ * // },
4257
+ * // ],
4069
4258
  * // Legend: "<LegendOptions>",
4070
4259
  * // BarDataLabels: "<DataLabelOptions>",
4071
4260
  * // LineDataLabels: "<DataLabelOptions>",
@@ -5463,6 +5652,11 @@ declare const DescribeTemplateDefinitionCommand_base: {
5463
5652
  * // },
5464
5653
  * // ],
5465
5654
  * // },
5655
+ * // DecalSettingsConfiguration: { // DecalSettingsConfiguration
5656
+ * // CustomDecalSettings: [ // DecalSettingsList
5657
+ * // "<DecalSettings>",
5658
+ * // ],
5659
+ * // },
5466
5660
  * // },
5467
5661
  * // ],
5468
5662
  * // AnalysisDefaults: { // AnalysisDefaults
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DescribeThemeAliasRequest, DescribeThemeAliasResponse } from "../models/models_3";
3
+ import type { DescribeThemeAliasRequest, DescribeThemeAliasResponse } from "../models/models_4";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DescribeThemeRequest, DescribeThemeResponse } from "../models/models_3";
3
+ import type { DescribeThemeRequest, DescribeThemeResponse } from "../models/models_4";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DescribeThemePermissionsRequest, DescribeThemePermissionsResponse } from "../models/models_3";
3
+ import type { DescribeThemePermissionsRequest, DescribeThemePermissionsResponse } from "../models/models_4";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DescribeTopicRequest, DescribeTopicResponse } from "../models/models_3";
3
+ import type { DescribeTopicRequest, DescribeTopicResponse } from "../models/models_4";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DescribeTopicPermissionsRequest, DescribeTopicPermissionsResponse } from "../models/models_3";
3
+ import type { DescribeTopicPermissionsRequest, DescribeTopicPermissionsResponse } from "../models/models_4";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DescribeTopicRefreshRequest, DescribeTopicRefreshResponse } from "../models/models_3";
3
+ import type { DescribeTopicRefreshRequest, DescribeTopicRefreshResponse } from "../models/models_4";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DescribeTopicRefreshScheduleRequest, DescribeTopicRefreshScheduleResponse } from "../models/models_3";
3
+ import type { DescribeTopicRefreshScheduleRequest, DescribeTopicRefreshScheduleResponse } from "../models/models_4";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { DescribeUserRequest, DescribeUserResponse } from "../models/models_3";
3
+ import type { DescribeUserRequest, DescribeUserResponse } from "../models/models_4";
4
4
  import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
5
  /**
6
6
  * @public
@@ -0,0 +1,143 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetIdentityContextRequest, GetIdentityContextResponse } from "../models/models_4";
4
+ import type { QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QuickSightClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetIdentityContextCommand}.
14
+ */
15
+ export interface GetIdentityContextCommandInput extends GetIdentityContextRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetIdentityContextCommand}.
21
+ */
22
+ export interface GetIdentityContextCommandOutput extends GetIdentityContextResponse, __MetadataBearer {
23
+ }
24
+ declare const GetIdentityContextCommand_base: {
25
+ new (input: GetIdentityContextCommandInput): import("@smithy/smithy-client").CommandImpl<GetIdentityContextCommandInput, GetIdentityContextCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetIdentityContextCommandInput): import("@smithy/smithy-client").CommandImpl<GetIdentityContextCommandInput, GetIdentityContextCommandOutput, QuickSightClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the identity context for a Quick Sight user in a specified namespace, allowing you to obtain identity tokens that can be used with identity-enhanced IAM role sessions to call identity-aware APIs.</p>
31
+ * <p>Currently, you can call the following APIs with identity-enhanced Credentials</p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>
35
+ * <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_StartDashboardSnapshotJob.html">StartDashboardSnapshotJob</a>
36
+ * </p>
37
+ * </li>
38
+ * <li>
39
+ * <p>
40
+ * <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DescribeDashboardSnapshotJob.html">DescribeDashboardSnapshotJob</a>
41
+ * </p>
42
+ * </li>
43
+ * <li>
44
+ * <p>
45
+ * <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DescribeDashboardSnapshotJobResult.html">DescribeDashboardSnapshotJobResult</a>
46
+ * </p>
47
+ * </li>
48
+ * </ul>
49
+ * <p>
50
+ * <b>Supported Authentication Methods</b>
51
+ * </p>
52
+ * <p>This API supports Quick Sight native users, IAM federated users, and Active Directory users. For Quick Sight users authenticated by Amazon Web Services Identity Center, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/trustedidentitypropagation-identity-enhanced-iam-role-sessions.html">Identity Center documentation on identity-enhanced IAM role sessions</a>.</p>
53
+ * <p>
54
+ * <b>Getting Identity-Enhanced Credentials</b>
55
+ * </p>
56
+ * <p>To obtain identity-enhanced credentials, follow these steps:</p>
57
+ * <ul>
58
+ * <li>
59
+ * <p>Call the GetIdentityContext API to retrieve an identity token for the specified user.</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>Use the identity token with the <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html">STS AssumeRole API</a> to obtain identity-enhanced IAM role session credentials.</p>
63
+ * </li>
64
+ * </ul>
65
+ * <p>
66
+ * <b>Usage with STS AssumeRole</b>
67
+ * </p>
68
+ * <p>The identity token returned by this API should be used with the STS AssumeRole API to obtain credentials for an identity-enhanced IAM role session. When calling AssumeRole, include the identity token in the <code>ProvidedContexts</code> parameter with <code>ProviderArn</code> set to <code>arn:aws:iam::aws:contextProvider/QuickSight</code> and <code>ContextAssertion</code> set to the identity token received from this API.</p>
69
+ * <p>The assumed role must allow the <code>sts:SetContext</code> action in addition to <code>sts:AssumeRole</code> in its trust relationship policy. The trust policy should include both actions for the principal that will be assuming the role.</p>
70
+ * @example
71
+ * Use a bare-bones client and the command you need to make an API call.
72
+ * ```javascript
73
+ * import { QuickSightClient, GetIdentityContextCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
74
+ * // const { QuickSightClient, GetIdentityContextCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
75
+ * // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight";
76
+ * const config = {}; // type is QuickSightClientConfig
77
+ * const client = new QuickSightClient(config);
78
+ * const input = { // GetIdentityContextRequest
79
+ * AwsAccountId: "STRING_VALUE", // required
80
+ * UserIdentifier: { // UserIdentifier Union: only one key present
81
+ * UserName: "STRING_VALUE",
82
+ * Email: "STRING_VALUE",
83
+ * UserArn: "STRING_VALUE",
84
+ * },
85
+ * Namespace: "STRING_VALUE",
86
+ * SessionExpiresAt: new Date("TIMESTAMP"),
87
+ * };
88
+ * const command = new GetIdentityContextCommand(input);
89
+ * const response = await client.send(command);
90
+ * // { // GetIdentityContextResponse
91
+ * // Status: Number("int"), // required
92
+ * // RequestId: "STRING_VALUE", // required
93
+ * // Context: "STRING_VALUE",
94
+ * // };
95
+ *
96
+ * ```
97
+ *
98
+ * @param GetIdentityContextCommandInput - {@link GetIdentityContextCommandInput}
99
+ * @returns {@link GetIdentityContextCommandOutput}
100
+ * @see {@link GetIdentityContextCommandInput} for command's `input` shape.
101
+ * @see {@link GetIdentityContextCommandOutput} for command's `response` shape.
102
+ * @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
103
+ *
104
+ * @throws {@link AccessDeniedException} (client fault)
105
+ * <p>You don't have access to this item. The provided credentials couldn't be
106
+ * validated. You might not be authorized to carry out the request. Make sure that your
107
+ * account is authorized to use the Amazon Quick Sight service, that your policies have the
108
+ * correct permissions, and that you are using the correct credentials.</p>
109
+ *
110
+ * @throws {@link InternalFailureException} (server fault)
111
+ * <p>An internal failure occurred.</p>
112
+ *
113
+ * @throws {@link InvalidParameterValueException} (client fault)
114
+ * <p>One or more parameters has a value that isn't valid.</p>
115
+ *
116
+ * @throws {@link PreconditionNotMetException} (client fault)
117
+ * <p>One or more preconditions aren't met.</p>
118
+ *
119
+ * @throws {@link ResourceNotFoundException} (client fault)
120
+ * <p>One or more resources can't be found.</p>
121
+ *
122
+ * @throws {@link ThrottlingException} (client fault)
123
+ * <p>Access is throttled.</p>
124
+ *
125
+ * @throws {@link QuickSightServiceException}
126
+ * <p>Base exception class for all service exceptions from QuickSight service.</p>
127
+ *
128
+ *
129
+ * @public
130
+ */
131
+ export declare class GetIdentityContextCommand extends GetIdentityContextCommand_base {
132
+ /** @internal type navigation helper, not in runtime. */
133
+ protected static __types: {
134
+ api: {
135
+ input: GetIdentityContextRequest;
136
+ output: GetIdentityContextResponse;
137
+ };
138
+ sdk: {
139
+ input: GetIdentityContextCommandInput;
140
+ output: GetIdentityContextCommandOutput;
141
+ };
142
+ };
143
+ }
@@ -87,6 +87,61 @@ declare const StartDashboardSnapshotJobCommand_base: {
87
87
  * <p>The size of the generated snapshots.</p>
88
88
  * </li>
89
89
  * </ul>
90
+ * <p>
91
+ * <b>Registered user support</b>
92
+ * </p>
93
+ * <p>You can generate snapshots for registered Quick Sight users by using the Snapshot Job APIs with <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/trustedidentitypropagation-identity-enhanced-iam-role-sessions.html">identity-enhanced IAM role session credentials</a>. This approach allows you to create snapshots on behalf of specific Quick Sight users while respecting their row-level security (RLS), column-level security (CLS), dynamic default parameters and dashboard parameter/filter settings.</p>
94
+ * <p>To generate snapshots for registered Quick Sight users, you need to:</p>
95
+ * <ul>
96
+ * <li>
97
+ * <p>Obtain identity-enhanced IAM role session credentials from AWS Security Token Service (STS).</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>Use these credentials to call the Snapshot Job APIs.</p>
101
+ * </li>
102
+ * </ul>
103
+ * <p>Identity-enhanced credentials are credentials that contain information about the end user (e.g., registered Quick Sight user).</p>
104
+ * <p>If your Quick Sight users are backed by <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">AWS Identity Center</a>, then you need to set up a <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/setuptrustedtokenissuer.html">trusted token issuer</a>. Then, getting identity-enhanced IAM credentials for a Quick Sight user will look like the following:</p>
105
+ * <ul>
106
+ * <li>
107
+ * <p>Authenticate user with your OIDC compliant Identity Provider. You should get auth tokens back.</p>
108
+ * </li>
109
+ * <li>
110
+ * <p>Use the OIDC API, <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateTokenWithIAM.html">CreateTokenWithIAM</a>, to exchange auth tokens to IAM tokens. One of the resulted tokens will be identity token.</p>
111
+ * </li>
112
+ * <li>
113
+ * <p>Call STS AssumeRole API as you normally would, but provide an extra <code>ProvidedContexts</code> parameter in the API request. The list of contexts must have a single trusted context assertion. The <code>ProviderArn</code> should be <code>arn:aws:iam::aws:contextProvider/IdentityCenter</code> while <code>ContextAssertion</code> will be the identity token you received in response from CreateTokenWithIAM</p>
114
+ * </li>
115
+ * </ul>
116
+ * <p>For more details, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/trustedidentitypropagation-identity-enhanced-iam-role-sessions.html">IdC documentation on Identity-enhanced IAM role sessions</a>.</p>
117
+ * <p>To obtain Identity-enhanced credentials for Quick Sight native users, IAM federated users, or Active Directory users, follow the steps below:</p>
118
+ * <ul>
119
+ * <li>
120
+ * <p>Call Quick Sight <a href="https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetIdentityContext.html">GetIdentityContext API</a> to get identity token.</p>
121
+ * </li>
122
+ * <li>
123
+ * <p>Call STS AssumeRole API as you normally would, but provide extra <code>ProvidedContexts</code> parameter in the API request. The list of contexts must have a single trusted context assertion. The <code>ProviderArn</code> should be <code>arn:aws:iam::aws:contextProvider/QuickSight</code> while <code>ContextAssertion</code> will be the identity token you received in response from GetIdentityContext</p>
124
+ * </li>
125
+ * </ul>
126
+ * <p>After obtaining the identity-enhanced IAM role session credentials, you can use them to start a job, describe the job and describe job result. You can use the same credentials as long as they haven't expired. All API requests made with these credentials are considered to be made by the impersonated Quick Sight user.</p>
127
+ * <important>
128
+ * <p>When using identity-enhanced session credentials, set the UserConfiguration request attribute to null. Otherwise, the request will be invalid.</p>
129
+ * </important>
130
+ * <p>
131
+ * <b>Possible error scenarios</b>
132
+ * </p>
133
+ * <p>The request fails with an Access Denied error in the following scenarios:</p>
134
+ * <ul>
135
+ * <li>
136
+ * <p>The credentials have expired.</p>
137
+ * </li>
138
+ * <li>
139
+ * <p>The impersonated Quick Sight user doesn't have access to the specified dashboard.</p>
140
+ * </li>
141
+ * <li>
142
+ * <p>The impersonated Quick Sight user is restricted from exporting data in the selected formats. For more information about export restrictions, see <a href="https://docs.aws.amazon.com/quicksuite/latest/userguide/create-custom-permisions-profile.html">Customizing access to Amazon Quick Sight capabilities</a>.</p>
143
+ * </li>
144
+ * </ul>
90
145
  * @example
91
146
  * Use a bare-bones client and the command you need to make an API call.
92
147
  * ```javascript