//--- Constructors --- public AwsSqsClientConfig(XDoc config) { PrivateKey = config["privatekey"].AsText; PublicKey = config["publickey"].AsText; AccountId = config["accountid"].AsText; Endpoint = AwsEndpoint.GetEndpoint(config["endpoint"].AsText ?? "default"); UseExpires = config["use-expires"].AsBool ?? false; }
public static void AddEndpoint(AwsEndpoint endpoint) { _endpoints[endpoint.Name] = endpoint; }