[][src]Struct rusoto_devicefarm::DeviceFarmClient

pub struct DeviceFarmClient { /* fields omitted */ }

A client for the AWS Device Farm API.

Methods

impl DeviceFarmClient[src]

pub fn new(region: Region) -> DeviceFarmClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> DeviceFarmClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl DeviceFarm for DeviceFarmClient[src]

fn create_device_pool(
    &self,
    input: CreateDevicePoolRequest
) -> RusotoFuture<CreateDevicePoolResult, CreateDevicePoolError>
[src]

Creates a device pool.

fn create_instance_profile(
    &self,
    input: CreateInstanceProfileRequest
) -> RusotoFuture<CreateInstanceProfileResult, CreateInstanceProfileError>
[src]

Creates a profile that can be applied to one or more private fleet device instances.

fn create_network_profile(
    &self,
    input: CreateNetworkProfileRequest
) -> RusotoFuture<CreateNetworkProfileResult, CreateNetworkProfileError>
[src]

Creates a network profile.

fn create_project(
    &self,
    input: CreateProjectRequest
) -> RusotoFuture<CreateProjectResult, CreateProjectError>
[src]

Creates a new project.

fn create_remote_access_session(
    &self,
    input: CreateRemoteAccessSessionRequest
) -> RusotoFuture<CreateRemoteAccessSessionResult, CreateRemoteAccessSessionError>
[src]

Specifies and starts a remote access session.

fn create_upload(
    &self,
    input: CreateUploadRequest
) -> RusotoFuture<CreateUploadResult, CreateUploadError>
[src]

Uploads an app or test scripts.

fn create_vpce_configuration(
    &self,
    input: CreateVPCEConfigurationRequest
) -> RusotoFuture<CreateVPCEConfigurationResult, CreateVPCEConfigurationError>
[src]

Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.

fn delete_device_pool(
    &self,
    input: DeleteDevicePoolRequest
) -> RusotoFuture<DeleteDevicePoolResult, DeleteDevicePoolError>
[src]

Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.

fn delete_instance_profile(
    &self,
    input: DeleteInstanceProfileRequest
) -> RusotoFuture<DeleteInstanceProfileResult, DeleteInstanceProfileError>
[src]

Deletes a profile that can be applied to one or more private device instances.

fn delete_network_profile(
    &self,
    input: DeleteNetworkProfileRequest
) -> RusotoFuture<DeleteNetworkProfileResult, DeleteNetworkProfileError>
[src]

Deletes a network profile.

fn delete_project(
    &self,
    input: DeleteProjectRequest
) -> RusotoFuture<DeleteProjectResult, DeleteProjectError>
[src]

Deletes an AWS Device Farm project, given the project ARN.

Note Deleting this resource does not stop an in-progress run.

fn delete_remote_access_session(
    &self,
    input: DeleteRemoteAccessSessionRequest
) -> RusotoFuture<DeleteRemoteAccessSessionResult, DeleteRemoteAccessSessionError>
[src]

Deletes a completed remote access session and its results.

fn delete_run(
    &self,
    input: DeleteRunRequest
) -> RusotoFuture<DeleteRunResult, DeleteRunError>
[src]

Deletes the run, given the run ARN.

Note Deleting this resource does not stop an in-progress run.

fn delete_upload(
    &self,
    input: DeleteUploadRequest
) -> RusotoFuture<DeleteUploadResult, DeleteUploadError>
[src]

Deletes an upload given the upload ARN.

fn delete_vpce_configuration(
    &self,
    input: DeleteVPCEConfigurationRequest
) -> RusotoFuture<DeleteVPCEConfigurationResult, DeleteVPCEConfigurationError>
[src]

Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.

fn get_account_settings(
    &self
) -> RusotoFuture<GetAccountSettingsResult, GetAccountSettingsError>
[src]

Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.

fn get_device(
    &self,
    input: GetDeviceRequest
) -> RusotoFuture<GetDeviceResult, GetDeviceError>
[src]

Gets information about a unique device type.

fn get_device_instance(
    &self,
    input: GetDeviceInstanceRequest
) -> RusotoFuture<GetDeviceInstanceResult, GetDeviceInstanceError>
[src]

Returns information about a device instance belonging to a private device fleet.

fn get_device_pool(
    &self,
    input: GetDevicePoolRequest
) -> RusotoFuture<GetDevicePoolResult, GetDevicePoolError>
[src]

Gets information about a device pool.

fn get_device_pool_compatibility(
    &self,
    input: GetDevicePoolCompatibilityRequest
) -> RusotoFuture<GetDevicePoolCompatibilityResult, GetDevicePoolCompatibilityError>
[src]

Gets information about compatibility with a device pool.

fn get_instance_profile(
    &self,
    input: GetInstanceProfileRequest
) -> RusotoFuture<GetInstanceProfileResult, GetInstanceProfileError>
[src]

