#[non_exhaustive]pub struct CreateWirelessDeviceInput {
pub type: Option<WirelessDeviceType>,
pub name: Option<String>,
pub description: Option<String>,
pub destination_name: Option<String>,
pub client_request_token: Option<String>,
pub lo_ra_wan: Option<LoRaWanDevice>,
pub tags: Option<Vec<Tag>>,
pub positioning: Option<PositioningConfigStatus>,
pub sidewalk: Option<SidewalkCreateWirelessDevice>,
}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.type: Option<WirelessDeviceType>The wireless device type.
name: Option<String>The name of the new resource.
description: Option<String>The description of the new resource.
destination_name: Option<String>The name of the destination to assign to the new wireless device.
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.
lo_ra_wan: Option<LoRaWanDevice>The device configuration information to use to create the wireless device.
The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.
positioning: Option<PositioningConfigStatus>FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
sidewalk: Option<SidewalkCreateWirelessDevice>The device configuration information to use to create the Sidewalk device.
Implementations§
source§impl CreateWirelessDeviceInput
impl CreateWirelessDeviceInput
sourcepub fn type(&self) -> Option<&WirelessDeviceType>
pub fn type(&self) -> Option<&WirelessDeviceType>
The wireless device type.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the new resource.
sourcepub fn destination_name(&self) -> Option<&str>
pub fn destination_name(&self) -> Option<&str>
The name of the destination to assign to the new wireless device.
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.
sourcepub fn lo_ra_wan(&self) -> Option<&LoRaWanDevice>
pub fn lo_ra_wan(&self) -> Option<&LoRaWanDevice>
The device configuration information to use to create the wireless device.
The tags to attach to the new wireless device. 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 positioning(&self) -> Option<&PositioningConfigStatus>
pub fn positioning(&self) -> Option<&PositioningConfigStatus>
FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
sourcepub fn sidewalk(&self) -> Option<&SidewalkCreateWirelessDevice>
pub fn sidewalk(&self) -> Option<&SidewalkCreateWirelessDevice>
The device configuration information to use to create the Sidewalk device.
source§impl CreateWirelessDeviceInput
impl CreateWirelessDeviceInput
sourcepub fn builder() -> CreateWirelessDeviceInputBuilder
pub fn builder() -> CreateWirelessDeviceInputBuilder
Creates a new builder-style object to manufacture CreateWirelessDeviceInput.
Trait Implementations§
source§impl Clone for CreateWirelessDeviceInput
impl Clone for CreateWirelessDeviceInput
source§fn clone(&self) -> CreateWirelessDeviceInput
fn clone(&self) -> CreateWirelessDeviceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateWirelessDeviceInput
impl Debug for CreateWirelessDeviceInput
impl StructuralPartialEq for CreateWirelessDeviceInput
Auto Trait Implementations§
impl Freeze for CreateWirelessDeviceInput
impl RefUnwindSafe for CreateWirelessDeviceInput
impl Send for CreateWirelessDeviceInput
impl Sync for CreateWirelessDeviceInput
impl Unpin for CreateWirelessDeviceInput
impl UnwindSafe for CreateWirelessDeviceInput
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