Struct aws_sdk_ec2::operation::bundle_instance::BundleInstanceInput
source · #[non_exhaustive]pub struct BundleInstanceInput {
pub instance_id: Option<String>,
pub storage: Option<Storage>,
pub dry_run: Option<bool>,
}
Expand description
Contains the parameters for BundleInstance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The ID of the instance to bundle.
Type: String
Default: None
Required: Yes
storage: Option<Storage>
The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.
dry_run: 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
.
Implementations§
source§impl BundleInstanceInput
impl BundleInstanceInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance to bundle.
Type: String
Default: None
Required: Yes
source§impl BundleInstanceInput
impl BundleInstanceInput
sourcepub fn builder() -> BundleInstanceInputBuilder
pub fn builder() -> BundleInstanceInputBuilder
Creates a new builder-style object to manufacture BundleInstanceInput
.
Trait Implementations§
source§impl Clone for BundleInstanceInput
impl Clone for BundleInstanceInput
source§fn clone(&self) -> BundleInstanceInput
fn clone(&self) -> BundleInstanceInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BundleInstanceInput
impl Debug for BundleInstanceInput
source§impl PartialEq<BundleInstanceInput> for BundleInstanceInput
impl PartialEq<BundleInstanceInput> for BundleInstanceInput
source§fn eq(&self, other: &BundleInstanceInput) -> bool
fn eq(&self, other: &BundleInstanceInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BundleInstanceInput
Auto Trait Implementations§
impl RefUnwindSafe for BundleInstanceInput
impl Send for BundleInstanceInput
impl Sync for BundleInstanceInput
impl Unpin for BundleInstanceInput
impl UnwindSafe for BundleInstanceInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more