public GraphQLAWSClient(GraphQLClientOptions options, AWSOptions awsOptions, RegionEndpoint region, string serviceName) { this.options = options; this.accessKey = awsOptions.AccessKey; this.secretKey = awsOptions.SecretKey; this.sessionToken = awsOptions.SessionToken; this.serviceName = serviceName; this.region = region.SystemName; this.httpClient = new HttpClient(this.options.HttpMessageHandler); }
public GraphQLAWSClient(Uri endPoint, AWSOptions awsOptions, RegionEndpoint region, string serviceName) : this(new GraphQLClientOptions { EndPoint = endPoint }, awsOptions, region, serviceName) { }