Struct aws_sdk_devicefarm::client::fluent_builders::CreateInstanceProfile [−][src]
pub struct CreateInstanceProfile<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateInstanceProfile.
Creates a profile that can be applied to one or more private fleet device instances.
Implementations
impl<C, M, R> CreateInstanceProfile<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateInstanceProfile<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateInstanceProfileOutput, SdkError<CreateInstanceProfileError>> where
R::Policy: SmithyRetryPolicy<CreateInstanceProfileInputOperationOutputAlias, CreateInstanceProfileOutput, CreateInstanceProfileError, CreateInstanceProfileInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateInstanceProfileOutput, SdkError<CreateInstanceProfileError>> where
R::Policy: SmithyRetryPolicy<CreateInstanceProfileInputOperationOutputAlias, CreateInstanceProfileOutput, CreateInstanceProfileError, CreateInstanceProfileInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The description of your instance profile.
The description of your instance profile.
When set to true, Device Farm removes app packages after a test run. The default value is
false for private devices.
When set to true, Device Farm removes app packages after a test run. The default value is
false for private devices.
Appends an item to excludeAppPackagesFromCleanup.
To override the contents of this collection use set_exclude_app_packages_from_cleanup.
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
The list of packages is considered only if you set packageCleanup to
true.
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
The list of packages is considered only if you set packageCleanup to
true.
When set to true, Device Farm reboots the instance after a test run. The default value is
true.
When set to true, Device Farm reboots the instance after a test run. The default value is
true.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateInstanceProfile<C, M, R>
impl<C, M, R> Send for CreateInstanceProfile<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateInstanceProfile<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateInstanceProfile<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateInstanceProfile<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more