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

Description

Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs, private AFIs that you own, and AFIs owned by other Amazon Web Services accounts for which you have load permissions.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeFpgaImages Source #

See: newDescribeFpgaImages smart constructor.

Constructors

DescribeFpgaImages' 

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.

    • create-time - The creation time of the AFI.
    • fpga-image-id - The FPGA image identifier (AFI ID).
    • fpga-image-global-id - The global FPGA image identifier (AGFI ID).
    • name - The name of the AFI.
    • owner-id - The Amazon Web Services account ID of the AFI owner.
    • product-code - The product code.
    • shell-version - The version of the Amazon Web Services Shell that was used to create the bitstream.
    • state - The state of the AFI (pending | failed | available | unavailable).
    • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
    • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
    • update-time - The time of the most recent update.
  • fpgaImageIds :: Maybe [Text]

    The AFI IDs.

  • maxResults :: Maybe Natural

    The maximum number of results to return in a single call.

  • nextToken :: Maybe Text

    The token to retrieve the next page of results.

  • owners :: Maybe [Text]

    Filters the AFI by owner. Specify an Amazon Web Services account ID, self (owner is the sender of the request), or an Amazon Web Services owner alias (valid values are amazon | aws-marketplace).

Instances

Instances details
ToHeaders DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

ToPath DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

ToQuery DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

AWSPager DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

AWSRequest DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

Associated Types

type AWSResponse DescribeFpgaImages #

Generic DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

Associated Types

type Rep DescribeFpgaImages :: Type -> Type #

Read DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

Show DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

NFData DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

Methods

rnf :: DescribeFpgaImages -> () #

Eq DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

Hashable DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

type AWSResponse DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

type Rep DescribeFpgaImages Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

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

newDescribeFpgaImages :: DescribeFpgaImages Source #

Create a value of DescribeFpgaImages 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:DescribeFpgaImages', describeFpgaImages_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:DescribeFpgaImages', describeFpgaImages_filters - The filters.

  • create-time - The creation time of the AFI.
  • fpga-image-id - The FPGA image identifier (AFI ID).
  • fpga-image-global-id - The global FPGA image identifier (AGFI ID).
  • name - The name of the AFI.
  • owner-id - The Amazon Web Services account ID of the AFI owner.
  • product-code - The product code.
  • shell-version - The version of the Amazon Web Services Shell that was used to create the bitstream.
  • state - The state of the AFI (pending | failed | available | unavailable).
  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
  • update-time - The time of the most recent update.

$sel:fpgaImageIds:DescribeFpgaImages', describeFpgaImages_fpgaImageIds - The AFI IDs.

$sel:maxResults:DescribeFpgaImages', describeFpgaImages_maxResults - The maximum number of results to return in a single call.

DescribeFpgaImages, describeFpgaImages_nextToken - The token to retrieve the next page of results.

$sel:owners:DescribeFpgaImages', describeFpgaImages_owners - Filters the AFI by owner. Specify an Amazon Web Services account ID, self (owner is the sender of the request), or an Amazon Web Services owner alias (valid values are amazon | aws-marketplace).

Request Lenses

describeFpgaImages_dryRun :: Lens' DescribeFpgaImages (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.

describeFpgaImages_filters :: Lens' DescribeFpgaImages (Maybe [Filter]) Source #

The filters.

  • create-time - The creation time of the AFI.
  • fpga-image-id - The FPGA image identifier (AFI ID).
  • fpga-image-global-id - The global FPGA image identifier (AGFI ID).
  • name - The name of the AFI.
  • owner-id - The Amazon Web Services account ID of the AFI owner.
  • product-code - The product code.
  • shell-version - The version of the Amazon Web Services Shell that was used to create the bitstream.
  • state - The state of the AFI (pending | failed | available | unavailable).
  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
  • update-time - The time of the most recent update.

describeFpgaImages_maxResults :: Lens' DescribeFpgaImages (Maybe Natural) Source #

The maximum number of results to return in a single call.

describeFpgaImages_nextToken :: Lens' DescribeFpgaImages (Maybe Text) Source #

The token to retrieve the next page of results.

describeFpgaImages_owners :: Lens' DescribeFpgaImages (Maybe [Text]) Source #

Filters the AFI by owner. Specify an Amazon Web Services account ID, self (owner is the sender of the request), or an Amazon Web Services owner alias (valid values are amazon | aws-marketplace).

Destructuring the Response

data DescribeFpgaImagesResponse Source #

See: newDescribeFpgaImagesResponse smart constructor.

Constructors

DescribeFpgaImagesResponse' 

Fields

Instances

Instances details
Generic DescribeFpgaImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

Associated Types

type Rep DescribeFpgaImagesResponse :: Type -> Type #

Read DescribeFpgaImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

Show DescribeFpgaImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

NFData DescribeFpgaImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

Eq DescribeFpgaImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

type Rep DescribeFpgaImagesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFpgaImages

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

newDescribeFpgaImagesResponse Source #

Create a value of DescribeFpgaImagesResponse 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:fpgaImages:DescribeFpgaImagesResponse', describeFpgaImagesResponse_fpgaImages - Information about the FPGA images.

DescribeFpgaImages, describeFpgaImagesResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:DescribeFpgaImagesResponse', describeFpgaImagesResponse_httpStatus - The response's http status code.

Response Lenses

describeFpgaImagesResponse_nextToken :: Lens' DescribeFpgaImagesResponse (Maybe Text) Source #

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