aws-sdk-s3control 1.88.0 → 1.89.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: 46e33a35087420c209bd02eccca7c07ceda6d65559736ed1f1d8ee8cf2a13751
4
- data.tar.gz: f51e4596adfbb4031d8c8ab7eccdf2bbd1315c54133a8b2f97087a8c6ecaf0b2
3
+ metadata.gz: cb1eb3d6b95b2c46fffa70d6a167d9f52bcf60e2da4f5586ae953c1726806c8a
4
+ data.tar.gz: 5bf8ddc74a82c15621c8c114e3ff56e36158820cbf3ca4e5b75ec497076c6732
5
5
  SHA512:
6
- metadata.gz: 6aae9652440741d914b3ec6734909653221bfdb76aff10a4f9b64e66e396032690352efe768ce7795c9091f6629950c74e907603de1a2ddbb8f99f99ef7cf788
7
- data.tar.gz: 8635c72e08a7112ff1a6c375f20dc942d29f4785e39042ed1df24bf82c4e87a6ce7ed0af14bc0fab2c3c10fcabec9592a5e437db70608455d6a847459e91c9f8
6
+ metadata.gz: 725febe15db004149d0f9cd9a3efc4e6b1a6ecfaab228c390edb98238bf60ceb4563a0418c2fb59a1372a8d204502552470a1ccca14f9b27bcc129a1ccc5ccc8
7
+ data.tar.gz: ed381159d197cb129c597178ea4ed223158eaa61747248e13535be1dc1493672751fa9eb66ae49d542304ba532ca7b2195b3961508ecbea6efda4ed3abcc8b6b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2024-09-04)
5
+ ------------------
6
+
7
+ * Feature - Amazon Simple Storage Service /S3 Access Grants / Features : This release launches new Access Grants API - ListCallerAccessGrants.
8
+
4
9
  1.88.0 (2024-09-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.88.0
1
+ 1.89.0
@@ -468,7 +468,7 @@ module Aws::S3Control
468
468
  # `sso:PutApplicationAuthenticationMethod`.
469
469
  #
470
470
  # @option params [String] :account_id
471
- # The ID of the Amazon Web Services account that is making this request.
471
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
472
472
  #
473
473
  # @option params [required, String] :identity_center_arn
474
474
  # The Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity
@@ -528,7 +528,7 @@ module Aws::S3Control
528
528
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessGrantsLocation.html
529
529
  #
530
530
  # @option params [String] :account_id
531
- # The ID of the Amazon Web Services account that is making this request.
531
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
532
532
  #
533
533
  # @option params [required, String] :access_grants_location_id
534
534
  # The ID of the registered location to which you are granting access. S3
@@ -655,7 +655,7 @@ module Aws::S3Control
655
655
  # `sso:PutApplicationAuthenticationMethod` permissions.
656
656
  #
657
657
  # @option params [String] :account_id
658
- # The ID of the Amazon Web Services account that is making this request.
658
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
659
659
  #
660
660
  # @option params [String] :identity_center_arn
661
661
  # If you would like to associate your S3 Access Grants instance with an
@@ -683,6 +683,8 @@ module Aws::S3Control
683
683
  # * {Types::CreateAccessGrantsInstanceResult#access_grants_instance_id #access_grants_instance_id} => String
684
684
  # * {Types::CreateAccessGrantsInstanceResult#access_grants_instance_arn #access_grants_instance_arn} => String
685
685
  # * {Types::CreateAccessGrantsInstanceResult#identity_center_arn #identity_center_arn} => String
686
+ # * {Types::CreateAccessGrantsInstanceResult#identity_center_instance_arn #identity_center_instance_arn} => String
687
+ # * {Types::CreateAccessGrantsInstanceResult#identity_center_application_arn #identity_center_application_arn} => String
686
688
  #
687
689
  # @example Request syntax with placeholder values
688
690
  #
@@ -703,6 +705,8 @@ module Aws::S3Control
703
705
  # resp.access_grants_instance_id #=> String
704
706
  # resp.access_grants_instance_arn #=> String
705
707
  # resp.identity_center_arn #=> String
708
+ # resp.identity_center_instance_arn #=> String
709
+ # resp.identity_center_application_arn #=> String
706
710
  #
707
711
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessGrantsInstance AWS API Documentation
708
712
  #
@@ -744,7 +748,7 @@ module Aws::S3Control
744
748
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-location.html
745
749
  #
746
750
  # @option params [String] :account_id
747
- # The ID of the Amazon Web Services account that is making this request.
751
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
748
752
  #
749
753
  # @option params [required, String] :location_scope
750
754
  # The S3 path to the location that you are registering. The location
@@ -1670,7 +1674,7 @@ module Aws::S3Control
1670
1674
  # operation.
1671
1675
  #
1672
1676
  # @option params [String] :account_id
1673
- # The ID of the Amazon Web Services account that is making this request.
1677
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
1674
1678
  #
1675
1679
  # @option params [required, String] :access_grant_id
1676
1680
  # The ID of the access grant. S3 Access Grants auto-generates this ID
@@ -1717,7 +1721,7 @@ module Aws::S3Control
1717
1721
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DissociateAccessGrantsIdentityCenter.html
1718
1722
  #
1719
1723
  # @option params [String] :account_id
1720
- # The ID of the Amazon Web Services account that is making this request.
1724
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
1721
1725
  #
1722
1726
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1723
1727
  #
@@ -1747,7 +1751,7 @@ module Aws::S3Control
1747
1751
  # permission to use this operation.
1748
1752
  #
1749
1753
  # @option params [String] :account_id
1750
- # The ID of the Amazon Web Services account that is making this request.
1754
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
1751
1755
  #
1752
1756
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1753
1757
  #
@@ -1783,7 +1787,7 @@ module Aws::S3Control
1783
1787
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessGrant.html
1784
1788
  #
1785
1789
  # @option params [String] :account_id
1786
- # The ID of the Amazon Web Services account that is making this request.
1790
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
1787
1791
  #
1788
1792
  # @option params [required, String] :access_grants_location_id
1789
1793
  # The ID of the registered location that you are deregistering from your
@@ -3003,7 +3007,7 @@ module Aws::S3Control
3003
3007
  # operation.
3004
3008
  #
3005
3009
  # @option params [String] :account_id
3006
- # The ID of the Amazon Web Services account that is making this request.
3010
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
3007
3011
  #
3008
3012
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3009
3013
  #
@@ -3031,7 +3035,7 @@ module Aws::S3Control
3031
3035
  # operation.
3032
3036
  #
3033
3037
  # @option params [String] :account_id
3034
- # The ID of the Amazon Web Services account that is making this request.
3038
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
3035
3039
  #
3036
3040
  # @option params [required, String] :access_grant_id
3037
3041
  # The ID of the access grant. S3 Access Grants auto-generates this ID
@@ -3085,14 +3089,22 @@ module Aws::S3Control
3085
3089
  # : You must have the `s3:GetAccessGrantsInstance` permission to use
3086
3090
  # this operation.
3087
3091
  #
3092
+ # <note markdown="1"> `GetAccessGrantsInstance` is not supported for cross-account access.
3093
+ # You can only call the API from the account that owns the S3 Access
3094
+ # Grants instance.
3095
+ #
3096
+ # </note>
3097
+ #
3088
3098
  # @option params [String] :account_id
3089
- # The ID of the Amazon Web Services account that is making this request.
3099
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
3090
3100
  #
3091
3101
  # @return [Types::GetAccessGrantsInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3092
3102
  #
3093
3103
  # * {Types::GetAccessGrantsInstanceResult#access_grants_instance_arn #access_grants_instance_arn} => String
3094
3104
  # * {Types::GetAccessGrantsInstanceResult#access_grants_instance_id #access_grants_instance_id} => String
3095
3105
  # * {Types::GetAccessGrantsInstanceResult#identity_center_arn #identity_center_arn} => String
3106
+ # * {Types::GetAccessGrantsInstanceResult#identity_center_instance_arn #identity_center_instance_arn} => String
3107
+ # * {Types::GetAccessGrantsInstanceResult#identity_center_application_arn #identity_center_application_arn} => String
3096
3108
  # * {Types::GetAccessGrantsInstanceResult#created_at #created_at} => Time
3097
3109
  #
3098
3110
  # @example Request syntax with placeholder values
@@ -3106,6 +3118,8 @@ module Aws::S3Control
3106
3118
  # resp.access_grants_instance_arn #=> String
3107
3119
  # resp.access_grants_instance_id #=> String
3108
3120
  # resp.identity_center_arn #=> String
3121
+ # resp.identity_center_instance_arn #=> String
3122
+ # resp.identity_center_application_arn #=> String
3109
3123
  # resp.created_at #=> Time
3110
3124
  #
3111
3125
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsInstance AWS API Documentation
@@ -3171,7 +3185,7 @@ module Aws::S3Control
3171
3185
  # permission to use this operation.
3172
3186
  #
3173
3187
  # @option params [String] :account_id
3174
- # The ID of the Amazon Web Services account that is making this request.
3188
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
3175
3189
  #
3176
3190
  # @return [Types::GetAccessGrantsInstanceResourcePolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3177
3191
  #
@@ -3209,7 +3223,7 @@ module Aws::S3Control
3209
3223
  # this operation.
3210
3224
  #
3211
3225
  # @option params [String] :account_id
3212
- # The ID of the Amazon Web Services account that is making this request.
3226
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
3213
3227
  #
3214
3228
  # @option params [required, String] :access_grants_location_id
3215
3229
  # The ID of the registered location that you are retrieving. S3 Access
@@ -4282,7 +4296,7 @@ module Aws::S3Control
4282
4296
  # [1]: https://docs.aws.amazon.com/STS/latest/APIReference/API_Credentials.html
4283
4297
  #
4284
4298
  # @option params [String] :account_id
4285
- # The ID of the Amazon Web Services account that is making this request.
4299
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
4286
4300
  #
4287
4301
  # @option params [required, String] :target
4288
4302
  # The S3 URI path of the data to which you are requesting temporary
@@ -4961,7 +4975,7 @@ module Aws::S3Control
4961
4975
  # operation.
4962
4976
  #
4963
4977
  # @option params [String] :account_id
4964
- # The ID of the Amazon Web Services account that is making this request.
4978
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
4965
4979
  #
4966
4980
  # @option params [String] :next_token
4967
4981
  # A pagination token to request the next page of results. Pass this
@@ -5073,7 +5087,7 @@ module Aws::S3Control
5073
5087
  # this operation.
5074
5088
  #
5075
5089
  # @option params [String] :account_id
5076
- # The ID of the Amazon Web Services account that is making this request.
5090
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
5077
5091
  #
5078
5092
  # @option params [String] :next_token
5079
5093
  # A pagination token to request the next page of results. Pass this
@@ -5109,6 +5123,8 @@ module Aws::S3Control
5109
5123
  # resp.access_grants_instances_list[0].access_grants_instance_arn #=> String
5110
5124
  # resp.access_grants_instances_list[0].created_at #=> Time
5111
5125
  # resp.access_grants_instances_list[0].identity_center_arn #=> String
5126
+ # resp.access_grants_instances_list[0].identity_center_instance_arn #=> String
5127
+ # resp.access_grants_instances_list[0].identity_center_application_arn #=> String
5112
5128
  #
5113
5129
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessGrantsInstances AWS API Documentation
5114
5130
  #
@@ -5128,7 +5144,7 @@ module Aws::S3Control
5128
5144
  # this operation.
5129
5145
  #
5130
5146
  # @option params [String] :account_id
5131
- # The ID of the Amazon Web Services account that is making this request.
5147
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
5132
5148
  #
5133
5149
  # @option params [String] :next_token
5134
5150
  # A pagination token to request the next page of results. Pass this
@@ -5367,6 +5383,75 @@ module Aws::S3Control
5367
5383
  req.send_request(options)
5368
5384
  end
5369
5385
 
5386
+ # Returns a list of the access grants that were given to the caller
5387
+ # using S3 Access Grants and that allow the caller to access the S3 data
5388
+ # of the Amazon Web Services account specified in the request.
5389
+ #
5390
+ # Permissions
5391
+ #
5392
+ # : You must have the `s3:ListCallerAccessGrants` permission to use this
5393
+ # operation.
5394
+ #
5395
+ # @option params [String] :account_id
5396
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
5397
+ #
5398
+ # @option params [String] :grant_scope
5399
+ # The S3 path of the data that you would like to access. Must start with
5400
+ # `s3://`. You can optionally pass only the beginning characters of a
5401
+ # path, and S3 Access Grants will search for all applicable grants for
5402
+ # the path fragment.
5403
+ #
5404
+ # @option params [String] :next_token
5405
+ # A pagination token to request the next page of results. Pass this
5406
+ # value into a subsequent `List Caller Access Grants` request in order
5407
+ # to retrieve the next page of results.
5408
+ #
5409
+ # @option params [Integer] :max_results
5410
+ # The maximum number of access grants that you would like returned in
5411
+ # the `List Caller Access Grants` response. If the results include the
5412
+ # pagination token `NextToken`, make another call using the `NextToken`
5413
+ # to determine if there are more results.
5414
+ #
5415
+ # @option params [Boolean] :allowed_by_application
5416
+ # If this optional parameter is passed in the request, a filter is
5417
+ # applied to the results. The results will include only the access
5418
+ # grants for the caller's Identity Center application or for any other
5419
+ # applications (`ALL`).
5420
+ #
5421
+ # @return [Types::ListCallerAccessGrantsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5422
+ #
5423
+ # * {Types::ListCallerAccessGrantsResult#next_token #next_token} => String
5424
+ # * {Types::ListCallerAccessGrantsResult#caller_access_grants_list #caller_access_grants_list} => Array&lt;Types::ListCallerAccessGrantsEntry&gt;
5425
+ #
5426
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5427
+ #
5428
+ # @example Request syntax with placeholder values
5429
+ #
5430
+ # resp = client.list_caller_access_grants({
5431
+ # account_id: "AccountId",
5432
+ # grant_scope: "S3Prefix",
5433
+ # next_token: "ContinuationToken",
5434
+ # max_results: 1,
5435
+ # allowed_by_application: false,
5436
+ # })
5437
+ #
5438
+ # @example Response structure
5439
+ #
5440
+ # resp.next_token #=> String
5441
+ # resp.caller_access_grants_list #=> Array
5442
+ # resp.caller_access_grants_list[0].permission #=> String, one of "READ", "WRITE", "READWRITE"
5443
+ # resp.caller_access_grants_list[0].grant_scope #=> String
5444
+ # resp.caller_access_grants_list[0].application_arn #=> String
5445
+ #
5446
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListCallerAccessGrants AWS API Documentation
5447
+ #
5448
+ # @overload list_caller_access_grants(params = {})
5449
+ # @param [Hash] params ({})
5450
+ def list_caller_access_grants(params = {}, options = {})
5451
+ req = build_request(:list_caller_access_grants, params)
5452
+ req.send_request(options)
5453
+ end
5454
+
5370
5455
  # Lists current S3 Batch Operations jobs as well as the jobs that have
5371
5456
  # ended within the last 90 days for the Amazon Web Services account
5372
5457
  # making the request. For more information, see [S3 Batch Operations][1]
@@ -5792,7 +5877,7 @@ module Aws::S3Control
5792
5877
  # permission to use this operation.
5793
5878
  #
5794
5879
  # @option params [String] :account_id
5795
- # The ID of the Amazon Web Services account that is making this request.
5880
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
5796
5881
  #
5797
5882
  # @option params [required, String] :policy
5798
5883
  # The resource policy of the S3 Access Grants instance that you are
@@ -7319,7 +7404,7 @@ module Aws::S3Control
7319
7404
  # : You must also have the following permission: `iam:PassRole`
7320
7405
  #
7321
7406
  # @option params [String] :account_id
7322
- # The ID of the Amazon Web Services account that is making this request.
7407
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
7323
7408
  #
7324
7409
  # @option params [required, String] :access_grants_location_id
7325
7410
  # The ID of the registered location that you are updating. S3 Access
@@ -7628,7 +7713,7 @@ module Aws::S3Control
7628
7713
  tracer: tracer
7629
7714
  )
7630
7715
  context[:gem_name] = 'aws-sdk-s3control'
7631
- context[:gem_version] = '1.88.0'
7716
+ context[:gem_version] = '1.89.0'
7632
7717
  Seahorse::Client::Request.new(handlers, context)
7633
7718
  end
7634
7719
 
@@ -58,6 +58,7 @@ module Aws::S3Control
58
58
  BucketName = Shapes::StringShape.new(name: 'BucketName')
59
59
  BucketVersioningStatus = Shapes::StringShape.new(name: 'BucketVersioningStatus')
60
60
  Buckets = Shapes::ListShape.new(name: 'Buckets')
61
+ CallerAccessGrantsList = Shapes::ListShape.new(name: 'CallerAccessGrantsList')
61
62
  CloudWatchMetrics = Shapes::StructureShape.new(name: 'CloudWatchMetrics')
62
63
  ConfigId = Shapes::StringShape.new(name: 'ConfigId')
63
64
  ConfirmRemoveSelfBucketAccess = Shapes::BooleanShape.new(name: 'ConfirmRemoveSelfBucketAccess')
@@ -266,6 +267,9 @@ module Aws::S3Control
266
267
  ListAccessPointsForObjectLambdaResult = Shapes::StructureShape.new(name: 'ListAccessPointsForObjectLambdaResult')
