Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
This operation returns paginated results.
Synopsis
- listDeploymentInstances :: Text -> ListDeploymentInstances
- data ListDeploymentInstances
- lInstanceStatusFilter :: Lens' ListDeploymentInstances [InstanceStatus]
- lNextToken :: Lens' ListDeploymentInstances (Maybe Text)
- lInstanceTypeFilter :: Lens' ListDeploymentInstances [InstanceType]
- lDeploymentId :: Lens' ListDeploymentInstances Text
- listDeploymentInstancesResponse :: Int -> ListDeploymentInstancesResponse
- data ListDeploymentInstancesResponse
- ldirsNextToken :: Lens' ListDeploymentInstancesResponse (Maybe Text)
- ldirsInstancesList :: Lens' ListDeploymentInstancesResponse [Text]
- ldirsResponseStatus :: Lens' ListDeploymentInstancesResponse Int
Creating a Request
listDeploymentInstances Source #
Creates a value of ListDeploymentInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lInstanceStatusFilter
- A subset of instances to list by status: * Pending: Include those instance with pending deployments. * InProgress: Include those instance where deployments are still in progress. * Succeeded: Include those instances with successful deployments. * Failed: Include those instance with failed deployments. * Skipped: Include those instance with skipped deployments. * Unknown: Include those instance with deployments in an unknown state.lNextToken
- 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.lInstanceTypeFilter
- 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.lDeploymentId
- The unique ID of a deployment.
data ListDeploymentInstances Source #
Represents the input of a ListDeploymentInstances operation.
See: listDeploymentInstances
smart constructor.
Instances
Request Lenses
lInstanceStatusFilter :: Lens' ListDeploymentInstances [InstanceStatus] Source #
A subset of instances to list by status: * Pending: Include those instance with pending deployments. * InProgress: Include those instance where deployments are still in progress. * Succeeded: Include those instances with successful deployments. * Failed: Include those instance with failed deployments. * Skipped: Include those instance with skipped deployments. * Unknown: Include those instance with deployments in an unknown state.
lNextToken :: Lens' ListDeploymentInstances (Maybe Text) Source #
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.
lDeploymentId :: Lens' ListDeploymentInstances Text Source #
The unique ID of a deployment.
Destructuring the Response
listDeploymentInstancesResponse Source #
Creates a value of ListDeploymentInstancesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldirsNextToken
- If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list.ldirsInstancesList
- A list of instance IDs.ldirsResponseStatus
- -- | The response status code.
data ListDeploymentInstancesResponse Source #
Represents the output of a ListDeploymentInstances operation.
See: listDeploymentInstancesResponse
smart constructor.
Instances
Response Lenses
ldirsNextToken :: Lens' ListDeploymentInstancesResponse (Maybe Text) Source #
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list.
ldirsInstancesList :: Lens' ListDeploymentInstancesResponse [Text] Source #
A list of instance IDs.
ldirsResponseStatus :: Lens' ListDeploymentInstancesResponse Int Source #
- - | The response status code.