public Ec2ImageDeregisterer(AwsImageDescribeOptionsValues options, AwsImageDeregisterOptionsValues deregisterOptions) { _client = new AmazonEC2Client(options.Credentials, options.RegionEndpoint); _imageHandler = new Ec2ImageHandler(_client); this.options = options; this.deregisterOptions = deregisterOptions; }
public Ec2ImageCreator(AwsImageCreateOptionsValues options) { _client = new AmazonEC2Client(options.Credentials, options.RegionEndpoint); _options = options; _imageHandler = new Ec2ImageHandler(_client); }