267
268
  ListAccessPointsRequest = Shapes::StructureShape.new(name: 'ListAccessPointsRequest')
268
269
  ListAccessPointsResult = Shapes::StructureShape.new(name: 'ListAccessPointsResult')
270
+ ListCallerAccessGrantsEntry = Shapes::StructureShape.new(name: 'ListCallerAccessGrantsEntry')
271
+ ListCallerAccessGrantsRequest = Shapes::StructureShape.new(name: 'ListCallerAccessGrantsRequest')
272
+ ListCallerAccessGrantsResult = Shapes::StructureShape.new(name: 'ListCallerAccessGrantsResult')
269
273
  ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
270
274
  ListJobsResult = Shapes::StructureShape.new(name: 'ListJobsResult')
271
275
  ListMultiRegionAccessPointsRequest = Shapes::StructureShape.new(name: 'ListMultiRegionAccessPointsRequest')
@@ -612,6 +616,8 @@ module Aws::S3Control
612
616
 
613
617
  Buckets.member = Shapes::ShapeRef.new(shape: S3BucketArnString, location_name: "Arn")
614
618
 
619
+ CallerAccessGrantsList.member = Shapes::ShapeRef.new(shape: ListCallerAccessGrantsEntry, location_name: "AccessGrant")
620
+
615
621
  CloudWatchMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, required: true, location_name: "IsEnabled"))
616
622
  CloudWatchMetrics.struct_class = Types::CloudWatchMetrics
617
623
 
@@ -644,7 +650,9 @@ module Aws::S3Control
644
650
  CreateAccessGrantsInstanceResult.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "CreatedAt"))
645
651
  CreateAccessGrantsInstanceResult.add_member(:access_grants_instance_id, Shapes::ShapeRef.new(shape: AccessGrantsInstanceId, location_name: "AccessGrantsInstanceId"))
646
652
  CreateAccessGrantsInstanceResult.add_member(:access_grants_instance_arn, Shapes::ShapeRef.new(shape: AccessGrantsInstanceArn, location_name: "AccessGrantsInstanceArn"))
647
- CreateAccessGrantsInstanceResult.add_member(:identity_center_arn, Shapes::ShapeRef.new(shape: IdentityCenterArn, location_name: "IdentityCenterArn"))
653
+ CreateAccessGrantsInstanceResult.add_member(:identity_center_arn, Shapes::ShapeRef.new(shape: IdentityCenterArn, deprecated: true, location_name: "IdentityCenterArn", metadata: {"deprecatedMessage"=>"IdentityCenterArn has been deprecated. Use IdentityCenterInstanceArn or IdentityCenterApplicationArn."}))
654
+ CreateAccessGrantsInstanceResult.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: IdentityCenterArn, location_name: "IdentityCenterInstanceArn"))
655
+ CreateAccessGrantsInstanceResult.add_member(:identity_center_application_arn, Shapes::ShapeRef.new(shape: IdentityCenterApplicationArn, location_name: "IdentityCenterApplicationArn"))
648
656
  CreateAccessGrantsInstanceResult.struct_class = Types::CreateAccessGrantsInstanceResult
649
657
 
650
658
  CreateAccessGrantsLocationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
@@ -914,7 +922,9 @@ module Aws::S3Control
914
922
 
915
923
  GetAccessGrantsInstanceResult.add_member(:access_grants_instance_arn, Shapes::ShapeRef.new(shape: AccessGrantsInstanceArn, location_name: "AccessGrantsInstanceArn"))
916
924
  GetAccessGrantsInstanceResult.add_member(:access_grants_instance_id, Shapes::ShapeRef.new(shape: AccessGrantsInstanceId, location_name: "AccessGrantsInstanceId"))
