Copyright | (c) 2013-2021 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 |
Describes the task sets in the specified cluster and service. This is
used when a service uses the EXTERNAL
deployment controller type. For
more information, see
Amazon ECS Deployment Types
in the Amazon Elastic Container Service Developer Guide.
Synopsis
- data DescribeTaskSets = DescribeTaskSets' {}
- newDescribeTaskSets :: Text -> Text -> DescribeTaskSets
- describeTaskSets_taskSets :: Lens' DescribeTaskSets (Maybe [Text])
- describeTaskSets_include :: Lens' DescribeTaskSets (Maybe [TaskSetField])
- describeTaskSets_cluster :: Lens' DescribeTaskSets Text
- describeTaskSets_service :: Lens' DescribeTaskSets Text
- data DescribeTaskSetsResponse = DescribeTaskSetsResponse' {}
- newDescribeTaskSetsResponse :: Int -> DescribeTaskSetsResponse
- describeTaskSetsResponse_taskSets :: Lens' DescribeTaskSetsResponse (Maybe [TaskSet])
- describeTaskSetsResponse_failures :: Lens' DescribeTaskSetsResponse (Maybe [Failure])
- describeTaskSetsResponse_httpStatus :: Lens' DescribeTaskSetsResponse Int
Creating a Request
data DescribeTaskSets Source #
See: newDescribeTaskSets
smart constructor.
DescribeTaskSets' | |
|
Instances
Create a value of DescribeTaskSets
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:taskSets:DescribeTaskSets'
, describeTaskSets_taskSets
- The ID or full Amazon Resource Name (ARN) of task sets to describe.
$sel:include:DescribeTaskSets'
, describeTaskSets_include
- Specifies whether to see the resource tags for the task set. If TAGS
is specified, the tags are included in the response. If this field is
omitted, tags are not included in the response.
$sel:cluster:DescribeTaskSets'
, describeTaskSets_cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the service that the task sets exist in.
$sel:service:DescribeTaskSets'
, describeTaskSets_service
- The short name or full Amazon Resource Name (ARN) of the service that
the task sets exist in.
Request Lenses
describeTaskSets_taskSets :: Lens' DescribeTaskSets (Maybe [Text]) Source #
The ID or full Amazon Resource Name (ARN) of task sets to describe.
describeTaskSets_include :: Lens' DescribeTaskSets (Maybe [TaskSetField]) Source #
Specifies whether to see the resource tags for the task set. If TAGS
is specified, the tags are included in the response. If this field is
omitted, tags are not included in the response.
describeTaskSets_cluster :: Lens' DescribeTaskSets Text Source #
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.
describeTaskSets_service :: Lens' DescribeTaskSets Text Source #
The short name or full Amazon Resource Name (ARN) of the service that the task sets exist in.
Destructuring the Response
data DescribeTaskSetsResponse Source #
See: newDescribeTaskSetsResponse
smart constructor.
Instances
newDescribeTaskSetsResponse Source #
Create a value of DescribeTaskSetsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:taskSets:DescribeTaskSets'
, describeTaskSetsResponse_taskSets
- The list of task sets described.
$sel:failures:DescribeTaskSetsResponse'
, describeTaskSetsResponse_failures
- Any failures associated with the call.
$sel:httpStatus:DescribeTaskSetsResponse'
, describeTaskSetsResponse_httpStatus
- The response's http status code.
Response Lenses
describeTaskSetsResponse_taskSets :: Lens' DescribeTaskSetsResponse (Maybe [TaskSet]) Source #
The list of task sets described.
describeTaskSetsResponse_failures :: Lens' DescribeTaskSetsResponse (Maybe [Failure]) Source #
Any failures associated with the call.
describeTaskSetsResponse_httpStatus :: Lens' DescribeTaskSetsResponse Int Source #
The response's http status code.