aws-sdk-quicksight 1.16.0 → 1.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-quicksight.rb +1 -1
- data/lib/aws-sdk-quicksight/client.rb +65 -1
- data/lib/aws-sdk-quicksight/client_api.rb +45 -0
- data/lib/aws-sdk-quicksight/types.rb +111 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c38ce2f48d8fb5ab1ce40146f8d785eb561ac71
|
4
|
+
data.tar.gz: d8a6ea917615112080612d7d0a9106534eb54b08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e749b7eb81156d04642249c39994f0a85e57e356c3abaccc0a5a48dfe72a72b7d69d6e08597648559c6084ab338fe965189b32ecc77c1dbd2fbd8a5816f378d
|
7
|
+
data.tar.gz: cd51eb3d432de8a8a235bba006daf452fac08e47813cd8fbf2c1f600e0258bd86fb0047e9b9ffc0bcb4ccefec12b02be92bef80b25b43c49086df5237d4e6d21
|
data/lib/aws-sdk-quicksight.rb
CHANGED
@@ -3415,6 +3415,70 @@ module Aws::QuickSight
|
|
3415
3415
|
req.send_request(options)
|
3416
3416
|
end
|
3417
3417
|
|
3418
|
+
# Searchs for dashboards that belong to a user.
|
3419
|
+
#
|
3420
|
+
# @option params [required, String] :aws_account_id
|
3421
|
+
# The ID of the AWS account that contains the user whose dashboards
|
3422
|
+
# you're searching for.
|
3423
|
+
#
|
3424
|
+
# @option params [required, Array<Types::DashboardSearchFilter>] :filters
|
3425
|
+
# The filters to apply to the search. Currently, you can search only by
|
3426
|
+
# user name. For example, `"Filters": [ \{ "Name": "QUICKSIGHT_USER",
|
3427
|
+
# "Operator": "StringEquals", "Value":
|
3428
|
+
# "arn:aws:quicksight:us-east-1:1:user/default/UserName1" \} ]`
|
3429
|
+
#
|
3430
|
+
# @option params [String] :next_token
|
3431
|
+
# The token for the next set of results, or null if there are no more
|
3432
|
+
# results.
|
3433
|
+
#
|
3434
|
+
# @option params [Integer] :max_results
|
3435
|
+
# The maximum number of results to be returned per request.
|
3436
|
+
#
|
3437
|
+
# @return [Types::SearchDashboardsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3438
|
+
#
|
3439
|
+
# * {Types::SearchDashboardsResponse#dashboard_summary_list #dashboard_summary_list} => Array<Types::DashboardSummary>
|
3440
|
+
# * {Types::SearchDashboardsResponse#next_token #next_token} => String
|
3441
|
+
# * {Types::SearchDashboardsResponse#status #status} => Integer
|
3442
|
+
# * {Types::SearchDashboardsResponse#request_id #request_id} => String
|
3443
|
+
#
|
3444
|
+
# @example Request syntax with placeholder values
|
3445
|
+
#
|
3446
|
+
# resp = client.search_dashboards({
|
3447
|
+
# aws_account_id: "AwsAccountId", # required
|
3448
|
+
# filters: [ # required
|
3449
|
+
# {
|
3450
|
+
# operator: "StringEquals", # required, accepts StringEquals
|
3451
|
+
# name: "QUICKSIGHT_USER", # accepts QUICKSIGHT_USER
|
3452
|
+
# value: "String",
|
3453
|
+
# },
|
3454
|
+
# ],
|
3455
|
+
# next_token: "String",
|
3456
|
+
# max_results: 1,
|
3457
|
+
# })
|
3458
|
+
#
|
3459
|
+
# @example Response structure
|
3460
|
+
#
|
3461
|
+
# resp.dashboard_summary_list #=> Array
|
3462
|
+
# resp.dashboard_summary_list[0].arn #=> String
|
3463
|
+
# resp.dashboard_summary_list[0].dashboard_id #=> String
|
3464
|
+
# resp.dashboard_summary_list[0].name #=> String
|
3465
|
+
# resp.dashboard_summary_list[0].created_time #=> Time
|
3466
|
+
# resp.dashboard_summary_list[0].last_updated_time #=> Time
|
3467
|
+
# resp.dashboard_summary_list[0].published_version_number #=> Integer
|
3468
|
+
# resp.dashboard_summary_list[0].last_published_time #=> Time
|
3469
|
+
# resp.next_token #=> String
|
3470
|
+
# resp.status #=> Integer
|
3471
|
+
# resp.request_id #=> String
|
3472
|
+
#
|
3473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards AWS API Documentation
|
3474
|
+
#
|
3475
|
+
# @overload search_dashboards(params = {})
|
3476
|
+
# @param [Hash] params ({})
|
3477
|
+
def search_dashboards(params = {}, options = {})
|
3478
|
+
req = build_request(:search_dashboards, params)
|
3479
|
+
req.send_request(options)
|
3480
|
+
end
|
3481
|
+
|
3418
3482
|
# Assigns one or more tags (key-value pairs) to the specified QuickSight
|
3419
3483
|
# resource.
|
3420
3484
|
#
|
@@ -4587,7 +4651,7 @@ module Aws::QuickSight
|
|
4587
4651
|
params: params,
|
4588
4652
|
config: config)
|
4589
4653
|
context[:gem_name] = 'aws-sdk-quicksight'
|
4590
|
-
context[:gem_version] = '1.
|
4654
|
+
context[:gem_version] = '1.17.1'
|
4591
4655
|
Seahorse::Client::Request.new(handlers, context)
|
4592
4656
|
end
|
4593
4657
|
|
@@ -77,8 +77,11 @@ module Aws::QuickSight
|
|
77
77
|
DashboardError = Shapes::StructureShape.new(name: 'DashboardError')
|
78
78
|
DashboardErrorList = Shapes::ListShape.new(name: 'DashboardErrorList')
|
79
79
|
DashboardErrorType = Shapes::StringShape.new(name: 'DashboardErrorType')
|
80
|
+
DashboardFilterAttribute = Shapes::StringShape.new(name: 'DashboardFilterAttribute')
|
80
81
|
DashboardName = Shapes::StringShape.new(name: 'DashboardName')
|
81
82
|
DashboardPublishOptions = Shapes::StructureShape.new(name: 'DashboardPublishOptions')
|
83
|
+
DashboardSearchFilter = Shapes::StructureShape.new(name: 'DashboardSearchFilter')
|
84
|
+
DashboardSearchFilterList = Shapes::ListShape.new(name: 'DashboardSearchFilterList')
|
82
85
|
DashboardSourceEntity = Shapes::StructureShape.new(name: 'DashboardSourceEntity')
|
83
86
|
DashboardSourceTemplate = Shapes::StructureShape.new(name: 'DashboardSourceTemplate')
|
84
87
|
DashboardSummary = Shapes::StructureShape.new(name: 'DashboardSummary')
|
@@ -167,6 +170,7 @@ module Aws::QuickSight
|
|
167
170
|
Expression = Shapes::StringShape.new(name: 'Expression')
|
168
171
|
FileFormat = Shapes::StringShape.new(name: 'FileFormat')
|
169
172
|
FilterOperation = Shapes::StructureShape.new(name: 'FilterOperation')
|
173
|
+
FilterOperator = Shapes::StringShape.new(name: 'FilterOperator')
|
170
174
|
GeoSpatialColumnGroup = Shapes::StructureShape.new(name: 'GeoSpatialColumnGroup')
|
171
175
|
GeoSpatialCountryCode = Shapes::StringShape.new(name: 'GeoSpatialCountryCode')
|
172
176
|
GeoSpatialDataRole = Shapes::StringShape.new(name: 'GeoSpatialDataRole')
|
@@ -298,6 +302,8 @@ module Aws::QuickSight
|
|
298
302
|
S3Key = Shapes::StringShape.new(name: 'S3Key')
|
299
303
|
S3Parameters = Shapes::StructureShape.new(name: 'S3Parameters')
|
300
304
|
S3Source = Shapes::StructureShape.new(name: 'S3Source')
|
305
|
+
SearchDashboardsRequest = Shapes::StructureShape.new(name: 'SearchDashboardsRequest')
|
306
|
+
SearchDashboardsResponse = Shapes::StructureShape.new(name: 'SearchDashboardsResponse')
|
301
307
|
ServiceNowParameters = Shapes::StructureShape.new(name: 'ServiceNowParameters')
|
302
308
|
SessionLifetimeInMinutes = Shapes::IntegerShape.new(name: 'SessionLifetimeInMinutes')
|
303
309
|
SessionLifetimeInMinutesInvalidException = Shapes::StructureShape.new(name: 'SessionLifetimeInMinutesInvalidException')
|
@@ -656,6 +662,13 @@ module Aws::QuickSight
|
|
656
662
|
DashboardPublishOptions.add_member(:sheet_controls_option, Shapes::ShapeRef.new(shape: SheetControlsOption, location_name: "SheetControlsOption"))
|
657
663
|
DashboardPublishOptions.struct_class = Types::DashboardPublishOptions
|
658
664
|
|
665
|
+
DashboardSearchFilter.add_member(:operator, Shapes::ShapeRef.new(shape: FilterOperator, required: true, location_name: "Operator"))
|
666
|
+
DashboardSearchFilter.add_member(:name, Shapes::ShapeRef.new(shape: DashboardFilterAttribute, location_name: "Name"))
|
667
|
+
DashboardSearchFilter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
668
|
+
DashboardSearchFilter.struct_class = Types::DashboardSearchFilter
|
669
|
+
|
670
|
+
DashboardSearchFilterList.member = Shapes::ShapeRef.new(shape: DashboardSearchFilter)
|
671
|
+
|
659
672
|
DashboardSourceEntity.add_member(:source_template, Shapes::ShapeRef.new(shape: DashboardSourceTemplate, location_name: "SourceTemplate"))
|
660
673
|
DashboardSourceEntity.struct_class = Types::DashboardSourceEntity
|
661
674
|
|
@@ -1472,6 +1485,18 @@ module Aws::QuickSight
|
|
1472
1485
|
S3Source.add_member(:input_columns, Shapes::ShapeRef.new(shape: InputColumnList, required: true, location_name: "InputColumns"))
|
1473
1486
|
S3Source.struct_class = Types::S3Source
|
1474
1487
|
|
1488
|
+
SearchDashboardsRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
|
1489
|
+
SearchDashboardsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DashboardSearchFilterList, required: true, location_name: "Filters"))
|
1490
|
+
SearchDashboardsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1491
|
+
SearchDashboardsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
1492
|
+
SearchDashboardsRequest.struct_class = Types::SearchDashboardsRequest
|
1493
|
+
|
1494
|
+
SearchDashboardsResponse.add_member(:dashboard_summary_list, Shapes::ShapeRef.new(shape: DashboardSummaryList, location_name: "DashboardSummaryList"))
|
1495
|
+
SearchDashboardsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1496
|
+
SearchDashboardsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
|
1497
|
+
SearchDashboardsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
|
1498
|
+
SearchDashboardsResponse.struct_class = Types::SearchDashboardsResponse
|
1499
|
+
|
1475
1500
|
ServiceNowParameters.add_member(:site_base_url, Shapes::ShapeRef.new(shape: SiteBaseUrl, required: true, location_name: "SiteBaseUrl"))
|
1476
1501
|
ServiceNowParameters.struct_class = Types::ServiceNowParameters
|
1477
1502
|
|
@@ -2609,6 +2634,26 @@ module Aws::QuickSight
|
|
2609
2634
|
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
2610
2635
|
end)
|
2611
2636
|
|
2637
|
+
api.add_operation(:search_dashboards, Seahorse::Model::Operation.new.tap do |o|
|
2638
|
+
o.name = "SearchDashboards"
|
2639
|
+
o.http_method = "POST"
|
2640
|
+
o.http_request_uri = "/accounts/{AwsAccountId}/search/dashboards"
|
2641
|
+
o.input = Shapes::ShapeRef.new(shape: SearchDashboardsRequest)
|
2642
|
+
o.output = Shapes::ShapeRef.new(shape: SearchDashboardsResponse)
|
2643
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2644
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2645
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2646
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedUserEditionException)
|
2647
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
2648
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2649
|
+
o[:pager] = Aws::Pager.new(
|
2650
|
+
limit_key: "max_results",
|
2651
|
+
tokens: {
|
2652
|
+
"next_token" => "next_token"
|
2653
|
+
}
|
2654
|
+
)
|
2655
|
+
end)
|
2656
|
+
|
2612
2657
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2613
2658
|
o.name = "TagResource"
|
2614
2659
|
o.http_method = "POST"
|
@@ -1768,6 +1768,42 @@ module Aws::QuickSight
|
|
1768
1768
|
include Aws::Structure
|
1769
1769
|
end
|
1770
1770
|
|
1771
|
+
# A filter that you apply when searching for dashboards.
|
1772
|
+
#
|
1773
|
+
# @note When making an API call, you may pass DashboardSearchFilter
|
1774
|
+
# data as a hash:
|
1775
|
+
#
|
1776
|
+
# {
|
1777
|
+
# operator: "StringEquals", # required, accepts StringEquals
|
1778
|
+
# name: "QUICKSIGHT_USER", # accepts QUICKSIGHT_USER
|
1779
|
+
# value: "String",
|
1780
|
+
# }
|
1781
|
+
#
|
1782
|
+
# @!attribute [rw] operator
|
1783
|
+
# The comparison operator that you want to use as a filter. For
|
1784
|
+
# example, `"Operator": "StringEquals"`.
|
1785
|
+
# @return [String]
|
1786
|
+
#
|
1787
|
+
# @!attribute [rw] name
|
1788
|
+
# The name of the value that you want to use as a filter. For example,
|
1789
|
+
# `"Name": "QUICKSIGHT_USER"`.
|
1790
|
+
# @return [String]
|
1791
|
+
#
|
1792
|
+
# @!attribute [rw] value
|
1793
|
+
# The value of the named item, in this case `QUICKSIGHT_USER`, that
|
1794
|
+
# you want to use as a filter. For example, `"Value":
|
1795
|
+
# "arn:aws:quicksight:us-east-1:1:user/default/UserName1"`.
|
1796
|
+
# @return [String]
|
1797
|
+
#
|
1798
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DashboardSearchFilter AWS API Documentation
|
1799
|
+
#
|
1800
|
+
class DashboardSearchFilter < Struct.new(
|
1801
|
+
:operator,
|
1802
|
+
:name,
|
1803
|
+
:value)
|
1804
|
+
include Aws::Structure
|
1805
|
+
end
|
1806
|
+
|
1771
1807
|
# Dashboard source entity.
|
1772
1808
|
#
|
1773
1809
|
# @note When making an API call, you may pass DashboardSourceEntity
|
@@ -6204,6 +6240,81 @@ module Aws::QuickSight
|
|
6204
6240
|
include Aws::Structure
|
6205
6241
|
end
|
6206
6242
|
|
6243
|
+
# @note When making an API call, you may pass SearchDashboardsRequest
|
6244
|
+
# data as a hash:
|
6245
|
+
#
|
6246
|
+
# {
|
6247
|
+
# aws_account_id: "AwsAccountId", # required
|
6248
|
+
# filters: [ # required
|
6249
|
+
# {
|
6250
|
+
# operator: "StringEquals", # required, accepts StringEquals
|
6251
|
+
# name: "QUICKSIGHT_USER", # accepts QUICKSIGHT_USER
|
6252
|
+
# value: "String",
|
6253
|
+
# },
|
6254
|
+
# ],
|
6255
|
+
# next_token: "String",
|
6256
|
+
# max_results: 1,
|
6257
|
+
# }
|
6258
|
+
#
|
6259
|
+
# @!attribute [rw] aws_account_id
|
6260
|
+
# The ID of the AWS account that contains the user whose dashboards
|
6261
|
+
# you're searching for.
|
6262
|
+
# @return [String]
|
6263
|
+
#
|
6264
|
+
# @!attribute [rw] filters
|
6265
|
+
# The filters to apply to the search. Currently, you can search only
|
6266
|
+
# by user name. For example, `"Filters": [ \{ "Name":
|
6267
|
+
# "QUICKSIGHT_USER", "Operator": "StringEquals", "Value":
|
6268
|
+
# "arn:aws:quicksight:us-east-1:1:user/default/UserName1" \} ]`
|
6269
|
+
# @return [Array<Types::DashboardSearchFilter>]
|
6270
|
+
#
|
6271
|
+
# @!attribute [rw] next_token
|
6272
|
+
# The token for the next set of results, or null if there are no more
|
6273
|
+
# results.
|
6274
|
+
# @return [String]
|
6275
|
+
#
|
6276
|
+
# @!attribute [rw] max_results
|
6277
|
+
# The maximum number of results to be returned per request.
|
6278
|
+
# @return [Integer]
|
6279
|
+
#
|
6280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboardsRequest AWS API Documentation
|
6281
|
+
#
|
6282
|
+
class SearchDashboardsRequest < Struct.new(
|
6283
|
+
:aws_account_id,
|
6284
|
+
:filters,
|
6285
|
+
:next_token,
|
6286
|
+
:max_results)
|
6287
|
+
include Aws::Structure
|
6288
|
+
end
|
6289
|
+
|
6290
|
+
# @!attribute [rw] dashboard_summary_list
|
6291
|
+
# The list of dashboards owned by the user specified in `Filters` in
|
6292
|
+
# your request.
|
6293
|
+
# @return [Array<Types::DashboardSummary>]
|
6294
|
+
#
|
6295
|
+
# @!attribute [rw] next_token
|
6296
|
+
# The token for the next set of results, or null if there are no more
|
6297
|
+
# results.
|
6298
|
+
# @return [String]
|
6299
|
+
#
|
6300
|
+
# @!attribute [rw] status
|
6301
|
+
# The HTTP status of the request.
|
6302
|
+
# @return [Integer]
|
6303
|
+
#
|
6304
|
+
# @!attribute [rw] request_id
|
6305
|
+
# The AWS request ID for this operation.
|
6306
|
+
# @return [String]
|
6307
|
+
#
|
6308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboardsResponse AWS API Documentation
|
6309
|
+
#
|
6310
|
+
class SearchDashboardsResponse < Struct.new(
|
6311
|
+
:dashboard_summary_list,
|
6312
|
+
:next_token,
|
6313
|
+
:status,
|
6314
|
+
:request_id)
|
6315
|
+
include Aws::Structure
|
6316
|
+
end
|
6317
|
+
|
6207
6318
|
# ServiceNow parameters.
|
6208
6319
|
#
|
6209
6320
|
# @note When making an API call, you may pass ServiceNowParameters
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-quicksight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|