Struct aws_sdk_ec2::client::fluent_builders::DescribeFpgaImages
source · pub struct DescribeFpgaImages { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeFpgaImages
.
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.
Implementations§
source§impl DescribeFpgaImages
impl DescribeFpgaImages
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeFpgaImages, AwsResponseRetryClassifier>, SdkError<DescribeFpgaImagesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeFpgaImages, AwsResponseRetryClassifier>, SdkError<DescribeFpgaImagesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeFpgaImagesOutput, SdkError<DescribeFpgaImagesError>>
pub async fn send(
self
) -> Result<DescribeFpgaImagesOutput, SdkError<DescribeFpgaImagesError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> DescribeFpgaImagesPaginator
pub fn into_paginator(self) -> DescribeFpgaImagesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
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
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
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
.
sourcepub fn fpga_image_ids(self, input: impl Into<String>) -> Self
pub fn fpga_image_ids(self, input: impl Into<String>) -> Self
Appends an item to FpgaImageIds
.
To override the contents of this collection use set_fpga_image_ids
.
The AFI IDs.
sourcepub fn set_fpga_image_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_fpga_image_ids(self, input: Option<Vec<String>>) -> Self
The AFI IDs.
sourcepub fn owners(self, input: impl Into<String>) -> Self
pub fn owners(self, input: impl Into<String>) -> Self
Appends an item to Owners
.
To override the contents of this collection use set_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
).
sourcepub fn set_owners(self, input: Option<Vec<String>>) -> Self
pub fn set_owners(self, input: Option<Vec<String>>) -> Self
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
).
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to Filters
.
To override the contents of this collection use set_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
:- 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 valueTeamA
, specifytag:Owner
for the filter name andTeamA
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.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
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
:- 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 valueTeamA
, specifytag:Owner
for the filter name andTeamA
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.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to retrieve the next page of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in a single call.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in a single call.
Trait Implementations§
source§impl Clone for DescribeFpgaImages
impl Clone for DescribeFpgaImages
source§fn clone(&self) -> DescribeFpgaImages
fn clone(&self) -> DescribeFpgaImages
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more