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

Description

Describes the running instances for the specified EC2 Fleet.

For more information, see Monitor your EC2 Fleet in the Amazon EC2 User Guide.

Synopsis

Creating a Request

data DescribeFleetInstances Source #

See: newDescribeFleetInstances smart constructor.

Constructors

DescribeFleetInstances' 

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.

  • filters :: Maybe [Filter]

    The filters.

    • instance-type - The instance type.
  • maxResults :: Maybe Int

    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.

  • fleetId :: Text

    The ID of the EC2 Fleet.

Instances

Instances details
ToHeaders DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

ToPath DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

ToQuery DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

AWSRequest DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

Associated Types

type AWSResponse DescribeFleetInstances #

Generic DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

Associated Types

type Rep DescribeFleetInstances :: Type -> Type #

Read DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

Show DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

NFData DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

Methods

rnf :: DescribeFleetInstances -> () #

Eq DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

Hashable DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

type AWSResponse DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

type Rep DescribeFleetInstances Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

type Rep DescribeFleetInstances = D1 ('MetaData "DescribeFleetInstances" "Amazonka.EC2.DescribeFleetInstances" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeFleetInstances'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newDescribeFleetInstances Source #

Create a value of DescribeFleetInstances 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:DescribeFleetInstances', describeFleetInstances_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:filters:DescribeFleetInstances', describeFleetInstances_filters - The filters.

  • instance-type - The instance type.

$sel:maxResults:DescribeFleetInstances', describeFleetInstances_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.

DescribeFleetInstances, describeFleetInstances_nextToken - The token for the next set of results.

DescribeFleetInstances, describeFleetInstances_fleetId - The ID of the EC2 Fleet.

Request Lenses

describeFleetInstances_dryRun :: Lens' DescribeFleetInstances (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.

describeFleetInstances_filters :: Lens' DescribeFleetInstances (Maybe [Filter]) Source #

The filters.

  • instance-type - The instance type.

describeFleetInstances_maxResults :: Lens' DescribeFleetInstances (Maybe Int) 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 DescribeFleetInstancesResponse Source #

See: newDescribeFleetInstancesResponse smart constructor.

Constructors

DescribeFleetInstancesResponse' 

Fields

Instances

Instances details
Generic DescribeFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

Associated Types

type Rep DescribeFleetInstancesResponse :: Type -> Type #

Read DescribeFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

Show DescribeFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

NFData DescribeFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

Eq DescribeFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

type Rep DescribeFleetInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFleetInstances

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

newDescribeFleetInstancesResponse Source #

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

DescribeFleetInstances, describeFleetInstancesResponse_fleetId - The ID of the EC2 Fleet.

DescribeFleetInstances, describeFleetInstancesResponse_nextToken - The token for the next set of results.

$sel:httpStatus:DescribeFleetInstancesResponse', describeFleetInstancesResponse_httpStatus - The response's http status code.

Response Lenses

describeFleetInstancesResponse_activeInstances :: Lens' DescribeFleetInstancesResponse (Maybe [ActiveInstance]) Source #

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