/*
* 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 iottwinmaker-2021-11-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.IoTTwinMaker.Model;
using Amazon.IoTTwinMaker.Model.Internal.MarshallTransformations;
using Amazon.IoTTwinMaker.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.IoTTwinMaker
{
///
/// Implementation for accessing IoTTwinMaker
///
/// IoT TwinMaker is a service with which you can build operational digital twins of physical
/// systems. IoT TwinMaker overlays measurements and analysis from real-world sensors,
/// cameras, and enterprise applications so you can create data visualizations to monitor
/// your physical factory, building, or industrial plant. You can use this real-world
/// data to monitor operations and diagnose and repair errors.
///
public partial class AmazonIoTTwinMakerClient : AmazonServiceClient, IAmazonIoTTwinMaker
{
private static IServiceMetadata serviceMetadata = new AmazonIoTTwinMakerMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IIoTTwinMakerPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IIoTTwinMakerPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new IoTTwinMakerPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonIoTTwinMakerClient 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 AmazonIoTTwinMakerClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTTwinMakerConfig()) { }
///
/// Constructs AmazonIoTTwinMakerClient 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 AmazonIoTTwinMakerClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTTwinMakerConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonIoTTwinMakerClient 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 AmazonIoTTwinMakerClient Configuration Object
public AmazonIoTTwinMakerClient(AmazonIoTTwinMakerConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonIoTTwinMakerClient with AWS Credentials
///
/// AWS Credentials
public AmazonIoTTwinMakerClient(AWSCredentials credentials)
: this(credentials, new AmazonIoTTwinMakerConfig())
{
}
///
/// Constructs AmazonIoTTwinMakerClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonIoTTwinMakerClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonIoTTwinMakerConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonIoTTwinMakerClient with AWS Credentials and an
/// AmazonIoTTwinMakerClient Configuration object.
///
/// AWS Credentials
/// The AmazonIoTTwinMakerClient Configuration Object
public AmazonIoTTwinMakerClient(AWSCredentials credentials, AmazonIoTTwinMakerConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonIoTTwinMakerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonIoTTwinMakerClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTTwinMakerConfig())
{
}
///
/// Constructs AmazonIoTTwinMakerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonIoTTwinMakerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTTwinMakerConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonIoTTwinMakerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonIoTTwinMakerClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonIoTTwinMakerClient Configuration Object
public AmazonIoTTwinMakerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonIoTTwinMakerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonIoTTwinMakerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonIoTTwinMakerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTTwinMakerConfig())
{
}
///
/// Constructs AmazonIoTTwinMakerClient 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 AmazonIoTTwinMakerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTTwinMakerConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonIoTTwinMakerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonIoTTwinMakerClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonIoTTwinMakerClient Configuration Object
public AmazonIoTTwinMakerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonIoTTwinMakerConfig 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 AmazonIoTTwinMakerEndpointResolver());
}
///
/// 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 BatchPutPropertyValues
///
/// Sets values for multiple time series properties.
///
/// Container for the necessary parameters to execute the BatchPutPropertyValues service method.
///
/// The response from the BatchPutPropertyValues service method, as returned by IoTTwinMaker.
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for BatchPutPropertyValues Operation
public virtual BatchPutPropertyValuesResponse BatchPutPropertyValues(BatchPutPropertyValuesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchPutPropertyValuesRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchPutPropertyValuesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchPutPropertyValues operation.
///
///
/// Container for the necessary parameters to execute the BatchPutPropertyValues operation on AmazonIoTTwinMakerClient.
/// 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 EndBatchPutPropertyValues
/// operation.
/// REST API Reference for BatchPutPropertyValues Operation
public virtual IAsyncResult BeginBatchPutPropertyValues(BatchPutPropertyValuesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchPutPropertyValuesRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchPutPropertyValuesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchPutPropertyValues operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchPutPropertyValues.
///
/// Returns a BatchPutPropertyValuesResult from IoTTwinMaker.
/// REST API Reference for BatchPutPropertyValues Operation
public virtual BatchPutPropertyValuesResponse EndBatchPutPropertyValues(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateComponentType
///
/// Creates a component type.
///
/// Container for the necessary parameters to execute the CreateComponentType service method.
///
/// The response from the CreateComponentType service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// A conflict occurred.
///
///
/// An unexpected error has occurred.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for CreateComponentType Operation
public virtual CreateComponentTypeResponse CreateComponentType(CreateComponentTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateComponentTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateComponentTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateComponentType operation.
///
///
/// Container for the necessary parameters to execute the CreateComponentType operation on AmazonIoTTwinMakerClient.
/// 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 EndCreateComponentType
/// operation.
/// REST API Reference for CreateComponentType Operation
public virtual IAsyncResult BeginCreateComponentType(CreateComponentTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateComponentTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateComponentTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateComponentType operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateComponentType.
///
/// Returns a CreateComponentTypeResult from IoTTwinMaker.
/// REST API Reference for CreateComponentType Operation
public virtual CreateComponentTypeResponse EndCreateComponentType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateEntity
///
/// Creates an entity.
///
/// Container for the necessary parameters to execute the CreateEntity service method.
///
/// The response from the CreateEntity service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// A conflict occurred.
///
///
/// An unexpected error has occurred.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for CreateEntity Operation
public virtual CreateEntityResponse CreateEntity(CreateEntityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateEntityRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateEntityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateEntity operation.
///
///
/// Container for the necessary parameters to execute the CreateEntity operation on AmazonIoTTwinMakerClient.
/// 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 EndCreateEntity
/// operation.
/// REST API Reference for CreateEntity Operation
public virtual IAsyncResult BeginCreateEntity(CreateEntityRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateEntityRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateEntityResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateEntity operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateEntity.
///
/// Returns a CreateEntityResult from IoTTwinMaker.
/// REST API Reference for CreateEntity Operation
public virtual CreateEntityResponse EndCreateEntity(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateScene
///
/// Creates a scene.
///
/// Container for the necessary parameters to execute the CreateScene service method.
///
/// The response from the CreateScene service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// A conflict occurred.
///
///
/// An unexpected error has occurred.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for CreateScene Operation
public virtual CreateSceneResponse CreateScene(CreateSceneRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSceneRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSceneResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateScene operation.
///
///
/// Container for the necessary parameters to execute the CreateScene operation on AmazonIoTTwinMakerClient.
/// 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 EndCreateScene
/// operation.
/// REST API Reference for CreateScene Operation
public virtual IAsyncResult BeginCreateScene(CreateSceneRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSceneRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSceneResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateScene operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateScene.
///
/// Returns a CreateSceneResult from IoTTwinMaker.
/// REST API Reference for CreateScene Operation
public virtual CreateSceneResponse EndCreateScene(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateSyncJob
///
/// This action creates a SyncJob.
///
/// Container for the necessary parameters to execute the CreateSyncJob service method.
///
/// The response from the CreateSyncJob service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// A conflict occurred.
///
///
/// An unexpected error has occurred.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for CreateSyncJob Operation
public virtual CreateSyncJobResponse CreateSyncJob(CreateSyncJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSyncJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSyncJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateSyncJob operation.
///
///
/// Container for the necessary parameters to execute the CreateSyncJob operation on AmazonIoTTwinMakerClient.
/// 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 EndCreateSyncJob
/// operation.
/// REST API Reference for CreateSyncJob Operation
public virtual IAsyncResult BeginCreateSyncJob(CreateSyncJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSyncJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSyncJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateSyncJob operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateSyncJob.
///
/// Returns a CreateSyncJobResult from IoTTwinMaker.
/// REST API Reference for CreateSyncJob Operation
public virtual CreateSyncJobResponse EndCreateSyncJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateWorkspace
///
/// Creates a workplace.
///
/// Container for the necessary parameters to execute the CreateWorkspace service method.
///
/// The response from the CreateWorkspace service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// A conflict occurred.
///
///
/// An unexpected error has occurred.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for CreateWorkspace Operation
public virtual CreateWorkspaceResponse CreateWorkspace(CreateWorkspaceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWorkspaceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWorkspaceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateWorkspace operation.
///
///
/// Container for the necessary parameters to execute the CreateWorkspace operation on AmazonIoTTwinMakerClient.
/// 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 EndCreateWorkspace
/// operation.
/// REST API Reference for CreateWorkspace Operation
public virtual IAsyncResult BeginCreateWorkspace(CreateWorkspaceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWorkspaceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWorkspaceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateWorkspace operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateWorkspace.
///
/// Returns a CreateWorkspaceResult from IoTTwinMaker.
/// REST API Reference for CreateWorkspace Operation
public virtual CreateWorkspaceResponse EndCreateWorkspace(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteComponentType
///
/// Deletes a component type.
///
/// Container for the necessary parameters to execute the DeleteComponentType service method.
///
/// The response from the DeleteComponentType service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for DeleteComponentType Operation
public virtual DeleteComponentTypeResponse DeleteComponentType(DeleteComponentTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteComponentTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteComponentTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteComponentType operation.
///
///
/// Container for the necessary parameters to execute the DeleteComponentType operation on AmazonIoTTwinMakerClient.
/// 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 EndDeleteComponentType
/// operation.
/// REST API Reference for DeleteComponentType Operation
public virtual IAsyncResult BeginDeleteComponentType(DeleteComponentTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteComponentTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteComponentTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteComponentType operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteComponentType.
///
/// Returns a DeleteComponentTypeResult from IoTTwinMaker.
/// REST API Reference for DeleteComponentType Operation
public virtual DeleteComponentTypeResponse EndDeleteComponentType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteEntity
///
/// Deletes an entity.
///
/// Container for the necessary parameters to execute the DeleteEntity service method.
///
/// The response from the DeleteEntity service method, as returned by IoTTwinMaker.
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for DeleteEntity Operation
public virtual DeleteEntityResponse DeleteEntity(DeleteEntityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEntityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEntityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteEntity operation.
///
///
/// Container for the necessary parameters to execute the DeleteEntity operation on AmazonIoTTwinMakerClient.
/// 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 EndDeleteEntity
/// operation.
/// REST API Reference for DeleteEntity Operation
public virtual IAsyncResult BeginDeleteEntity(DeleteEntityRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEntityRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEntityResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteEntity operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteEntity.
///
/// Returns a DeleteEntityResult from IoTTwinMaker.
/// REST API Reference for DeleteEntity Operation
public virtual DeleteEntityResponse EndDeleteEntity(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteScene
///
/// Deletes a scene.
///
/// Container for the necessary parameters to execute the DeleteScene service method.
///
/// The response from the DeleteScene service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for DeleteScene Operation
public virtual DeleteSceneResponse DeleteScene(DeleteSceneRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSceneRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSceneResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteScene operation.
///
///
/// Container for the necessary parameters to execute the DeleteScene operation on AmazonIoTTwinMakerClient.
/// 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 EndDeleteScene
/// operation.
/// REST API Reference for DeleteScene Operation
public virtual IAsyncResult BeginDeleteScene(DeleteSceneRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSceneRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSceneResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteScene operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteScene.
///
/// Returns a DeleteSceneResult from IoTTwinMaker.
/// REST API Reference for DeleteScene Operation
public virtual DeleteSceneResponse EndDeleteScene(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteSyncJob
///
/// Delete the SyncJob.
///
/// Container for the necessary parameters to execute the DeleteSyncJob service method.
///
/// The response from the DeleteSyncJob service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for DeleteSyncJob Operation
public virtual DeleteSyncJobResponse DeleteSyncJob(DeleteSyncJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSyncJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSyncJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteSyncJob operation.
///
///
/// Container for the necessary parameters to execute the DeleteSyncJob operation on AmazonIoTTwinMakerClient.
/// 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 EndDeleteSyncJob
/// operation.
/// REST API Reference for DeleteSyncJob Operation
public virtual IAsyncResult BeginDeleteSyncJob(DeleteSyncJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSyncJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSyncJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteSyncJob operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteSyncJob.
///
/// Returns a DeleteSyncJobResult from IoTTwinMaker.
/// REST API Reference for DeleteSyncJob Operation
public virtual DeleteSyncJobResponse EndDeleteSyncJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteWorkspace
///
/// Deletes a workspace.
///
/// Container for the necessary parameters to execute the DeleteWorkspace service method.
///
/// The response from the DeleteWorkspace service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for DeleteWorkspace Operation
public virtual DeleteWorkspaceResponse DeleteWorkspace(DeleteWorkspaceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWorkspaceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWorkspaceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteWorkspace operation.
///
///
/// Container for the necessary parameters to execute the DeleteWorkspace operation on AmazonIoTTwinMakerClient.
/// 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 EndDeleteWorkspace
/// operation.
/// REST API Reference for DeleteWorkspace Operation
public virtual IAsyncResult BeginDeleteWorkspace(DeleteWorkspaceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWorkspaceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWorkspaceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteWorkspace operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteWorkspace.
///
/// Returns a DeleteWorkspaceResult from IoTTwinMaker.
/// REST API Reference for DeleteWorkspace Operation
public virtual DeleteWorkspaceResponse EndDeleteWorkspace(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ExecuteQuery
///
/// Run queries to access information from your knowledge graph of entities within individual
/// workspaces.
///
/// Container for the necessary parameters to execute the ExecuteQuery service method.
///
/// The response from the ExecuteQuery service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The query timeout exception.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for ExecuteQuery Operation
public virtual ExecuteQueryResponse ExecuteQuery(ExecuteQueryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExecuteQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExecuteQueryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ExecuteQuery operation.
///
///
/// Container for the necessary parameters to execute the ExecuteQuery operation on AmazonIoTTwinMakerClient.
/// 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 EndExecuteQuery
/// operation.
/// REST API Reference for ExecuteQuery Operation
public virtual IAsyncResult BeginExecuteQuery(ExecuteQueryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExecuteQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExecuteQueryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ExecuteQuery operation.
///
///
/// The IAsyncResult returned by the call to BeginExecuteQuery.
///
/// Returns a ExecuteQueryResult from IoTTwinMaker.
/// REST API Reference for ExecuteQuery Operation
public virtual ExecuteQueryResponse EndExecuteQuery(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetComponentType
///
/// Retrieves information about a component type.
///
/// Container for the necessary parameters to execute the GetComponentType service method.
///
/// The response from the GetComponentType service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for GetComponentType Operation
public virtual GetComponentTypeResponse GetComponentType(GetComponentTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetComponentTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetComponentTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetComponentType operation.
///
///
/// Container for the necessary parameters to execute the GetComponentType operation on AmazonIoTTwinMakerClient.
/// 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 EndGetComponentType
/// operation.
/// REST API Reference for GetComponentType Operation
public virtual IAsyncResult BeginGetComponentType(GetComponentTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetComponentTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetComponentTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetComponentType operation.
///
///
/// The IAsyncResult returned by the call to BeginGetComponentType.
///
/// Returns a GetComponentTypeResult from IoTTwinMaker.
/// REST API Reference for GetComponentType Operation
public virtual GetComponentTypeResponse EndGetComponentType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetEntity
///
/// Retrieves information about an entity.
///
/// Container for the necessary parameters to execute the GetEntity service method.
///
/// The response from the GetEntity service method, as returned by IoTTwinMaker.
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for GetEntity Operation
public virtual GetEntityResponse GetEntity(GetEntityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEntityRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEntityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetEntity operation.
///
///
/// Container for the necessary parameters to execute the GetEntity operation on AmazonIoTTwinMakerClient.
/// 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 EndGetEntity
/// operation.
/// REST API Reference for GetEntity Operation
public virtual IAsyncResult BeginGetEntity(GetEntityRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEntityRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEntityResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetEntity operation.
///
///
/// The IAsyncResult returned by the call to BeginGetEntity.
///
/// Returns a GetEntityResult from IoTTwinMaker.
/// REST API Reference for GetEntity Operation
public virtual GetEntityResponse EndGetEntity(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetPricingPlan
///
/// Gets the pricing plan.
///
/// Container for the necessary parameters to execute the GetPricingPlan service method.
///
/// The response from the GetPricingPlan service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for GetPricingPlan Operation
public virtual GetPricingPlanResponse GetPricingPlan(GetPricingPlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPricingPlanResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetPricingPlan operation.
///
///
/// Container for the necessary parameters to execute the GetPricingPlan operation on AmazonIoTTwinMakerClient.
/// 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 EndGetPricingPlan
/// operation.
/// REST API Reference for GetPricingPlan Operation
public virtual IAsyncResult BeginGetPricingPlan(GetPricingPlanRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPricingPlanResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetPricingPlan operation.
///
///
/// The IAsyncResult returned by the call to BeginGetPricingPlan.
///
/// Returns a GetPricingPlanResult from IoTTwinMaker.
/// REST API Reference for GetPricingPlan Operation
public virtual GetPricingPlanResponse EndGetPricingPlan(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetPropertyValue
///
/// Gets the property values for a component, component type, entity, or workspace.
///
///
///
/// You must specify a value for either componentName
, componentTypeId
,
/// entityId
, or workspaceId
.
///
///
/// Container for the necessary parameters to execute the GetPropertyValue service method.
///
/// The response from the GetPropertyValue service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// The connector failed.
///
///
/// The connector timed out.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for GetPropertyValue Operation
public virtual GetPropertyValueResponse GetPropertyValue(GetPropertyValueRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPropertyValueRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPropertyValueResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetPropertyValue operation.
///
///
/// Container for the necessary parameters to execute the GetPropertyValue operation on AmazonIoTTwinMakerClient.
/// 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 EndGetPropertyValue
/// operation.
/// REST API Reference for GetPropertyValue Operation
public virtual IAsyncResult BeginGetPropertyValue(GetPropertyValueRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPropertyValueRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPropertyValueResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetPropertyValue operation.
///
///
/// The IAsyncResult returned by the call to BeginGetPropertyValue.
///
/// Returns a GetPropertyValueResult from IoTTwinMaker.
/// REST API Reference for GetPropertyValue Operation
public virtual GetPropertyValueResponse EndGetPropertyValue(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetPropertyValueHistory
///
/// Retrieves information about the history of a time series property value for a component,
/// component type, entity, or workspace.
///
///
///
/// You must specify a value for workspaceId
. For entity-specific queries,
/// specify values for componentName
and entityId
. For cross-entity
/// quries, specify a value for componentTypeId
.
///
///
/// Container for the necessary parameters to execute the GetPropertyValueHistory service method.
///
/// The response from the GetPropertyValueHistory service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// The connector failed.
///
///
/// The connector timed out.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for GetPropertyValueHistory Operation
public virtual GetPropertyValueHistoryResponse GetPropertyValueHistory(GetPropertyValueHistoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPropertyValueHistoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPropertyValueHistoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetPropertyValueHistory operation.
///
///
/// Container for the necessary parameters to execute the GetPropertyValueHistory operation on AmazonIoTTwinMakerClient.
/// 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 EndGetPropertyValueHistory
/// operation.
/// REST API Reference for GetPropertyValueHistory Operation
public virtual IAsyncResult BeginGetPropertyValueHistory(GetPropertyValueHistoryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPropertyValueHistoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPropertyValueHistoryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetPropertyValueHistory operation.
///
///
/// The IAsyncResult returned by the call to BeginGetPropertyValueHistory.
///
/// Returns a GetPropertyValueHistoryResult from IoTTwinMaker.
/// REST API Reference for GetPropertyValueHistory Operation
public virtual GetPropertyValueHistoryResponse EndGetPropertyValueHistory(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetScene
///
/// Retrieves information about a scene.
///
/// Container for the necessary parameters to execute the GetScene service method.
///
/// The response from the GetScene service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for GetScene Operation
public virtual GetSceneResponse GetScene(GetSceneRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSceneRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSceneResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetScene operation.
///
///
/// Container for the necessary parameters to execute the GetScene operation on AmazonIoTTwinMakerClient.
/// 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 EndGetScene
/// operation.
/// REST API Reference for GetScene Operation
public virtual IAsyncResult BeginGetScene(GetSceneRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSceneRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSceneResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetScene operation.
///
///
/// The IAsyncResult returned by the call to BeginGetScene.
///
/// Returns a GetSceneResult from IoTTwinMaker.
/// REST API Reference for GetScene Operation
public virtual GetSceneResponse EndGetScene(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetSyncJob
///
/// Gets the SyncJob.
///
/// Container for the necessary parameters to execute the GetSyncJob service method.
///
/// The response from the GetSyncJob service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for GetSyncJob Operation
public virtual GetSyncJobResponse GetSyncJob(GetSyncJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSyncJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSyncJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetSyncJob operation.
///
///
/// Container for the necessary parameters to execute the GetSyncJob operation on AmazonIoTTwinMakerClient.
/// 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 EndGetSyncJob
/// operation.
/// REST API Reference for GetSyncJob Operation
public virtual IAsyncResult BeginGetSyncJob(GetSyncJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSyncJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSyncJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetSyncJob operation.
///
///
/// The IAsyncResult returned by the call to BeginGetSyncJob.
///
/// Returns a GetSyncJobResult from IoTTwinMaker.
/// REST API Reference for GetSyncJob Operation
public virtual GetSyncJobResponse EndGetSyncJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetWorkspace
///
/// Retrieves information about a workspace.
///
/// Container for the necessary parameters to execute the GetWorkspace service method.
///
/// The response from the GetWorkspace service method, as returned by IoTTwinMaker.
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for GetWorkspace Operation
public virtual GetWorkspaceResponse GetWorkspace(GetWorkspaceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkspaceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkspaceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetWorkspace operation.
///
///
/// Container for the necessary parameters to execute the GetWorkspace operation on AmazonIoTTwinMakerClient.
/// 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 EndGetWorkspace
/// operation.
/// REST API Reference for GetWorkspace Operation
public virtual IAsyncResult BeginGetWorkspace(GetWorkspaceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkspaceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkspaceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetWorkspace operation.
///
///
/// The IAsyncResult returned by the call to BeginGetWorkspace.
///
/// Returns a GetWorkspaceResult from IoTTwinMaker.
/// REST API Reference for GetWorkspace Operation
public virtual GetWorkspaceResponse EndGetWorkspace(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListComponentTypes
///
/// Lists all component types in a workspace.
///
/// Container for the necessary parameters to execute the ListComponentTypes service method.
///
/// The response from the ListComponentTypes service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for ListComponentTypes Operation
public virtual ListComponentTypesResponse ListComponentTypes(ListComponentTypesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListComponentTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListComponentTypesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListComponentTypes operation.
///
///
/// Container for the necessary parameters to execute the ListComponentTypes operation on AmazonIoTTwinMakerClient.
/// 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 EndListComponentTypes
/// operation.
/// REST API Reference for ListComponentTypes Operation
public virtual IAsyncResult BeginListComponentTypes(ListComponentTypesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListComponentTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListComponentTypesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListComponentTypes operation.
///
///
/// The IAsyncResult returned by the call to BeginListComponentTypes.
///
/// Returns a ListComponentTypesResult from IoTTwinMaker.
/// REST API Reference for ListComponentTypes Operation
public virtual ListComponentTypesResponse EndListComponentTypes(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListEntities
///
/// Lists all entities in a workspace.
///
/// Container for the necessary parameters to execute the ListEntities service method.
///
/// The response from the ListEntities service method, as returned by IoTTwinMaker.
///
/// An unexpected error has occurred.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for ListEntities Operation
public virtual ListEntitiesResponse ListEntities(ListEntitiesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEntitiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEntitiesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListEntities operation.
///
///
/// Container for the necessary parameters to execute the ListEntities operation on AmazonIoTTwinMakerClient.
/// 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 EndListEntities
/// operation.
/// REST API Reference for ListEntities Operation
public virtual IAsyncResult BeginListEntities(ListEntitiesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEntitiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEntitiesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListEntities operation.
///
///
/// The IAsyncResult returned by the call to BeginListEntities.
///
/// Returns a ListEntitiesResult from IoTTwinMaker.
/// REST API Reference for ListEntities Operation
public virtual ListEntitiesResponse EndListEntities(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListScenes
///
/// Lists all scenes in a workspace.
///
/// Container for the necessary parameters to execute the ListScenes service method.
///
/// The response from the ListScenes service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for ListScenes Operation
public virtual ListScenesResponse ListScenes(ListScenesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListScenesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListScenesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListScenes operation.
///
///
/// Container for the necessary parameters to execute the ListScenes operation on AmazonIoTTwinMakerClient.
/// 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 EndListScenes
/// operation.
/// REST API Reference for ListScenes Operation
public virtual IAsyncResult BeginListScenes(ListScenesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListScenesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListScenesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListScenes operation.
///
///
/// The IAsyncResult returned by the call to BeginListScenes.
///
/// Returns a ListScenesResult from IoTTwinMaker.
/// REST API Reference for ListScenes Operation
public virtual ListScenesResponse EndListScenes(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListSyncJobs
///
/// List all SyncJobs.
///
/// Container for the necessary parameters to execute the ListSyncJobs service method.
///
/// The response from the ListSyncJobs service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for ListSyncJobs Operation
public virtual ListSyncJobsResponse ListSyncJobs(ListSyncJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSyncJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSyncJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListSyncJobs operation.
///
///
/// Container for the necessary parameters to execute the ListSyncJobs operation on AmazonIoTTwinMakerClient.
/// 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 EndListSyncJobs
/// operation.
/// REST API Reference for ListSyncJobs Operation
public virtual IAsyncResult BeginListSyncJobs(ListSyncJobsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSyncJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSyncJobsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListSyncJobs operation.
///
///
/// The IAsyncResult returned by the call to BeginListSyncJobs.
///
/// Returns a ListSyncJobsResult from IoTTwinMaker.
/// REST API Reference for ListSyncJobs Operation
public virtual ListSyncJobsResponse EndListSyncJobs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListSyncResources
///
/// Lists the sync resources.
///
/// Container for the necessary parameters to execute the ListSyncResources service method.
///
/// The response from the ListSyncResources service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for ListSyncResources Operation
public virtual ListSyncResourcesResponse ListSyncResources(ListSyncResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSyncResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSyncResourcesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListSyncResources operation.
///
///
/// Container for the necessary parameters to execute the ListSyncResources operation on AmazonIoTTwinMakerClient.
/// 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 EndListSyncResources
/// operation.
/// REST API Reference for ListSyncResources Operation
public virtual IAsyncResult BeginListSyncResources(ListSyncResourcesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSyncResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSyncResourcesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListSyncResources operation.
///
///
/// The IAsyncResult returned by the call to BeginListSyncResources.
///
/// Returns a ListSyncResourcesResult from IoTTwinMaker.
/// REST API Reference for ListSyncResources Operation
public virtual ListSyncResourcesResponse EndListSyncResources(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// Lists all tags associated with a resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// The resource wasn't found.
///
/// 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);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonIoTTwinMakerClient.
/// 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 EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from IoTTwinMaker.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListWorkspaces
///
/// Retrieves information about workspaces in the current account.
///
/// Container for the necessary parameters to execute the ListWorkspaces service method.
///
/// The response from the ListWorkspaces service method, as returned by IoTTwinMaker.
///
/// An unexpected error has occurred.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for ListWorkspaces Operation
public virtual ListWorkspacesResponse ListWorkspaces(ListWorkspacesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWorkspacesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWorkspacesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListWorkspaces operation.
///
///
/// Container for the necessary parameters to execute the ListWorkspaces operation on AmazonIoTTwinMakerClient.
/// 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 EndListWorkspaces
/// operation.
/// REST API Reference for ListWorkspaces Operation
public virtual IAsyncResult BeginListWorkspaces(ListWorkspacesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWorkspacesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWorkspacesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListWorkspaces operation.
///
///
/// The IAsyncResult returned by the call to BeginListWorkspaces.
///
/// Returns a ListWorkspacesResult from IoTTwinMaker.
/// REST API Reference for ListWorkspaces Operation
public virtual ListWorkspacesResponse EndListWorkspaces(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Adds tags to a resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// The resource wasn't found.
///
///
/// The number of tags exceeds the limit.
///
/// 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);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonIoTTwinMakerClient.
/// 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 EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from IoTTwinMaker.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Removes 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 IoTTwinMaker.
///
/// Access is denied.
///
///
/// The resource wasn't found.
///
/// 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);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonIoTTwinMakerClient.
/// 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 EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from IoTTwinMaker.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateComponentType
///
/// Updates information in a component type.
///
/// Container for the necessary parameters to execute the UpdateComponentType service method.
///
/// The response from the UpdateComponentType service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for UpdateComponentType Operation
public virtual UpdateComponentTypeResponse UpdateComponentType(UpdateComponentTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateComponentTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateComponentTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateComponentType operation.
///
///
/// Container for the necessary parameters to execute the UpdateComponentType operation on AmazonIoTTwinMakerClient.
/// 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 EndUpdateComponentType
/// operation.
/// REST API Reference for UpdateComponentType Operation
public virtual IAsyncResult BeginUpdateComponentType(UpdateComponentTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateComponentTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateComponentTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateComponentType operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateComponentType.
///
/// Returns a UpdateComponentTypeResult from IoTTwinMaker.
/// REST API Reference for UpdateComponentType Operation
public virtual UpdateComponentTypeResponse EndUpdateComponentType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateEntity
///
/// Updates an entity.
///
/// Container for the necessary parameters to execute the UpdateEntity service method.
///
/// The response from the UpdateEntity service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// A conflict occurred.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for UpdateEntity Operation
public virtual UpdateEntityResponse UpdateEntity(UpdateEntityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEntityRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEntityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateEntity operation.
///
///
/// Container for the necessary parameters to execute the UpdateEntity operation on AmazonIoTTwinMakerClient.
/// 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 EndUpdateEntity
/// operation.
/// REST API Reference for UpdateEntity Operation
public virtual IAsyncResult BeginUpdateEntity(UpdateEntityRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEntityRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEntityResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateEntity operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateEntity.
///
/// Returns a UpdateEntityResult from IoTTwinMaker.
/// REST API Reference for UpdateEntity Operation
public virtual UpdateEntityResponse EndUpdateEntity(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdatePricingPlan
///
/// Update the pricing plan.
///
/// Container for the necessary parameters to execute the UpdatePricingPlan service method.
///
/// The response from the UpdatePricingPlan service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for UpdatePricingPlan Operation
public virtual UpdatePricingPlanResponse UpdatePricingPlan(UpdatePricingPlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePricingPlanResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdatePricingPlan operation.
///
///
/// Container for the necessary parameters to execute the UpdatePricingPlan operation on AmazonIoTTwinMakerClient.
/// 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 EndUpdatePricingPlan
/// operation.
/// REST API Reference for UpdatePricingPlan Operation
public virtual IAsyncResult BeginUpdatePricingPlan(UpdatePricingPlanRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePricingPlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePricingPlanResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdatePricingPlan operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdatePricingPlan.
///
/// Returns a UpdatePricingPlanResult from IoTTwinMaker.
/// REST API Reference for UpdatePricingPlan Operation
public virtual UpdatePricingPlanResponse EndUpdatePricingPlan(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateScene
///
/// Updates a scene.
///
/// Container for the necessary parameters to execute the UpdateScene service method.
///
/// The response from the UpdateScene service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for UpdateScene Operation
public virtual UpdateSceneResponse UpdateScene(UpdateSceneRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSceneRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSceneResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateScene operation.
///
///
/// Container for the necessary parameters to execute the UpdateScene operation on AmazonIoTTwinMakerClient.
/// 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 EndUpdateScene
/// operation.
/// REST API Reference for UpdateScene Operation
public virtual IAsyncResult BeginUpdateScene(UpdateSceneRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSceneRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSceneResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateScene operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateScene.
///
/// Returns a UpdateSceneResult from IoTTwinMaker.
/// REST API Reference for UpdateScene Operation
public virtual UpdateSceneResponse EndUpdateScene(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateWorkspace
///
/// Updates a workspace.
///
/// Container for the necessary parameters to execute the UpdateWorkspace service method.
///
/// The response from the UpdateWorkspace service method, as returned by IoTTwinMaker.
///
/// Access is denied.
///
///
/// An unexpected error has occurred.
///
///
/// The resource wasn't found.
///
///
/// The service quota was exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// Failed
///
/// REST API Reference for UpdateWorkspace Operation
public virtual UpdateWorkspaceResponse UpdateWorkspace(UpdateWorkspaceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWorkspaceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWorkspaceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateWorkspace operation.
///
///
/// Container for the necessary parameters to execute the UpdateWorkspace operation on AmazonIoTTwinMakerClient.
/// 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 EndUpdateWorkspace
/// operation.
/// REST API Reference for UpdateWorkspace Operation
public virtual IAsyncResult BeginUpdateWorkspace(UpdateWorkspaceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWorkspaceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWorkspaceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateWorkspace operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateWorkspace.
///
/// Returns a UpdateWorkspaceResult from IoTTwinMaker.
/// REST API Reference for UpdateWorkspace Operation
public virtual UpdateWorkspaceResponse EndUpdateWorkspace(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}