Struct aws_sdk_ec2::operation::purchase_scheduled_instances::PurchaseScheduledInstancesInput
source · #[non_exhaustive]pub struct PurchaseScheduledInstancesInput {
pub client_token: Option<String>,
pub dry_run: Option<bool>,
pub purchase_requests: Option<Vec<PurchaseRequest>>,
}
Expand description
Contains the parameters for PurchaseScheduledInstances.
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.client_token: Option<String>
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
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
.
purchase_requests: Option<Vec<PurchaseRequest>>
The purchase requests.
Implementations§
source§impl PurchaseScheduledInstancesInput
impl PurchaseScheduledInstancesInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
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 purchase_requests(&self) -> Option<&[PurchaseRequest]>
pub fn purchase_requests(&self) -> Option<&[PurchaseRequest]>
The purchase requests.
source§impl PurchaseScheduledInstancesInput
impl PurchaseScheduledInstancesInput
sourcepub fn builder() -> PurchaseScheduledInstancesInputBuilder
pub fn builder() -> PurchaseScheduledInstancesInputBuilder
Creates a new builder-style object to manufacture PurchaseScheduledInstancesInput
.
Trait Implementations§
source§impl Clone for PurchaseScheduledInstancesInput
impl Clone for PurchaseScheduledInstancesInput
source§fn clone(&self) -> PurchaseScheduledInstancesInput
fn clone(&self) -> PurchaseScheduledInstancesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<PurchaseScheduledInstancesInput> for PurchaseScheduledInstancesInput
impl PartialEq<PurchaseScheduledInstancesInput> for PurchaseScheduledInstancesInput
source§fn eq(&self, other: &PurchaseScheduledInstancesInput) -> bool
fn eq(&self, other: &PurchaseScheduledInstancesInput) -> bool
self
and other
values to be equal, and is used
by ==
.