917
- GetAccessGrantsInstanceResult.add_member(:identity_center_arn, Shapes::ShapeRef.new(shape: IdentityCenterArn, location_name: "IdentityCenterArn"))
925
+ GetAccessGrantsInstanceResult.add_member(:identity_center_arn, Shapes::ShapeRef.new(shape: IdentityCenterArn, deprecated: true, location_name: "IdentityCenterArn", metadata: {"deprecatedMessage"=>"IdentityCenterArn has been deprecated. Use IdentityCenterInstanceArn or IdentityCenterApplicationArn."}))
926
+ GetAccessGrantsInstanceResult.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: IdentityCenterArn, location_name: "IdentityCenterInstanceArn"))
927
+ GetAccessGrantsInstanceResult.add_member(:identity_center_application_arn, Shapes::ShapeRef.new(shape: IdentityCenterApplicationArn, location_name: "IdentityCenterApplicationArn"))
918
928
  GetAccessGrantsInstanceResult.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "CreatedAt"))
919
929
  GetAccessGrantsInstanceResult.struct_class = Types::GetAccessGrantsInstanceResult
920
930
 
@@ -1295,7 +1305,9 @@ module Aws::S3Control
1295
1305
  ListAccessGrantsInstanceEntry.add_member(:access_grants_instance_id, Shapes::ShapeRef.new(shape: AccessGrantsInstanceId, location_name: "AccessGrantsInstanceId"))
1296
1306
  ListAccessGrantsInstanceEntry.add_member(:access_grants_instance_arn, Shapes::ShapeRef.new(shape: AccessGrantsInstanceArn, location_name: "AccessGrantsInstanceArn"))
1297
1307
  ListAccessGrantsInstanceEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "CreatedAt"))
1298
- ListAccessGrantsInstanceEntry.add_member(:identity_center_arn, Shapes::ShapeRef.new(shape: IdentityCenterArn, location_name: "IdentityCenterArn"))
1308
+ ListAccessGrantsInstanceEntry.add_member(:identity_center_arn, Shapes::ShapeRef.new(shape: IdentityCenterArn, deprecated: true, location_name: "IdentityCenterArn", metadata: {"deprecatedMessage"=>"IdentityCenterArn has been deprecated. Use IdentityCenterInstanceArn or IdentityCenterApplicationArn."}))
1309
+ ListAccessGrantsInstanceEntry.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: IdentityCenterArn, location_name: "IdentityCenterInstanceArn"))
1310
+ ListAccessGrantsInstanceEntry.add_member(:identity_center_application_arn, Shapes::ShapeRef.new(shape: IdentityCenterApplicationArn, location_name: "IdentityCenterApplicationArn"))
1299
1311
  ListAccessGrantsInstanceEntry.struct_class = Types::ListAccessGrantsInstanceEntry
1300
1312
 
1301
1313
  ListAccessGrantsInstancesRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
@@ -1357,6 +1369,22 @@ module Aws::S3Control
1357
1369
  ListAccessPointsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location_name: "NextToken"))
1358
1370
  ListAccessPointsResult.struct_class = Types::ListAccessPointsResult
1359
1371
 
1372
+ ListCallerAccessGrantsEntry.add_member(:permission, Shapes::ShapeRef.new(shape: Permission, location_name: "Permission"))
1373
+ ListCallerAccessGrantsEntry.add_member(:grant_scope, Shapes::ShapeRef.new(shape: S3Prefix, location_name: "GrantScope"))
1374
+ ListCallerAccessGrantsEntry.add_member(:application_arn, Shapes::ShapeRef.new(shape: IdentityCenterApplicationArn, location_name: "ApplicationArn"))
1375
+ ListCallerAccessGrantsEntry.struct_class = Types::ListCallerAccessGrantsEntry
1376
+
1377
+ ListCallerAccessGrantsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
1378
+ ListCallerAccessGrantsRequest.add_member(:grant_scope, Shapes::ShapeRef.new(shape: S3Prefix, location: "querystring", location_name: "grantscope"))
1379
+ ListCallerAccessGrantsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ContinuationToken, location: "querystring", location_name: "nextToken"))
1380
+ ListCallerAccessGrantsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1381
+ ListCallerAccessGrantsRequest.add_member(:allowed_by_application, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "allowedByApplication"))
1382
+ ListCallerAccessGrantsRequest.struct_class = Types::ListCallerAccessGrantsRequest
1383
+
1384
+ ListCallerAccessGrantsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: ContinuationToken, location_name: "NextToken"))
1385
+ ListCallerAccessGrantsResult.add_member(:caller_access_grants_list, Shapes::ShapeRef.new(shape: CallerAccessGrantsList, location_name: "CallerAccessGrantsList"))
1386
+ ListCallerAccessGrantsResult.struct_class = Types::ListCallerAccessGrantsResult
1387
+
1360
1388
  ListJobsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
1361
1389
  ListJobsRequest.add_member(:job_statuses, Shapes::ShapeRef.new(shape: JobStatusList, location: "querystring", location_name: "jobStatuses"))
1362
1390
  ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: StringForNextToken, location: "querystring", location_name: "nextToken"))
@@ -2794,6 +2822,23 @@ module Aws::S3Control
2794
2822
  )
2795
2823
  end)
2796
2824
 
2825
+ api.add_operation(:list_caller_access_grants, Seahorse::Model::Operation.new.tap do |o|
2826
+ o.name = "ListCallerAccessGrants"
2827
+ o.http_method = "GET"
2828
+ o.http_request_uri = "/v20180820/accessgrantsinstance/caller/grants"
2829
+ o.http_checksum_required = true
2830
+ o.endpoint_pattern = {
2831
+ }
2832
+ o.input = Shapes::ShapeRef.new(shape: ListCallerAccessGrantsRequest)
2833
+ o.output = Shapes::ShapeRef.new(shape: ListCallerAccessGrantsResult)
2834
+ o[:pager] = Aws::Pager.new(
2835
+ limit_key: "max_results",
2836
+ tokens: {
2837
+ "next_token" => "next_token"
2838
+ }
2839
+ )
2840
+ end)
2841
+
2797
2842
  api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
2798
2843
  o.name = "ListJobs"
2799
2844
  o.http_method = "GET"
@@ -1312,6 +1312,26 @@ module Aws::S3Control
1312
1312
  end
1313
1313
  end
1314
1314
 
1315
+ class ListCallerAccessGrants
1316
+ def self.build(context)
1317
+ unless context.config.regional_endpoint
1318
+ endpoint = context.config.endpoint.to_s
1319
+ end
1320
+ Aws::S3Control::EndpointParameters.new(
1321
+ region: context.config.region,
1322
+ use_fips: context.config.use_fips_endpoint,
1323
+ use_dual_stack: context[:use_dualstack_endpoint],
1324
+ endpoint: endpoint,
1325
+ account_id: context.params[:account_id],
1326
+ requires_account_id: true,
1327
+ outpost_id: nil,
1328
+ bucket: nil,
1329
+ access_point_name: nil,
1330
+ use_arn_region: context.config.s3_use_arn_region,
1331
+ )
1332
+ end
1333
+ end
1334
+
1315
1335
  class ListJobs
1316
1336
  def self.build(context)
1317
1337
  unless context.config.regional_endpoint
@@ -188,6 +188,8 @@ module Aws::S3Control
188
188
  Aws::S3Control::Endpoints::ListAccessPoints.build(context)
