/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the ec2-2016-11-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.EC2.Model
{
///
/// Container for the parameters to the DescribeBundleTasks operation.
/// Describes the specified bundle tasks or all of your bundle tasks.
///
///
///
/// Completed bundle tasks are listed for only a limited time. If your bundle task is
/// no longer in the list, you can still register an AMI from it. Just use RegisterImage
/// with the Amazon S3 bucket name and image manifest name you provided to the bundle
/// task.
///
///
///
public partial class DescribeBundleTasksRequest : AmazonEC2Request
{
private List _bundleIds = new List();
private List _filters = new List();
///
/// Gets and sets the property BundleIds.
///
/// The bundle task IDs.
///
///
///
/// Default: Describes all your bundle tasks.
///
///
public List BundleIds
{
get { return this._bundleIds; }
set { this._bundleIds = value; }
}
// Check to see if BundleIds property is set
internal bool IsSetBundleIds()
{
return this._bundleIds != null && this._bundleIds.Count > 0;
}
///
/// Gets and sets the property Filters.
///
/// The filters.
///
/// -
///
///
bundle-id
- The ID of the bundle task.
///
/// -
///
///
error-code
- If the task failed, the error code returned.
///
/// -
///
///
error-message
- If the task failed, the error message returned.
///
/// -
///
///
instance-id
- The ID of the instance.
///
/// -
///
///
progress
- The level of task completion, as a percentage (for example,
/// 20%).
///
/// -
///
///
s3-bucket
- The Amazon S3 bucket to store the AMI.
///
/// -
///
///
s3-prefix
- The beginning of the AMI name.
///
/// -
///
///
start-time
- The time the task started (for example, 2013-09-15T17:15:20.000Z).
///
/// -
///
///
state
- The state of the task (pending
| waiting-for-shutdown
/// | bundling
| storing
| cancelling
| complete
/// | failed
).
///
/// -
///
///
update-time
- The time of the most recent update for the task.
///
///
///
public List Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
}
}