Returns information about the specified instance profile.

fn get_job(
    &self,
    input: GetJobRequest
) -> RusotoFuture<GetJobResult, GetJobError>
[src]

Gets information about a job.

fn get_network_profile(
    &self,
    input: GetNetworkProfileRequest
) -> RusotoFuture<GetNetworkProfileResult, GetNetworkProfileError>
[src]

Returns information about a network profile.

fn get_offering_status(
    &self,
    input: GetOfferingStatusRequest
) -> RusotoFuture<GetOfferingStatusResult, GetOfferingStatusError>
[src]

Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.

fn get_project(
    &self,
    input: GetProjectRequest
) -> RusotoFuture<GetProjectResult, GetProjectError>
[src]

Gets information about a project.

fn get_remote_access_session(
    &self,
    input: GetRemoteAccessSessionRequest
) -> RusotoFuture<GetRemoteAccessSessionResult, GetRemoteAccessSessionError>
[src]

Returns a link to a currently running remote access session.

fn get_run(
    &self,
    input: GetRunRequest
) -> RusotoFuture<GetRunResult, GetRunError>
[src]

Gets information about a run.

fn get_suite(
    &self,
    input: GetSuiteRequest
) -> RusotoFuture<GetSuiteResult, GetSuiteError>
[src]

Gets information about a suite.

fn get_test(
    &self,
    input: GetTestRequest
) -> RusotoFuture<GetTestResult, GetTestError>
[src]

Gets information about a test.

fn get_upload(
    &self,
    input: GetUploadRequest
) -> RusotoFuture<GetUploadResult, GetUploadError>
[src]

Gets information about an upload.

fn get_vpce_configuration(
    &self,
    input: GetVPCEConfigurationRequest
) -> RusotoFuture<GetVPCEConfigurationResult, GetVPCEConfigurationError>
[src]

Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.

fn install_to_remote_access_session(
    &self,
    input: InstallToRemoteAccessSessionRequest
) -> RusotoFuture<InstallToRemoteAccessSessionResult, InstallToRemoteAccessSessionError>
[src]

Installs an application to the device in a remote access session. For Android applications, the file must be in .apk format. For iOS applications, the file must be in .ipa format.

fn list_artifacts(
    &self,
    input: ListArtifactsRequest
) -> RusotoFuture<ListArtifactsResult, ListArtifactsError>
[src]

Gets information about artifacts.

fn list_device_instances(
    &self,
    input: ListDeviceInstancesRequest
) -> RusotoFuture<ListDeviceInstancesResult, ListDeviceInstancesError>
[src]

Returns information about the private device instances associated with one or more AWS accounts.

fn list_device_pools(
    &self,
    input: ListDevicePoolsRequest
) -> RusotoFuture<ListDevicePoolsResult, ListDevicePoolsError>
[src]

Gets information about device pools.

fn list_devices(
    &self,
    input: ListDevicesRequest
) -> RusotoFuture<ListDevicesResult, ListDevicesError>
[src]

Gets information about unique device types.

fn list_instance_profiles(
    &self,
    input: ListInstanceProfilesRequest
) -> RusotoFuture<ListInstanceProfilesResult, ListInstanceProfilesError>
[src]

Returns information about all the instance profiles in an AWS account.

fn list_jobs(
    &self,
    input: ListJobsRequest
) -> RusotoFuture<ListJobsResult, ListJobsError>
[src]

Gets information about jobs for a given test run.

fn list_network_profiles(
    &self,
    input: ListNetworkProfilesRequest
) -> RusotoFuture<ListNetworkProfilesResult, ListNetworkProfilesError>
[src]

Returns the list of available network profiles.

fn list_offering_promotions(
    &self,
    input: ListOfferingPromotionsRequest
) -> RusotoFuture<ListOfferingPromotionsResult, ListOfferingPromotionsError>
[src]

Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.

fn list_offering_transactions(
    &self,
    input: ListOfferingTransactionsRequest
) -> RusotoFuture<ListOfferingTransactionsResult, ListOfferingTransactionsError>
[src]

Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.

fn list_offerings(
    &self,
    input: ListOfferingsRequest
) -> RusotoFuture<ListOfferingsResult, ListOfferingsError>
[src]

Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.

fn list_projects(
    &self,
    input: ListProjectsRequest
) -> RusotoFuture<ListProjectsResult, ListProjectsError>
[src]

Gets information about projects.

fn list_remote_access_sessions(
    &self,
    input: ListRemoteAccessSessionsRequest
) -> RusotoFuture<ListRemoteAccessSessionsResult, ListRemoteAccessSessionsError>
[src]

Returns a list of all currently running remote access sessions.

