aws-sdk-quicksight 1.124.0 → 1.126.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.
@@ -40,11 +40,20 @@ module Aws::QuickSight
40
40
  context[:auth_scheme] =
41
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
42
 
43
- @handler.call(context)
43
+ with_metrics(context) { @handler.call(context) }
44
44
  end
45
45
 
46
46
  private
47
47
 
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
55
+ end
56
+
48
57
  def apply_endpoint_headers(context, headers)
49
58
  headers.each do |key, values|
50
59
  value = values
@@ -272,6 +281,8 @@ module Aws::QuickSight
272
281
  Aws::QuickSight::Endpoints::ListFolderMembers.build(context)
273
282
  when :list_folders
274
283
  Aws::QuickSight::Endpoints::ListFolders.build(context)
284
+ when :list_folders_for_resource
285
+ Aws::QuickSight::Endpoints::ListFoldersForResource.build(context)
275
286
  when :list_group_memberships
276
287
  Aws::QuickSight::Endpoints::ListGroupMemberships.build(context)
277
288
  when :list_groups
@@ -9593,11 +9593,17 @@ module Aws::QuickSight
9593
9593
  # The display options of a control.
9594
9594
  # @return [Types::DateTimePickerControlDisplayOptions]
9595
9595
  #
9596
+ # @!attribute [rw] commit_mode
9597
+ # The visibility configuration of the Apply button on a
9598
+ # `DateTimePickerControl`.
9599
+ # @return [String]
9600
+ #
9596
9601
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DefaultDateTimePickerControlOptions AWS API Documentation
9597
9602
  #
9598
9603
  class DefaultDateTimePickerControlOptions < Struct.new(
9599
9604
  :type,
9600
- :display_options)
9605
+ :display_options,
9606
+ :commit_mode)
9601
9607
  SENSITIVE = []
9602
9608
  include Aws::Structure
9603
9609
  end
@@ -9695,12 +9701,18 @@ module Aws::QuickSight
9695
9701
  # A list of selectable values that are used in a control.
9696
9702
  # @return [Types::FilterSelectableValues]
9697
9703
  #
9704
+ # @!attribute [rw] commit_mode
9705
+ # The visibility configuration of the Apply button on a
9706
+ # `FilterDropDownControl`.
9707
+ # @return [String]
9708
+ #
9698
9709
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DefaultFilterDropDownControlOptions AWS API Documentation
9699
9710
  #
9700
9711
  class DefaultFilterDropDownControlOptions < Struct.new(
9701
9712
  :display_options,
9702
9713
  :type,
9703
- :selectable_values)
9714
+ :selectable_values,
9715
+ :commit_mode)
9704
9716
  SENSITIVE = []
9705
9717
  include Aws::Structure
9706
9718
  end
@@ -9856,10 +9868,16 @@ module Aws::QuickSight
9856
9868
  # The display options of a control.
9857
9869
  # @return [Types::RelativeDateTimeControlDisplayOptions]
9858
9870
  #
9871
+ # @!attribute [rw] commit_mode
9872
+ # The visibility configuration of the Apply button on a
9873
+ # `RelativeDateTimeControl`.
9874
+ # @return [String]
9875
+ #
9859
9876
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DefaultRelativeDateTimeControlOptions AWS API Documentation
9860
9877
  #
9861
9878
  class DefaultRelativeDateTimeControlOptions < Struct.new(
9862
- :display_options)
9879
+ :display_options,
9880
+ :commit_mode)
9863
9881
  SENSITIVE = []
9864
9882
  include Aws::Structure
9865
9883
  end
@@ -14786,6 +14804,11 @@ module Aws::QuickSight
14786
14804
  # dropdown menu.
14787
14805
  # @return [String]
14788
14806
  #
14807
+ # @!attribute [rw] commit_mode
14808
+ # The visibility configurationof the Apply button on a
14809
+ # `DateTimePickerControl`.
14810
+ # @return [String]
14811
+ #
14789
14812
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/FilterDateTimePickerControl AWS API Documentation
14790
14813
  #
14791
14814
  class FilterDateTimePickerControl < Struct.new(
@@ -14793,7 +14816,8 @@ module Aws::QuickSight
14793
14816
  :title,
14794
14817
  :source_filter_id,
14795
14818
  :display_options,
14796
- :type)
14819
+ :type,
14820
+ :commit_mode)
14797
14821
  SENSITIVE = []
14798
14822
  include Aws::Structure
14799
14823
  end
@@ -14838,6 +14862,11 @@ module Aws::QuickSight
14838
14862
  # controls.
14839
14863
  # @return [Types::CascadingControlConfiguration]
14840
14864
  #
14865
+ # @!attribute [rw] commit_mode
14866
+ # The visibility configuration of the Apply button on a
14867
+ # `FilterDropDownControl`.
14868
+ # @return [String]
14869
+ #
14841
14870
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/FilterDropDownControl AWS API Documentation
14842
14871
  #
