/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the devicefarm-2015-06-23.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.DeviceFarm.Model;
using Amazon.DeviceFarm.Model.Internal.MarshallTransformations;
using Amazon.DeviceFarm.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.DeviceFarm
{
///
/// Implementation for accessing DeviceFarm
///
/// Welcome to the AWS Device Farm API documentation, which contains APIs for:
///
/// -
///
/// Testing on desktop browsers
///
///
///
/// Device Farm makes it possible for you to test your web applications on desktop browsers
/// using Selenium. The APIs for desktop browser testing contain
TestGrid
/// in their names. For more information, see Testing
/// Web Applications on Selenium with Device Farm.
///
/// -
///
/// Testing on real mobile devices
///
///
///
/// Device Farm makes it possible for you to test apps on physical phones, tablets, and
/// other devices in the cloud. For more information, see the Device
/// Farm Developer Guide.
///
///
///
public partial class AmazonDeviceFarmClient : AmazonServiceClient, IAmazonDeviceFarm
{
private static IServiceMetadata serviceMetadata = new AmazonDeviceFarmMetadata();
private IDeviceFarmPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IDeviceFarmPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new DeviceFarmPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonDeviceFarmClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonDeviceFarmClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonDeviceFarmConfig()) { }
///
/// Constructs AmazonDeviceFarmClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonDeviceFarmClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonDeviceFarmConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonDeviceFarmClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonDeviceFarmClient Configuration Object
public AmazonDeviceFarmClient(AmazonDeviceFarmConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonDeviceFarmClient with AWS Credentials
///
/// AWS Credentials
public AmazonDeviceFarmClient(AWSCredentials credentials)
: this(credentials, new AmazonDeviceFarmConfig())
{
}
///
/// Constructs AmazonDeviceFarmClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonDeviceFarmClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonDeviceFarmConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonDeviceFarmClient with AWS Credentials and an
/// AmazonDeviceFarmClient Configuration object.
///
/// AWS Credentials
/// The AmazonDeviceFarmClient Configuration Object
public AmazonDeviceFarmClient(AWSCredentials credentials, AmazonDeviceFarmConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonDeviceFarmClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonDeviceFarmClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonDeviceFarmConfig())
{
}
///
/// Constructs AmazonDeviceFarmClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonDeviceFarmClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonDeviceFarmConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonDeviceFarmClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonDeviceFarmClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonDeviceFarmClient Configuration Object
public AmazonDeviceFarmClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonDeviceFarmConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonDeviceFarmClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonDeviceFarmClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDeviceFarmConfig())
{
}
///
/// Constructs AmazonDeviceFarmClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonDeviceFarmClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDeviceFarmConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonDeviceFarmClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonDeviceFarmClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonDeviceFarmClient Configuration Object
public AmazonDeviceFarmClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonDeviceFarmConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonDeviceFarmEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateDevicePool
///
/// Creates a device pool.
///
/// Container for the necessary parameters to execute the CreateDevicePool service method.
///
/// The response from the CreateDevicePool service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateDevicePool Operation
public virtual CreateDevicePoolResponse CreateDevicePool(CreateDevicePoolRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDevicePoolRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDevicePoolResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a device pool.
///
/// Container for the necessary parameters to execute the CreateDevicePool service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDevicePool service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateDevicePool Operation
public virtual Task CreateDevicePoolAsync(CreateDevicePoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDevicePoolRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDevicePoolResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateInstanceProfile
///
/// Creates a profile that can be applied to one or more private fleet device instances.
///
/// Container for the necessary parameters to execute the CreateInstanceProfile service method.
///
/// The response from the CreateInstanceProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateInstanceProfile Operation
public virtual CreateInstanceProfileResponse CreateInstanceProfile(CreateInstanceProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateInstanceProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateInstanceProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a profile that can be applied to one or more private fleet device instances.
///
/// Container for the necessary parameters to execute the CreateInstanceProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateInstanceProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateInstanceProfile Operation
public virtual Task CreateInstanceProfileAsync(CreateInstanceProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateInstanceProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateInstanceProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateNetworkProfile
///
/// Creates a network profile.
///
/// Container for the necessary parameters to execute the CreateNetworkProfile service method.
///
/// The response from the CreateNetworkProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateNetworkProfile Operation
public virtual CreateNetworkProfileResponse CreateNetworkProfile(CreateNetworkProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateNetworkProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateNetworkProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a network profile.
///
/// Container for the necessary parameters to execute the CreateNetworkProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateNetworkProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateNetworkProfile Operation
public virtual Task CreateNetworkProfileAsync(CreateNetworkProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateNetworkProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateNetworkProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateProject
///
/// Creates a project.
///
/// The project's name.
///
/// The response from the CreateProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
///
/// The operation was not successful. Try again.
///
/// REST API Reference for CreateProject Operation
public virtual CreateProjectResponse CreateProject(string name)
{
var request = new CreateProjectRequest();
request.Name = name;
return CreateProject(request);
}
///
/// Creates a project.
///
/// Container for the necessary parameters to execute the CreateProject service method.
///
/// The response from the CreateProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
///
/// The operation was not successful. Try again.
///
/// REST API Reference for CreateProject Operation
public virtual CreateProjectResponse CreateProject(CreateProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a project.
///
/// The project's name.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
///
/// The operation was not successful. Try again.
///
/// REST API Reference for CreateProject Operation
public virtual Task CreateProjectAsync(string name, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var request = new CreateProjectRequest();
request.Name = name;
return CreateProjectAsync(request, cancellationToken);
}
///
/// Creates a project.
///
/// Container for the necessary parameters to execute the CreateProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
///
/// The operation was not successful. Try again.
///
/// REST API Reference for CreateProject Operation
public virtual Task CreateProjectAsync(CreateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateRemoteAccessSession
///
/// Specifies and starts a remote access session.
///
/// Container for the necessary parameters to execute the CreateRemoteAccessSession service method.
///
/// The response from the CreateRemoteAccessSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateRemoteAccessSession Operation
public virtual CreateRemoteAccessSessionResponse CreateRemoteAccessSession(CreateRemoteAccessSessionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRemoteAccessSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRemoteAccessSessionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Specifies and starts a remote access session.
///
/// Container for the necessary parameters to execute the CreateRemoteAccessSession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateRemoteAccessSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateRemoteAccessSession Operation
public virtual Task CreateRemoteAccessSessionAsync(CreateRemoteAccessSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRemoteAccessSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRemoteAccessSessionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateTestGridProject
///
/// Creates a Selenium testing project. Projects are used to track TestGridSession
/// instances.
///
/// Container for the necessary parameters to execute the CreateTestGridProject service method.
///
/// The response from the CreateTestGridProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// A limit was exceeded.
///
/// REST API Reference for CreateTestGridProject Operation
public virtual CreateTestGridProjectResponse CreateTestGridProject(CreateTestGridProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTestGridProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTestGridProjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a Selenium testing project. Projects are used to track TestGridSession
/// instances.
///
/// Container for the necessary parameters to execute the CreateTestGridProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateTestGridProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// A limit was exceeded.
///
/// REST API Reference for CreateTestGridProject Operation
public virtual Task CreateTestGridProjectAsync(CreateTestGridProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTestGridProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTestGridProjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateTestGridUrl
///
/// Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver
/// constructor.
///
/// Container for the necessary parameters to execute the CreateTestGridUrl service method.
///
/// The response from the CreateTestGridUrl service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for CreateTestGridUrl Operation
public virtual CreateTestGridUrlResponse CreateTestGridUrl(CreateTestGridUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTestGridUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTestGridUrlResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver
/// constructor.
///
/// Container for the necessary parameters to execute the CreateTestGridUrl service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateTestGridUrl service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for CreateTestGridUrl Operation
public virtual Task CreateTestGridUrlAsync(CreateTestGridUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTestGridUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTestGridUrlResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateUpload
///
/// Uploads an app or test scripts.
///
/// Container for the necessary parameters to execute the CreateUpload service method.
///
/// The response from the CreateUpload service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateUpload Operation
public virtual CreateUploadResponse CreateUpload(CreateUploadRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUploadRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUploadResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Uploads an app or test scripts.
///
/// Container for the necessary parameters to execute the CreateUpload service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUpload service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateUpload Operation
public virtual Task CreateUploadAsync(CreateUploadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUploadRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUploadResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateVPCEConfiguration
///
/// Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud
/// (VPC) endpoint.
///
/// Container for the necessary parameters to execute the CreateVPCEConfiguration service method.
///
/// The response from the CreateVPCEConfiguration service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateVPCEConfiguration Operation
public virtual CreateVPCEConfigurationResponse CreateVPCEConfiguration(CreateVPCEConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVPCEConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVPCEConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud
/// (VPC) endpoint.
///
/// Container for the necessary parameters to execute the CreateVPCEConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVPCEConfiguration service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for CreateVPCEConfiguration Operation
public virtual Task CreateVPCEConfigurationAsync(CreateVPCEConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVPCEConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVPCEConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDevicePool
///
/// Deletes a device pool given the pool ARN. Does not allow deletion of curated pools
/// owned by the system.
///
/// Container for the necessary parameters to execute the DeleteDevicePool service method.
///
/// The response from the DeleteDevicePool service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteDevicePool Operation
public virtual DeleteDevicePoolResponse DeleteDevicePool(DeleteDevicePoolRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDevicePoolRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDevicePoolResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a device pool given the pool ARN. Does not allow deletion of curated pools
/// owned by the system.
///
/// Container for the necessary parameters to execute the DeleteDevicePool service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDevicePool service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteDevicePool Operation
public virtual Task DeleteDevicePoolAsync(DeleteDevicePoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDevicePoolRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDevicePoolResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteInstanceProfile
///
/// Deletes a profile that can be applied to one or more private device instances.
///
/// Container for the necessary parameters to execute the DeleteInstanceProfile service method.
///
/// The response from the DeleteInstanceProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteInstanceProfile Operation
public virtual DeleteInstanceProfileResponse DeleteInstanceProfile(DeleteInstanceProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInstanceProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInstanceProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a profile that can be applied to one or more private device instances.
///
/// Container for the necessary parameters to execute the DeleteInstanceProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteInstanceProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteInstanceProfile Operation
public virtual Task DeleteInstanceProfileAsync(DeleteInstanceProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInstanceProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInstanceProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteNetworkProfile
///
/// Deletes a network profile.
///
/// Container for the necessary parameters to execute the DeleteNetworkProfile service method.
///
/// The response from the DeleteNetworkProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteNetworkProfile Operation
public virtual DeleteNetworkProfileResponse DeleteNetworkProfile(DeleteNetworkProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteNetworkProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteNetworkProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a network profile.
///
/// Container for the necessary parameters to execute the DeleteNetworkProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteNetworkProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteNetworkProfile Operation
public virtual Task DeleteNetworkProfileAsync(DeleteNetworkProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteNetworkProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteNetworkProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteProject
///
/// Deletes an AWS Device Farm project, given the project ARN.
///
///
///
/// Deleting this resource does not stop an in-progress run.
///
///
/// Container for the necessary parameters to execute the DeleteProject service method.
///
/// The response from the DeleteProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteProject Operation
public virtual DeleteProjectResponse DeleteProject(DeleteProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an AWS Device Farm project, given the project ARN.
///
///
///
/// Deleting this resource does not stop an in-progress run.
///
///
/// Container for the necessary parameters to execute the DeleteProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteProject Operation
public virtual Task DeleteProjectAsync(DeleteProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteRemoteAccessSession
///
/// Deletes a completed remote access session and its results.
///
/// Container for the necessary parameters to execute the DeleteRemoteAccessSession service method.
///
/// The response from the DeleteRemoteAccessSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteRemoteAccessSession Operation
public virtual DeleteRemoteAccessSessionResponse DeleteRemoteAccessSession(DeleteRemoteAccessSessionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRemoteAccessSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRemoteAccessSessionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a completed remote access session and its results.
///
/// Container for the necessary parameters to execute the DeleteRemoteAccessSession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteRemoteAccessSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteRemoteAccessSession Operation
public virtual Task DeleteRemoteAccessSessionAsync(DeleteRemoteAccessSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRemoteAccessSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRemoteAccessSessionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteRun
///
/// Deletes the run, given the run ARN.
///
///
///
/// Deleting this resource does not stop an in-progress run.
///
///
/// Container for the necessary parameters to execute the DeleteRun service method.
///
/// The response from the DeleteRun service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteRun Operation
public virtual DeleteRunResponse DeleteRun(DeleteRunRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRunRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRunResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the run, given the run ARN.
///
///
///
/// Deleting this resource does not stop an in-progress run.
///
///
/// Container for the necessary parameters to execute the DeleteRun service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteRun service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteRun Operation
public virtual Task DeleteRunAsync(DeleteRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRunRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRunResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteTestGridProject
///
/// Deletes a Selenium testing project and all content generated under it.
///
///
///
/// You cannot undo this operation.
///
///
///
/// You cannot delete a project if it has active sessions.
///
///
///
/// Container for the necessary parameters to execute the DeleteTestGridProject service method.
///
/// The response from the DeleteTestGridProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// The requested object could not be deleted.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for DeleteTestGridProject Operation
public virtual DeleteTestGridProjectResponse DeleteTestGridProject(DeleteTestGridProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTestGridProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTestGridProjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a Selenium testing project and all content generated under it.
///
///
///
/// You cannot undo this operation.
///
///
///
/// You cannot delete a project if it has active sessions.
///
///
///
/// Container for the necessary parameters to execute the DeleteTestGridProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteTestGridProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// The requested object could not be deleted.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for DeleteTestGridProject Operation
public virtual Task DeleteTestGridProjectAsync(DeleteTestGridProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTestGridProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTestGridProjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteUpload
///
/// Deletes an upload given the upload ARN.
///
/// Container for the necessary parameters to execute the DeleteUpload service method.
///
/// The response from the DeleteUpload service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteUpload Operation
public virtual DeleteUploadResponse DeleteUpload(DeleteUploadRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUploadRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUploadResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an upload given the upload ARN.
///
/// Container for the necessary parameters to execute the DeleteUpload service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteUpload service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteUpload Operation
public virtual Task DeleteUploadAsync(DeleteUploadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUploadRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUploadResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVPCEConfiguration
///
/// Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
///
/// Container for the necessary parameters to execute the DeleteVPCEConfiguration service method.
///
/// The response from the DeleteVPCEConfiguration service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// There was an error with the update request, or you do not have sufficient permissions
/// to update this VPC endpoint configuration.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteVPCEConfiguration Operation
public virtual DeleteVPCEConfigurationResponse DeleteVPCEConfiguration(DeleteVPCEConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVPCEConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVPCEConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
///
/// Container for the necessary parameters to execute the DeleteVPCEConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVPCEConfiguration service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// There was an error with the update request, or you do not have sufficient permissions
/// to update this VPC endpoint configuration.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for DeleteVPCEConfiguration Operation
public virtual Task DeleteVPCEConfigurationAsync(DeleteVPCEConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVPCEConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVPCEConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetAccountSettings
///
/// Returns the number of unmetered iOS or unmetered Android devices that have been purchased
/// by the account.
///
///
/// The response from the GetAccountSettings service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetAccountSettings Operation
public virtual GetAccountSettingsResponse GetAccountSettings()
{
return GetAccountSettings(new GetAccountSettingsRequest());
}
///
/// Returns the number of unmetered iOS or unmetered Android devices that have been purchased
/// by the account.
///
/// Container for the necessary parameters to execute the GetAccountSettings service method.
///
/// The response from the GetAccountSettings service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetAccountSettings Operation
public virtual GetAccountSettingsResponse GetAccountSettings(GetAccountSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccountSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccountSettingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the number of unmetered iOS or unmetered Android devices that have been purchased
/// by the account.
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAccountSettings service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetAccountSettings Operation
public virtual Task GetAccountSettingsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
return GetAccountSettingsAsync(new GetAccountSettingsRequest(), cancellationToken);
}
///
/// Returns the number of unmetered iOS or unmetered Android devices that have been purchased
/// by the account.
///
/// Container for the necessary parameters to execute the GetAccountSettings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAccountSettings service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetAccountSettings Operation
public virtual Task GetAccountSettingsAsync(GetAccountSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccountSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccountSettingsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDevice
///
/// Gets information about a unique device type.
///
/// The device type's ARN.
///
/// The response from the GetDevice service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDevice Operation
public virtual GetDeviceResponse GetDevice(string arn)
{
var request = new GetDeviceRequest();
request.Arn = arn;
return GetDevice(request);
}
///
/// Gets information about a unique device type.
///
/// Container for the necessary parameters to execute the GetDevice service method.
///
/// The response from the GetDevice service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDevice Operation
public virtual GetDeviceResponse GetDevice(GetDeviceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeviceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeviceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a unique device type.
///
/// The device type's ARN.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDevice service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDevice Operation
public virtual Task GetDeviceAsync(string arn, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var request = new GetDeviceRequest();
request.Arn = arn;
return GetDeviceAsync(request, cancellationToken);
}
///
/// Gets information about a unique device type.
///
/// Container for the necessary parameters to execute the GetDevice service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDevice service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDevice Operation
public virtual Task GetDeviceAsync(GetDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeviceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeviceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDeviceInstance
///
/// Returns information about a device instance that belongs to a private device fleet.
///
/// Container for the necessary parameters to execute the GetDeviceInstance service method.
///
/// The response from the GetDeviceInstance service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDeviceInstance Operation
public virtual GetDeviceInstanceResponse GetDeviceInstance(GetDeviceInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeviceInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeviceInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a device instance that belongs to a private device fleet.
///
/// Container for the necessary parameters to execute the GetDeviceInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDeviceInstance service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDeviceInstance Operation
public virtual Task GetDeviceInstanceAsync(GetDeviceInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeviceInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeviceInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDevicePool
///
/// Gets information about a device pool.
///
/// The device pool's ARN.
///
/// The response from the GetDevicePool service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDevicePool Operation
public virtual GetDevicePoolResponse GetDevicePool(string arn)
{
var request = new GetDevicePoolRequest();
request.Arn = arn;
return GetDevicePool(request);
}
///
/// Gets information about a device pool.
///
/// Container for the necessary parameters to execute the GetDevicePool service method.
///
/// The response from the GetDevicePool service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDevicePool Operation
public virtual GetDevicePoolResponse GetDevicePool(GetDevicePoolRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDevicePoolRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDevicePoolResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a device pool.
///
/// The device pool's ARN.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDevicePool service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDevicePool Operation
public virtual Task GetDevicePoolAsync(string arn, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var request = new GetDevicePoolRequest();
request.Arn = arn;
return GetDevicePoolAsync(request, cancellationToken);
}
///
/// Gets information about a device pool.
///
/// Container for the necessary parameters to execute the GetDevicePool service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDevicePool service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDevicePool Operation
public virtual Task GetDevicePoolAsync(GetDevicePoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDevicePoolRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDevicePoolResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDevicePoolCompatibility
///
/// Gets information about compatibility with a device pool.
///
/// Container for the necessary parameters to execute the GetDevicePoolCompatibility service method.
///
/// The response from the GetDevicePoolCompatibility service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDevicePoolCompatibility Operation
public virtual GetDevicePoolCompatibilityResponse GetDevicePoolCompatibility(GetDevicePoolCompatibilityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDevicePoolCompatibilityRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDevicePoolCompatibilityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about compatibility with a device pool.
///
/// Container for the necessary parameters to execute the GetDevicePoolCompatibility service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDevicePoolCompatibility service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetDevicePoolCompatibility Operation
public virtual Task GetDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDevicePoolCompatibilityRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDevicePoolCompatibilityResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetInstanceProfile
///
/// Returns information about the specified instance profile.
///
/// Container for the necessary parameters to execute the GetInstanceProfile service method.
///
/// The response from the GetInstanceProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetInstanceProfile Operation
public virtual GetInstanceProfileResponse GetInstanceProfile(GetInstanceProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInstanceProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInstanceProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about the specified instance profile.
///
/// Container for the necessary parameters to execute the GetInstanceProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetInstanceProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetInstanceProfile Operation
public virtual Task GetInstanceProfileAsync(GetInstanceProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInstanceProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInstanceProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetJob
///
/// Gets information about a job.
///
/// The job's ARN.
///
/// The response from the GetJob service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetJob Operation
public virtual GetJobResponse GetJob(string arn)
{
var request = new GetJobRequest();
request.Arn = arn;
return GetJob(request);
}
///
/// Gets information about a job.
///
/// Container for the necessary parameters to execute the GetJob service method.
///
/// The response from the GetJob service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetJob Operation
public virtual GetJobResponse GetJob(GetJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a job.
///
/// The job's ARN.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetJob service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetJob Operation
public virtual Task GetJobAsync(string arn, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var request = new GetJobRequest();
request.Arn = arn;
return GetJobAsync(request, cancellationToken);
}
///
/// Gets information about a job.
///
/// Container for the necessary parameters to execute the GetJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetJob service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetJob Operation
public virtual Task GetJobAsync(GetJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetNetworkProfile
///
/// Returns information about a network profile.
///
/// Container for the necessary parameters to execute the GetNetworkProfile service method.
///
/// The response from the GetNetworkProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetNetworkProfile Operation
public virtual GetNetworkProfileResponse GetNetworkProfile(GetNetworkProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetNetworkProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetNetworkProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a network profile.
///
/// Container for the necessary parameters to execute the GetNetworkProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetNetworkProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetNetworkProfile Operation
public virtual Task GetNetworkProfileAsync(GetNetworkProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetNetworkProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetNetworkProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetOfferingStatus
///
/// 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. If you must be able to
/// invoke this operation, contact aws-devicefarm-support@amazon.com.
///
/// Container for the necessary parameters to execute the GetOfferingStatus service method.
///
/// The response from the GetOfferingStatus service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetOfferingStatus Operation
public virtual GetOfferingStatusResponse GetOfferingStatus(GetOfferingStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOfferingStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOfferingStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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. If you must be able to
/// invoke this operation, contact aws-devicefarm-support@amazon.com.
///
/// Container for the necessary parameters to execute the GetOfferingStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetOfferingStatus service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetOfferingStatus Operation
public virtual Task GetOfferingStatusAsync(GetOfferingStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOfferingStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOfferingStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetProject
///
/// Gets information about a project.
///
/// The project's ARN.
///
/// The response from the GetProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetProject Operation
public virtual GetProjectResponse GetProject(string arn)
{
var request = new GetProjectRequest();
request.Arn = arn;
return GetProject(request);
}
///
/// Gets information about a project.
///
/// Container for the necessary parameters to execute the GetProject service method.
///
/// The response from the GetProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetProject Operation
public virtual GetProjectResponse GetProject(GetProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a project.
///
/// The project's ARN.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetProject Operation
public virtual Task GetProjectAsync(string arn, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var request = new GetProjectRequest();
request.Arn = arn;
return GetProjectAsync(request, cancellationToken);
}
///
/// Gets information about a project.
///
/// Container for the necessary parameters to execute the GetProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetProject Operation
public virtual Task GetProjectAsync(GetProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetRemoteAccessSession
///
/// Returns a link to a currently running remote access session.
///
/// Container for the necessary parameters to execute the GetRemoteAccessSession service method.
///
/// The response from the GetRemoteAccessSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetRemoteAccessSession Operation
public virtual GetRemoteAccessSessionResponse GetRemoteAccessSession(GetRemoteAccessSessionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRemoteAccessSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRemoteAccessSessionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a link to a currently running remote access session.
///
/// Container for the necessary parameters to execute the GetRemoteAccessSession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRemoteAccessSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetRemoteAccessSession Operation
public virtual Task GetRemoteAccessSessionAsync(GetRemoteAccessSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRemoteAccessSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRemoteAccessSessionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetRun
///
/// Gets information about a run.
///
/// The run's ARN.
///
/// The response from the GetRun service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetRun Operation
public virtual GetRunResponse GetRun(string arn)
{
var request = new GetRunRequest();
request.Arn = arn;
return GetRun(request);
}
///
/// Gets information about a run.
///
/// Container for the necessary parameters to execute the GetRun service method.
///
/// The response from the GetRun service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetRun Operation
public virtual GetRunResponse GetRun(GetRunRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRunRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRunResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a run.
///
/// The run's ARN.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRun service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetRun Operation
public virtual Task GetRunAsync(string arn, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var request = new GetRunRequest();
request.Arn = arn;
return GetRunAsync(request, cancellationToken);
}
///
/// Gets information about a run.
///
/// Container for the necessary parameters to execute the GetRun service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRun service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetRun Operation
public virtual Task GetRunAsync(GetRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRunRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRunResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSuite
///
/// Gets information about a suite.
///
/// The suite's ARN.
///
/// The response from the GetSuite service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetSuite Operation
public virtual GetSuiteResponse GetSuite(string arn)
{
var request = new GetSuiteRequest();
request.Arn = arn;
return GetSuite(request);
}
///
/// Gets information about a suite.
///
/// Container for the necessary parameters to execute the GetSuite service method.
///
/// The response from the GetSuite service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetSuite Operation
public virtual GetSuiteResponse GetSuite(GetSuiteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSuiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSuiteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a suite.
///
/// The suite's ARN.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSuite service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetSuite Operation
public virtual Task GetSuiteAsync(string arn, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var request = new GetSuiteRequest();
request.Arn = arn;
return GetSuiteAsync(request, cancellationToken);
}
///
/// Gets information about a suite.
///
/// Container for the necessary parameters to execute the GetSuite service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSuite service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetSuite Operation
public virtual Task GetSuiteAsync(GetSuiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSuiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSuiteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTest
///
/// Gets information about a test.
///
/// The test's ARN.
///
/// The response from the GetTest service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetTest Operation
public virtual GetTestResponse GetTest(string arn)
{
var request = new GetTestRequest();
request.Arn = arn;
return GetTest(request);
}
///
/// Gets information about a test.
///
/// Container for the necessary parameters to execute the GetTest service method.
///
/// The response from the GetTest service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetTest Operation
public virtual GetTestResponse GetTest(GetTestRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTestRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTestResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a test.
///
/// The test's ARN.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTest service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetTest Operation
public virtual Task GetTestAsync(string arn, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var request = new GetTestRequest();
request.Arn = arn;
return GetTestAsync(request, cancellationToken);
}
///
/// Gets information about a test.
///
/// Container for the necessary parameters to execute the GetTest service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTest service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetTest Operation
public virtual Task GetTestAsync(GetTestRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTestRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTestResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTestGridProject
///
/// Retrieves information about a Selenium testing project.
///
/// Container for the necessary parameters to execute the GetTestGridProject service method.
///
/// The response from the GetTestGridProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for GetTestGridProject Operation
public virtual GetTestGridProjectResponse GetTestGridProject(GetTestGridProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTestGridProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTestGridProjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves information about a Selenium testing project.
///
/// Container for the necessary parameters to execute the GetTestGridProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTestGridProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for GetTestGridProject Operation
public virtual Task GetTestGridProjectAsync(GetTestGridProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTestGridProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTestGridProjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTestGridSession
///
/// A session is an instance of a browser created through a RemoteWebDriver
/// with the URL from CreateTestGridUrlResult$url. You can use the following to
/// look up sessions:
///
///
///
/// Container for the necessary parameters to execute the GetTestGridSession service method.
///
/// The response from the GetTestGridSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for GetTestGridSession Operation
public virtual GetTestGridSessionResponse GetTestGridSession(GetTestGridSessionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTestGridSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTestGridSessionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// A session is an instance of a browser created through a RemoteWebDriver
/// with the URL from CreateTestGridUrlResult$url. You can use the following to
/// look up sessions:
///
///
///
/// Container for the necessary parameters to execute the GetTestGridSession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTestGridSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for GetTestGridSession Operation
public virtual Task GetTestGridSessionAsync(GetTestGridSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTestGridSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTestGridSessionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetUpload
///
/// Gets information about an upload.
///
/// The upload's ARN.
///
/// The response from the GetUpload service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetUpload Operation
public virtual GetUploadResponse GetUpload(string arn)
{
var request = new GetUploadRequest();
request.Arn = arn;
return GetUpload(request);
}
///
/// Gets information about an upload.
///
/// Container for the necessary parameters to execute the GetUpload service method.
///
/// The response from the GetUpload service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetUpload Operation
public virtual GetUploadResponse GetUpload(GetUploadRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUploadRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUploadResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about an upload.
///
/// The upload's ARN.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUpload service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetUpload Operation
public virtual Task GetUploadAsync(string arn, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var request = new GetUploadRequest();
request.Arn = arn;
return GetUploadAsync(request, cancellationToken);
}
///
/// Gets information about an upload.
///
/// Container for the necessary parameters to execute the GetUpload service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUpload service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetUpload Operation
public virtual Task GetUploadAsync(GetUploadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUploadRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUploadResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetVPCEConfiguration
///
/// Returns information about the configuration settings for your Amazon Virtual Private
/// Cloud (VPC) endpoint.
///
/// Container for the necessary parameters to execute the GetVPCEConfiguration service method.
///
/// The response from the GetVPCEConfiguration service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetVPCEConfiguration Operation
public virtual GetVPCEConfigurationResponse GetVPCEConfiguration(GetVPCEConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVPCEConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVPCEConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about the configuration settings for your Amazon Virtual Private
/// Cloud (VPC) endpoint.
///
/// Container for the necessary parameters to execute the GetVPCEConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetVPCEConfiguration service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for GetVPCEConfiguration Operation
public virtual Task GetVPCEConfigurationAsync(GetVPCEConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVPCEConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVPCEConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region InstallToRemoteAccessSession
///
/// 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.
///
/// Container for the necessary parameters to execute the InstallToRemoteAccessSession service method.
///
/// The response from the InstallToRemoteAccessSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for InstallToRemoteAccessSession Operation
public virtual InstallToRemoteAccessSessionResponse InstallToRemoteAccessSession(InstallToRemoteAccessSessionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = InstallToRemoteAccessSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = InstallToRemoteAccessSessionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the InstallToRemoteAccessSession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the InstallToRemoteAccessSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for InstallToRemoteAccessSession Operation
public virtual Task InstallToRemoteAccessSessionAsync(InstallToRemoteAccessSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = InstallToRemoteAccessSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = InstallToRemoteAccessSessionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListArtifacts
///
/// Gets information about artifacts.
///
/// Container for the necessary parameters to execute the ListArtifacts service method.
///
/// The response from the ListArtifacts service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListArtifacts Operation
public virtual ListArtifactsResponse ListArtifacts(ListArtifactsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListArtifactsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about artifacts.
///
/// Container for the necessary parameters to execute the ListArtifacts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListArtifacts service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListArtifacts Operation
public virtual Task ListArtifactsAsync(ListArtifactsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListArtifactsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDeviceInstances
///
/// Returns information about the private device instances associated with one or more
/// AWS accounts.
///
/// Container for the necessary parameters to execute the ListDeviceInstances service method.
///
/// The response from the ListDeviceInstances service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListDeviceInstances Operation
public virtual ListDeviceInstancesResponse ListDeviceInstances(ListDeviceInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDeviceInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDeviceInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about the private device instances associated with one or more
/// AWS accounts.
///
/// Container for the necessary parameters to execute the ListDeviceInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDeviceInstances service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListDeviceInstances Operation
public virtual Task ListDeviceInstancesAsync(ListDeviceInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDeviceInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDeviceInstancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDevicePools
///
/// Gets information about device pools.
///
/// Container for the necessary parameters to execute the ListDevicePools service method.
///
/// The response from the ListDevicePools service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListDevicePools Operation
public virtual ListDevicePoolsResponse ListDevicePools(ListDevicePoolsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevicePoolsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevicePoolsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about device pools.
///
/// Container for the necessary parameters to execute the ListDevicePools service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDevicePools service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListDevicePools Operation
public virtual Task ListDevicePoolsAsync(ListDevicePoolsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevicePoolsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevicePoolsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDevices
///
/// Gets information about unique device types.
///
/// Container for the necessary parameters to execute the ListDevices service method.
///
/// The response from the ListDevices service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListDevices Operation
public virtual ListDevicesResponse ListDevices(ListDevicesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevicesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about unique device types.
///
/// Container for the necessary parameters to execute the ListDevices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDevices service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListDevices Operation
public virtual Task ListDevicesAsync(ListDevicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevicesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListInstanceProfiles
///
/// Returns information about all the instance profiles in an AWS account.
///
/// Container for the necessary parameters to execute the ListInstanceProfiles service method.
///
/// The response from the ListInstanceProfiles service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListInstanceProfiles Operation
public virtual ListInstanceProfilesResponse ListInstanceProfiles(ListInstanceProfilesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListInstanceProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListInstanceProfilesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about all the instance profiles in an AWS account.
///
/// Container for the necessary parameters to execute the ListInstanceProfiles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListInstanceProfiles service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListInstanceProfiles Operation
public virtual Task ListInstanceProfilesAsync(ListInstanceProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListInstanceProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListInstanceProfilesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListJobs
///
/// Gets information about jobs for a given test run.
///
/// Container for the necessary parameters to execute the ListJobs service method.
///
/// The response from the ListJobs service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListJobs Operation
public virtual ListJobsResponse ListJobs(ListJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about jobs for a given test run.
///
/// Container for the necessary parameters to execute the ListJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListJobs service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListJobs Operation
public virtual Task ListJobsAsync(ListJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListNetworkProfiles
///
/// Returns the list of available network profiles.
///
/// Container for the necessary parameters to execute the ListNetworkProfiles service method.
///
/// The response from the ListNetworkProfiles service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListNetworkProfiles Operation
public virtual ListNetworkProfilesResponse ListNetworkProfiles(ListNetworkProfilesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNetworkProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNetworkProfilesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the list of available network profiles.
///
/// Container for the necessary parameters to execute the ListNetworkProfiles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListNetworkProfiles service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListNetworkProfiles Operation
public virtual Task ListNetworkProfilesAsync(ListNetworkProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNetworkProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNetworkProfilesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListOfferingPromotions
///
/// 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 must be able to invoke this operation.
///
/// Container for the necessary parameters to execute the ListOfferingPromotions service method.
///
/// The response from the ListOfferingPromotions service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListOfferingPromotions Operation
public virtual ListOfferingPromotionsResponse ListOfferingPromotions(ListOfferingPromotionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOfferingPromotionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOfferingPromotionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 must be able to invoke this operation.
///
/// Container for the necessary parameters to execute the ListOfferingPromotions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListOfferingPromotions service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListOfferingPromotions Operation
public virtual Task ListOfferingPromotionsAsync(ListOfferingPromotionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOfferingPromotionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOfferingPromotionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListOfferings
///
/// 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. If you must be able to invoke this operation, contact
/// aws-devicefarm-support@amazon.com.
///
/// Container for the necessary parameters to execute the ListOfferings service method.
///
/// The response from the ListOfferings service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListOfferings Operation
public virtual ListOfferingsResponse ListOfferings(ListOfferingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOfferingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOfferingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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. If you must be able to invoke this operation, contact
/// aws-devicefarm-support@amazon.com.
///
/// Container for the necessary parameters to execute the ListOfferings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListOfferings service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListOfferings Operation
public virtual Task ListOfferingsAsync(ListOfferingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOfferingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOfferingsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListOfferingTransactions
///
/// 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. If you must be able to invoke this
/// operation, contact aws-devicefarm-support@amazon.com.
///
/// Container for the necessary parameters to execute the ListOfferingTransactions service method.
///
/// The response from the ListOfferingTransactions service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListOfferingTransactions Operation
public virtual ListOfferingTransactionsResponse ListOfferingTransactions(ListOfferingTransactionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOfferingTransactionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOfferingTransactionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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. If you must be able to invoke this
/// operation, contact aws-devicefarm-support@amazon.com.
///
/// Container for the necessary parameters to execute the ListOfferingTransactions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListOfferingTransactions service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListOfferingTransactions Operation
public virtual Task ListOfferingTransactionsAsync(ListOfferingTransactionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOfferingTransactionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOfferingTransactionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListProjects
///
/// Gets information about projects.
///
/// Container for the necessary parameters to execute the ListProjects service method.
///
/// The response from the ListProjects service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListProjects Operation
public virtual ListProjectsResponse ListProjects(ListProjectsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about projects.
///
/// Container for the necessary parameters to execute the ListProjects service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListProjects service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListProjects Operation
public virtual Task ListProjectsAsync(ListProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListRemoteAccessSessions
///
/// Returns a list of all currently running remote access sessions.
///
/// Container for the necessary parameters to execute the ListRemoteAccessSessions service method.
///
/// The response from the ListRemoteAccessSessions service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListRemoteAccessSessions Operation
public virtual ListRemoteAccessSessionsResponse ListRemoteAccessSessions(ListRemoteAccessSessionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRemoteAccessSessionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRemoteAccessSessionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of all currently running remote access sessions.
///
/// Container for the necessary parameters to execute the ListRemoteAccessSessions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRemoteAccessSessions service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListRemoteAccessSessions Operation
public virtual Task ListRemoteAccessSessionsAsync(ListRemoteAccessSessionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRemoteAccessSessionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRemoteAccessSessionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListRuns
///
/// Gets information about runs, given an AWS Device Farm project ARN.
///
/// Container for the necessary parameters to execute the ListRuns service method.
///
/// The response from the ListRuns service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListRuns Operation
public virtual ListRunsResponse ListRuns(ListRunsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRunsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRunsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about runs, given an AWS Device Farm project ARN.
///
/// Container for the necessary parameters to execute the ListRuns service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRuns service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListRuns Operation
public virtual Task ListRunsAsync(ListRunsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRunsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRunsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSamples
///
/// Gets information about samples, given an AWS Device Farm job ARN.
///
/// Container for the necessary parameters to execute the ListSamples service method.
///
/// The response from the ListSamples service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListSamples Operation
public virtual ListSamplesResponse ListSamples(ListSamplesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSamplesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSamplesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about samples, given an AWS Device Farm job ARN.
///
/// Container for the necessary parameters to execute the ListSamples service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSamples service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListSamples Operation
public virtual Task ListSamplesAsync(ListSamplesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSamplesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSamplesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSuites
///
/// Gets information about test suites for a given job.
///
/// Container for the necessary parameters to execute the ListSuites service method.
///
/// The response from the ListSuites service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListSuites Operation
public virtual ListSuitesResponse ListSuites(ListSuitesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSuitesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSuitesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about test suites for a given job.
///
/// Container for the necessary parameters to execute the ListSuites service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSuites service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListSuites Operation
public virtual Task ListSuitesAsync(ListSuitesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSuitesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSuitesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
///
/// List the tags for an AWS Device Farm resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// The specified entity was not found.
///
///
/// The operation was not successful. Try again.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List the tags for an AWS Device Farm resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// The specified entity was not found.
///
///
/// The operation was not successful. Try again.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTestGridProjects
///
/// Gets a list of all Selenium testing projects in your account.
///
/// Container for the necessary parameters to execute the ListTestGridProjects service method.
///
/// The response from the ListTestGridProjects service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
/// REST API Reference for ListTestGridProjects Operation
public virtual ListTestGridProjectsResponse ListTestGridProjects(ListTestGridProjectsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestGridProjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestGridProjectsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a list of all Selenium testing projects in your account.
///
/// Container for the necessary parameters to execute the ListTestGridProjects service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTestGridProjects service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
/// REST API Reference for ListTestGridProjects Operation
public virtual Task ListTestGridProjectsAsync(ListTestGridProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestGridProjectsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestGridProjectsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTestGridSessionActions
///
/// Returns a list of the actions taken in a TestGridSession.
///
/// Container for the necessary parameters to execute the ListTestGridSessionActions service method.
///
/// The response from the ListTestGridSessionActions service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for ListTestGridSessionActions Operation
public virtual ListTestGridSessionActionsResponse ListTestGridSessionActions(ListTestGridSessionActionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestGridSessionActionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestGridSessionActionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of the actions taken in a TestGridSession.
///
/// Container for the necessary parameters to execute the ListTestGridSessionActions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTestGridSessionActions service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for ListTestGridSessionActions Operation
public virtual Task ListTestGridSessionActionsAsync(ListTestGridSessionActionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestGridSessionActionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestGridSessionActionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTestGridSessionArtifacts
///
/// Retrieves a list of artifacts created during the session.
///
/// Container for the necessary parameters to execute the ListTestGridSessionArtifacts service method.
///
/// The response from the ListTestGridSessionArtifacts service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for ListTestGridSessionArtifacts Operation
public virtual ListTestGridSessionArtifactsResponse ListTestGridSessionArtifacts(ListTestGridSessionArtifactsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestGridSessionArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestGridSessionArtifactsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of artifacts created during the session.
///
/// Container for the necessary parameters to execute the ListTestGridSessionArtifacts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTestGridSessionArtifacts service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for ListTestGridSessionArtifacts Operation
public virtual Task ListTestGridSessionArtifactsAsync(ListTestGridSessionArtifactsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestGridSessionArtifactsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestGridSessionArtifactsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTestGridSessions
///
/// Retrieves a list of sessions for a TestGridProject.
///
/// Container for the necessary parameters to execute the ListTestGridSessions service method.
///
/// The response from the ListTestGridSessions service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for ListTestGridSessions Operation
public virtual ListTestGridSessionsResponse ListTestGridSessions(ListTestGridSessionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestGridSessionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestGridSessionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of sessions for a TestGridProject.
///
/// Container for the necessary parameters to execute the ListTestGridSessions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTestGridSessions service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// The specified entity was not found.
///
/// REST API Reference for ListTestGridSessions Operation
public virtual Task ListTestGridSessionsAsync(ListTestGridSessionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestGridSessionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestGridSessionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTests
///
/// Gets information about tests in a given test suite.
///
/// Container for the necessary parameters to execute the ListTests service method.
///
/// The response from the ListTests service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListTests Operation
public virtual ListTestsResponse ListTests(ListTestsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about tests in a given test suite.
///
/// Container for the necessary parameters to execute the ListTests service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTests service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListTests Operation
public virtual Task ListTestsAsync(ListTestsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTestsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTestsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListUniqueProblems
///
/// Gets information about unique problems, such as exceptions or crashes.
///
///
///
/// Unique problems are defined as a single instance of an error across a run, job, or
/// suite. For example, if a call in your application consistently raises an exception
/// (OutOfBoundsException in MyActivity.java:386
), ListUniqueProblems
/// returns a single entry instead of many individual entries for that exception.
///
///
/// Container for the necessary parameters to execute the ListUniqueProblems service method.
///
/// The response from the ListUniqueProblems service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListUniqueProblems Operation
public virtual ListUniqueProblemsResponse ListUniqueProblems(ListUniqueProblemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUniqueProblemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUniqueProblemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about unique problems, such as exceptions or crashes.
///
///
///
/// Unique problems are defined as a single instance of an error across a run, job, or
/// suite. For example, if a call in your application consistently raises an exception
/// (OutOfBoundsException in MyActivity.java:386
), ListUniqueProblems
/// returns a single entry instead of many individual entries for that exception.
///
///
/// Container for the necessary parameters to execute the ListUniqueProblems service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUniqueProblems service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListUniqueProblems Operation
public virtual Task ListUniqueProblemsAsync(ListUniqueProblemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUniqueProblemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUniqueProblemsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListUploads
///
/// Gets information about uploads, given an AWS Device Farm project ARN.
///
/// Container for the necessary parameters to execute the ListUploads service method.
///
/// The response from the ListUploads service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListUploads Operation
public virtual ListUploadsResponse ListUploads(ListUploadsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUploadsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUploadsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about uploads, given an AWS Device Farm project ARN.
///
/// Container for the necessary parameters to execute the ListUploads service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUploads service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListUploads Operation
public virtual Task ListUploadsAsync(ListUploadsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUploadsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUploadsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVPCEConfigurations
///
/// Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations
/// in the AWS account.
///
/// Container for the necessary parameters to execute the ListVPCEConfigurations service method.
///
/// The response from the ListVPCEConfigurations service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListVPCEConfigurations Operation
public virtual ListVPCEConfigurationsResponse ListVPCEConfigurations(ListVPCEConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVPCEConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVPCEConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations
/// in the AWS account.
///
/// Container for the necessary parameters to execute the ListVPCEConfigurations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVPCEConfigurations service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ListVPCEConfigurations Operation
public virtual Task ListVPCEConfigurationsAsync(ListVPCEConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVPCEConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVPCEConfigurationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PurchaseOffering
///
/// 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. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.
///
/// Container for the necessary parameters to execute the PurchaseOffering service method.
///
/// The response from the PurchaseOffering service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for PurchaseOffering Operation
public virtual PurchaseOfferingResponse PurchaseOffering(PurchaseOfferingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PurchaseOfferingRequestMarshaller.Instance;
options.ResponseUnmarshaller = PurchaseOfferingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.
///
/// Container for the necessary parameters to execute the PurchaseOffering service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PurchaseOffering service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for PurchaseOffering Operation
public virtual Task PurchaseOfferingAsync(PurchaseOfferingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PurchaseOfferingRequestMarshaller.Instance;
options.ResponseUnmarshaller = PurchaseOfferingResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RenewOffering
///
/// 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. If you must be able to
/// invoke this operation, contact aws-devicefarm-support@amazon.com.
///
/// Container for the necessary parameters to execute the RenewOffering service method.
///
/// The response from the RenewOffering service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for RenewOffering Operation
public virtual RenewOfferingResponse RenewOffering(RenewOfferingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RenewOfferingRequestMarshaller.Instance;
options.ResponseUnmarshaller = RenewOfferingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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. If you must be able to
/// invoke this operation, contact aws-devicefarm-support@amazon.com.
///
/// Container for the necessary parameters to execute the RenewOffering service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RenewOffering service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// Exception gets thrown when a user is not eligible to perform the specified transaction.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for RenewOffering Operation
public virtual Task RenewOfferingAsync(RenewOfferingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RenewOfferingRequestMarshaller.Instance;
options.ResponseUnmarshaller = RenewOfferingResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ScheduleRun
///
/// Schedules a run.
///
/// Container for the necessary parameters to execute the ScheduleRun service method.
///
/// The response from the ScheduleRun service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An entity with the same name already exists.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ScheduleRun Operation
public virtual ScheduleRunResponse ScheduleRun(ScheduleRunRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ScheduleRunRequestMarshaller.Instance;
options.ResponseUnmarshaller = ScheduleRunResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Schedules a run.
///
/// Container for the necessary parameters to execute the ScheduleRun service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ScheduleRun service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An entity with the same name already exists.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for ScheduleRun Operation
public virtual Task ScheduleRunAsync(ScheduleRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ScheduleRunRequestMarshaller.Instance;
options.ResponseUnmarshaller = ScheduleRunResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopJob
///
/// Initiates a stop request for the current job. AWS Device Farm immediately stops the
/// job on the device where tests have not started. You are not billed for this device.
/// On the device where tests have started, setup suite and teardown suite tests run to
/// completion on the device. You are billed for setup, teardown, and any tests that were
/// in progress or already completed.
///
/// Container for the necessary parameters to execute the StopJob service method.
///
/// The response from the StopJob service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for StopJob Operation
public virtual StopJobResponse StopJob(StopJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates a stop request for the current job. AWS Device Farm immediately stops the
/// job on the device where tests have not started. You are not billed for this device.
/// On the device where tests have started, setup suite and teardown suite tests run to
/// completion on the device. You are billed for setup, teardown, and any tests that were
/// in progress or already completed.
///
/// Container for the necessary parameters to execute the StopJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopJob service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for StopJob Operation
public virtual Task StopJobAsync(StopJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopRemoteAccessSession
///
/// Ends a specified remote access session.
///
/// Container for the necessary parameters to execute the StopRemoteAccessSession service method.
///
/// The response from the StopRemoteAccessSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for StopRemoteAccessSession Operation
public virtual StopRemoteAccessSessionResponse StopRemoteAccessSession(StopRemoteAccessSessionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopRemoteAccessSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopRemoteAccessSessionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Ends a specified remote access session.
///
/// Container for the necessary parameters to execute the StopRemoteAccessSession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopRemoteAccessSession service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for StopRemoteAccessSession Operation
public virtual Task StopRemoteAccessSessionAsync(StopRemoteAccessSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopRemoteAccessSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopRemoteAccessSessionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopRun
///
/// Initiates a stop request for the current test run. AWS Device Farm immediately stops
/// the run on devices where tests have not started. You are not billed for these devices.
/// On devices where tests have started executing, setup suite and teardown suite tests
/// run to completion on those devices. You are billed for setup, teardown, and any tests
/// that were in progress or already completed.
///
/// Container for the necessary parameters to execute the StopRun service method.
///
/// The response from the StopRun service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for StopRun Operation
public virtual StopRunResponse StopRun(StopRunRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopRunRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopRunResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates a stop request for the current test run. AWS Device Farm immediately stops
/// the run on devices where tests have not started. You are not billed for these devices.
/// On devices where tests have started executing, setup suite and teardown suite tests
/// run to completion on those devices. You are billed for setup, teardown, and any tests
/// that were in progress or already completed.
///
/// Container for the necessary parameters to execute the StopRun service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopRun service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for StopRun Operation
public virtual Task StopRunAsync(StopRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopRunRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopRunResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// Associates the specified tags to a resource with the specified resourceArn
.
/// If existing tags on a resource are not specified in the request parameters, they are
/// not changed. When a resource is deleted, the tags associated with that resource are
/// also deleted.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// The specified entity was not found.
///
///
/// The operation was not successful. Try again.
///
///
/// The request doesn't comply with the AWS Identity and Access Management (IAM) tag policy.
/// Correct your request and then retry it.
///
///
/// The list of tags on the repository is over the limit. The maximum number of tags that
/// can be applied to a repository is 50.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates the specified tags to a resource with the specified resourceArn
.
/// If existing tags on a resource are not specified in the request parameters, they are
/// not changed. When a resource is deleted, the tags associated with that resource are
/// also deleted.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// The specified entity was not found.
///
///
/// The operation was not successful. Try again.
///
///
/// The request doesn't comply with the AWS Identity and Access Management (IAM) tag policy.
/// Correct your request and then retry it.
///
///
/// The list of tags on the repository is over the limit. The maximum number of tags that
/// can be applied to a repository is 50.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
///
/// Deletes the specified tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// The specified entity was not found.
///
///
/// The operation was not successful. Try again.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// The specified entity was not found.
///
///
/// The operation was not successful. Try again.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDeviceInstance
///
/// Updates information about a private device instance.
///
/// Container for the necessary parameters to execute the UpdateDeviceInstance service method.
///
/// The response from the UpdateDeviceInstance service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateDeviceInstance Operation
public virtual UpdateDeviceInstanceResponse UpdateDeviceInstance(UpdateDeviceInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeviceInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeviceInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates information about a private device instance.
///
/// Container for the necessary parameters to execute the UpdateDeviceInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDeviceInstance service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateDeviceInstance Operation
public virtual Task UpdateDeviceInstanceAsync(UpdateDeviceInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeviceInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeviceInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDevicePool
///
/// 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).
///
/// Container for the necessary parameters to execute the UpdateDevicePool service method.
///
/// The response from the UpdateDevicePool service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateDevicePool Operation
public virtual UpdateDevicePoolResponse UpdateDevicePool(UpdateDevicePoolRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDevicePoolRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDevicePoolResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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).
///
/// Container for the necessary parameters to execute the UpdateDevicePool service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDevicePool service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateDevicePool Operation
public virtual Task UpdateDevicePoolAsync(UpdateDevicePoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDevicePoolRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDevicePoolResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateInstanceProfile
///
/// Updates information about an existing private device instance profile.
///
/// Container for the necessary parameters to execute the UpdateInstanceProfile service method.
///
/// The response from the UpdateInstanceProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateInstanceProfile Operation
public virtual UpdateInstanceProfileResponse UpdateInstanceProfile(UpdateInstanceProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateInstanceProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateInstanceProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates information about an existing private device instance profile.
///
/// Container for the necessary parameters to execute the UpdateInstanceProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateInstanceProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateInstanceProfile Operation
public virtual Task UpdateInstanceProfileAsync(UpdateInstanceProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateInstanceProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateInstanceProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateNetworkProfile
///
/// Updates the network profile.
///
/// Container for the necessary parameters to execute the UpdateNetworkProfile service method.
///
/// The response from the UpdateNetworkProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateNetworkProfile Operation
public virtual UpdateNetworkProfileResponse UpdateNetworkProfile(UpdateNetworkProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateNetworkProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateNetworkProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the network profile.
///
/// Container for the necessary parameters to execute the UpdateNetworkProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateNetworkProfile service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateNetworkProfile Operation
public virtual Task UpdateNetworkProfileAsync(UpdateNetworkProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateNetworkProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateNetworkProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateProject
///
/// Modifies the specified project name, given the project ARN and a new name.
///
/// Container for the necessary parameters to execute the UpdateProject service method.
///
/// The response from the UpdateProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateProject Operation
public virtual UpdateProjectResponse UpdateProject(UpdateProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the specified project name, given the project ARN and a new name.
///
/// Container for the necessary parameters to execute the UpdateProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateProject Operation
public virtual Task UpdateProjectAsync(UpdateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateTestGridProject
///
/// Change details of a project.
///
/// Container for the necessary parameters to execute the UpdateTestGridProject service method.
///
/// The response from the UpdateTestGridProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
/// REST API Reference for UpdateTestGridProject Operation
public virtual UpdateTestGridProjectResponse UpdateTestGridProject(UpdateTestGridProjectRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTestGridProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTestGridProjectResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Change details of a project.
///
/// Container for the necessary parameters to execute the UpdateTestGridProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateTestGridProject service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com
/// if you see this error.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
/// REST API Reference for UpdateTestGridProject Operation
public virtual Task UpdateTestGridProjectAsync(UpdateTestGridProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTestGridProjectRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTestGridProjectResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateUpload
///
/// Updates an uploaded test spec.
///
/// Container for the necessary parameters to execute the UpdateUpload service method.
///
/// The response from the UpdateUpload service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateUpload Operation
public virtual UpdateUploadResponse UpdateUpload(UpdateUploadRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUploadRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUploadResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an uploaded test spec.
///
/// Container for the necessary parameters to execute the UpdateUpload service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateUpload service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// A limit was exceeded.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateUpload Operation
public virtual Task UpdateUploadAsync(UpdateUploadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUploadRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUploadResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateVPCEConfiguration
///
/// Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.
///
/// Container for the necessary parameters to execute the UpdateVPCEConfiguration service method.
///
/// The response from the UpdateVPCEConfiguration service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// There was an error with the update request, or you do not have sufficient permissions
/// to update this VPC endpoint configuration.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateVPCEConfiguration Operation
public virtual UpdateVPCEConfigurationResponse UpdateVPCEConfiguration(UpdateVPCEConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVPCEConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVPCEConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.
///
/// Container for the necessary parameters to execute the UpdateVPCEConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVPCEConfiguration service method, as returned by DeviceFarm.
///
/// An invalid argument was specified.
///
///
/// There was an error with the update request, or you do not have sufficient permissions
/// to update this VPC endpoint configuration.
///
///
/// The specified entity was not found.
///
///
/// There was a problem with the service account.
///
/// REST API Reference for UpdateVPCEConfiguration Operation
public virtual Task UpdateVPCEConfigurationAsync(UpdateVPCEConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVPCEConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVPCEConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}