aws-sdk-quicksight 1.75.0 → 1.76.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-quicksight/client.rb +9 -1
- data/lib/aws-sdk-quicksight/client_api.rb +1 -0
- data/lib/aws-sdk-quicksight/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-quicksight/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-quicksight/types.rb +12 -1
- data/lib/aws-sdk-quicksight.rb +1 -1
- 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: 235c2032b1b289879d4c3eee4e624bc04f5535a598e014909f0dafb753f75b69
|
4
|
+
data.tar.gz: 3f6f857c42b2a2b6ab87cb9322d850ed158b928fb2c1fbbef63c4423897a36d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 600c7340719aa8f0820935880f17159a108f8ab2f9a4f85b7038127d0af7d9fcbd36a689644af06a56f9715a3b6943a3d2db6a48b80ec5fde9f6ca686a79658a
|
7
|
+
data.tar.gz: c60dd3605a0a7255f6869ded3f9433ba9553e6188ffd35c4fb0aed921925a5f9a0acf1f06c13a35cd4acafda857b93b6078c1aab7724d00be2c3d45d6aabbd8e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
@@ -1272,6 +1272,7 @@ module Aws::QuickSight
|
|
1272
1272
|
# bucket: "S3Bucket", # required
|
1273
1273
|
# key: "S3Key", # required
|
1274
1274
|
# },
|
1275
|
+
# role_arn: "RoleArn",
|
1275
1276
|
# },
|
1276
1277
|
# service_now_parameters: {
|
1277
1278
|
# site_base_url: "SiteBaseUrl", # required
|
@@ -1381,6 +1382,7 @@ module Aws::QuickSight
|
|
1381
1382
|
# bucket: "S3Bucket", # required
|
1382
1383
|
# key: "S3Key", # required
|
1383
1384
|
# },
|
1385
|
+
# role_arn: "RoleArn",
|
1384
1386
|
# },
|
1385
1387
|
# service_now_parameters: {
|
1386
1388
|
# site_base_url: "SiteBaseUrl", # required
|
@@ -3781,6 +3783,7 @@ module Aws::QuickSight
|
|
3781
3783
|
# resp.data_source.data_source_parameters.redshift_parameters.cluster_id #=> String
|
3782
3784
|
# resp.data_source.data_source_parameters.s3_parameters.manifest_file_location.bucket #=> String
|
3783
3785
|
# resp.data_source.data_source_parameters.s3_parameters.manifest_file_location.key #=> String
|
3786
|
+
# resp.data_source.data_source_parameters.s3_parameters.role_arn #=> String
|
3784
3787
|
# resp.data_source.data_source_parameters.service_now_parameters.site_base_url #=> String
|
3785
3788
|
# resp.data_source.data_source_parameters.snowflake_parameters.host #=> String
|
3786
3789
|
# resp.data_source.data_source_parameters.snowflake_parameters.database #=> String
|
@@ -3836,6 +3839,7 @@ module Aws::QuickSight
|
|
3836
3839
|
# resp.data_source.alternate_data_source_parameters[0].redshift_parameters.cluster_id #=> String
|
3837
3840
|
# resp.data_source.alternate_data_source_parameters[0].s3_parameters.manifest_file_location.bucket #=> String
|
3838
3841
|
# resp.data_source.alternate_data_source_parameters[0].s3_parameters.manifest_file_location.key #=> String
|
3842
|
+
# resp.data_source.alternate_data_source_parameters[0].s3_parameters.role_arn #=> String
|
3839
3843
|
# resp.data_source.alternate_data_source_parameters[0].service_now_parameters.site_base_url #=> String
|
3840
3844
|
# resp.data_source.alternate_data_source_parameters[0].snowflake_parameters.host #=> String
|
3841
3845
|
# resp.data_source.alternate_data_source_parameters[0].snowflake_parameters.database #=> String
|
@@ -5557,6 +5561,7 @@ module Aws::QuickSight
|
|
5557
5561
|
# resp.data_sources[0].data_source_parameters.redshift_parameters.cluster_id #=> String
|
5558
5562
|
# resp.data_sources[0].data_source_parameters.s3_parameters.manifest_file_location.bucket #=> String
|
5559
5563
|
# resp.data_sources[0].data_source_parameters.s3_parameters.manifest_file_location.key #=> String
|
5564
|
+
# resp.data_sources[0].data_source_parameters.s3_parameters.role_arn #=> String
|
5560
5565
|
# resp.data_sources[0].data_source_parameters.service_now_parameters.site_base_url #=> String
|
5561
5566
|
# resp.data_sources[0].data_source_parameters.snowflake_parameters.host #=> String
|
5562
5567
|
# resp.data_sources[0].data_source_parameters.snowflake_parameters.database #=> String
|
@@ -5612,6 +5617,7 @@ module Aws::QuickSight
|
|
5612
5617
|
# resp.data_sources[0].alternate_data_source_parameters[0].redshift_parameters.cluster_id #=> String
|
5613
5618
|
# resp.data_sources[0].alternate_data_source_parameters[0].s3_parameters.manifest_file_location.bucket #=> String
|
5614
5619
|
# resp.data_sources[0].alternate_data_source_parameters[0].s3_parameters.manifest_file_location.key #=> String
|
5620
|
+
# resp.data_sources[0].alternate_data_source_parameters[0].s3_parameters.role_arn #=> String
|
5615
5621
|
# resp.data_sources[0].alternate_data_source_parameters[0].service_now_parameters.site_base_url #=> String
|
5616
5622
|
# resp.data_sources[0].alternate_data_source_parameters[0].snowflake_parameters.host #=> String
|
5617
5623
|
# resp.data_sources[0].alternate_data_source_parameters[0].snowflake_parameters.database #=> String
|
@@ -8155,6 +8161,7 @@ module Aws::QuickSight
|
|
8155
8161
|
# bucket: "S3Bucket", # required
|
8156
8162
|
# key: "S3Key", # required
|
8157
8163
|
# },
|
8164
|
+
# role_arn: "RoleArn",
|
8158
8165
|
# },
|
8159
8166
|
# service_now_parameters: {
|
8160
8167
|
# site_base_url: "SiteBaseUrl", # required
|
@@ -8264,6 +8271,7 @@ module Aws::QuickSight
|
|
8264
8271
|
# bucket: "S3Bucket", # required
|
8265
8272
|
# key: "S3Key", # required
|
8266
8273
|
# },
|
8274
|
+
# role_arn: "RoleArn",
|
8267
8275
|
# },
|
8268
8276
|
# service_now_parameters: {
|
8269
8277
|
# site_base_url: "SiteBaseUrl", # required
|
@@ -9314,7 +9322,7 @@ module Aws::QuickSight
|
|
9314
9322
|
params: params,
|
9315
9323
|
config: config)
|
9316
9324
|
context[:gem_name] = 'aws-sdk-quicksight'
|
9317
|
-
context[:gem_version] = '1.
|
9325
|
+
context[:gem_version] = '1.76.0'
|
9318
9326
|
Seahorse::Client::Request.new(handlers, context)
|
9319
9327
|
end
|
9320
9328
|
|
@@ -5183,6 +5183,7 @@ module Aws::QuickSight
|
|
5183
5183
|
RowSortList.member = Shapes::ShapeRef.new(shape: FieldSortOptions)
|
5184
5184
|
|
5185
5185
|
S3Parameters.add_member(:manifest_file_location, Shapes::ShapeRef.new(shape: ManifestFileLocation, required: true, location_name: "ManifestFileLocation"))
|
5186
|
+
S3Parameters.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
5186
5187
|
S3Parameters.struct_class = Types::S3Parameters
|
5187
5188
|
|
5188
5189
|
S3Source.add_member(:data_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DataSourceArn"))
|
@@ -50,9 +50,6 @@ module Aws::QuickSight
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::QuickSight
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://quicksight-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://quicksight-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://quicksight-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://quicksight-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://quicksight.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://quicksight.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://quicksight.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -19166,10 +19166,21 @@ module Aws::QuickSight
|
|
19166
19166
|
# manifest file was uploaded into Amazon QuickSight.
|
19167
19167
|
# @return [Types::ManifestFileLocation]
|
19168
19168
|
#
|
19169
|
+
# @!attribute [rw] role_arn
|
19170
|
+
# Use the `RoleArn` structure to override an account-wide role for a
|
19171
|
+
# specific S3 data source. For example, say an account administrator
|
19172
|
+
# has turned off all S3 access with an account-wide role. The
|
19173
|
+
# administrator can then use `RoleArn` to bypass the account-wide role
|
19174
|
+
# and allow S3 access for the single S3 data source that is specified
|
19175
|
+
# in the structure, even if the account-wide role forbidding S3 access
|
19176
|
+
# is still active.
|
19177
|
+
# @return [String]
|
19178
|
+
#
|
19169
19179
|
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/S3Parameters AWS API Documentation
|
19170
19180
|
#
|
19171
19181
|
class S3Parameters < Struct.new(
|
19172
|
-
:manifest_file_location
|
19182
|
+
:manifest_file_location,
|
19183
|
+
:role_arn)
|
19173
19184
|
SENSITIVE = []
|
19174
19185
|
include Aws::Structure
|
19175
19186
|
end
|
data/lib/aws-sdk-quicksight.rb
CHANGED
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.76.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: 2023-02-
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|