Struct aws_sdk_ec2::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationInput
source · #[non_exhaustive]pub struct ModifyInstanceCreditSpecificationInput {
pub dry_run: Option<bool>,
pub client_token: Option<String>,
pub instance_credit_specifications: Option<Vec<InstanceCreditSpecificationRequest>>,
}
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.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
.
client_token: Option<String>
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
instance_credit_specifications: Option<Vec<InstanceCreditSpecificationRequest>>
Information about the credit option for CPU usage.
Implementations§
source§impl ModifyInstanceCreditSpecificationInput
impl ModifyInstanceCreditSpecificationInput
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 client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
sourcepub fn instance_credit_specifications(
&self
) -> Option<&[InstanceCreditSpecificationRequest]>
pub fn instance_credit_specifications( &self ) -> Option<&[InstanceCreditSpecificationRequest]>
Information about the credit option for CPU usage.
source§impl ModifyInstanceCreditSpecificationInput
impl ModifyInstanceCreditSpecificationInput
sourcepub fn builder() -> ModifyInstanceCreditSpecificationInputBuilder
pub fn builder() -> ModifyInstanceCreditSpecificationInputBuilder
Creates a new builder-style object to manufacture ModifyInstanceCreditSpecificationInput
.
Trait Implementations§
source§impl Clone for ModifyInstanceCreditSpecificationInput
impl Clone for ModifyInstanceCreditSpecificationInput
source§fn clone(&self) -> ModifyInstanceCreditSpecificationInput
fn clone(&self) -> ModifyInstanceCreditSpecificationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ModifyInstanceCreditSpecificationInput> for ModifyInstanceCreditSpecificationInput
impl PartialEq<ModifyInstanceCreditSpecificationInput> for ModifyInstanceCreditSpecificationInput
source§fn eq(&self, other: &ModifyInstanceCreditSpecificationInput) -> bool
fn eq(&self, other: &ModifyInstanceCreditSpecificationInput) -> bool
self
and other
values to be equal, and is used
by ==
.