Struct aws_sdk_ec2::input::ExportImageInput
source · #[non_exhaustive]pub struct ExportImageInput { /* private fields */ }
Implementations§
source§impl ExportImageInput
impl ExportImageInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<ExportImage, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<ExportImage, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ExportImage
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExportImageInput
.
source§impl ExportImageInput
impl ExportImageInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Token to enable idempotency for export image requests.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the image being exported. The maximum length is 255 characters.
sourcepub fn disk_image_format(&self) -> Option<&DiskImageFormat>
pub fn disk_image_format(&self) -> Option<&DiskImageFormat>
The disk image format.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<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
.
sourcepub fn s3_export_location(&self) -> Option<&ExportTaskS3LocationRequest>
pub fn s3_export_location(&self) -> Option<&ExportTaskS3LocationRequest>
The Amazon S3 bucket for the destination image. The destination bucket must exist.
sourcepub fn role_name(&self) -> Option<&str>
pub fn role_name(&self) -> Option<&str>
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the export image task during creation.
Trait Implementations§
source§impl Clone for ExportImageInput
impl Clone for ExportImageInput
source§fn clone(&self) -> ExportImageInput
fn clone(&self) -> ExportImageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportImageInput
impl Debug for ExportImageInput
source§impl PartialEq<ExportImageInput> for ExportImageInput
impl PartialEq<ExportImageInput> for ExportImageInput
source§fn eq(&self, other: &ExportImageInput) -> bool
fn eq(&self, other: &ExportImageInput) -> bool
self
and other
values to be equal, and is used
by ==
.