aws-sdk-s3control 1.24.0 → 1.25.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: 83d8f988277b504ffa9fa0d7296bbadf4dcee862529ec1cb2840a279a9a4276f
4
- data.tar.gz: 42e18a47c49b22a2b0f299f1ab7c78e7417b251a20644e70b56a52e6dd46dc18
3
+ metadata.gz: 4dcedf429314ff27b39826eac44181e8bbd20f7d90d53ef0eb9dbbcd8b2a97f0
4
+ data.tar.gz: 420e638c5d4697c77a2a8008607776135bd0bf9ed0cca214492121ba293d6554
5
5
  SHA512:
6
- metadata.gz: 8a32244c2b8e7eff19c025c140d83ae51c719e6615e1e5f409347228b5d80902e9f1c578bcbf7f9b9f3392af0c72a7713475fa76bdb645476f7770179c531b58
7
- data.tar.gz: f712ed891c0789a394175e429ff557d29830fb93ef1b6f41bda52ba217df90d0664285ee192bd94b7b39557bb34218afda628ab23678d5f4a29d4a53599f784f
6
+ metadata.gz: 478207ef6b6a8d15de3158883db547e16df275a2ffb99323facb4314794ae4cb56ed84bbb1c3561517ff643637c7693aec0c495407b2996a7da2770fa8cf6188
7
+ data.tar.gz: 05e29284660670945a742e05ed948eb1203cb5dc554350883f26ae4f0dfa4e294d3f2c00f46d73e2c75f7c132891965f91e616df8821a698aee4121e1456091a
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-s3control/customizations'
48
48
  # @!group service
49
49
  module Aws::S3Control
50
50
 
51
- GEM_VERSION = '1.24.0'
51
+ GEM_VERSION = '1.25.0'
52
52
 
53
53
  end
@@ -367,11 +367,12 @@ module Aws::S3Control
367
367
  # Simple Storage Service Developer Guide </i>.
368
368
  #
369
369
  # All Amazon S3 on Outposts REST API requests for this action require an
370
- # additional parameter of outpost-id to be passed with the request and
371
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
372
- # an example of the request syntax for Amazon S3 on Outposts that uses
373
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
374
- # using the access point ARN, see the [ Example][2] section below.
370
+ # additional parameter of `x-amz-outpost-id` to be passed with the
371
+ # request and an S3 on Outposts endpoint hostname prefix instead of
372
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
373
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
374
+ # `x-amz-outpost-id` derived using the access point ARN, see the
375
+ # [Examples][2] section.
375
376
  #
376
377
  #
377
378
  #
@@ -386,10 +387,10 @@ module Aws::S3Control
386
387
  #
387
388
  #
388
389
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-points.html
389
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_CreateAccessPoint.html#API_control_CreateAccessPoint_Examples
390
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html#API_control_CreateAccessPoint_Examples
390
391
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html
391
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_DeleteAccessPoint.html
392
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_ListAccessPoints.html
392
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html
393
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html
393
394
  #
394
395
  # @option params [required, String] :account_id
395
396
  # The AWS account ID for the owner of the bucket for which you want to
@@ -402,8 +403,11 @@ module Aws::S3Control
402
403
  # The name of the bucket that you want to associate this access point
403
404
  # with.
404
405
  #
405
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
406
- # the format
406
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
407
+ # you must specify the name and the x-amz-outpost-id as well.
408
+ #
409
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
410
+ # you must specify the ARN of the bucket accessed in the format
407
411
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
408
412
  # For example, to access the bucket `reports` through outpost
409
413
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -422,7 +426,7 @@ module Aws::S3Control
422
426
  #
423
427
  # @option params [Types::PublicAccessBlockConfiguration] :public_access_block_configuration
424
428
  # The `PublicAccessBlock` configuration that you want to apply to this
425
- # Amazon S3 bucket. You can enable the configuration options in any
429
+ # Amazon S3 account. You can enable the configuration options in any
426
430
  # combination. For more information about when Amazon S3 considers a
427
431
  # bucket or object public, see [The Meaning of "Public"][1] in the
428
432
  # *Amazon Simple Storage Service Developer Guide*.
@@ -493,8 +497,8 @@ module Aws::S3Control
493
497
  # * Bucket Location constraint
494
498
  #
495
499
  # For an example of the request syntax for Amazon S3 on Outposts that
496
- # uses the S3 on Outposts endpoint hostname prefix and outpost-id in
497
- # your API request, see the [ Example][4] section below.
500
+ # uses the S3 on Outposts endpoint hostname prefix and
501
+ # `x-amz-outpost-id` in your API request, see the [Examples][4] section.
498
502
  #
499
503
  # The following actions are related to `CreateBucket` for Amazon S3 on
500
504
  # Outposts:
@@ -514,12 +518,12 @@ module Aws::S3Control
514
518
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
515
519
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
516
520
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules
517
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_CreateBucket.html#API_control_CreateBucket_Examples
521
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html#API_control_CreateBucket_Examples
518
522
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
519
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_GetBucket.html
520
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_DeleteBucket.html
521
- # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_CreateAccessPoint.html
522
- # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_PutAccessPointPolicy.html
523
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
524
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html
525
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html
526
+ # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html
523
527
  #
524
528
  # @option params [String] :acl
525
529
  # The canned ACL to apply to the bucket.
@@ -632,7 +636,7 @@ module Aws::S3Control
632
636
  # [S3 Batch Operations][1] in the *Amazon Simple Storage Service
633
637
  # Developer Guide*.
634
638
  #
635
- # This operation creates a S3 Batch Operations job.
639
+ # This operation creates an S3 Batch Operations job.
636
640
  #
637
641
  #
638
642
  #
@@ -854,12 +858,12 @@ module Aws::S3Control
854
858
  # Deletes the specified access point.
855
859
  #
856
860
  # All Amazon S3 on Outposts REST API requests for this action require an
857
- # additional parameter of outpost-id to be passed with the request and
858
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
859
- # an example of the request syntax for Amazon S3 on Outposts that uses
860
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
861
- # using the access point ARN, see the ARN, see the [ Example][1] section
862
- # below.
861
+ # additional parameter of `x-amz-outpost-id` to be passed with the
862
+ # request and an S3 on Outposts endpoint hostname prefix instead of
863
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
864
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
865
+ # `x-amz-outpost-id` derived using the access point ARN, see the
866
+ # [Examples][1] section.
863
867
  #
864
868
  # The following actions are related to `DeleteAccessPoint`\:
865
869
  #
@@ -871,7 +875,7 @@ module Aws::S3Control
871
875
  #
872
876
  #
873
877
  #
874
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_DeleteAccessPoint.html#API_control_DeleteAccessPoint_Examples
878
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html#API_control_DeleteAccessPoint_Examples
875
879
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html
876
880
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html
877
881
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html
@@ -882,8 +886,11 @@ module Aws::S3Control
882
886
  # @option params [required, String] :name
883
887
  # The name of the access point you want to delete.
884
888
  #
885
- # For Amazon S3 on Outposts specify the ARN of the access point accessed
886
- # in the format
889
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
890
+ # you must specify the name and the x-amz-outpost-id as well.
891
+ #
892
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
893
+ # you must specify the ARN of the access point accessed in the format
887
894
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
888
895
  # For example, to access the access point `reports-ap` through outpost
889
896
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -914,11 +921,12 @@ module Aws::S3Control
914
921
  #
915
922
  #
916
923
  # All Amazon S3 on Outposts REST API requests for this action require an
917
- # additional parameter of outpost-id to be passed with the request and
918
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
919
- # an example of the request syntax for Amazon S3 on Outposts that uses
920
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
921
- # using the access point ARN, see the [ Example][1] section below.
924
+ # additional parameter of `x-amz-outpost-id` to be passed with the
925
+ # request and an S3 on Outposts endpoint hostname prefix instead of
926
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
927
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
928
+ # `x-amz-outpost-id` derived using the access point ARN, see the
929
+ # [Examples][1] section.
922
930
  #
923
931
  # The following actions are related to `DeleteAccessPointPolicy`\:
924
932
  #
@@ -928,7 +936,7 @@ module Aws::S3Control
928
936
  #
