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 |
Describes one or more of your compute environments.
If you are using an unmanaged compute environment, you can use the DescribeComputeEnvironment
operation to determine the ecsClusterArn
that you should launch your Amazon ECS container instances into.
Synopsis
- describeComputeEnvironments :: DescribeComputeEnvironments
- data DescribeComputeEnvironments
- dceComputeEnvironments :: Lens' DescribeComputeEnvironments [Text]
- dceNextToken :: Lens' DescribeComputeEnvironments (Maybe Text)
- dceMaxResults :: Lens' DescribeComputeEnvironments (Maybe Int)
- describeComputeEnvironmentsResponse :: Int -> DescribeComputeEnvironmentsResponse
- data DescribeComputeEnvironmentsResponse
- drsComputeEnvironments :: Lens' DescribeComputeEnvironmentsResponse [ComputeEnvironmentDetail]
- drsNextToken :: Lens' DescribeComputeEnvironmentsResponse (Maybe Text)
- drsResponseStatus :: Lens' DescribeComputeEnvironmentsResponse Int
Creating a Request
describeComputeEnvironments :: DescribeComputeEnvironments Source #
Creates a value of DescribeComputeEnvironments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dceComputeEnvironments
- A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.dceNextToken
- ThenextToken
value returned from a previous paginatedDescribeComputeEnvironments
request wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value. This value isnull
when there are no more results to return.dceMaxResults
- The maximum number of cluster results returned byDescribeComputeEnvironments
in paginated output. When this parameter is used,DescribeComputeEnvironments
only returnsmaxResults
results in a single page along with anextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribeComputeEnvironments
request with the returnednextToken
value. This value can be between 1 and 100. If this parameter is not used, thenDescribeComputeEnvironments
returns up to 100 results and anextToken
value if applicable.
data DescribeComputeEnvironments Source #
See: describeComputeEnvironments
smart constructor.
Instances
Request Lenses
dceComputeEnvironments :: Lens' DescribeComputeEnvironments [Text] Source #
A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.
dceNextToken :: Lens' DescribeComputeEnvironments (Maybe Text) Source #
The nextToken
value returned from a previous paginated DescribeComputeEnvironments
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.
dceMaxResults :: Lens' DescribeComputeEnvironments (Maybe Int) Source #
The maximum number of cluster results returned by DescribeComputeEnvironments
in paginated output. When this parameter is used, DescribeComputeEnvironments
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 DescribeComputeEnvironments
request with the returned nextToken
value. This value can be between 1 and 100. If this parameter is not used, then DescribeComputeEnvironments
returns up to 100 results and a nextToken
value if applicable.
Destructuring the Response
describeComputeEnvironmentsResponse Source #
Creates a value of DescribeComputeEnvironmentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsComputeEnvironments
- The list of compute environments.drsNextToken
- ThenextToken
value to include in a futureDescribeComputeEnvironments
request. When the results of aDescribeJobDefinitions
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.drsResponseStatus
- -- | The response status code.
data DescribeComputeEnvironmentsResponse Source #
See: describeComputeEnvironmentsResponse
smart constructor.
Instances
Response Lenses
drsComputeEnvironments :: Lens' DescribeComputeEnvironmentsResponse [ComputeEnvironmentDetail] Source #
The list of compute environments.
drsNextToken :: Lens' DescribeComputeEnvironmentsResponse (Maybe Text) Source #
The nextToken
value to include in a future DescribeComputeEnvironments
request. When the results of a DescribeJobDefinitions
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.
drsResponseStatus :: Lens' DescribeComputeEnvironmentsResponse Int Source #
- - | The response status code.