/* * 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 codedeploy-2014-10-06.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.CodeDeploy.Model { /// /// Container for the parameters to the ListDeploymentInstances operation. /// /// /// The newer BatchGetDeploymentTargets should be used instead because it /// works with all compute types. ListDeploymentInstances throws an exception /// if it is used with a compute platform other than EC2/On-premises or Lambda. /// /// /// /// Lists the instance for a deployment associated with the IAM user or Amazon Web Services /// account. /// /// public partial class ListDeploymentInstancesRequest : AmazonCodeDeployRequest { private string _deploymentId; private List _instanceStatusFilter = new List(); private List _instanceTypeFilter = new List(); private string _nextToken; /// /// Gets and sets the property DeploymentId. /// /// The unique ID of a deployment. /// /// [AWSProperty(Required=true)] public string DeploymentId { get { return this._deploymentId; } set { this._deploymentId = value; } } // Check to see if DeploymentId property is set internal bool IsSetDeploymentId() { return this._deploymentId != null; } /// /// Gets and sets the property InstanceStatusFilter. /// /// A subset of instances to list by status: /// ///
  • /// /// Pending: Include those instances with pending deployments. /// ///
  • /// /// InProgress: Include those instances where deployments are still in progress. /// ///
  • /// /// Succeeded: Include those instances with successful deployments. /// ///
  • /// /// Failed: Include those instances with failed deployments. /// ///
  • /// /// Skipped: Include those instances with skipped deployments. /// ///
  • /// /// Unknown: Include those instances with deployments in an unknown state. /// ///
///
public List InstanceStatusFilter { get { return this._instanceStatusFilter; } set { this._instanceStatusFilter = value; } } // Check to see if InstanceStatusFilter property is set internal bool IsSetInstanceStatusFilter() { return this._instanceStatusFilter != null && this._instanceStatusFilter.Count > 0; } /// /// Gets and sets the property InstanceTypeFilter. /// /// The set of instances in a blue/green deployment, either those in the original environment /// ("BLUE") or those in the replacement environment ("GREEN"), for which you want to /// view instance information. /// /// public List InstanceTypeFilter { get { return this._instanceTypeFilter; } set { this._instanceTypeFilter = value; } } // Check to see if InstanceTypeFilter property is set internal bool IsSetInstanceTypeFilter() { return this._instanceTypeFilter != null && this._instanceTypeFilter.Count > 0; } /// /// Gets and sets the property NextToken. /// /// An identifier returned from the previous list deployment instances call. It can be /// used to return the next set of deployment instances in the list. /// /// public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }