Struct aws_sdk_lightsail::input::CreateInstanceSnapshotInput [−][src]
#[non_exhaustive]pub struct CreateInstanceSnapshotInput {
pub instance_snapshot_name: Option<String>,
pub instance_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_snapshot_name: Option<String>
The name for your new snapshot.
instance_name: Option<String>
The Lightsail instance on which to base your snapshot.
The tag keys and optional values to add to the resource during create.
Use the TagResource
action to tag a resource after it's created.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateInstanceSnapshot, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateInstanceSnapshot, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateInstanceSnapshot
>
Creates a new builder-style object to manufacture CreateInstanceSnapshotInput
The name for your new snapshot.
The Lightsail instance on which to base your snapshot.
The tag keys and optional values to add to the resource during create.
Use the TagResource
action to tag a resource after it's created.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateInstanceSnapshotInput
impl Send for CreateInstanceSnapshotInput
impl Sync for CreateInstanceSnapshotInput
impl Unpin for CreateInstanceSnapshotInput
impl UnwindSafe for CreateInstanceSnapshotInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more