/* * 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 iot-roborunner-2018-05-10.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.IoTRoboRunner.Model; using Amazon.IoTRoboRunner.Model.Internal.MarshallTransformations; using Amazon.IoTRoboRunner.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.IoTRoboRunner { /// /// Implementation for accessing IoTRoboRunner /// /// An example service, deployed with the Octane Service creator, which will echo the /// string /// public partial class AmazonIoTRoboRunnerClient : AmazonServiceClient, IAmazonIoTRoboRunner { private static IServiceMetadata serviceMetadata = new AmazonIoTRoboRunnerMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IIoTRoboRunnerPaginatorFactory _paginators; /// /// Paginators for the service /// public IIoTRoboRunnerPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new IoTRoboRunnerPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonIoTRoboRunnerClient 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 AmazonIoTRoboRunnerClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTRoboRunnerConfig()) { } /// /// Constructs AmazonIoTRoboRunnerClient 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 AmazonIoTRoboRunnerClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTRoboRunnerConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTRoboRunnerClient 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 AmazonIoTRoboRunnerClient Configuration Object public AmazonIoTRoboRunnerClient(AmazonIoTRoboRunnerConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonIoTRoboRunnerClient with AWS Credentials /// /// AWS Credentials public AmazonIoTRoboRunnerClient(AWSCredentials credentials) : this(credentials, new AmazonIoTRoboRunnerConfig()) { } /// /// Constructs AmazonIoTRoboRunnerClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonIoTRoboRunnerClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonIoTRoboRunnerConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTRoboRunnerClient with AWS Credentials and an /// AmazonIoTRoboRunnerClient Configuration object. /// /// AWS Credentials /// The AmazonIoTRoboRunnerClient Configuration Object public AmazonIoTRoboRunnerClient(AWSCredentials credentials, AmazonIoTRoboRunnerConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonIoTRoboRunnerClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonIoTRoboRunnerClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTRoboRunnerConfig()) { } /// /// Constructs AmazonIoTRoboRunnerClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonIoTRoboRunnerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTRoboRunnerConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonIoTRoboRunnerClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIoTRoboRunnerClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonIoTRoboRunnerClient Configuration Object public AmazonIoTRoboRunnerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonIoTRoboRunnerConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonIoTRoboRunnerClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonIoTRoboRunnerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTRoboRunnerConfig()) { } /// /// Constructs AmazonIoTRoboRunnerClient 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 AmazonIoTRoboRunnerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTRoboRunnerConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTRoboRunnerClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIoTRoboRunnerClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonIoTRoboRunnerClient Configuration Object public AmazonIoTRoboRunnerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonIoTRoboRunnerConfig 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 AmazonIoTRoboRunnerEndpointResolver()); } /// /// 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 CreateDestination /// /// Grants permission to create a destination /// /// Container for the necessary parameters to execute the CreateDestination service method. /// /// The response from the CreateDestination service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if a resource in a create request already exists. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the user's AWS account has reached a service limit and the operation /// cannot proceed. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for CreateDestination Operation public virtual CreateDestinationResponse CreateDestination(CreateDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDestination operation. /// /// /// Container for the necessary parameters to execute the CreateDestination operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDestination /// operation. /// REST API Reference for CreateDestination Operation public virtual IAsyncResult BeginCreateDestination(CreateDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDestination operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDestination. /// /// Returns a CreateDestinationResult from IoTRoboRunner. /// REST API Reference for CreateDestination Operation public virtual CreateDestinationResponse EndCreateDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSite /// /// Grants permission to create a site /// /// Container for the necessary parameters to execute the CreateSite service method. /// /// The response from the CreateSite service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if a resource in a create request already exists. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if the user's AWS account has reached a service limit and the operation /// cannot proceed. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for CreateSite Operation public virtual CreateSiteResponse CreateSite(CreateSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSite operation. /// /// /// Container for the necessary parameters to execute the CreateSite operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSite /// operation. /// REST API Reference for CreateSite Operation public virtual IAsyncResult BeginCreateSite(CreateSiteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSiteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSite operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSite. /// /// Returns a CreateSiteResult from IoTRoboRunner. /// REST API Reference for CreateSite Operation public virtual CreateSiteResponse EndCreateSite(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateWorker /// /// Grants permission to create a worker /// /// Container for the necessary parameters to execute the CreateWorker service method. /// /// The response from the CreateWorker service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if a resource in a create request already exists. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the user's AWS account has reached a service limit and the operation /// cannot proceed. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for CreateWorker Operation public virtual CreateWorkerResponse CreateWorker(CreateWorkerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateWorker operation. /// /// /// Container for the necessary parameters to execute the CreateWorker operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateWorker /// operation. /// REST API Reference for CreateWorker Operation public virtual IAsyncResult BeginCreateWorker(CreateWorkerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateWorker operation. /// /// /// The IAsyncResult returned by the call to BeginCreateWorker. /// /// Returns a CreateWorkerResult from IoTRoboRunner. /// REST API Reference for CreateWorker Operation public virtual CreateWorkerResponse EndCreateWorker(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateWorkerFleet /// /// Grants permission to create a worker fleet /// /// Container for the necessary parameters to execute the CreateWorkerFleet service method. /// /// The response from the CreateWorkerFleet service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if a resource in a create request already exists. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the user's AWS account has reached a service limit and the operation /// cannot proceed. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for CreateWorkerFleet Operation public virtual CreateWorkerFleetResponse CreateWorkerFleet(CreateWorkerFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkerFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkerFleetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateWorkerFleet operation. /// /// /// Container for the necessary parameters to execute the CreateWorkerFleet operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateWorkerFleet /// operation. /// REST API Reference for CreateWorkerFleet Operation public virtual IAsyncResult BeginCreateWorkerFleet(CreateWorkerFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkerFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkerFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateWorkerFleet operation. /// /// /// The IAsyncResult returned by the call to BeginCreateWorkerFleet. /// /// Returns a CreateWorkerFleetResult from IoTRoboRunner. /// REST API Reference for CreateWorkerFleet Operation public virtual CreateWorkerFleetResponse EndCreateWorkerFleet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDestination /// /// Grants permission to delete a destination /// /// Container for the necessary parameters to execute the DeleteDestination service method. /// /// The response from the DeleteDestination service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if a resource in a create request already exists. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for DeleteDestination Operation public virtual DeleteDestinationResponse DeleteDestination(DeleteDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDestination operation. /// /// /// Container for the necessary parameters to execute the DeleteDestination operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDestination /// operation. /// REST API Reference for DeleteDestination Operation public virtual IAsyncResult BeginDeleteDestination(DeleteDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDestination operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDestination. /// /// Returns a DeleteDestinationResult from IoTRoboRunner. /// REST API Reference for DeleteDestination Operation public virtual DeleteDestinationResponse EndDeleteDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSite /// /// Grants permission to delete a site /// /// Container for the necessary parameters to execute the DeleteSite service method. /// /// The response from the DeleteSite service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if a resource in a create request already exists. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for DeleteSite Operation public virtual DeleteSiteResponse DeleteSite(DeleteSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSite operation. /// /// /// Container for the necessary parameters to execute the DeleteSite operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSite /// operation. /// REST API Reference for DeleteSite Operation public virtual IAsyncResult BeginDeleteSite(DeleteSiteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSiteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSite operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSite. /// /// Returns a DeleteSiteResult from IoTRoboRunner. /// REST API Reference for DeleteSite Operation public virtual DeleteSiteResponse EndDeleteSite(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteWorker /// /// Grants permission to delete a worker /// /// Container for the necessary parameters to execute the DeleteWorker service method. /// /// The response from the DeleteWorker service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if a resource in a create request already exists. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for DeleteWorker Operation public virtual DeleteWorkerResponse DeleteWorker(DeleteWorkerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWorkerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWorkerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteWorker operation. /// /// /// Container for the necessary parameters to execute the DeleteWorker operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteWorker /// operation. /// REST API Reference for DeleteWorker Operation public virtual IAsyncResult BeginDeleteWorker(DeleteWorkerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWorkerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWorkerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteWorker operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteWorker. /// /// Returns a DeleteWorkerResult from IoTRoboRunner. /// REST API Reference for DeleteWorker Operation public virtual DeleteWorkerResponse EndDeleteWorker(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteWorkerFleet /// /// Grants permission to delete a worker fleet /// /// Container for the necessary parameters to execute the DeleteWorkerFleet service method. /// /// The response from the DeleteWorkerFleet service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if a resource in a create request already exists. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for DeleteWorkerFleet Operation public virtual DeleteWorkerFleetResponse DeleteWorkerFleet(DeleteWorkerFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWorkerFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWorkerFleetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteWorkerFleet operation. /// /// /// Container for the necessary parameters to execute the DeleteWorkerFleet operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteWorkerFleet /// operation. /// REST API Reference for DeleteWorkerFleet Operation public virtual IAsyncResult BeginDeleteWorkerFleet(DeleteWorkerFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWorkerFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWorkerFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteWorkerFleet operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteWorkerFleet. /// /// Returns a DeleteWorkerFleetResult from IoTRoboRunner. /// REST API Reference for DeleteWorkerFleet Operation public virtual DeleteWorkerFleetResponse EndDeleteWorkerFleet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDestination /// /// Grants permission to get a destination /// /// Container for the necessary parameters to execute the GetDestination service method. /// /// The response from the GetDestination service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for GetDestination Operation public virtual GetDestinationResponse GetDestination(GetDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDestination operation. /// /// /// Container for the necessary parameters to execute the GetDestination operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDestination /// operation. /// REST API Reference for GetDestination Operation public virtual IAsyncResult BeginGetDestination(GetDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDestination operation. /// /// /// The IAsyncResult returned by the call to BeginGetDestination. /// /// Returns a GetDestinationResult from IoTRoboRunner. /// REST API Reference for GetDestination Operation public virtual GetDestinationResponse EndGetDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSite /// /// Grants permission to get a site /// /// Container for the necessary parameters to execute the GetSite service method. /// /// The response from the GetSite service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for GetSite Operation public virtual GetSiteResponse GetSite(GetSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSite operation. /// /// /// Container for the necessary parameters to execute the GetSite operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSite /// operation. /// REST API Reference for GetSite Operation public virtual IAsyncResult BeginGetSite(GetSiteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSiteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSite operation. /// /// /// The IAsyncResult returned by the call to BeginGetSite. /// /// Returns a GetSiteResult from IoTRoboRunner. /// REST API Reference for GetSite Operation public virtual GetSiteResponse EndGetSite(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetWorker /// /// Grants permission to get a worker /// /// Container for the necessary parameters to execute the GetWorker service method. /// /// The response from the GetWorker service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for GetWorker Operation public virtual GetWorkerResponse GetWorker(GetWorkerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkerRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetWorker operation. /// /// /// Container for the necessary parameters to execute the GetWorker operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetWorker /// operation. /// REST API Reference for GetWorker Operation public virtual IAsyncResult BeginGetWorker(GetWorkerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkerRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetWorker operation. /// /// /// The IAsyncResult returned by the call to BeginGetWorker. /// /// Returns a GetWorkerResult from IoTRoboRunner. /// REST API Reference for GetWorker Operation public virtual GetWorkerResponse EndGetWorker(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetWorkerFleet /// /// Grants permission to get a worker fleet /// /// Container for the necessary parameters to execute the GetWorkerFleet service method. /// /// The response from the GetWorkerFleet service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for GetWorkerFleet Operation public virtual GetWorkerFleetResponse GetWorkerFleet(GetWorkerFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkerFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkerFleetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetWorkerFleet operation. /// /// /// Container for the necessary parameters to execute the GetWorkerFleet operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetWorkerFleet /// operation. /// REST API Reference for GetWorkerFleet Operation public virtual IAsyncResult BeginGetWorkerFleet(GetWorkerFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkerFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkerFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetWorkerFleet operation. /// /// /// The IAsyncResult returned by the call to BeginGetWorkerFleet. /// /// Returns a GetWorkerFleetResult from IoTRoboRunner. /// REST API Reference for GetWorkerFleet Operation public virtual GetWorkerFleetResponse EndGetWorkerFleet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDestinations /// /// Grants permission to list destinations /// /// Container for the necessary parameters to execute the ListDestinations service method. /// /// The response from the ListDestinations service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for ListDestinations Operation public virtual ListDestinationsResponse ListDestinations(ListDestinationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDestinationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDestinationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDestinations operation. /// /// /// Container for the necessary parameters to execute the ListDestinations operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDestinations /// operation. /// REST API Reference for ListDestinations Operation public virtual IAsyncResult BeginListDestinations(ListDestinationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDestinationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDestinationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDestinations operation. /// /// /// The IAsyncResult returned by the call to BeginListDestinations. /// /// Returns a ListDestinationsResult from IoTRoboRunner. /// REST API Reference for ListDestinations Operation public virtual ListDestinationsResponse EndListDestinations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSites /// /// Grants permission to list sites /// /// Container for the necessary parameters to execute the ListSites service method. /// /// The response from the ListSites service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for ListSites Operation public virtual ListSitesResponse ListSites(ListSitesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSitesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSitesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSites operation. /// /// /// Container for the necessary parameters to execute the ListSites operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSites /// operation. /// REST API Reference for ListSites Operation public virtual IAsyncResult BeginListSites(ListSitesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSitesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSitesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSites operation. /// /// /// The IAsyncResult returned by the call to BeginListSites. /// /// Returns a ListSitesResult from IoTRoboRunner. /// REST API Reference for ListSites Operation public virtual ListSitesResponse EndListSites(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListWorkerFleets /// /// Grants permission to list worker fleets /// /// Container for the necessary parameters to execute the ListWorkerFleets service method. /// /// The response from the ListWorkerFleets service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for ListWorkerFleets Operation public virtual ListWorkerFleetsResponse ListWorkerFleets(ListWorkerFleetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkerFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkerFleetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListWorkerFleets operation. /// /// /// Container for the necessary parameters to execute the ListWorkerFleets operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListWorkerFleets /// operation. /// REST API Reference for ListWorkerFleets Operation public virtual IAsyncResult BeginListWorkerFleets(ListWorkerFleetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkerFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkerFleetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListWorkerFleets operation. /// /// /// The IAsyncResult returned by the call to BeginListWorkerFleets. /// /// Returns a ListWorkerFleetsResult from IoTRoboRunner. /// REST API Reference for ListWorkerFleets Operation public virtual ListWorkerFleetsResponse EndListWorkerFleets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListWorkers /// /// Grants permission to list workers /// /// Container for the necessary parameters to execute the ListWorkers service method. /// /// The response from the ListWorkers service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for ListWorkers Operation public virtual ListWorkersResponse ListWorkers(ListWorkersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListWorkers operation. /// /// /// Container for the necessary parameters to execute the ListWorkers operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListWorkers /// operation. /// REST API Reference for ListWorkers Operation public virtual IAsyncResult BeginListWorkers(ListWorkersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListWorkers operation. /// /// /// The IAsyncResult returned by the call to BeginListWorkers. /// /// Returns a ListWorkersResult from IoTRoboRunner. /// REST API Reference for ListWorkers Operation public virtual ListWorkersResponse EndListWorkers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDestination /// /// Grants permission to update a destination /// /// Container for the necessary parameters to execute the UpdateDestination service method. /// /// The response from the UpdateDestination service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for UpdateDestination Operation public virtual UpdateDestinationResponse UpdateDestination(UpdateDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDestination operation. /// /// /// Container for the necessary parameters to execute the UpdateDestination operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDestination /// operation. /// REST API Reference for UpdateDestination Operation public virtual IAsyncResult BeginUpdateDestination(UpdateDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDestination operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDestination. /// /// Returns a UpdateDestinationResult from IoTRoboRunner. /// REST API Reference for UpdateDestination Operation public virtual UpdateDestinationResponse EndUpdateDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateSite /// /// Grants permission to update a site /// /// Container for the necessary parameters to execute the UpdateSite service method. /// /// The response from the UpdateSite service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for UpdateSite Operation public virtual UpdateSiteResponse UpdateSite(UpdateSiteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSiteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateSite operation. /// /// /// Container for the necessary parameters to execute the UpdateSite operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSite /// operation. /// REST API Reference for UpdateSite Operation public virtual IAsyncResult BeginUpdateSite(UpdateSiteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSiteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSite operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSite. /// /// Returns a UpdateSiteResult from IoTRoboRunner. /// REST API Reference for UpdateSite Operation public virtual UpdateSiteResponse EndUpdateSite(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateWorker /// /// Grants permission to update a worker /// /// Container for the necessary parameters to execute the UpdateWorker service method. /// /// The response from the UpdateWorker service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for UpdateWorker Operation public virtual UpdateWorkerResponse UpdateWorker(UpdateWorkerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateWorker operation. /// /// /// Container for the necessary parameters to execute the UpdateWorker operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateWorker /// operation. /// REST API Reference for UpdateWorker Operation public virtual IAsyncResult BeginUpdateWorker(UpdateWorkerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateWorker operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateWorker. /// /// Returns a UpdateWorkerResult from IoTRoboRunner. /// REST API Reference for UpdateWorker Operation public virtual UpdateWorkerResponse EndUpdateWorker(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateWorkerFleet /// /// Grants permission to update a worker fleet /// /// Container for the necessary parameters to execute the UpdateWorkerFleet service method. /// /// The response from the UpdateWorkerFleet service method, as returned by IoTRoboRunner. /// /// User does not have sufficient access to perform this action. /// /// /// Exception thrown if something goes wrong within the service. /// /// /// Exception thrown if a resource referenced in the request doesn't exist. /// /// /// Exception thrown if the api has been called too quickly be the client. /// /// /// Exception thrown if an invalid parameter is provided to an API. /// /// REST API Reference for UpdateWorkerFleet Operation public virtual UpdateWorkerFleetResponse UpdateWorkerFleet(UpdateWorkerFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkerFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkerFleetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateWorkerFleet operation. /// /// /// Container for the necessary parameters to execute the UpdateWorkerFleet operation on AmazonIoTRoboRunnerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateWorkerFleet /// operation. /// REST API Reference for UpdateWorkerFleet Operation public virtual IAsyncResult BeginUpdateWorkerFleet(UpdateWorkerFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkerFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkerFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateWorkerFleet operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateWorkerFleet. /// /// Returns a UpdateWorkerFleetResult from IoTRoboRunner. /// REST API Reference for UpdateWorkerFleet Operation public virtual UpdateWorkerFleetResponse EndUpdateWorkerFleet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }