aws-sdk-quicksight 1.63.0 → 1.64.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 665d93dec97f09ad56600bbf15b279f501aa1e9046a346d963c98fab5e962722
4
- data.tar.gz: efb67616da0b21646a1f9564f8a6d465f239e6f41d8137c57da234d9af207794
3
+ metadata.gz: 8224bb7b64438f84e509e43f9aea5812e03d43ee1c05e84b9ebd761c30028221
4
+ data.tar.gz: cb22d2d30945aabd1ba7ec06a2702706b8d640450c2807251924a73e826f30cc
5
5
  SHA512:
6
- metadata.gz: fb3887048439da2104fa2a00273ce2d2808b63c83a97d1239410f57b814c618e59218d71437ab2e57c2a46fa8e0ba047469307b3642c6c9ecd800e89d420557e
7
- data.tar.gz: '017606802f550b92b41fb62734c9f7980d781717ac73633ff2bcbec7b36eabc3d7ff64e362aba90d2d94e7f3a3eefc9f1fc8f6ce8eda0fae5fc416944d1e9499'
6
+ metadata.gz: 27a67004df4f91d8d54f25c49f403069703c96aec4ae546821086e0c44fe50327445f8d85ade4936b2bcda9884eb498a267519db71411874e4ee58cb136ef81c
7
+ data.tar.gz: 2282abe5b21efb5e915bddf35770606301ac2b8b581675502d8c09adaeda72b21fbccd8ef499452f721b9a9dc92d6d1bf6afb47e2c9551f821864465a75b8a93
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.64.0 (2022-03-21)
5
+ ------------------
6
+
7
+ * Feature - AWS QuickSight Service Features - Expand public API support for group management.
8
+
4
9
  1.63.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.63.0
1
+ 1.64.0
@@ -1467,7 +1467,7 @@ module Aws::QuickSight
1467
1467
  # Creates an Amazon QuickSight group.
1468
1468
  #
1469
1469
  # The permissions resource is
1470
- # `arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name>
1470
+ # `arn:aws:quicksight:<your-region>:<relevant-aws-account-id>:group/default/<group-name>
1471
1471
  # `.
1472
1472
  #
1473
1473
  # The response is a group object.
@@ -1484,7 +1484,7 @@ module Aws::QuickSight
1484
1484
  # contains your Amazon QuickSight account.
1485
1485
  #
1486
1486
  # @option params [required, String] :namespace
1487
- # The namespace. Currently, you should set this to `default`.
1487
+ # The namespace that you want the group to be a part of.
1488
1488
  #
1489
1489
  # @return [Types::CreateGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1490
1490
  #
@@ -1533,7 +1533,7 @@ module Aws::QuickSight
1533
1533
  # contains your Amazon QuickSight account.
1534
1534
  #
1535
1535
  # @option params [required, String] :namespace
1536
- # The namespace. Currently, you should set this to `default`.
1536
+ # The namespace that you want the user to be a part of.
1537
1537
  #
1538
1538
  # @return [Types::CreateGroupMembershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1539
1539
  #
@@ -2452,7 +2452,7 @@ module Aws::QuickSight
2452
2452
  # contains your Amazon QuickSight account.
2453
2453
  #
2454
2454
  # @option params [required, String] :namespace
2455
- # The namespace. Currently, you should set this to `default`.
2455
+ # The namespace of the group that you want to delete.
2456
2456
  #
2457
2457
  # @return [Types::DeleteGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2458
2458
  #
@@ -2497,7 +2497,7 @@ module Aws::QuickSight
2497
2497
  # contains your Amazon QuickSight account.
2498
2498
  #
2499
2499
  # @option params [required, String] :namespace
2500
- # The namespace. Currently, you should set this to `default`.
2500
+ # The namespace of the group that you want to remove a user from.
2501
2501
  #
2502
2502
  # @return [Types::DeleteGroupMembershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2503
2503
  #
@@ -3751,7 +3751,7 @@ module Aws::QuickSight
3751
3751
  # contains your Amazon QuickSight account.
3752
3752
  #
3753
3753
  # @option params [required, String] :namespace
3754
- # The namespace. Currently, you should set this to `default`.
3754
+ # The namespace of the group that you want described.
3755
3755
  #
3756
3756
  # @return [Types::DescribeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3757
3757
  #
@@ -3785,6 +3785,55 @@ module Aws::QuickSight
3785
3785
  req.send_request(options)
3786
3786
  end
3787
3787
 
3788
+ # Use the `DescribeGroupMembership` operation to determine if a user is
3789
+ # a member of the specified group. If the user exists and is a member of
3790
+ # the specified group, an associated `GroupMember` object is returned.
3791
+ #
3792
+ # @option params [required, String] :member_name
3793
+ # The user name of the user that you want to search for.
3794
+ #
3795
+ # @option params [required, String] :group_name
3796
+ # The name of the group that you want to search.
3797
+ #
3798
+ # @option params [required, String] :aws_account_id
3799
+ # The ID for the Amazon Web Services account that the group is in.
3800
+ # Currently, you use the ID for the Amazon Web Services account that
3801
+ # contains your Amazon QuickSight account.
3802
+ #
3803
+ # @option params [required, String] :namespace
3804
+ # The namespace that includes the group you are searching within.
3805
+ #
3806
+ # @return [Types::DescribeGroupMembershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3807
+ #
3808
+ # * {Types::DescribeGroupMembershipResponse#group_member #group_member} => Types::GroupMember
3809
+ # * {Types::DescribeGroupMembershipResponse#request_id #request_id} => String
3810
+ # * {Types::DescribeGroupMembershipResponse#status #status} => Integer
3811
+ #
3812
+ # @example Request syntax with placeholder values
3813
+ #
3814
+ # resp = client.describe_group_membership({
3815
+ # member_name: "GroupMemberName", # required
3816
+ # group_name: "GroupName", # required
3817
+ # aws_account_id: "AwsAccountId", # required
3818
+ # namespace: "Namespace", # required
3819
+ # })
3820
+ #
3821
+ # @example Response structure
3822
+ #
3823
+ # resp.group_member.arn #=> String
3824
+ # resp.group_member.member_name #=> String
3825
+ # resp.request_id #=> String
3826
+ # resp.status #=> Integer
3827
+ #
3828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroupMembership AWS API Documentation
3829
+ #
3830
+ # @overload describe_group_membership(params = {})
3831
+ # @param [Hash] params ({})
3832
+ def describe_group_membership(params = {}, options = {})
3833
+ req = build_request(:describe_group_membership, params)
3834
+ req.send_request(options)
3835
+ end
3836
+
3788
3837
  # Describes an existing IAM policy assignment, as specified by the
3789
3838
  # assignment name.
3790
3839
  #
@@ -5283,7 +5332,7 @@ module Aws::QuickSight
5283
5332
  # contains your Amazon QuickSight account.
5284
5333
  #
5285
5334
  # @option params [required, String] :namespace
5286
- # The namespace. Currently, you should set this to `default`.
5335
+ # The namespace of the group that you want a list of users from.
5287
5336
  #
5288
5337
  # @return [Types::ListGroupMembershipsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5289
5338
  #
@@ -5334,7 +5383,7 @@ module Aws::QuickSight
5334
5383
  # The maximum number of results to return.
5335
5384
  #
5336
5385
  # @option params [required, String] :namespace
5337
- # The namespace. Currently, you should set this to `default`.
5386
+ # The namespace that you want a list of groups from.
5338
5387
  #
5339
5388
  # @return [Types::ListGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5340
5389
  #
@@ -6166,7 +6215,7 @@ module Aws::QuickSight
6166
6215
  # restrictions. Currently, you need to create the profile names for
6167
6216
  # custom permission sets by using the Amazon QuickSight console. Then,
6168
6217
  # you use the `RegisterUser` API operation to assign the named set of
6169
- # permissions to a QuickSight user.
6218
+ # permissions to a Amazon QuickSight user.
6170
6219
  #
6171
6220
  # Amazon QuickSight custom permissions are applied through IAM policies.
6172
6221
  # Therefore, they override the permissions typically granted by
@@ -6489,6 +6538,70 @@ module Aws::QuickSight
6489
6538
  req.send_request(options)
6490
6539
  end
6491
6540
 
6541
+ # Use the `SearchGroups` operation to search groups in a specified
6542
+ # Amazon QuickSight namespace using the supplied filters.
6543
+ #
6544
+ # @option params [required, String] :aws_account_id
6545
+ # The ID for the Amazon Web Services account that the group is in.
6546
+ # Currently, you use the ID for the Amazon Web Services account that
6547
+ # contains your Amazon QuickSight account.
6548
+ #
6549
+ # @option params [String] :next_token
6550
+ # A pagination token that can be used in a subsequent request.
6551
+ #
6552
+ # @option params [Integer] :max_results
6553
+ # The maximum number of results to return from this request.
6554
+ #
6555
+ # @option params [required, String] :namespace
6556
+ # The namespace that you want to search.
6557
+ #
6558
+ # @option params [required, Array<Types::GroupSearchFilter>] :filters
6559
+ # The structure for the search filters that you want to apply to your
6560
+ # search.
6561
+ #
6562
+ # @return [Types::SearchGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6563
+ #
6564
+ # * {Types::SearchGroupsResponse#group_list #group_list} => Array&lt;Types::Group&gt;
6565
+ # * {Types::SearchGroupsResponse#next_token #next_token} => String
6566
+ # * {Types::SearchGroupsResponse#request_id #request_id} => String
6567
+ # * {Types::SearchGroupsResponse#status #status} => Integer
6568
+ #
6569
+ # @example Request syntax with placeholder values
6570
+ #
6571
+ # resp = client.search_groups({
6572
+ # aws_account_id: "AwsAccountId", # required
6573
+ # next_token: "String",
6574
+ # max_results: 1,
6575
+ # namespace: "Namespace", # required
6576
+ # filters: [ # required
6577
+ # {
6578
+ # operator: "StartsWith", # required, accepts StartsWith
6579
+ # name: "GROUP_NAME", # required, accepts GROUP_NAME
6580
+ # value: "String", # required
6581
+ # },
6582
+ # ],
6583
+ # })
6584
+ #
6585
+ # @example Response structure
6586
+ #
6587
+ # resp.group_list #=> Array
6588
+ # resp.group_list[0].arn #=> String
6589
+ # resp.group_list[0].group_name #=> String
6590
+ # resp.group_list[0].description #=> String
6591
+ # resp.group_list[0].principal_id #=> String
6592
+ # resp.next_token #=> String
6593
+ # resp.request_id #=> String
6594
+ # resp.status #=> Integer
6595
+ #
6596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchGroups AWS API Documentation
6597
+ #
6598
+ # @overload search_groups(params = {})
6599
+ # @param [Hash] params ({})
6600
+ def search_groups(params = {}, options = {})
6601
+ req = build_request(:search_groups, params)
6602
+ req.send_request(options)
6603
+ end
6604
+
6492
6605
  # Assigns one or more tags (key-value pairs) to the specified Amazon
6493
6606
  # QuickSight resource.
6494
6607
  #
@@ -7887,7 +8000,7 @@ module Aws::QuickSight
7887
8000
  # contains your Amazon QuickSight account.
7888
8001
  #
7889
8002
  # @option params [required, String] :namespace
7890
- # The namespace. Currently, you should set this to `default`.
8003
+ # The namespace of the group that you want to update.
7891
8004
  #
7892
8005
  # @return [Types::UpdateGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7893
8006
  #
@@ -8544,7 +8657,7 @@ module Aws::QuickSight
8544
8657
  # restrictions. Currently, you need to create the profile names for
8545
8658
  # custom permission sets by using the Amazon QuickSight console. Then,
8546
8659
  # you use the `RegisterUser` API operation to assign the named set of
8547
- # permissions to a QuickSight user.
8660
+ # permissions to a Amazon QuickSight user.
8548
8661
  #
8549
8662
  # Amazon QuickSight custom permissions are applied through IAM policies.
8550
8663
  # Therefore, they override the permissions typically granted by
@@ -8649,7 +8762,7 @@ module Aws::QuickSight
8649
8762
  params: params,
8650
8763
  config: config)
8651
8764
  context[:gem_name] = 'aws-sdk-quicksight'
8652
- context[:gem_version] = '1.63.0'
8765
+ context[:gem_version] = '1.64.0'
8653
8766
  Seahorse::Client::Request.new(handlers, context)
8654
8767
  end
8655
8768
 
@@ -224,6 +224,8 @@ module Aws::QuickSight
224
224
  DescribeFolderResolvedPermissionsRequest = Shapes::StructureShape.new(name: 'DescribeFolderResolvedPermissionsRequest')
