Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.EC2.DescribeSpotDatafeedSubscription
Description
Describes the data feed for Spot instances. For more information, see Spot Instance Data Feed in the Amazon Elastic Compute Cloud User Guide .
- describeSpotDatafeedSubscription :: DescribeSpotDatafeedSubscription
- data DescribeSpotDatafeedSubscription
- dsdsDryRun :: Lens' DescribeSpotDatafeedSubscription (Maybe Bool)
- describeSpotDatafeedSubscriptionResponse :: Int -> DescribeSpotDatafeedSubscriptionResponse
- data DescribeSpotDatafeedSubscriptionResponse
- dsdsrsSpotDatafeedSubscription :: Lens' DescribeSpotDatafeedSubscriptionResponse (Maybe SpotDatafeedSubscription)
- dsdsrsResponseStatus :: Lens' DescribeSpotDatafeedSubscriptionResponse Int
Creating a Request
describeSpotDatafeedSubscription :: DescribeSpotDatafeedSubscription #
Creates a value of DescribeSpotDatafeedSubscription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsdsDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.
data DescribeSpotDatafeedSubscription #
Contains the parameters for DescribeSpotDatafeedSubscription.
See: describeSpotDatafeedSubscription
smart constructor.
Instances
Request Lenses
dsdsDryRun :: Lens' DescribeSpotDatafeedSubscription (Maybe Bool) #
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
describeSpotDatafeedSubscriptionResponse #
Creates a value of DescribeSpotDatafeedSubscriptionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsdsrsSpotDatafeedSubscription
- The Spot instance data feed subscription.dsdsrsResponseStatus
- -- | The response status code.
data DescribeSpotDatafeedSubscriptionResponse #
Contains the output of DescribeSpotDatafeedSubscription.
See: describeSpotDatafeedSubscriptionResponse
smart constructor.
Instances
Response Lenses
dsdsrsSpotDatafeedSubscription :: Lens' DescribeSpotDatafeedSubscriptionResponse (Maybe SpotDatafeedSubscription) #
The Spot instance data feed subscription.
dsdsrsResponseStatus :: Lens' DescribeSpotDatafeedSubscriptionResponse Int #
- - | The response status code.