#[non_exhaustive]pub struct CreateWirelessGatewayInput {
pub name: Option<String>,
pub description: Option<String>,
pub lo_ra_wan: Option<LoRaWanGateway>,
pub tags: Option<Vec<Tag>>,
pub client_request_token: Option<String>,
}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.name: Option<String>The name of the new resource.
description: Option<String>The description of the new resource.
lo_ra_wan: Option<LoRaWanGateway>The gateway configuration information to use to create the wireless gateway.
The tags to attach to the new wireless gateway. Tags are metadata that you can use to manage a resource.
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.
Implementations§
source§impl CreateWirelessGatewayInput
impl CreateWirelessGatewayInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the new resource.
sourcepub fn lo_ra_wan(&self) -> Option<&LoRaWanGateway>
pub fn lo_ra_wan(&self) -> Option<&LoRaWanGateway>
The gateway configuration information to use to create the wireless gateway.
The tags to attach to the new wireless gateway. 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().
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.
source§impl CreateWirelessGatewayInput
impl CreateWirelessGatewayInput
sourcepub fn builder() -> CreateWirelessGatewayInputBuilder
pub fn builder() -> CreateWirelessGatewayInputBuilder
Creates a new builder-style object to manufacture CreateWirelessGatewayInput.
Trait Implementations§
source§impl Clone for CreateWirelessGatewayInput
impl Clone for CreateWirelessGatewayInput
source§fn clone(&self) -> CreateWirelessGatewayInput
fn clone(&self) -> CreateWirelessGatewayInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateWirelessGatewayInput
impl Debug for CreateWirelessGatewayInput
impl StructuralPartialEq for CreateWirelessGatewayInput
Auto Trait Implementations§
impl Freeze for CreateWirelessGatewayInput
impl RefUnwindSafe for CreateWirelessGatewayInput
impl Send for CreateWirelessGatewayInput
impl Sync for CreateWirelessGatewayInput
impl Unpin for CreateWirelessGatewayInput
impl UnwindSafe for CreateWirelessGatewayInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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