225
225
  DescribeFolderResolvedPermissionsResponse = Shapes::StructureShape.new(name: 'DescribeFolderResolvedPermissionsResponse')
226
226
  DescribeFolderResponse = Shapes::StructureShape.new(name: 'DescribeFolderResponse')
227
+ DescribeGroupMembershipRequest = Shapes::StructureShape.new(name: 'DescribeGroupMembershipRequest')
228
+ DescribeGroupMembershipResponse = Shapes::StructureShape.new(name: 'DescribeGroupMembershipResponse')
227
229
  DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
228
230
  DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
229
231
  DescribeIAMPolicyAssignmentRequest = Shapes::StructureShape.new(name: 'DescribeIAMPolicyAssignmentRequest')
@@ -293,11 +295,15 @@ module Aws::QuickSight
293
295
  GetSessionEmbedUrlResponse = Shapes::StructureShape.new(name: 'GetSessionEmbedUrlResponse')
294
296
  Group = Shapes::StructureShape.new(name: 'Group')
295
297
  GroupDescription = Shapes::StringShape.new(name: 'GroupDescription')
298
+ GroupFilterAttribute = Shapes::StringShape.new(name: 'GroupFilterAttribute')
299
+ GroupFilterOperator = Shapes::StringShape.new(name: 'GroupFilterOperator')
296
300
  GroupList = Shapes::ListShape.new(name: 'GroupList')
297
301
  GroupMember = Shapes::StructureShape.new(name: 'GroupMember')
298
302
  GroupMemberList = Shapes::ListShape.new(name: 'GroupMemberList')
299
303
  GroupMemberName = Shapes::StringShape.new(name: 'GroupMemberName')
300
304
  GroupName = Shapes::StringShape.new(name: 'GroupName')
305
+ GroupSearchFilter = Shapes::StructureShape.new(name: 'GroupSearchFilter')
306
+ GroupSearchFilterList = Shapes::ListShape.new(name: 'GroupSearchFilterList')
301
307
  GutterStyle = Shapes::StructureShape.new(name: 'GutterStyle')
302
308
  HexColor = Shapes::StringShape.new(name: 'HexColor')
303
309
  Host = Shapes::StringShape.new(name: 'Host')
@@ -471,6 +477,8 @@ module Aws::QuickSight
471
477
  SearchDashboardsResponse = Shapes::StructureShape.new(name: 'SearchDashboardsResponse')
472
478
  SearchFoldersRequest = Shapes::StructureShape.new(name: 'SearchFoldersRequest')
473
479
  SearchFoldersResponse = Shapes::StructureShape.new(name: 'SearchFoldersResponse')
480
+ SearchGroupsRequest = Shapes::StructureShape.new(name: 'SearchGroupsRequest')
481
+ SearchGroupsResponse = Shapes::StructureShape.new(name: 'SearchGroupsResponse')
474
482
  ServiceNowParameters = Shapes::StructureShape.new(name: 'ServiceNowParameters')
475
483
  SessionLifetimeInMinutes = Shapes::IntegerShape.new(name: 'SessionLifetimeInMinutes')
476
484
  SessionLifetimeInMinutesInvalidException = Shapes::StructureShape.new(name: 'SessionLifetimeInMinutesInvalidException')
@@ -1541,6 +1549,17 @@ module Aws::QuickSight
1541
1549
  DescribeFolderResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
1542
1550
  DescribeFolderResponse.struct_class = Types::DescribeFolderResponse
1543
1551
 
1552
+ DescribeGroupMembershipRequest.add_member(:member_name, Shapes::ShapeRef.new(shape: GroupMemberName, required: true, location: "uri", location_name: "MemberName"))
1553
+ DescribeGroupMembershipRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location: "uri", location_name: "GroupName"))
1554
+ DescribeGroupMembershipRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
1555
+ DescribeGroupMembershipRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location: "uri", location_name: "Namespace"))
1556
+ DescribeGroupMembershipRequest.struct_class = Types::DescribeGroupMembershipRequest
1557
+
1558
+ DescribeGroupMembershipResponse.add_member(:group_member, Shapes::ShapeRef.new(shape: GroupMember, location_name: "GroupMember"))
1559
+ DescribeGroupMembershipResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
1560
+ DescribeGroupMembershipResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
1561
+ DescribeGroupMembershipResponse.struct_class = Types::DescribeGroupMembershipResponse
1562
+
1544
1563
  DescribeGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location: "uri", location_name: "GroupName"))
