Class: Aws::S3::Endpoints::GetObjectLegalHold Private
- Inherits:
-
Object
- Object
- Aws::S3::Endpoints::GetObjectLegalHold
- 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
- .build(context) ⇒ Object private
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.
1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 |
# File 'lib/aws-sdk-s3/endpoints.rb', line 1264 def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::S3::EndpointParameters.new( bucket: context.params[:bucket], region: context.config.region, use_fips: context.config.use_fips_endpoint, use_dual_stack: context[:use_dualstack_endpoint], endpoint: endpoint, force_path_style: context.config.force_path_style, accelerate: context[:use_accelerate_endpoint], use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy', use_object_lambda_endpoint: nil, key: nil, prefix: nil, disable_access_points: nil, disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points, use_arn_region: context.config.s3_use_arn_region, use_s3_express_control_endpoint: nil, disable_s3_express_session_auth: context.config.disable_s3_express_session_auth, ) end |