#[non_exhaustive]pub struct UpdateInstanceProfileInput {
pub arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub package_cleanup: Option<bool>,
pub exclude_app_packages_from_cleanup: Option<Vec<String>>,
pub reboot_after_use: Option<bool>,
}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.arn: Option<String>The Amazon Resource Name (ARN) of the instance profile.
name: Option<String>The updated name for your instance profile.
description: Option<String>The updated description for your instance profile.
package_cleanup: Option<bool>The updated choice for whether you want to specify package cleanup. The default value is false for private devices.
exclude_app_packages_from_cleanup: Option<Vec<String>>An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
reboot_after_use: Option<bool>The updated choice for whether you want to reboot the device after use. The default value is true.
Implementations§
source§impl UpdateInstanceProfileInput
impl UpdateInstanceProfileInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The updated description for your instance profile.
sourcepub fn package_cleanup(&self) -> Option<bool>
pub fn package_cleanup(&self) -> Option<bool>
The updated choice for whether you want to specify package cleanup. The default value is false for private devices.
sourcepub fn exclude_app_packages_from_cleanup(&self) -> &[String]
pub fn exclude_app_packages_from_cleanup(&self) -> &[String]
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .exclude_app_packages_from_cleanup.is_none().
sourcepub fn reboot_after_use(&self) -> Option<bool>
pub fn reboot_after_use(&self) -> Option<bool>
The updated choice for whether you want to reboot the device after use. The default value is true.
source§impl UpdateInstanceProfileInput
impl UpdateInstanceProfileInput
sourcepub fn builder() -> UpdateInstanceProfileInputBuilder
pub fn builder() -> UpdateInstanceProfileInputBuilder
Creates a new builder-style object to manufacture UpdateInstanceProfileInput.
Trait Implementations§
source§impl Clone for UpdateInstanceProfileInput
impl Clone for UpdateInstanceProfileInput
source§fn clone(&self) -> UpdateInstanceProfileInput
fn clone(&self) -> UpdateInstanceProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateInstanceProfileInput
impl Debug for UpdateInstanceProfileInput
source§impl PartialEq for UpdateInstanceProfileInput
impl PartialEq for UpdateInstanceProfileInput
source§fn eq(&self, other: &UpdateInstanceProfileInput) -> bool
fn eq(&self, other: &UpdateInstanceProfileInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateInstanceProfileInput
Auto Trait Implementations§
impl Freeze for UpdateInstanceProfileInput
impl RefUnwindSafe for UpdateInstanceProfileInput
impl Send for UpdateInstanceProfileInput
impl Sync for UpdateInstanceProfileInput
impl Unpin for UpdateInstanceProfileInput
impl UnwindSafe for UpdateInstanceProfileInput
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