aws-sdk-quicksight 1.207.0 → 1.209.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87491de93d73e3370716bb6f71d642808bcac5c8c867800ade4ad7ca8ddf834f
4
- data.tar.gz: 8355687edfeb46edf0677a07e2c81844da5dc12fc6f4bf422967cdab3bebbcae
3
+ metadata.gz: 2d7b52e298e3ec1bc4680c750b70b37886fe6471975a7875e49a9866996d187c
4
+ data.tar.gz: ae4d210b590133a8b3ae0976d9a76010c0f5e761dc96366e4c2e9b7cdfe058e1
5
5
  SHA512:
6
- metadata.gz: 0ccdfd60383b9bdd2aec3616730181187afbded18faf112b68f65992d570da0bb6a046bdbf1241a4c8913a3b316a154bf7af7e4c9cd302dbfc71be4bf37c6aca
7
- data.tar.gz: 2ce50d0115bf80400ca8650943c923ba9d69dfd458ded763683d6ea23d30277c6a85d83330035566f4513533682ebc9ec7945a5583defe19fc99688e6a3963d8
6
+ metadata.gz: a9b1bc0deee50a2b09a5c713910fce6818ab0146548e9228762bc26f4272e153016d4419f46f7344165d9475dd3ff0e9b04515073ae74ee2b8c81b9263bf6f79
7
+ data.tar.gz: d14b6f12d1d5e60a0c909a5813edb2711748ff3c64aeed63c6f7eccbfd2e172b236dda29a8eb4370ef1ed5635a0eb9ddf054332ff5a24ecd647281d6633c26b6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.209.0 (2026-11-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.208.0 (2026-11-05)
10
+ ------------------
11
+
12
+ * Feature - Amazon QuickSight adds APIs to view account service role settings and switch to or replace a customer-managed IAM role.
13
+
4
14
  1.207.0 (2026-11-04)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.207.0
1
+ 1.209.0
@@ -12907,6 +12907,45 @@ module Aws::QuickSight
12907
12907
  req.send_request(options)
12908
12908
  end
12909
12909
 
12910
+ # Describes the service role configuration for your Amazon Quick Sight
12911
+ # account.
12912
+ #
12913
+ # Call this operation in the Amazon Web Services Region where your
12914
+ # Amazon Quick Sight account is registered (the home Region).
12915
+ #
12916
+ # @option params [required, String] :aws_account_id
12917
+ # The ID of the Amazon Web Services account whose service role
12918
+ # configuration you want to describe.
12919
+ #
12920
+ # @return [Types::DescribeResourcePermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12921
+ #
12922
+ # * {Types::DescribeResourcePermissionsResponse#role_type #role_type} => String
12923
+ # * {Types::DescribeResourcePermissionsResponse#customer_managed_role_arn #customer_managed_role_arn} => String
12924
+ # * {Types::DescribeResourcePermissionsResponse#request_id #request_id} => String
12925
+ # * {Types::DescribeResourcePermissionsResponse#status #status} => Integer
12926
+ #
12927
+ # @example Request syntax with placeholder values
12928
+ #
12929
+ # resp = client.describe_resource_permissions({
12930
+ # aws_account_id: "AwsAccountId", # required
12931
+ # })
12932
+ #
12933
+ # @example Response structure
12934
+ #
12935
+ # resp.role_type #=> String, one of "QUICKSIGHT_MANAGED", "CUSTOMER_MANAGED"
12936
+ # resp.customer_managed_role_arn #=> String
12937
+ # resp.request_id #=> String
12938
+ # resp.status #=> Integer
12939
+ #
12940
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeResourcePermissions AWS API Documentation
12941
+ #
12942
+ # @overload describe_resource_permissions(params = {})
12943
+ # @param [Hash] params ({})
12944
+ def describe_resource_permissions(params = {}, options = {})
12945
+ req = build_request(:describe_resource_permissions, params)
12946
+ req.send_request(options)
12947
+ end
12948
+
12910
12949
  # Describes all custom permissions that are mapped to a role.
12911
12950
  #
12912
12951
  # @option params [required, String] :role
@@ -26289,6 +26328,87 @@ module Aws::QuickSight
26289
26328
  req.send_request(options)
26290
26329
  end
26291
26330
 
26331
+ # Updates the service role configuration that Amazon Quick Sight uses to
26332
+ # access resources in your Amazon Web Services account. To use this
26333
+ # operation, you must have the `quicksight:UpdateResourcePermissions`
26334
+ # and `iam:PassRole` permissions.
26335
+ #
26336
+ # Call this operation in the Amazon Web Services Region where your
26337
+ # Amazon Quick Sight account is registered (the home Region). You can
26338
+ # switch from a role managed by Amazon Quick Sight to a customer-managed
26339
+ # role, or replace one customer-managed role with another. You can't
26340
+ # use this operation to switch back to a role managed by Amazon Quick
26341
+ # Sight.
26342
+ #
26343
+ # @option params [required, String] :aws_account_id
26344
+ # The ID of the Amazon Web Services account whose service role
26345
+ # configuration you want to update.
26346
+ #
26347
+ # @option params [required, String] :role_type
26348
+ # The type of service role that you want Amazon Quick Sight to use. The
26349
+ # only supported value for this operation is `CUSTOMER_MANAGED`.
26350
+ # Requests that specify `QUICKSIGHT_MANAGED` are rejected.
26351
+ #
26352
+ # @option params [required, String] :customer_managed_role_arn
26353
+ # The ARN of the customer-managed role that you want Amazon Quick Sight
26354
+ # to use. To use this operation, you must have the `iam:PassRole`
26355
+ # permission for the role.
26356
+ #
26357
+ # Configure the role as follows:
26358
+ #
26359
+ # * The role must belong to the Amazon Web Services account specified by
26360
+ # `AwsAccountId`.
26361
+ #
26362
+ # * Configure the role trust policy to allow the Amazon Quick Sight
26363
+ # service principal to call `sts:AssumeRole`.
26364
+ #
26365
+ # * Attach a permissions policy that allows access to the resources that
26366
+ # you want Amazon Quick Sight to use.
26367
+ #
26368
+ # * To use features that rely on session tags, configure the role trust
26369
+ # policy to allow the Amazon Quick Sight service principal to call
26370
+ # `sts:TagSession`.
26371
+ #
26372
+ # If the role doesn't exist or its trust policy doesn't allow
26373
+ # `sts:AssumeRole`, the request returns an `AccessDeniedException`.
26374
+ #
26375
+ # When you call this operation, Amazon Quick Sight attempts to assume
26376
+ # the role with session tags and records whether the attempt succeeds.
26377
+ # If you later add or remove `sts:TagSession` from the trust policy,
26378
+ # call this operation again with the same role ARN to refresh the stored
26379
+ # capability.
26380
+ #
26381
+ # @return [Types::UpdateResourcePermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
26382
+ #
26383
+ # * {Types::UpdateResourcePermissionsResponse#role_type #role_type} => String
26384
+ # * {Types::UpdateResourcePermissionsResponse#customer_managed_role_arn #customer_managed_role_arn} => String
26385
+ # * {Types::UpdateResourcePermissionsResponse#request_id #request_id} => String
26386
+ # * {Types::UpdateResourcePermissionsResponse#status #status} => Integer
26387
+ #
26388
+ # @example Request syntax with placeholder values
26389
+ #
26390
+ # resp = client.update_resource_permissions({
26391
+ # aws_account_id: "AwsAccountId", # required
26392
+ # role_type: "QUICKSIGHT_MANAGED", # required, accepts QUICKSIGHT_MANAGED, CUSTOMER_MANAGED
26393
+ # customer_managed_role_arn: "RoleArn", # required
26394
+ # })
26395
+ #
26396
+ # @example Response structure
26397
+ #
26398
+ # resp.role_type #=> String, one of "QUICKSIGHT_MANAGED", "CUSTOMER_MANAGED"
26399
+ # resp.customer_managed_role_arn #=> String
26400
+ # resp.request_id #=> String
26401
+ # resp.status #=> Integer
26402
+ #
26403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateResourcePermissions AWS API Documentation
26404
+ #
26405
+ # @overload update_resource_permissions(params = {})
26406
+ # @param [Hash] params ({})
26407
+ def update_resource_permissions(params = {}, options = {})
26408
+ req = build_request(:update_resource_permissions, params)
26409
+ req.send_request(options)
26410
+ end
26411
+
26292
26412
  # Updates the custom permissions that are associated with a role.
26293
26413
  #
26294
26414
  # @option params [required, String] :custom_permissions_name
@@ -28048,7 +28168,7 @@ module Aws::QuickSight
28048
28168
  tracer: tracer
28049
28169
  )
