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 one or more container instances. Returns metadata about each container instance requested.
Synopsis
- data DescribeContainerInstances = DescribeContainerInstances' {
- include :: Maybe [ContainerInstanceField]
- cluster :: Maybe Text
- containerInstances :: [Text]
- newDescribeContainerInstances :: DescribeContainerInstances
- describeContainerInstances_include :: Lens' DescribeContainerInstances (Maybe [ContainerInstanceField])
- describeContainerInstances_cluster :: Lens' DescribeContainerInstances (Maybe Text)
- describeContainerInstances_containerInstances :: Lens' DescribeContainerInstances [Text]
- data DescribeContainerInstancesResponse = DescribeContainerInstancesResponse' {}
- newDescribeContainerInstancesResponse :: Int -> DescribeContainerInstancesResponse
- describeContainerInstancesResponse_failures :: Lens' DescribeContainerInstancesResponse (Maybe [Failure])
- describeContainerInstancesResponse_containerInstances :: Lens' DescribeContainerInstancesResponse (Maybe [ContainerInstance])
- describeContainerInstancesResponse_httpStatus :: Lens' DescribeContainerInstancesResponse Int
Creating a Request
data DescribeContainerInstances Source #
See: newDescribeContainerInstances
smart constructor.
DescribeContainerInstances' | |
|
Instances
newDescribeContainerInstances :: DescribeContainerInstances Source #
Create a value of DescribeContainerInstances
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:include:DescribeContainerInstances'
, describeContainerInstances_include
- Specifies whether you want to see the resource tags for the container
instance. 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:DescribeContainerInstances'
, describeContainerInstances_cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the container instances to describe. If you do not specify a
cluster, the default cluster is assumed. This parameter is required if
the container instance or container instances you are describing were
launched in any cluster other than the default cluster.
$sel:containerInstances:DescribeContainerInstances'
, describeContainerInstances_containerInstances
- A list of up to 100 container instance IDs or full Amazon Resource Name
(ARN) entries.
Request Lenses
describeContainerInstances_include :: Lens' DescribeContainerInstances (Maybe [ContainerInstanceField]) Source #
Specifies whether you want to see the resource tags for the container
instance. If TAGS
is specified, the tags are included in the response.
If this field is omitted, tags are not included in the response.
describeContainerInstances_cluster :: Lens' DescribeContainerInstances (Maybe Text) Source #
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance or container instances you are describing were launched in any cluster other than the default cluster.
describeContainerInstances_containerInstances :: Lens' DescribeContainerInstances [Text] Source #
A list of up to 100 container instance IDs or full Amazon Resource Name (ARN) entries.
Destructuring the Response
data DescribeContainerInstancesResponse Source #
See: newDescribeContainerInstancesResponse
smart constructor.
DescribeContainerInstancesResponse' | |
|
Instances
newDescribeContainerInstancesResponse Source #
Create a value of DescribeContainerInstancesResponse
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:failures:DescribeContainerInstancesResponse'
, describeContainerInstancesResponse_failures
- Any failures associated with the call.
$sel:containerInstances:DescribeContainerInstances'
, describeContainerInstancesResponse_containerInstances
- The list of container instances.
$sel:httpStatus:DescribeContainerInstancesResponse'
, describeContainerInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
describeContainerInstancesResponse_failures :: Lens' DescribeContainerInstancesResponse (Maybe [Failure]) Source #
Any failures associated with the call.
describeContainerInstancesResponse_containerInstances :: Lens' DescribeContainerInstancesResponse (Maybe [ContainerInstance]) Source #
The list of container instances.
describeContainerInstancesResponse_httpStatus :: Lens' DescribeContainerInstancesResponse Int Source #
The response's http status code.