929
937
  #
930
938
  #
931
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_DeleteAccessPointPolicy.html#API_control_DeleteAccessPointPolicy_Examples
939
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html#API_control_DeleteAccessPointPolicy_Examples
932
940
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html
933
941
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicy.html
934
942
  #
@@ -938,8 +946,11 @@ module Aws::S3Control
938
946
  # @option params [required, String] :name
939
947
  # The name of the access point whose policy you want to delete.
940
948
  #
941
- # For Amazon S3 on Outposts specify the ARN of the access point accessed
942
- # in the format
949
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
950
+ # you must specify the name and the x-amz-outpost-id as well.
951
+ #
952
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
953
+ # you must specify the ARN of the access point accessed in the format
943
954
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
944
955
  # For example, to access the access point `reports-ap` through outpost
945
956
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -978,11 +989,12 @@ module Aws::S3Control
978
989
  # Developer Guide*.
979
990
  #
980
991
  # All Amazon S3 on Outposts REST API requests for this action require an
981
- # additional parameter of outpost-id to be passed with the request and
982
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
983
- # an example of the request syntax for Amazon S3 on Outposts that uses
984
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
985
- # using the access point ARN, see the [ Example][3] section below.
992
+ # additional parameter of `x-amz-outpost-id` to be passed with the
993
+ # request and an S3 on Outposts endpoint hostname prefix instead of
994
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
995
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
996
+ # `x-amz-outpost-id` derived using the access point ARN, see the
997
+ # [Examples][3] section.
986
998
  #
987
999
  # **Related Resources**
988
1000
  #
@@ -996,9 +1008,9 @@ module Aws::S3Control
996
1008
  #
997
1009
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
998
1010
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
999
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_DeleteBucket.html#API_control_DeleteBucket_Examples
1011
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html#API_control_DeleteBucket_Examples
1000
1012
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
1001
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_GetBucket.html
1013
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
1002
1014
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html
1003
1015
  #
1004
1016
  # @option params [required, String] :account_id
@@ -1007,8 +1019,11 @@ module Aws::S3Control
1007
1019
  # @option params [required, String] :bucket
1008
1020
  # Specifies the bucket being deleted.
1009
1021
  #
1010
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1011
- # the format
1022
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
1023
+ # you must specify the name and the x-amz-outpost-id as well.
1024
+ #
1025
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
1026
+ # you must specify the ARN of the bucket accessed in the format
1012
1027
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1013
1028
  # For example, to access the bucket `reports` through outpost
1014
1029
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1050,16 +1065,17 @@ module Aws::S3Control
1050
1065
  # Guide*.
1051
1066
  #
1052
1067
  # To use this operation, you must have permission to perform the
1053
- # `s3outposts:DeleteLifecycleConfiguration` action. By default, the
1068
+ # `s3-outposts:DeleteLifecycleConfiguration` action. By default, the
1054
1069
  # bucket owner has this permission and the Outposts bucket owner can
1055
1070
  # grant this permission to others.
1056
1071
  #
1057
1072
  # All Amazon S3 on Outposts REST API requests for this action require an
1058
- # additional parameter of outpost-id to be passed with the request and
1059
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
1060
- # an example of the request syntax for Amazon S3 on Outposts that uses
1061
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
1062
- # using the access point ARN, see the [ Example][3] section below.
1073
+ # additional parameter of `x-amz-outpost-id` to be passed with the
1074
+ # request and an S3 on Outposts endpoint hostname prefix instead of
1075
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
1076
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1077
+ # `x-amz-outpost-id` derived using the access point ARN, see the
1078
+ # [Examples][3] section.
1063
1079
  #
1064
1080
  # For more information about object expiration, see [ Elements to
1065
1081
  # Describe Lifecycle Actions][4].
@@ -1074,7 +1090,7 @@ module Aws::S3Control
1074
1090
  #
1075
1091
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
1076
1092
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
1077
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples
1093
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples
1078
1094
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
1079
1095
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
1080
1096
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html
@@ -1083,10 +1099,13 @@ module Aws::S3Control
1083
1099
  # The account ID of the lifecycle configuration to delete.
1084
1100
  #
1085
1101
  # @option params [required, String] :bucket
1086
- # The bucket ARN of the bucket.
1102
+ # Specifies the bucket.
1087
1103
  #
1088
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1089
- # the format
1104
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
1105
+ # you must specify the name and the x-amz-outpost-id as well.
1106
+ #
1107
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
1108
+ # you must specify the ARN of the bucket accessed in the format
1090
1109
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1091
1110
  # For example, to access the bucket `reports` through outpost
1092
1111
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1122,7 +1141,7 @@ module Aws::S3Control
1122
1141
  # subresource to delete the policy of a specified Amazon S3 on Outposts
1123
1142
  # bucket. If you are using an identity other than the root user of the
1124
1143
  # AWS account that owns the bucket, the calling identity must have the
1125
- # `s3outposts:DeleteBucketPolicy` permissions on the specified Outposts
1144
+ # `s3-outposts:DeleteBucketPolicy` permissions on the specified Outposts
1126
1145
  # bucket and belong to the bucket owner's account to use this
1127
1146
  # operation. For more information, see [Using Amazon S3 on Outposts][2]
1128
1147
  # in *Amazon Simple Storage Service Developer Guide*.
@@ -1141,11 +1160,12 @@ module Aws::S3Control
1141
1160
  # https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html).
1142
1161
  #
1143
1162
  # All Amazon S3 on Outposts REST API requests for this action require an
1144
- # additional parameter of outpost-id to be passed with the request and
1145
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
1146
- # an example of the request syntax for Amazon S3 on Outposts that uses
1147
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
1148
- # using the access point ARN, see the [ Example][3] section below.
1163
+ # additional parameter of `x-amz-outpost-id` to be passed with the
1164
+ # request and an S3 on Outposts endpoint hostname prefix instead of
1165
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
1166
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1167
+ # `x-amz-outpost-id` derived using the access point ARN, see the
1168
+ # [Examples][3] section.
1149
1169
  #
1150
1170
  # The following actions are related to `DeleteBucketPolicy`\:
1151
1171
  #
@@ -1157,18 +1177,21 @@ module Aws::S3Control
1157
1177
  #
1158
1178
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html
1159
1179
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
1160
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples
1180
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples
1161
1181
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
1162
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_PutBucketPolicy.html
1182
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html
1163
1183
  #
1164
1184
  # @option params [required, String] :account_id
1165
1185
  # The account ID of the Outposts bucket.
1166
1186
  #
1167
1187
  # @option params [required, String] :bucket
1168
- # The ARN of the bucket.
1188
+ # Specifies the bucket.
1189
+ #
1190
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
1191
+ # you must specify the name and the x-amz-outpost-id as well.
1169
1192
  #
1170
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1171
- # the format
1193
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
1194
+ # you must specify the ARN of the bucket accessed in the format
1172
1195
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1173
1196
  # For example, to access the bucket `reports` through outpost
1174
1197
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1194,7 +1217,7 @@ module Aws::S3Control
1194
1217
  req.send_request(options)
1195
1218
  end
1196
1219
 
1197
- # <note markdown="1"> This API operation deletes an Amazon S3 on Outposts bucket's tags. To
1220
+ # <note markdown="1"> This operation deletes an Amazon S3 on Outposts bucket's tags. To
1198
1221
  # delete an S3 bucket tags, see [DeleteBucketTagging][1] in the *Amazon
1199
1222
  # Simple Storage Service API*.
1200
1223
  #
@@ -1209,11 +1232,12 @@ module Aws::S3Control
1209
1232
  # permission and can grant this permission to others.
1210
1233
  #
1211
1234
  # All Amazon S3 on Outposts REST API requests for this action require an
1212
- # additional parameter of outpost-id to be passed with the request and
1213
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
1214
- # an example of the request syntax for Amazon S3 on Outposts that uses
1215
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
1216
- # using the access point ARN, see the [ Example][3] section below.
1235
+ # additional parameter of `x-amz-outpost-id` to be passed with the
1236
+ # request and an S3 on Outposts endpoint hostname prefix instead of
1237
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
1238
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1239
+ # `x-amz-outpost-id` derived using the access point ARN, see the
1240
+ # [Examples][3] section.
1217
1241
  #
