Struct aws_sdk_iot::operation::update_package::UpdatePackageInput
source · #[non_exhaustive]pub struct UpdatePackageInput {
pub package_name: Option<String>,
pub description: Option<String>,
pub default_version_name: Option<String>,
pub unset_default_version: Option<bool>,
pub client_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.package_name: Option<String>
The name of the target software package.
description: Option<String>
The package description.
default_version_name: Option<String>
The name of the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to true
at the same time.
unset_default_version: Option<bool>
Indicates whether you want to remove the named default package version from the software package. Set as true
to remove the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to true
at the same time.
client_token: Option<String>
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
Implementations§
source§impl UpdatePackageInput
impl UpdatePackageInput
sourcepub fn package_name(&self) -> Option<&str>
pub fn package_name(&self) -> Option<&str>
The name of the target software package.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The package description.
sourcepub fn default_version_name(&self) -> Option<&str>
pub fn default_version_name(&self) -> Option<&str>
The name of the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to true
at the same time.
sourcepub fn unset_default_version(&self) -> Option<bool>
pub fn unset_default_version(&self) -> Option<bool>
Indicates whether you want to remove the named default package version from the software package. Set as true
to remove the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to true
at the same time.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
source§impl UpdatePackageInput
impl UpdatePackageInput
sourcepub fn builder() -> UpdatePackageInputBuilder
pub fn builder() -> UpdatePackageInputBuilder
Creates a new builder-style object to manufacture UpdatePackageInput
.
Trait Implementations§
source§impl Clone for UpdatePackageInput
impl Clone for UpdatePackageInput
source§fn clone(&self) -> UpdatePackageInput
fn clone(&self) -> UpdatePackageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdatePackageInput
impl Debug for UpdatePackageInput
source§impl PartialEq for UpdatePackageInput
impl PartialEq for UpdatePackageInput
source§fn eq(&self, other: &UpdatePackageInput) -> bool
fn eq(&self, other: &UpdatePackageInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdatePackageInput
Auto Trait Implementations§
impl Freeze for UpdatePackageInput
impl RefUnwindSafe for UpdatePackageInput
impl Send for UpdatePackageInput
impl Sync for UpdatePackageInput
impl Unpin for UpdatePackageInput
impl UnwindSafe for UpdatePackageInput
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