amazonka-ec2-1.0.1: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.CreateSpotDatafeedSubscription

Contents

Description

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.

See: AWS API Reference for CreateSpotDatafeedSubscription.

Synopsis

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:

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:

Response Lenses