amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DescribeSpotDatafeedSubscription

Description

Describes the data feed for Spot Instances. For more information, see Spot Instance data feed in the Amazon EC2 User Guide for Linux Instances.

Synopsis

Creating a Request

data DescribeSpotDatafeedSubscription Source #

Contains the parameters for DescribeSpotDatafeedSubscription.

See: newDescribeSpotDatafeedSubscription smart constructor.

Constructors

DescribeSpotDatafeedSubscription' 

Fields

  • dryRun :: Maybe Bool

    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.

Instances

Instances details
ToHeaders DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

ToPath DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

ToQuery DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

AWSRequest DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

Generic DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

Associated Types

type Rep DescribeSpotDatafeedSubscription :: Type -> Type #

Read DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

Show DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

NFData DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

Eq DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

Hashable DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

type AWSResponse DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

type Rep DescribeSpotDatafeedSubscription Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

type Rep DescribeSpotDatafeedSubscription = D1 ('MetaData "DescribeSpotDatafeedSubscription" "Amazonka.EC2.DescribeSpotDatafeedSubscription" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeSpotDatafeedSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newDescribeSpotDatafeedSubscription :: DescribeSpotDatafeedSubscription Source #

Create a value of DescribeSpotDatafeedSubscription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dryRun:DescribeSpotDatafeedSubscription', describeSpotDatafeedSubscription_dryRun - 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.

Request Lenses

describeSpotDatafeedSubscription_dryRun :: Lens' DescribeSpotDatafeedSubscription (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.

Destructuring the Response

data DescribeSpotDatafeedSubscriptionResponse Source #

Contains the output of DescribeSpotDatafeedSubscription.

See: newDescribeSpotDatafeedSubscriptionResponse smart constructor.

Constructors

DescribeSpotDatafeedSubscriptionResponse' 

Fields

Instances

Instances details
Generic DescribeSpotDatafeedSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

Read DescribeSpotDatafeedSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

Show DescribeSpotDatafeedSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

NFData DescribeSpotDatafeedSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

Eq DescribeSpotDatafeedSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

type Rep DescribeSpotDatafeedSubscriptionResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotDatafeedSubscription

type Rep DescribeSpotDatafeedSubscriptionResponse = D1 ('MetaData "DescribeSpotDatafeedSubscriptionResponse" "Amazonka.EC2.DescribeSpotDatafeedSubscription" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeSpotDatafeedSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "spotDatafeedSubscription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SpotDatafeedSubscription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeSpotDatafeedSubscriptionResponse Source #

Create a value of DescribeSpotDatafeedSubscriptionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:spotDatafeedSubscription:DescribeSpotDatafeedSubscriptionResponse', describeSpotDatafeedSubscriptionResponse_spotDatafeedSubscription - The Spot Instance data feed subscription.

$sel:httpStatus:DescribeSpotDatafeedSubscriptionResponse', describeSpotDatafeedSubscriptionResponse_httpStatus - The response's http status code.

Response Lenses