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.DescribeSpotFleetInstances

Description

Describes the running instances for the specified Spot Fleet.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeSpotFleetInstances Source #

Contains the parameters for DescribeSpotFleetInstances.

See: newDescribeSpotFleetInstances smart constructor.

Constructors

DescribeSpotFleetInstances' 

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.

  • maxResults :: Maybe Natural

    The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value.

  • nextToken :: Maybe Text

    The token for the next set of results.

  • spotFleetRequestId :: Text

    The ID of the Spot Fleet request.

Instances

Instances details
ToHeaders DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

ToPath DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

ToQuery DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

AWSPager DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

AWSRequest DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

Generic DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

Associated Types

type Rep DescribeSpotFleetInstances :: Type -> Type #

Read DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

Show DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

NFData DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

Eq DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

Hashable DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

type AWSResponse DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

type Rep DescribeSpotFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

type Rep DescribeSpotFleetInstances = D1 ('MetaData "DescribeSpotFleetInstances" "Amazonka.EC2.DescribeSpotFleetInstances" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeSpotFleetInstances'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "spotFleetRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDescribeSpotFleetInstances Source #

Create a value of DescribeSpotFleetInstances 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:DescribeSpotFleetInstances', describeSpotFleetInstances_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.

$sel:maxResults:DescribeSpotFleetInstances', describeSpotFleetInstances_maxResults - The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value.

DescribeSpotFleetInstances, describeSpotFleetInstances_nextToken - The token for the next set of results.

DescribeSpotFleetInstances, describeSpotFleetInstances_spotFleetRequestId - The ID of the Spot Fleet request.

Request Lenses

describeSpotFleetInstances_dryRun :: Lens' DescribeSpotFleetInstances (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.

describeSpotFleetInstances_maxResults :: Lens' DescribeSpotFleetInstances (Maybe Natural) Source #

The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value.

Destructuring the Response

data DescribeSpotFleetInstancesResponse Source #

Contains the output of DescribeSpotFleetInstances.

See: newDescribeSpotFleetInstancesResponse smart constructor.

Constructors

DescribeSpotFleetInstancesResponse' 

Fields

Instances

Instances details
Generic DescribeSpotFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

Associated Types

type Rep DescribeSpotFleetInstancesResponse :: Type -> Type #

Read DescribeSpotFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

Show DescribeSpotFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

NFData DescribeSpotFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

Eq DescribeSpotFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

type Rep DescribeSpotFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSpotFleetInstances

type Rep DescribeSpotFleetInstancesResponse = D1 ('MetaData "DescribeSpotFleetInstancesResponse" "Amazonka.EC2.DescribeSpotFleetInstances" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeSpotFleetInstancesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activeInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ActiveInstance])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "spotFleetRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeSpotFleetInstancesResponse Source #

Create a value of DescribeSpotFleetInstancesResponse 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:activeInstances:DescribeSpotFleetInstancesResponse', describeSpotFleetInstancesResponse_activeInstances - The running instances. This list is refreshed periodically and might be out of date.

DescribeSpotFleetInstances, describeSpotFleetInstancesResponse_nextToken - The token required to retrieve the next set of results. This value is null when there are no more results to return.

DescribeSpotFleetInstances, describeSpotFleetInstancesResponse_spotFleetRequestId - The ID of the Spot Fleet request.

$sel:httpStatus:DescribeSpotFleetInstancesResponse', describeSpotFleetInstancesResponse_httpStatus - The response's http status code.

Response Lenses

describeSpotFleetInstancesResponse_activeInstances :: Lens' DescribeSpotFleetInstancesResponse (Maybe [ActiveInstance]) Source #

The running instances. This list is refreshed periodically and might be out of date.

describeSpotFleetInstancesResponse_nextToken :: Lens' DescribeSpotFleetInstancesResponse (Maybe Text) Source #

The token required to retrieve the next set of results. This value is null when there are no more results to return.