aws_sdk_ec2/client/describe_fpga_image_attribute.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeFpgaImageAttribute`](crate::operation::describe_fpga_image_attribute::builders::DescribeFpgaImageAttributeFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`dry_run(bool)`](crate::operation::describe_fpga_image_attribute::builders::DescribeFpgaImageAttributeFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_fpga_image_attribute::builders::DescribeFpgaImageAttributeFluentBuilder::set_dry_run):<br>required: **false**<br><p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
/// - [`fpga_image_id(impl Into<String>)`](crate::operation::describe_fpga_image_attribute::builders::DescribeFpgaImageAttributeFluentBuilder::fpga_image_id) / [`set_fpga_image_id(Option<String>)`](crate::operation::describe_fpga_image_attribute::builders::DescribeFpgaImageAttributeFluentBuilder::set_fpga_image_id):<br>required: **true**<br><p>The ID of the AFI.</p><br>
/// - [`attribute(FpgaImageAttributeName)`](crate::operation::describe_fpga_image_attribute::builders::DescribeFpgaImageAttributeFluentBuilder::attribute) / [`set_attribute(Option<FpgaImageAttributeName>)`](crate::operation::describe_fpga_image_attribute::builders::DescribeFpgaImageAttributeFluentBuilder::set_attribute):<br>required: **true**<br><p>The AFI attribute.</p><br>
/// - On success, responds with [`DescribeFpgaImageAttributeOutput`](crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeOutput) with field(s):
/// - [`fpga_image_attribute(Option<FpgaImageAttribute>)`](crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeOutput::fpga_image_attribute): <p>Information about the attribute.</p>
/// - On failure, responds with [`SdkError<DescribeFpgaImageAttributeError>`](crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError)
pub fn describe_fpga_image_attribute(
&self,
) -> crate::operation::describe_fpga_image_attribute::builders::DescribeFpgaImageAttributeFluentBuilder {
crate::operation::describe_fpga_image_attribute::builders::DescribeFpgaImageAttributeFluentBuilder::new(self.handle.clone())
}
}