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 |
Creates a data feed for Spot instances, enabling you to view Spot instance usage logs. You can create one data feed per AWS account. For more information, see Spot Instance Data Feed in the Amazon Elastic Compute Cloud User Guide.
- createSpotDatafeedSubscription :: Text -> CreateSpotDatafeedSubscription
- data CreateSpotDatafeedSubscription
- csdsPrefix :: Lens' CreateSpotDatafeedSubscription (Maybe Text)
- csdsDryRun :: Lens' CreateSpotDatafeedSubscription (Maybe Bool)
- csdsBucket :: Lens' CreateSpotDatafeedSubscription Text
- createSpotDatafeedSubscriptionResponse :: Int -> CreateSpotDatafeedSubscriptionResponse
- data CreateSpotDatafeedSubscriptionResponse
- csdsrsSpotDatafeedSubscription :: Lens' CreateSpotDatafeedSubscriptionResponse (Maybe SpotDatafeedSubscription)
- csdsrsResponseStatus :: Lens' CreateSpotDatafeedSubscriptionResponse Int
Creating a Request
createSpotDatafeedSubscription Source #
Creates a value of CreateSpotDatafeedSubscription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateSpotDatafeedSubscription Source #
Contains the parameters for CreateSpotDatafeedSubscription.
See: createSpotDatafeedSubscription
smart constructor.
Request Lenses
csdsPrefix :: Lens' CreateSpotDatafeedSubscription (Maybe Text) Source #
A prefix for the data feed file names.
csdsDryRun :: Lens' CreateSpotDatafeedSubscription (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
.
csdsBucket :: Lens' CreateSpotDatafeedSubscription Text Source #
The Amazon S3 bucket in which to store the Spot instance data feed.
Destructuring the Response
createSpotDatafeedSubscriptionResponse Source #
Creates a value of CreateSpotDatafeedSubscriptionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateSpotDatafeedSubscriptionResponse Source #
Contains the output of CreateSpotDatafeedSubscription.
See: createSpotDatafeedSubscriptionResponse
smart constructor.
Response Lenses
csdsrsSpotDatafeedSubscription :: Lens' CreateSpotDatafeedSubscriptionResponse (Maybe SpotDatafeedSubscription) Source #
The Spot instance data feed subscription.
csdsrsResponseStatus :: Lens' CreateSpotDatafeedSubscriptionResponse Int Source #
The response status code.