EC2 / Client / delete_spot_datafeed_subscription

delete_spot_datafeed_subscription#

EC2.Client.delete_spot_datafeed_subscription(**kwargs)#

Deletes the data feed for Spot Instances.

See also: AWS API Documentation

Request Syntax

response = client.delete_spot_datafeed_subscription(
    DryRun=True|False
)
Parameters:

DryRun (boolean) – 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.

Returns:

None

Examples

This example deletes a Spot data feed subscription for the account.

response = client.delete_spot_datafeed_subscription(
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}