aws-sdk-s3control 1.150.0 → 1.151.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +191 -69
- data/lib/aws-sdk-s3control/types.rb +228 -72
- data/lib/aws-sdk-s3control.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/types.rbs +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9efc96df368beab4159dcd6ebf4e2f310c0272e891592997a265bfa4e9e77094
|
|
4
|
+
data.tar.gz: 4e12ae10dc30f0ffa053b8be54c5d3ff79a5e92761f983f18e8e423624e149af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eba3695f7aaa26c1b37428c994209f7020f9a7fe6092cb4cd02a3d7e5e20f066b2e929dc846fc12a1f666b3e0e503c1ce2016241a8e714a88724cd8ec3fe1e38
|
|
7
|
+
data.tar.gz: cd5a99f3470f51a2bc8f5175835533e62db3761a7010bc07133e1da39a6d8762a2f62c3268814d53316f6f34535cc92fbf1997a88dfb8dcce176e465108d12d0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.151.0 (2026-11-29)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - DIRECTORY USER and DIRECTORY GROUP grantees in S3 Access Grants now accept usernames and group names in addition to the user and group IDs provided by AWS IAM Identity Center. This release also adds the ATTRIBUTE grantee type, so you can grant access based on identity provider runtime claims.
|
|
8
|
+
|
|
4
9
|
1.150.0 (2026-11-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.151.0
|
|
@@ -495,11 +495,12 @@ module Aws::S3Control
|
|
|
495
495
|
# @!group API Operations
|
|
496
496
|
|
|
497
497
|
# Associate your S3 Access Grants instance with an Amazon Web Services
|
|
498
|
-
# IAM Identity Center instance.
|
|
499
|
-
#
|
|
500
|
-
#
|
|
501
|
-
#
|
|
502
|
-
#
|
|
498
|
+
# IAM Identity Center instance. IAM Identity Center instances, including
|
|
499
|
+
# new ones, use the legacy experience until you turn on the [simplified
|
|
500
|
+
# experience for trusted identity propagation][1]. You need this
|
|
501
|
+
# association only if your instance uses the legacy experience. If your
|
|
502
|
+
# instance uses the simplified experience, or if your users sign in
|
|
503
|
+
# through IAM federation, you don't need an association.
|
|
503
504
|
#
|
|
504
505
|
# Permissions
|
|
505
506
|
#
|
|
@@ -512,6 +513,10 @@ module Aws::S3Control
|
|
|
512
513
|
# `sso:CreateApplication`, `sso:PutApplicationGrant`, and
|
|
513
514
|
# `sso:PutApplicationAuthenticationMethod`.
|
|
514
515
|
#
|
|
516
|
+
#
|
|
517
|
+
#
|
|
518
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/userguide/simplified-tip-overview.html
|
|
519
|
+
#
|
|
515
520
|
# @option params [String] :account_id
|
|
516
521
|
# The Amazon Web Services account ID of the S3 Access Grants instance.
|
|
517
522
|
#
|
|
@@ -546,12 +551,13 @@ module Aws::S3Control
|
|
|
546
551
|
end
|
|
547
552
|
|
|
548
553
|
# Creates an access grant that gives a grantee access to your S3 data.
|
|
549
|
-
# The grantee can be an IAM user or role
|
|
550
|
-
# Before you can create a grant, you must have an S3
|
|
551
|
-
# instance in the same Region as the S3 data. You can
|
|
552
|
-
# Access Grants instance using the
|
|
553
|
-
# must also have registered at
|
|
554
|
-
# Access Grants instance using
|
|
554
|
+
# The grantee can be an IAM user or role, a directory user or group, or
|
|
555
|
+
# an attribute. Before you can create a grant, you must have an S3
|
|
556
|
+
# Access Grants instance in the same Region as the S3 data. You can
|
|
557
|
+
# create an S3 Access Grants instance using the
|
|
558
|
+
# [CreateAccessGrantsInstance][1]. You must also have registered at
|
|
559
|
+
# least one S3 data location in your S3 Access Grants instance using
|
|
560
|
+
# [CreateAccessGrantsLocation][2].
|
|
555
561
|
#
|
|
556
562
|
# Permissions
|
|
557
563
|
#
|
|
@@ -560,12 +566,9 @@ module Aws::S3Control
|
|
|
560
566
|
#
|
|
561
567
|
# Additional Permissions
|
|
562
568
|
#
|
|
563
|
-
# :
|
|
564
|
-
# `sso:
|
|
565
|
-
#
|
|
566
|
-
# For directory users - `identitystore:DescribeUser`
|
|
567
|
-
#
|
|
568
|
-
# For directory groups - `identitystore:DescribeGroup`
|
|
569
|
+
# : To create a grant with an `ApplicationArn`, you must also have the
|
|
570
|
+
# `sso:DescribeInstance` permission. Other grants don't require
|
|
571
|
+
# additional permissions.
|
|
569
572
|
#
|
|
570
573
|
#
|
|
571
574
|
#
|
|
@@ -592,11 +595,20 @@ module Aws::S3Control
|
|
|
592
595
|
# the subprefix to the location scope of the registered location.
|
|
593
596
|
#
|
|
594
597
|
# @option params [required, Types::Grantee] :grantee
|
|
595
|
-
# The user, group, or
|
|
596
|
-
#
|
|
597
|
-
#
|
|
598
|
-
#
|
|
599
|
-
#
|
|
598
|
+
# The user, group, role, or attribute to which you are granting access.
|
|
599
|
+
# The grantee can be an IAM user or role, a directory user or group, or
|
|
600
|
+
# an attribute. A directory user or group comes from your corporate
|
|
601
|
+
# directory. Your users can sign in through IAM Identity Center or
|
|
602
|
+
# through [IAM federation with trusted identity propagation (TIP)][1].
|
|
603
|
+
# IAM Identity Center instances use the legacy experience until you turn
|
|
604
|
+
# on the [simplified experience for trusted identity propagation][2]. If
|
|
605
|
+
# your instance uses the legacy experience, associate it with your S3
|
|
606
|
+
# Access Grants instance.
|
|
607
|
+
#
|
|
608
|
+
#
|
|
609
|
+
#
|
|
610
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation.html
|
|
611
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/userguide/simplified-tip-overview.html
|
|
600
612
|
#
|
|
601
613
|
# @option params [required, String] :permission
|
|
602
614
|
# The type of access that you are granting to your S3 data, which can be
|
|
@@ -611,9 +623,13 @@ module Aws::S3Control
|
|
|
611
623
|
# @option params [String] :application_arn
|
|
612
624
|
# The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity
|
|
613
625
|
# Center application associated with your Identity Center instance. If
|
|
614
|
-
# an application ARN
|
|
615
|
-
#
|
|
616
|
-
# application.
|
|
626
|
+
# you include an application ARN in the request, the grantee can access
|
|
627
|
+
# the S3 data only through this application. This is an
|
|
628
|
+
# application-scoped grant. You can create one only for a directory user
|
|
629
|
+
# or group. Your S3 Access Grants instance must also be associated with
|
|
630
|
+
# an IAM Identity Center instance that uses the legacy experience, not
|
|
631
|
+
# the simplified experience for trusted identity propagation. Otherwise,
|
|
632
|
+
# the request fails with an `InvalidRequest` error.
|
|
617
633
|
#
|
|
618
634
|
# @option params [String] :s3_prefix_type
|
|
619
635
|
# The type of `S3SubPrefix`. The only possible value is `Object`. Pass
|
|
@@ -647,7 +663,7 @@ module Aws::S3Control
|
|
|
647
663
|
# s3_sub_prefix: "S3Prefix",
|
|
648
664
|
# },
|
|
649
665
|
# grantee: { # required
|
|
650
|
-
# grantee_type: "DIRECTORY_USER", # accepts DIRECTORY_USER, DIRECTORY_GROUP, IAM
|
|
666
|
+
# grantee_type: "DIRECTORY_USER", # accepts DIRECTORY_USER, DIRECTORY_GROUP, IAM, ATTRIBUTE
|
|
651
667
|
# grantee_identifier: "GranteeIdentifier",
|
|
652
668
|
# },
|
|
653
669
|
# permission: "READ", # required, accepts READ, WRITE, READWRITE
|
|
@@ -666,7 +682,7 @@ module Aws::S3Control
|
|
|
666
682
|
# resp.created_at #=> Time
|
|
667
683
|
# resp.access_grant_id #=> String
|
|
668
684
|
# resp.access_grant_arn #=> String
|
|
669
|
-
# resp.grantee.grantee_type #=> String, one of "DIRECTORY_USER", "DIRECTORY_GROUP", "IAM"
|
|
685
|
+
# resp.grantee.grantee_type #=> String, one of "DIRECTORY_USER", "DIRECTORY_GROUP", "IAM", "ATTRIBUTE"
|
|
670
686
|
# resp.grantee.grantee_identifier #=> String
|
|
671
687
|
# resp.access_grants_location_id #=> String
|
|
672
688
|
# resp.access_grants_location_configuration.s3_sub_prefix #=> String
|
|
@@ -703,14 +719,17 @@ module Aws::S3Control
|
|
|
703
719
|
# The Amazon Web Services account ID of the S3 Access Grants instance.
|
|
704
720
|
#
|
|
705
721
|
# @option params [String] :identity_center_arn
|
|
706
|
-
#
|
|
707
|
-
#
|
|
708
|
-
#
|
|
709
|
-
#
|
|
710
|
-
#
|
|
711
|
-
#
|
|
712
|
-
#
|
|
713
|
-
# Identity Center
|
|
722
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity
|
|
723
|
+
# Center instance that you are associating with your S3 Access Grants
|
|
724
|
+
# instance. Pass this field only if your IAM Identity Center instance
|
|
725
|
+
# uses the legacy experience. IAM Identity Center instances, including
|
|
726
|
+
# new ones, use the legacy experience until you turn on the simplified
|
|
727
|
+
# experience for trusted identity propagation. Instances that use the
|
|
728
|
+
# simplified experience don't need an association. Neither do users who
|
|
729
|
+
# sign in through IAM federation. An IAM Identity Center instance is
|
|
730
|
+
# your corporate identity directory that you added to the IAM Identity
|
|
731
|
+
# Center. You can use the [ListInstances][1] API operation to retrieve a
|
|
732
|
+
# list of your Identity Center instances and their ARNs.
|
|
714
733
|
#
|
|
715
734
|
#
|
|
716
735
|
#
|
|
@@ -3190,6 +3209,13 @@ module Aws::S3Control
|
|
|
3190
3209
|
# Dissociates the Amazon Web Services IAM Identity Center instance from
|
|
3191
3210
|
# the S3 Access Grants instance.
|
|
3192
3211
|
#
|
|
3212
|
+
# If your IAM Identity Center instance uses the simplified experience
|
|
3213
|
+
# for trusted identity propagation, you can dissociate it. Your grants
|
|
3214
|
+
# that use IAM Identity Center user and group IDs keep working. Grants
|
|
3215
|
+
# with an application ARN stop giving access. To keep access for those
|
|
3216
|
+
# users, create grants without an application ARN. Before you
|
|
3217
|
+
# dissociate, confirm that your users can still access their data.
|
|
3218
|
+
#
|
|
3193
3219
|
# Permissions
|
|
3194
3220
|
#
|
|
3195
3221
|
# : You must have the `s3:DissociateAccessGrantsIdentityCenter`
|
|
@@ -3259,7 +3285,7 @@ module Aws::S3Control
|
|
|
3259
3285
|
# resp.created_at #=> Time
|
|
3260
3286
|
# resp.access_grant_id #=> String
|
|
3261
3287
|
# resp.access_grant_arn #=> String
|
|
3262
|
-
# resp.grantee.grantee_type #=> String, one of "DIRECTORY_USER", "DIRECTORY_GROUP", "IAM"
|
|
3288
|
+
# resp.grantee.grantee_type #=> String, one of "DIRECTORY_USER", "DIRECTORY_GROUP", "IAM", "ATTRIBUTE"
|
|
3263
3289
|
# resp.grantee.grantee_identifier #=> String
|
|
3264
3290
|
# resp.permission #=> String, one of "READ", "WRITE", "READWRITE"
|
|
3265
3291
|
# resp.access_grants_location_id #=> String
|
|
@@ -4518,6 +4544,31 @@ module Aws::S3Control
|
|
|
4518
4544
|
# Resource Access Manager (RAM), set the `InstanceScope` parameter to
|
|
4519
4545
|
# `ALL`.
|
|
4520
4546
|
#
|
|
4547
|
+
# S3 Access Grants considers every identity in a request when it matches
|
|
4548
|
+
# grants. It matches grants for the IAM role used for the session, the
|
|
4549
|
+
# directory user, and the user's groups. For users who sign in through
|
|
4550
|
+
# IAM federation, it also matches grants for the user's attributes. A
|
|
4551
|
+
# user's grants can use the user's name or IAM Identity Center ID, and
|
|
4552
|
+
# S3 Access Grants matches both. A group's grants can use the group's
|
|
4553
|
+
# display name or ID, and S3 Access Grants matches both. Group grants
|
|
4554
|
+
# and grants that use an IAM Identity Center ID match federated users
|
|
4555
|
+
# only when your IAM identity provider is configured for [group-based
|
|
4556
|
+
# access][2].
|
|
4557
|
+
#
|
|
4558
|
+
# If more than one grant matches, S3 Access Grants returns credentials
|
|
4559
|
+
# for the grant whose location most closely matches the requested
|
|
4560
|
+
# target. If two grants match the target equally closely, a user grant
|
|
4561
|
+
# takes priority over a group grant. A group grant takes priority over
|
|
4562
|
+
# an attribute grant, and an attribute grant over an IAM grant.
|
|
4563
|
+
#
|
|
4564
|
+
# In some cases, S3 Access Grants looks up the user in IAM Identity
|
|
4565
|
+
# Center. This happens when your IAM identity provider is configured for
|
|
4566
|
+
# group-based access, or when your IAM Identity Center instance uses the
|
|
4567
|
+
# simplified experience. If S3 Access Grants can't find the user, it
|
|
4568
|
+
# denies the request. No grant applies, including grants for the IAM
|
|
4569
|
+
# role. Each user needs an IAM Identity Center username that matches
|
|
4570
|
+
# their subject.
|
|
4571
|
+
#
|
|
4521
4572
|
# Permissions
|
|
4522
4573
|
#
|
|
4523
4574
|
# : You must have the `s3:GetDataAccess` permission to use this
|
|
@@ -4534,6 +4585,7 @@ module Aws::S3Control
|
|
|
4534
4585
|
#
|
|
4535
4586
|
#
|
|
4536
4587
|
# [1]: https://docs.aws.amazon.com/STS/latest/APIReference/API_Credentials.html
|
|
4588
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation_configure_group_access.html
|
|
4537
4589
|
#
|
|
4538
4590
|
# @option params [String] :account_id
|
|
4539
4591
|
# The Amazon Web Services account ID of the S3 Access Grants instance.
|
|
@@ -4621,7 +4673,7 @@ module Aws::S3Control
|
|
|
4621
4673
|
# resp.credentials.session_token #=> String
|
|
4622
4674
|
# resp.credentials.expiration #=> Time
|
|
4623
4675
|
# resp.matched_grant_target #=> String
|
|
4624
|
-
# resp.grantee.grantee_type #=> String, one of "DIRECTORY_USER", "DIRECTORY_GROUP", "IAM"
|
|
4676
|
+
# resp.grantee.grantee_type #=> String, one of "DIRECTORY_USER", "DIRECTORY_GROUP", "IAM", "ATTRIBUTE"
|
|
4625
4677
|
# resp.grantee.grantee_identifier #=> String
|
|
4626
4678
|
# resp.matched_instance_arn #=> String
|
|
4627
4679
|
#
|
|
@@ -5275,23 +5327,63 @@ module Aws::S3Control
|
|
|
5275
5327
|
#
|
|
5276
5328
|
# * `IAM` - An IAM user or role.
|
|
5277
5329
|
#
|
|
5278
|
-
# * `DIRECTORY_USER` -
|
|
5279
|
-
#
|
|
5280
|
-
#
|
|
5281
|
-
#
|
|
5330
|
+
# * `DIRECTORY_USER` - A user from your corporate directory. The user
|
|
5331
|
+
# can sign in through IAM Identity Center or through IAM federation
|
|
5332
|
+
# with your external identity provider.
|
|
5333
|
+
#
|
|
5334
|
+
# * `DIRECTORY_GROUP` - A group from your corporate directory. Group
|
|
5335
|
+
# grants match users who sign in through IAM Identity Center. They
|
|
5336
|
+
# also match users who sign in through IAM federation when the IAM
|
|
5337
|
+
# identity provider is configured for [group-based access][1].
|
|
5338
|
+
#
|
|
5339
|
+
# * `ATTRIBUTE` - A runtime claim that you map on your IAM identity
|
|
5340
|
+
# provider, such as a department. The grant matches every user who
|
|
5341
|
+
# signs in through IAM federation with this runtime claim and value.
|
|
5342
|
+
#
|
|
5282
5343
|
#
|
|
5283
|
-
#
|
|
5284
|
-
#
|
|
5285
|
-
# Identity Center and associated the IAM Identity Center instance with
|
|
5286
|
-
# your S3 Access Grants instance.
|
|
5344
|
+
#
|
|
5345
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation_configure_group_access.html
|
|
5287
5346
|
#
|
|
5288
5347
|
# @option params [String] :grantee_identifier
|
|
5289
|
-
# The unique
|
|
5290
|
-
#
|
|
5291
|
-
#
|
|
5292
|
-
#
|
|
5293
|
-
#
|
|
5294
|
-
#
|
|
5348
|
+
# The unique identifier of the `Grantee`. The format depends on the
|
|
5349
|
+
# grantee type:
|
|
5350
|
+
#
|
|
5351
|
+
# * `IAM` - The IAM Amazon Resource Name (ARN) of the user or role.
|
|
5352
|
+
#
|
|
5353
|
+
# * `DIRECTORY_USER` - The user's name, or the ID that IAM Identity
|
|
5354
|
+
# Center uses for the user, for example,
|
|
5355
|
+
# `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. For IAM federation, the name
|
|
5356
|
+
# is the subject that IAM sets from your identity provider token, for
|
|
5357
|
+
# example, the user ID `00u1a2b3c4EXAMPLE`. For IAM Identity Center,
|
|
5358
|
+
# the name is the user's username.
|
|
5359
|
+
#
|
|
5360
|
+
# * `DIRECTORY_GROUP` - The group's display name in IAM Identity
|
|
5361
|
+
# Center, for example, `finance-analysts`, or the group's IAM
|
|
5362
|
+
# Identity Center ID.
|
|
5363
|
+
#
|
|
5364
|
+
# * `ATTRIBUTE` - One runtime claim and its value, in the form
|
|
5365
|
+
# `aws:TransactionContext/IdentityProvider/key=value `, for example,
|
|
5366
|
+
# `aws:TransactionContext/IdentityProvider/department=Finance`. Each
|
|
5367
|
+
# attribute grant contains one key and one value.
|
|
5368
|
+
#
|
|
5369
|
+
# S3 Access Grants stores the identifier exactly as you enter it. It
|
|
5370
|
+
# compares identifiers exactly, and the comparison is case sensitive. S3
|
|
5371
|
+
# Access Grants doesn't check that the user, group, or attribute exists
|
|
5372
|
+
# when you create the grant.
|
|
5373
|
+
#
|
|
5374
|
+
# User names can be up to 128 characters long. They can contain letters,
|
|
5375
|
+
# numbers, spaces, and the characters `_ . : / = + - @`. Group names can
|
|
5376
|
+
# be up to 128 characters long. They can contain any character that IAM
|
|
5377
|
+
# Identity Center allows in a group display name, such as `R&D` or
|
|
5378
|
+
# `Finance (EU)`. Attribute keys and values can each be up to 128
|
|
5379
|
+
# characters long. Both can contain letters, numbers, and the characters
|
|
5380
|
+
# `_ . : / + - @`. Values can also contain spaces and `=`. As a best
|
|
5381
|
+
# practice, use an immutable user ID from your identity provider instead
|
|
5382
|
+
# of an email address.
|
|
5383
|
+
#
|
|
5384
|
+
# The filter matches the identifier stored in the grant. A grant for a
|
|
5385
|
+
# user's name and a grant for the same user's IAM Identity Center user
|
|
5386
|
+
# ID are separate grants.
|
|
5295
5387
|
#
|
|
5296
5388
|
# @option params [String] :permission
|
|
5297
5389
|
# The type of permission granted to your S3 data, which can be set to
|
|
@@ -5313,6 +5405,10 @@ module Aws::S3Control
|
|
|
5313
5405
|
# the grant includes an application ARN, the grantee can only access the
|
|
5314
5406
|
# S3 data through this application.
|
|
5315
5407
|
#
|
|
5408
|
+
# Grants with an application ARN match only users who sign in through an
|
|
5409
|
+
# IAM Identity Center instance that uses the legacy experience, not the
|
|
5410
|
+
# simplified experience for trusted identity propagation.
|
|
5411
|
+
#
|
|
5316
5412
|
# @return [Types::ListAccessGrantsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5317
5413
|
#
|
|
5318
5414
|
# * {Types::ListAccessGrantsResult#next_token #next_token} => String
|
|
@@ -5326,7 +5422,7 @@ module Aws::S3Control
|
|
|
5326
5422
|
# account_id: "AccountId",
|
|
5327
5423
|
# next_token: "ContinuationToken",
|
|
5328
5424
|
# max_results: 1,
|
|
5329
|
-
# grantee_type: "DIRECTORY_USER", # accepts DIRECTORY_USER, DIRECTORY_GROUP, IAM
|
|
5425
|
+
# grantee_type: "DIRECTORY_USER", # accepts DIRECTORY_USER, DIRECTORY_GROUP, IAM, ATTRIBUTE
|
|
5330
5426
|
# grantee_identifier: "GranteeIdentifier",
|
|
5331
5427
|
# permission: "READ", # accepts READ, WRITE, READWRITE
|
|
5332
5428
|
# grant_scope: "S3Prefix",
|
|
@@ -5340,7 +5436,7 @@ module Aws::S3Control
|
|
|
5340
5436
|
# resp.access_grants_list[0].created_at #=> Time
|
|
5341
5437
|
# resp.access_grants_list[0].access_grant_id #=> String
|
|
5342
5438
|
# resp.access_grants_list[0].access_grant_arn #=> String
|
|
5343
|
-
# resp.access_grants_list[0].grantee.grantee_type #=> String, one of "DIRECTORY_USER", "DIRECTORY_GROUP", "IAM"
|
|
5439
|
+
# resp.access_grants_list[0].grantee.grantee_type #=> String, one of "DIRECTORY_USER", "DIRECTORY_GROUP", "IAM", "ATTRIBUTE"
|
|
5344
5440
|
# resp.access_grants_list[0].grantee.grantee_identifier #=> String
|
|
5345
5441
|
# resp.access_grants_list[0].permission #=> String, one of "READ", "WRITE", "READWRITE"
|
|
5346
5442
|
# resp.access_grants_list[0].access_grants_location_id #=> String
|
|
@@ -5757,21 +5853,37 @@ module Aws::S3Control
|
|
|
5757
5853
|
|
|
5758
5854
|
# Use this API to list the access grants that grant the caller access to
|
|
5759
5855
|
# Amazon S3 data through S3 Access Grants. The caller (grantee) can be
|
|
5760
|
-
# an Identity and Access Management (IAM) identity or
|
|
5761
|
-
#
|
|
5762
|
-
# the Amazon Web Services account of the S3 data owner
|
|
5763
|
-
# request. By default, S3 Access Grants returns grants
|
|
5764
|
-
# of the Amazon Web Services account ID in the
|
|
5765
|
-
# from all instances shared with the caller's
|
|
5766
|
-
# Web Services Resource Access Manager (RAM), set
|
|
5767
|
-
# parameter to `ALL`. You can, optionally, narrow
|
|
5768
|
-
# `GrantScope`, using a fragment of the data's S3 path,
|
|
5769
|
-
# Grants will return only the grants with a path that
|
|
5770
|
-
# fragment. You can also pass the
|
|
5771
|
-
# request, which returns only the
|
|
5772
|
-
# whether the application is the
|
|
5773
|
-
#
|
|
5774
|
-
#
|
|
5856
|
+
# an Identity and Access Management (IAM) identity or a corporate
|
|
5857
|
+
# directory identity from IAM Identity Center or IAM federation. You
|
|
5858
|
+
# must pass the Amazon Web Services account of the S3 data owner
|
|
5859
|
+
# (grantor) in the request. By default, S3 Access Grants returns grants
|
|
5860
|
+
# from the instance of the Amazon Web Services account ID in the
|
|
5861
|
+
# request. To return grants from all instances shared with the caller's
|
|
5862
|
+
# account through Amazon Web Services Resource Access Manager (RAM), set
|
|
5863
|
+
# the `InstanceScope` parameter to `ALL`. You can, optionally, narrow
|
|
5864
|
+
# the results by `GrantScope`, using a fragment of the data's S3 path,
|
|
5865
|
+
# and S3 Access Grants will return only the grants with a path that
|
|
5866
|
+
# contains the path fragment. You can also pass the
|
|
5867
|
+
# `AllowedByApplication` filter in the request, which returns only the
|
|
5868
|
+
# grants authorized for applications, whether the application is the
|
|
5869
|
+
# caller's Identity Center application or any other application
|
|
5870
|
+
# (`ALL`). For more information, see [List the caller's access
|
|
5871
|
+
# grants][1] in the *Amazon S3 User Guide*.
|
|
5872
|
+
#
|
|
5873
|
+
# For a corporate user, the results include grants for the IAM role, the
|
|
5874
|
+
# user, and the user's groups. For users who sign in through IAM
|
|
5875
|
+
# federation, they also include grants for the user's attributes. S3
|
|
5876
|
+
# Access Grants denies the request if it can't find the user in IAM
|
|
5877
|
+
# Identity Center. This applies when your IAM identity provider is
|
|
5878
|
+
# configured for [group-based access][2], or when your IAM Identity
|
|
5879
|
+
# Center instance uses the simplified experience.
|
|
5880
|
+
#
|
|
5881
|
+
# Some sessions come from IAM federation or from an IAM Identity Center
|
|
5882
|
+
# instance that uses the simplified experience for trusted identity
|
|
5883
|
+
# propagation. The results for these sessions don't include grants with
|
|
5884
|
+
# an application ARN, because those grants don't match them. For these
|
|
5885
|
+
# sessions, the `AllowedByApplication` filter doesn't change the
|
|
5886
|
+
# results.
|
|
5775
5887
|
#
|
|
5776
5888
|
# Permissions
|
|
5777
5889
|
#
|
|
@@ -5781,6 +5893,7 @@ module Aws::S3Control
|
|
|
5781
5893
|
#
|
|
5782
5894
|
#
|
|
5783
5895
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-list-grants.html
|
|
5896
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation_configure_group_access.html
|
|
5784
5897
|
#
|
|
5785
5898
|
# @option params [String] :account_id
|
|
5786
5899
|
# The Amazon Web Services account ID of the S3 Access Grants instance.
|
|
@@ -5796,6 +5909,10 @@ module Aws::S3Control
|
|
|
5796
5909
|
# value into a subsequent `List Caller Access Grants` request in order
|
|
5797
5910
|
# to retrieve the next page of results.
|
|
5798
5911
|
#
|
|
5912
|
+
# If the caller's identity changes between requests, the request fails
|
|
5913
|
+
# with an `InvalidNextToken` error. For example, this happens when the
|
|
5914
|
+
# user is renamed. Start a new request without `NextToken`.
|
|
5915
|
+
#
|
|
5799
5916
|
# @option params [Integer] :max_results
|
|
5800
5917
|
# The maximum number of access grants that you would like returned in
|
|
5801
5918
|
# the `List Caller Access Grants` response. If the results include the
|
|
@@ -5808,6 +5925,11 @@ module Aws::S3Control
|
|
|
5808
5925
|
# grants for the caller's Identity Center application or for any other
|
|
5809
5926
|
# applications (`ALL`).
|
|
5810
5927
|
#
|
|
5928
|
+
# Some sessions come from IAM federation or from an IAM Identity Center
|
|
5929
|
+
# instance that uses the simplified experience for trusted identity
|
|
5930
|
+
# propagation. The results for these sessions never include grants with
|
|
5931
|
+
# an application ARN, so this filter doesn't change them.
|
|
5932
|
+
#
|
|
5811
5933
|
# @option params [String] :instance_scope
|
|
5812
5934
|
# The scope of S3 Access Grants instances to list grants from.
|
|
5813
5935
|
#
|
|
@@ -8296,7 +8418,7 @@ module Aws::S3Control
|
|
|
8296
8418
|
tracer: tracer
|
|
8297
8419
|
)
|
|
8298
8420
|
context[:gem_name] = 'aws-sdk-s3control'
|
|
8299
|
-
context[:gem_version] = '1.
|
|
8421
|
+
context[:gem_version] = '1.151.0'
|
|
8300
8422
|
Seahorse::Client::Request.new(handlers, context)
|
|
8301
8423
|
end
|
|
8302
8424
|
|
|
@@ -622,12 +622,20 @@ module Aws::S3Control
|
|
|
622
622
|
# @return [Types::AccessGrantsLocationConfiguration]
|
|
623
623
|
#
|
|
624
624
|
# @!attribute [rw] grantee
|
|
625
|
-
# The user, group, or
|
|
626
|
-
#
|
|
627
|
-
#
|
|
628
|
-
#
|
|
629
|
-
#
|
|
630
|
-
#
|
|
625
|
+
# The user, group, role, or attribute to which you are granting
|
|
626
|
+
# access. The grantee can be an IAM user or role, a directory user or
|
|
627
|
+
# group, or an attribute. A directory user or group comes from your
|
|
628
|
+
# corporate directory. Your users can sign in through IAM Identity
|
|
629
|
+
# Center or through [IAM federation with trusted identity propagation
|
|
630
|
+
# (TIP)][1]. IAM Identity Center instances use the legacy experience
|
|
631
|
+
# until you turn on the [simplified experience for trusted identity
|
|
632
|
+
# propagation][2]. If your instance uses the legacy experience,
|
|
633
|
+
# associate it with your S3 Access Grants instance.
|
|
634
|
+
#
|
|
635
|
+
#
|
|
636
|
+
#
|
|
637
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation.html
|
|
638
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/userguide/simplified-tip-overview.html
|
|
631
639
|
# @return [Types::Grantee]
|
|
632
640
|
#
|
|
633
641
|
# @!attribute [rw] permission
|
|
@@ -644,9 +652,14 @@ module Aws::S3Control
|
|
|
644
652
|
# @!attribute [rw] application_arn
|
|
645
653
|
# The Amazon Resource Name (ARN) of an Amazon Web Services IAM
|
|
646
654
|
# Identity Center application associated with your Identity Center
|
|
647
|
-
# instance. If an application ARN
|
|
648
|
-
#
|
|
649
|
-
#
|
|
655
|
+
# instance. If you include an application ARN in the request, the
|
|
656
|
+
# grantee can access the S3 data only through this application. This
|
|
657
|
+
# is an application-scoped grant. You can create one only for a
|
|
658
|
+
# directory user or group. Your S3 Access Grants instance must also be
|
|
659
|
+
# associated with an IAM Identity Center instance that uses the legacy
|
|
660
|
+
# experience, not the simplified experience for trusted identity
|
|
661
|
+
# propagation. Otherwise, the request fails with an `InvalidRequest`
|
|
662
|
+
# error.
|
|
650
663
|
# @return [String]
|
|
651
664
|
#
|
|
652
665
|
# @!attribute [rw] s3_prefix_type
|
|
@@ -692,12 +705,20 @@ module Aws::S3Control
|
|
|
692
705
|
# @return [String]
|
|
693
706
|
#
|
|
694
707
|
# @!attribute [rw] grantee
|
|
695
|
-
# The user, group, or
|
|
696
|
-
#
|
|
697
|
-
#
|
|
698
|
-
#
|
|
699
|
-
#
|
|
700
|
-
#
|
|
708
|
+
# The user, group, role, or attribute to which you are granting
|
|
709
|
+
# access. The grantee can be an IAM user or role, a directory user or
|
|
710
|
+
# group, or an attribute. A directory user or group comes from your
|
|
711
|
+
# corporate directory. Your users can sign in through IAM Identity
|
|
712
|
+
# Center or through [IAM federation with trusted identity propagation
|
|
713
|
+
# (TIP)][1]. IAM Identity Center instances use the legacy experience
|
|
714
|
+
# until you turn on the [simplified experience for trusted identity
|
|
715
|
+
# propagation][2]. If your instance uses the legacy experience,
|
|
716
|
+
# associate it with your S3 Access Grants instance.
|
|
717
|
+
#
|
|
718
|
+
#
|
|
719
|
+
#
|
|
720
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation.html
|
|
721
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/userguide/simplified-tip-overview.html
|
|
701
722
|
# @return [Types::Grantee]
|
|
702
723
|
#
|
|
703
724
|
# @!attribute [rw] access_grants_location_id
|
|
@@ -729,6 +750,10 @@ module Aws::S3Control
|
|
|
729
750
|
# Identity Center application associated with your Identity Center
|
|
730
751
|
# instance. If the grant includes an application ARN, the grantee can
|
|
731
752
|
# only access the S3 data through this application.
|
|
753
|
+
#
|
|
754
|
+
# Grants with an application ARN match only users who sign in through
|
|
755
|
+
# an IAM Identity Center instance that uses the legacy experience, not
|
|
756
|
+
# the simplified experience for trusted identity propagation.
|
|
732
757
|
# @return [String]
|
|
733
758
|
#
|
|
734
759
|
# @!attribute [rw] grant_scope
|
|
@@ -757,14 +782,18 @@ module Aws::S3Control
|
|
|
757
782
|
# @return [String]
|
|
758
783
|
#
|
|
759
784
|
# @!attribute [rw] identity_center_arn
|
|
760
|
-
#
|
|
761
|
-
#
|
|
762
|
-
#
|
|
763
|
-
#
|
|
764
|
-
#
|
|
765
|
-
#
|
|
766
|
-
#
|
|
767
|
-
#
|
|
785
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services IAM
|
|
786
|
+
# Identity Center instance that you are associating with your S3
|
|
787
|
+
# Access Grants instance. Pass this field only if your IAM Identity
|
|
788
|
+
# Center instance uses the legacy experience. IAM Identity Center
|
|
789
|
+
# instances, including new ones, use the legacy experience until you
|
|
790
|
+
# turn on the simplified experience for trusted identity propagation.
|
|
791
|
+
# Instances that use the simplified experience don't need an
|
|
792
|
+
# association. Neither do users who sign in through IAM federation. An
|
|
793
|
+
# IAM Identity Center instance is your corporate identity directory
|
|
794
|
+
# that you added to the IAM Identity Center. You can use the
|
|
795
|
+
# [ListInstances][1] API operation to retrieve a list of your Identity
|
|
796
|
+
# Center instances and their ARNs.
|
|
768
797
|
#
|
|
769
798
|
#
|
|
770
799
|
#
|
|
@@ -2367,11 +2396,20 @@ module Aws::S3Control
|
|
|
2367
2396
|
# @return [String]
|
|
2368
2397
|
#
|
|
2369
2398
|
# @!attribute [rw] grantee
|
|
2370
|
-
# The user, group, or
|
|
2371
|
-
#
|
|
2372
|
-
#
|
|
2373
|
-
#
|
|
2374
|
-
#
|
|
2399
|
+
# The user, group, role, or attribute to which you are granting
|
|
2400
|
+
# access. The grantee can be an IAM user or role, a directory user or
|
|
2401
|
+
# group, or an attribute. A directory user or group comes from your
|
|
2402
|
+
# corporate directory. Your users can sign in through IAM Identity
|
|
2403
|
+
# Center or through [IAM federation with trusted identity propagation
|
|
2404
|
+
# (TIP)][1]. IAM Identity Center instances use the legacy experience
|
|
2405
|
+
# until you turn on the [simplified experience for trusted identity
|
|
2406
|
+
# propagation][2]. If your instance uses the legacy experience,
|
|
2407
|
+
# associate it with your S3 Access Grants instance.
|
|
2408
|
+
#
|
|
2409
|
+
#
|
|
2410
|
+
#
|
|
2411
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation.html
|
|
2412
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/userguide/simplified-tip-overview.html
|
|
2375
2413
|
# @return [Types::Grantee]
|
|
2376
2414
|
#
|
|
2377
2415
|
# @!attribute [rw] permission
|
|
@@ -2408,6 +2446,10 @@ module Aws::S3Control
|
|
|
2408
2446
|
# Identity Center application associated with your Identity Center
|
|
2409
2447
|
# instance. If the grant includes an application ARN, the grantee can
|
|
2410
2448
|
# only access the S3 data through this application.
|
|
2449
|
+
#
|
|
2450
|
+
# Grants with an application ARN match only users who sign in through
|
|
2451
|
+
# an IAM Identity Center instance that uses the legacy experience, not
|
|
2452
|
+
# the simplified experience for trusted identity propagation.
|
|
2411
2453
|
# @return [String]
|
|
2412
2454
|
#
|
|
2413
2455
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessGrantResult AWS API Documentation
|
|
@@ -3353,11 +3395,11 @@ module Aws::S3Control
|
|
|
3353
3395
|
# @return [String]
|
|
3354
3396
|
#
|
|
3355
3397
|
# @!attribute [rw] grantee
|
|
3356
|
-
# The user, group, or
|
|
3357
|
-
# scope. For directory identities, this API also returns
|
|
3358
|
-
# the IAM role used for the identity-aware request. For
|
|
3359
|
-
# information on identity-aware sessions, see [Granting
|
|
3360
|
-
# use identity-aware console sessions][1].
|
|
3398
|
+
# The user, group, role, or attribute that you granted access to the
|
|
3399
|
+
# S3 location scope. For directory identities, this API also returns
|
|
3400
|
+
# the grants of the IAM role used for the identity-aware request. For
|
|
3401
|
+
# more information on identity-aware sessions, see [Granting
|
|
3402
|
+
# permissions to use identity-aware console sessions][1].
|
|
3361
3403
|
#
|
|
3362
3404
|
#
|
|
3363
3405
|
#
|
|
@@ -3687,11 +3729,20 @@ module Aws::S3Control
|
|
|
3687
3729
|
include Aws::Structure
|
|
3688
3730
|
end
|
|
3689
3731
|
|
|
3690
|
-
# The user, group, or
|
|
3691
|
-
#
|
|
3692
|
-
#
|
|
3693
|
-
#
|
|
3694
|
-
#
|
|
3732
|
+
# The user, group, role, or attribute to which you are granting access.
|
|
3733
|
+
# The grantee can be an IAM user or role, a directory user or group, or
|
|
3734
|
+
# an attribute. A directory user or group comes from your corporate
|
|
3735
|
+
# directory. Your users can sign in through IAM Identity Center or
|
|
3736
|
+
# through [IAM federation with trusted identity propagation (TIP)][1].
|
|
3737
|
+
# IAM Identity Center instances use the legacy experience until you turn
|
|
3738
|
+
# on the [simplified experience for trusted identity propagation][2]. If
|
|
3739
|
+
# your instance uses the legacy experience, associate it with your S3
|
|
3740
|
+
# Access Grants instance.
|
|
3741
|
+
#
|
|
3742
|
+
#
|
|
3743
|
+
#
|
|
3744
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation.html
|
|
3745
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/userguide/simplified-tip-overview.html
|
|
3695
3746
|
#
|
|
3696
3747
|
# @!attribute [rw] grantee_type
|
|
3697
3748
|
# The type of the grantee to which access has been granted. It can be
|
|
@@ -3699,24 +3750,60 @@ module Aws::S3Control
|
|
|
3699
3750
|
#
|
|
3700
3751
|
# * `IAM` - An IAM user or role.
|
|
3701
3752
|
#
|
|
3702
|
-
# * `DIRECTORY_USER` -
|
|
3703
|
-
#
|
|
3704
|
-
#
|
|
3705
|
-
#
|
|
3753
|
+
# * `DIRECTORY_USER` - A user from your corporate directory. The user
|
|
3754
|
+
# can sign in through IAM Identity Center or through IAM federation
|
|
3755
|
+
# with your external identity provider.
|
|
3756
|
+
#
|
|
3757
|
+
# * `DIRECTORY_GROUP` - A group from your corporate directory. Group
|
|
3758
|
+
# grants match users who sign in through IAM Identity Center. They
|
|
3759
|
+
# also match users who sign in through IAM federation when the IAM
|
|
3760
|
+
# identity provider is configured for [group-based access][1].
|
|
3761
|
+
#
|
|
3762
|
+
# * `ATTRIBUTE` - A runtime claim that you map on your IAM identity
|
|
3763
|
+
# provider, such as a department. The grant matches every user who
|
|
3764
|
+
# signs in through IAM federation with this runtime claim and value.
|
|
3765
|
+
#
|
|
3706
3766
|
#
|
|
3707
|
-
#
|
|
3708
|
-
#
|
|
3709
|
-
# IAM Identity Center and associated the IAM Identity Center
|
|
3710
|
-
# instance with your S3 Access Grants instance.
|
|
3767
|
+
#
|
|
3768
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation_configure_group_access.html
|
|
3711
3769
|
# @return [String]
|
|
3712
3770
|
#
|
|
3713
3771
|
# @!attribute [rw] grantee_identifier
|
|
3714
|
-
# The unique identifier of the `Grantee`.
|
|
3715
|
-
#
|
|
3716
|
-
#
|
|
3717
|
-
#
|
|
3718
|
-
#
|
|
3719
|
-
#
|
|
3772
|
+
# The unique identifier of the `Grantee`. The format depends on the
|
|
3773
|
+
# grantee type:
|
|
3774
|
+
#
|
|
3775
|
+
# * `IAM` - The IAM Amazon Resource Name (ARN) of the user or role.
|
|
3776
|
+
#
|
|
3777
|
+
# * `DIRECTORY_USER` - The user's name, or the ID that IAM Identity
|
|
3778
|
+
# Center uses for the user, for example,
|
|
3779
|
+
# `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. For IAM federation, the
|
|
3780
|
+
# name is the subject that IAM sets from your identity provider
|
|
3781
|
+
# token, for example, the user ID `00u1a2b3c4EXAMPLE`. For IAM
|
|
3782
|
+
# Identity Center, the name is the user's username.
|
|
3783
|
+
#
|
|
3784
|
+
# * `DIRECTORY_GROUP` - The group's display name in IAM Identity
|
|
3785
|
+
# Center, for example, `finance-analysts`, or the group's IAM
|
|
3786
|
+
# Identity Center ID.
|
|
3787
|
+
#
|
|
3788
|
+
# * `ATTRIBUTE` - One runtime claim and its value, in the form
|
|
3789
|
+
# `aws:TransactionContext/IdentityProvider/key=value `, for example,
|
|
3790
|
+
# `aws:TransactionContext/IdentityProvider/department=Finance`. Each
|
|
3791
|
+
# attribute grant contains one key and one value.
|
|
3792
|
+
#
|
|
3793
|
+
# S3 Access Grants stores the identifier exactly as you enter it. It
|
|
3794
|
+
# compares identifiers exactly, and the comparison is case sensitive.
|
|
3795
|
+
# S3 Access Grants doesn't check that the user, group, or attribute
|
|
3796
|
+
# exists when you create the grant.
|
|
3797
|
+
#
|
|
3798
|
+
# User names can be up to 128 characters long. They can contain
|
|
3799
|
+
# letters, numbers, spaces, and the characters `_ . : / = + - @`.
|
|
3800
|
+
# Group names can be up to 128 characters long. They can contain any
|
|
3801
|
+
# character that IAM Identity Center allows in a group display name,
|
|
3802
|
+
# such as `R&D` or `Finance (EU)`. Attribute keys and values can each
|
|
3803
|
+
# be up to 128 characters long. Both can contain letters, numbers, and
|
|
3804
|
+
# the characters `_ . : / + - @`. Values can also contain spaces and
|
|
3805
|
+
# `=`. As a best practice, use an immutable user ID from your identity
|
|
3806
|
+
# provider instead of an email address.
|
|
3720
3807
|
# @return [String]
|
|
3721
3808
|
#
|
|
3722
3809
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/Grantee AWS API Documentation
|
|
@@ -4738,12 +4825,20 @@ module Aws::S3Control
|
|
|
4738
4825
|
# @return [String]
|
|
4739
4826
|
#
|
|
4740
4827
|
# @!attribute [rw] grantee
|
|
4741
|
-
# The user, group, or
|
|
4742
|
-
#
|
|
4743
|
-
#
|
|
4744
|
-
#
|
|
4745
|
-
#
|
|
4746
|
-
#
|
|
4828
|
+
# The user, group, role, or attribute to which you are granting
|
|
4829
|
+
# access. The grantee can be an IAM user or role, a directory user or
|
|
4830
|
+
# group, or an attribute. A directory user or group comes from your
|
|
4831
|
+
# corporate directory. Your users can sign in through IAM Identity
|
|
4832
|
+
# Center or through [IAM federation with trusted identity propagation
|
|
4833
|
+
# (TIP)][1]. IAM Identity Center instances use the legacy experience
|
|
4834
|
+
# until you turn on the [simplified experience for trusted identity
|
|
4835
|
+
# propagation][2]. If your instance uses the legacy experience,
|
|
4836
|
+
# associate it with your S3 Access Grants instance.
|
|
4837
|
+
#
|
|
4838
|
+
#
|
|
4839
|
+
#
|
|
4840
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation.html
|
|
4841
|
+
# [2]: https://docs.aws.amazon.com/singlesignon/latest/userguide/simplified-tip-overview.html
|
|
4747
4842
|
# @return [Types::Grantee]
|
|
4748
4843
|
#
|
|
4749
4844
|
# @!attribute [rw] permission
|
|
@@ -4780,6 +4875,10 @@ module Aws::S3Control
|
|
|
4780
4875
|
# Identity Center application associated with your Identity Center
|
|
4781
4876
|
# instance. If the grant includes an application ARN, the grantee can
|
|
4782
4877
|
# only access the S3 data through this application.
|
|
4878
|
+
#
|
|
4879
|
+
# Grants with an application ARN match only users who sign in through
|
|
4880
|
+
# an IAM Identity Center instance that uses the legacy experience, not
|
|
4881
|
+
# the simplified experience for trusted identity propagation.
|
|
4783
4882
|
# @return [String]
|
|
4784
4883
|
#
|
|
4785
4884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessGrantEntry AWS API Documentation
|
|
@@ -5032,24 +5131,64 @@ module Aws::S3Control
|
|
|
5032
5131
|
#
|
|
5033
5132
|
# * `IAM` - An IAM user or role.
|
|
5034
5133
|
#
|
|
5035
|
-
# * `DIRECTORY_USER` -
|
|
5036
|
-
#
|
|
5037
|
-
#
|
|
5038
|
-
#
|
|
5134
|
+
# * `DIRECTORY_USER` - A user from your corporate directory. The user
|
|
5135
|
+
# can sign in through IAM Identity Center or through IAM federation
|
|
5136
|
+
# with your external identity provider.
|
|
5137
|
+
#
|
|
5138
|
+
# * `DIRECTORY_GROUP` - A group from your corporate directory. Group
|
|
5139
|
+
# grants match users who sign in through IAM Identity Center. They
|
|
5140
|
+
# also match users who sign in through IAM federation when the IAM
|
|
5141
|
+
# identity provider is configured for [group-based access][1].
|
|
5142
|
+
#
|
|
5143
|
+
# * `ATTRIBUTE` - A runtime claim that you map on your IAM identity
|
|
5144
|
+
# provider, such as a department. The grant matches every user who
|
|
5145
|
+
# signs in through IAM federation with this runtime claim and value.
|
|
5146
|
+
#
|
|
5147
|
+
#
|
|
5039
5148
|
#
|
|
5040
|
-
#
|
|
5041
|
-
# this option if you have added your corporate identity directory to
|
|
5042
|
-
# IAM Identity Center and associated the IAM Identity Center
|
|
5043
|
-
# instance with your S3 Access Grants instance.
|
|
5149
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_tip_federation_configure_group_access.html
|
|
5044
5150
|
# @return [String]
|
|
5045
5151
|
#
|
|
5046
5152
|
# @!attribute [rw] grantee_identifier
|
|
5047
|
-
# The unique
|
|
5048
|
-
#
|
|
5049
|
-
#
|
|
5050
|
-
#
|
|
5051
|
-
#
|
|
5052
|
-
#
|
|
5153
|
+
# The unique identifier of the `Grantee`. The format depends on the
|
|
5154
|
+
# grantee type:
|
|
5155
|
+
#
|
|
5156
|
+
# * `IAM` - The IAM Amazon Resource Name (ARN) of the user or role.
|
|
5157
|
+
#
|
|
5158
|
+
# * `DIRECTORY_USER` - The user's name, or the ID that IAM Identity
|
|
5159
|
+
# Center uses for the user, for example,
|
|
5160
|
+
# `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. For IAM federation, the
|
|
5161
|
+
# name is the subject that IAM sets from your identity provider
|
|
5162
|
+
# token, for example, the user ID `00u1a2b3c4EXAMPLE`. For IAM
|
|
5163
|
+
# Identity Center, the name is the user's username.
|
|
5164
|
+
#
|
|
5165
|
+
# * `DIRECTORY_GROUP` - The group's display name in IAM Identity
|
|
5166
|
+
# Center, for example, `finance-analysts`, or the group's IAM
|
|
5167
|
+
# Identity Center ID.
|
|
5168
|
+
#
|
|
5169
|
+
# * `ATTRIBUTE` - One runtime claim and its value, in the form
|
|
5170
|
+
# `aws:TransactionContext/IdentityProvider/key=value `, for example,
|
|
5171
|
+
# `aws:TransactionContext/IdentityProvider/department=Finance`. Each
|
|
5172
|
+
# attribute grant contains one key and one value.
|
|
5173
|
+
#
|
|
5174
|
+
# S3 Access Grants stores the identifier exactly as you enter it. It
|
|
5175
|
+
# compares identifiers exactly, and the comparison is case sensitive.
|
|
5176
|
+
# S3 Access Grants doesn't check that the user, group, or attribute
|
|
5177
|
+
# exists when you create the grant.
|
|
5178
|
+
#
|
|
5179
|
+
# User names can be up to 128 characters long. They can contain
|
|
5180
|
+
# letters, numbers, spaces, and the characters `_ . : / = + - @`.
|
|
5181
|
+
# Group names can be up to 128 characters long. They can contain any
|
|
5182
|
+
# character that IAM Identity Center allows in a group display name,
|
|
5183
|
+
# such as `R&D` or `Finance (EU)`. Attribute keys and values can each
|
|
5184
|
+
# be up to 128 characters long. Both can contain letters, numbers, and
|
|
5185
|
+
# the characters `_ . : / + - @`. Values can also contain spaces and
|
|
5186
|
+
# `=`. As a best practice, use an immutable user ID from your identity
|
|
5187
|
+
# provider instead of an email address.
|
|
5188
|
+
#
|
|
5189
|
+
# The filter matches the identifier stored in the grant. A grant for a
|
|
5190
|
+
# user's name and a grant for the same user's IAM Identity Center
|
|
5191
|
+
# user ID are separate grants.
|
|
5053
5192
|
# @return [String]
|
|
5054
5193
|
#
|
|
5055
5194
|
# @!attribute [rw] permission
|
|
@@ -5073,6 +5212,10 @@ module Aws::S3Control
|
|
|
5073
5212
|
# Identity Center application associated with your Identity Center
|
|
5074
5213
|
# instance. If the grant includes an application ARN, the grantee can
|
|
5075
5214
|
# only access the S3 data through this application.
|
|
5215
|
+
#
|
|
5216
|
+
# Grants with an application ARN match only users who sign in through
|
|
5217
|
+
# an IAM Identity Center instance that uses the legacy experience, not
|
|
5218
|
+
# the simplified experience for trusted identity propagation.
|
|
5076
5219
|
# @return [String]
|
|
5077
5220
|
#
|
|
5078
5221
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessGrantsRequest AWS API Documentation
|
|
@@ -5327,6 +5470,10 @@ module Aws::S3Control
|
|
|
5327
5470
|
# Identity Center application associated with your Identity Center
|
|
5328
5471
|
# instance. If the grant includes an application ARN, the grantee can
|
|
5329
5472
|
# only access the S3 data through this application.
|
|
5473
|
+
#
|
|
5474
|
+
# Grants with an application ARN match only users who sign in through
|
|
5475
|
+
# an IAM Identity Center instance that uses the legacy experience, not
|
|
5476
|
+
# the simplified experience for trusted identity propagation.
|
|
5330
5477
|
# @return [String]
|
|
5331
5478
|
#
|
|
5332
5479
|
# @!attribute [rw] access_grants_instance_arn
|
|
@@ -5360,6 +5507,10 @@ module Aws::S3Control
|
|
|
5360
5507
|
# A pagination token to request the next page of results. Pass this
|
|
5361
5508
|
# value into a subsequent `List Caller Access Grants` request in order
|
|
5362
5509
|
# to retrieve the next page of results.
|
|
5510
|
+
#
|
|
5511
|
+
# If the caller's identity changes between requests, the request
|
|
5512
|
+
# fails with an `InvalidNextToken` error. For example, this happens
|
|
5513
|
+
# when the user is renamed. Start a new request without `NextToken`.
|
|
5363
5514
|
# @return [String]
|
|
5364
5515
|
#
|
|
5365
5516
|
# @!attribute [rw] max_results
|
|
@@ -5374,6 +5525,11 @@ module Aws::S3Control
|
|
|
5374
5525
|
# applied to the results. The results will include only the access
|
|
5375
5526
|
# grants for the caller's Identity Center application or for any
|
|
5376
5527
|
# other applications (`ALL`).
|
|
5528
|
+
#
|
|
5529
|
+
# Some sessions come from IAM federation or from an IAM Identity
|
|
5530
|
+
# Center instance that uses the simplified experience for trusted
|
|
5531
|
+
# identity propagation. The results for these sessions never include
|
|
5532
|
+
# grants with an application ARN, so this filter doesn't change them.
|
|
5377
5533
|
# @return [Boolean]
|
|
5378
5534
|
#
|
|
5379
5535
|
# @!attribute [rw] instance_scope
|
data/lib/aws-sdk-s3control.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -107,7 +107,7 @@ module Aws
|
|
|
107
107
|
s3_sub_prefix: ::String?
|
|
108
108
|
},
|
|
109
109
|
grantee: {
|
|
110
|
-
grantee_type: ("DIRECTORY_USER" | "DIRECTORY_GROUP" | "IAM")?,
|
|
110
|
+
grantee_type: ("DIRECTORY_USER" | "DIRECTORY_GROUP" | "IAM" | "ATTRIBUTE")?,
|
|
111
111
|
grantee_identifier: ::String?
|
|
112
112
|
},
|
|
113
113
|
permission: ("READ" | "WRITE" | "READWRITE"),
|
|
@@ -1026,7 +1026,7 @@ module Aws
|
|
|
1026
1026
|
?account_id: ::String,
|
|
1027
1027
|
?next_token: ::String,
|
|
1028
1028
|
?max_results: ::Integer,
|
|
1029
|
-
?grantee_type: ("DIRECTORY_USER" | "DIRECTORY_GROUP" | "IAM"),
|
|
1029
|
+
?grantee_type: ("DIRECTORY_USER" | "DIRECTORY_GROUP" | "IAM" | "ATTRIBUTE"),
|
|
1030
1030
|
?grantee_identifier: ::String,
|
|
1031
1031
|
?permission: ("READ" | "WRITE" | "READWRITE"),
|
|
1032
1032
|
?grant_scope: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -883,7 +883,7 @@ module Aws::S3Control
|
|
|
883
883
|
end
|
|
884
884
|
|
|
885
885
|
class Grantee
|
|
886
|
-
attr_accessor grantee_type: ("DIRECTORY_USER" | "DIRECTORY_GROUP" | "IAM")
|
|
886
|
+
attr_accessor grantee_type: ("DIRECTORY_USER" | "DIRECTORY_GROUP" | "IAM" | "ATTRIBUTE")
|
|
887
887
|
attr_accessor grantee_identifier: ::String
|
|
888
888
|
SENSITIVE: []
|
|
889
889
|
end
|
|
@@ -1164,7 +1164,7 @@ module Aws::S3Control
|
|
|
1164
1164
|
attr_accessor account_id: ::String
|
|
1165
1165
|
attr_accessor next_token: ::String
|
|
1166
1166
|
attr_accessor max_results: ::Integer
|
|
1167
|
-
attr_accessor grantee_type: ("DIRECTORY_USER" | "DIRECTORY_GROUP" | "IAM")
|
|
1167
|
+
attr_accessor grantee_type: ("DIRECTORY_USER" | "DIRECTORY_GROUP" | "IAM" | "ATTRIBUTE")
|
|
1168
1168
|
attr_accessor grantee_identifier: ::String
|
|
1169
1169
|
attr_accessor permission: ("READ" | "WRITE" | "READWRITE")
|
|
1170
1170
|
attr_accessor grant_scope: ::String
|