Skip to content

/AWS1/CL_EC2=>CRESPOTDATAFEEDSUBSCRIPTION()

About CreateSpotDatafeedSubscription

Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per Amazon Web Services account. For more information, see Spot Instance data feed in the Amazon EC2 User Guide for Linux Instances.

Method Signature

IMPORTING

Required arguments:

IV_BUCKET TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about bucket names, see Rules for bucket naming in the Amazon S3 Developer Guide.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

IV_PREFIX TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The prefix for the data feed file names.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CRESPOTDATAFEEDS01 /AWS1/CL_EC2CRESPOTDATAFEEDS01