Class: Aws::S3::Endpoints::PutBucketVersioning Private

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-sdk-s3/endpoints.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Class Method Details

.build(context) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



1062
1063
1064
1065
1066
1067
1068
1069
1070
# File 'lib/aws-sdk-s3/endpoints.rb', line 1062

def self.build(context)
  Aws::S3::EndpointParameters.create(
    context.config,
    bucket: context.params[:bucket],
    use_dual_stack: context[:use_dualstack_endpoint],
    accelerate: context[:use_accelerate_endpoint],
    use_s3_express_control_endpoint: true,
  )
end