28050
28170
  context[:gem_name] = 'aws-sdk-quicksight'
28051
- context[:gem_version] = '1.207.0'
28171
+ context[:gem_version] = '1.209.0'
28052
28172
  Seahorse::Client::Request.new(handlers, context)
28053
28173
  end
28054
28174
 
@@ -1024,6 +1024,8 @@ module Aws::QuickSight
1024
1024
  DescribeQuickSightQSearchConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeQuickSightQSearchConfigurationResponse')
1025
1025
  DescribeRefreshScheduleRequest = Shapes::StructureShape.new(name: 'DescribeRefreshScheduleRequest')
1026
1026
  DescribeRefreshScheduleResponse = Shapes::StructureShape.new(name: 'DescribeRefreshScheduleResponse')
1027
+ DescribeResourcePermissionsRequest = Shapes::StructureShape.new(name: 'DescribeResourcePermissionsRequest')
1028
+ DescribeResourcePermissionsResponse = Shapes::StructureShape.new(name: 'DescribeResourcePermissionsResponse')
1027
1029
  DescribeRoleCustomPermissionRequest = Shapes::StructureShape.new(name: 'DescribeRoleCustomPermissionRequest')
1028
1030
  DescribeRoleCustomPermissionResponse = Shapes::StructureShape.new(name: 'DescribeRoleCustomPermissionResponse')