189
189
  when :list_access_points_for_object_lambda
190
190
  Aws::S3Control::Endpoints::ListAccessPointsForObjectLambda.build(context)
191
+ when :list_caller_access_grants
192
+ Aws::S3Control::Endpoints::ListCallerAccessGrants.build(context)
191
193
  when :list_jobs
192
194
  Aws::S3Control::Endpoints::ListJobs.build(context)
193
195
  when :list_multi_region_access_points
@@ -93,7 +93,8 @@ module Aws::S3Control
93
93
  # if one exists.
94
94
  #
95
95
  # <note markdown="1"> This element is empty if this access point is an Amazon S3 on
96
- # Outposts access point that is used by other Amazon Web Services.
96
+ # Outposts access point that is used by other Amazon Web
97
+ # Servicesservices.
97
98
  #
98
99
  # </note>
99
100
  # @return [Types::VpcConfiguration]
@@ -267,8 +268,7 @@ module Aws::S3Control
267
268
  end
268
269
 
269
270
  # @!attribute [rw] account_id
270
- # The ID of the Amazon Web Services account that is making this
271
- # request.
271
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
272
272
  # @return [String]
273
273
  #
274
274
  # @!attribute [rw] identity_center_arn
@@ -541,8 +541,7 @@ module Aws::S3Control
541
541
  end
542
542
 
543
543
  # @!attribute [rw] account_id
544
- # The ID of the Amazon Web Services account that is making this
545
- # request.
544
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
546
545
  # @return [String]
547
546
  #
548
547
  # @!attribute [rw] access_grants_location_id
@@ -697,8 +696,7 @@ module Aws::S3Control
697
696
  end
698
697
 
699
698
  # @!attribute [rw] account_id
700
- # The ID of the Amazon Web Services account that is making this
701
- # request.
699
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
702
700
  # @return [String]
703
701
  #
704
702
  # @!attribute [rw] identity_center_arn
@@ -743,16 +741,47 @@ module Aws::S3Control
743
741
  # @return [String]
744
742
  #
745
743
  # @!attribute [rw] access_grants_instance_arn
746
- # The Amazon Resource Name (ARN) of the S3 Access Grants instance.
744
+ # The Amazon Resource Name (ARN) of the Amazon Web Services IAM
745
+ # Identity Center instance that you are associating with your S3
746
+ # Access Grants instance. An IAM Identity Center instance is your
747
+ # corporate identity directory that you added to the IAM Identity
748
+ # Center. You can use the [ListInstances][1] API operation to retrieve
749
+ # a list of your Identity Center instances and their ARNs.
750
+ #
751
+ #
752
+ #
753
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListInstances.html
747
754
  # @return [String]
748
755
  #
749
756
  # @!attribute [rw] identity_center_arn
750
757
  # If you associated your S3 Access Grants instance with an Amazon Web
751
758
  # Services IAM Identity Center instance, this field returns the Amazon
752
759
  # Resource Name (ARN) of the IAM Identity Center instance application;
753
- # a subresource of the original Identity Center instance passed in the
754
- # request. S3 Access Grants creates this Identity Center application
755
- # for this specific S3 Access Grants instance.
760
+ # a subresource of the original Identity Center instance. S3 Access
761
+ # Grants creates this Identity Center application for the specific S3
762
+ # Access Grants instance.
763
+ # @return [String]
764
+ #
765
+ # @!attribute [rw] identity_center_instance_arn
766
+ # The Amazon Resource Name (ARN) of the Amazon Web Services IAM
767
+ # Identity Center instance that you are associating with your S3
768
+ # Access Grants instance. An IAM Identity Center instance is your
769
+ # corporate identity directory that you added to the IAM Identity
770
+ # Center. You can use the [ListInstances][1] API operation to retrieve
771
+ # a list of your Identity Center instances and their ARNs.
772
+ #
773
+ #
774
+ #
775
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListInstances.html
776
+ # @return [String]
777
+ #
778
+ # @!attribute [rw] identity_center_application_arn
779
+ # If you associated your S3 Access Grants instance with an Amazon Web
780
+ # Services IAM Identity Center instance, this field returns the Amazon
781
+ # Resource Name (ARN) of the IAM Identity Center instance application;
782
+ # a subresource of the original Identity Center instance. S3 Access
783
+ # Grants creates this Identity Center application for the specific S3
784
+ # Access Grants instance.
756
785
  # @return [String]
757
786
  #
758
787
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessGrantsInstanceResult AWS API Documentation
@@ -761,14 +790,15 @@ module Aws::S3Control
761
790
  :created_at,
762
791
  :access_grants_instance_id,
763
792
  :access_grants_instance_arn,
764
- :identity_center_arn)
793
+ :identity_center_arn,
794
+ :identity_center_instance_arn,
795
+ :identity_center_application_arn)
765
796
  SENSITIVE = []
766
797
  include Aws::Structure
767
798
  end
768
799
 
769
800
  # @!attribute [rw] account_id
770
- # The ID of the Amazon Web Services account that is making this
771
- # request.
801
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
772
802
  # @return [String]
773
803
  #
774
804
  # @!attribute [rw] location_scope
@@ -1373,8 +1403,7 @@ module Aws::S3Control
1373
1403
  end
1374
1404
 
1375
1405
  # @!attribute [rw] account_id
1376
- # The ID of the Amazon Web Services account that is making this
1377
- # request.
1406
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
1378
1407
  # @return [String]
1379
1408
  #
1380
1409
  # @!attribute [rw] access_grant_id
@@ -1392,8 +1421,7 @@ module Aws::S3Control
1392
1421
  end
1393
1422
 
1394
1423
  # @!attribute [rw] account_id
1395
- # The ID of the Amazon Web Services account that is making this
1396
- # request.
1424
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
1397
1425
  # @return [String]
1398
1426
  #
1399
1427
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessGrantsInstanceRequest AWS API Documentation
@@ -1405,8 +1433,7 @@ module Aws::S3Control
1405
1433
  end
1406
1434
 
1407
1435
  # @!attribute [rw] account_id
1408
- # The ID of the Amazon Web Services account that is making this
1409
- # request.
1436
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
1410
1437
  # @return [String]
1411
1438
  #
1412
1439
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessGrantsInstanceResourcePolicyRequest AWS API Documentation
@@ -1418,8 +1445,7 @@ module Aws::S3Control
1418
1445
  end
1419
1446
 
1420
1447
  # @!attribute [rw] account_id
1421
- # The ID of the Amazon Web Services account that is making this
1422
- # request.
1448
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
1423
1449
  # @return [String]
1424
1450
  #
1425
1451
  # @!attribute [rw] access_grants_location_id
@@ -2046,8 +2072,7 @@ module Aws::S3Control
2046
2072
  end
2047
2073
 
2048
2074
  # @!attribute [rw] account_id
2049
- # The ID of the Amazon Web Services account that is making this
2050
- # request.
2075
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
2051
2076
  # @return [String]
2052
2077
  #
2053
2078
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DissociateAccessGrantsIdentityCenterRequest AWS API Documentation
@@ -2059,7 +2084,12 @@ module Aws::S3Control
2059
2084
  end