fn list_runs(
    &self,
    input: ListRunsRequest
) -> RusotoFuture<ListRunsResult, ListRunsError>
[src]

Gets information about runs, given an AWS Device Farm project ARN.

fn list_samples(
    &self,
    input: ListSamplesRequest
) -> RusotoFuture<ListSamplesResult, ListSamplesError>
[src]

Gets information about samples, given an AWS Device Farm job ARN.

fn list_suites(
    &self,
    input: ListSuitesRequest
) -> RusotoFuture<ListSuitesResult, ListSuitesError>
[src]

Gets information about test suites for a given job.

fn list_tests(
    &self,
    input: ListTestsRequest
) -> RusotoFuture<ListTestsResult, ListTestsError>
[src]

Gets information about tests in a given test suite.

fn list_unique_problems(
    &self,
    input: ListUniqueProblemsRequest
) -> RusotoFuture<ListUniqueProblemsResult, ListUniqueProblemsError>
[src]

Gets information about unique problems.

fn list_uploads(
    &self,
    input: ListUploadsRequest
) -> RusotoFuture<ListUploadsResult, ListUploadsError>
[src]

Gets information about uploads, given an AWS Device Farm project ARN.

fn list_vpce_configurations(
    &self,
    input: ListVPCEConfigurationsRequest
) -> RusotoFuture<ListVPCEConfigurationsResult, ListVPCEConfigurationsError>
[src]

Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.

fn purchase_offering(
    &self,
    input: PurchaseOfferingRequest
) -> RusotoFuture<PurchaseOfferingResult, PurchaseOfferingError>
[src]

Immediately purchases offerings for an AWS account. Offerings renew with the latest total purchased quantity for an offering, unless the renewal was overridden. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.

fn renew_offering(
    &self,
    input: RenewOfferingRequest
) -> RusotoFuture<RenewOfferingResult, RenewOfferingError>
[src]

Explicitly sets the quantity of devices to renew for an offering, starting from the effectiveDate of the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.

fn schedule_run(
    &self,
    input: ScheduleRunRequest
) -> RusotoFuture<ScheduleRunResult, ScheduleRunError>
[src]

Schedules a run.

fn stop_job(
    &self,
    input: StopJobRequest
) -> RusotoFuture<StopJobResult, StopJobError>
[src]

Initiates a stop request for the current job. AWS Device Farm will immediately stop the job on the device where tests have not started executing, and you will not be billed for this device. On the device where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on the device. You will be billed for Setup, Teardown, and any tests that were in progress or already completed.

fn stop_remote_access_session(
    &self,
    input: StopRemoteAccessSessionRequest
) -> RusotoFuture<StopRemoteAccessSessionResult, StopRemoteAccessSessionError>
[src]

Ends a specified remote access session.

fn stop_run(
    &self,
    input: StopRunRequest
) -> RusotoFuture<StopRunResult, StopRunError>
[src]

Initiates a stop request for the current test run. AWS Device Farm will immediately stop the run on devices where tests have not started executing, and you will not be billed for these devices. On devices where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on those devices. You will be billed for Setup, Teardown, and any tests that were in progress or already completed.

fn update_device_instance(
    &self,
    input: UpdateDeviceInstanceRequest
) -> RusotoFuture<UpdateDeviceInstanceResult, UpdateDeviceInstanceError>
[src]

Updates information about an existing private device instance.

fn update_device_pool(
    &self,
    input: UpdateDevicePoolRequest
) -> RusotoFuture<UpdateDevicePoolResult, UpdateDevicePoolError>
[src]

Modifies the name, description, and rules in a device pool given the attributes and the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a whole (or not at all).

fn update_instance_profile(
    &self,
    input: UpdateInstanceProfileRequest
) -> RusotoFuture<UpdateInstanceProfileResult, UpdateInstanceProfileError>
[src]

Updates information about an existing private device instance profile.

fn update_network_profile(
    &self,
    input: UpdateNetworkProfileRequest
) -> RusotoFuture<UpdateNetworkProfileResult, UpdateNetworkProfileError>
[src]

Updates the network profile with specific settings.

fn update_project(
    &self,
    input: UpdateProjectRequest
) -> RusotoFuture<UpdateProjectResult, UpdateProjectError>
[src]

Modifies the specified project name, given the project ARN and a new name.

fn update_upload(
    &self,
    input: UpdateUploadRequest
) -> RusotoFuture<UpdateUploadResult, UpdateUploadError>
[src]

Update an uploaded test specification (test spec).

fn update_vpce_configuration(
    &self,
    input: UpdateVPCEConfigurationRequest
) -> RusotoFuture<UpdateVPCEConfigurationResult, UpdateVPCEConfigurationError>
[src]

Updates information about an existing Amazon Virtual Private Cloud (VPC) endpoint configuration.

impl Clone for DeviceFarmClient[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self