aws_sdk_devicefarm/client/update_instance_profile.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateInstanceProfile`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the instance profile.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::set_name):<br>required: **false**<br><p>The updated name for your instance profile.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::set_description):<br>required: **false**<br><p>The updated description for your instance profile.</p><br>
/// - [`package_cleanup(bool)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::package_cleanup) / [`set_package_cleanup(Option<bool>)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::set_package_cleanup):<br>required: **false**<br><p>The updated choice for whether you want to specify package cleanup. The default value is <code>false</code> for private devices.</p><br>
/// - [`exclude_app_packages_from_cleanup(impl Into<String>)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::exclude_app_packages_from_cleanup) / [`set_exclude_app_packages_from_cleanup(Option<Vec::<String>>)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::set_exclude_app_packages_from_cleanup):<br>required: **false**<br><p>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.</p> <p>The list of packages is only considered if you set <code>packageCleanup</code> to <code>true</code>.</p><br>
/// - [`reboot_after_use(bool)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::reboot_after_use) / [`set_reboot_after_use(Option<bool>)`](crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::set_reboot_after_use):<br>required: **false**<br><p>The updated choice for whether you want to reboot the device after use. The default value is <code>true</code>.</p><br>
/// - On success, responds with [`UpdateInstanceProfileOutput`](crate::operation::update_instance_profile::UpdateInstanceProfileOutput) with field(s):
/// - [`instance_profile(Option<InstanceProfile>)`](crate::operation::update_instance_profile::UpdateInstanceProfileOutput::instance_profile): <p>An object that contains information about your instance profile.</p>
/// - On failure, responds with [`SdkError<UpdateInstanceProfileError>`](crate::operation::update_instance_profile::UpdateInstanceProfileError)
pub fn update_instance_profile(&self) -> crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder {
crate::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder::new(self.handle.clone())
}
}