1218
1242
  # The following actions are related to `DeleteBucketTagging`\:
1219
1243
  #
@@ -1225,7 +1249,7 @@ module Aws::S3Control
1225
1249
  #
1226
1250
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html
1227
1251
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
1228
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples
1252
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples
1229
1253
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html
1230
1254
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
1231
1255
  #
@@ -1235,8 +1259,11 @@ module Aws::S3Control
1235
1259
  # @option params [required, String] :bucket
1236
1260
  # The bucket ARN that has the tag set to be removed.
1237
1261
  #
1238
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1239
- # the format
1262
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
1263
+ # you must specify the name and the x-amz-outpost-id as well.
1264
+ #
1265
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
1266
+ # you must specify the ARN of the bucket accessed in the format
1240
1267
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1241
1268
  # For example, to access the bucket `reports` through outpost
1242
1269
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1345,6 +1372,86 @@ module Aws::S3Control
1345
1372
  req.send_request(options)
1346
1373
  end
1347
1374
 
1375
+ # Deletes the Amazon S3 Storage Lens configuration. For more information
1376
+ # about S3 Storage Lens, see [Working with Amazon S3 Storage Lens][1] in
1377
+ # the *Amazon Simple Storage Service Developer Guide*.
1378
+ #
1379
+ # <note markdown="1"> To use this action, you must have permission to perform the
1380
+ # `s3:DeleteStorageLensConfiguration` action. For more information, see
1381
+ # [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
1382
+ # Simple Storage Service Developer Guide*.
1383
+ #
1384
+ # </note>
1385
+ #
1386
+ #
1387
+ #
1388
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html
1389
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html#storage_lens_IAM
1390
+ #
1391
+ # @option params [required, String] :config_id
1392
+ # The ID of the S3 Storage Lens configuration.
1393
+ #
1394
+ # @option params [required, String] :account_id
1395
+ # The account ID of the requester.
1396
+ #
1397
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1398
+ #
1399
+ # @example Request syntax with placeholder values
1400
+ #
1401
+ # resp = client.delete_storage_lens_configuration({
1402
+ # config_id: "ConfigId", # required
1403
+ # account_id: "AccountId", # required
1404
+ # })
1405
+ #
1406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfiguration AWS API Documentation
1407
+ #
1408
+ # @overload delete_storage_lens_configuration(params = {})
1409
+ # @param [Hash] params ({})
1410
+ def delete_storage_lens_configuration(params = {}, options = {})
1411
+ req = build_request(:delete_storage_lens_configuration, params)
1412
+ req.send_request(options)
1413
+ end
1414
+
1415
+ # Deletes the Amazon S3 Storage Lens configuration tags. For more
1416
+ # information about S3 Storage Lens, see [Working with Amazon S3 Storage
1417
+ # Lens][1] in the *Amazon Simple Storage Service Developer Guide*.
1418
+ #
1419
+ # <note markdown="1"> To use this action, you must have permission to perform the
1420
+ # `s3:DeleteStorageLensConfigurationTagging` action. For more
1421
+ # information, see [Setting permissions to use Amazon S3 Storage
1422
+ # Lens][2] in the *Amazon Simple Storage Service Developer Guide*.
1423
+ #
1424
+ # </note>
1425
+ #
1426
+ #
1427
+ #
1428
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html
1429
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html#storage_lens_IAM
1430
+ #
1431
+ # @option params [required, String] :config_id
1432
+ # The ID of the S3 Storage Lens configuration.
1433
+ #
1434
+ # @option params [required, String] :account_id
1435
+ # The account ID of the requester.
1436
+ #
1437
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1438
+ #
1439
+ # @example Request syntax with placeholder values
1440
+ #
1441
+ # resp = client.delete_storage_lens_configuration_tagging({
1442
+ # config_id: "ConfigId", # required
1443
+ # account_id: "AccountId", # required
1444
+ # })
1445
+ #
1446
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfigurationTagging AWS API Documentation
1447
+ #
1448
+ # @overload delete_storage_lens_configuration_tagging(params = {})
1449
+ # @param [Hash] params ({})
1450
+ def delete_storage_lens_configuration_tagging(params = {}, options = {})
1451
+ req = build_request(:delete_storage_lens_configuration_tagging, params)
1452
+ req.send_request(options)
1453
+ end
1454
+
1348
1455
  # Retrieves the configuration parameters and status for a Batch
1349
1456
  # Operations job. For more information, see [S3 Batch Operations][1] in
1350
1457
  # the *Amazon Simple Storage Service Developer Guide*.
@@ -1482,11 +1589,12 @@ module Aws::S3Control
1482
1589
  #
1483
1590
  #
1484
1591
  # All Amazon S3 on Outposts REST API requests for this action require an
1485
- # additional parameter of outpost-id to be passed with the request and
1486
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
1487
- # an example of the request syntax for Amazon S3 on Outposts that uses
1488
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
1489
- # using the access point ARN, see the [ Example][1] section below.
1592
+ # additional parameter of `x-amz-outpost-id` to be passed with the
1593
+ # request and an S3 on Outposts endpoint hostname prefix instead of
1594
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
1595
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1596
+ # `x-amz-outpost-id` derived using the access point ARN, see the
1597
+ # [Examples][1] section.
1490
1598
  #
1491
1599
  # The following actions are related to `GetAccessPoint`\:
1492
1600
  #
@@ -1498,7 +1606,7 @@ module Aws::S3Control
1498
1606
  #
1499
1607
  #
1500
1608
  #
1501
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_GetAccessPoint.html#API_control_GetAccessPoint_Examples
1609
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html#API_control_GetAccessPoint_Examples
1502
1610
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html
1503
1611
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html
1504
1612
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html
@@ -1510,8 +1618,11 @@ module Aws::S3Control
1510
1618
  # The name of the access point whose configuration information you want
1511
1619
  # to retrieve.
1512
1620
  #
1513
- # For Amazon S3 on Outposts specify the ARN of the access point accessed
1514
- # in the format
1621
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
1622
+ # you must specify the name and the x-amz-outpost-id as well.
1623
+ #
1624
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
1625
+ # you must specify the ARN of the access point accessed in the format
1515
1626
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
1516
1627
  # For example, to access the access point `reports-ap` through outpost
1517
1628
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1576,8 +1687,11 @@ module Aws::S3Control
1576
1687
  # @option params [required, String] :name
1577
1688
  # The name of the access point whose policy you want to retrieve.
1578
1689
  #
1579
- # For Amazon S3 on Outposts specify the ARN of the access point accessed
1580
- # in the format
1690
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
1691
+ # you must specify the name and the x-amz-outpost-id as well.
1692
+ #
1693
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
1694
+ # you must specify the ARN of the access point accessed in the format
1581
1695
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
1582
1696
  # For example, to access the access point `reports-ap` through outpost
1583
1697
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1652,30 +1766,53 @@ module Aws::S3Control
1652
1766
  # Using Amazon S3 on Outposts][1] in the *Amazon Simple Storage Service
1653
1767
  # Developer Guide*.
1654
1768
  #
1769
+ # If you are using an identity other than the root user of the AWS
1770
+ # account that owns the bucket, the calling identity must have the
1771
+ # `s3-outposts:GetBucket` permissions on the specified bucket and belong
1772
+ # to the bucket owner's account in order to use this operation. Only
1773
+ # users from Outposts bucket owner account with the right permissions
1774
+ # can perform actions on an Outposts bucket.
1775
+ #
1776
+ # If you don't have `s3-outposts:GetBucket` permissions or you're not
1777
+ # using an identity that belongs to the bucket owner's account, Amazon
1778
+ # S3 returns a `403 Access Denied` error.
1779
+ #
1655
1780
  # The following actions are related to `GetBucket` for Amazon S3 on
1656
1781
  # Outposts:
1657
1782
  #
1658
- # * [PutObject][2]
1783
+ # All Amazon S3 on Outposts REST API requests for this action require an
1784
+ # additional parameter of `x-amz-outpost-id` to be passed with the
1785
+ # request and an S3 on Outposts endpoint hostname prefix instead of
1786
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
1787
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1788
+ # `x-amz-outpost-id` derived using the access point ARN, see the
1789
+ # [Examples][2] section.
1659
1790
  #
