aws_sdk_ec2/client/create_fpga_image.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateFpgaImage`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dry_run(bool)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::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>
7 /// - [`input_storage_location(StorageLocation)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::input_storage_location) / [`set_input_storage_location(Option<StorageLocation>)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::set_input_storage_location):<br>required: **true**<br><p>The location of the encrypted design checkpoint in Amazon S3. The input must be a tarball.</p><br>
8 /// - [`logs_storage_location(StorageLocation)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::logs_storage_location) / [`set_logs_storage_location(Option<StorageLocation>)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::set_logs_storage_location):<br>required: **false**<br><p>The location in Amazon S3 for the output logs.</p><br>
9 /// - [`description(impl Into<String>)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::set_description):<br>required: **false**<br><p>A description for the AFI.</p><br>
10 /// - [`name(impl Into<String>)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::set_name):<br>required: **false**<br><p>A name for the AFI.</p><br>
11 /// - [`client_token(impl Into<String>)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::set_client_token):<br>required: **false**<br><p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring Idempotency</a>.</p><br>
12 /// - [`tag_specifications(TagSpecification)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::tag_specifications) / [`set_tag_specifications(Option<Vec::<TagSpecification>>)`](crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::set_tag_specifications):<br>required: **false**<br><p>The tags to apply to the FPGA image during creation.</p><br>
13 /// - On success, responds with [`CreateFpgaImageOutput`](crate::operation::create_fpga_image::CreateFpgaImageOutput) with field(s):
14 /// - [`fpga_image_id(Option<String>)`](crate::operation::create_fpga_image::CreateFpgaImageOutput::fpga_image_id): <p>The FPGA image identifier (AFI ID).</p>
15 /// - [`fpga_image_global_id(Option<String>)`](crate::operation::create_fpga_image::CreateFpgaImageOutput::fpga_image_global_id): <p>The global FPGA image identifier (AGFI ID).</p>
16 /// - On failure, responds with [`SdkError<CreateFpgaImageError>`](crate::operation::create_fpga_image::CreateFpgaImageError)
17 pub fn create_fpga_image(&self) -> crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder {
18 crate::operation::create_fpga_image::builders::CreateFpgaImageFluentBuilder::new(self.handle.clone())
19 }
20}