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 locations in which a given accelerator type or set of types is present in a given region.
Synopsis
- data DescribeAcceleratorOfferings = DescribeAcceleratorOfferings' {}
- newDescribeAcceleratorOfferings :: LocationType -> DescribeAcceleratorOfferings
- describeAcceleratorOfferings_acceleratorTypes :: Lens' DescribeAcceleratorOfferings (Maybe [Text])
- describeAcceleratorOfferings_locationType :: Lens' DescribeAcceleratorOfferings LocationType
- data DescribeAcceleratorOfferingsResponse = DescribeAcceleratorOfferingsResponse' {}
- newDescribeAcceleratorOfferingsResponse :: Int -> DescribeAcceleratorOfferingsResponse
- describeAcceleratorOfferingsResponse_acceleratorTypeOfferings :: Lens' DescribeAcceleratorOfferingsResponse (Maybe [AcceleratorTypeOffering])
- describeAcceleratorOfferingsResponse_httpStatus :: Lens' DescribeAcceleratorOfferingsResponse Int
Creating a Request
data DescribeAcceleratorOfferings Source #
See: newDescribeAcceleratorOfferings
smart constructor.
DescribeAcceleratorOfferings' | |
|
Instances
newDescribeAcceleratorOfferings Source #
Create a value of DescribeAcceleratorOfferings
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:acceleratorTypes:DescribeAcceleratorOfferings'
, describeAcceleratorOfferings_acceleratorTypes
- The list of accelerator types to describe.
$sel:locationType:DescribeAcceleratorOfferings'
, describeAcceleratorOfferings_locationType
- The location type that you want to describe accelerator type offerings
for. It can assume the following values: region: will return the
accelerator type offering at the regional level. availability-zone: will
return the accelerator type offering at the availability zone level.
availability-zone-id: will return the accelerator type offering at the
availability zone level returning the availability zone id.
Request Lenses
describeAcceleratorOfferings_acceleratorTypes :: Lens' DescribeAcceleratorOfferings (Maybe [Text]) Source #
The list of accelerator types to describe.
describeAcceleratorOfferings_locationType :: Lens' DescribeAcceleratorOfferings LocationType Source #
The location type that you want to describe accelerator type offerings for. It can assume the following values: region: will return the accelerator type offering at the regional level. availability-zone: will return the accelerator type offering at the availability zone level. availability-zone-id: will return the accelerator type offering at the availability zone level returning the availability zone id.
Destructuring the Response
data DescribeAcceleratorOfferingsResponse Source #
See: newDescribeAcceleratorOfferingsResponse
smart constructor.
DescribeAcceleratorOfferingsResponse' | |
|
Instances
newDescribeAcceleratorOfferingsResponse Source #
Create a value of DescribeAcceleratorOfferingsResponse
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:acceleratorTypeOfferings:DescribeAcceleratorOfferingsResponse'
, describeAcceleratorOfferingsResponse_acceleratorTypeOfferings
- The list of accelerator type offerings for a specific location.
$sel:httpStatus:DescribeAcceleratorOfferingsResponse'
, describeAcceleratorOfferingsResponse_httpStatus
- The response's http status code.
Response Lenses
describeAcceleratorOfferingsResponse_acceleratorTypeOfferings :: Lens' DescribeAcceleratorOfferingsResponse (Maybe [AcceleratorTypeOffering]) Source #
The list of accelerator type offerings for a specific location.
describeAcceleratorOfferingsResponse_httpStatus :: Lens' DescribeAcceleratorOfferingsResponse Int Source #
The response's http status code.