1029
1031
  DescribeSelfUpgradeConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeSelfUpgradeConfigurationRequest')
@@ -2199,6 +2201,7 @@ module Aws::QuickSight
2199
2201
  SeriesItemList = Shapes::ListShape.new(name: 'SeriesItemList')
2200
2202
  ServiceAccountCredentials = Shapes::StructureShape.new(name: 'ServiceAccountCredentials')
2201
2203
  ServiceNowParameters = Shapes::StructureShape.new(name: 'ServiceNowParameters')
2204
+ ServiceRoleType = Shapes::StringShape.new(name: 'ServiceRoleType')
2202
2205
  ServiceType = Shapes::StringShape.new(name: 'ServiceType')
2203
2206
  SessionLifetimeInMinutes = Shapes::IntegerShape.new(name: 'SessionLifetimeInMinutes')
2204
2207
  SessionLifetimeInMinutesInvalidException = Shapes::StructureShape.new(name: 'SessionLifetimeInMinutesInvalidException')
@@ -2746,6 +2749,8 @@ module Aws::QuickSight
2746
2749
  UpdateRefreshScheduleRequest = Shapes::StructureShape.new(name: 'UpdateRefreshScheduleRequest')
2747
2750
  UpdateRefreshScheduleResponse = Shapes::StructureShape.new(name: 'UpdateRefreshScheduleResponse')
2748
2751
  UpdateResourcePermissionList = Shapes::ListShape.new(name: 'UpdateResourcePermissionList')
2752
+ UpdateResourcePermissionsRequest = Shapes::StructureShape.new(name: 'UpdateResourcePermissionsRequest')
2753
+ UpdateResourcePermissionsResponse = Shapes::StructureShape.new(name: 'UpdateResourcePermissionsResponse')
2749
2754
  UpdateRoleCustomPermissionRequest = Shapes::StructureShape.new(name: 'UpdateRoleCustomPermissionRequest')
2750
2755
  UpdateRoleCustomPermissionResponse = Shapes::StructureShape.new(name: 'UpdateRoleCustomPermissionResponse')
2751
2756
  UpdateSPICECapacityConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateSPICECapacityConfigurationRequest')
@@ -7419,6 +7424,15 @@ module Aws::QuickSight
7419
7424
  DescribeRefreshScheduleResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
7420
7425
  DescribeRefreshScheduleResponse.struct_class = Types::DescribeRefreshScheduleResponse
7421
7426
 
7427
+ DescribeResourcePermissionsRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
7428
+ DescribeResourcePermissionsRequest.struct_class = Types::DescribeResourcePermissionsRequest
7429
+
7430
+ DescribeResourcePermissionsResponse.add_member(:role_type, Shapes::ShapeRef.new(shape: ServiceRoleType, location_name: "RoleType"))
7431
+ DescribeResourcePermissionsResponse.add_member(:customer_managed_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "CustomerManagedRoleArn"))
7432
+ DescribeResourcePermissionsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
7433
+ DescribeResourcePermissionsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
7434
+ DescribeResourcePermissionsResponse.struct_class = Types::DescribeResourcePermissionsResponse
7435
+
7422
7436
  DescribeRoleCustomPermissionRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location: "uri", location_name: "Role"))
7423
7437
  DescribeRoleCustomPermissionRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
7424
7438
  DescribeRoleCustomPermissionRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location: "uri", location_name: "Namespace"))
@@ -13704,6 +13718,17 @@ module Aws::QuickSight
13704
13718
 
13705
13719
  UpdateResourcePermissionList.member = Shapes::ShapeRef.new(shape: ResourcePermission)
13706
13720
 
