class Aws::STS::Endpoints::GetSessionToken
def self.build(context)
def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::STS::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, use_global_endpoint: context.config.sts_regional_endpoints == 'legacy', ) end