#[non_exhaustive]pub struct CreateDeviceProfileInput {
pub name: Option<String>,
pub lo_ra_wan: Option<LoRaWanDeviceProfile>,
pub tags: Option<Vec<Tag>>,
pub client_request_token: Option<String>,
pub sidewalk: Option<SidewalkCreateDeviceProfile>,
}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.
lo_ra_wan: Option<LoRaWanDeviceProfile>The device profile information to use to create the device profile.
The tags to attach to the new device profile. 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.
sidewalk: Option<SidewalkCreateDeviceProfile>The Sidewalk-related information for creating the Sidewalk device profile.
Implementations§
source§impl CreateDeviceProfileInput
impl CreateDeviceProfileInput
sourcepub fn lo_ra_wan(&self) -> Option<&LoRaWanDeviceProfile>
pub fn lo_ra_wan(&self) -> Option<&LoRaWanDeviceProfile>
The device profile information to use to create the device profile.
The tags to attach to the new device profile. 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.
sourcepub fn sidewalk(&self) -> Option<&SidewalkCreateDeviceProfile>
pub fn sidewalk(&self) -> Option<&SidewalkCreateDeviceProfile>
The Sidewalk-related information for creating the Sidewalk device profile.
source§impl CreateDeviceProfileInput
impl CreateDeviceProfileInput
sourcepub fn builder() -> CreateDeviceProfileInputBuilder
pub fn builder() -> CreateDeviceProfileInputBuilder
Creates a new builder-style object to manufacture CreateDeviceProfileInput.
Trait Implementations§
source§impl Clone for CreateDeviceProfileInput
impl Clone for CreateDeviceProfileInput
source§fn clone(&self) -> CreateDeviceProfileInput
fn clone(&self) -> CreateDeviceProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDeviceProfileInput
impl Debug for CreateDeviceProfileInput
source§impl PartialEq for CreateDeviceProfileInput
impl PartialEq for CreateDeviceProfileInput
impl StructuralPartialEq for CreateDeviceProfileInput
Auto Trait Implementations§
impl Freeze for CreateDeviceProfileInput
impl RefUnwindSafe for CreateDeviceProfileInput
impl Send for CreateDeviceProfileInput
impl Sync for CreateDeviceProfileInput
impl Unpin for CreateDeviceProfileInput
impl UnwindSafe for CreateDeviceProfileInput
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