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 data feed for Spot Instances. For more information, see Spot Instance data feed in the Amazon EC2 User Guide for Linux Instances.
Synopsis
- data DescribeSpotDatafeedSubscription = DescribeSpotDatafeedSubscription' {}
- newDescribeSpotDatafeedSubscription :: DescribeSpotDatafeedSubscription
- describeSpotDatafeedSubscription_dryRun :: Lens' DescribeSpotDatafeedSubscription (Maybe Bool)
- data DescribeSpotDatafeedSubscriptionResponse = DescribeSpotDatafeedSubscriptionResponse' {}
- newDescribeSpotDatafeedSubscriptionResponse :: Int -> DescribeSpotDatafeedSubscriptionResponse
- describeSpotDatafeedSubscriptionResponse_spotDatafeedSubscription :: Lens' DescribeSpotDatafeedSubscriptionResponse (Maybe SpotDatafeedSubscription)
- describeSpotDatafeedSubscriptionResponse_httpStatus :: Lens' DescribeSpotDatafeedSubscriptionResponse Int
Creating a Request
data DescribeSpotDatafeedSubscription Source #
Contains the parameters for DescribeSpotDatafeedSubscription.
See: newDescribeSpotDatafeedSubscription
smart constructor.
Instances
newDescribeSpotDatafeedSubscription :: DescribeSpotDatafeedSubscription Source #
Create a value of DescribeSpotDatafeedSubscription
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:DescribeSpotDatafeedSubscription'
, describeSpotDatafeedSubscription_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
.
Request Lenses
describeSpotDatafeedSubscription_dryRun :: Lens' DescribeSpotDatafeedSubscription (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
.
Destructuring the Response
data DescribeSpotDatafeedSubscriptionResponse Source #
Contains the output of DescribeSpotDatafeedSubscription.
See: newDescribeSpotDatafeedSubscriptionResponse
smart constructor.
DescribeSpotDatafeedSubscriptionResponse' | |
|
Instances
newDescribeSpotDatafeedSubscriptionResponse Source #
Create a value of DescribeSpotDatafeedSubscriptionResponse
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:spotDatafeedSubscription:DescribeSpotDatafeedSubscriptionResponse'
, describeSpotDatafeedSubscriptionResponse_spotDatafeedSubscription
- The Spot Instance data feed subscription.
$sel:httpStatus:DescribeSpotDatafeedSubscriptionResponse'
, describeSpotDatafeedSubscriptionResponse_httpStatus
- The response's http status code.
Response Lenses
describeSpotDatafeedSubscriptionResponse_spotDatafeedSubscription :: Lens' DescribeSpotDatafeedSubscriptionResponse (Maybe SpotDatafeedSubscription) Source #
The Spot Instance data feed subscription.
describeSpotDatafeedSubscriptionResponse_httpStatus :: Lens' DescribeSpotDatafeedSubscriptionResponse Int Source #
The response's http status code.