Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes the Elastic Graphics accelerator associated with your instances. For more information about Elastic Graphics, see Amazon Elastic Graphics.
Synopsis
- data DescribeElasticGpus = DescribeElasticGpus' {}
- newDescribeElasticGpus :: DescribeElasticGpus
- describeElasticGpus_dryRun :: Lens' DescribeElasticGpus (Maybe Bool)
- describeElasticGpus_elasticGpuIds :: Lens' DescribeElasticGpus (Maybe [Text])
- describeElasticGpus_filters :: Lens' DescribeElasticGpus (Maybe [Filter])
- describeElasticGpus_maxResults :: Lens' DescribeElasticGpus (Maybe Natural)
- describeElasticGpus_nextToken :: Lens' DescribeElasticGpus (Maybe Text)
- data DescribeElasticGpusResponse = DescribeElasticGpusResponse' {
- elasticGpuSet :: Maybe [ElasticGpus]
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeElasticGpusResponse :: Int -> DescribeElasticGpusResponse
- describeElasticGpusResponse_elasticGpuSet :: Lens' DescribeElasticGpusResponse (Maybe [ElasticGpus])
- describeElasticGpusResponse_maxResults :: Lens' DescribeElasticGpusResponse (Maybe Int)
- describeElasticGpusResponse_nextToken :: Lens' DescribeElasticGpusResponse (Maybe Text)
- describeElasticGpusResponse_httpStatus :: Lens' DescribeElasticGpusResponse Int
Creating a Request
data DescribeElasticGpus Source #
See: newDescribeElasticGpus
smart constructor.
DescribeElasticGpus' | |
|
Instances
newDescribeElasticGpus :: DescribeElasticGpus Source #
Create a value of DescribeElasticGpus
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:dryRun:DescribeElasticGpus'
, describeElasticGpus_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
$sel:elasticGpuIds:DescribeElasticGpus'
, describeElasticGpus_elasticGpuIds
- The Elastic Graphics accelerator IDs.
$sel:filters:DescribeElasticGpus'
, describeElasticGpus_filters
- The filters.
availability-zone
- The Availability Zone in which the Elastic Graphics accelerator resides.elastic-gpu-health
- The status of the Elastic Graphics accelerator (OK
|IMPAIRED
).elastic-gpu-state
- The state of the Elastic Graphics accelerator (ATTACHED
).elastic-gpu-type
- The type of Elastic Graphics accelerator; for example,eg1.medium
.instance-id
- The ID of the instance to which the Elastic Graphics accelerator is associated.
DescribeElasticGpus
, describeElasticGpus_maxResults
- The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value. This value can be between 5 and 1000.
DescribeElasticGpus
, describeElasticGpus_nextToken
- The token to request the next page of results.
Request Lenses
describeElasticGpus_dryRun :: Lens' DescribeElasticGpus (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
describeElasticGpus_elasticGpuIds :: Lens' DescribeElasticGpus (Maybe [Text]) Source #
The Elastic Graphics accelerator IDs.
describeElasticGpus_filters :: Lens' DescribeElasticGpus (Maybe [Filter]) Source #
The filters.
availability-zone
- The Availability Zone in which the Elastic Graphics accelerator resides.elastic-gpu-health
- The status of the Elastic Graphics accelerator (OK
|IMPAIRED
).elastic-gpu-state
- The state of the Elastic Graphics accelerator (ATTACHED
).elastic-gpu-type
- The type of Elastic Graphics accelerator; for example,eg1.medium
.instance-id
- The ID of the instance to which the Elastic Graphics accelerator is associated.
describeElasticGpus_maxResults :: Lens' DescribeElasticGpus (Maybe Natural) Source #
The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value. This value can be between 5 and 1000.
describeElasticGpus_nextToken :: Lens' DescribeElasticGpus (Maybe Text) Source #
The token to request the next page of results.
Destructuring the Response
data DescribeElasticGpusResponse Source #
See: newDescribeElasticGpusResponse
smart constructor.
DescribeElasticGpusResponse' | |
|
Instances
newDescribeElasticGpusResponse Source #
Create a value of DescribeElasticGpusResponse
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:elasticGpuSet:DescribeElasticGpusResponse'
, describeElasticGpusResponse_elasticGpuSet
- Information about the Elastic Graphics accelerators.
DescribeElasticGpus
, describeElasticGpusResponse_maxResults
- The total number of items to return. If the total number of items
available is more than the value specified in max-items then a
Next-Token will be provided in the output that you can use to resume
pagination.
DescribeElasticGpus
, describeElasticGpusResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:httpStatus:DescribeElasticGpusResponse'
, describeElasticGpusResponse_httpStatus
- The response's http status code.
Response Lenses
describeElasticGpusResponse_elasticGpuSet :: Lens' DescribeElasticGpusResponse (Maybe [ElasticGpus]) Source #
Information about the Elastic Graphics accelerators.
describeElasticGpusResponse_maxResults :: Lens' DescribeElasticGpusResponse (Maybe Int) Source #
The total number of items to return. If the total number of items available is more than the value specified in max-items then a Next-Token will be provided in the output that you can use to resume pagination.
describeElasticGpusResponse_nextToken :: Lens' DescribeElasticGpusResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
describeElasticGpusResponse_httpStatus :: Lens' DescribeElasticGpusResponse Int Source #
The response's http status code.