aws-sdk-quicksight 1.36.0 → 1.37.0
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 +18 -2
- data/lib/aws-sdk-quicksight/client_api.rb +13 -1
- data/lib/aws-sdk-quicksight/errors.rb +21 -0
- data/lib/aws-sdk-quicksight/types.rb +52 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc768a006aa8c587eda554be341a77e3f52a3f19d293d8da994d5dc7eb46b672
|
4
|
+
data.tar.gz: f5f2ac764bd21a81f4072127a51cc778f82e967a3a8d0497c3d7f94214466d21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6da05812fa170930a906dcf2a3661fed31f35f627fff7034279ee981ea5f07c50b84309fe4ea5a5a6ecdc43b9320bc082bcc39fec697badaf93a84c0aa88144
|
7
|
+
data.tar.gz: 1ca11631d8d2d4adc5ae7351ce6117a3b44c31026c6160b8a0383754fed3b62d40b585cc117882e5394c183651d2772b15d75ed7ae31104c59437272ff0a9c51
|
data/lib/aws-sdk-quicksight.rb
CHANGED
@@ -3901,6 +3901,20 @@ module Aws::QuickSight
|
|
3901
3901
|
# Omit this parameter for users in the third group – IAM users and IAM
|
3902
3902
|
# role-based sessions.
|
3903
3903
|
#
|
3904
|
+
# @option params [String] :namespace
|
3905
|
+
# The QuickSight namespace that contains the dashboard IDs in this
|
3906
|
+
# request. If you're not using a custom namespace, set this to
|
3907
|
+
# "`default`".
|
3908
|
+
#
|
3909
|
+
# @option params [Array<String>] :additional_dashboard_ids
|
3910
|
+
# A list of one or more dashboard ids that you want to add to a session
|
3911
|
+
# that includes anonymous authorizations. `IdentityType` must be set to
|
3912
|
+
# ANONYMOUS for this to work, because other other identity types
|
3913
|
+
# authenticate as QuickSight users. For example, if you set
|
3914
|
+
# "`--dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3
|
3915
|
+
# identity-type ANONYMOUS`", the session can access all three
|
3916
|
+
# dashboards.
|
3917
|
+
#
|
3904
3918
|
# @return [Types::GetDashboardEmbedUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3905
3919
|
#
|
3906
3920
|
# * {Types::GetDashboardEmbedUrlResponse#embed_url #embed_url} => String
|
@@ -3912,12 +3926,14 @@ module Aws::QuickSight
|
|
3912
3926
|
# resp = client.get_dashboard_embed_url({
|
3913
3927
|
# aws_account_id: "AwsAccountId", # required
|
3914
3928
|
# dashboard_id: "RestrictiveResourceId", # required
|
3915
|
-
# identity_type: "IAM", # required, accepts IAM, QUICKSIGHT
|
3929
|
+
# identity_type: "IAM", # required, accepts IAM, QUICKSIGHT, ANONYMOUS
|
3916
3930
|
# session_lifetime_in_minutes: 1,
|
3917
3931
|
# undo_redo_disabled: false,
|
3918
3932
|
# reset_disabled: false,
|
3919
3933
|
# state_persistence_enabled: false,
|
3920
3934
|
# user_arn: "Arn",
|
3935
|
+
# namespace: "Namespace",
|
3936
|
+
# additional_dashboard_ids: ["RestrictiveResourceId"],
|
3921
3937
|
# })
|
3922
3938
|
#
|
3923
3939
|
# @example Response structure
|
@@ -7378,7 +7394,7 @@ module Aws::QuickSight
|
|
7378
7394
|
params: params,
|
7379
7395
|
config: config)
|
7380
7396
|
context[:gem_name] = 'aws-sdk-quicksight'
|
7381
|
-
context[:gem_version] = '1.
|
7397
|
+
context[:gem_version] = '1.37.0'
|
7382
7398
|
Seahorse::Client::Request.new(handlers, context)
|
7383
7399
|
end
|
7384
7400
|
|
@@ -20,6 +20,7 @@ module Aws::QuickSight
|
|
20
20
|
ActiveIAMPolicyAssignment = Shapes::StructureShape.new(name: 'ActiveIAMPolicyAssignment')
|
21
21
|
ActiveIAMPolicyAssignmentList = Shapes::ListShape.new(name: 'ActiveIAMPolicyAssignmentList')
|
22
22
|
AdHocFilteringOption = Shapes::StructureShape.new(name: 'AdHocFilteringOption')
|
23
|
+
AdditionalDashboardIdList = Shapes::ListShape.new(name: 'AdditionalDashboardIdList')
|
23
24
|
AliasName = Shapes::StringShape.new(name: 'AliasName')
|
24
25
|
AmazonElasticsearchParameters = Shapes::StructureShape.new(name: 'AmazonElasticsearchParameters')
|
25
26
|
Analysis = Shapes::StructureShape.new(name: 'Analysis')
|
@@ -228,6 +229,7 @@ module Aws::QuickSight
|
|
228
229
|
Double = Shapes::FloatShape.new(name: 'Double')
|
229
230
|
DoubleList = Shapes::ListShape.new(name: 'DoubleList')
|
230
231
|
Edition = Shapes::StringShape.new(name: 'Edition')
|
232
|
+
EmbeddingIdentityType = Shapes::StringShape.new(name: 'EmbeddingIdentityType')
|
231
233
|
EmbeddingUrl = Shapes::StringShape.new(name: 'EmbeddingUrl')
|
232
234
|
EntryPoint = Shapes::StringShape.new(name: 'EntryPoint')
|
233
235
|
ErrorInfo = Shapes::StructureShape.new(name: 'ErrorInfo')
|
@@ -466,6 +468,7 @@ module Aws::QuickSight
|
|
466
468
|
TwitterParameters = Shapes::StructureShape.new(name: 'TwitterParameters')
|
467
469
|
TypeCastFormat = Shapes::StringShape.new(name: 'TypeCastFormat')
|
468
470
|
UIColorPalette = Shapes::StructureShape.new(name: 'UIColorPalette')
|
471
|
+
UnsupportedPricingPlanException = Shapes::StructureShape.new(name: 'UnsupportedPricingPlanException')
|
469
472
|
UnsupportedUserEditionException = Shapes::StructureShape.new(name: 'UnsupportedUserEditionException')
|
470
473
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
471
474
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -550,6 +553,8 @@ module Aws::QuickSight
|
|
550
553
|
AdHocFilteringOption.add_member(:availability_status, Shapes::ShapeRef.new(shape: DashboardBehavior, location_name: "AvailabilityStatus"))
|
551
554
|
AdHocFilteringOption.struct_class = Types::AdHocFilteringOption
|
552
555
|
|
556
|
+
AdditionalDashboardIdList.member = Shapes::ShapeRef.new(shape: RestrictiveResourceId)
|
557
|
+
|
553
558
|
AmazonElasticsearchParameters.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, required: true, location_name: "Domain"))
|
554
559
|
AmazonElasticsearchParameters.struct_class = Types::AmazonElasticsearchParameters
|
555
560
|
|
@@ -1486,12 +1491,14 @@ module Aws::QuickSight
|
|
1486
1491
|
|
1487
1492
|
GetDashboardEmbedUrlRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
|
1488
1493
|
GetDashboardEmbedUrlRequest.add_member(:dashboard_id, Shapes::ShapeRef.new(shape: RestrictiveResourceId, required: true, location: "uri", location_name: "DashboardId"))
|
1489
|
-
GetDashboardEmbedUrlRequest.add_member(:identity_type, Shapes::ShapeRef.new(shape:
|
1494
|
+
GetDashboardEmbedUrlRequest.add_member(:identity_type, Shapes::ShapeRef.new(shape: EmbeddingIdentityType, required: true, location: "querystring", location_name: "creds-type"))
|
1490
1495
|
GetDashboardEmbedUrlRequest.add_member(:session_lifetime_in_minutes, Shapes::ShapeRef.new(shape: SessionLifetimeInMinutes, location: "querystring", location_name: "session-lifetime"))
|
1491
1496
|
GetDashboardEmbedUrlRequest.add_member(:undo_redo_disabled, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "undo-redo-disabled"))
|
1492
1497
|
GetDashboardEmbedUrlRequest.add_member(:reset_disabled, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "reset-disabled"))
|
1493
1498
|
GetDashboardEmbedUrlRequest.add_member(:state_persistence_enabled, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "state-persistence-enabled"))
|
1494
1499
|
GetDashboardEmbedUrlRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "user-arn"))
|
1500
|
+
GetDashboardEmbedUrlRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location: "querystring", location_name: "namespace"))
|
1501
|
+
GetDashboardEmbedUrlRequest.add_member(:additional_dashboard_ids, Shapes::ShapeRef.new(shape: AdditionalDashboardIdList, location: "querystring", location_name: "additional-dashboard-ids"))
|
1495
1502
|
GetDashboardEmbedUrlRequest.struct_class = Types::GetDashboardEmbedUrlRequest
|
1496
1503
|
|
1497
1504
|
GetDashboardEmbedUrlResponse.add_member(:embed_url, Shapes::ShapeRef.new(shape: EmbeddingUrl, location_name: "EmbedUrl"))
|
@@ -2279,6 +2286,10 @@ module Aws::QuickSight
|
|
2279
2286
|
UIColorPalette.add_member(:measure_foreground, Shapes::ShapeRef.new(shape: HexColor, location_name: "MeasureForeground"))
|
2280
2287
|
UIColorPalette.struct_class = Types::UIColorPalette
|
2281
2288
|
|
2289
|
+
UnsupportedPricingPlanException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
2290
|
+
UnsupportedPricingPlanException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
|
2291
|
+
UnsupportedPricingPlanException.struct_class = Types::UnsupportedPricingPlanException
|
2292
|
+
|
2282
2293
|
UnsupportedUserEditionException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
2283
2294
|
UnsupportedUserEditionException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
|
2284
2295
|
UnsupportedUserEditionException.struct_class = Types::UnsupportedUserEditionException
|
@@ -3363,6 +3374,7 @@ module Aws::QuickSight
|
|
3363
3374
|
o.errors << Shapes::ShapeRef.new(shape: IdentityTypeNotSupportedException)
|
3364
3375
|
o.errors << Shapes::ShapeRef.new(shape: SessionLifetimeInMinutesInvalidException)
|
3365
3376
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedUserEditionException)
|
3377
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedPricingPlanException)
|
3366
3378
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
3367
3379
|
end)
|
3368
3380
|
|
@@ -43,6 +43,7 @@ module Aws::QuickSight
|
|
43
43
|
# * {ResourceUnavailableException}
|
44
44
|
# * {SessionLifetimeInMinutesInvalidException}
|
45
45
|
# * {ThrottlingException}
|
46
|
+
# * {UnsupportedPricingPlanException}
|
46
47
|
# * {UnsupportedUserEditionException}
|
47
48
|
#
|
48
49
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
@@ -391,6 +392,26 @@ module Aws::QuickSight
|
|
391
392
|
end
|
392
393
|
end
|
393
394
|
|
395
|
+
class UnsupportedPricingPlanException < ServiceError
|
396
|
+
|
397
|
+
# @param [Seahorse::Client::RequestContext] context
|
398
|
+
# @param [String] message
|
399
|
+
# @param [Aws::QuickSight::Types::UnsupportedPricingPlanException] data
|
400
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
401
|
+
super(context, message, data)
|
402
|
+
end
|
403
|
+
|
404
|
+
# @return [String]
|
405
|
+
def message
|
406
|
+
@message || @data[:message]
|
407
|
+
end
|
408
|
+
|
409
|
+
# @return [String]
|
410
|
+
def request_id
|
411
|
+
@data[:request_id]
|
412
|
+
end
|
413
|
+
end
|
414
|
+
|
394
415
|
class UnsupportedUserEditionException < ServiceError
|
395
416
|
|
396
417
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -6099,18 +6099,22 @@ module Aws::QuickSight
|
|
6099
6099
|
include Aws::Structure
|
6100
6100
|
end
|
6101
6101
|
|
6102
|
+
# Parameter input for the `GetDashboardEmbedUrl` operation.
|
6103
|
+
#
|
6102
6104
|
# @note When making an API call, you may pass GetDashboardEmbedUrlRequest
|
6103
6105
|
# data as a hash:
|
6104
6106
|
#
|
6105
6107
|
# {
|
6106
6108
|
# aws_account_id: "AwsAccountId", # required
|
6107
6109
|
# dashboard_id: "RestrictiveResourceId", # required
|
6108
|
-
# identity_type: "IAM", # required, accepts IAM, QUICKSIGHT
|
6110
|
+
# identity_type: "IAM", # required, accepts IAM, QUICKSIGHT, ANONYMOUS
|
6109
6111
|
# session_lifetime_in_minutes: 1,
|
6110
6112
|
# undo_redo_disabled: false,
|
6111
6113
|
# reset_disabled: false,
|
6112
6114
|
# state_persistence_enabled: false,
|
6113
6115
|
# user_arn: "Arn",
|
6116
|
+
# namespace: "Namespace",
|
6117
|
+
# additional_dashboard_ids: ["RestrictiveResourceId"],
|
6114
6118
|
# }
|
6115
6119
|
#
|
6116
6120
|
# @!attribute [rw] aws_account_id
|
@@ -6170,6 +6174,22 @@ module Aws::QuickSight
|
|
6170
6174
|
# role-based sessions.
|
6171
6175
|
# @return [String]
|
6172
6176
|
#
|
6177
|
+
# @!attribute [rw] namespace
|
6178
|
+
# The QuickSight namespace that contains the dashboard IDs in this
|
6179
|
+
# request. If you're not using a custom namespace, set this to
|
6180
|
+
# "`default`".
|
6181
|
+
# @return [String]
|
6182
|
+
#
|
6183
|
+
# @!attribute [rw] additional_dashboard_ids
|
6184
|
+
# A list of one or more dashboard ids that you want to add to a
|
6185
|
+
# session that includes anonymous authorizations. `IdentityType` must
|
6186
|
+
# be set to ANONYMOUS for this to work, because other other identity
|
6187
|
+
# types authenticate as QuickSight users. For example, if you set
|
6188
|
+
# "`--dashboard-id dash_id1 --dashboard-id dash_id2 dash_id3
|
6189
|
+
# identity-type ANONYMOUS`", the session can access all three
|
6190
|
+
# dashboards.
|
6191
|
+
# @return [Array<String>]
|
6192
|
+
#
|
6173
6193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrlRequest AWS API Documentation
|
6174
6194
|
#
|
6175
6195
|
class GetDashboardEmbedUrlRequest < Struct.new(
|
@@ -6180,11 +6200,15 @@ module Aws::QuickSight
|
|
6180
6200
|
:undo_redo_disabled,
|
6181
6201
|
:reset_disabled,
|
6182
6202
|
:state_persistence_enabled,
|
6183
|
-
:user_arn
|
6203
|
+
:user_arn,
|
6204
|
+
:namespace,
|
6205
|
+
:additional_dashboard_ids)
|
6184
6206
|
SENSITIVE = []
|
6185
6207
|
include Aws::Structure
|
6186
6208
|
end
|
6187
6209
|
|
6210
|
+
# Output returned from the `GetDashboardEmbedUrl` operation.
|
6211
|
+
#
|
6188
6212
|
# @!attribute [rw] embed_url
|
6189
6213
|
# A single-use URL that you can put into your server-side webpage to
|
6190
6214
|
# embed your dashboard. This URL is valid for 5 minutes. The API
|
@@ -10705,6 +10729,32 @@ module Aws::QuickSight
|
|
10705
10729
|
include Aws::Structure
|
10706
10730
|
end
|
10707
10731
|
|
10732
|
+
# This error indicates that you are calling an embedding operation in
|
10733
|
+
# Amazon QuickSight without the required pricing plan on your AWS
|
10734
|
+
# account. Before you can use anonymous embedding, a QuickSight
|
10735
|
+
# administrator needs to add capacity pricing to QuickSight. You can do
|
10736
|
+
# this on the **Manage QuickSight** page.
|
10737
|
+
#
|
10738
|
+
# After capacity pricing is added, you can enable anonymous embedding by
|
10739
|
+
# using the ` GetDashboardEmbedUrl ` API operation with the
|
10740
|
+
# `--identity-type ANONYMOUS` option.
|
10741
|
+
#
|
10742
|
+
# @!attribute [rw] message
|
10743
|
+
# @return [String]
|
10744
|
+
#
|
10745
|
+
# @!attribute [rw] request_id
|
10746
|
+
# The AWS request ID for this request.
|
10747
|
+
# @return [String]
|
10748
|
+
#
|
10749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UnsupportedPricingPlanException AWS API Documentation
|
10750
|
+
#
|
10751
|
+
class UnsupportedPricingPlanException < Struct.new(
|
10752
|
+
:message,
|
10753
|
+
:request_id)
|
10754
|
+
SENSITIVE = []
|
10755
|
+
include Aws::Structure
|
10756
|
+
end
|
10757
|
+
|
10708
10758
|
# This error indicates that you are calling an operation on an Amazon
|
10709
10759
|
# QuickSight subscription where the edition doesn't include support for
|
10710
10760
|
# that operation. Amazon QuickSight currently has Standard Edition and
|
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.37.0
|
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: 2020-11-
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|