Struct aws_sdk_iotwireless::operation::create_wireless_gateway_task_definition::CreateWirelessGatewayTaskDefinitionInput
source · #[non_exhaustive]pub struct CreateWirelessGatewayTaskDefinitionInput {
pub auto_create_tasks: Option<bool>,
pub name: Option<String>,
pub update: Option<UpdateWirelessGatewayTaskCreate>,
pub client_request_token: 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.auto_create_tasks: Option<bool>
Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false
, the task must me created by calling CreateWirelessGatewayTask
.
name: Option<String>
The name of the new resource.
update: Option<UpdateWirelessGatewayTaskCreate>
Information about the gateways to update.
client_request_token: Option<String>
Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
Implementations§
source§impl CreateWirelessGatewayTaskDefinitionInput
impl CreateWirelessGatewayTaskDefinitionInput
sourcepub fn auto_create_tasks(&self) -> Option<bool>
pub fn auto_create_tasks(&self) -> Option<bool>
Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false
, the task must me created by calling CreateWirelessGatewayTask
.
sourcepub fn update(&self) -> Option<&UpdateWirelessGatewayTaskCreate>
pub fn update(&self) -> Option<&UpdateWirelessGatewayTaskCreate>
Information about the gateways to update.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateWirelessGatewayTaskDefinitionInput
impl CreateWirelessGatewayTaskDefinitionInput
sourcepub fn builder() -> CreateWirelessGatewayTaskDefinitionInputBuilder
pub fn builder() -> CreateWirelessGatewayTaskDefinitionInputBuilder
Creates a new builder-style object to manufacture CreateWirelessGatewayTaskDefinitionInput
.
Trait Implementations§
source§impl Clone for CreateWirelessGatewayTaskDefinitionInput
impl Clone for CreateWirelessGatewayTaskDefinitionInput
source§fn clone(&self) -> CreateWirelessGatewayTaskDefinitionInput
fn clone(&self) -> CreateWirelessGatewayTaskDefinitionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateWirelessGatewayTaskDefinitionInput
impl PartialEq for CreateWirelessGatewayTaskDefinitionInput
source§fn eq(&self, other: &CreateWirelessGatewayTaskDefinitionInput) -> bool
fn eq(&self, other: &CreateWirelessGatewayTaskDefinitionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateWirelessGatewayTaskDefinitionInput
Auto Trait Implementations§
impl Freeze for CreateWirelessGatewayTaskDefinitionInput
impl RefUnwindSafe for CreateWirelessGatewayTaskDefinitionInput
impl Send for CreateWirelessGatewayTaskDefinitionInput
impl Sync for CreateWirelessGatewayTaskDefinitionInput
impl Unpin for CreateWirelessGatewayTaskDefinitionInput
impl UnwindSafe for CreateWirelessGatewayTaskDefinitionInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more