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 ==
.