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

Description

Describe details for Windows AMIs that are configured for faster launching.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeFastLaunchImages Source #

See: newDescribeFastLaunchImages smart constructor.

Constructors

DescribeFastLaunchImages' 

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]

    Use the following filters to streamline results.

    • resource-type - The resource type for pre-provisioning.
    • launch-template - The launch template that is associated with the pre-provisioned Windows AMI.
    • owner-id - The owner ID for the pre-provisioning resource.
    • state - The current state of fast launching for the Windows AMI.
  • imageIds :: Maybe [Text]

    Details for one or more Windows AMI image IDs.

  • maxResults :: Maybe Natural

    The maximum number of results to return in a single call. To retrieve the remaining results, make another request with the returned NextToken value. If this parameter is not specified, then all results are returned.

  • nextToken :: Maybe Text

    The token for the next set of results.

Instances

Instances details
ToHeaders DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

ToPath DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

ToQuery DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

AWSPager DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

AWSRequest DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

Generic DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

Associated Types

type Rep DescribeFastLaunchImages :: Type -> Type #

Read DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

Show DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

NFData DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

Eq DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

Hashable DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

type AWSResponse DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

type Rep DescribeFastLaunchImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

type Rep DescribeFastLaunchImages = D1 ('MetaData "DescribeFastLaunchImages" "Amazonka.EC2.DescribeFastLaunchImages" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeFastLaunchImages'" '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 "imageIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDescribeFastLaunchImages :: DescribeFastLaunchImages Source #

Create a value of DescribeFastLaunchImages 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:DescribeFastLaunchImages', describeFastLaunchImages_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:DescribeFastLaunchImages', describeFastLaunchImages_filters - Use the following filters to streamline results.

  • resource-type - The resource type for pre-provisioning.
  • launch-template - The launch template that is associated with the pre-provisioned Windows AMI.
  • owner-id - The owner ID for the pre-provisioning resource.
  • state - The current state of fast launching for the Windows AMI.

$sel:imageIds:DescribeFastLaunchImages', describeFastLaunchImages_imageIds - Details for one or more Windows AMI image IDs.

$sel:maxResults:DescribeFastLaunchImages', describeFastLaunchImages_maxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another request with the returned NextToken value. If this parameter is not specified, then all results are returned.

DescribeFastLaunchImages, describeFastLaunchImages_nextToken - The token for the next set of results.

Request Lenses

describeFastLaunchImages_dryRun :: Lens' DescribeFastLaunchImages (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.

describeFastLaunchImages_filters :: Lens' DescribeFastLaunchImages (Maybe [Filter]) Source #

Use the following filters to streamline results.

  • resource-type - The resource type for pre-provisioning.
  • launch-template - The launch template that is associated with the pre-provisioned Windows AMI.
  • owner-id - The owner ID for the pre-provisioning resource.
  • state - The current state of fast launching for the Windows AMI.

describeFastLaunchImages_imageIds :: Lens' DescribeFastLaunchImages (Maybe [Text]) Source #

Details for one or more Windows AMI image IDs.

describeFastLaunchImages_maxResults :: Lens' DescribeFastLaunchImages (Maybe Natural) Source #

The maximum number of results to return in a single call. To retrieve the remaining results, make another request with the returned NextToken value. If this parameter is not specified, then all results are returned.

Destructuring the Response

data DescribeFastLaunchImagesResponse Source #

See: newDescribeFastLaunchImagesResponse smart constructor.

Constructors

DescribeFastLaunchImagesResponse' 

Fields

Instances

Instances details
Generic DescribeFastLaunchImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

Associated Types

type Rep DescribeFastLaunchImagesResponse :: Type -> Type #

Read DescribeFastLaunchImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

Show DescribeFastLaunchImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

NFData DescribeFastLaunchImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

Eq DescribeFastLaunchImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

type Rep DescribeFastLaunchImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastLaunchImages

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

newDescribeFastLaunchImagesResponse Source #

Create a value of DescribeFastLaunchImagesResponse 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:fastLaunchImages:DescribeFastLaunchImagesResponse', describeFastLaunchImagesResponse_fastLaunchImages - A collection of details about the fast-launch enabled Windows images that meet the requested criteria.

DescribeFastLaunchImages, describeFastLaunchImagesResponse_nextToken - The token to use for the next set of results. This value is null when there are no more results to return.

$sel:httpStatus:DescribeFastLaunchImagesResponse', describeFastLaunchImagesResponse_httpStatus - The response's http status code.

Response Lenses

describeFastLaunchImagesResponse_fastLaunchImages :: Lens' DescribeFastLaunchImagesResponse (Maybe [DescribeFastLaunchImagesSuccessItem]) Source #

A collection of details about the fast-launch enabled Windows images that meet the requested criteria.

describeFastLaunchImagesResponse_nextToken :: Lens' DescribeFastLaunchImagesResponse (Maybe Text) Source #

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