aws-sdk-s3control 1.30.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control.rb +1 -1
- data/lib/aws-sdk-s3control/client.rb +563 -62
- data/lib/aws-sdk-s3control/client_api.rb +257 -0
- data/lib/aws-sdk-s3control/types.rb +583 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a397b80ff74e1ed6692ecb4cdf861d9cf4c462790ec5f5d24083044143e7144d
|
4
|
+
data.tar.gz: f4e0bb34120f05a1ac0005ec31639b7acfffa894b7f9c7660bbcdc4c1bf9a3a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06ece80a90f8213ef85b3b613d0237d99353ccde2752bbf7e36e1db407528769ce8dddb5a5b3c0af4100891dacb1002bd2394b2d26865da37749304fce1be78f
|
7
|
+
data.tar.gz: 0ba50e466bcc41254482bb2e5c617ecafc4500de9298eb6b258d46803d95a461442c4930e90af9abaa392194cf4a168db855c264e31744d000396c80375541f7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.31.0 (2021-03-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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
|
8
|
+
|
4
9
|
1.30.0 (2021-03-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
data/lib/aws-sdk-s3control.rb
CHANGED
@@ -349,21 +349,13 @@ module Aws::S3Control
|
|
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
|
356
|
+
# Simple Storage Service 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
|
@@ -471,6 +463,76 @@ module Aws::S3Control
|
|
471
463
|
req.send_request(options)
|
472
464
|
end
|
473
465
|
|
466
|
+
# Creates an Object Lambda Access Point. For more information, see
|
467
|
+
# [Transforming objects with Object Lambda Access Points][1] in the
|
468
|
+
# *Amazon Simple Storage Service User Guide*.
|
469
|
+
#
|
470
|
+
# The following actions are related to
|
471
|
+
# `CreateAccessPointForObjectLambda`\:
|
472
|
+
#
|
473
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
474
|
+
#
|
475
|
+
# * [GetAccessPointForObjectLambda][3]
|
476
|
+
#
|
477
|
+
# * [ListAccessPointsForObjectLambda][4]
|
478
|
+
#
|
479
|
+
#
|
480
|
+
#
|
481
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html
|
482
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
483
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
484
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
485
|
+
#
|
486
|
+
# @option params [required, String] :account_id
|
487
|
+
# The AWS account ID for owner of the specified Object Lambda Access
|
488
|
+
# Point.
|
489
|
+
#
|
490
|
+
# @option params [required, String] :name
|
491
|
+
# The name you want to assign to this Object Lambda Access Point.
|
492
|
+
#
|
493
|
+
# @option params [required, Types::ObjectLambdaConfiguration] :configuration
|
494
|
+
# Object Lambda Access Point configuration as a JSON document.
|
495
|
+
#
|
496
|
+
# @return [Types::CreateAccessPointForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
497
|
+
#
|
498
|
+
# * {Types::CreateAccessPointForObjectLambdaResult#object_lambda_access_point_arn #object_lambda_access_point_arn} => String
|
499
|
+
#
|
500
|
+
# @example Request syntax with placeholder values
|
501
|
+
#
|
502
|
+
# resp = client.create_access_point_for_object_lambda({
|
503
|
+
# account_id: "AccountId", # required
|
504
|
+
# name: "ObjectLambdaAccessPointName", # required
|
505
|
+
# configuration: { # required
|
506
|
+
# supporting_access_point: "ObjectLambdaSupportingAccessPointArn", # required
|
507
|
+
# cloud_watch_metrics_enabled: false,
|
508
|
+
# allowed_features: ["GetObject-Range"], # accepts GetObject-Range, GetObject-PartNumber
|
509
|
+
# transformation_configurations: [ # required
|
510
|
+
# {
|
511
|
+
# actions: ["GetObject"], # required, accepts GetObject
|
512
|
+
# content_transformation: { # required
|
513
|
+
# aws_lambda: {
|
514
|
+
# function_arn: "FunctionArnString", # required
|
515
|
+
# function_payload: "AwsLambdaTransformationPayload",
|
516
|
+
# },
|
517
|
+
# },
|
518
|
+
# },
|
519
|
+
# ],
|
520
|
+
# },
|
521
|
+
# })
|
522
|
+
#
|
523
|
+
# @example Response structure
|
524
|
+
#
|
525
|
+
# resp.object_lambda_access_point_arn #=> String
|
526
|
+
#
|
527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointForObjectLambda AWS API Documentation
|
528
|
+
#
|
529
|
+
# @overload create_access_point_for_object_lambda(params = {})
|
530
|
+
# @param [Hash] params ({})
|
531
|
+
def create_access_point_for_object_lambda(params = {}, options = {})
|
532
|
+
req = build_request(:create_access_point_for_object_lambda, params)
|
533
|
+
req.send_request(options)
|
534
|
+
end
|
535
|
+
|
474
536
|
# <note markdown="1"> This action creates an Amazon S3 on Outposts bucket. To create an S3
|
475
537
|
# bucket, see [Create Bucket][1] in the *Amazon Simple Storage Service
|
476
538
|
# API*.
|
@@ -491,8 +553,9 @@ module Aws::S3Control
|
|
491
553
|
#
|
492
554
|
# * LifecycleConfigurations for deleting expired objects
|
493
555
|
#
|
494
|
-
# For a list of
|
495
|
-
# Outposts, see [
|
556
|
+
# For a complete list of restrictions and Amazon S3 feature limitations
|
557
|
+
# on S3 on Outposts, see [ Amazon S3 on Outposts Restrictions and
|
558
|
+
# Limitations][4].
|
496
559
|
#
|
497
560
|
# For an example of the request syntax for Amazon S3 on Outposts that
|
498
561
|
# uses the S3 on Outposts endpoint hostname prefix and
|
@@ -514,9 +577,9 @@ module Aws::S3Control
|
|
514
577
|
#
|
515
578
|
#
|
516
579
|
# [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
|
580
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
581
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/BucketRestrictions.html#bucketnamingrules
|
582
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OnOutpostsRestrictionsLimitations.html
|
520
583
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html#API_control_CreateBucket_Examples
|
521
584
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
522
585
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
|
@@ -919,6 +982,48 @@ module Aws::S3Control
|
|
919
982
|
req.send_request(options)
|
920
983
|
end
|
921
984
|
|
985
|
+
# Deletes the specified Object Lambda Access Point.
|
986
|
+
#
|
987
|
+
# The following actions are related to
|
988
|
+
# `DeleteAccessPointForObjectLambda`\:
|
989
|
+
#
|
990
|
+
# * [CreateAccessPointForObjectLambda][1]
|
991
|
+
#
|
992
|
+
# * [GetAccessPointForObjectLambda][2]
|
993
|
+
#
|
994
|
+
# * [ListAccessPointsForObjectLambda][3]
|
995
|
+
#
|
996
|
+
#
|
997
|
+
#
|
998
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
999
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
1000
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
1001
|
+
#
|
1002
|
+
# @option params [required, String] :account_id
|
1003
|
+
# The account ID for the account that owns the specified Object Lambda
|
1004
|
+
# Access Point.
|
1005
|
+
#
|
1006
|
+
# @option params [required, String] :name
|
1007
|
+
# The name of the access point you want to delete.
|
1008
|
+
#
|
1009
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1010
|
+
#
|
1011
|
+
# @example Request syntax with placeholder values
|
1012
|
+
#
|
1013
|
+
# resp = client.delete_access_point_for_object_lambda({
|
1014
|
+
# account_id: "AccountId", # required
|
1015
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1016
|
+
# })
|
1017
|
+
#
|
1018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointForObjectLambda AWS API Documentation
|
1019
|
+
#
|
1020
|
+
# @overload delete_access_point_for_object_lambda(params = {})
|
1021
|
+
# @param [Hash] params ({})
|
1022
|
+
def delete_access_point_for_object_lambda(params = {}, options = {})
|
1023
|
+
req = build_request(:delete_access_point_for_object_lambda, params)
|
1024
|
+
req.send_request(options)
|
1025
|
+
end
|
1026
|
+
|
922
1027
|
# Deletes the access point policy for the specified access point.
|
923
1028
|
#
|
924
1029
|
#
|
@@ -979,6 +1084,46 @@ module Aws::S3Control
|
|
979
1084
|
req.send_request(options)
|
980
1085
|
end
|
981
1086
|
|
1087
|
+
# Removes the resource policy for an Object Lambda Access Point.
|
1088
|
+
#
|
1089
|
+
# The following actions are related to
|
1090
|
+
# `DeleteAccessPointPolicyForObjectLambda`\:
|
1091
|
+
#
|
1092
|
+
# * [GetAccessPointPolicyForObjectLambda][1]
|
1093
|
+
#
|
1094
|
+
# * [PutAccessPointPolicyForObjectLambda][2]
|
1095
|
+
#
|
1096
|
+
#
|
1097
|
+
#
|
1098
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html
|
1099
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html
|
1100
|
+
#
|
1101
|
+
# @option params [required, String] :account_id
|
1102
|
+
# The account ID for the account that owns the specified Object Lambda
|
1103
|
+
# Access Point.
|
1104
|
+
#
|
1105
|
+
# @option params [required, String] :name
|
1106
|
+
# The name of the Object Lambda Access Point you want to delete the
|
1107
|
+
# policy for.
|
1108
|
+
#
|
1109
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1110
|
+
#
|
1111
|
+
# @example Request syntax with placeholder values
|
1112
|
+
#
|
1113
|
+
# resp = client.delete_access_point_policy_for_object_lambda({
|
1114
|
+
# account_id: "AccountId", # required
|
1115
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1116
|
+
# })
|
1117
|
+
#
|
1118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicyForObjectLambda AWS API Documentation
|
1119
|
+
#
|
1120
|
+
# @overload delete_access_point_policy_for_object_lambda(params = {})
|
1121
|
+
# @param [Hash] params ({})
|
1122
|
+
def delete_access_point_policy_for_object_lambda(params = {}, options = {})
|
1123
|
+
req = build_request(:delete_access_point_policy_for_object_lambda, params)
|
1124
|
+
req.send_request(options)
|
1125
|
+
end
|
1126
|
+
|
982
1127
|
# <note markdown="1"> This action deletes an Amazon S3 on Outposts bucket. To delete an S3
|
983
1128
|
# bucket, see [DeleteBucket][1] in the *Amazon Simple Storage Service
|
984
1129
|
# API*.
|
@@ -1010,7 +1155,7 @@ module Aws::S3Control
|
|
1010
1155
|
#
|
1011
1156
|
#
|
1012
1157
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html
|
1013
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1158
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1014
1159
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html#API_control_DeleteBucket_Examples
|
1015
1160
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
1016
1161
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html
|
@@ -1092,7 +1237,7 @@ module Aws::S3Control
|
|
1092
1237
|
#
|
1093
1238
|
#
|
1094
1239
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
|
1095
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1240
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1096
1241
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples
|
1097
1242
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
|
1098
1243
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
|
@@ -1178,7 +1323,7 @@ module Aws::S3Control
|
|
1178
1323
|
#
|
1179
1324
|
#
|
1180
1325
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html
|
1181
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1326
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1182
1327
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
1183
1328
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples
|
1184
1329
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
|
@@ -1251,7 +1396,7 @@ module Aws::S3Control
|
|
1251
1396
|
#
|
1252
1397
|
#
|
1253
1398
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html
|
1254
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
1399
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1255
1400
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples
|
1256
1401
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html
|
1257
1402
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
@@ -1673,6 +1818,114 @@ module Aws::S3Control
|
|
1673
1818
|
req.send_request(options)
|
1674
1819
|
end
|
1675
1820
|
|
1821
|
+
# Returns configuration for an Object Lambda Access Point.
|
1822
|
+
#
|
1823
|
+
# The following actions are related to
|
1824
|
+
# `GetAccessPointConfigurationForObjectLambda`\:
|
1825
|
+
#
|
1826
|
+
# * [PutAccessPointConfigurationForObjectLambda][1]
|
1827
|
+
#
|
1828
|
+
# ^
|
1829
|
+
#
|
1830
|
+
#
|
1831
|
+
#
|
1832
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointConfigurationForObjectLambda.html
|
1833
|
+
#
|
1834
|
+
# @option params [required, String] :account_id
|
1835
|
+
# The account ID for the account that owns the specified Object Lambda
|
1836
|
+
# Access Point.
|
1837
|
+
#
|
1838
|
+
# @option params [required, String] :name
|
1839
|
+
# The name of the Object Lambda Access Point you want to return the
|
1840
|
+
# configuration for.
|
1841
|
+
#
|
1842
|
+
# @return [Types::GetAccessPointConfigurationForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1843
|
+
#
|
1844
|
+
# * {Types::GetAccessPointConfigurationForObjectLambdaResult#configuration #configuration} => Types::ObjectLambdaConfiguration
|
1845
|
+
#
|
1846
|
+
# @example Request syntax with placeholder values
|
1847
|
+
#
|
1848
|
+
# resp = client.get_access_point_configuration_for_object_lambda({
|
1849
|
+
# account_id: "AccountId", # required
|
1850
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1851
|
+
# })
|
1852
|
+
#
|
1853
|
+
# @example Response structure
|
1854
|
+
#
|
1855
|
+
# resp.configuration.supporting_access_point #=> String
|
1856
|
+
# resp.configuration.cloud_watch_metrics_enabled #=> Boolean
|
1857
|
+
# resp.configuration.allowed_features #=> Array
|
1858
|
+
# resp.configuration.allowed_features[0] #=> String, one of "GetObject-Range", "GetObject-PartNumber"
|
1859
|
+
# resp.configuration.transformation_configurations #=> Array
|
1860
|
+
# resp.configuration.transformation_configurations[0].actions #=> Array
|
1861
|
+
# resp.configuration.transformation_configurations[0].actions[0] #=> String, one of "GetObject"
|
1862
|
+
# resp.configuration.transformation_configurations[0].content_transformation.aws_lambda.function_arn #=> String
|
1863
|
+
# resp.configuration.transformation_configurations[0].content_transformation.aws_lambda.function_payload #=> String
|
1864
|
+
#
|
1865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointConfigurationForObjectLambda AWS API Documentation
|
1866
|
+
#
|
1867
|
+
# @overload get_access_point_configuration_for_object_lambda(params = {})
|
1868
|
+
# @param [Hash] params ({})
|
1869
|
+
def get_access_point_configuration_for_object_lambda(params = {}, options = {})
|
1870
|
+
req = build_request(:get_access_point_configuration_for_object_lambda, params)
|
1871
|
+
req.send_request(options)
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
# Returns configuration information about the specified Object Lambda
|
1875
|
+
# Access Point
|
1876
|
+
#
|
1877
|
+
# The following actions are related to `GetAccessPointForObjectLambda`\:
|
1878
|
+
#
|
1879
|
+
# * [CreateAccessPointForObjectLambda][1]
|
1880
|
+
#
|
1881
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
1882
|
+
#
|
1883
|
+
# * [ListAccessPointsForObjectLambda][3]
|
1884
|
+
#
|
1885
|
+
#
|
1886
|
+
#
|
1887
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
1888
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
1889
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
1890
|
+
#
|
1891
|
+
# @option params [required, String] :account_id
|
1892
|
+
# The account ID for the account that owns the specified Object Lambda
|
1893
|
+
# Access Point.
|
1894
|
+
#
|
1895
|
+
# @option params [required, String] :name
|
1896
|
+
# The name of the Object Lambda Access Point.
|
1897
|
+
#
|
1898
|
+
# @return [Types::GetAccessPointForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1899
|
+
#
|
1900
|
+
# * {Types::GetAccessPointForObjectLambdaResult#name #name} => String
|
1901
|
+
# * {Types::GetAccessPointForObjectLambdaResult#public_access_block_configuration #public_access_block_configuration} => Types::PublicAccessBlockConfiguration
|
1902
|
+
# * {Types::GetAccessPointForObjectLambdaResult#creation_date #creation_date} => Time
|
1903
|
+
#
|
1904
|
+
# @example Request syntax with placeholder values
|
1905
|
+
#
|
1906
|
+
# resp = client.get_access_point_for_object_lambda({
|
1907
|
+
# account_id: "AccountId", # required
|
1908
|
+
# name: "ObjectLambdaAccessPointName", # required
|
1909
|
+
# })
|
1910
|
+
#
|
1911
|
+
# @example Response structure
|
1912
|
+
#
|
1913
|
+
# resp.name #=> String
|
1914
|
+
# resp.public_access_block_configuration.block_public_acls #=> Boolean
|
1915
|
+
# resp.public_access_block_configuration.ignore_public_acls #=> Boolean
|
1916
|
+
# resp.public_access_block_configuration.block_public_policy #=> Boolean
|
1917
|
+
# resp.public_access_block_configuration.restrict_public_buckets #=> Boolean
|
1918
|
+
# resp.creation_date #=> Time
|
1919
|
+
#
|
1920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointForObjectLambda AWS API Documentation
|
1921
|
+
#
|
1922
|
+
# @overload get_access_point_for_object_lambda(params = {})
|
1923
|
+
# @param [Hash] params ({})
|
1924
|
+
def get_access_point_for_object_lambda(params = {}, options = {})
|
1925
|
+
req = build_request(:get_access_point_for_object_lambda, params)
|
1926
|
+
req.send_request(options)
|
1927
|
+
end
|
1928
|
+
|
1676
1929
|
# Returns the access point policy associated with the specified access
|
1677
1930
|
# point.
|
1678
1931
|
#
|
@@ -1729,6 +1982,51 @@ module Aws::S3Control
|
|
1729
1982
|
req.send_request(options)
|
1730
1983
|
end
|
1731
1984
|
|
1985
|
+
# Returns the resource policy for an Object Lambda Access Point.
|
1986
|
+
#
|
1987
|
+
# The following actions are related to
|
1988
|
+
# `GetAccessPointPolicyForObjectLambda`\:
|
1989
|
+
#
|
1990
|
+
# * [DeleteAccessPointPolicyForObjectLambda][1]
|
1991
|
+
#
|
1992
|
+
# * [PutAccessPointPolicyForObjectLambda][2]
|
1993
|
+
#
|
1994
|
+
#
|
1995
|
+
#
|
1996
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html
|
1997
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html
|
1998
|
+
#
|
1999
|
+
# @option params [required, String] :account_id
|
2000
|
+
# The account ID for the account that owns the specified Object Lambda
|
2001
|
+
# Access Point.
|
2002
|
+
#
|
2003
|
+
# @option params [required, String] :name
|
2004
|
+
# The name of the Object Lambda Access Point.
|
2005
|
+
#
|
2006
|
+
# @return [Types::GetAccessPointPolicyForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2007
|
+
#
|
2008
|
+
# * {Types::GetAccessPointPolicyForObjectLambdaResult#policy #policy} => String
|
2009
|
+
#
|
2010
|
+
# @example Request syntax with placeholder values
|
2011
|
+
#
|
2012
|
+
# resp = client.get_access_point_policy_for_object_lambda({
|
2013
|
+
# account_id: "AccountId", # required
|
2014
|
+
# name: "ObjectLambdaAccessPointName", # required
|
2015
|
+
# })
|
2016
|
+
#
|
2017
|
+
# @example Response structure
|
2018
|
+
#
|
2019
|
+
# resp.policy #=> String
|
2020
|
+
#
|
2021
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyForObjectLambda AWS API Documentation
|
2022
|
+
#
|
2023
|
+
# @overload get_access_point_policy_for_object_lambda(params = {})
|
2024
|
+
# @param [Hash] params ({})
|
2025
|
+
def get_access_point_policy_for_object_lambda(params = {}, options = {})
|
2026
|
+
req = build_request(:get_access_point_policy_for_object_lambda, params)
|
2027
|
+
req.send_request(options)
|
2028
|
+
end
|
2029
|
+
|
1732
2030
|
# Indicates whether the specified access point currently has a policy
|
1733
2031
|
# that allows public access. For more information about public access
|
1734
2032
|
# through access points, see [Managing Data Access with Amazon S3 Access
|
@@ -1736,7 +2034,7 @@ module Aws::S3Control
|
|
1736
2034
|
#
|
1737
2035
|
#
|
1738
2036
|
#
|
1739
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2037
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
1740
2038
|
#
|
1741
2039
|
# @option params [required, String] :account_id
|
1742
2040
|
# The account ID for the account that owns the specified access point.
|
@@ -1768,16 +2066,50 @@ module Aws::S3Control
|
|
1768
2066
|
req.send_request(options)
|
1769
2067
|
end
|
1770
2068
|
|
2069
|
+
# Returns the status of the resource policy associated with an Object
|
2070
|
+
# Lambda Access Point.
|
2071
|
+
#
|
2072
|
+
# @option params [required, String] :account_id
|
2073
|
+
# The account ID for the account that owns the specified Object Lambda
|
2074
|
+
# Access Point.
|
2075
|
+
#
|
2076
|
+
# @option params [required, String] :name
|
2077
|
+
# The name of the Object Lambda Access Point.
|
2078
|
+
#
|
2079
|
+
# @return [Types::GetAccessPointPolicyStatusForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2080
|
+
#
|
2081
|
+
# * {Types::GetAccessPointPolicyStatusForObjectLambdaResult#policy_status #policy_status} => Types::PolicyStatus
|
2082
|
+
#
|
2083
|
+
# @example Request syntax with placeholder values
|
2084
|
+
#
|
2085
|
+
# resp = client.get_access_point_policy_status_for_object_lambda({
|
2086
|
+
# account_id: "AccountId", # required
|
2087
|
+
# name: "ObjectLambdaAccessPointName", # required
|
2088
|
+
# })
|
2089
|
+
#
|
2090
|
+
# @example Response structure
|
2091
|
+
#
|
2092
|
+
# resp.policy_status.is_public #=> Boolean
|
2093
|
+
#
|
2094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatusForObjectLambda AWS API Documentation
|
2095
|
+
#
|
2096
|
+
# @overload get_access_point_policy_status_for_object_lambda(params = {})
|
2097
|
+
# @param [Hash] params ({})
|
2098
|
+
def get_access_point_policy_status_for_object_lambda(params = {}, options = {})
|
2099
|
+
req = build_request(:get_access_point_policy_status_for_object_lambda, params)
|
2100
|
+
req.send_request(options)
|
2101
|
+
end
|
2102
|
+
|
1771
2103
|
# Gets an Amazon S3 on Outposts bucket. For more information, see [
|
1772
2104
|
# Using Amazon S3 on Outposts][1] in the *Amazon Simple Storage Service
|
1773
2105
|
# User Guide*.
|
1774
2106
|
#
|
1775
2107
|
# 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.
|
2108
|
+
# account that owns the Outposts bucket, the calling identity must have
|
2109
|
+
# the `s3-outposts:GetBucket` permissions on the specified Outposts
|
2110
|
+
# bucket and belong to the Outposts bucket owner's account in order to
|
2111
|
+
# use this action. Only users from Outposts bucket owner account with
|
2112
|
+
# the right permissions can perform actions on an Outposts bucket.
|
1781
2113
|
#
|
1782
2114
|
# If you don't have `s3-outposts:GetBucket` permissions or you're not
|
1783
2115
|
# using an identity that belongs to the bucket owner's account, Amazon
|
@@ -1802,7 +2134,7 @@ module Aws::S3Control
|
|
1802
2134
|
#
|
1803
2135
|
#
|
1804
2136
|
#
|
1805
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2137
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1806
2138
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html#API_control_GetBucket_Examples
|
1807
2139
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
|
1808
2140
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
|
@@ -1901,10 +2233,10 @@ module Aws::S3Control
|
|
1901
2233
|
#
|
1902
2234
|
#
|
1903
2235
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html
|
1904
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2236
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
1905
2237
|
# [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/
|
2238
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
2239
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
1908
2240
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html#API_control_GetBucketLifecycleConfiguration_Examples
|
1909
2241
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html
|
1910
2242
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
@@ -2019,7 +2351,7 @@ module Aws::S3Control
|
|
2019
2351
|
#
|
2020
2352
|
#
|
2021
2353
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicy.html
|
2022
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2354
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2023
2355
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2024
2356
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples
|
2025
2357
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
@@ -2107,7 +2439,7 @@ module Aws::S3Control
|
|
2107
2439
|
#
|
2108
2440
|
#
|
2109
2441
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html
|
2110
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2442
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2111
2443
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html#API_control_GetBucketTagging_Examples
|
2112
2444
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
2113
2445
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
|
@@ -2473,6 +2805,75 @@ module Aws::S3Control
|
|
2473
2805
|
req.send_request(options)
|
2474
2806
|
end
|
2475
2807
|
|
2808
|
+
# Returns a list of the access points associated with the Object Lambda
|
2809
|
+
# Access Point. You can retrieve up to 1000 access points per call. If
|
2810
|
+
# there are more than 1,000 access points (or the number specified in
|
2811
|
+
# `maxResults`, whichever is less), the response will include a
|
2812
|
+
# continuation token that you can use to list the additional access
|
2813
|
+
# points.
|
2814
|
+
#
|
2815
|
+
# The following actions are related to
|
2816
|
+
# `ListAccessPointsForObjectLambda`\:
|
2817
|
+
#
|
2818
|
+
# * [CreateAccessPointForObjectLambda][1]
|
2819
|
+
#
|
2820
|
+
# * [DeleteAccessPointForObjectLambda][2]
|
2821
|
+
#
|
2822
|
+
# * [GetAccessPointForObjectLambda][3]
|
2823
|
+
#
|
2824
|
+
#
|
2825
|
+
#
|
2826
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html
|
2827
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html
|
2828
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html
|
2829
|
+
#
|
2830
|
+
# @option params [required, String] :account_id
|
2831
|
+
# The account ID for the account that owns the specified Object Lambda
|
2832
|
+
# Access Point.
|
2833
|
+
#
|
2834
|
+
# @option params [String] :next_token
|
2835
|
+
# If the list has more access points than can be returned in one call to
|
2836
|
+
# this API, this field contains a continuation token that you can
|
2837
|
+
# provide in subsequent calls to this API to retrieve additional access
|
2838
|
+
# points.
|
2839
|
+
#
|
2840
|
+
# @option params [Integer] :max_results
|
2841
|
+
# The maximum number of access points that you want to include in the
|
2842
|
+
# list. If there are more than this number of access points, then the
|
2843
|
+
# response will include a continuation token in the `NextToken` field
|
2844
|
+
# that you can use to retrieve the next page of access points.
|
2845
|
+
#
|
2846
|
+
# @return [Types::ListAccessPointsForObjectLambdaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2847
|
+
#
|
2848
|
+
# * {Types::ListAccessPointsForObjectLambdaResult#object_lambda_access_point_list #object_lambda_access_point_list} => Array<Types::ObjectLambdaAccessPoint>
|
2849
|
+
# * {Types::ListAccessPointsForObjectLambdaResult#next_token #next_token} => String
|
2850
|
+
#
|
2851
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2852
|
+
#
|
2853
|
+
# @example Request syntax with placeholder values
|
2854
|
+
#
|
2855
|
+
# resp = client.list_access_points_for_object_lambda({
|
2856
|
+
# account_id: "AccountId", # required
|
2857
|
+
# next_token: "NonEmptyMaxLength1024String",
|
2858
|
+
# max_results: 1,
|
2859
|
+
# })
|
2860
|
+
#
|
2861
|
+
# @example Response structure
|
2862
|
+
#
|
2863
|
+
# resp.object_lambda_access_point_list #=> Array
|
2864
|
+
# resp.object_lambda_access_point_list[0].name #=> String
|
2865
|
+
# resp.object_lambda_access_point_list[0].object_lambda_access_point_arn #=> String
|
2866
|
+
# resp.next_token #=> String
|
2867
|
+
#
|
2868
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForObjectLambda AWS API Documentation
|
2869
|
+
#
|
2870
|
+
# @overload list_access_points_for_object_lambda(params = {})
|
2871
|
+
# @param [Hash] params ({})
|
2872
|
+
def list_access_points_for_object_lambda(params = {}, options = {})
|
2873
|
+
req = build_request(:list_access_points_for_object_lambda, params)
|
2874
|
+
req.send_request(options)
|
2875
|
+
end
|
2876
|
+
|
2476
2877
|
# Lists current S3 Batch Operations jobs and jobs that have ended within
|
2477
2878
|
# the last 30 days for the AWS account making the request. For more
|
2478
2879
|
# information, see [S3 Batch Operations][1] in the *Amazon Simple
|
@@ -2567,7 +2968,7 @@ module Aws::S3Control
|
|
2567
2968
|
#
|
2568
2969
|
#
|
2569
2970
|
#
|
2570
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
2971
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2571
2972
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples
|
2572
2973
|
#
|
2573
2974
|
# @option params [required, String] :account_id
|
@@ -2672,6 +3073,63 @@ module Aws::S3Control
|
|
2672
3073
|
req.send_request(options)
|
2673
3074
|
end
|
2674
3075
|
|
3076
|
+
# Replaces configuration for an Object Lambda Access Point.
|
3077
|
+
#
|
3078
|
+
# The following actions are related to
|
3079
|
+
# `PutAccessPointConfigurationForObjectLambda`\:
|
3080
|
+
#
|
3081
|
+
# * [GetAccessPointConfigurationForObjectLambda][1]
|
3082
|
+
#
|
3083
|
+
# ^
|
3084
|
+
#
|
3085
|
+
#
|
3086
|
+
#
|
3087
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointConfigurationForObjectLambda.html
|
3088
|
+
#
|
3089
|
+
# @option params [required, String] :account_id
|
3090
|
+
# The account ID for the account that owns the specified Object Lambda
|
3091
|
+
# Access Point.
|
3092
|
+
#
|
3093
|
+
# @option params [required, String] :name
|
3094
|
+
# The name of the Object Lambda Access Point.
|
3095
|
+
#
|
3096
|
+
# @option params [required, Types::ObjectLambdaConfiguration] :configuration
|
3097
|
+
# Object Lambda Access Point configuration document.
|
3098
|
+
#
|
3099
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3100
|
+
#
|
3101
|
+
# @example Request syntax with placeholder values
|
3102
|
+
#
|
3103
|
+
# resp = client.put_access_point_configuration_for_object_lambda({
|
3104
|
+
# account_id: "AccountId", # required
|
3105
|
+
# name: "ObjectLambdaAccessPointName", # required
|
3106
|
+
# configuration: { # required
|
3107
|
+
# supporting_access_point: "ObjectLambdaSupportingAccessPointArn", # required
|
3108
|
+
# cloud_watch_metrics_enabled: false,
|
3109
|
+
# allowed_features: ["GetObject-Range"], # accepts GetObject-Range, GetObject-PartNumber
|
3110
|
+
# transformation_configurations: [ # required
|
3111
|
+
# {
|
3112
|
+
# actions: ["GetObject"], # required, accepts GetObject
|
3113
|
+
# content_transformation: { # required
|
3114
|
+
# aws_lambda: {
|
3115
|
+
# function_arn: "FunctionArnString", # required
|
3116
|
+
# function_payload: "AwsLambdaTransformationPayload",
|
3117
|
+
# },
|
3118
|
+
# },
|
3119
|
+
# },
|
3120
|
+
# ],
|
3121
|
+
# },
|
3122
|
+
# })
|
3123
|
+
#
|
3124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointConfigurationForObjectLambda AWS API Documentation
|
3125
|
+
#
|
3126
|
+
# @overload put_access_point_configuration_for_object_lambda(params = {})
|
3127
|
+
# @param [Hash] params ({})
|
3128
|
+
def put_access_point_configuration_for_object_lambda(params = {}, options = {})
|
3129
|
+
req = build_request(:put_access_point_configuration_for_object_lambda, params)
|
3130
|
+
req.send_request(options)
|
3131
|
+
end
|
3132
|
+
|
2675
3133
|
# Associates an access policy with the specified access point. Each
|
2676
3134
|
# access point can have only one policy, so a request made to this API
|
2677
3135
|
# replaces any existing policy associated with the specified access
|
@@ -2727,7 +3185,7 @@ module Aws::S3Control
|
|
2727
3185
|
#
|
2728
3186
|
#
|
2729
3187
|
#
|
2730
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3188
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
|
2731
3189
|
#
|
2732
3190
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2733
3191
|
#
|
@@ -2748,6 +3206,52 @@ module Aws::S3Control
|
|
2748
3206
|
req.send_request(options)
|
2749
3207
|
end
|
2750
3208
|
|
3209
|
+
# Creates or replaces resource policy for an Object Lambda Access Point.
|
3210
|
+
# For an example policy, see [Creating Object Lambda Access Points][1]
|
3211
|
+
# in the *Amazon Simple Storage Service User Guide*.
|
3212
|
+
#
|
3213
|
+
# The following actions are related to
|
3214
|
+
# `PutAccessPointPolicyForObjectLambda`\:
|
3215
|
+
#
|
3216
|
+
# * [DeleteAccessPointPolicyForObjectLambda][2]
|
3217
|
+
#
|
3218
|
+
# * [GetAccessPointPolicyForObjectLambda][3]
|
3219
|
+
#
|
3220
|
+
#
|
3221
|
+
#
|
3222
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-create.html#olap-create-cli
|
3223
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html
|
3224
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html
|
3225
|
+
#
|
3226
|
+
# @option params [required, String] :account_id
|
3227
|
+
# The account ID for the account that owns the specified Object Lambda
|
3228
|
+
# Access Point.
|
3229
|
+
#
|
3230
|
+
# @option params [required, String] :name
|
3231
|
+
# The name of the Object Lambda Access Point.
|
3232
|
+
#
|
3233
|
+
# @option params [required, String] :policy
|
3234
|
+
# Object Lambda Access Point resource policy document.
|
3235
|
+
#
|
3236
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3237
|
+
#
|
3238
|
+
# @example Request syntax with placeholder values
|
3239
|
+
#
|
3240
|
+
# resp = client.put_access_point_policy_for_object_lambda({
|
3241
|
+
# account_id: "AccountId", # required
|
3242
|
+
# name: "ObjectLambdaAccessPointName", # required
|
3243
|
+
# policy: "ObjectLambdaPolicy", # required
|
3244
|
+
# })
|
3245
|
+
#
|
3246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicyForObjectLambda AWS API Documentation
|
3247
|
+
#
|
3248
|
+
# @overload put_access_point_policy_for_object_lambda(params = {})
|
3249
|
+
# @param [Hash] params ({})
|
3250
|
+
def put_access_point_policy_for_object_lambda(params = {}, options = {})
|
3251
|
+
req = build_request(:put_access_point_policy_for_object_lambda, params)
|
3252
|
+
req.send_request(options)
|
3253
|
+
end
|
3254
|
+
|
2751
3255
|
# <note markdown="1"> This action puts a lifecycle configuration to an Amazon S3 on Outposts
|
2752
3256
|
# bucket. To put a lifecycle configuration to an S3 bucket, see
|
2753
3257
|
# [PutBucketLifecycleConfiguration][1] in the *Amazon Simple Storage
|
@@ -2755,12 +3259,10 @@ module Aws::S3Control
|
|
2755
3259
|
#
|
2756
3260
|
# </note>
|
2757
3261
|
#
|
2758
|
-
# Creates a new lifecycle configuration for the Outposts bucket or
|
3262
|
+
# Creates a new lifecycle configuration for the S3 on Outposts bucket or
|
2759
3263
|
# replaces an existing lifecycle configuration. Outposts buckets only
|
2760
3264
|
# 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].
|
3265
|
+
# certain period of time and abort incomplete multipart uploads.
|
2764
3266
|
#
|
2765
3267
|
#
|
2766
3268
|
#
|
@@ -2770,22 +3272,21 @@ module Aws::S3Control
|
|
2770
3272
|
# `s3-control`. For an example of the request syntax for Amazon S3 on
|
2771
3273
|
# Outposts that uses the S3 on Outposts endpoint hostname prefix and the
|
2772
3274
|
# `x-amz-outpost-id` derived using the access point ARN, see the
|
2773
|
-
# [Examples][
|
3275
|
+
# [Examples][2] section.
|
2774
3276
|
#
|
2775
3277
|
# The following actions are related to
|
2776
3278
|
# `PutBucketLifecycleConfiguration`\:
|
2777
3279
|
#
|
2778
|
-
# * [GetBucketLifecycleConfiguration][
|
3280
|
+
# * [GetBucketLifecycleConfiguration][3]
|
2779
3281
|
#
|
2780
|
-
# * [DeleteBucketLifecycleConfiguration][
|
3282
|
+
# * [DeleteBucketLifecycleConfiguration][4]
|
2781
3283
|
#
|
2782
3284
|
#
|
2783
3285
|
#
|
2784
3286
|
# [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
|
3287
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples
|
3288
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html
|
3289
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
2789
3290
|
#
|
2790
3291
|
# @option params [required, String] :account_id
|
2791
3292
|
# The AWS account ID of the Outposts bucket.
|
@@ -2906,7 +3407,7 @@ module Aws::S3Control
|
|
2906
3407
|
#
|
2907
3408
|
#
|
2908
3409
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html
|
2909
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3410
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
2910
3411
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
|
2911
3412
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples
|
2912
3413
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html
|
@@ -2967,9 +3468,9 @@ module Aws::S3Control
|
|
2967
3468
|
#
|
2968
3469
|
# </note>
|
2969
3470
|
#
|
2970
|
-
# Sets the tags for an Outposts bucket. For more information, see
|
2971
|
-
# Amazon S3 on Outposts][2] in the *Amazon Simple Storage Service
|
2972
|
-
# Guide*.
|
3471
|
+
# Sets the tags for an S3 on Outposts bucket. For more information, see
|
3472
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon Simple Storage Service
|
3473
|
+
# User Guide*.
|
2973
3474
|
#
|
2974
3475
|
# Use tags to organize your AWS bill to reflect your own cost structure.
|
2975
3476
|
# To do this, sign up to get your AWS account bill with tag key values
|
@@ -2978,11 +3479,11 @@ module Aws::S3Control
|
|
2978
3479
|
# values. For example, you can tag several resources with a specific
|
2979
3480
|
# application name, and then organize your billing information to see
|
2980
3481
|
# the total cost of that application across several services. For more
|
2981
|
-
# information, see [Cost
|
3482
|
+
# information, see [Cost allocation and tagging][3].
|
2982
3483
|
#
|
2983
3484
|
# <note markdown="1"> Within a bucket, if you add a tag that has the same key as an existing
|
2984
3485
|
# tag, the new value overwrites the old value. For more information, see
|
2985
|
-
# [ Using
|
3486
|
+
# [ Using cost allocation in Amazon S3 bucket tags][4].
|
2986
3487
|
#
|
2987
3488
|
# </note>
|
2988
3489
|
#
|
@@ -2990,8 +3491,8 @@ module Aws::S3Control
|
|
2990
3491
|
# `s3-outposts:PutBucketTagging` action. The Outposts bucket owner has
|
2991
3492
|
# this permission by default and can grant this permission to others.
|
2992
3493
|
# For more information about permissions, see [ Permissions Related to
|
2993
|
-
# Bucket Subresource Operations][5] and [Managing
|
2994
|
-
#
|
3494
|
+
# Bucket Subresource Operations][5] and [Managing access permissions to
|
3495
|
+
# your Amazon S3 resources][6].
|
2995
3496
|
#
|
2996
3497
|
# `PutBucketTagging` has the following special errors:
|
2997
3498
|
#
|
@@ -3041,11 +3542,11 @@ module Aws::S3Control
|
|
3041
3542
|
#
|
3042
3543
|
#
|
3043
3544
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html
|
3044
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3545
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
|
3045
3546
|
# [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/
|
3547
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html
|
3548
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
|
3549
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
|
3049
3550
|
# [7]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html
|
3050
3551
|
# [8]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html
|
3051
3552
|
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html#API_control_PutBucketTagging_Examples
|
@@ -3544,7 +4045,7 @@ module Aws::S3Control
|
|
3544
4045
|
params: params,
|
3545
4046
|
config: config)
|
3546
4047
|
context[:gem_name] = 'aws-sdk-s3control'
|
3547
|
-
context[:gem_version] = '1.
|
4048
|
+
context[:gem_version] = '1.31.0'
|
3548
4049
|
Seahorse::Client::Request.new(handlers, context)
|
3549
4050
|
end
|
3550
4051
|
|