1545
1564
  DescribeGroupRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
1546
1565
  DescribeGroupRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location: "uri", location_name: "Namespace"))
@@ -1796,6 +1815,13 @@ module Aws::QuickSight
1796
1815
 
1797
1816
  GroupMemberList.member = Shapes::ShapeRef.new(shape: GroupMember)
1798
1817
 
1818
+ GroupSearchFilter.add_member(:operator, Shapes::ShapeRef.new(shape: GroupFilterOperator, required: true, location_name: "Operator"))
1819
+ GroupSearchFilter.add_member(:name, Shapes::ShapeRef.new(shape: GroupFilterAttribute, required: true, location_name: "Name"))
1820
+ GroupSearchFilter.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
1821
+ GroupSearchFilter.struct_class = Types::GroupSearchFilter
1822
+
1823
+ GroupSearchFilterList.member = Shapes::ShapeRef.new(shape: GroupSearchFilter)
1824
+
1799
1825
  GutterStyle.add_member(:show, Shapes::ShapeRef.new(shape: boolean, location_name: "Show", metadata: {"box"=>true}))
1800
1826
  GutterStyle.struct_class = Types::GutterStyle
1801
1827
 
@@ -2404,6 +2430,19 @@ module Aws::QuickSight
2404
2430
  SearchFoldersResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
2405
2431
  SearchFoldersResponse.struct_class = Types::SearchFoldersResponse
2406
2432
 
2433
+ SearchGroupsRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
2434
+ SearchGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
2435
+ SearchGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results", metadata: {"box"=>true}))
2436
+ SearchGroupsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location: "uri", location_name: "Namespace"))
2437
+ SearchGroupsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: GroupSearchFilterList, required: true, location_name: "Filters"))
2438
+ SearchGroupsRequest.struct_class = Types::SearchGroupsRequest
2439
+
2440
+ SearchGroupsResponse.add_member(:group_list, Shapes::ShapeRef.new(shape: GroupList, location_name: "GroupList"))
2441
+ SearchGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
2442
+ SearchGroupsResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
2443
+ SearchGroupsResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
2444
+ SearchGroupsResponse.struct_class = Types::SearchGroupsResponse
2445
+
2407
2446
  ServiceNowParameters.add_member(:site_base_url, Shapes::ShapeRef.new(shape: SiteBaseUrl, required: true, location_name: "SiteBaseUrl"))
2408
2447
  ServiceNowParameters.struct_class = Types::ServiceNowParameters
2409
2448
 
@@ -3733,6 +3772,21 @@ module Aws::QuickSight
3733
3772
  o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
3734
3773
  end)
3735
3774
 
3775
+ api.add_operation(:describe_group_membership, Seahorse::Model::Operation.new.tap do |o|
3776
+ o.name = "DescribeGroupMembership"
3777
+ o.http_method = "GET"
3778
+ o.http_request_uri = "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}"
3779
+ o.input = Shapes::ShapeRef.new(shape: DescribeGroupMembershipRequest)
3780
+ o.output = Shapes::ShapeRef.new(shape: DescribeGroupMembershipResponse)
3781
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3782
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3783
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3784
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3785
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionNotMetException)
3786
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3787
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
3788
+ end)
3789
+
3736
3790
  api.add_operation(:describe_iam_policy_assignment, Seahorse::Model::Operation.new.tap do |o|
3737
3791
  o.name = "DescribeIAMPolicyAssignment"
3738
3792
  o.http_method = "GET"
@@ -4432,6 +4486,22 @@ module Aws::QuickSight
4432
4486
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4433
4487
  end)
4434
4488
 
4489
+ api.add_operation(:search_groups, Seahorse::Model::Operation.new.tap do |o|
4490
+ o.name = "SearchGroups"
4491
+ o.http_method = "POST"
4492
+ o.http_request_uri = "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups-search"
4493
+ o.input = Shapes::ShapeRef.new(shape: SearchGroupsRequest)
4494
+ o.output = Shapes::ShapeRef.new(shape: SearchGroupsResponse)
4495
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4496
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
4497
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4498
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4499
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
4500
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionNotMetException)
4501
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
4502
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
4503
+ end)
4504
+
4435
4505
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
4436
4506
  o.name = "TagResource"
4437
4507
  o.http_method = "POST"
@@ -2211,7 +2211,7 @@ module Aws::QuickSight
2211
2211
  # @return [String]
2212
2212
  #
2213
2213
  # @!attribute [rw] namespace
2214
- # The namespace. Currently, you should set this to `default`.
2214
+ # The namespace that you want the user to be a part of.
2215
2215
  # @return [String]
2216
2216
  #
2217
2217
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembershipRequest AWS API Documentation
@@ -2274,7 +2274,7 @@ module Aws::QuickSight
2274
2274
  # @return [String]
2275
2275
  #
2276
2276
  # @!attribute [rw] namespace
2277
- # The namespace. Currently, you should set this to `default`.
2277
+ # The namespace that you want the group to be a part of.
2278
2278
  # @return [String]
2279
2279
  #
2280
2280
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupRequest AWS API Documentation
@@ -4768,7 +4768,7 @@ module Aws::QuickSight
4768
4768
  # @return [String]
4769
4769
  #
4770
4770
  # @!attribute [rw] namespace
4771
- # The namespace. Currently, you should set this to `default`.
4771
+ # The namespace of the group that you want to remove a user from.
4772
4772
  # @return [String]
4773
4773
  #
4774
4774
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembershipRequest AWS API Documentation
@@ -4819,7 +4819,7 @@ module Aws::QuickSight
4819
4819
  # @return [String]
4820
4820
  #
4821
4821
  # @!attribute [rw] namespace
4822
- # The namespace. Currently, you should set this to `default`.
4822
+ # The namespace of the group that you want to delete.
4823
4823
  # @return [String]
4824
4824
  #
4825
4825
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupRequest AWS API Documentation
@@ -6049,6 +6049,68 @@ module Aws::QuickSight
6049
6049
  include Aws::Structure
6050
6050
  end
6051
6051
 
6052
+ # @note When making an API call, you may pass DescribeGroupMembershipRequest
6053
+ # data as a hash:
6054
+ #
6055
+ # {
6056
+ # member_name: "GroupMemberName", # required
6057
+ # group_name: "GroupName", # required
6058
+ # aws_account_id: "AwsAccountId", # required
6059
+ # namespace: "Namespace", # required
6060
+ # }
6061
+ #
6062
+ # @!attribute [rw] member_name
6063
+ # The user name of the user that you want to search for.
6064
+ # @return [String]
6065
+ #
6066
+ # @!attribute [rw] group_name
6067
+ # The name of the group that you want to search.
6068
+ # @return [String]
6069
+ #
6070
+ # @!attribute [rw] aws_account_id
6071
+ # The ID for the Amazon Web Services account that the group is in.
6072
+ # Currently, you use the ID for the Amazon Web Services account that
6073
+ # contains your Amazon QuickSight account.
6074
+ # @return [String]
6075
+ #
6076
+ # @!attribute [rw] namespace
6077
+ # The namespace that includes the group you are searching within.
6078
+ # @return [String]
6079
+ #
6080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroupMembershipRequest AWS API Documentation
6081
+ #
6082
+ class DescribeGroupMembershipRequest < Struct.new(
6083
+ :member_name,
6084
+ :group_name,
6085
+ :aws_account_id,
6086
+ :namespace)
6087
+ SENSITIVE = []
6088
+ include Aws::Structure
6089
+ end
6090
+
6091
+ # @!attribute [rw] group_member
6092
+ # A member of an Amazon QuickSight group. Currently, group members
6093
+ # must be users. Groups can't be members of another group. .
6094
+ # @return [Types::GroupMember]
6095
+ #
6096
+ # @!attribute [rw] request_id
6097
+ # The Amazon Web Services request ID for this operation.
6098
+ # @return [String]
6099
+ #
6100
+ # @!attribute [rw] status
6101
+ # The HTTP status of the request.
6102
+ # @return [Integer]
6103
+ #
6104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroupMembershipResponse AWS API Documentation
6105
+ #
6106
+ class DescribeGroupMembershipResponse < Struct.new(
6107
+ :group_member,
6108
+ :request_id,
6109
+ :status)
6110
+ SENSITIVE = []
6111
+ include Aws::Structure
6112
+ end
6113
+
6052
6114
  # @note When making an API call, you may pass DescribeGroupRequest