2060
2085
 
2061
2086
  # Specifies encryption-related information for an Amazon S3 bucket that
2062
- # is a destination for replicated objects.
2087
+ # is a destination for replicated objects. If you're specifying a
2088
+ # customer managed KMS key, we recommend using a fully qualified KMS key
2089
+ # ARN. If you use a KMS key alias instead, then KMS resolves the key
2090
+ # within the requester’s account. This behavior can result in data
2091
+ # that's encrypted with a KMS key that belongs to the requester, and
2092
+ # not the bucket owner.
2063
2093
  #
2064
2094
  # <note markdown="1"> This is not supported by Amazon S3 on Outposts buckets.
2065
2095
  #
@@ -2168,8 +2198,7 @@ module Aws::S3Control
2168
2198
  end
2169
2199
 
2170
2200
  # @!attribute [rw] account_id
2171
- # The ID of the Amazon Web Services account that is making this
2172
- # request.
2201
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
2173
2202
  # @return [String]
2174
2203
  #
2175
2204
  # @!attribute [rw] access_grant_id
@@ -2296,8 +2325,7 @@ module Aws::S3Control
2296
2325
  end
2297
2326
 
2298
2327
  # @!attribute [rw] account_id
2299
- # The ID of the Amazon Web Services account that is making this
2300
- # request.
2328
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
2301
2329
  # @return [String]
2302
2330
  #
2303
2331
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsInstanceRequest AWS API Documentation
@@ -2309,8 +2337,7 @@ module Aws::S3Control
2309
2337
  end
2310
2338
 
2311
2339
  # @!attribute [rw] account_id
2312
- # The ID of the Amazon Web Services account that is making this
2313
- # request.
2340
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
2314
2341
  # @return [String]
2315
2342
  #
2316
2343
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantsInstanceResourcePolicyRequest AWS API Documentation
@@ -2357,10 +2384,32 @@ module Aws::S3Control
2357
2384
  # @!attribute [rw] identity_center_arn
2358
2385
  # If you associated your S3 Access Grants instance with an Amazon Web
2359
2386
  # Services IAM Identity Center instance, this field returns the Amazon
2360
- # Resource Name (ARN) of the Amazon Web Services IAM Identity Center
2361
- # instance application; a subresource of the original Identity Center
2362
- # instance. S3 Access Grants creates this Identity Center application
2363
- # for the specific S3 Access Grants instance.
2387
+ # Resource Name (ARN) of the IAM Identity Center instance application;
2388
+ # a subresource of the original Identity Center instance. S3 Access
2389
+ # Grants creates this Identity Center application for the specific S3
2390
+ # Access Grants instance.
2391
+ # @return [String]
2392
+ #
2393
+ # @!attribute [rw] identity_center_instance_arn
2394
+ # The Amazon Resource Name (ARN) of the Amazon Web Services IAM
2395
+ # Identity Center instance that you are associating with your S3
2396
+ # Access Grants instance. An IAM Identity Center instance is your
2397
+ # corporate identity directory that you added to the IAM Identity
2398
+ # Center. You can use the [ListInstances][1] API operation to retrieve
2399
+ # a list of your Identity Center instances and their ARNs.
2400
+ #
2401
+ #
2402
+ #
2403
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListInstances.html
2404
+ # @return [String]
2405
+ #
2406
+ # @!attribute [rw] identity_center_application_arn
2407
+ # If you associated your S3 Access Grants instance with an Amazon Web
2408
+ # Services IAM Identity Center instance, this field returns the Amazon
2409
+ # Resource Name (ARN) of the IAM Identity Center instance application;
2410
+ # a subresource of the original Identity Center instance. S3 Access
2411
+ # Grants creates this Identity Center application for the specific S3
2412
+ # Access Grants instance.
2364
2413
  # @return [String]
2365
2414
  #
2366
2415
  # @!attribute [rw] created_at
@@ -2373,14 +2422,15 @@ module Aws::S3Control
2373
2422
  :access_grants_instance_arn,
2374
2423
  :access_grants_instance_id,
2375
2424
  :identity_center_arn,
2425
+ :identity_center_instance_arn,
2426
+ :identity_center_application_arn,
2376
2427
  :created_at)
2377
2428
  SENSITIVE = []
2378
2429
  include Aws::Structure
2379
2430
  end
2380
2431
 
2381
2432
  # @!attribute [rw] account_id
2382
- # The ID of the Amazon Web Services account that is making this
2383
- # request.
2433
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
2384
2434
  # @return [String]
2385
2435
  #
2386
2436
  # @!attribute [rw] access_grants_location_id
@@ -2716,7 +2766,8 @@ module Aws::S3Control
2716
2766
  # specified access point.
2717
2767
  #
2718
2768
  # <note markdown="1"> This element is empty if this access point is an Amazon S3 on
2719
- # Outposts access point that is used by other Amazon Web Services.
2769
+ # Outposts access point that is used by other Amazon Web
2770
+ # Servicesservices.
2720
2771
  #
2721
2772
  # </note>
2722
2773
  # @return [Types::VpcConfiguration]
@@ -3032,8 +3083,7 @@ module Aws::S3Control
3032
3083
  end
3033
3084
 
3034
3085
  # @!attribute [rw] account_id
3035
- # The ID of the Amazon Web Services account that is making this
3036
- # request.
3086
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
3037
3087
  # @return [String]
3038
3088
  #
3039
3089
  # @!attribute [rw] target
@@ -4110,17 +4160,23 @@ module Aws::S3Control
4110
4160
  #
4111
4161
  # @!attribute [rw] match_any_prefix
4112
4162
  # If provided, the generated manifest includes objects where the
4113
- # specified string appears at the start of the object key string.
4163
+ # specified string appears at the start of the object key string. Each
4164
+ # KeyNameConstraint filter accepts an array of strings with a length
4165
+ # of 1 string.
4114
4166
  # @return [Array<String>]
4115
4167
  #
4116
4168
  # @!attribute [rw] match_any_suffix
4117
4169
  # If provided, the generated manifest includes objects where the
4118
- # specified string appears at the end of the object key string.
4170
+ # specified string appears at the end of the object key string. Each
4171
+ # KeyNameConstraint filter accepts an array of strings with a length
4172
+ # of 1 string.
4119
4173
  # @return [Array<String>]
4120
4174
  #
4121
4175
  # @!attribute [rw] match_any_substring
4122
4176
  # If provided, the generated manifest includes objects where the
4123
- # specified string appears anywhere within the object key string.
4177
+ # specified string appears anywhere within the object key string. Each
4178
+ # KeyNameConstraint filter accepts an array of strings with a length
4179
+ # of 1 string.
4124
4180
  # @return [Array<String>]
4125
4181
  #
4126
4182
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/KeyNameConstraint AWS API Documentation
@@ -4483,20 +4539,43 @@ module Aws::S3Control
4483
4539
  # Access Grants instance.
4484
4540
  # @return [String]
4485
4541
  #
