lib/aws-sdk-s3control/client.rb in aws-sdk-s3control-1.50.0 vs lib/aws-sdk-s3control/client.rb in aws-sdk-s3control-1.51.0

- old
+ new

@@ -377,15 +377,15 @@ # # </note> # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][3] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][3] section. # # # # The following actions are related to `CreateAccessPoint`\: # @@ -663,11 +663,11 @@ # </note> # # @option params [String] :outpost_id # The ID of the Outposts where the bucket is being created. # - # <note markdown="1"> This is required by Amazon S3 on Outposts buckets. + # <note markdown="1"> This ID is required by Amazon S3 on Outposts buckets. # # </note> # # @return [Types::CreateBucketResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -1058,15 +1058,15 @@ # Deletes the specified access point. # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][1] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][1] section. # # The following actions are related to `DeleteAccessPoint`\: # # * [CreateAccessPoint][2] # @@ -1164,15 +1164,15 @@ # # # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][1] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][1] section. # # The following actions are related to `DeleteAccessPointPolicy`\: # # * [PutAccessPointPolicy][2] # @@ -1271,15 +1271,15 @@ # before the bucket itself can be deleted. For more information, see # [Using Amazon S3 on Outposts][2] in *Amazon S3 User Guide*. # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][3] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][3] section. # # **Related Resources** # # * [CreateBucket][4] # @@ -1352,15 +1352,15 @@ # bucket owner has this permission and the Outposts bucket owner can # grant this permission to others. # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][3] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][3] section. # # For more information about object expiration, see [Elements to # Describe Lifecycle Actions][4]. # # Related actions include: @@ -1443,15 +1443,15 @@ # For more information about bucket policies, see [Using Bucket Policies # and User Policies][3]. # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][4] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][4] section. # # The following actions are related to `DeleteBucketPolicy`\: # # * [GetBucketPolicy][5] # @@ -1516,15 +1516,15 @@ # `PutBucketTagging` action. By default, the bucket owner has this # permission and can grant this permission to others. # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][3] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][3] section. # # The following actions are related to `DeleteBucketTagging`\: # # * [GetBucketTagging][4] # @@ -2051,15 +2051,15 @@ # # # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][1] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][1] section. # # The following actions are related to `GetAccessPoint`\: # # * [CreateAccessPoint][2] # @@ -2439,15 +2439,15 @@ # The following actions are related to `GetBucket` for Amazon S3 on # Outposts: # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][2] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][2] section. # # * [PutObject][3] # # * [CreateBucket][4] # @@ -2526,15 +2526,15 @@ # [Permissions Related to Bucket Subresource Operations][4] and # [Managing Access Permissions to Your Amazon S3 Resources][5]. # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][6] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][6] section. # # `GetBucketLifecycleConfiguration` has the following special error: # # * Error code: `NoSuchLifecycleConfiguration` # @@ -2655,15 +2655,15 @@ # For more information about bucket policies, see [Using Bucket Policies # and User Policies][3]. # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][4] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][4] section. # # The following actions are related to `GetBucketPolicy`\: # # * [GetObject][5] # @@ -2746,15 +2746,15 @@ # # ^ # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][3] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][3] section. # # The following actions are related to `GetBucketTagging`\: # # * [PutBucketTagging][4] # @@ -2811,10 +2811,85 @@ def get_bucket_tagging(params = {}, options = {}) req = build_request(:get_bucket_tagging, params) req.send_request(options) end + # <note markdown="1"> This operation returns the versioning state only for S3 on Outposts + # buckets. To return the versioning state for an S3 bucket, see + # [GetBucketVersioning][1] in the *Amazon S3 API Reference*. + # + # </note> + # + # Returns the versioning state for an S3 on Outposts bucket. With + # versioning, you can save multiple distinct copies of your data and + # recover from unintended user actions and application failures. + # + # If you've never set versioning on your bucket, it has no versioning + # state. In that case, the `GetBucketVersioning` request does not return + # a versioning state value. + # + # For more information about versioning, see [Versioning][2] in the + # *Amazon S3 User Guide*. + # + # All Amazon S3 on Outposts REST API requests for this action require an + # additional parameter of `x-amz-outpost-id` to be passed with the + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][3] section. + # + # The following operations are related to `GetBucketVersioning` for S3 + # on Outposts. + # + # * [PutBucketVersioning][4] + # + # * [PutBucketLifecycleConfiguration][5] + # + # * [GetBucketLifecycleConfiguration][6] + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html + # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html + # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html#API_control_GetBucketVersioning_Examples + # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html + # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html + # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html + # + # @option params [required, String] :account_id + # The Amazon Web Services account ID of the S3 on Outposts bucket. + # + # @option params [required, String] :bucket + # The S3 on Outposts bucket to return the versioning state for. + # + # @return [Types::GetBucketVersioningResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::GetBucketVersioningResult#status #status} => String + # * {Types::GetBucketVersioningResult#mfa_delete #mfa_delete} => String + # + # @example Request syntax with placeholder values + # + # resp = client.get_bucket_versioning({ + # account_id: "AccountId", # required + # bucket: "BucketName", # required + # }) + # + # @example Response structure + # + # resp.status #=> String, one of "Enabled", "Suspended" + # resp.mfa_delete #=> String, one of "Enabled", "Disabled" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketVersioning AWS API Documentation + # + # @overload get_bucket_versioning(params = {}) + # @param [Hash] params ({}) + def get_bucket_versioning(params = {}, options = {}) + req = build_request(:get_bucket_versioning, params) + req.send_request(options) + end + # Returns the tags on an S3 Batch Operations job. To use this operation, # you must have permission to perform the `s3:GetJobTagging` action. For # more information, see [Controlling access and labeling jobs using # tags][1] in the *Amazon S3 User Guide*. # @@ -3240,15 +3315,15 @@ # # # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][1] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][1] section. # # The following actions are related to `ListAccessPoints`\: # # * [CreateAccessPoint][2] # @@ -3584,13 +3659,13 @@ # @option params [String] :next_token # # @option params [Integer] :max_results # # @option params [String] :outpost_id - # The ID of the Outposts. + # The ID of the Outposts resource. # - # <note markdown="1"> This is required by Amazon S3 on Outposts buckets. + # <note markdown="1"> This ID is required by Amazon S3 on Outposts buckets. # # </note> # # @return [Types::ListRegionalBucketsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -3746,15 +3821,15 @@ # # # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][1] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][1] section. # # The following actions are related to `PutAccessPointPolicy`\: # # * [GetAccessPointPolicy][2] # @@ -3874,15 +3949,15 @@ # # # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][2] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][2] section. # # The following actions are related to # `PutBucketLifecycleConfiguration`\: # # * [GetBucketLifecycleConfiguration][3] @@ -4000,15 +4075,15 @@ # For more information about bucket policies, see [Using Bucket Policies # and User Policies][3]. # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][4] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][4] section. # # The following actions are related to `PutBucketPolicy`\: # # * [GetBucketPolicy][5] # @@ -4137,15 +4212,15 @@ # # ^ # # All Amazon S3 on Outposts REST API requests for this action require an # additional parameter of `x-amz-outpost-id` to be passed with the - # request and an S3 on Outposts endpoint hostname prefix instead of - # `s3-control`. For an example of the request syntax for Amazon S3 on - # Outposts that uses the S3 on Outposts endpoint hostname prefix and the - # `x-amz-outpost-id` derived using the access point ARN, see the - # [Examples][9] section. + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][9] section. # # The following actions are related to `PutBucketTagging`\: # # * [GetBucketTagging][10] # @@ -4210,10 +4285,110 @@ def put_bucket_tagging(params = {}, options = {}) req = build_request(:put_bucket_tagging, params) req.send_request(options) end + # <note markdown="1"> This operation sets the versioning state only for S3 on Outposts + # buckets. To set the versioning state for an S3 bucket, see + # [PutBucketVersioning][1] in the *Amazon S3 API Reference*. + # + # </note> + # + # Sets the versioning state for an S3 on Outposts bucket. With + # versioning, you can save multiple distinct copies of your data and + # recover from unintended user actions and application failures. + # + # You can set the versioning state to one of the following: + # + # * **Enabled** - Enables versioning for the objects in the bucket. All + # objects added to the bucket receive a unique version ID. + # + # * **Suspended** - Suspends versioning for the objects in the bucket. + # All objects added to the bucket receive the version ID `null`. + # + # If you've never set versioning on your bucket, it has no versioning + # state. In that case, a [ GetBucketVersioning][2] request does not + # return a versioning state value. + # + # When you enable S3 Versioning, for each object in your bucket, you + # have a current version and zero or more noncurrent versions. You can + # configure your bucket S3 Lifecycle rules to expire noncurrent versions + # after a specified time period. For more information, see [ Creating + # and managing a lifecycle configuration for your S3 on Outposts + # bucket][3] in the *Amazon S3 User Guide*. + # + # If you have an object expiration lifecycle policy in your + # non-versioned bucket and you want to maintain the same permanent + # delete behavior when you enable versioning, you must add a noncurrent + # expiration policy. The noncurrent expiration lifecycle policy will + # manage the deletes of the noncurrent object versions in the + # version-enabled bucket. For more information, see [Versioning][4] in + # the *Amazon S3 User Guide*. + # + # All Amazon S3 on Outposts REST API requests for this action require an + # additional parameter of `x-amz-outpost-id` to be passed with the + # request. In addition, you must use an S3 on Outposts endpoint hostname + # prefix instead of `s3-control`. For an example of the request syntax + # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint + # hostname prefix and the `x-amz-outpost-id` derived by using the access + # point ARN, see the [Examples][5] section. + # + # The following operations are related to `PutBucketVersioning` for S3 + # on Outposts. + # + # * [GetBucketVersioning][2] + # + # * [PutBucketLifecycleConfiguration][6] + # + # * [GetBucketLifecycleConfiguration][7] + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html + # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html + # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsLifecycleManaging.html + # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html + # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html#API_control_PutBucketVersioning_Examples + # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html + # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html + # + # @option params [required, String] :account_id + # The Amazon Web Services account ID of the S3 on Outposts bucket. + # + # @option params [required, String] :bucket + # The S3 on Outposts bucket to set the versioning state for. + # + # @option params [String] :mfa + # The concatenation of the authentication device's serial number, a + # space, and the value that is displayed on your authentication device. + # + # @option params [required, Types::VersioningConfiguration] :versioning_configuration + # The root-level tag for the `VersioningConfiguration` parameters. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.put_bucket_versioning({ + # account_id: "AccountId", # required + # bucket: "BucketName", # required + # mfa: "MFA", + # versioning_configuration: { # required + # mfa_delete: "Enabled", # accepts Enabled, Disabled + # status: "Enabled", # accepts Enabled, Suspended + # }, + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketVersioning AWS API Documentation + # + # @overload put_bucket_versioning(params = {}) + # @param [Hash] params ({}) + def put_bucket_versioning(params = {}, options = {}) + req = build_request(:put_bucket_versioning, params) + req.send_request(options) + end + # Sets the supplied tag-set on an S3 Batch Operations job. # # A tag is a key-value pair. You can associate S3 Batch Operations tags # with any job by sending a PUT request against the tagging subresource # that is associated with the job. To modify the existing tag set, you @@ -4375,11 +4550,11 @@ req.send_request(options) end # Creates or modifies the `PublicAccessBlock` configuration for an # Amazon Web Services account. For this operation, users must have the - # `s3:PutBucketPublicAccessBlock` permission. For more information, see + # `s3:PutAccountPublicAccessBlock` permission. For more information, see # [ Using Amazon S3 block public access][1]. # # Related actions include: # # * [GetPublicAccessBlock][2] @@ -4729,10 +4904,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-s3control' - context[:gem_version] = '1.50.0' + context[:gem_version] = '1.51.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated