Struct aws_sdk_ec2::input::CreateSnapshotInput
source · #[non_exhaustive]pub struct CreateSnapshotInput { /* private fields */ }
Implementations§
source§impl CreateSnapshotInput
impl CreateSnapshotInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSnapshot, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSnapshot, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateSnapshot
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateSnapshotInput
.
source§impl CreateSnapshotInput
impl CreateSnapshotInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the snapshot.
sourcepub fn outpost_arn(&self) -> Option<&str>
pub fn outpost_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Outpost on which to create a local snapshot.
-
To create a snapshot of a volume in a Region, omit this parameter. The snapshot is created in the same Region as the volume.
-
To create a snapshot of a volume on an Outpost and store the snapshot in the Region, omit this parameter. The snapshot is created in the Region for the Outpost.
-
To create a snapshot of a volume on an Outpost and store the snapshot on an Outpost, specify the ARN of the destination Outpost. The snapshot must be created on the same Outpost as the volume.
For more information, see Create local snapshots from volumes on an Outpost in the Amazon Elastic Compute Cloud User Guide.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the snapshot during creation.
Trait Implementations§
source§impl Clone for CreateSnapshotInput
impl Clone for CreateSnapshotInput
source§fn clone(&self) -> CreateSnapshotInput
fn clone(&self) -> CreateSnapshotInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSnapshotInput
impl Debug for CreateSnapshotInput
source§impl PartialEq<CreateSnapshotInput> for CreateSnapshotInput
impl PartialEq<CreateSnapshotInput> for CreateSnapshotInput
source§fn eq(&self, other: &CreateSnapshotInput) -> bool
fn eq(&self, other: &CreateSnapshotInput) -> bool
self
and other
values to be equal, and is used
by ==
.