14843
14872
  class FilterDropDownControl < Struct.new(
@@ -14847,7 +14876,8 @@ module Aws::QuickSight
14847
14876
  :display_options,
14848
14877
  :type,
14849
14878
  :selectable_values,
14850
- :cascading_control_configuration)
14879
+ :cascading_control_configuration,
14880
+ :commit_mode)
14851
14881
  SENSITIVE = []
14852
14882
  include Aws::Structure
14853
14883
  end
@@ -15087,13 +15117,19 @@ module Aws::QuickSight
15087
15117
  # The display options of a control.
15088
15118
  # @return [Types::RelativeDateTimeControlDisplayOptions]
15089
15119
  #
15120
+ # @!attribute [rw] commit_mode
15121
+ # The visibility configuration of the Apply button on a
15122
+ # `FilterRelativeDateTimeControl`.
15123
+ # @return [String]
15124
+ #
15090
15125
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/FilterRelativeDateTimeControl AWS API Documentation
15091
15126
  #
15092
15127
  class FilterRelativeDateTimeControl < Struct.new(
15093
15128
  :filter_control_id,
15094
15129
  :title,
15095
15130
  :source_filter_id,
15096
- :display_options)
15131
+ :display_options,
15132
+ :commit_mode)
15097
15133
  SENSITIVE = []
15098
15134
  include Aws::Structure
15099
15135
  end
@@ -19618,6 +19654,65 @@ module Aws::QuickSight
19618
19654
  include Aws::Structure
19619
19655
  end
19620
19656
 
19657
+ # @!attribute [rw] aws_account_id
19658
+ # The ID for the Amazon Web Services account that contains the
19659
+ # resource.
19660
+ # @return [String]
19661
+ #
19662
+ # @!attribute [rw] resource_arn
19663
+ # The Amazon Resource Name (ARN) the resource whose folders you need
19664
+ # to list.
19665
+ # @return [String]
19666
+ #
19667
+ # @!attribute [rw] next_token
19668
+ # The token for the next set of results, or null if there are no more
19669
+ # results.
19670
+ # @return [String]
19671
+ #
19672
+ # @!attribute [rw] max_results
19673
+ # The maximum number of results to be returned per request.
19674
+ # @return [Integer]
19675
+ #
19676
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFoldersForResourceRequest AWS API Documentation
19677
+ #
19678
+ class ListFoldersForResourceRequest < Struct.new(
19679
+ :aws_account_id,
19680
+ :resource_arn,
19681
+ :next_token,
19682
+ :max_results)
19683
+ SENSITIVE = []
19684
+ include Aws::Structure
19685
+ end
19686
+
19687
+ # @!attribute [rw] status
19688
+ # The HTTP status of the request.
19689
+ # @return [Integer]
19690
+ #
19691
+ # @!attribute [rw] folders
19692
+ # A list that contains the Amazon Resource Names (ARNs) of all folders
19693
+ # that the resource is a member of.
19694
+ # @return [Array<String>]
19695
+ #
19696
+ # @!attribute [rw] next_token
19697
+ # The token for the next set of results, or null if there are no more
19698
+ # results.
19699
+ # @return [String]
19700
+ #
19701
+ # @!attribute [rw] request_id
19702
+ # The Amazon Web Services request ID for this operation.
19703
+ # @return [String]
19704
+ #
19705
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFoldersForResourceResponse AWS API Documentation
19706
+ #
19707
+ class ListFoldersForResourceResponse < Struct.new(
19708
+ :status,
19709
+ :folders,
19710
+ :next_token,
19711
+ :request_id)
19712
+ SENSITIVE = []
19713
+ include Aws::Structure
19714
+ end
19715
+
19621
19716
  # @!attribute [rw] aws_account_id
19622
19717
  # The ID for the Amazon Web Services account that contains the folder.
19623
19718
  # @return [String]
@@ -22320,6 +22415,11 @@ module Aws::QuickSight
22320
22415
  # controls.
22321
22416
  # @return [Types::CascadingControlConfiguration]
22322
22417
  #
22418
+ # @!attribute [rw] commit_mode
22419
+ # The visibility configuration of the Apply button on a
22420
+ # `ParameterDropDownControl`.
22421
+ # @return [String]
22422
+ #
22323
22423
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ParameterDropDownControl AWS API Documentation
22324
22424
  #
22325
22425
  class ParameterDropDownControl < Struct.new(
@@ -22329,7 +22429,8 @@ module Aws::QuickSight
22329
22429
  :display_options,
22330
22430
  :type,
22331
22431
  :selectable_values,
22332
- :cascading_control_configuration)
22432
+ :cascading_control_configuration,
22433
+ :commit_mode)
22333
22434
  SENSITIVE = []
22334
22435
  include Aws::Structure
22335
22436
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-quicksight/customizations'
52
52
  # @!group service
53
53
  module Aws::QuickSight
54
54
 
55
- GEM_VERSION = '1.124.0'
55
+ GEM_VERSION = '1.126.0'
56
56
 
57
57
  end