Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public GraphQLAWSClient(Uri endPoint, AWSOptions awsOptions, RegionEndpoint region, string serviceName)
     : this(new GraphQLClientOptions {
     EndPoint = endPoint
 }, awsOptions, region, serviceName)
 {
 }