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 CloudUser Guide.
- data CreateSpotDatafeedSubscription
- createSpotDatafeedSubscription :: Text -> CreateSpotDatafeedSubscription
- csdsBucket :: Lens' CreateSpotDatafeedSubscription Text
- csdsDryRun :: Lens' CreateSpotDatafeedSubscription (Maybe Bool)
- csdsPrefix :: Lens' CreateSpotDatafeedSubscription (Maybe Text)
- data CreateSpotDatafeedSubscriptionResponse
- createSpotDatafeedSubscriptionResponse :: CreateSpotDatafeedSubscriptionResponse
- csdsrSpotDatafeedSubscription :: Lens' CreateSpotDatafeedSubscriptionResponse (Maybe SpotDatafeedSubscription)
Request
data CreateSpotDatafeedSubscription Source
Request constructor
createSpotDatafeedSubscription Source
CreateSpotDatafeedSubscription
constructor.
The fields accessible through corresponding lenses are:
csdsBucket
::
Text
csdsDryRun
::
Maybe
Bool
csdsPrefix
::
Maybe
Text
Request lenses
csdsBucket :: Lens' CreateSpotDatafeedSubscription Text Source
The Amazon S3 bucket in which to store the Spot Instance data feed.
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
.
csdsPrefix :: Lens' CreateSpotDatafeedSubscription (Maybe Text) Source
A prefix for the data feed file names.
Response
Response constructor
createSpotDatafeedSubscriptionResponse :: CreateSpotDatafeedSubscriptionResponse Source
CreateSpotDatafeedSubscriptionResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
csdsrSpotDatafeedSubscription :: Lens' CreateSpotDatafeedSubscriptionResponse (Maybe SpotDatafeedSubscription) Source
The Spot Instance data feed subscription.