13721
+ UpdateResourcePermissionsRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
13722
+ UpdateResourcePermissionsRequest.add_member(:role_type, Shapes::ShapeRef.new(shape: ServiceRoleType, required: true, location_name: "RoleType"))
13723
+ UpdateResourcePermissionsRequest.add_member(:customer_managed_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "CustomerManagedRoleArn"))
13724
+ UpdateResourcePermissionsRequest.struct_class = Types::UpdateResourcePermissionsRequest
13725
+
13726
+ UpdateResourcePermissionsResponse.add_member(:role_type, Shapes::ShapeRef.new(shape: ServiceRoleType, location_name: "RoleType"))
13727
+ UpdateResourcePermissionsResponse.add_member(:customer_managed_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "CustomerManagedRoleArn"))
13728
+ UpdateResourcePermissionsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
13729
+ UpdateResourcePermissionsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
13730
+ UpdateResourcePermissionsResponse.struct_class = Types::UpdateResourcePermissionsResponse
13731
+
13707
13732
  UpdateRoleCustomPermissionRequest.add_member(:custom_permissions_name, Shapes::ShapeRef.new(shape: RoleName, required: true, location_name: "CustomPermissionsName"))
13708
13733
  UpdateRoleCustomPermissionRequest.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location: "uri", location_name: "Role"))
13709
13734
  UpdateRoleCustomPermissionRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
@@ -16285,6 +16310,19 @@ module Aws::QuickSight
16285
16310
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
16286
16311
  end)
16287
16312
 
16313
+ api.add_operation(:describe_resource_permissions, Seahorse::Model::Operation.new.tap do |o|
16314
+ o.name = "DescribeResourcePermissions"
16315
+ o.http_method = "GET"
16316
+ o.http_request_uri = "/accounts/{AwsAccountId}/account-resource-permissions"
16317
+ o.input = Shapes::ShapeRef.new(shape: DescribeResourcePermissionsRequest)
16318
+ o.output = Shapes::ShapeRef.new(shape: DescribeResourcePermissionsResponse)
16319
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
16320
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
16321
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
16322
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
16323
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
16324
+ end)
16325
+
16288
16326
  api.add_operation(:describe_role_custom_permission, Seahorse::Model::Operation.new.tap do |o|
16289
16327
  o.name = "DescribeRoleCustomPermission"
16290
16328
  o.http_method = "GET"
@@ -18647,6 +18685,19 @@ module Aws::QuickSight
18647
18685
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
18648
18686
  end)
18649
18687
 