6053
6115
  # data as a hash:
6054
6116
  #
@@ -6069,7 +6131,7 @@ module Aws::QuickSight
6069
6131
  # @return [String]
6070
6132
  #
6071
6133
  # @!attribute [rw] namespace
6072
- # The namespace. Currently, you should set this to `default`.
6134
+ # The namespace of the group that you want described.
6073
6135
  # @return [String]
6074
6136
  #
6075
6137
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroupRequest AWS API Documentation
@@ -7493,6 +7555,44 @@ module Aws::QuickSight
7493
7555
  include Aws::Structure
7494
7556
  end
7495
7557
 
7558
+ # A `GroupSearchFilter` object that you want to apply to your search.
7559
+ #
7560
+ # @note When making an API call, you may pass GroupSearchFilter
7561
+ # data as a hash:
7562
+ #
7563
+ # {
7564
+ # operator: "StartsWith", # required, accepts StartsWith
7565
+ # name: "GROUP_NAME", # required, accepts GROUP_NAME
7566
+ # value: "String", # required
7567
+ # }
7568
+ #
7569
+ # @!attribute [rw] operator
7570
+ # The comparison operator that you want to use as a filter, for
7571
+ # example `"Operator": "StartsWith"`. Currently, the only supported
7572
+ # operator is `StartsWith`.
7573
+ # @return [String]
7574
+ #
7575
+ # @!attribute [rw] name
7576
+ # The name of the value that you want to use as a filter, for example
7577
+ # `"Name": "GROUP_NAME"`. Currently, the only supported name is
7578
+ # `GROUP_NAME`.
7579
+ # @return [String]
7580
+ #
7581
+ # @!attribute [rw] value
7582
+ # The value of the named item, in this case `GROUP_NAME`, that you
7583
+ # want to use as a filter.
7584
+ # @return [String]
7585
+ #
7586
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GroupSearchFilter AWS API Documentation
7587
+ #
7588
+ class GroupSearchFilter < Struct.new(
7589
+ :operator,
7590
+ :name,
7591
+ :value)
7592
+ SENSITIVE = []
7593
+ include Aws::Structure
7594
+ end
7595
+
7496
7596
  # The display options for gutter spacing between tiles on a sheet.
7497
7597
  #
7498
7598
  # @note When making an API call, you may pass GutterStyle
@@ -8371,7 +8471,7 @@ module Aws::QuickSight
8371
8471
  # @return [String]
8372
8472
  #
8373
8473
  # @!attribute [rw] namespace
8374
- # The namespace. Currently, you should set this to `default`.
8474
+ # The namespace of the group that you want a list of users from.
8375
8475
  # @return [String]
8376
8476
  #
8377
8477
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMembershipsRequest AWS API Documentation
@@ -8438,7 +8538,7 @@ module Aws::QuickSight
8438
8538
  # @return [Integer]
8439
8539
  #
8440
8540
  # @!attribute [rw] namespace
8441
- # The namespace. Currently, you should set this to `default`.
8541
+ # The namespace that you want a list of groups from.
8442
8542
  # @return [String]
8443
8543
  #
8444
8544
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupsRequest AWS API Documentation
@@ -10187,7 +10287,7 @@ module Aws::QuickSight
10187
10287
  # restrictions. Currently, you need to create the profile names for
10188
10288
  # custom permission sets by using the Amazon QuickSight console. Then,
10189
10289
  # you use the `RegisterUser` API operation to assign the named set of
10190
- # permissions to a QuickSight user.
10290
+ # permissions to a Amazon QuickSight user.
10191
10291
  #
10192
10292
  # Amazon QuickSight custom permissions are applied through IAM
10193
10293
  # policies. Therefore, they override the permissions typically granted
@@ -11165,6 +11265,86 @@ module Aws::QuickSight
11165
11265
  include Aws::Structure
11166
11266
  end
11167
11267
 