4542
+ # @!attribute [rw] identity_center_instance_arn
4543
+ # The Amazon Resource Name (ARN) of the Amazon Web Services IAM
4544
+ # Identity Center instance that you are associating with your S3
4545
+ # Access Grants instance. An IAM Identity Center instance is your
4546
+ # corporate identity directory that you added to the IAM Identity
4547
+ # Center. You can use the [ListInstances][1] API operation to retrieve
4548
+ # a list of your Identity Center instances and their ARNs.
4549
+ #
4550
+ #
4551
+ #
4552
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListInstances.html
4553
+ # @return [String]
4554
+ #
4555
+ # @!attribute [rw] identity_center_application_arn
4556
+ # If you associated your S3 Access Grants instance with an Amazon Web
4557
+ # Services IAM Identity Center instance, this field returns the Amazon
4558
+ # Resource Name (ARN) of the IAM Identity Center instance application;
4559
+ # a subresource of the original Identity Center instance. S3 Access
4560
+ # Grants creates this Identity Center application for the specific S3
4561
+ # Access Grants instance.
4562
+ # @return [String]
4563
+ #
4486
4564
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessGrantsInstanceEntry AWS API Documentation
4487
4565
  #
4488
4566
  class ListAccessGrantsInstanceEntry < Struct.new(
4489
4567
  :access_grants_instance_id,
4490
4568
  :access_grants_instance_arn,
4491
4569
  :created_at,
4492
- :identity_center_arn)
4570
+ :identity_center_arn,
4571
+ :identity_center_instance_arn,
4572
+ :identity_center_application_arn)
4493
4573
  SENSITIVE = []
4494
4574
  include Aws::Structure
4495
4575
  end
4496
4576
 
4497
4577
  # @!attribute [rw] account_id
4498
- # The ID of the Amazon Web Services account that is making this
4499
- # request.
4578
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
4500
4579
  # @return [String]
4501
4580
  #
4502
4581
  # @!attribute [rw] next_token
@@ -4589,8 +4668,7 @@ module Aws::S3Control
4589
4668
  end
4590
4669
 
4591
4670
  # @!attribute [rw] account_id
4592
- # The ID of the Amazon Web Services account that is making this
4593
- # request.
4671
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
4594
4672
  # @return [String]
4595
4673
  #
4596
4674
  # @!attribute [rw] next_token
@@ -4649,8 +4727,7 @@ module Aws::S3Control
4649
4727
  end
4650
4728
 
4651
4729
  # @!attribute [rw] account_id
4652
- # The ID of the Amazon Web Services account that is making this
4653
- # request.
4730
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
4654
4731
  # @return [String]
4655
4732
  #
4656
4733
  # @!attribute [rw] next_token
@@ -4870,6 +4947,107 @@ module Aws::S3Control
4870
4947
  include Aws::Structure
4871
4948
  end
4872
4949
 
4950
+ # Part of `ListCallerAccessGrantsResult`. Each entry includes the
4951
+ # permission level (READ, WRITE, or READWRITE) and the grant scope of
4952
+ # the access grant. If the grant also includes an application ARN, the
4953
+ # grantee can only access the S3 data through this application.
4954
+ #
4955
+ # @!attribute [rw] permission
4956
+ # The type of permission granted, which can be one of the following
4957
+ # values:
4958
+ #
4959
+ # * `READ` - Grants read-only access to the S3 data.
4960
+ #
4961
+ # * `WRITE` - Grants write-only access to the S3 data.
4962
+ #
4963
+ # * `READWRITE` - Grants both read and write access to the S3 data.
4964
+ # @return [String]
4965
+ #
4966
+ # @!attribute [rw] grant_scope
4967
+ # The S3 path of the data to which you have been granted access.
4968
+ # @return [String]
4969
+ #
4970
+ # @!attribute [rw] application_arn
4971
+ # The Amazon Resource Name (ARN) of an Amazon Web Services IAM
4972
+ # Identity Center application associated with your Identity Center
4973
+ # instance. If the grant includes an application ARN, the grantee can
4974
+ # only access the S3 data through this application.
4975
+ # @return [String]
4976
+ #
4977
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListCallerAccessGrantsEntry AWS API Documentation
4978
+ #
4979
+ class ListCallerAccessGrantsEntry < Struct.new(
4980
+ :permission,
4981
+ :grant_scope,
4982
+ :application_arn)
4983
+ SENSITIVE = []
4984
+ include Aws::Structure
4985
+ end
4986
+
4987
+ # @!attribute [rw] account_id
4988
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
4989
+ # @return [String]
4990
+ #
4991
+ # @!attribute [rw] grant_scope
4992
+ # The S3 path of the data that you would like to access. Must start
4993
+ # with `s3://`. You can optionally pass only the beginning characters
4994
+ # of a path, and S3 Access Grants will search for all applicable
4995
+ # grants for the path fragment.
4996
+ # @return [String]
4997
+ #
4998
+ # @!attribute [rw] next_token
4999
+ # A pagination token to request the next page of results. Pass this
5000
+ # value into a subsequent `List Caller Access Grants` request in order
5001
+ # to retrieve the next page of results.
5002
+ # @return [String]
5003
+ #
5004
+ # @!attribute [rw] max_results
5005
+ # The maximum number of access grants that you would like returned in
5006
+ # the `List Caller Access Grants` response. If the results include the
5007
+ # pagination token `NextToken`, make another call using the
5008
+ # `NextToken` to determine if there are more results.
5009
+ # @return [Integer]
5010
+ #
5011
+ # @!attribute [rw] allowed_by_application
5012
+ # If this optional parameter is passed in the request, a filter is
5013
+ # applied to the results. The results will include only the access
5014
+ # grants for the caller's Identity Center application or for any
5015
+ # other applications (`ALL`).
5016
+ # @return [Boolean]
5017
+ #
5018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListCallerAccessGrantsRequest AWS API Documentation
5019
+ #
5020
+ class ListCallerAccessGrantsRequest < Struct.new(
5021
+ :account_id,
5022
+ :grant_scope,
5023
+ :next_token,
5024
+ :max_results,
5025
+ :allowed_by_application)
5026
+ SENSITIVE = []
5027
+ include Aws::Structure
5028
+ end
5029
+
5030
+ # @!attribute [rw] next_token
5031
+ # A pagination token that you can use to request the next page of
5032
+ # results. Pass this value into a subsequent `List Caller Access
5033
+ # Grants` request in order to retrieve the next page of results.
5034
+ # @return [String]
5035
+ #
5036
+ # @!attribute [rw] caller_access_grants_list
5037
+ # A list of the caller's access grants that were created using S3
5038
+ # Access Grants and that grant the caller access to the S3 data of the
5039
+ # Amazon Web Services account ID that was specified in the request.
5040
+ # @return [Array<Types::ListCallerAccessGrantsEntry>]
5041
+ #
5042
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListCallerAccessGrantsResult AWS API Documentation
5043
+ #
5044
+ class ListCallerAccessGrantsResult < Struct.new(
5045
+ :next_token,
5046
+ :caller_access_grants_list)
5047
+ SENSITIVE = []
5048
+ include Aws::Structure
5049
+ end
5050
+
4873
5051
  # @!attribute [rw] account_id
4874
5052
  # The Amazon Web Services account ID associated with the S3 Batch
4875
5053
  # Operations job.
@@ -5789,7 +5967,7 @@ module Aws::S3Control
5789
5967
  # Specifies whether Amazon S3 should restrict public bucket policies
5790
5968
  # for buckets in this account. Setting this element to `TRUE`
5791
5969
  # restricts access to buckets with public policies to only Amazon Web
5792
- # Service principals and authorized users within this account.
5970
+ # Servicesservice principals and authorized users within this account.
5793
5971
  #
5794
5972
  # Enabling this setting doesn't affect previously stored bucket
5795
5973
  # policies, except that public and cross-account access within any
@@ -5811,8 +5989,7 @@ module Aws::S3Control
5811
5989
  end
5812
5990
 
5813
5991
  # @!attribute [rw] account_id
5814
- # The ID of the Amazon Web Services account that is making this
5815
- # request.
5992
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
5816
5993
  # @return [String]
5817
5994
  #
5818
5995
  # @!attribute [rw] policy
@@ -7048,7 +7225,7 @@ module Aws::S3Control
7048
7225
  # @return [String]
7049
7226
  #
7050
7227
  # @!attribute [rw] source_bucket
7051
- # The source bucket used by the ManifestGenerator.
7228
+ # The ARN of the source bucket used by the ManifestGenerator.
7052
7229
  #
7053
7230
  # <note markdown="1"> **Directory buckets** - Directory buckets aren't supported as the
7054
7231
  # source buckets used by `S3JobManifestGenerator` to generate the job
@@ -8071,8 +8248,7 @@ module Aws::S3Control
8071
8248
  class UntagResourceResult < Aws::EmptyStructure; end
8072
8249
 
8073
8250
  # @!attribute [rw] account_id
8074
- # The ID of the Amazon Web Services account that is making this
8075
- # request.
8251
+ # The Amazon Web Services account ID of the S3 Access Grants instance.
8076
8252
  # @return [String]
8077
8253
  #
8078
8254
  # @!attribute [rw] access_grants_location_id
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-s3control/customizations'
52
52
  # @!group service
53
53
  module Aws::S3Control
54
54
 
55
- GEM_VERSION = '1.88.0'
55
+ GEM_VERSION = '1.89.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -123,6 +123,8 @@ module Aws
123
123
  def access_grants_instance_id: () -> ::String
124
124
  def access_grants_instance_arn: () -> ::String
125
125
  def identity_center_arn: () -> ::String
126
+ def identity_center_instance_arn: () -> ::String
127
+ def identity_center_application_arn: () -> ::String
126
128
  end
127
129
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Control/Client.html#create_access_grants_instance-instance_method
128
130
  def create_access_grants_instance: (
@@ -698,6 +700,8 @@ module Aws
698
700
  def access_grants_instance_arn: () -> ::String
699
701
  def access_grants_instance_id: () -> ::String
700
702
  def identity_center_arn: () -> ::String
703
+ def identity_center_instance_arn: () -> ::String
704
+ def identity_center_application_arn: () -> ::String
701
705
  def created_at: () -> ::Time
702
706
  end
703
707
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Control/Client.html#get_access_grants_instance-instance_method
@@ -1090,6 +1094,21 @@ module Aws
1090
1094
  ) -> _ListAccessPointsForObjectLambdaResponseSuccess
1091
1095
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccessPointsForObjectLambdaResponseSuccess
1092
1096
 
1097
+ interface _ListCallerAccessGrantsResponseSuccess
1098
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCallerAccessGrantsResult]
1099
+ def next_token: () -> ::String
1100
+ def caller_access_grants_list: () -> ::Array[Types::ListCallerAccessGrantsEntry]
1101
+ end
1102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Control/Client.html#list_caller_access_grants-instance_method
1103
+ def list_caller_access_grants: (
1104
+ ?account_id: ::String,
1105
+ ?grant_scope: ::String,
1106
+ ?next_token: ::String,
1107
+ ?max_results: ::Integer,
1108
+ ?allowed_by_application: bool
1109
+ ) -> _ListCallerAccessGrantsResponseSuccess
1110
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCallerAccessGrantsResponseSuccess
1111
+
1093
1112
  interface _ListJobsResponseSuccess
1094
1113
  include ::Seahorse::Client::_ResponseSuccess[Types::ListJobsResult]
1095
1114
  def next_token: () -> ::String
data/sig/types.rbs CHANGED
@@ -164,6 +164,8 @@ module Aws::S3Control
164
164
  attr_accessor access_grants_instance_id: ::String
165
165
  attr_accessor access_grants_instance_arn: ::String
166
166
  attr_accessor identity_center_arn: ::String
167
+ attr_accessor identity_center_instance_arn: ::String
168
+ attr_accessor identity_center_application_arn: ::String
167
169
  SENSITIVE: []
168
170
  end
169
171
 
@@ -547,6 +549,8 @@ module Aws::S3Control
547
549
  attr_accessor access_grants_instance_arn: ::String
548
550
  attr_accessor access_grants_instance_id: ::String
549
551
  attr_accessor identity_center_arn: ::String
552
+ attr_accessor identity_center_instance_arn: ::String
553
+ attr_accessor identity_center_application_arn: ::String
550
554
  attr_accessor created_at: ::Time
551
555
  SENSITIVE: []
552
556
  end
@@ -1067,6 +1071,8 @@ module Aws::S3Control
1067
1071
  attr_accessor access_grants_instance_arn: ::String
1068
1072
  attr_accessor created_at: ::Time
1069
1073
  attr_accessor identity_center_arn: ::String
1074
+ attr_accessor identity_center_instance_arn: ::String
1075
+ attr_accessor identity_center_application_arn: ::String
1070
1076
  SENSITIVE: []
1071
1077
  end
1072
1078
 
@@ -1151,6 +1157,28 @@ module Aws::S3Control
1151
1157
  SENSITIVE: []
1152
1158
  end
1153
1159
 
1160
+ class ListCallerAccessGrantsEntry
1161
+ attr_accessor permission: ("READ" | "WRITE" | "READWRITE")
1162
+ attr_accessor grant_scope: ::String
1163
+ attr_accessor application_arn: ::String
1164
+ SENSITIVE: []
1165
+ end
1166
+
1167
+ class ListCallerAccessGrantsRequest
1168
+ attr_accessor account_id: ::String
1169
+ attr_accessor grant_scope: ::String
1170
+ attr_accessor next_token: ::String
1171
+ attr_accessor max_results: ::Integer
1172
+ attr_accessor allowed_by_application: bool
1173
+ SENSITIVE: []
1174
+ end
1175
+
1176
+ class ListCallerAccessGrantsResult
1177
+ attr_accessor next_token: ::String
1178
+ attr_accessor caller_access_grants_list: ::Array[Types::ListCallerAccessGrantsEntry]
1179
+ SENSITIVE: []
1180
+ end
1181
+
1154
1182
  class ListJobsRequest
1155
1183
  attr_accessor account_id: ::String
1156
1184
  attr_accessor job_statuses: ::Array[("Active" | "Cancelled" | "Cancelling" | "Complete" | "Completing" | "Failed" | "Failing" | "New" | "Paused" | "Pausing" | "Preparing" | "Ready" | "Suspended")]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3control
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.88.0
4
+ version: 1.89.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: 2024-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core