1660
- # * [CreateBucket][3]
1791
+ # * [PutObject][3]
1661
1792
  #
1662
- # * [DeleteBucket][4]
1793
+ # * [CreateBucket][4]
1794
+ #
1795
+ # * [DeleteBucket][5]
1663
1796
  #
1664
1797
  #
1665
1798
  #
1666
1799
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
1667
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
1668
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_CreateBucket.html
1669
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_DeleteBucket.html
1800
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html#API_control_GetBucket_Examples
1801
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
1802
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
1803
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html
1670
1804
  #
1671
1805
  # @option params [required, String] :account_id
1672
1806
  # The AWS account ID of the Outposts bucket.
1673
1807
  #
1674
1808
  # @option params [required, String] :bucket
1675
- # The ARN of the bucket.
1809
+ # Specifies the bucket.
1810
+ #
1811
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
1812
+ # you must specify the name and the x-amz-outpost-id as well.
1676
1813
  #
1677
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1678
- # the format
1814
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
1815
+ # you must specify the ARN of the bucket accessed in the format
1679
1816
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1680
1817
  # For example, to access the bucket `reports` through outpost
1681
1818
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1711,7 +1848,7 @@ module Aws::S3Control
1711
1848
  req.send_request(options)
1712
1849
  end
1713
1850
 
1714
- # <note markdown="1"> This API operation gets an Amazon S3 on Outposts bucket's lifecycle
1851
+ # <note markdown="1"> This operation gets an Amazon S3 on Outposts bucket's lifecycle
1715
1852
  # configuration. To get an S3 bucket's lifecycle configuration, see
1716
1853
  # [GetBucketLifecycleConfiguration][1] in the *Amazon Simple Storage
1717
1854
  # Service API*.
@@ -1724,18 +1861,19 @@ module Aws::S3Control
1724
1861
  # Management][3] in *Amazon Simple Storage Service Developer Guide*.
1725
1862
  #
1726
1863
  # To use this operation, you must have permission to perform the
1727
- # `s3outposts:GetLifecycleConfiguration` action. The Outposts bucket
1864
+ # `s3-outposts:GetLifecycleConfiguration` action. The Outposts bucket
1728
1865
  # owner has this permission, by default. The bucket owner can grant this
1729
1866
  # permission to others. For more information about permissions, see
1730
1867
  # [Permissions Related to Bucket Subresource Operations][4] and
1731
1868
  # [Managing Access Permissions to Your Amazon S3 Resources][5].
1732
1869
  #
1733
1870
  # All Amazon S3 on Outposts REST API requests for this action require an
1734
- # additional parameter of outpost-id to be passed with the request and
1735
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
1736
- # an example of the request syntax for Amazon S3 on Outposts that uses
1737
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
1738
- # using the access point ARN, see the [ Example][6] section below.
1871
+ # additional parameter of `x-amz-outpost-id` to be passed with the
1872
+ # request and an S3 on Outposts endpoint hostname prefix instead of
1873
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
1874
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
1875
+ # `x-amz-outpost-id` derived using the access point ARN, see the
1876
+ # [Examples][6] section.
1739
1877
  #
1740
1878
  # `GetBucketLifecycleConfiguration` has the following special error:
1741
1879
  #
@@ -1761,7 +1899,7 @@ module Aws::S3Control
1761
1899
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html
1762
1900
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
1763
1901
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html
1764
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples
1902
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples
1765
1903
  # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
1766
1904
  # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
1767
1905
  #
@@ -1771,8 +1909,11 @@ module Aws::S3Control
1771
1909
  # @option params [required, String] :bucket
1772
1910
  # The Amazon Resource Name (ARN) of the bucket.
1773
1911
  #
1774
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1775
- # the format
1912
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
1913
+ # you must specify the name and the x-amz-outpost-id as well.
1914
+ #
1915
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
1916
+ # you must specify the ARN of the bucket accessed in the format
1776
1917
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1777
1918
  # For example, to access the bucket `reports` through outpost
1778
1919
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1825,9 +1966,9 @@ module Aws::S3Control
1825
1966
  req.send_request(options)
1826
1967
  end
1827
1968
 
1828
- # <note markdown="1"> This API action gets a bucket policy for an Amazon S3 on Outposts
1829
- # bucket. To get a policy for an S3 bucket, see [GetBucketPolicy][1] in
1830
- # the *Amazon Simple Storage Service API*.
1969
+ # <note markdown="1"> This action gets a bucket policy for an Amazon S3 on Outposts bucket.
1970
+ # To get a policy for an S3 bucket, see [GetBucketPolicy][1] in the
1971
+ # *Amazon Simple Storage Service API*.
1831
1972
  #
1832
1973
  # </note>
1833
1974
  #
@@ -1840,11 +1981,11 @@ module Aws::S3Control
1840
1981
  # `GetBucketPolicy` permissions on the specified bucket and belong to
1841
1982
  # the bucket owner's account in order to use this operation.
1842
1983
  #
1843
- # If you don't have `s3outposts:GetBucketPolicy` permissions, Amazon S3
1844
- # returns a `403 Access Denied` error. If you have the correct
1845
- # permissions, but you're not using an identity that belongs to the
1846
- # bucket owner's account, Amazon S3 returns a `405 Method Not Allowed`
1847
- # error.
1984
+ # Only users from Outposts bucket owner account with the right
1985
+ # permissions can perform actions on an Outposts bucket. If you don't
1986
+ # have `s3-outposts:GetBucketPolicy` permissions or you're not using an
1987
+ # identity that belongs to the bucket owner's account, Amazon S3
1988
+ # returns a `403 Access Denied` error.
1848
1989
  #
1849
1990
  # As a security precaution, the root user of the AWS account that owns a
1850
1991
  # bucket can always use this operation, even if the policy explicitly
@@ -1854,11 +1995,12 @@ module Aws::S3Control
1854
1995
  # and User Policies][3].
1855
1996
  #
1856
1997
  # All Amazon S3 on Outposts REST API requests for this action require an
1857
- # additional parameter of outpost-id to be passed with the request and
1858
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
1859
- # an example of the request syntax for Amazon S3 on Outposts that uses
1860
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
1861
- # using the access point ARN, see the [ Example][4] section below.
1998
+ # additional parameter of `x-amz-outpost-id` to be passed with the
1999
+ # request and an S3 on Outposts endpoint hostname prefix instead of
2000
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
2001
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2002
+ # `x-amz-outpost-id` derived using the access point ARN, see the
2003
+ # [Examples][4] section.
1862
2004
  #
1863
2005
  # The following actions are related to `GetBucketPolicy`\:
1864
2006
  #
@@ -1873,7 +2015,7 @@ module Aws::S3Control
1873
2015
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicy.html
1874
2016
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
1875
2017
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
1876
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples
2018
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples
1877
2019
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
1878
2020
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html
1879
2021
  # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html
@@ -1882,10 +2024,13 @@ module Aws::S3Control
1882
2024
  # The AWS account ID of the Outposts bucket.
1883
2025
  #
1884
2026
  # @option params [required, String] :bucket
1885
- # The ARN of the bucket.
2027
+ # Specifies the bucket.
2028
+ #
2029
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
2030
+ # you must specify the name and the x-amz-outpost-id as well.
1886
2031
  #
1887
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1888
- # the format
2032
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
2033
+ # you must specify the ARN of the bucket accessed in the format
1889
2034
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1890
2035
  # For example, to access the bucket `reports` through outpost
1891
2036
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1917,8 +2062,8 @@ module Aws::S3Control
1917
2062
  req.send_request(options)
1918
2063
  end
1919
2064
 
1920
- # <note markdown="1"> This API operation gets an Amazon S3 on Outposts bucket's tags. To
1921
- # get an S3 bucket tags, see [GetBucketTagging][1] in the *Amazon Simple
2065
+ # <note markdown="1"> This operation gets an Amazon S3 on Outposts bucket's tags. To get an
2066
+ # S3 bucket tags, see [GetBucketTagging][1] in the *Amazon Simple
1922
2067
  # Storage Service API*.
1923
2068
  #
1924
2069
  # </note>
@@ -1940,11 +2085,12 @@ module Aws::S3Control
1940
2085
  # ^
1941
2086
  #
1942
2087
  # All Amazon S3 on Outposts REST API requests for this action require an
1943
- # additional parameter of outpost-id to be passed with the request and
1944
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
1945
- # an example of the request syntax for Amazon S3 on Outposts that uses
1946
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
1947
- # using the access point ARN, see the [ Example][3] section below.
2088
+ # additional parameter of `x-amz-outpost-id` to be passed with the
2089
+ # request and an S3 on Outposts endpoint hostname prefix instead of
2090
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
2091
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2092
+ # `x-amz-outpost-id` derived using the access point ARN, see the
2093
+ # [Examples][3] section.
1948
2094
  #
1949
2095
  # The following actions are related to `GetBucketTagging`\:
1950
2096
  #
@@ -1956,7 +2102,7 @@ module Aws::S3Control
1956
2102
  #
1957
2103
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html
1958
2104
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
1959
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_GetBucketTagging.html#API_control_GetBucketTagging_Examples
2105
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html#API_control_GetBucketTagging_Examples
1960
2106
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
1961
2107
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
1962
2108
  #
@@ -1964,10 +2110,13 @@ module Aws::S3Control
1964
2110
  # The AWS account ID of the Outposts bucket.
1965
2111
  #
1966
2112
  # @option params [required, String] :bucket
1967
- # The ARN of the bucket.
2113
+ # Specifies the bucket.
1968
2114
  #
1969
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1970
- # the format
2115
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
2116
+ # you must specify the name and the x-amz-outpost-id as well.
2117
+ #
2118
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
2119
+ # you must specify the ARN of the bucket accessed in the format
1971
2120
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1972
2121
  # For example, to access the bucket `reports` through outpost
1973
2122
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -2101,6 +2250,123 @@ module Aws::S3Control
2101
2250
  req.send_request(options)
2102
2251
  end
2103
2252
 
2253
+ # Gets the Amazon S3 Storage Lens configuration. For more information,
2254
+ # see [Working with Amazon S3 Storage Lens][1] in the *Amazon Simple
2255
+ # Storage Service Developer Guide*.
2256
+ #
2257
+ # <note markdown="1"> To use this action, you must have permission to perform the
2258
+ # `s3:GetStorageLensConfiguration` action. For more information, see
2259
+ # [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
2260
+ # Simple Storage Service Developer Guide*.
2261
+ #
2262
+ # </note>
2263
+ #
2264
+ #
2265
+ #
2266
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html
2267
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html#storage_lens_IAM
2268
+ #
2269
+ # @option params [required, String] :config_id
2270
+ # The ID of the Amazon S3 Storage Lens configuration.
2271
+ #
2272
+ # @option params [required, String] :account_id
2273
+ # The account ID of the requester.
2274
+ #
2275
+ # @return [Types::GetStorageLensConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2276
+ #
2277
+ # * {Types::GetStorageLensConfigurationResult#storage_lens_configuration #storage_lens_configuration} => Types::StorageLensConfiguration
2278
+ #
2279
+ # @example Request syntax with placeholder values
2280
+ #
2281
+ # resp = client.get_storage_lens_configuration({
2282
+ # config_id: "ConfigId", # required
2283
+ # account_id: "AccountId", # required
2284
+ # })
2285
+ #
2286
+ # @example Response structure
2287
+ #
2288
+ # resp.storage_lens_configuration.id #=> String
2289
+ # resp.storage_lens_configuration.account_level.activity_metrics.is_enabled #=> Boolean
2290
+ # resp.storage_lens_configuration.account_level.bucket_level.activity_metrics.is_enabled #=> Boolean
2291
+ # resp.storage_lens_configuration.account_level.bucket_level.prefix_level.storage_metrics.is_enabled #=> Boolean
2292
+ # resp.storage_lens_configuration.account_level.bucket_level.prefix_level.storage_metrics.selection_criteria.delimiter #=> String
2293
+ # resp.storage_lens_configuration.account_level.bucket_level.prefix_level.storage_metrics.selection_criteria.max_depth #=> Integer
2294
+ # resp.storage_lens_configuration.account_level.bucket_level.prefix_level.storage_metrics.selection_criteria.min_storage_bytes_percentage #=> Float
2295
+ # resp.storage_lens_configuration.include.buckets #=> Array
2296
+ # resp.storage_lens_configuration.include.buckets[0] #=> String
2297
+ # resp.storage_lens_configuration.include.regions #=> Array
2298
+ # resp.storage_lens_configuration.include.regions[0] #=> String
2299
+ # resp.storage_lens_configuration.exclude.buckets #=> Array
2300
+ # resp.storage_lens_configuration.exclude.buckets[0] #=> String
2301
+ # resp.storage_lens_configuration.exclude.regions #=> Array
2302
+ # resp.storage_lens_configuration.exclude.regions[0] #=> String
2303
+ # resp.storage_lens_configuration.data_export.s3_bucket_destination.format #=> String, one of "CSV", "Parquet"
2304
+ # resp.storage_lens_configuration.data_export.s3_bucket_destination.output_schema_version #=> String, one of "V_1"
2305
+ # resp.storage_lens_configuration.data_export.s3_bucket_destination.account_id #=> String
2306
+ # resp.storage_lens_configuration.data_export.s3_bucket_destination.arn #=> String
2307
+ # resp.storage_lens_configuration.data_export.s3_bucket_destination.prefix #=> String
2308
+ # resp.storage_lens_configuration.data_export.s3_bucket_destination.encryption.ssekms.key_id #=> String
2309
+ # resp.storage_lens_configuration.is_enabled #=> Boolean
2310
+ # resp.storage_lens_configuration.aws_org.arn #=> String
2311
+ # resp.storage_lens_configuration.storage_lens_arn #=> String
2312
+ #
2313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfiguration AWS API Documentation
2314
+ #
2315
+ # @overload get_storage_lens_configuration(params = {})
2316
+ # @param [Hash] params ({})
2317
+ def get_storage_lens_configuration(params = {}, options = {})
2318
+ req = build_request(:get_storage_lens_configuration, params)
2319
+ req.send_request(options)
2320
+ end
2321
+
2322
+ # Gets the tags of Amazon S3 Storage Lens configuration. For more
2323
+ # information about S3 Storage Lens, see [Working with Amazon S3 Storage
2324
+ # Lens][1] in the *Amazon Simple Storage Service Developer Guide*.
2325
+ #
2326
+ # <note markdown="1"> To use this action, you must have permission to perform the
2327
+ # `s3:GetStorageLensConfigurationTagging` action. For more information,
2328
+ # see [Setting permissions to use Amazon S3 Storage Lens][2] in the
2329
+ # *Amazon Simple Storage Service Developer Guide*.
2330
+ #
2331
+ # </note>
2332
+ #
2333
+ #
2334
+ #
2335
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html
2336
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html#storage_lens_IAM
2337
+ #
2338
+ # @option params [required, String] :config_id
2339
+ # The ID of the Amazon S3 Storage Lens configuration.
2340
+ #
2341
+ # @option params [required, String] :account_id
2342
+ # The account ID of the requester.
2343
+ #
2344
+ # @return [Types::GetStorageLensConfigurationTaggingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2345
+ #
2346
+ # * {Types::GetStorageLensConfigurationTaggingResult#tags #tags} => Array&lt;Types::StorageLensTag&gt;
2347
+ #
2348
+ # @example Request syntax with placeholder values
2349
+ #
2350
+ # resp = client.get_storage_lens_configuration_tagging({
2351
+ # config_id: "ConfigId", # required
2352
+ # account_id: "AccountId", # required
2353
+ # })
2354
+ #
2355
+ # @example Response structure
2356
+ #
2357
+ # resp.tags #=> Array
2358
+ # resp.tags[0].key #=> String
2359
+ # resp.tags[0].value #=> String
2360
+ #
2361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfigurationTagging AWS API Documentation
2362
+ #
2363
+ # @overload get_storage_lens_configuration_tagging(params = {})
2364
+ # @param [Hash] params ({})
2365
+ def get_storage_lens_configuration_tagging(params = {}, options = {})
2366
+ req = build_request(:get_storage_lens_configuration_tagging, params)
2367
+ req.send_request(options)
2368
+ end
2369
+
2104
2370
  # Returns a list of the access points currently associated with the
2105
2371
  # specified bucket. You can retrieve up to 1000 access points per call.
2106
2372
  # If the specified bucket has more than 1,000 access points (or the
@@ -2111,11 +2377,12 @@ module Aws::S3Control
2111
2377
  #
2112
2378
  #
2113
2379
  # All Amazon S3 on Outposts REST API requests for this action require an
2114
- # additional parameter of outpost-id to be passed with the request and
2115
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
2116
- # an example of the request syntax for Amazon S3 on Outposts that uses
2117
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
2118
- # using the access point ARN, see the [ Example][1] section below.
2380
+ # additional parameter of `x-amz-outpost-id` to be passed with the
2381
+ # request and an S3 on Outposts endpoint hostname prefix instead of
2382
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
2383
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2384
+ # `x-amz-outpost-id` derived using the access point ARN, see the
2385
+ # [Examples][1] section.
2119
2386
  #
2120
2387
  # The following actions are related to `ListAccessPoints`\:
2121
2388
  #
@@ -2127,7 +2394,7 @@ module Aws::S3Control
2127
2394
  #
2128
2395
  #
2129
2396
  #
2130
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_GetAccessPoint.html#API_control_GetAccessPoint_Examples
2397
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html#API_control_GetAccessPoint_Examples
2131
2398
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html
2132
2399
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html
2133
2400
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html
@@ -2140,8 +2407,11 @@ module Aws::S3Control
2140
2407
  # The name of the bucket whose associated access points you want to
2141
2408
  # list.
2142
2409
  #
2143
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
2144
- # the format
2410
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
2411
+ # you must specify the name and the x-amz-outpost-id as well.
2412
+ #
2413
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
2414
+ # you must specify the ARN of the bucket accessed in the format
2145
2415
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
2146
2416
  # For example, to access the bucket `reports` through outpost
2147
2417
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -2278,19 +2548,19 @@ module Aws::S3Control
2278
2548
  req.send_request(options)
2279
2549
  end
2280
2550
 
2281
- # Returns a list of all Outposts buckets in an Outposts that are owned
2282
- # by the authenticated sender of the request. For more information, see
2551
+ # Returns a list of all Outposts buckets in an Outpost that are owned by
2552
+ # the authenticated sender of the request. For more information, see
2283
2553
  # [Using Amazon S3 on Outposts][1] in the *Amazon Simple Storage Service
2284
2554
  # Developer Guide*.
2285
2555
  #
2286
2556
  # For an example of the request syntax for Amazon S3 on Outposts that
2287
- # uses the S3 on Outposts endpoint hostname prefix and outpost-id in
2288
- # your API request, see the [ Example][2] section below.
2557
+ # uses the S3 on Outposts endpoint hostname prefix and
2558
+ # `x-amz-outpost-id` in your request, see the [Examples][2] section.
2289
2559
  #
2290
2560
  #
2291
2561
  #
2292
2562
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
2293
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples
2563
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples
2294
2564
  #
2295
2565
  # @option params [required, String] :account_id
2296
2566
  # The AWS account ID of the Outposts bucket.
@@ -2341,6 +2611,58 @@ module Aws::S3Control
2341
2611
  req.send_request(options)
2342
2612
  end
2343
2613
 
2614
+ # Gets a list of Amazon S3 Storage Lens configurations. For more
2615
+ # information about S3 Storage Lens, see [Working with Amazon S3 Storage
2616
+ # Lens][1] in the *Amazon Simple Storage Service Developer Guide*.
2617
+ #
2618
+ # <note markdown="1"> To use this action, you must have permission to perform the
2619
+ # `s3:ListStorageLensConfigurations` action. For more information, see
2620
+ # [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
2621
+ # Simple Storage Service Developer Guide*.
2622
+ #
2623
+ # </note>
2624
+ #
2625
+ #
2626
+ #
2627
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html
2628
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html#storage_lens_IAM
2629
+ #
2630
+ # @option params [required, String] :account_id
2631
+ # The account ID of the requester.
2632
+ #
2633
+ # @option params [String] :next_token
2634
+ # A pagination token to request the next page of results.
2635
+ #
2636
+ # @return [Types::ListStorageLensConfigurationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2637
+ #
2638
+ # * {Types::ListStorageLensConfigurationsResult#next_token #next_token} => String
2639
+ # * {Types::ListStorageLensConfigurationsResult#storage_lens_configuration_list #storage_lens_configuration_list} => Array&lt;Types::ListStorageLensConfigurationEntry&gt;
2640
+ #
2641
+ # @example Request syntax with placeholder values
2642
+ #
2643
+ # resp = client.list_storage_lens_configurations({
2644
+ # account_id: "AccountId", # required
2645
+ # next_token: "ContinuationToken",
2646
+ # })
2647
+ #
2648
+ # @example Response structure
2649
+ #
2650
+ # resp.next_token #=> String
2651
+ # resp.storage_lens_configuration_list #=> Array
2652
+ # resp.storage_lens_configuration_list[0].id #=> String
2653
+ # resp.storage_lens_configuration_list[0].storage_lens_arn #=> String
2654
+ # resp.storage_lens_configuration_list[0].home_region #=> String
2655
+ # resp.storage_lens_configuration_list[0].is_enabled #=> Boolean
2656
+ #
2657
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensConfigurations AWS API Documentation
2658
+ #
2659
+ # @overload list_storage_lens_configurations(params = {})
2660
+ # @param [Hash] params ({})
2661
+ def list_storage_lens_configurations(params = {}, options = {})
2662
+ req = build_request(:list_storage_lens_configurations, params)
2663
+ req.send_request(options)
2664
+ end
2665
+
2344
2666
  # Associates an access policy with the specified access point. Each
2345
2667
  # access point can have only one policy, so a request made to this API
2346
2668
  # replaces any existing policy associated with the specified access
@@ -2349,11 +2671,12 @@ module Aws::S3Control
2349
2671
  #
2350
2672
  #
2351
2673
  # All Amazon S3 on Outposts REST API requests for this action require an
2352
- # additional parameter of outpost-id to be passed with the request and
2353
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
2354
- # an example of the request syntax for Amazon S3 on Outposts that uses
2355
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
2356
- # using the access point ARN, see the [ Example][1] section below.
2674
+ # additional parameter of `x-amz-outpost-id` to be passed with the
2675
+ # request and an S3 on Outposts endpoint hostname prefix instead of
2676
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
2677
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2678
+ # `x-amz-outpost-id` derived using the access point ARN, see the
2679
+ # [Examples][1] section.
2357
2680
  #
2358
2681
  # The following actions are related to `PutAccessPointPolicy`\:
2359
2682
  #
@@ -2363,7 +2686,7 @@ module Aws::S3Control
2363
2686
  #
2364
2687
  #
2365
2688
  #
2366
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_PutAccessPointPolicy.html#API_control_PutAccessPointPolicy_Examples
2689
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html#API_control_PutAccessPointPolicy_Examples
2367
2690
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicy.html
2368
2691
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html
2369
2692
  #
@@ -2375,8 +2698,11 @@ module Aws::S3Control
2375
2698
  # The name of the access point that you want to associate with the
2376
2699
  # specified policy.
2377
2700
  #
2378
- # For Amazon S3 on Outposts specify the ARN of the access point accessed
2379
- # in the format
2701
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
2702
+ # you must specify the name and the x-amz-outpost-id as well.
2703
+ #
2704
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
2705
+ # you must specify the ARN of the access point accessed in the format
2380
2706
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
2381
2707
  # For example, to access the access point `reports-ap` through outpost
2382
2708
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -2386,8 +2712,8 @@ module Aws::S3Control
2386
2712
  #
2387
2713
  # @option params [required, String] :policy
2388
2714
  # The policy that you want to apply to the specified access point. For
2389
- # more information about access point policies, see [Managing Data
2390
- # Access with Amazon S3 Access Points][1] in the *Amazon Simple Storage
2715
+ # more information about access point policies, see [Managing data
2716
+ # access with Amazon S3 Access Points][1] in the *Amazon Simple Storage
2391
2717
  # Service Developer Guide*.
2392
2718
  #
2393
2719
  #
@@ -2413,27 +2739,29 @@ module Aws::S3Control
2413
2739
  req.send_request(options)
2414
2740
  end
2415
2741
 
2416
- # <note markdown="1"> This API action puts a lifecycle configuration to an Amazon S3 on
2417
- # Outposts bucket. To put a lifecycle configuration to an S3 bucket, see
2742
+ # <note markdown="1"> This action puts a lifecycle configuration to an Amazon S3 on Outposts
2743
+ # bucket. To put a lifecycle configuration to an S3 bucket, see
2418
2744
  # [PutBucketLifecycleConfiguration][1] in the *Amazon Simple Storage
2419
2745
  # Service API*.
2420
2746
  #
2421
2747
  # </note>
2422
2748
  #
2423
2749
  # Creates a new lifecycle configuration for the Outposts bucket or
2424
- # replaces an existing lifecycle configuration. Outposts buckets can
2425
- # only support a lifecycle that deletes objects after a certain period
2426
- # of time. For more information, see [Managing Lifecycle Permissions for
2427
- # Amazon S3 on Outposts][2].
2750
+ # replaces an existing lifecycle configuration. Outposts buckets only
2751
+ # support lifecycle configurations that delete/expire objects after a
2752
+ # certain period of time and abort incomplete multipart uploads. For
2753
+ # more information, see [Managing Lifecycle Permissions for Amazon S3 on
2754
+ # Outposts][2].
2428
2755
  #
2429
2756
  #
2430
2757
  #
2431
2758
  # All Amazon S3 on Outposts REST API requests for this action require an
2432
- # additional parameter of outpost-id to be passed with the request and
2433
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
2434
- # an example of the request syntax for Amazon S3 on Outposts that uses
2435
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
2436
- # using the access point ARN, see the [ Example][3] section below.
2759
+ # additional parameter of `x-amz-outpost-id` to be passed with the
2760
+ # request and an S3 on Outposts endpoint hostname prefix instead of
2761
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
2762
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2763
+ # `x-amz-outpost-id` derived using the access point ARN, see the
2764
+ # [Examples][3] section.
2437
2765
  #
2438
2766
  # The following actions are related to
2439
2767
  # `PutBucketLifecycleConfiguration`\:
@@ -2446,7 +2774,7 @@ module Aws::S3Control
2446
2774
  #
2447
2775
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html
2448
2776
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
2449
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples
2777
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples
2450
2778
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html
2451
2779
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
2452
2780
  #
@@ -2525,9 +2853,9 @@ module Aws::S3Control
2525
2853
  req.send_request(options)
2526
2854
  end
2527
2855
 
2528
- # <note markdown="1"> This API action puts a bucket policy to an Amazon S3 on Outposts
2529
- # bucket. To put a policy on an S3 bucket, see [PutBucketPolicy][1] in
2530
- # the *Amazon Simple Storage Service API*.
2856
+ # <note markdown="1"> This action puts a bucket policy to an Amazon S3 on Outposts bucket.
2857
+ # To put a policy on an S3 bucket, see [PutBucketPolicy][1] in the
2858
+ # *Amazon Simple Storage Service API*.
2531
2859
  #
2532
2860
  # </note>
2533
2861
  #
@@ -2553,11 +2881,12 @@ module Aws::S3Control
2553
2881
  # and User Policies][3].
2554
2882
  #
2555
2883
  # All Amazon S3 on Outposts REST API requests for this action require an
2556
- # additional parameter of outpost-id to be passed with the request and
2557
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
2558
- # an example of the request syntax for Amazon S3 on Outposts that uses
2559
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
2560
- # using the access point ARN, see the [ Example][4] section below.
2884
+ # additional parameter of `x-amz-outpost-id` to be passed with the
2885
+ # request and an S3 on Outposts endpoint hostname prefix instead of
2886
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
2887
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
2888
+ # `x-amz-outpost-id` derived using the access point ARN, see the
2889
+ # [Examples][4] section.
2561
2890
  #
2562
2891
  # The following actions are related to `PutBucketPolicy`\:
2563
2892
  #
@@ -2570,7 +2899,7 @@ module Aws::S3Control
2570
2899
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html
2571
2900
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html
2572
2901
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
2573
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples
2902
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples
2574
2903
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
2575
2904
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html
2576
2905
  #
@@ -2578,10 +2907,13 @@ module Aws::S3Control
2578
2907
  # The AWS account ID of the Outposts bucket.
2579
2908
  #
2580
2909
  # @option params [required, String] :bucket
2581
- # The ARN of the bucket.
2910
+ # Specifies the bucket.
2582
2911
  #
2583
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
2584
- # the format
2912
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
2913
+ # you must specify the name and the x-amz-outpost-id as well.
2914
+ #
2915
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
2916
+ # you must specify the ARN of the bucket accessed in the format
2585
2917
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
2586
2918
  # For example, to access the bucket `reports` through outpost
2587
2919
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -2620,8 +2952,8 @@ module Aws::S3Control
2620
2952
  req.send_request(options)
2621
2953
  end
2622
2954
 
2623
- # <note markdown="1"> This API action puts tags on an Amazon S3 on Outposts bucket. To put
2624
- # tags on an S3 bucket, see [PutBucketTagging][1] in the *Amazon Simple
2955
+ # <note markdown="1"> This action puts tags on an Amazon S3 on Outposts bucket. To put tags
2956
+ # on an S3 bucket, see [PutBucketTagging][1] in the *Amazon Simple
2625
2957
  # Storage Service API*.
2626
2958
  #
2627
2959
  # </note>
@@ -2646,7 +2978,7 @@ module Aws::S3Control
2646
2978
  # </note>
2647
2979
  #
2648
2980
  # To use this operation, you must have permissions to perform the
2649
- # `s3outposts:PutBucketTagging` action. The Outposts bucket owner has
2981
+ # `s3-outposts:PutBucketTagging` action. The Outposts bucket owner has
2650
2982
  # this permission by default and can grant this permission to others.
2651
2983
  # For more information about permissions, see [ Permissions Related to
2652
2984
  # Bucket Subresource Operations][5] and [Managing Access Permissions to
@@ -2684,11 +3016,12 @@ module Aws::S3Control
2684
3016
  # ^
2685
3017
  #
2686
3018
  # All Amazon S3 on Outposts REST API requests for this action require an
2687
- # additional parameter of outpost-id to be passed with the request and
2688
- # an S3 on Outposts endpoint hostname prefix instead of s3-control. For
2689
- # an example of the request syntax for Amazon S3 on Outposts that uses
2690
- # the S3 on Outposts endpoint hostname prefix and the outpost-id derived
2691
- # using the access point ARN, see the [ Example][9] section below.
3019
+ # additional parameter of `x-amz-outpost-id` to be passed with the
3020
+ # request and an S3 on Outposts endpoint hostname prefix instead of
3021
+ # `s3-control`. For an example of the request syntax for Amazon S3 on
3022
+ # Outposts that uses the S3 on Outposts endpoint hostname prefix and the
3023
+ # `x-amz-outpost-id` derived using the access point ARN, see the
3024
+ # [Examples][9] section.
2692
3025
  #
2693
3026
  # The following actions are related to `PutBucketTagging`\:
2694
3027
  #
@@ -2706,7 +3039,7 @@ module Aws::S3Control
2706
3039
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html
2707
3040
  # [7]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
2708
3041
  # [8]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html
2709
- # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API__control_PutBucketTagging.html#API_control_PutBucketTagging_Examples
3042
+ # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples
2710
3043
  # [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html
2711
3044
  # [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
2712
3045
  #
@@ -2716,8 +3049,11 @@ module Aws::S3Control
2716
3049
  # @option params [required, String] :bucket
2717
3050
  # The Amazon Resource Name (ARN) of the bucket.
2718
3051
  #
2719
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
2720
- # the format
3052
+ # For using this parameter with Amazon S3 on Outposts with the REST API,
3053
+ # you must specify the name and the x-amz-outpost-id as well.
3054
+ #
3055
+ # For using this parameter with S3 on Outposts with the AWS SDK and CLI,
3056
+ # you must specify the ARN of the bucket accessed in the format
2721
3057
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
2722
3058
  # For example, to access the bucket `reports` through outpost
2723
3059
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -2760,7 +3096,7 @@ module Aws::S3Control
2760
3096
  # that is associated with the job. To modify the existing tag set, you
2761
3097
  # can either replace the existing tag set entirely, or make changes
2762
3098
  # within the existing tag set by retrieving the existing tag set using
2763
- # [GetJobTagging][1], modify that tag set, and use this API action to
3099
+ # [GetJobTagging][1], modify that tag set, and use this action to
2764
3100
  # replace the tag set with the one you modified. For more information,
2765
3101
  # see [Controlling access and labeling jobs using tags][2] in the
2766
3102
  # *Amazon Simple Storage Service Developer Guide*.
@@ -2896,6 +3232,168 @@ module Aws::S3Control
2896
3232
  req.send_request(options)
2897
3233
  end
2898
3234
 
3235
+ # Puts an Amazon S3 Storage Lens configuration. For more information
3236
+ # about S3 Storage Lens, see [Working with Amazon S3 Storage Lens][1] in
3237
+ # the *Amazon Simple Storage Service Developer Guide*.
3238
+ #
3239
+ # <note markdown="1"> To use this action, you must have permission to perform the
3240
+ # `s3:PutStorageLensConfiguration` action. For more information, see
3241
+ # [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
3242
+ # Simple Storage Service Developer Guide*.
3243
+ #
3244
+ # </note>
3245
+ #
3246
+ #
3247
+ #
3248
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html
3249
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html#storage_lens_IAM
3250
+ #
3251
+ # @option params [required, String] :config_id
3252
+ # The ID of the S3 Storage Lens configuration.
3253
+ #
3254
+ # @option params [required, String] :account_id
3255
+ # The account ID of the requester.
3256
+ #
3257
+ # @option params [required, Types::StorageLensConfiguration] :storage_lens_configuration
3258
+ # The S3 Storage Lens configuration.
3259
+ #
3260
+ # @option params [Array<Types::StorageLensTag>] :tags
3261
+ # The tag set of the S3 Storage Lens configuration.
3262
+ #
3263
+ # <note markdown="1"> You can set up to a maximum of 50 tags.
3264
+ #
3265
+ # </note>
3266
+ #
3267
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3268
+ #
3269
+ # @example Request syntax with placeholder values
3270
+ #
3271
+ # resp = client.put_storage_lens_configuration({
3272
+ # config_id: "ConfigId", # required
3273
+ # account_id: "AccountId", # required
3274
+ # storage_lens_configuration: { # required
3275
+ # id: "ConfigId", # required
3276
+ # account_level: { # required
3277
+ # activity_metrics: {
3278
+ # is_enabled: false,
3279
+ # },
3280
+ # bucket_level: { # required
3281
+ # activity_metrics: {
3282
+ # is_enabled: false,
3283
+ # },
3284
+ # prefix_level: {
3285
+ # storage_metrics: { # required
3286
+ # is_enabled: false,
3287
+ # selection_criteria: {
3288
+ # delimiter: "StorageLensPrefixLevelDelimiter",
3289
+ # max_depth: 1,
3290
+ # min_storage_bytes_percentage: 1.0,
3291
+ # },
3292
+ # },
3293
+ # },
3294
+ # },
3295
+ # },
3296
+ # include: {
3297
+ # buckets: ["S3BucketArnString"],
3298
+ # regions: ["S3AWSRegion"],
3299
+ # },
3300
+ # exclude: {
3301
+ # buckets: ["S3BucketArnString"],
3302
+ # regions: ["S3AWSRegion"],
3303
+ # },
3304
+ # data_export: {
3305
+ # s3_bucket_destination: { # required
3306
+ # format: "CSV", # required, accepts CSV, Parquet
3307
+ # output_schema_version: "V_1", # required, accepts V_1
3308
+ # account_id: "AccountId", # required
3309
+ # arn: "S3BucketArnString", # required
3310
+ # prefix: "Prefix",
3311
+ # encryption: {
3312
+ # sses3: {
3313
+ # },
3314
+ # ssekms: {
3315
+ # key_id: "SSEKMSKeyId", # required
3316
+ # },
3317
+ # },
3318
+ # },
3319
+ # },
3320
+ # is_enabled: false, # required
3321
+ # aws_org: {
3322
+ # arn: "AwsOrgArn", # required
3323
+ # },
3324
+ # storage_lens_arn: "StorageLensArn",
3325
+ # },
3326
+ # tags: [
3327
+ # {
3328
+ # key: "TagKeyString", # required
3329
+ # value: "TagValueString", # required
3330
+ # },
3331
+ # ],
3332
+ # })
3333
+ #
3334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfiguration AWS API Documentation
3335
+ #
3336
+ # @overload put_storage_lens_configuration(params = {})
3337
+ # @param [Hash] params ({})
3338
+ def put_storage_lens_configuration(params = {}, options = {})
3339
+ req = build_request(:put_storage_lens_configuration, params)
3340
+ req.send_request(options)
3341
+ end
3342
+
3343
+ # Put or replace tags on an existing Amazon S3 Storage Lens
3344
+ # configuration. For more information about S3 Storage Lens, see
3345
+ # [Working with Amazon S3 Storage Lens][1] in the *Amazon Simple Storage
3346
+ # Service Developer Guide*.
3347
+ #
3348
+ # <note markdown="1"> To use this action, you must have permission to perform the
3349
+ # `s3:PutStorageLensConfigurationTagging` action. For more information,
3350
+ # see [Setting permissions to use Amazon S3 Storage Lens][2] in the
3351
+ # *Amazon Simple Storage Service Developer Guide*.
3352
+ #
3353
+ # </note>
3354
+ #
3355
+ #
3356
+ #
3357
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html
3358
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html#storage_lens_IAM
3359
+ #
3360
+ # @option params [required, String] :config_id
3361
+ # The ID of the S3 Storage Lens configuration.
3362
+ #
3363
+ # @option params [required, String] :account_id
3364
+ # The account ID of the requester.
3365
+ #
3366
+ # @option params [required, Array<Types::StorageLensTag>] :tags
3367
+ # The tag set of the S3 Storage Lens configuration.
3368
+ #
3369
+ # <note markdown="1"> You can set up to a maximum of 50 tags.
3370
+ #
3371
+ # </note>
3372
+ #
3373
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3374
+ #
3375
+ # @example Request syntax with placeholder values
3376
+ #
3377
+ # resp = client.put_storage_lens_configuration_tagging({
3378
+ # config_id: "ConfigId", # required
3379
+ # account_id: "AccountId", # required
3380
+ # tags: [ # required
3381
+ # {
3382
+ # key: "TagKeyString", # required
3383
+ # value: "TagValueString", # required
3384
+ # },
3385
+ # ],
3386
+ # })
3387
+ #
3388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfigurationTagging AWS API Documentation
3389
+ #
3390
+ # @overload put_storage_lens_configuration_tagging(params = {})
3391
+ # @param [Hash] params ({})
3392
+ def put_storage_lens_configuration_tagging(params = {}, options = {})
3393
+ req = build_request(:put_storage_lens_configuration_tagging, params)
3394
+ req.send_request(options)
3395
+ end
3396
+
2899
3397
  # Updates an existing S3 Batch Operations job's priority. For more
2900
3398
  # information, see [S3 Batch Operations][1] in the *Amazon Simple
2901
3399
  # Storage Service Developer Guide*.
@@ -3035,7 +3533,7 @@ module Aws::S3Control
3035
3533
  params: params,
3036
3534
  config: config)
3037
3535
  context[:gem_name] = 'aws-sdk-s3control'
3038
- context[:gem_version] = '1.24.0'
3536
+ context[:gem_version] = '1.25.0'
3039
3537
  Seahorse::Client::Request.new(handlers, context)
3040
3538
  end
3041
3539