11268
+ # @note When making an API call, you may pass SearchGroupsRequest
11269
+ # data as a hash:
11270
+ #
11271
+ # {
11272
+ # aws_account_id: "AwsAccountId", # required
11273
+ # next_token: "String",
11274
+ # max_results: 1,
11275
+ # namespace: "Namespace", # required
11276
+ # filters: [ # required
11277
+ # {
11278
+ # operator: "StartsWith", # required, accepts StartsWith
11279
+ # name: "GROUP_NAME", # required, accepts GROUP_NAME
11280
+ # value: "String", # required
11281
+ # },
11282
+ # ],
11283
+ # }
11284
+ #
11285
+ # @!attribute [rw] aws_account_id
11286
+ # The ID for the Amazon Web Services account that the group is in.
11287
+ # Currently, you use the ID for the Amazon Web Services account that
11288
+ # contains your Amazon QuickSight account.
11289
+ # @return [String]
11290
+ #
11291
+ # @!attribute [rw] next_token
11292
+ # A pagination token that can be used in a subsequent request.
11293
+ # @return [String]
11294
+ #
11295
+ # @!attribute [rw] max_results
11296
+ # The maximum number of results to return from this request.
11297
+ # @return [Integer]
11298
+ #
11299
+ # @!attribute [rw] namespace
11300
+ # The namespace that you want to search.
11301
+ # @return [String]
11302
+ #
11303
+ # @!attribute [rw] filters
11304
+ # The structure for the search filters that you want to apply to your
11305
+ # search.
11306
+ # @return [Array<Types::GroupSearchFilter>]
11307
+ #
11308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchGroupsRequest AWS API Documentation
11309
+ #
11310
+ class SearchGroupsRequest < Struct.new(
11311
+ :aws_account_id,
11312
+ :next_token,
11313
+ :max_results,
11314
+ :namespace,
11315
+ :filters)
11316
+ SENSITIVE = []
11317
+ include Aws::Structure
11318
+ end
11319
+
11320
+ # @!attribute [rw] group_list
11321
+ # A list of groups in a specified namespace that match the filters you
11322
+ # set in your `SearchGroups` request.
11323
+ # @return [Array<Types::Group>]
11324
+ #
11325
+ # @!attribute [rw] next_token
11326
+ # A pagination token that can be used in a subsequent request.
11327
+ # @return [String]
11328
+ #
11329
+ # @!attribute [rw] request_id
11330
+ # The Amazon Web Services request ID for this operation.
11331
+ # @return [String]
11332
+ #
11333
+ # @!attribute [rw] status
11334
+ # The HTTP status of the request.
11335
+ # @return [Integer]
11336
+ #
11337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchGroupsResponse AWS API Documentation
11338
+ #
11339
+ class SearchGroupsResponse < Struct.new(
11340
+ :group_list,
11341
+ :next_token,
11342
+ :request_id,
11343
+ :status)
11344
+ SENSITIVE = []
11345
+ include Aws::Structure
11346
+ end
11347
+
11168
11348
  # The parameters for ServiceNow.
11169
11349
  #
11170
11350
  # @note When making an API call, you may pass ServiceNowParameters
@@ -14235,7 +14415,7 @@ module Aws::QuickSight
14235
14415
  # @return [String]
14236
14416
  #
14237
14417
  # @!attribute [rw] namespace
14238
- # The namespace. Currently, you should set this to `default`.
14418
+ # The namespace of the group that you want to update.
14239
14419
  # @return [String]
14240
14420
  #
14241
14421
  # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroupRequest AWS API Documentation
@@ -15039,7 +15219,7 @@ module Aws::QuickSight
15039
15219
  # restrictions. Currently, you need to create the profile names for
15040
15220
  # custom permission sets by using the Amazon QuickSight console. Then,
15041
15221
  # you use the `RegisterUser` API operation to assign the named set of
15042
- # permissions to a QuickSight user.
15222
+ # permissions to a Amazon QuickSight user.
15043
15223
  #
15044
15224
  # Amazon QuickSight custom permissions are applied through IAM
15045
15225
  # policies. Therefore, they override the permissions typically granted
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-quicksight/customizations'
48
48
  # @!group service
49
49
  module Aws::QuickSight
50
50
 
51
- GEM_VERSION = '1.63.0'
51
+ GEM_VERSION = '1.64.0'
52
52
 
53
53
  end
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.63.0
4
+ version: 1.64.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core