pub struct BundleInstanceRequest {
pub dry_run: Option<bool>,
pub instance_id: String,
pub storage: Storage,
}
Expand description
Contains the parameters for BundleInstance.
Fields§
§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
.
instance_id: String
The ID of the instance to bundle.
Type: String
Default: None
Required: Yes
storage: 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.
Trait Implementations§
Source§impl Clone for BundleInstanceRequest
impl Clone for BundleInstanceRequest
Source§fn clone(&self) -> BundleInstanceRequest
fn clone(&self) -> BundleInstanceRequest
Returns a duplicate 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 BundleInstanceRequest
impl Debug for BundleInstanceRequest
Source§impl Default for BundleInstanceRequest
impl Default for BundleInstanceRequest
Source§fn default() -> BundleInstanceRequest
fn default() -> BundleInstanceRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for BundleInstanceRequest
impl PartialEq for BundleInstanceRequest
impl StructuralPartialEq for BundleInstanceRequest
Auto Trait Implementations§
impl !Freeze for BundleInstanceRequest
impl RefUnwindSafe for BundleInstanceRequest
impl Send for BundleInstanceRequest
impl Sync for BundleInstanceRequest
impl Unpin for BundleInstanceRequest
impl UnwindSafe for BundleInstanceRequest
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