18688
+ api.add_operation(:update_resource_permissions, Seahorse::Model::Operation.new.tap do |o|
18689
+ o.name = "UpdateResourcePermissions"
18690
+ o.http_method = "PUT"
18691
+ o.http_request_uri = "/accounts/{AwsAccountId}/account-resource-permissions"
18692
+ o.input = Shapes::ShapeRef.new(shape: UpdateResourcePermissionsRequest)
18693
+ o.output = Shapes::ShapeRef.new(shape: UpdateResourcePermissionsResponse)
18694
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
18695
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
18696
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
18697
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
18698
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
18699
+ end)
18700
+
18650
18701
  api.add_operation(:update_role_custom_permission, Seahorse::Model::Operation.new.tap do |o|
18651
18702
  o.name = "UpdateRoleCustomPermission"
18652
18703
  o.http_method = "PUT"
@@ -22347,6 +22347,49 @@ module Aws::QuickSight
22347
22347
  include Aws::Structure
22348
22348
  end
22349
22349
 
22350
+ # @!attribute [rw] aws_account_id
22351
+ # The ID of the Amazon Web Services account whose service role
22352
+ # configuration you want to describe.
22353
+ # @return [String]
22354
+ #
22355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeResourcePermissionsRequest AWS API Documentation
22356
+ #
22357
+ class DescribeResourcePermissionsRequest < Struct.new(
22358
+ :aws_account_id)
22359
+ SENSITIVE = []
22360
+ include Aws::Structure
22361
+ end
22362
+
22363
+ # @!attribute [rw] role_type
22364
+ # The type of service role that Amazon Quick Sight uses for your
22365
+ # account.
22366
+ # @return [String]
22367
+ #
22368
+ # @!attribute [rw] customer_managed_role_arn
22369
+ # The ARN of the customer-managed role that Amazon Quick Sight uses
22370
+ # for your account. Amazon Quick Sight returns this value only when
22371
+ # `RoleType` is `CUSTOMER_MANAGED`.
22372
+ # @return [String]
22373
+ #
22374
+ # @!attribute [rw] request_id
22375
+ # The Amazon Web Services request ID for this operation.
22376
+ # @return [String]
22377
+ #
22378
+ # @!attribute [rw] status
22379
+ # The HTTP status of the request.
22380
+ # @return [Integer]
22381
+ #
22382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeResourcePermissionsResponse AWS API Documentation
22383
+ #
22384
+ class DescribeResourcePermissionsResponse < Struct.new(
22385
+ :role_type,
22386
+ :customer_managed_role_arn,
22387
+ :request_id,
22388
+ :status)
22389
+ SENSITIVE = []
22390
+ include Aws::Structure
22391
+ end
22392
+
22350
22393
  # @!attribute [rw] role
22351
22394
  # The name of the role whose permissions you want described.
22352
22395
  # @return [String]
@@ -36256,9 +36299,9 @@ module Aws::QuickSight
36256
36299
  # tenant ID and client ID are supplied through `OneDriveParameters`.
36257
36300
  #
36258
36301
  # @!attribute [rw] kms_key_arn
36259
- # The Amazon Resource Name (ARN) of the AWS Key Management Service
36260
- # (AWS KMS) key used to encrypt the OneDrive certificate credentials.
36261
- # This field is required.
36302
+ # The Amazon Resource Name (ARN) of the Key Management Service (KMS)
36303
+ # key used to encrypt the OneDrive certificate credentials. This field
36304
+ # is required.
36262
36305
  # @return [String]
36263
36306
  #
36264
36307
  # @!attribute [rw] cert_thumbprint
@@ -43062,9 +43105,9 @@ module Aws::QuickSight
43062
43105
  # `SharePointParameters`.
43063
43106
  #
43064
43107
  # @!attribute [rw] kms_key_arn
43065
- # The Amazon Resource Name (ARN) of the AWS Key Management Service
43066
- # (AWS KMS) key used to encrypt the SharePoint certificate
43067
- # credentials. This field is required.
43108
+ # The Amazon Resource Name (ARN) of the Key Management Service (KMS)
43109
+ # key used to encrypt the SharePoint certificate credentials. This
43110
+ # field is required.
43068
43111
  # @return [String]
43069
43112
  #
43070
43113
  # @!attribute [rw] cert_thumbprint
@@ -52744,6 +52787,86 @@ module Aws::QuickSight
52744
52787
  include Aws::Structure
52745
52788
  end
52746
52789
 
52790
+ # @!attribute [rw] aws_account_id
52791
+ # The ID of the Amazon Web Services account whose service role
52792
+ # configuration you want to update.
52793
+ # @return [String]
52794
+ #
52795
+ # @!attribute [rw] role_type
52796
+ # The type of service role that you want Amazon Quick Sight to use.
52797
+ # The only supported value for this operation is `CUSTOMER_MANAGED`.
52798
+ # Requests that specify `QUICKSIGHT_MANAGED` are rejected.
52799
+ # @return [String]
52800
+ #
52801
+ # @!attribute [rw] customer_managed_role_arn
52802
+ # The ARN of the customer-managed role that you want Amazon Quick
52803
+ # Sight to use. To use this operation, you must have the
52804
+ # `iam:PassRole` permission for the role.
52805
+ #
52806
+ # Configure the role as follows:
52807
+ #
52808
+ # * The role must belong to the Amazon Web Services account specified
52809
+ # by `AwsAccountId`.
52810
+ #
52811
+ # * Configure the role trust policy to allow the Amazon Quick Sight
52812
+ # service principal to call `sts:AssumeRole`.
52813
+ #
52814
+ # * Attach a permissions policy that allows access to the resources
52815
+ # that you want Amazon Quick Sight to use.
52816
+ #
52817
+ # * To use features that rely on session tags, configure the role
52818
+ # trust policy to allow the Amazon Quick Sight service principal to
52819
+ # call `sts:TagSession`.
52820
+ #
52821
+ # If the role doesn't exist or its trust policy doesn't allow
52822
+ # `sts:AssumeRole`, the request returns an `AccessDeniedException`.
52823
+ #
52824
+ # When you call this operation, Amazon Quick Sight attempts to assume
52825
+ # the role with session tags and records whether the attempt succeeds.
52826
+ # If you later add or remove `sts:TagSession` from the trust policy,
52827
+ # call this operation again with the same role ARN to refresh the
52828
+ # stored capability.
52829
+ # @return [String]
52830
+ #
52831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateResourcePermissionsRequest AWS API Documentation
52832
+ #
52833
+ class UpdateResourcePermissionsRequest < Struct.new(
52834
+ :aws_account_id,
52835
+ :role_type,
52836
+ :customer_managed_role_arn)
52837
+ SENSITIVE = []
52838
+ include Aws::Structure
52839
+ end
52840
+
52841
+ # @!attribute [rw] role_type
52842
+ # The type of service role that Amazon Quick Sight uses for your
52843
+ # account after the update. This value is `CUSTOMER_MANAGED`.
52844
+ # @return [String]
52845
+ #
52846
+ # @!attribute [rw] customer_managed_role_arn
52847
+ # The ARN of the customer-managed role that Amazon Quick Sight uses
52848
+ # for your account after the update.
52849
+ # @return [String]
52850
+ #
52851
+ # @!attribute [rw] request_id
52852
+ # The Amazon Web Services request ID for this operation.
52853
+ # @return [String]
52854
+ #
52855
+ # @!attribute [rw] status
52856
+ # The HTTP status of the request.
52857
+ # @return [Integer]
52858
+ #
52859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateResourcePermissionsResponse AWS API Documentation
52860
+ #
52861
+ class UpdateResourcePermissionsResponse < Struct.new(
52862
+ :role_type,
52863
+ :customer_managed_role_arn,
52864
+ :request_id,
52865
+ :status)
52866
+ SENSITIVE = []
52867
+ include Aws::Structure
52868
+ end
52869
+
52747
52870
  # @!attribute [rw] custom_permissions_name
52748
52871
  # The name of the custom permission that you want to update the role
52749
52872
  # with.
@@ -54,7 +54,7 @@ module Aws::QuickSight
54
54
  autoload :EndpointProvider, 'aws-sdk-quicksight/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-quicksight/endpoints'
56
56
 
57
- GEM_VERSION = '1.207.0'
57
+ GEM_VERSION = '1.209.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -2406,6 +2406,19 @@ module Aws
2406
2406
  ) -> _DescribeRefreshScheduleResponseSuccess
2407
2407
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRefreshScheduleResponseSuccess
2408
2408
 
2409
+ interface _DescribeResourcePermissionsResponseSuccess
2410
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourcePermissionsResponse]
2411
+ def role_type: () -> ("QUICKSIGHT_MANAGED" | "CUSTOMER_MANAGED")
2412
+ def customer_managed_role_arn: () -> ::String
2413
+ def request_id: () -> ::String
2414
+ def status: () -> ::Integer
2415
+ end
2416
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QuickSight/Client.html#describe_resource_permissions-instance_method
2417
+ def describe_resource_permissions: (
2418
+ aws_account_id: ::String
2419
+ ) -> _DescribeResourcePermissionsResponseSuccess
2420
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourcePermissionsResponseSuccess
2421
+
2409
2422
  interface _DescribeRoleCustomPermissionResponseSuccess
2410
2423
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRoleCustomPermissionResponse]
2411
2424
  def custom_permissions_name: () -> ::String
@@ -5362,6 +5375,21 @@ module Aws
5362
5375
  ) -> _UpdateRefreshScheduleResponseSuccess
5363
5376
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRefreshScheduleResponseSuccess
5364
5377
 
5378
+ interface _UpdateResourcePermissionsResponseSuccess
5379
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResourcePermissionsResponse]
5380
+ def role_type: () -> ("QUICKSIGHT_MANAGED" | "CUSTOMER_MANAGED")
5381
+ def customer_managed_role_arn: () -> ::String
5382
+ def request_id: () -> ::String
5383
+ def status: () -> ::Integer
5384
+ end
5385
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QuickSight/Client.html#update_resource_permissions-instance_method
5386
+ def update_resource_permissions: (
5387
+ aws_account_id: ::String,
5388
+ role_type: ("QUICKSIGHT_MANAGED" | "CUSTOMER_MANAGED"),
5389
+ customer_managed_role_arn: ::String
5390
+ ) -> _UpdateResourcePermissionsResponseSuccess
5391
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourcePermissionsResponseSuccess
5392
+
5365
5393
  interface _UpdateRoleCustomPermissionResponseSuccess
5366
5394
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRoleCustomPermissionResponse]
5367
5395
  def request_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -2008,7 +2008,7 @@ module Aws::QuickSight
2008
2008
  class CellValueSynonym
2009
2009
  attr_accessor cell_value: ::String
2010
2010
  attr_accessor synonyms: ::Array[::String]
2011
- SENSITIVE: [:cell_value]
2011
+ SENSITIVE: [:cell_value, :synonyms]
2012
2012
  end
2013
2013
 
2014
2014
  class ChartAxisLabelOptions
@@ -3202,7 +3202,7 @@ module Aws::QuickSight
3202
3202
  attr_accessor integer_values: ::Array[::Integer]
3203
3203
  attr_accessor decimal_values: ::Array[::Float]
3204
3204
  attr_accessor date_time_values: ::Array[::Time]
3205
- SENSITIVE: []
3205
+ SENSITIVE: [:string_values, :integer_values, :decimal_values, :date_time_values]
3206
3206
  end
3207
3207
 
3208
3208
  class CustomPermissions
@@ -3729,7 +3729,7 @@ module Aws::QuickSight
3729
3729
 
3730
3730
  class DataSetStringListFilterValue
3731
3731
  attr_accessor static_values: ::Array[::String]
3732
- SENSITIVE: []
3732
+ SENSITIVE: [:static_values]
3733
3733
  end
3734
3734
 
3735
3735
  class DataSetSummary
@@ -3928,7 +3928,7 @@ module Aws::QuickSight
3928
3928
  attr_accessor dynamic_value: Types::DynamicDefaultValue
3929
3929
  attr_accessor static_values: ::Array[::Time]
3930
3930
  attr_accessor rolling_date: Types::RollingDateConfiguration
3931
- SENSITIVE: []
3931
+ SENSITIVE: [:static_values]
3932
3932
  end
3933
3933
 
3934
3934
  class DateTimeFormatConfiguration
@@ -3947,7 +3947,7 @@ module Aws::QuickSight
3947
3947
  class DateTimeParameter
3948
3948
  attr_accessor name: ::String
3949
3949
  attr_accessor values: ::Array[::Time]
3950
- SENSITIVE: []
3950
+ SENSITIVE: [:values]
3951
3951
  end
3952
3952
 
3953
3953
  class DateTimeParameterDeclaration
@@ -4004,13 +4004,13 @@ module Aws::QuickSight
4004
4004
  class DecimalDefaultValues
4005
4005
  attr_accessor dynamic_value: Types::DynamicDefaultValue
4006
4006
  attr_accessor static_values: ::Array[::Float]
4007
- SENSITIVE: []
4007
+ SENSITIVE: [:static_values]
4008
4008
  end
4009
4009
 
4010
4010
  class DecimalParameter
4011
4011
  attr_accessor name: ::String
4012
4012
  attr_accessor values: ::Array[::Float]
4013
- SENSITIVE: []
4013
+ SENSITIVE: [:values]
4014
4014
  end
4015
4015
 
4016
4016
  class DecimalParameterDeclaration
@@ -5502,6 +5502,19 @@ module Aws::QuickSight
5502
5502
  SENSITIVE: []
5503
5503
  end
5504
5504
 
5505
+ class DescribeResourcePermissionsRequest
5506
+ attr_accessor aws_account_id: ::String
5507
+ SENSITIVE: []
5508
+ end
5509
+
5510
+ class DescribeResourcePermissionsResponse
5511
+ attr_accessor role_type: ("QUICKSIGHT_MANAGED" | "CUSTOMER_MANAGED")
5512
+ attr_accessor customer_managed_role_arn: ::String
5513
+ attr_accessor request_id: ::String
5514
+ attr_accessor status: ::Integer
5515
+ SENSITIVE: []
5516
+ end
5517
+
5505
5518
  class DescribeRoleCustomPermissionRequest
5506
5519
  attr_accessor role: ("ADMIN" | "AUTHOR" | "READER" | "ADMIN_PRO" | "AUTHOR_PRO" | "READER_PRO")
5507
5520
  attr_accessor aws_account_id: ::String
@@ -7260,7 +7273,7 @@ module Aws::QuickSight
7260
7273
  attr_accessor parent_value: ::String
7261
7274
  attr_accessor hierarchy_values: ::Array[::String]
7262
7275
  attr_accessor children: ::Array[Types::HierarchyFilterNode]
7263
- SENSITIVE: [:parent_value]
7276
+ SENSITIVE: [:parent_value, :hierarchy_values]
7264
7277
  end
7265
7278
 
7266
7279
  class HistogramAggregatedFieldWells
@@ -7509,13 +7522,13 @@ module Aws::QuickSight
7509
7522
  class IntegerDefaultValues
7510
7523
  attr_accessor dynamic_value: Types::DynamicDefaultValue
7511
7524
  attr_accessor static_values: ::Array[::Integer]
7512
- SENSITIVE: []
7525
+ SENSITIVE: [:static_values]
7513
7526
  end
7514
7527
 
7515
7528
  class IntegerParameter
7516
7529
  attr_accessor name: ::String
7517
7530
  attr_accessor values: ::Array[::Integer]
7518
- SENSITIVE: []
7531
+ SENSITIVE: [:values]
7519
7532
  end
7520
7533
 
7521
7534
  class IntegerParameterDeclaration
@@ -10801,7 +10814,7 @@ module Aws::QuickSight
10801
10814
  attr_accessor truthy_cell_value_synonyms: ::Array[::String]
10802
10815
  attr_accessor falsey_cell_value: ::String
10803
10816
  attr_accessor falsey_cell_value_synonyms: ::Array[::String]
10804
- SENSITIVE: [:truthy_cell_value, :falsey_cell_value]
10817
+ SENSITIVE: [:truthy_cell_value, :truthy_cell_value_synonyms, :falsey_cell_value, :falsey_cell_value_synonyms]
10805
10818
  end
10806
10819
 
10807
10820
  class SeriesItem
@@ -11434,7 +11447,7 @@ module Aws::QuickSight
11434
11447
  class StringDefaultValues
11435
11448
  attr_accessor dynamic_value: Types::DynamicDefaultValue
11436
11449
  attr_accessor static_values: ::Array[::String]
11437
- SENSITIVE: []
11450
+ SENSITIVE: [:static_values]
11438
11451
  end
11439
11452
 
11440
11453
  class StringFormatConfiguration
@@ -11446,7 +11459,7 @@ module Aws::QuickSight
11446
11459
  class StringParameter
11447
11460
  attr_accessor name: ::String
11448
11461
  attr_accessor values: ::Array[::String]
11449
- SENSITIVE: []
11462
+ SENSITIVE: [:values]
11450
11463
  end
11451
11464
 
11452
11465
  class StringParameterDeclaration
@@ -12062,7 +12075,7 @@ module Aws::QuickSight
12062
12075
  attr_accessor never_aggregate_in_filter: bool
12063
12076
  attr_accessor cell_value_synonyms: ::Array[Types::CellValueSynonym]
12064
12077
  attr_accessor non_additive: bool
12065
- SENSITIVE: [:calculated_field_name, :calculated_field_description, :expression]
12078
+ SENSITIVE: [:calculated_field_name, :calculated_field_description, :expression, :calculated_field_synonyms]
12066
12079
  end
12067
12080
 
12068
12081
  class TopicCategoryFilter
@@ -12099,7 +12112,7 @@ module Aws::QuickSight
12099
12112
  attr_accessor never_aggregate_in_filter: bool
12100
12113
  attr_accessor cell_value_synonyms: ::Array[Types::CellValueSynonym]
12101
12114
  attr_accessor non_additive: bool
12102
- SENSITIVE: [:column_friendly_name, :column_description]
12115
+ SENSITIVE: [:column_friendly_name, :column_description, :column_synonyms]
12103
12116
  end
12104
12117
 
12105
12118
  class TopicConfigOptions
@@ -12152,7 +12165,7 @@ module Aws::QuickSight
12152
12165
  attr_accessor date_range_filter: Types::TopicDateRangeFilter
12153
12166
  attr_accessor relative_date_filter: Types::TopicRelativeDateFilter
12154
12167
  attr_accessor null_filter: Types::TopicNullFilter
12155
- SENSITIVE: [:filter_description]
12168
+ SENSITIVE: [:filter_description, :filter_synonyms]
12156
12169
  end
12157
12170
 
12158
12171
  class TopicIR
@@ -12240,7 +12253,7 @@ module Aws::QuickSight
12240
12253
  attr_accessor sort: ::Array[Types::NamedEntitySort]
12241
12254
  attr_accessor rank_order: ::Integer
12242
12255
  attr_accessor presentation_order: ::Integer
12243
- SENSITIVE: [:entity_description]
12256
+ SENSITIVE: [:entity_description, :entity_synonyms]
12244
12257
  end
12245
12258
 
12246
12259
  class TopicNullFilter
@@ -13352,6 +13365,21 @@ module Aws::QuickSight
13352
13365
  SENSITIVE: []
13353
13366
  end
13354
13367
 
13368
+ class UpdateResourcePermissionsRequest
13369
+ attr_accessor aws_account_id: ::String
13370
+ attr_accessor role_type: ("QUICKSIGHT_MANAGED" | "CUSTOMER_MANAGED")
13371
+ attr_accessor customer_managed_role_arn: ::String
13372
+ SENSITIVE: []
13373
+ end
13374
+
13375
+ class UpdateResourcePermissionsResponse
13376
+ attr_accessor role_type: ("QUICKSIGHT_MANAGED" | "CUSTOMER_MANAGED")
13377
+ attr_accessor customer_managed_role_arn: ::String
13378
+ attr_accessor request_id: ::String
13379
+ attr_accessor status: ::Integer
13380
+ SENSITIVE: []
13381
+ end
13382
+
13355
13383
  class UpdateRoleCustomPermissionRequest
13356
13384
  attr_accessor custom_permissions_name: ::String
13357
13385
  attr_accessor role: ("ADMIN" | "AUTHOR" | "READER" | "ADMIN_PRO" | "AUTHOR_PRO" | "READER_PRO")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-quicksight
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.207.0
4
+ version: 1.209.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.264.0
21
+ version: 3.265.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.264.0
31
+ version: 3.265.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement