aws-sdk-s3control 1.29.0 → 1.34.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control.rb +2 -2
- data/lib/aws-sdk-s3control/client.rb +631 -149
- data/lib/aws-sdk-s3control/client_api.rb +264 -1
- data/lib/aws-sdk-s3control/errors.rb +1 -1
- data/lib/aws-sdk-s3control/resource.rb +1 -1
- data/lib/aws-sdk-s3control/types.rb +633 -38
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4270bc988dad22ba4f6fd07faa6fd58b04a145b7f4a5ba17ecdc219fe8ad19ca
|
4
|
+
data.tar.gz: 6e0241a89ff44d36566b430e9b85c5ad75ccd4860a89e57f5a0e1cdf0c19d6f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc4fac4ef4540039bb4ce0d99900a14b769f2074111cb9a719c4cf1d0aee77777fb3df30d618fb978779fb926e785c31906fed6e1767ded3bc05447b7fbc39f1
|
7
|
+
data.tar.gz: 649a09d7d52285dd6c9f9c1dbbddafd3765bfcb09c54ad456f6973b8c77e702196092f6ce7147c3ba73c140a393b449a573b72e108fd8fd7d3c7efc81369c6ba
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.34.0 (2021-06-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon S3 Batch Operations now supports S3 Bucket Keys.
|
8
|
+
|
9
|
+
1.33.0 (2021-05-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon S3-control
|
13
|
+
|
14
|
+
1.32.0 (2021-03-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for s3-control
|
18
|
+
|
19
|
+
1.31.0 (2021-03-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - S3 Object Lambda is a new S3 feature that enables users to apply their own custom code to process the output of a standard S3 GET request by automatically invoking a Lambda function with a GET request
|
23
|
+
|
24
|
+
1.30.0 (2021-03-10)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
4
29
|
1.29.0 (2021-03-08)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.34.0
|
data/lib/aws-sdk-s3control.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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.
|
51
|
+
GEM_VERSION = '1.34.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -345,25 +345,17 @@ module Aws::S3Control
|
|
345
345
|
|
346
346
|
# Creates an access point and associates it with the specified bucket.
|
347
347
|
# For more information, see [Managing Data Access with Amazon S3 Access
|
348
|
-
# Points][1] in the *Amazon
|
348
|
+
# Points][1] in the *Amazon S3 User Guide*.
|
349
349
|
#
|
350
350
|
#
|
351
351
|
#
|
352
|
-
#
|
352
|
+
# <note markdown="1"> S3 on Outposts only supports VPC-style access points.
|
353
353
|
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
# Outposts only supports VPC style access points.
|
358
|
-
#
|
359
|
-
# * Does not support ACL on S3 on Outposts buckets.
|
360
|
-
#
|
361
|
-
# * Does not support Public Access on S3 on Outposts buckets.
|
362
|
-
#
|
363
|
-
# * Does not support object lock for S3 on Outposts buckets.
|
354
|
+
# For more information, see [ Accessing Amazon S3 on Outposts using
|
355
|
+
# virtual private cloud (VPC) only access points][2] in the *Amazon S3
|
356
|
+
# User Guide*.
|
364
357
|
#
|
365
|
-
#
|
366
|
-
# <i>Amazon Simple Storage Service User Guide </i>.
|
358
|
+
# </note>
|
367
359
|
#
|
368
360
|
# All Amazon S3 on Outposts REST API requests for this action require an
|
369
361
|
# additional parameter of `x-amz-outpost-id` to be passed with the
|
@@ -385,8 +377,8 @@ module Aws::S3Control
|
|
385
377
|
#
|
386
378
|
#
|
387
379
|
#
|
388
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
389
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
380
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
381
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
390
382
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html#API_control_CreateAccessPoint_Examples
|
391
383
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html
|
392
384
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html
|
@@ -425,17 +417,8 @@ module Aws::S3Control
|
|
425
417
|
# </note>
|
426
418
|
#
|
427
419
|
# @option params [Types::PublicAccessBlockConfiguration] :public_access_block_configuration
|
428
|
-
# The `PublicAccessBlock` configuration that you want to apply to
|
429
|
-
#
|
430
|
-
# combination. For more information about when Amazon S3 considers a
|
431
|
-
# bucket or object public, see [The Meaning of "Public"][1] in the
|
432
|
-
# *Amazon Simple Storage Service Developer Guide*.
|
433
|
-
#
|
434
|
-
# This is not supported for Amazon S3 on Outposts.
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
438
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status
|
420
|
+
# The `PublicAccessBlock` configuration that you want to apply to the
|
421
|
+
# access point.
|
439
422
|
#
|
440
423
|
# @return [Types::CreateAccessPointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
441
424
|
#
|
@@ -471,16 +454,85 @@ module Aws::S3Control
|
|
471
454
|
req.send_request(options)
|
472
455
|
end
|
473
456
|
|
457
|
+
# Creates an Object Lambda Access Point. For more information, see
|
458
|
+
# [Transforming objects with Object Lambda Access Points][1] in the
|
459
|
+
# *Amazon S3 User Guide*.
|
460
|
+
#
|
461
|
+
# The following actions are related to
|
462
|
+
# `CreateAccessPointForObjectLambda`\:
|
463
|
+
#
|
464
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
465
|
+
#
|
466
|
+
# * [GetAccessPointForObjectLambda][3]
|
467
|
+
#
|
468
|
+
# * [ListAccessPointsForObjectLambda][4]
|
469
|
+
#
|
470
|
+
#
|
471
|
+
#
|
472
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html
|
473
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
474
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
475
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
476
|
+
#
|
477
|
+
# @option params [required, String] :account_id
|
478
|
+
# The AWS account ID for owner of the specified Object Lambda Access
|
479
|
+
# Point.
|
480
|
+
#
|
481
|
+
# @option params [required, String] :name
|
482
|
+
# The name you want to assign to this Object Lambda Access Point.
|
483
|
+
#
|
484
|
+
# @option params [required, Types::ObjectLambdaConfiguration] :configuration
|
485
|
+
# Object Lambda Access Point configuration as a JSON document.
|
486
|
+
#
|
487
|
+
# @return [Types::CreateAccessPointForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
488
|
+
#
|
489
|
+
# * {Types::CreateAccessPointForObjectLambdaResult#object_lambda_access_point_arn #object_lambda_access_point_arn} => String
|
490
|
+
#
|
491
|
+
# @example Request syntax with placeholder values
|
492
|
+
#
|
493
|
+
# resp = client.create_access_point_for_object_lambda({
|
494
|
+
# account_id: "AccountId", # required
|
495
|
+
# name: "ObjectLambdaAccessPointName", # required
|
496
|
+
# configuration: { # required
|
497
|
+
# supporting_access_point: "ObjectLambdaSupportingAccessPointArn", # required
|
498
|
+
# cloud_watch_metrics_enabled: false,
|
499
|
+
# allowed_features: ["GetObject-Range"], # accepts GetObject-Range, GetObject-PartNumber
|
500
|
+
# transformation_configurations: [ # required
|
501
|
+
# {
|
502
|
+
# actions: ["GetObject"], # required, accepts GetObject
|
503
|
+
# content_transformation: { # required
|
504
|
+
# aws_lambda: {
|
505
|
+
# function_arn: "FunctionArnString", # required
|
506
|
+
# function_payload: "AwsLambdaTransformationPayload",
|
507
|
+
# },
|
508
|
+
# },
|
509
|
+
# },
|
510
|
+
# ],
|
511
|
+
# },
|
512
|
+
# })
|
513
|
+
#
|
514
|
+
# @example Response structure
|
515
|
+
#
|
516
|
+
# resp.object_lambda_access_point_arn #=> String
|
517
|
+
#
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointForObjectLambda AWS API Documentation
|
519
|
+
#
|
520
|
+
# @overload create_access_point_for_object_lambda(params = {})
|
521
|
+
# @param [Hash] params ({})
|
522
|
+
def create_access_point_for_object_lambda(params = {}, options = {})
|
523
|
+
req = build_request(:create_access_point_for_object_lambda, params)
|
524
|
+
req.send_request(options)
|
525
|
+
end
|
526
|
+
|
474
527
|
# <note markdown="1"> This action creates an Amazon S3 on Outposts bucket. To create an S3
|
475
|
-
# bucket, see [Create Bucket][1] in the *Amazon
|
476
|
-
# API*.
|
528
|
+
# bucket, see [Create Bucket][1] in the *Amazon S3 API Reference*.
|
477
529
|
#
|
478
530
|
# </note>
|
479
531
|
#
|
480
532
|
# Creates a new Outposts bucket. By creating the bucket, you become the
|
481
533
|
# bucket owner. To create an Outposts bucket, you must have S3 on
|
482
534
|
# Outposts. For more information, see [Using Amazon S3 on Outposts][2]
|
483
|
-
# in *Amazon
|
535
|
+
# in *Amazon S3 User Guide*.
|
484
536
|
#
|
485
537
|
# Not every string is an acceptable bucket name. For information on
|
486
538
|
# bucket naming restrictions, see [Working with Amazon S3 Buckets][3].
|
@@ -491,8 +543,9 @@ module Aws::S3Control
|
|
491
543
|
#
|
492
544
|
# * LifecycleConfigurations for deleting expired objects
|
493
545
|
#
|
494
|
-
# For a list of
|
495
|
-
# Outposts, see [
|
546
|
+
# For a complete list of restrictions and Amazon S3 feature limitations
|
547
|
+
# on S3 on Outposts, see [ Amazon S3 on Outposts Restrictions and
|
548
|
+
# Limitations][4].
|
496
549
|
#
|
497
550
|
# For an example of the request syntax for Amazon S3 on Outposts that
|
498
551
|
# uses the S3 on Outposts endpoint hostname prefix and
|
@@ -514,9 +567,9 @@ module Aws::S3Control
|
|
514
567
|
#
|
515
568
|
#
|
516
569
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
|
517
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
518
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/
|
519
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OnOutpostsRestrictionsLimitations.html
|
570
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
571
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/BucketRestrictions.html#bucketnamingrules
|
572
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OnOutpostsRestrictionsLimitations.html
|
520
573
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html#API_control_CreateBucket_Examples
|
521
574
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
522
575
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
|
@@ -632,8 +685,7 @@ module Aws::S3Control
|
|
632
685
|
# You can use S3 Batch Operations to perform large-scale batch actions
|
633
686
|
# on Amazon S3 objects. Batch Operations can run a single action on
|
634
687
|
# lists of Amazon S3 objects that you specify. For more information, see
|
635
|
-
# [S3 Batch Operations][1] in the *Amazon
|
636
|
-
# Guide*.
|
688
|
+
# [S3 Batch Operations][1] in the *Amazon S3 User Guide*.
|
637
689
|
#
|
638
690
|
# This action creates a S3 Batch Operations job.
|
639
691
|
#
|
@@ -671,7 +723,7 @@ module Aws::S3Control
|
|
671
723
|
# @option params [required, Types::JobOperation] :operation
|
672
724
|
# The action that you want this job to perform on every object listed in
|
673
725
|
# the manifest. For more information about the available actions, see
|
674
|
-
# [Operations][1] in the *Amazon
|
726
|
+
# [Operations][1] in the *Amazon S3 User Guide*.
|
675
727
|
#
|
676
728
|
#
|
677
729
|
#
|
@@ -766,6 +818,7 @@ module Aws::S3Control
|
|
766
818
|
# object_lock_legal_hold_status: "OFF", # accepts OFF, ON
|
767
819
|
# object_lock_mode: "COMPLIANCE", # accepts COMPLIANCE, GOVERNANCE
|
768
820
|
# object_lock_retain_until_date: Time.now,
|
821
|
+
# bucket_key_enabled: false,
|
769
822
|
# },
|
770
823
|
# s3_put_object_acl: {
|
771
824
|
# access_control_policy: {
|
@@ -919,6 +972,48 @@ module Aws::S3Control
|
|
919
972
|
req.send_request(options)
|
920
973
|
end
|
921
974
|
|
975
|
+
# Deletes the specified Object Lambda Access Point.
|
976
|
+
#
|
977
|
+
# The following actions are related to
|
978
|
+
# `DeleteAccessPointForObjectLambda`\:
|
979
|
+
#
|
980
|
+
# * [CreateAccessPointForObjectLambda][1]
|
981
|
+
#
|
982
|
+
# * [GetAccessPointForObjectLambda][2]
|
983
|
+
#
|
984
|
+
# * [ListAccessPointsForObjectLambda][3]
|
985
|
+
#
|
986
|
+
#
|
987
|
+
#
|
988
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
989
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
990
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
991
|
+
#
|
992
|
+
# @option params [required, String] :account_id
|
993
|
+
# The account ID for the account that owns the specified Object Lambda
|
994
|
+
# Access Point.
|
995
|
+
#
|
996
|
+
# @option params [required, String] :name
|
997
|
+
# The name of the access point you want to delete.
|
998
|
+
#
|
999
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1000
|
+
#
|
1001
|
+
# @example Request syntax with placeholder values
|
1002
|
+
#
|
1003
|
+
# resp = client.delete_access_point_for_object_lambda({
|
1004
|
+
# account_id: "AccountId", # required
|
1005
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1006
|
+
# })
|
1007
|
+
#
|
1008
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointForObjectLambda AWS API Documentation
|
1009
|
+
#
|
1010
|
+
# @overload delete_access_point_for_object_lambda(params = {})
|
1011
|
+
# @param [Hash] params ({})
|
1012
|
+
def delete_access_point_for_object_lambda(params = {}, options = {})
|
1013
|
+
req = build_request(:delete_access_point_for_object_lambda, params)
|
1014
|
+
req.send_request(options)
|
1015
|
+
end
|
1016
|
+
|
922
1017
|
# Deletes the access point policy for the specified access point.
|
923
1018
|
#
|
924
1019
|
#
|
@@ -979,17 +1074,55 @@ module Aws::S3Control
|
|
979
1074
|
req.send_request(options)
|
980
1075
|
end
|
981
1076
|
|
1077
|
+
# Removes the resource policy for an Object Lambda Access Point.
|
1078
|
+
#
|
1079
|
+
# The following actions are related to
|
1080
|
+
# `DeleteAccessPointPolicyForObjectLambda`\:
|
1081
|
+
#
|
1082
|
+
# * [GetAccessPointPolicyForObjectLambda][1]
|
1083
|
+
#
|
1084
|
+
# * [PutAccessPointPolicyForObjectLambda][2]
|
1085
|
+
#
|
1086
|
+
#
|
1087
|
+
#
|
1088
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html
|
1089
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html
|
1090
|
+
#
|
1091
|
+
# @option params [required, String] :account_id
|
1092
|
+
# The account ID for the account that owns the specified Object Lambda
|
1093
|
+
# Access Point.
|
1094
|
+
#
|
1095
|
+
# @option params [required, String] :name
|
1096
|
+
# The name of the Object Lambda Access Point you want to delete the
|
1097
|
+
# policy for.
|
1098
|
+
#
|
1099
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1100
|
+
#
|
1101
|
+
# @example Request syntax with placeholder values
|
1102
|
+
#
|
1103
|
+
# resp = client.delete_access_point_policy_for_object_lambda({
|
1104
|
+
# account_id: "AccountId", # required
|
1105
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1106
|
+
# })
|
1107
|
+
#
|
1108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicyForObjectLambda AWS API Documentation
|
1109
|
+
#
|
1110
|
+
# @overload delete_access_point_policy_for_object_lambda(params = {})
|
1111
|
+
# @param [Hash] params ({})
|
1112
|
+
def delete_access_point_policy_for_object_lambda(params = {}, options = {})
|
1113
|
+
req = build_request(:delete_access_point_policy_for_object_lambda, params)
|
1114
|
+
req.send_request(options)
|
1115
|
+
end
|
1116
|
+
|
982
1117
|
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket. To delete an S3
|
983
|
-
# bucket, see [DeleteBucket][1] in the *Amazon
|
984
|
-
# API*.
|
1118
|
+
# bucket, see [DeleteBucket][1] in the *Amazon S3 API Reference*.
|
985
1119
|
#
|
986
1120
|
# </note>
|
987
1121
|
#
|
988
1122
|
# Deletes the Amazon S3 on Outposts bucket. All objects (including all
|
989
1123
|
# object versions and delete markers) in the bucket must be deleted
|
990
1124
|
# before the bucket itself can be deleted. For more information, see
|
991
|
-
# [Using Amazon S3 on Outposts][2] in *Amazon
|
992
|
-
# User Guide*.
|
1125
|
+
# [Using Amazon S3 on Outposts][2] in *Amazon S3 User Guide*.
|
993
1126
|
#
|
994
1127
|
# All Amazon S3 on Outposts REST API requests for this action require an
|
995
1128
|
# additional parameter of `x-amz-outpost-id` to be passed with the
|
@@ -1010,7 +1143,7 @@ module Aws::S3Control
|
|
1010
1143
|
#
|
1011
1144
|
#
|
1012
1145
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
|
1013
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1146
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1014
1147
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html#API_control_DeleteBucket_Examples
|
1015
1148
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
1016
1149
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
|
@@ -1054,7 +1187,7 @@ module Aws::S3Control
|
|
1054
1187
|
|
1055
1188
|
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket's lifecycle
|
1056
1189
|
# configuration. To delete an S3 bucket's lifecycle configuration, see
|
1057
|
-
# [DeleteBucketLifecycle][1] in the *Amazon
|
1190
|
+
# [DeleteBucketLifecycle][1] in the *Amazon S3 API Reference*.
|
1058
1191
|
#
|
1059
1192
|
# </note>
|
1060
1193
|
#
|
@@ -1064,8 +1197,7 @@ module Aws::S3Control
|
|
1064
1197
|
# objects never expire, and Amazon S3 on Outposts no longer
|
1065
1198
|
# automatically deletes any objects on the basis of rules contained in
|
1066
1199
|
# the deleted lifecycle configuration. For more information, see [Using
|
1067
|
-
# Amazon S3 on Outposts][2] in *Amazon
|
1068
|
-
# Guide*.
|
1200
|
+
# Amazon S3 on Outposts][2] in *Amazon S3 User Guide*.
|
1069
1201
|
#
|
1070
1202
|
# To use this action, you must have permission to perform the
|
1071
1203
|
# `s3-outposts:DeleteLifecycleConfiguration` action. By default, the
|
@@ -1092,7 +1224,7 @@ module Aws::S3Control
|
|
1092
1224
|
#
|
1093
1225
|
#
|
1094
1226
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
|
1095
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1227
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1096
1228
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples
|
1097
1229
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
|
1098
1230
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
|
@@ -1135,8 +1267,8 @@ module Aws::S3Control
|
|
1135
1267
|
end
|
1136
1268
|
|
1137
1269
|
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket policy. To delete
|
1138
|
-
# an S3 bucket policy, see [DeleteBucketPolicy][1] in the *Amazon
|
1139
|
-
#
|
1270
|
+
# an S3 bucket policy, see [DeleteBucketPolicy][1] in the *Amazon S3 API
|
1271
|
+
# Reference*.
|
1140
1272
|
#
|
1141
1273
|
# </note>
|
1142
1274
|
#
|
@@ -1147,7 +1279,7 @@ module Aws::S3Control
|
|
1147
1279
|
# `s3-outposts:DeleteBucketPolicy` permissions on the specified Outposts
|
1148
1280
|
# bucket and belong to the bucket owner's account to use this action.
|
1149
1281
|
# For more information, see [Using Amazon S3 on Outposts][2] in *Amazon
|
1150
|
-
#
|
1282
|
+
# S3 User Guide*.
|
1151
1283
|
#
|
1152
1284
|
# If you don't have `DeleteBucketPolicy` permissions, Amazon S3 returns
|
1153
1285
|
# a `403 Access Denied` error. If you have the correct permissions, but
|
@@ -1178,7 +1310,7 @@ module Aws::S3Control
|
|
1178
1310
|
#
|
1179
1311
|
#
|
1180
1312
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html
|
1181
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1313
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1182
1314
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
1183
1315
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples
|
1184
1316
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
|
@@ -1221,14 +1353,13 @@ module Aws::S3Control
|
|
1221
1353
|
end
|
1222
1354
|
|
1223
1355
|
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket's tags. To delete
|
1224
|
-
# an S3 bucket tags, see [DeleteBucketTagging][1] in the *Amazon
|
1225
|
-
#
|
1356
|
+
# an S3 bucket tags, see [DeleteBucketTagging][1] in the *Amazon S3 API
|
1357
|
+
# Reference*.
|
1226
1358
|
#
|
1227
1359
|
# </note>
|
1228
1360
|
#
|
1229
1361
|
# Deletes the tags from the Outposts bucket. For more information, see
|
1230
|
-
# [Using Amazon S3 on Outposts][2] in *Amazon
|
1231
|
-
# User Guide*.
|
1362
|
+
# [Using Amazon S3 on Outposts][2] in *Amazon S3 User Guide*.
|
1232
1363
|
#
|
1233
1364
|
# To use this action, you must have permission to perform the
|
1234
1365
|
# `PutBucketTagging` action. By default, the bucket owner has this
|
@@ -1251,7 +1382,7 @@ module Aws::S3Control
|
|
1251
1382
|
#
|
1252
1383
|
#
|
1253
1384
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html
|
1254
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1385
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1255
1386
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples
|
1256
1387
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html
|
1257
1388
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
@@ -1295,8 +1426,7 @@ module Aws::S3Control
|
|
1295
1426
|
# Removes the entire tag set from the specified S3 Batch Operations job.
|
1296
1427
|
# To use this operation, you must have permission to perform the
|
1297
1428
|
# `s3:DeleteJobTagging` action. For more information, see [Controlling
|
1298
|
-
# access and labeling jobs using tags][1] in the *Amazon
|
1299
|
-
# Service User Guide*.
|
1429
|
+
# access and labeling jobs using tags][1] in the *Amazon S3 User Guide*.
|
1300
1430
|
#
|
1301
1431
|
#
|
1302
1432
|
#
|
@@ -1377,13 +1507,12 @@ module Aws::S3Control
|
|
1377
1507
|
|
1378
1508
|
# Deletes the Amazon S3 Storage Lens configuration. For more information
|
1379
1509
|
# about S3 Storage Lens, see [Assessing your storage activity and usage
|
1380
|
-
# with Amazon S3 Storage Lens ][1] in the *Amazon
|
1381
|
-
# User Guide*.
|
1510
|
+
# with Amazon S3 Storage Lens ][1] in the *Amazon S3 User Guide*.
|
1382
1511
|
#
|
1383
1512
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
1384
1513
|
# `s3:DeleteStorageLensConfiguration` action. For more information, see
|
1385
1514
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
1386
|
-
#
|
1515
|
+
# S3 User Guide*.
|
1387
1516
|
#
|
1388
1517
|
# </note>
|
1389
1518
|
#
|
@@ -1418,13 +1547,13 @@ module Aws::S3Control
|
|
1418
1547
|
|
1419
1548
|
# Deletes the Amazon S3 Storage Lens configuration tags. For more
|
1420
1549
|
# information about S3 Storage Lens, see [Assessing your storage
|
1421
|
-
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
1422
|
-
#
|
1550
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon S3
|
1551
|
+
# User Guide*.
|
1423
1552
|
#
|
1424
1553
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
1425
1554
|
# `s3:DeleteStorageLensConfigurationTagging` action. For more
|
1426
1555
|
# information, see [Setting permissions to use Amazon S3 Storage
|
1427
|
-
# Lens][2] in the *Amazon
|
1556
|
+
# Lens][2] in the *Amazon S3 User Guide*.
|
1428
1557
|
#
|
1429
1558
|
# </note>
|
1430
1559
|
#
|
@@ -1459,7 +1588,7 @@ module Aws::S3Control
|
|
1459
1588
|
|
1460
1589
|
# Retrieves the configuration parameters and status for a Batch
|
1461
1590
|
# Operations job. For more information, see [S3 Batch Operations][1] in
|
1462
|
-
# the *Amazon
|
1591
|
+
# the *Amazon S3 User Guide*.
|
1463
1592
|
#
|
1464
1593
|
#
|
1465
1594
|
#
|
@@ -1545,6 +1674,7 @@ module Aws::S3Control
|
|
1545
1674
|
# resp.job.operation.s3_put_object_copy.object_lock_legal_hold_status #=> String, one of "OFF", "ON"
|
1546
1675
|
# resp.job.operation.s3_put_object_copy.object_lock_mode #=> String, one of "COMPLIANCE", "GOVERNANCE"
|
1547
1676
|
# resp.job.operation.s3_put_object_copy.object_lock_retain_until_date #=> Time
|
1677
|
+
# resp.job.operation.s3_put_object_copy.bucket_key_enabled #=> Boolean
|
1548
1678
|
# resp.job.operation.s3_put_object_acl.access_control_policy.access_control_list.owner.id #=> String
|
1549
1679
|
# resp.job.operation.s3_put_object_acl.access_control_policy.access_control_list.owner.display_name #=> String
|
1550
1680
|
# resp.job.operation.s3_put_object_acl.access_control_policy.access_control_list.grants #=> Array
|
@@ -1673,6 +1803,114 @@ module Aws::S3Control
|
|
1673
1803
|
req.send_request(options)
|
1674
1804
|
end
|
1675
1805
|
|
1806
|
+
# Returns configuration for an Object Lambda Access Point.
|
1807
|
+
#
|
1808
|
+
# The following actions are related to
|
1809
|
+
# `GetAccessPointConfigurationForObjectLambda`\:
|
1810
|
+
#
|
1811
|
+
# * [PutAccessPointConfigurationForObjectLambda][1]
|
1812
|
+
#
|
1813
|
+
# ^
|
1814
|
+
#
|
1815
|
+
#
|
1816
|
+
#
|
1817
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointConfigurationForObjectLambda.html
|
1818
|
+
#
|
1819
|
+
# @option params [required, String] :account_id
|
1820
|
+
# The account ID for the account that owns the specified Object Lambda
|
1821
|
+
# Access Point.
|
1822
|
+
#
|
1823
|
+
# @option params [required, String] :name
|
1824
|
+
# The name of the Object Lambda Access Point you want to return the
|
1825
|
+
# configuration for.
|
1826
|
+
#
|
1827
|
+
# @return [Types::GetAccessPointConfigurationForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1828
|
+
#
|
1829
|
+
# * {Types::GetAccessPointConfigurationForObjectLambdaResult#configuration #configuration} => Types::ObjectLambdaConfiguration
|
1830
|
+
#
|
1831
|
+
# @example Request syntax with placeholder values
|
1832
|
+
#
|
1833
|
+
# resp = client.get_access_point_configuration_for_object_lambda({
|
1834
|
+
# account_id: "AccountId", # required
|
1835
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1836
|
+
# })
|
1837
|
+
#
|
1838
|
+
# @example Response structure
|
1839
|
+
#
|
1840
|
+
# resp.configuration.supporting_access_point #=> String
|
1841
|
+
# resp.configuration.cloud_watch_metrics_enabled #=> Boolean
|
1842
|
+
# resp.configuration.allowed_features #=> Array
|
1843
|
+
# resp.configuration.allowed_features[0] #=> String, one of "GetObject-Range", "GetObject-PartNumber"
|
1844
|
+
# resp.configuration.transformation_configurations #=> Array
|
1845
|
+
# resp.configuration.transformation_configurations[0].actions #=> Array
|
1846
|
+
# resp.configuration.transformation_configurations[0].actions[0] #=> String, one of "GetObject"
|
1847
|
+
# resp.configuration.transformation_configurations[0].content_transformation.aws_lambda.function_arn #=> String
|
1848
|
+
# resp.configuration.transformation_configurations[0].content_transformation.aws_lambda.function_payload #=> String
|
1849
|
+
#
|
1850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointConfigurationForObjectLambda AWS API Documentation
|
1851
|
+
#
|
1852
|
+
# @overload get_access_point_configuration_for_object_lambda(params = {})
|
1853
|
+
# @param [Hash] params ({})
|
1854
|
+
def get_access_point_configuration_for_object_lambda(params = {}, options = {})
|
1855
|
+
req = build_request(:get_access_point_configuration_for_object_lambda, params)
|
1856
|
+
req.send_request(options)
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
# Returns configuration information about the specified Object Lambda
|
1860
|
+
# Access Point
|
1861
|
+
#
|
1862
|
+
# The following actions are related to `GetAccessPointForObjectLambda`\:
|
1863
|
+
#
|
1864
|
+
# * [CreateAccessPointForObjectLambda][1]
|
1865
|
+
#
|
1866
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
1867
|
+
#
|
1868
|
+
# * [ListAccessPointsForObjectLambda][3]
|
1869
|
+
#
|
1870
|
+
#
|
1871
|
+
#
|
1872
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
1873
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
1874
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
1875
|
+
#
|
1876
|
+
# @option params [required, String] :account_id
|
1877
|
+
# The account ID for the account that owns the specified Object Lambda
|
1878
|
+
# Access Point.
|
1879
|
+
#
|
1880
|
+
# @option params [required, String] :name
|
1881
|
+
# The name of the Object Lambda Access Point.
|
1882
|
+
#
|
1883
|
+
# @return [Types::GetAccessPointForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1884
|
+
#
|
1885
|
+
# * {Types::GetAccessPointForObjectLambdaResult#name #name} => String
|
1886
|
+
# * {Types::GetAccessPointForObjectLambdaResult#public_access_block_configuration #public_access_block_configuration} => Types::PublicAccessBlockConfiguration
|
1887
|
+
# * {Types::GetAccessPointForObjectLambdaResult#creation_date #creation_date} => Time
|
1888
|
+
#
|
1889
|
+
# @example Request syntax with placeholder values
|
1890
|
+
#
|
1891
|
+
# resp = client.get_access_point_for_object_lambda({
|
1892
|
+
# account_id: "AccountId", # required
|
1893
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1894
|
+
# })
|
1895
|
+
#
|
1896
|
+
# @example Response structure
|
1897
|
+
#
|
1898
|
+
# resp.name #=> String
|
1899
|
+
# resp.public_access_block_configuration.block_public_acls #=> Boolean
|
1900
|
+
# resp.public_access_block_configuration.ignore_public_acls #=> Boolean
|
1901
|
+
# resp.public_access_block_configuration.block_public_policy #=> Boolean
|
1902
|
+
# resp.public_access_block_configuration.restrict_public_buckets #=> Boolean
|
1903
|
+
# resp.creation_date #=> Time
|
1904
|
+
#
|
1905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointForObjectLambda AWS API Documentation
|
1906
|
+
#
|
1907
|
+
# @overload get_access_point_for_object_lambda(params = {})
|
1908
|
+
# @param [Hash] params ({})
|
1909
|
+
def get_access_point_for_object_lambda(params = {}, options = {})
|
1910
|
+
req = build_request(:get_access_point_for_object_lambda, params)
|
1911
|
+
req.send_request(options)
|
1912
|
+
end
|
1913
|
+
|
1676
1914
|
# Returns the access point policy associated with the specified access
|
1677
1915
|
# point.
|
1678
1916
|
#
|
@@ -1729,14 +1967,59 @@ module Aws::S3Control
|
|
1729
1967
|
req.send_request(options)
|
1730
1968
|
end
|
1731
1969
|
|
1970
|
+
# Returns the resource policy for an Object Lambda Access Point.
|
1971
|
+
#
|
1972
|
+
# The following actions are related to
|
1973
|
+
# `GetAccessPointPolicyForObjectLambda`\:
|
1974
|
+
#
|
1975
|
+
# * [DeleteAccessPointPolicyForObjectLambda][1]
|
1976
|
+
#
|
1977
|
+
# * [PutAccessPointPolicyForObjectLambda][2]
|
1978
|
+
#
|
1979
|
+
#
|
1980
|
+
#
|
1981
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html
|
1982
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html
|
1983
|
+
#
|
1984
|
+
# @option params [required, String] :account_id
|
1985
|
+
# The account ID for the account that owns the specified Object Lambda
|
1986
|
+
# Access Point.
|
1987
|
+
#
|
1988
|
+
# @option params [required, String] :name
|
1989
|
+
# The name of the Object Lambda Access Point.
|
1990
|
+
#
|
1991
|
+
# @return [Types::GetAccessPointPolicyForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1992
|
+
#
|
1993
|
+
# * {Types::GetAccessPointPolicyForObjectLambdaResult#policy #policy} => String
|
1994
|
+
#
|
1995
|
+
# @example Request syntax with placeholder values
|
1996
|
+
#
|
1997
|
+
# resp = client.get_access_point_policy_for_object_lambda({
|
1998
|
+
# account_id: "AccountId", # required
|
1999
|
+
# name: "ObjectLambdaAccessPointName", # required
|
2000
|
+
# })
|
2001
|
+
#
|
2002
|
+
# @example Response structure
|
2003
|
+
#
|
2004
|
+
# resp.policy #=> String
|
2005
|
+
#
|
2006
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyForObjectLambda AWS API Documentation
|
2007
|
+
#
|
2008
|
+
# @overload get_access_point_policy_for_object_lambda(params = {})
|
2009
|
+
# @param [Hash] params ({})
|
2010
|
+
def get_access_point_policy_for_object_lambda(params = {}, options = {})
|
2011
|
+
req = build_request(:get_access_point_policy_for_object_lambda, params)
|
2012
|
+
req.send_request(options)
|
2013
|
+
end
|
2014
|
+
|
1732
2015
|
# Indicates whether the specified access point currently has a policy
|
1733
2016
|
# that allows public access. For more information about public access
|
1734
|
-
# through access points, see [Managing Data Access with Amazon S3
|
1735
|
-
#
|
2017
|
+
# through access points, see [Managing Data Access with Amazon S3 access
|
2018
|
+
# points][1] in the *Amazon S3 User Guide*.
|
1736
2019
|
#
|
1737
2020
|
#
|
1738
2021
|
#
|
1739
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2022
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
1740
2023
|
#
|
1741
2024
|
# @option params [required, String] :account_id
|
1742
2025
|
# The account ID for the account that owns the specified access point.
|
@@ -1768,16 +2051,49 @@ module Aws::S3Control
|
|
1768
2051
|
req.send_request(options)
|
1769
2052
|
end
|
1770
2053
|
|
2054
|
+
# Returns the status of the resource policy associated with an Object
|
2055
|
+
# Lambda Access Point.
|
2056
|
+
#
|
2057
|
+
# @option params [required, String] :account_id
|
2058
|
+
# The account ID for the account that owns the specified Object Lambda
|
2059
|
+
# Access Point.
|
2060
|
+
#
|
2061
|
+
# @option params [required, String] :name
|
2062
|
+
# The name of the Object Lambda Access Point.
|
2063
|
+
#
|
2064
|
+
# @return [Types::GetAccessPointPolicyStatusForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2065
|
+
#
|
2066
|
+
# * {Types::GetAccessPointPolicyStatusForObjectLambdaResult#policy_status #policy_status} => Types::PolicyStatus
|
2067
|
+
#
|
2068
|
+
# @example Request syntax with placeholder values
|
2069
|
+
#
|
2070
|
+
# resp = client.get_access_point_policy_status_for_object_lambda({
|
2071
|
+
# account_id: "AccountId", # required
|
2072
|
+
# name: "ObjectLambdaAccessPointName", # required
|
2073
|
+
# })
|
2074
|
+
#
|
2075
|
+
# @example Response structure
|
2076
|
+
#
|
2077
|
+
# resp.policy_status.is_public #=> Boolean
|
2078
|
+
#
|
2079
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatusForObjectLambda AWS API Documentation
|
2080
|
+
#
|
2081
|
+
# @overload get_access_point_policy_status_for_object_lambda(params = {})
|
2082
|
+
# @param [Hash] params ({})
|
2083
|
+
def get_access_point_policy_status_for_object_lambda(params = {}, options = {})
|
2084
|
+
req = build_request(:get_access_point_policy_status_for_object_lambda, params)
|
2085
|
+
req.send_request(options)
|
2086
|
+
end
|
2087
|
+
|
1771
2088
|
# Gets an Amazon S3 on Outposts bucket. For more information, see [
|
1772
|
-
# Using Amazon S3 on Outposts][1] in the *Amazon
|
1773
|
-
# User Guide*.
|
2089
|
+
# Using Amazon S3 on Outposts][1] in the *Amazon S3 User Guide*.
|
1774
2090
|
#
|
1775
2091
|
# If you are using an identity other than the root user of the AWS
|
1776
|
-
# account that owns the bucket, the calling identity must have
|
1777
|
-
# `s3-outposts:GetBucket` permissions on the specified
|
1778
|
-
# to the bucket owner's account in order to
|
1779
|
-
# from Outposts bucket owner account with
|
1780
|
-
# perform actions on an Outposts bucket.
|
2092
|
+
# account that owns the Outposts bucket, the calling identity must have
|
2093
|
+
# the `s3-outposts:GetBucket` permissions on the specified Outposts
|
2094
|
+
# bucket and belong to the Outposts bucket owner's account in order to
|
2095
|
+
# use this action. Only users from Outposts bucket owner account with
|
2096
|
+
# the right permissions can perform actions on an Outposts bucket.
|
1781
2097
|
#
|
1782
2098
|
# If you don't have `s3-outposts:GetBucket` permissions or you're not
|
1783
2099
|
# using an identity that belongs to the bucket owner's account, Amazon
|
@@ -1802,7 +2118,7 @@ module Aws::S3Control
|
|
1802
2118
|
#
|
1803
2119
|
#
|
1804
2120
|
#
|
1805
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2121
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1806
2122
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html#API_control_GetBucket_Examples
|
1807
2123
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
1808
2124
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
@@ -1856,15 +2172,14 @@ module Aws::S3Control
|
|
1856
2172
|
|
1857
2173
|
# <note markdown="1"> This action gets an Amazon S3 on Outposts bucket's lifecycle
|
1858
2174
|
# configuration. To get an S3 bucket's lifecycle configuration, see
|
1859
|
-
# [GetBucketLifecycleConfiguration][1] in the *Amazon
|
1860
|
-
# Service API*.
|
2175
|
+
# [GetBucketLifecycleConfiguration][1] in the *Amazon S3 API Reference*.
|
1861
2176
|
#
|
1862
2177
|
# </note>
|
1863
2178
|
#
|
1864
2179
|
# Returns the lifecycle configuration information set on the Outposts
|
1865
2180
|
# bucket. For more information, see [Using Amazon S3 on Outposts][2] and
|
1866
2181
|
# for information about lifecycle configuration, see [ Object Lifecycle
|
1867
|
-
# Management][3] in *Amazon
|
2182
|
+
# Management][3] in *Amazon S3 User Guide*.
|
1868
2183
|
#
|
1869
2184
|
# To use this action, you must have permission to perform the
|
1870
2185
|
# `s3-outposts:GetLifecycleConfiguration` action. The Outposts bucket
|
@@ -1901,10 +2216,10 @@ module Aws::S3Control
|
|
1901
2216
|
#
|
1902
2217
|
#
|
1903
2218
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html
|
1904
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2219
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1905
2220
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html
|
1906
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1907
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2221
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
2222
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
1908
2223
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples
|
1909
2224
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
|
1910
2225
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
@@ -1974,13 +2289,13 @@ module Aws::S3Control
|
|
1974
2289
|
|
1975
2290
|
# <note markdown="1"> This action gets a bucket policy for an Amazon S3 on Outposts bucket.
|
1976
2291
|
# To get a policy for an S3 bucket, see [GetBucketPolicy][1] in the
|
1977
|
-
# *Amazon
|
2292
|
+
# *Amazon S3 API Reference*.
|
1978
2293
|
#
|
1979
2294
|
# </note>
|
1980
2295
|
#
|
1981
2296
|
# Returns the policy of a specified Outposts bucket. For more
|
1982
|
-
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
1983
|
-
#
|
2297
|
+
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon S3
|
2298
|
+
# User Guide*.
|
1984
2299
|
#
|
1985
2300
|
# If you are using an identity other than the root user of the AWS
|
1986
2301
|
# account that owns the bucket, the calling identity must have the
|
@@ -2019,7 +2334,7 @@ module Aws::S3Control
|
|
2019
2334
|
#
|
2020
2335
|
#
|
2021
2336
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicy.html
|
2022
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2337
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2023
2338
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2024
2339
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples
|
2025
2340
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
@@ -2069,14 +2384,14 @@ module Aws::S3Control
|
|
2069
2384
|
end
|
2070
2385
|
|
2071
2386
|
# <note markdown="1"> This action gets an Amazon S3 on Outposts bucket's tags. To get an S3
|
2072
|
-
# bucket tags, see [GetBucketTagging][1] in the *Amazon
|
2073
|
-
#
|
2387
|
+
# bucket tags, see [GetBucketTagging][1] in the *Amazon S3 API
|
2388
|
+
# Reference*.
|
2074
2389
|
#
|
2075
2390
|
# </note>
|
2076
2391
|
#
|
2077
2392
|
# Returns the tag set associated with the Outposts bucket. For more
|
2078
|
-
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
2079
|
-
#
|
2393
|
+
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon S3
|
2394
|
+
# User Guide*.
|
2080
2395
|
#
|
2081
2396
|
# To use this action, you must have permission to perform the
|
2082
2397
|
# `GetBucketTagging` action. By default, the bucket owner has this
|
@@ -2107,7 +2422,7 @@ module Aws::S3Control
|
|
2107
2422
|
#
|
2108
2423
|
#
|
2109
2424
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html
|
2110
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2425
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2111
2426
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html#API_control_GetBucketTagging_Examples
|
2112
2427
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
2113
2428
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
|
@@ -2159,7 +2474,7 @@ module Aws::S3Control
|
|
2159
2474
|
# Returns the tags on an S3 Batch Operations job. To use this operation,
|
2160
2475
|
# you must have permission to perform the `s3:GetJobTagging` action. For
|
2161
2476
|
# more information, see [Controlling access and labeling jobs using
|
2162
|
-
# tags][1] in the *Amazon
|
2477
|
+
# tags][1] in the *Amazon S3 User Guide*.
|
2163
2478
|
#
|
2164
2479
|
#
|
2165
2480
|
#
|
@@ -2258,12 +2573,12 @@ module Aws::S3Control
|
|
2258
2573
|
|
2259
2574
|
# Gets the Amazon S3 Storage Lens configuration. For more information,
|
2260
2575
|
# see [Assessing your storage activity and usage with Amazon S3 Storage
|
2261
|
-
# Lens ][1] in the *Amazon
|
2576
|
+
# Lens ][1] in the *Amazon S3 User Guide*.
|
2262
2577
|
#
|
2263
2578
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2264
2579
|
# `s3:GetStorageLensConfiguration` action. For more information, see
|
2265
2580
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
2266
|
-
#
|
2581
|
+
# S3 User Guide*.
|
2267
2582
|
#
|
2268
2583
|
# </note>
|
2269
2584
|
#
|
@@ -2327,13 +2642,13 @@ module Aws::S3Control
|
|
2327
2642
|
|
2328
2643
|
# Gets the tags of Amazon S3 Storage Lens configuration. For more
|
2329
2644
|
# information about S3 Storage Lens, see [Assessing your storage
|
2330
|
-
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
2331
|
-
#
|
2645
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon S3
|
2646
|
+
# User Guide*.
|
2332
2647
|
#
|
2333
2648
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2334
2649
|
# `s3:GetStorageLensConfigurationTagging` action. For more information,
|
2335
2650
|
# see [Setting permissions to use Amazon S3 Storage Lens][2] in the
|
2336
|
-
# *Amazon
|
2651
|
+
# *Amazon S3 User Guide*.
|
2337
2652
|
#
|
2338
2653
|
# </note>
|
2339
2654
|
#
|
@@ -2473,10 +2788,79 @@ module Aws::S3Control
|
|
2473
2788
|
req.send_request(options)
|
2474
2789
|
end
|
2475
2790
|
|
2791
|
+
# Returns a list of the access points associated with the Object Lambda
|
2792
|
+
# Access Point. You can retrieve up to 1000 access points per call. If
|
2793
|
+
# there are more than 1,000 access points (or the number specified in
|
2794
|
+
# `maxResults`, whichever is less), the response will include a
|
2795
|
+
# continuation token that you can use to list the additional access
|
2796
|
+
# points.
|
2797
|
+
#
|
2798
|
+
# The following actions are related to
|
2799
|
+
# `ListAccessPointsForObjectLambda`\:
|
2800
|
+
#
|
2801
|
+
# * [CreateAccessPointForObjectLambda][1]
|
2802
|
+
#
|
2803
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
2804
|
+
#
|
2805
|
+
# * [GetAccessPointForObjectLambda][3]
|
2806
|
+
#
|
2807
|
+
#
|
2808
|
+
#
|
2809
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
2810
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
2811
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
2812
|
+
#
|
2813
|
+
# @option params [required, String] :account_id
|
2814
|
+
# The account ID for the account that owns the specified Object Lambda
|
2815
|
+
# Access Point.
|
2816
|
+
#
|
2817
|
+
# @option params [String] :next_token
|
2818
|
+
# If the list has more access points than can be returned in one call to
|
2819
|
+
# this API, this field contains a continuation token that you can
|
2820
|
+
# provide in subsequent calls to this API to retrieve additional access
|
2821
|
+
# points.
|
2822
|
+
#
|
2823
|
+
# @option params [Integer] :max_results
|
2824
|
+
# The maximum number of access points that you want to include in the
|
2825
|
+
# list. If there are more than this number of access points, then the
|
2826
|
+
# response will include a continuation token in the `NextToken` field
|
2827
|
+
# that you can use to retrieve the next page of access points.
|
2828
|
+
#
|
2829
|
+
# @return [Types::ListAccessPointsForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2830
|
+
#
|
2831
|
+
# * {Types::ListAccessPointsForObjectLambdaResult#object_lambda_access_point_list #object_lambda_access_point_list} => Array<Types::ObjectLambdaAccessPoint>
|
2832
|
+
# * {Types::ListAccessPointsForObjectLambdaResult#next_token #next_token} => String
|
2833
|
+
#
|
2834
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2835
|
+
#
|
2836
|
+
# @example Request syntax with placeholder values
|
2837
|
+
#
|
2838
|
+
# resp = client.list_access_points_for_object_lambda({
|
2839
|
+
# account_id: "AccountId", # required
|
2840
|
+
# next_token: "NonEmptyMaxLength1024String",
|
2841
|
+
# max_results: 1,
|
2842
|
+
# })
|
2843
|
+
#
|
2844
|
+
# @example Response structure
|
2845
|
+
#
|
2846
|
+
# resp.object_lambda_access_point_list #=> Array
|
2847
|
+
# resp.object_lambda_access_point_list[0].name #=> String
|
2848
|
+
# resp.object_lambda_access_point_list[0].object_lambda_access_point_arn #=> String
|
2849
|
+
# resp.next_token #=> String
|
2850
|
+
#
|
2851
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForObjectLambda AWS API Documentation
|
2852
|
+
#
|
2853
|
+
# @overload list_access_points_for_object_lambda(params = {})
|
2854
|
+
# @param [Hash] params ({})
|
2855
|
+
def list_access_points_for_object_lambda(params = {}, options = {})
|
2856
|
+
req = build_request(:list_access_points_for_object_lambda, params)
|
2857
|
+
req.send_request(options)
|
2858
|
+
end
|
2859
|
+
|
2476
2860
|
# Lists current S3 Batch Operations jobs and jobs that have ended within
|
2477
2861
|
# the last 30 days for the AWS account making the request. For more
|
2478
|
-
# information, see [S3 Batch Operations][1] in the *Amazon
|
2479
|
-
#
|
2862
|
+
# information, see [S3 Batch Operations][1] in the *Amazon S3 User
|
2863
|
+
# Guide*.
|
2480
2864
|
#
|
2481
2865
|
# Related actions include:
|
2482
2866
|
#
|
@@ -2558,8 +2942,7 @@ module Aws::S3Control
|
|
2558
2942
|
|
2559
2943
|
# Returns a list of all Outposts buckets in an Outpost that are owned by
|
2560
2944
|
# the authenticated sender of the request. For more information, see
|
2561
|
-
# [Using Amazon S3 on Outposts][1] in the *Amazon
|
2562
|
-
# User Guide*.
|
2945
|
+
# [Using Amazon S3 on Outposts][1] in the *Amazon S3 User Guide*.
|
2563
2946
|
#
|
2564
2947
|
# For an example of the request syntax for Amazon S3 on Outposts that
|
2565
2948
|
# uses the S3 on Outposts endpoint hostname prefix and
|
@@ -2567,7 +2950,7 @@ module Aws::S3Control
|
|
2567
2950
|
#
|
2568
2951
|
#
|
2569
2952
|
#
|
2570
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2953
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2571
2954
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples
|
2572
2955
|
#
|
2573
2956
|
# @option params [required, String] :account_id
|
@@ -2621,13 +3004,13 @@ module Aws::S3Control
|
|
2621
3004
|
|
2622
3005
|
# Gets a list of Amazon S3 Storage Lens configurations. For more
|
2623
3006
|
# information about S3 Storage Lens, see [Assessing your storage
|
2624
|
-
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon
|
2625
|
-
#
|
3007
|
+
# activity and usage with Amazon S3 Storage Lens ][1] in the *Amazon S3
|
3008
|
+
# User Guide*.
|
2626
3009
|
#
|
2627
3010
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
2628
3011
|
# `s3:ListStorageLensConfigurations` action. For more information, see
|
2629
3012
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
2630
|
-
#
|
3013
|
+
# S3 User Guide*.
|
2631
3014
|
#
|
2632
3015
|
# </note>
|
2633
3016
|
#
|
@@ -2647,6 +3030,8 @@ module Aws::S3Control
|
|
2647
3030
|
# * {Types::ListStorageLensConfigurationsResult#next_token #next_token} => String
|
2648
3031
|
# * {Types::ListStorageLensConfigurationsResult#storage_lens_configuration_list #storage_lens_configuration_list} => Array<Types::ListStorageLensConfigurationEntry>
|
2649
3032
|
#
|
3033
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3034
|
+
#
|
2650
3035
|
# @example Request syntax with placeholder values
|
2651
3036
|
#
|
2652
3037
|
# resp = client.list_storage_lens_configurations({
|
@@ -2672,6 +3057,63 @@ module Aws::S3Control
|
|
2672
3057
|
req.send_request(options)
|
2673
3058
|
end
|
2674
3059
|
|
3060
|
+
# Replaces configuration for an Object Lambda Access Point.
|
3061
|
+
#
|
3062
|
+
# The following actions are related to
|
3063
|
+
# `PutAccessPointConfigurationForObjectLambda`\:
|
3064
|
+
#
|
3065
|
+
# * [GetAccessPointConfigurationForObjectLambda][1]
|
3066
|
+
#
|
3067
|
+
# ^
|
3068
|
+
#
|
3069
|
+
#
|
3070
|
+
#
|
3071
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointConfigurationForObjectLambda.html
|
3072
|
+
#
|
3073
|
+
# @option params [required, String] :account_id
|
3074
|
+
# The account ID for the account that owns the specified Object Lambda
|
3075
|
+
# Access Point.
|
3076
|
+
#
|
3077
|
+
# @option params [required, String] :name
|
3078
|
+
# The name of the Object Lambda Access Point.
|
3079
|
+
#
|
3080
|
+
# @option params [required, Types::ObjectLambdaConfiguration] :configuration
|
3081
|
+
# Object Lambda Access Point configuration document.
|
3082
|
+
#
|
3083
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3084
|
+
#
|
3085
|
+
# @example Request syntax with placeholder values
|
3086
|
+
#
|
3087
|
+
# resp = client.put_access_point_configuration_for_object_lambda({
|
3088
|
+
# account_id: "AccountId", # required
|
3089
|
+
# name: "ObjectLambdaAccessPointName", # required
|
3090
|
+
# configuration: { # required
|
3091
|
+
# supporting_access_point: "ObjectLambdaSupportingAccessPointArn", # required
|
3092
|
+
# cloud_watch_metrics_enabled: false,
|
3093
|
+
# allowed_features: ["GetObject-Range"], # accepts GetObject-Range, GetObject-PartNumber
|
3094
|
+
# transformation_configurations: [ # required
|
3095
|
+
# {
|
3096
|
+
# actions: ["GetObject"], # required, accepts GetObject
|
3097
|
+
# content_transformation: { # required
|
3098
|
+
# aws_lambda: {
|
3099
|
+
# function_arn: "FunctionArnString", # required
|
3100
|
+
# function_payload: "AwsLambdaTransformationPayload",
|
3101
|
+
# },
|
3102
|
+
# },
|
3103
|
+
# },
|
3104
|
+
# ],
|
3105
|
+
# },
|
3106
|
+
# })
|
3107
|
+
#
|
3108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointConfigurationForObjectLambda AWS API Documentation
|
3109
|
+
#
|
3110
|
+
# @overload put_access_point_configuration_for_object_lambda(params = {})
|
3111
|
+
# @param [Hash] params ({})
|
3112
|
+
def put_access_point_configuration_for_object_lambda(params = {}, options = {})
|
3113
|
+
req = build_request(:put_access_point_configuration_for_object_lambda, params)
|
3114
|
+
req.send_request(options)
|
3115
|
+
end
|
3116
|
+
|
2675
3117
|
# Associates an access policy with the specified access point. Each
|
2676
3118
|
# access point can have only one policy, so a request made to this API
|
2677
3119
|
# replaces any existing policy associated with the specified access
|
@@ -2722,12 +3164,11 @@ module Aws::S3Control
|
|
2722
3164
|
# @option params [required, String] :policy
|
2723
3165
|
# The policy that you want to apply to the specified access point. For
|
2724
3166
|
# more information about access point policies, see [Managing data
|
2725
|
-
# access with Amazon S3
|
2726
|
-
# Service User Guide*.
|
3167
|
+
# access with Amazon S3 access points][1] in the *Amazon S3 User Guide*.
|
2727
3168
|
#
|
2728
3169
|
#
|
2729
3170
|
#
|
2730
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3171
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
2731
3172
|
#
|
2732
3173
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2733
3174
|
#
|
@@ -2748,19 +3189,62 @@ module Aws::S3Control
|
|
2748
3189
|
req.send_request(options)
|
2749
3190
|
end
|
2750
3191
|
|
3192
|
+
# Creates or replaces resource policy for an Object Lambda Access Point.
|
3193
|
+
# For an example policy, see [Creating Object Lambda Access Points][1]
|
3194
|
+
# in the *Amazon S3 User Guide*.
|
3195
|
+
#
|
3196
|
+
# The following actions are related to
|
3197
|
+
# `PutAccessPointPolicyForObjectLambda`\:
|
3198
|
+
#
|
3199
|
+
# * [DeleteAccessPointPolicyForObjectLambda][2]
|
3200
|
+
#
|
3201
|
+
# * [GetAccessPointPolicyForObjectLambda][3]
|
3202
|
+
#
|
3203
|
+
#
|
3204
|
+
#
|
3205
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-create.html#olap-create-cli
|
3206
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html
|
3207
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html
|
3208
|
+
#
|
3209
|
+
# @option params [required, String] :account_id
|
3210
|
+
# The account ID for the account that owns the specified Object Lambda
|
3211
|
+
# Access Point.
|
3212
|
+
#
|
3213
|
+
# @option params [required, String] :name
|
3214
|
+
# The name of the Object Lambda Access Point.
|
3215
|
+
#
|
3216
|
+
# @option params [required, String] :policy
|
3217
|
+
# Object Lambda Access Point resource policy document.
|
3218
|
+
#
|
3219
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3220
|
+
#
|
3221
|
+
# @example Request syntax with placeholder values
|
3222
|
+
#
|
3223
|
+
# resp = client.put_access_point_policy_for_object_lambda({
|
3224
|
+
# account_id: "AccountId", # required
|
3225
|
+
# name: "ObjectLambdaAccessPointName", # required
|
3226
|
+
# policy: "ObjectLambdaPolicy", # required
|
3227
|
+
# })
|
3228
|
+
#
|
3229
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicyForObjectLambda AWS API Documentation
|
3230
|
+
#
|
3231
|
+
# @overload put_access_point_policy_for_object_lambda(params = {})
|
3232
|
+
# @param [Hash] params ({})
|
3233
|
+
def put_access_point_policy_for_object_lambda(params = {}, options = {})
|
3234
|
+
req = build_request(:put_access_point_policy_for_object_lambda, params)
|
3235
|
+
req.send_request(options)
|
3236
|
+
end
|
3237
|
+
|
2751
3238
|
# <note markdown="1"> This action puts a lifecycle configuration to an Amazon S3 on Outposts
|
2752
3239
|
# bucket. To put a lifecycle configuration to an S3 bucket, see
|
2753
|
-
# [PutBucketLifecycleConfiguration][1] in the *Amazon
|
2754
|
-
# Service API*.
|
3240
|
+
# [PutBucketLifecycleConfiguration][1] in the *Amazon S3 API Reference*.
|
2755
3241
|
#
|
2756
3242
|
# </note>
|
2757
3243
|
#
|
2758
|
-
# Creates a new lifecycle configuration for the Outposts bucket or
|
3244
|
+
# Creates a new lifecycle configuration for the S3 on Outposts bucket or
|
2759
3245
|
# replaces an existing lifecycle configuration. Outposts buckets only
|
2760
3246
|
# support lifecycle configurations that delete/expire objects after a
|
2761
|
-
# certain period of time and abort incomplete multipart uploads.
|
2762
|
-
# more information, see [Managing Lifecycle Permissions for Amazon S3 on
|
2763
|
-
# Outposts][2].
|
3247
|
+
# certain period of time and abort incomplete multipart uploads.
|
2764
3248
|
#
|
2765
3249
|
#
|
2766
3250
|
#
|
@@ -2770,22 +3254,21 @@ module Aws::S3Control
|
|
2770
3254
|
# `s3-control`. For an example of the request syntax for Amazon S3 on
|
2771
3255
|
# Outposts that uses the S3 on Outposts endpoint hostname prefix and the
|
2772
3256
|
# `x-amz-outpost-id` derived using the access point ARN, see the
|
2773
|
-
# [Examples][
|
3257
|
+
# [Examples][2] section.
|
2774
3258
|
#
|
2775
3259
|
# The following actions are related to
|
2776
3260
|
# `PutBucketLifecycleConfiguration`\:
|
2777
3261
|
#
|
2778
|
-
# * [GetBucketLifecycleConfiguration][
|
3262
|
+
# * [GetBucketLifecycleConfiguration][3]
|
2779
3263
|
#
|
2780
|
-
# * [DeleteBucketLifecycleConfiguration][
|
3264
|
+
# * [DeleteBucketLifecycleConfiguration][4]
|
2781
3265
|
#
|
2782
3266
|
#
|
2783
3267
|
#
|
2784
3268
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html
|
2785
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2786
|
-
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
2787
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/
|
2788
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
3269
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples
|
3270
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html
|
3271
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
2789
3272
|
#
|
2790
3273
|
# @option params [required, String] :account_id
|
2791
3274
|
# The AWS account ID of the Outposts bucket.
|
@@ -2864,13 +3347,13 @@ module Aws::S3Control
|
|
2864
3347
|
|
2865
3348
|
# <note markdown="1"> This action puts a bucket policy to an Amazon S3 on Outposts bucket.
|
2866
3349
|
# To put a policy on an S3 bucket, see [PutBucketPolicy][1] in the
|
2867
|
-
# *Amazon
|
3350
|
+
# *Amazon S3 API Reference*.
|
2868
3351
|
#
|
2869
3352
|
# </note>
|
2870
3353
|
#
|
2871
3354
|
# Applies an Amazon S3 bucket policy to an Outposts bucket. For more
|
2872
|
-
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon
|
2873
|
-
#
|
3355
|
+
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon S3
|
3356
|
+
# User Guide*.
|
2874
3357
|
#
|
2875
3358
|
# If you are using an identity other than the root user of the AWS
|
2876
3359
|
# account that owns the Outposts bucket, the calling identity must have
|
@@ -2906,7 +3389,7 @@ module Aws::S3Control
|
|
2906
3389
|
#
|
2907
3390
|
#
|
2908
3391
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html
|
2909
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3392
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2910
3393
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2911
3394
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples
|
2912
3395
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
|
@@ -2962,14 +3445,13 @@ module Aws::S3Control
|
|
2962
3445
|
end
|
2963
3446
|
|
2964
3447
|
# <note markdown="1"> This action puts tags on an Amazon S3 on Outposts bucket. To put tags
|
2965
|
-
# on an S3 bucket, see [PutBucketTagging][1] in the *Amazon
|
2966
|
-
#
|
3448
|
+
# on an S3 bucket, see [PutBucketTagging][1] in the *Amazon S3 API
|
3449
|
+
# Reference*.
|
2967
3450
|
#
|
2968
3451
|
# </note>
|
2969
3452
|
#
|
2970
|
-
# Sets the tags for an Outposts bucket. For more information, see
|
2971
|
-
# Amazon S3 on Outposts][2] in the *Amazon
|
2972
|
-
# Guide*.
|
3453
|
+
# Sets the tags for an S3 on Outposts bucket. For more information, see
|
3454
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
2973
3455
|
#
|
2974
3456
|
# Use tags to organize your AWS bill to reflect your own cost structure.
|
2975
3457
|
# To do this, sign up to get your AWS account bill with tag key values
|
@@ -2978,11 +3460,11 @@ module Aws::S3Control
|
|
2978
3460
|
# values. For example, you can tag several resources with a specific
|
2979
3461
|
# application name, and then organize your billing information to see
|
2980
3462
|
# the total cost of that application across several services. For more
|
2981
|
-
# information, see [Cost
|
3463
|
+
# information, see [Cost allocation and tagging][3].
|
2982
3464
|
#
|
2983
3465
|
# <note markdown="1"> Within a bucket, if you add a tag that has the same key as an existing
|
2984
3466
|
# tag, the new value overwrites the old value. For more information, see
|
2985
|
-
# [ Using
|
3467
|
+
# [ Using cost allocation in Amazon S3 bucket tags][4].
|
2986
3468
|
#
|
2987
3469
|
# </note>
|
2988
3470
|
#
|
@@ -2990,8 +3472,8 @@ module Aws::S3Control
|
|
2990
3472
|
# `s3-outposts:PutBucketTagging` action. The Outposts bucket owner has
|
2991
3473
|
# this permission by default and can grant this permission to others.
|
2992
3474
|
# For more information about permissions, see [ Permissions Related to
|
2993
|
-
# Bucket Subresource Operations][5] and [Managing
|
2994
|
-
#
|
3475
|
+
# Bucket Subresource Operations][5] and [Managing access permissions to
|
3476
|
+
# your Amazon S3 resources][6].
|
2995
3477
|
#
|
2996
3478
|
# `PutBucketTagging` has the following special errors:
|
2997
3479
|
#
|
@@ -3041,11 +3523,11 @@ module Aws::S3Control
|
|
3041
3523
|
#
|
3042
3524
|
#
|
3043
3525
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html
|
3044
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3526
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
3045
3527
|
# [3]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
|
3046
|
-
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3047
|
-
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3048
|
-
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3528
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html
|
3529
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
3530
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
3049
3531
|
# [7]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
|
3050
3532
|
# [8]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html
|
3051
3533
|
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples
|
@@ -3108,7 +3590,7 @@ module Aws::S3Control
|
|
3108
3590
|
# [GetJobTagging][1], modify that tag set, and use this action to
|
3109
3591
|
# replace the tag set with the one you modified. For more information,
|
3110
3592
|
# see [Controlling access and labeling jobs using tags][2] in the
|
3111
|
-
# *Amazon
|
3593
|
+
# *Amazon S3 User Guide*.
|
3112
3594
|
#
|
3113
3595
|
#
|
3114
3596
|
#
|
@@ -3243,12 +3725,12 @@ module Aws::S3Control
|
|
3243
3725
|
|
3244
3726
|
# Puts an Amazon S3 Storage Lens configuration. For more information
|
3245
3727
|
# about S3 Storage Lens, see [Working with Amazon S3 Storage Lens][1] in
|
3246
|
-
# the *Amazon
|
3728
|
+
# the *Amazon S3 User Guide*.
|
3247
3729
|
#
|
3248
3730
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
3249
3731
|
# `s3:PutStorageLensConfiguration` action. For more information, see
|
3250
3732
|
# [Setting permissions to use Amazon S3 Storage Lens][2] in the *Amazon
|
3251
|
-
#
|
3733
|
+
# S3 User Guide*.
|
3252
3734
|
#
|
3253
3735
|
# </note>
|
3254
3736
|
#
|
@@ -3352,12 +3834,12 @@ module Aws::S3Control
|
|
3352
3834
|
# Put or replace tags on an existing Amazon S3 Storage Lens
|
3353
3835
|
# configuration. For more information about S3 Storage Lens, see
|
3354
3836
|
# [Assessing your storage activity and usage with Amazon S3 Storage Lens
|
3355
|
-
# ][1] in the *Amazon
|
3837
|
+
# ][1] in the *Amazon S3 User Guide*.
|
3356
3838
|
#
|
3357
3839
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
3358
3840
|
# `s3:PutStorageLensConfigurationTagging` action. For more information,
|
3359
3841
|
# see [Setting permissions to use Amazon S3 Storage Lens][2] in the
|
3360
|
-
# *Amazon
|
3842
|
+
# *Amazon S3 User Guide*.
|
3361
3843
|
#
|
3362
3844
|
# </note>
|
3363
3845
|
#
|
@@ -3404,8 +3886,8 @@ module Aws::S3Control
|
|
3404
3886
|
end
|
3405
3887
|
|
3406
3888
|
# Updates an existing S3 Batch Operations job's priority. For more
|
3407
|
-
# information, see [S3 Batch Operations][1] in the *Amazon
|
3408
|
-
#
|
3889
|
+
# information, see [S3 Batch Operations][1] in the *Amazon S3 User
|
3890
|
+
# Guide*.
|
3409
3891
|
#
|
3410
3892
|
#
|
3411
3893
|
#
|
@@ -3465,8 +3947,8 @@ module Aws::S3Control
|
|
3465
3947
|
|
3466
3948
|
# Updates the status for the specified job. Use this action to confirm
|
3467
3949
|
# that you want to run a job or to cancel an existing job. For more
|
3468
|
-
# information, see [S3 Batch Operations][1] in the *Amazon
|
3469
|
-
#
|
3950
|
+
# information, see [S3 Batch Operations][1] in the *Amazon S3 User
|
3951
|
+
# Guide*.
|
3470
3952
|
#
|
3471
3953
|
#
|
3472
3954
|
#
|
@@ -3544,7 +4026,7 @@ module Aws::S3Control
|
|
3544
4026
|
params: params,
|
3545
4027
|
config: config)
|
3546
4028
|
context[:gem_name] = 'aws-sdk-s3control'
|
3547
|
-
context[:gem_version] = '1.
|
4029
|
+
context[:gem_version] = '1.34.0'
|
3548
4030
|
Seahorse::Client::Request.new(handlers, context)
|
3549
4031
|
end
|
3550
4032
|
|