aws-sdk-quicksight 1.206.0 → 1.208.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: 408a78e3ded4252e7b3238acc6f708751f1ab4222c6c36a3036bd771fd4855b5
4
- data.tar.gz: cbbeb53ae8cddda54c0679bed7c674b656a9a93d13e95ca7ef5290f547ff3102
3
+ metadata.gz: b8f17798caca97e485c68810f36388a90eadc18c8f25ca239a26b6f397d1ca54
4
+ data.tar.gz: e1f9480ea975fbf1957848018a2d37236619d8b909780a7f41bf5e031368bb68
5
5
  SHA512:
6
- metadata.gz: 164a27293d8321791626beb87312d40491670508203d8b4129669a4bebf11b5375013c39aafae2d85ebbe3e628cb9120c368cdea9e3ce827e2f9f95b6cbf5d4c
7
- data.tar.gz: 880d3d2e88701c0ac0b1e7cdbd8d5d2823262b8051eef2f271d89e7c7da9f22d00007a2d34f7bf1d953d241deee4012973fad9bb53aa68de556092855a6fa34b
6
+ metadata.gz: de0bb1d6033eae88dc9e55d116910143dabba6d1ceac8c856d5c7e0e6ec18aed701fc61401d6eea833ad1cacc897ed71f67911b72476ff13093522d88c9c5f30
7
+ data.tar.gz: c3baa3d67b99e8a7bef226cab2537ceb74f7bdfcd1a3b321f1bd966bec2a892f44c5cd0bb5b6720288dfe8367069af8b5bd4644b41b2e72ec2806b58a261ada4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.208.0 (2026-11-05)
5
+ ------------------
6
+
7
+ * Feature - Amazon QuickSight adds APIs to view account service role settings and switch to or replace a customer-managed IAM role.
8
+
9
+ 1.207.0 (2026-11-04)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.206.0 (2026-10-29)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.206.0
1
+ 1.208.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.206.0'
28171
+ context[:gem_version] = '1.208.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.206.0'
57
+ GEM_VERSION = '1.208.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
@@ -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
@@ -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.206.0
4
+ version: 1.208.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.263.0
21
+ version: 3.264.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.263.0
31
+ version: 3.264.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement