/* * 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 iotdeviceadvisor-2020-09-18.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.IoTDeviceAdvisor.Model; using Amazon.IoTDeviceAdvisor.Model.Internal.MarshallTransformations; using Amazon.IoTDeviceAdvisor.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.IoTDeviceAdvisor { /// /// Implementation for accessing IoTDeviceAdvisor /// /// Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability /// for validating IoT devices during device software development. Device Advisor provides /// pre-built tests that you can use to validate IoT devices for reliable and secure connectivity /// with Amazon Web Services IoT Core before deploying devices to production. By using /// Device Advisor, you can confirm that your devices can connect to Amazon Web Services /// IoT Core, follow security best practices and, if applicable, receive software updates /// from IoT Device Management. You can also download signed qualification reports to /// submit to the Amazon Web Services Partner Network to get your device qualified for /// the Amazon Web Services Partner Device Catalog without the need to send your device /// in and wait for it to be tested. /// public partial class AmazonIoTDeviceAdvisorClient : AmazonServiceClient, IAmazonIoTDeviceAdvisor { private static IServiceMetadata serviceMetadata = new AmazonIoTDeviceAdvisorMetadata(); #region Constructors /// /// Constructs AmazonIoTDeviceAdvisorClient 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 AmazonIoTDeviceAdvisorClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTDeviceAdvisorConfig()) { } /// /// Constructs AmazonIoTDeviceAdvisorClient 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 AmazonIoTDeviceAdvisorClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTDeviceAdvisorConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTDeviceAdvisorClient 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 AmazonIoTDeviceAdvisorClient Configuration Object public AmazonIoTDeviceAdvisorClient(AmazonIoTDeviceAdvisorConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonIoTDeviceAdvisorClient with AWS Credentials /// /// AWS Credentials public AmazonIoTDeviceAdvisorClient(AWSCredentials credentials) : this(credentials, new AmazonIoTDeviceAdvisorConfig()) { } /// /// Constructs AmazonIoTDeviceAdvisorClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonIoTDeviceAdvisorClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonIoTDeviceAdvisorConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTDeviceAdvisorClient with AWS Credentials and an /// AmazonIoTDeviceAdvisorClient Configuration object. /// /// AWS Credentials /// The AmazonIoTDeviceAdvisorClient Configuration Object public AmazonIoTDeviceAdvisorClient(AWSCredentials credentials, AmazonIoTDeviceAdvisorConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonIoTDeviceAdvisorClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonIoTDeviceAdvisorClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTDeviceAdvisorConfig()) { } /// /// Constructs AmazonIoTDeviceAdvisorClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonIoTDeviceAdvisorClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTDeviceAdvisorConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonIoTDeviceAdvisorClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIoTDeviceAdvisorClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonIoTDeviceAdvisorClient Configuration Object public AmazonIoTDeviceAdvisorClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonIoTDeviceAdvisorConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonIoTDeviceAdvisorClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonIoTDeviceAdvisorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTDeviceAdvisorConfig()) { } /// /// Constructs AmazonIoTDeviceAdvisorClient 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 AmazonIoTDeviceAdvisorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTDeviceAdvisorConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTDeviceAdvisorClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIoTDeviceAdvisorClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonIoTDeviceAdvisorClient Configuration Object public AmazonIoTDeviceAdvisorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonIoTDeviceAdvisorConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IIoTDeviceAdvisorPaginatorFactory _paginators; /// /// Paginators for the service /// public IIoTDeviceAdvisorPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new IoTDeviceAdvisorPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonIoTDeviceAdvisorEndpointResolver()); } /// /// 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 CreateSuiteDefinition internal virtual CreateSuiteDefinitionResponse CreateSuiteDefinition(CreateSuiteDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSuiteDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSuiteDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Device Advisor test suite. /// /// /// /// Requires permission to access the CreateSuiteDefinition /// action. /// /// /// Container for the necessary parameters to execute the CreateSuiteDefinition service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSuiteDefinition service method, as returned by IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a validation exception. /// /// REST API Reference for CreateSuiteDefinition Operation public virtual Task CreateSuiteDefinitionAsync(CreateSuiteDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSuiteDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSuiteDefinitionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteSuiteDefinition internal virtual DeleteSuiteDefinitionResponse DeleteSuiteDefinition(DeleteSuiteDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSuiteDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSuiteDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a Device Advisor test suite. /// /// /// /// Requires permission to access the DeleteSuiteDefinition /// action. /// /// /// Container for the necessary parameters to execute the DeleteSuiteDefinition service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSuiteDefinition service method, as returned by IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a validation exception. /// /// REST API Reference for DeleteSuiteDefinition Operation public virtual Task DeleteSuiteDefinitionAsync(DeleteSuiteDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSuiteDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSuiteDefinitionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEndpoint internal virtual GetEndpointResponse GetEndpoint(GetEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about an Device Advisor endpoint. /// /// Container for the necessary parameters to execute the GetEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEndpoint service method, as returned by IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a Resource Not Found exception. /// /// /// Sends a validation exception. /// /// REST API Reference for GetEndpoint Operation public virtual Task GetEndpointAsync(GetEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSuiteDefinition internal virtual GetSuiteDefinitionResponse GetSuiteDefinition(GetSuiteDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSuiteDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSuiteDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about a Device Advisor test suite. /// /// /// /// Requires permission to access the GetSuiteDefinition /// action. /// /// /// Container for the necessary parameters to execute the GetSuiteDefinition service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSuiteDefinition service method, as returned by IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a Resource Not Found exception. /// /// /// Sends a validation exception. /// /// REST API Reference for GetSuiteDefinition Operation public virtual Task GetSuiteDefinitionAsync(GetSuiteDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSuiteDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSuiteDefinitionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSuiteRun internal virtual GetSuiteRunResponse GetSuiteRun(GetSuiteRunRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSuiteRunRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSuiteRunResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about a Device Advisor test suite run. /// /// /// /// Requires permission to access the GetSuiteRun /// action. /// /// /// Container for the necessary parameters to execute the GetSuiteRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSuiteRun service method, as returned by IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a Resource Not Found exception. /// /// /// Sends a validation exception. /// /// REST API Reference for GetSuiteRun Operation public virtual Task GetSuiteRunAsync(GetSuiteRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSuiteRunRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSuiteRunResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSuiteRunReport internal virtual GetSuiteRunReportResponse GetSuiteRunReport(GetSuiteRunReportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSuiteRunReportRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSuiteRunReportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a report download link for a successful Device Advisor qualifying test suite /// run. /// /// /// /// Requires permission to access the GetSuiteRunReport /// action. /// /// /// Container for the necessary parameters to execute the GetSuiteRunReport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSuiteRunReport service method, as returned by IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a Resource Not Found exception. /// /// /// Sends a validation exception. /// /// REST API Reference for GetSuiteRunReport Operation public virtual Task GetSuiteRunReportAsync(GetSuiteRunReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSuiteRunReportRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSuiteRunReportResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListSuiteDefinitions internal virtual ListSuiteDefinitionsResponse ListSuiteDefinitions(ListSuiteDefinitionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSuiteDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSuiteDefinitionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the Device Advisor test suites you have created. /// /// /// /// Requires permission to access the ListSuiteDefinitions /// action. /// /// /// Container for the necessary parameters to execute the ListSuiteDefinitions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSuiteDefinitions service method, as returned by IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a validation exception. /// /// REST API Reference for ListSuiteDefinitions Operation public virtual Task ListSuiteDefinitionsAsync(ListSuiteDefinitionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSuiteDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSuiteDefinitionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListSuiteRuns internal virtual ListSuiteRunsResponse ListSuiteRuns(ListSuiteRunsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSuiteRunsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSuiteRunsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists runs of the specified Device Advisor test suite. You can list all runs of the /// test suite, or the runs of a specific version of the test suite. /// /// /// /// Requires permission to access the ListSuiteRuns /// action. /// /// /// Container for the necessary parameters to execute the ListSuiteRuns service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSuiteRuns service method, as returned by IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a validation exception. /// /// REST API Reference for ListSuiteRuns Operation public virtual Task ListSuiteRunsAsync(ListSuiteRunsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSuiteRunsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSuiteRunsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the tags attached to an IoT Device Advisor resource. /// /// /// /// Requires permission to access the ListTagsForResource /// action. /// /// /// 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 IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a Resource Not Found exception. /// /// /// Sends a validation exception. /// /// 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 StartSuiteRun internal virtual StartSuiteRunResponse StartSuiteRun(StartSuiteRunRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartSuiteRunRequestMarshaller.Instance; options.ResponseUnmarshaller = StartSuiteRunResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts a Device Advisor test suite run. /// /// /// /// Requires permission to access the StartSuiteRun /// action. /// /// /// Container for the necessary parameters to execute the StartSuiteRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartSuiteRun service method, as returned by IoTDeviceAdvisor. /// /// Sends a Conflict Exception. /// /// /// Sends an Internal Failure exception. /// /// /// Sends a validation exception. /// /// REST API Reference for StartSuiteRun Operation public virtual Task StartSuiteRunAsync(StartSuiteRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartSuiteRunRequestMarshaller.Instance; options.ResponseUnmarshaller = StartSuiteRunResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopSuiteRun internal virtual StopSuiteRunResponse StopSuiteRun(StopSuiteRunRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopSuiteRunRequestMarshaller.Instance; options.ResponseUnmarshaller = StopSuiteRunResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Stops a Device Advisor test suite run that is currently running. /// /// /// /// Requires permission to access the StopSuiteRun /// action. /// /// /// Container for the necessary parameters to execute the StopSuiteRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopSuiteRun service method, as returned by IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a Resource Not Found exception. /// /// /// Sends a validation exception. /// /// REST API Reference for StopSuiteRun Operation public virtual Task StopSuiteRunAsync(StopSuiteRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopSuiteRunRequestMarshaller.Instance; options.ResponseUnmarshaller = StopSuiteRunResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds to and modifies existing tags of an IoT Device Advisor resource. /// /// /// /// Requires permission to access the TagResource /// action. /// /// /// 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 IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a Resource Not Found exception. /// /// /// Sends a validation exception. /// /// 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 internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes tags from an IoT Device Advisor resource. /// /// /// /// Requires permission to access the UntagResource /// action. /// /// /// 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 IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a Resource Not Found exception. /// /// /// Sends a validation exception. /// /// 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 UpdateSuiteDefinition internal virtual UpdateSuiteDefinitionResponse UpdateSuiteDefinition(UpdateSuiteDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSuiteDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSuiteDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a Device Advisor test suite. /// /// /// /// Requires permission to access the UpdateSuiteDefinition /// action. /// /// /// Container for the necessary parameters to execute the UpdateSuiteDefinition service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSuiteDefinition service method, as returned by IoTDeviceAdvisor. /// /// Sends an Internal Failure exception. /// /// /// Sends a validation exception. /// /// REST API Reference for UpdateSuiteDefinition Operation public virtual Task UpdateSuiteDefinitionAsync(UpdateSuiteDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSuiteDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSuiteDefinitionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }