#[non_exhaustive]pub struct CreateServiceProfileInput {
pub name: Option<String>,
pub lo_ra_wan: Option<LoRaWanServiceProfile>,
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.
lo_ra_wan: Option<LoRaWanServiceProfile>The service profile information to use to create the service profile.
The tags to attach to the new service 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.
Implementations§
source§impl CreateServiceProfileInput
impl CreateServiceProfileInput
sourcepub fn lo_ra_wan(&self) -> Option<&LoRaWanServiceProfile>
pub fn lo_ra_wan(&self) -> Option<&LoRaWanServiceProfile>
The service profile information to use to create the service profile.
The tags to attach to the new service 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.
source§impl CreateServiceProfileInput
impl CreateServiceProfileInput
sourcepub fn builder() -> CreateServiceProfileInputBuilder
pub fn builder() -> CreateServiceProfileInputBuilder
Creates a new builder-style object to manufacture CreateServiceProfileInput.
Trait Implementations§
source§impl Clone for CreateServiceProfileInput
impl Clone for CreateServiceProfileInput
source§fn clone(&self) -> CreateServiceProfileInput
fn clone(&self) -> CreateServiceProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateServiceProfileInput
impl Debug for CreateServiceProfileInput
impl StructuralPartialEq for CreateServiceProfileInput
Auto Trait Implementations§
impl Freeze for CreateServiceProfileInput
impl RefUnwindSafe for CreateServiceProfileInput
impl Send for CreateServiceProfileInput
impl Sync for CreateServiceProfileInput
impl Unpin for CreateServiceProfileInput
impl UnwindSafe for CreateServiceProfileInput
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