1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
|
# File 'lib/aws-sdk-s3/endpoints.rb', line 1687
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,
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,
)
end
|