Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public override void Invoke(AWSCredentials creds, RegionEndpoint region, int maxItems) { AmazonEC2Config config = new AmazonEC2Config(); config.RegionEndpoint = region; ConfigureClient(config); AmazonEC2Client client = new AmazonEC2Client(creds, config); DescribeExportTasksResponse resp = new DescribeExportTasksResponse(); DescribeExportTasksRequest req = new DescribeExportTasksRequest { }; resp = client.DescribeExportTasks(req); CheckError(resp.HttpStatusCode, "200"); foreach (var obj in resp.ExportTasks) { AddObject(obj); } }