| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.ECS.ListContainerInstances
Description
Returns a list of container instances in a specified cluster.
http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html
- data ListContainerInstances
- listContainerInstances :: ListContainerInstances
- lciCluster :: Lens' ListContainerInstances (Maybe Text)
- lciMaxResults :: Lens' ListContainerInstances (Maybe Int)
- lciNextToken :: Lens' ListContainerInstances (Maybe Text)
- data ListContainerInstancesResponse
- listContainerInstancesResponse :: ListContainerInstancesResponse
- lcirContainerInstanceArns :: Lens' ListContainerInstancesResponse [Text]
- lcirNextToken :: Lens' ListContainerInstancesResponse (Maybe Text)
Request
data ListContainerInstances Source
Instances
Request constructor
listContainerInstances :: ListContainerInstances Source
ListContainerInstances constructor.
The fields accessible through corresponding lenses are:
Request lenses
lciCluster :: Lens' ListContainerInstances (Maybe Text) Source
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances you want to list. If you do not specify a cluster, the default cluster is assumed..
lciMaxResults :: Lens' ListContainerInstances (Maybe Int) Source
The maximum number of container instance results returned by ListContainerInstances in paginated output. When this parameter is used, ListContainerInstances
only returns maxResults results in a single page along with a nextToken
response element. The remaining results of the initial request can be seen by
sending another ListContainerInstances request with the returned nextToken
value. This value can be between 1 and 100. If this parameter is not used,
then ListContainerInstances returns up to 100 results and a nextToken value
if applicable.
lciNextToken :: Lens' ListContainerInstances (Maybe Text) Source
The nextToken value returned from a previous paginated ListContainerInstances
request where maxResults was used and the results exceeded the value of that
parameter. Pagination continues from the end of the previous results that
returned the nextToken value. This value is null when there are no more
results to return.
Response
Response constructor
listContainerInstancesResponse :: ListContainerInstancesResponse Source
ListContainerInstancesResponse constructor.
The fields accessible through corresponding lenses are:
Response lenses
lcirContainerInstanceArns :: Lens' ListContainerInstancesResponse [Text] Source
The list of container instance full Amazon Resource Name (ARN) entries for each container instance associated with the specified cluster.
lcirNextToken :: Lens' ListContainerInstancesResponse (Maybe Text) Source
The nextToken value to include in a future ListContainerInstances request.
When the results of a ListContainerInstances request exceed maxResults, this
value can be used to retrieve the next page of results. This value is null
when there are no more results to return.