/* * 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 iotsitewise-2019-12-02.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.IoTSiteWise.Model; using Amazon.IoTSiteWise.Model.Internal.MarshallTransformations; using Amazon.IoTSiteWise.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.IoTSiteWise { /// /// Implementation for accessing IoTSiteWise /// /// Welcome to the IoT SiteWise API Reference. IoT SiteWise is an Amazon Web Services /// service that connects Industrial /// Internet of Things (IIoT) devices to the power of the Amazon Web Services Cloud. /// For more information, see the IoT /// SiteWise User Guide. For information about IoT SiteWise quotas, see Quotas /// in the IoT SiteWise User Guide. /// public partial class AmazonIoTSiteWiseClient : AmazonServiceClient, IAmazonIoTSiteWise { private static IServiceMetadata serviceMetadata = new AmazonIoTSiteWiseMetadata(); #region Constructors /// /// Constructs AmazonIoTSiteWiseClient 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 AmazonIoTSiteWiseClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTSiteWiseConfig()) { } /// /// Constructs AmazonIoTSiteWiseClient 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 AmazonIoTSiteWiseClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTSiteWiseConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTSiteWiseClient 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 AmazonIoTSiteWiseClient Configuration Object public AmazonIoTSiteWiseClient(AmazonIoTSiteWiseConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonIoTSiteWiseClient with AWS Credentials /// /// AWS Credentials public AmazonIoTSiteWiseClient(AWSCredentials credentials) : this(credentials, new AmazonIoTSiteWiseConfig()) { } /// /// Constructs AmazonIoTSiteWiseClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonIoTSiteWiseClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonIoTSiteWiseConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTSiteWiseClient with AWS Credentials and an /// AmazonIoTSiteWiseClient Configuration object. /// /// AWS Credentials /// The AmazonIoTSiteWiseClient Configuration Object public AmazonIoTSiteWiseClient(AWSCredentials credentials, AmazonIoTSiteWiseConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonIoTSiteWiseClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonIoTSiteWiseClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTSiteWiseConfig()) { } /// /// Constructs AmazonIoTSiteWiseClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonIoTSiteWiseClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTSiteWiseConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonIoTSiteWiseClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIoTSiteWiseClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonIoTSiteWiseClient Configuration Object public AmazonIoTSiteWiseClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonIoTSiteWiseConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonIoTSiteWiseClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonIoTSiteWiseClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTSiteWiseConfig()) { } /// /// Constructs AmazonIoTSiteWiseClient 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 AmazonIoTSiteWiseClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTSiteWiseConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTSiteWiseClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIoTSiteWiseClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonIoTSiteWiseClient Configuration Object public AmazonIoTSiteWiseClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonIoTSiteWiseConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IIoTSiteWisePaginatorFactory _paginators; /// /// Paginators for the service /// public IIoTSiteWisePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new IoTSiteWisePaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonIoTSiteWiseEndpointResolver()); } /// /// 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 AssociateAssets internal virtual AssociateAssetsResponse AssociateAssets(AssociateAssetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAssetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a child asset with the given parent asset through a hierarchy defined in /// the parent asset's model. For more information, see Associating /// assets in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the AssociateAssets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateAssets service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The resource already exists. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for AssociateAssets Operation public virtual Task AssociateAssetsAsync(AssociateAssetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAssetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateTimeSeriesToAssetProperty internal virtual AssociateTimeSeriesToAssetPropertyResponse AssociateTimeSeriesToAssetProperty(AssociateTimeSeriesToAssetPropertyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTimeSeriesToAssetPropertyRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTimeSeriesToAssetPropertyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a time series (data stream) with an asset property. /// /// Container for the necessary parameters to execute the AssociateTimeSeriesToAssetProperty service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateTimeSeriesToAssetProperty service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for AssociateTimeSeriesToAssetProperty Operation public virtual Task AssociateTimeSeriesToAssetPropertyAsync(AssociateTimeSeriesToAssetPropertyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTimeSeriesToAssetPropertyRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTimeSeriesToAssetPropertyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchAssociateProjectAssets internal virtual BatchAssociateProjectAssetsResponse BatchAssociateProjectAssets(BatchAssociateProjectAssetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateProjectAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateProjectAssetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a group (batch) of assets with an IoT SiteWise Monitor project. /// /// Container for the necessary parameters to execute the BatchAssociateProjectAssets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchAssociateProjectAssets service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for BatchAssociateProjectAssets Operation public virtual Task BatchAssociateProjectAssetsAsync(BatchAssociateProjectAssetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateProjectAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateProjectAssetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchDisassociateProjectAssets internal virtual BatchDisassociateProjectAssetsResponse BatchDisassociateProjectAssets(BatchDisassociateProjectAssetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateProjectAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateProjectAssetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a group (batch) of assets from an IoT SiteWise Monitor project. /// /// Container for the necessary parameters to execute the BatchDisassociateProjectAssets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchDisassociateProjectAssets service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for BatchDisassociateProjectAssets Operation public virtual Task BatchDisassociateProjectAssetsAsync(BatchDisassociateProjectAssetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateProjectAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateProjectAssetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchGetAssetPropertyAggregates internal virtual BatchGetAssetPropertyAggregatesResponse BatchGetAssetPropertyAggregates(BatchGetAssetPropertyAggregatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetAssetPropertyAggregatesRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetAssetPropertyAggregatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets aggregated values (for example, average, minimum, and maximum) for one or more /// asset properties. For more information, see Querying /// aggregates in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the BatchGetAssetPropertyAggregates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetAssetPropertyAggregates service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested service is unavailable. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for BatchGetAssetPropertyAggregates Operation public virtual Task BatchGetAssetPropertyAggregatesAsync(BatchGetAssetPropertyAggregatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetAssetPropertyAggregatesRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetAssetPropertyAggregatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchGetAssetPropertyValue internal virtual BatchGetAssetPropertyValueResponse BatchGetAssetPropertyValue(BatchGetAssetPropertyValueRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetAssetPropertyValueRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetAssetPropertyValueResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the current value for one or more asset properties. For more information, see /// Querying /// current values in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the BatchGetAssetPropertyValue service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetAssetPropertyValue service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested service is unavailable. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for BatchGetAssetPropertyValue Operation public virtual Task BatchGetAssetPropertyValueAsync(BatchGetAssetPropertyValueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetAssetPropertyValueRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetAssetPropertyValueResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchGetAssetPropertyValueHistory internal virtual BatchGetAssetPropertyValueHistoryResponse BatchGetAssetPropertyValueHistory(BatchGetAssetPropertyValueHistoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetAssetPropertyValueHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetAssetPropertyValueHistoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the historical values for one or more asset properties. For more information, /// see Querying /// historical values in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the BatchGetAssetPropertyValueHistory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetAssetPropertyValueHistory service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested service is unavailable. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for BatchGetAssetPropertyValueHistory Operation public virtual Task BatchGetAssetPropertyValueHistoryAsync(BatchGetAssetPropertyValueHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetAssetPropertyValueHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetAssetPropertyValueHistoryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchPutAssetPropertyValue internal virtual BatchPutAssetPropertyValueResponse BatchPutAssetPropertyValue(BatchPutAssetPropertyValueRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchPutAssetPropertyValueRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchPutAssetPropertyValueResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sends a list of asset property values to IoT SiteWise. Each value is a timestamp-quality-value /// (TQV) data point. For more information, see Ingesting /// data using the API in the IoT SiteWise User Guide. /// /// /// /// To identify an asset property, you must specify one of the following: /// ///
  • /// /// The assetId and propertyId of an asset property. /// ///
  • /// /// A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). /// To define an asset property's alias, see UpdateAssetProperty. /// ///
/// /// With respect to Unix epoch time, IoT SiteWise accepts only TQVs that have a timestamp /// of no more than 7 days in the past and no more than 10 minutes in the future. IoT /// SiteWise rejects timestamps outside of the inclusive range of [-7 days, +10 minutes] /// and returns a TimestampOutOfRangeException error. /// /// /// /// For each asset property, IoT SiteWise overwrites TQVs with duplicate timestamps unless /// the newer TQV has a different quality. For example, if you store a TQV {T1, /// GOOD, V1}, then storing {T1, GOOD, V2} replaces the existing TQV. /// /// /// /// IoT SiteWise authorizes access to each BatchPutAssetPropertyValue entry /// individually. For more information, see BatchPutAssetPropertyValue /// authorization in the IoT SiteWise User Guide. /// ///
/// Container for the necessary parameters to execute the BatchPutAssetPropertyValue service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchPutAssetPropertyValue service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// The requested service is unavailable. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for BatchPutAssetPropertyValue Operation public virtual Task BatchPutAssetPropertyValueAsync(BatchPutAssetPropertyValueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchPutAssetPropertyValueRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchPutAssetPropertyValueResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAccessPolicy internal virtual CreateAccessPolicyResponse CreateAccessPolicy(CreateAccessPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAccessPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an access policy that grants the specified identity (IAM Identity Center user, /// IAM Identity Center group, or IAM user) access to the specified IoT SiteWise Monitor /// portal or project resource. /// /// Container for the necessary parameters to execute the CreateAccessPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAccessPolicy service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for CreateAccessPolicy Operation public virtual Task CreateAccessPolicyAsync(CreateAccessPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAccessPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAsset internal virtual CreateAssetResponse CreateAsset(CreateAssetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an asset from an existing asset model. For more information, see Creating /// assets in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the CreateAsset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAsset service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The resource already exists. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for CreateAsset Operation public virtual Task CreateAssetAsync(CreateAssetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAssetModel internal virtual CreateAssetModelResponse CreateAssetModel(CreateAssetModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssetModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an asset model from specified property and hierarchy definitions. You create /// assets from asset models. With asset models, you can easily create assets of the same /// type that have standardized definitions. Each asset created from a model inherits /// the asset model's property and hierarchy definitions. For more information, see Defining /// asset models in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the CreateAssetModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAssetModel service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The resource already exists. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for CreateAssetModel Operation public virtual Task CreateAssetModelAsync(CreateAssetModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAssetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAssetModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateBulkImportJob internal virtual CreateBulkImportJobResponse CreateBulkImportJob(CreateBulkImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBulkImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBulkImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Defines a job to ingest data to IoT SiteWise from Amazon S3. For more information, /// see Create /// a bulk import job (CLI) in the Amazon Simple Storage Service User Guide. /// /// /// /// You must enable IoT SiteWise to export data to Amazon S3 before you create a bulk /// import job. For more information about how to configure storage settings, see PutStorageConfiguration. /// /// /// /// Container for the necessary parameters to execute the CreateBulkImportJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateBulkImportJob service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The resource already exists. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for CreateBulkImportJob Operation public virtual Task CreateBulkImportJobAsync(CreateBulkImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBulkImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBulkImportJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDashboard internal virtual CreateDashboardResponse CreateDashboard(CreateDashboardRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDashboardRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDashboardResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a dashboard in an IoT SiteWise Monitor project. /// /// Container for the necessary parameters to execute the CreateDashboard service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDashboard service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for CreateDashboard Operation public virtual Task CreateDashboardAsync(CreateDashboardRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDashboardRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDashboardResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateGateway internal virtual CreateGatewayResponse CreateGateway(CreateGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a gateway, which is a virtual or edge device that delivers industrial data /// streams from local servers to IoT SiteWise. For more information, see Ingesting /// data using a gateway in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the CreateGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateGateway service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The resource already exists. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for CreateGateway Operation public virtual Task CreateGatewayAsync(CreateGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreatePortal internal virtual CreatePortalResponse CreatePortal(CreatePortalRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePortalRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePortalResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a portal, which can contain projects and dashboards. IoT SiteWise Monitor /// uses IAM Identity Center or IAM to authenticate portal users and manage user permissions. /// /// /// /// Before you can sign in to a new portal, you must add at least one identity to that /// portal. For more information, see Adding /// or removing portal administrators in the IoT SiteWise User Guide. /// /// /// /// Container for the necessary parameters to execute the CreatePortal service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreatePortal service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for CreatePortal Operation public virtual Task CreatePortalAsync(CreatePortalRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePortalRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePortalResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateProject internal virtual CreateProjectResponse CreateProject(CreateProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a project in the specified portal. /// /// /// /// Make sure that the project name and description don't contain confidential information. /// /// /// /// Container for the necessary parameters to execute the CreateProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateProject service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for CreateProject Operation public virtual Task CreateProjectAsync(CreateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAccessPolicy internal virtual DeleteAccessPolicyResponse DeleteAccessPolicy(DeleteAccessPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAccessPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an access policy that grants the specified identity access to the specified /// IoT SiteWise Monitor resource. You can use this operation to revoke access to an IoT /// SiteWise Monitor resource. /// /// Container for the necessary parameters to execute the DeleteAccessPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAccessPolicy service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DeleteAccessPolicy Operation public virtual Task DeleteAccessPolicyAsync(DeleteAccessPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAccessPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAsset internal virtual DeleteAssetResponse DeleteAsset(DeleteAssetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an asset. This action can't be undone. For more information, see Deleting /// assets and models in the IoT SiteWise User Guide. /// /// /// /// You can't delete an asset that's associated to another asset. For more information, /// see DisassociateAssets. /// /// /// /// Container for the necessary parameters to execute the DeleteAsset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAsset service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DeleteAsset Operation public virtual Task DeleteAssetAsync(DeleteAssetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAssetModel internal virtual DeleteAssetModelResponse DeleteAssetModel(DeleteAssetModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssetModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an asset model. This action can't be undone. You must delete all assets created /// from an asset model before you can delete the model. Also, you can't delete an asset /// model if a parent asset model exists that contains a property formula expression that /// depends on the asset model that you want to delete. For more information, see Deleting /// assets and models in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the DeleteAssetModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAssetModel service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DeleteAssetModel Operation public virtual Task DeleteAssetModelAsync(DeleteAssetModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAssetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAssetModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDashboard internal virtual DeleteDashboardResponse DeleteDashboard(DeleteDashboardRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDashboardRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDashboardResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a dashboard from IoT SiteWise Monitor. /// /// Container for the necessary parameters to execute the DeleteDashboard service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDashboard service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DeleteDashboard Operation public virtual Task DeleteDashboardAsync(DeleteDashboardRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDashboardRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDashboardResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteGateway internal virtual DeleteGatewayResponse DeleteGateway(DeleteGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a gateway from IoT SiteWise. When you delete a gateway, some of the gateway's /// files remain in your gateway's file system. /// /// Container for the necessary parameters to execute the DeleteGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteGateway service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DeleteGateway Operation public virtual Task DeleteGatewayAsync(DeleteGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeletePortal internal virtual DeletePortalResponse DeletePortal(DeletePortalRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePortalRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePortalResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a portal from IoT SiteWise Monitor. /// /// Container for the necessary parameters to execute the DeletePortal service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePortal service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DeletePortal Operation public virtual Task DeletePortalAsync(DeletePortalRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePortalRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePortalResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteProject internal virtual DeleteProjectResponse DeleteProject(DeleteProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a project from IoT SiteWise Monitor. /// /// Container for the necessary parameters to execute the DeleteProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteProject service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DeleteProject Operation public virtual Task DeleteProjectAsync(DeleteProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTimeSeries internal virtual DeleteTimeSeriesResponse DeleteTimeSeries(DeleteTimeSeriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTimeSeriesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTimeSeriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a time series (data stream). If you delete a time series that's associated /// with an asset property, the asset property still exists, but the time series will /// no longer be associated with this asset property. /// /// /// /// To identify a time series, do one of the following: /// ///
  • /// /// If the time series isn't associated with an asset property, specify the alias /// of the time series. /// ///
  • /// /// If the time series is associated with an asset property, specify one of the following: /// /// ///
    • /// /// The alias of the time series. /// ///
    • /// /// The assetId and propertyId that identifies the asset property. /// ///
///
/// Container for the necessary parameters to execute the DeleteTimeSeries service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTimeSeries service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DeleteTimeSeries Operation public virtual Task DeleteTimeSeriesAsync(DeleteTimeSeriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTimeSeriesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTimeSeriesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAccessPolicy internal virtual DescribeAccessPolicyResponse DescribeAccessPolicy(DescribeAccessPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccessPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes an access policy, which specifies an identity's access to an IoT SiteWise /// Monitor portal or project. /// /// Container for the necessary parameters to execute the DescribeAccessPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAccessPolicy service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeAccessPolicy Operation public virtual Task DescribeAccessPolicyAsync(DescribeAccessPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccessPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAsset internal virtual DescribeAssetResponse DescribeAsset(DescribeAssetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAssetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about an asset. /// /// Container for the necessary parameters to execute the DescribeAsset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAsset service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeAsset Operation public virtual Task DescribeAssetAsync(DescribeAssetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAssetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAssetModel internal virtual DescribeAssetModelResponse DescribeAssetModel(DescribeAssetModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAssetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAssetModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about an asset model. /// /// Container for the necessary parameters to execute the DescribeAssetModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAssetModel service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeAssetModel Operation public virtual Task DescribeAssetModelAsync(DescribeAssetModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAssetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAssetModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAssetProperty internal virtual DescribeAssetPropertyResponse DescribeAssetProperty(DescribeAssetPropertyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAssetPropertyRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAssetPropertyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about an asset property. /// /// /// /// When you call this operation for an attribute property, this response includes the /// default attribute value that you define in the asset model. If you update the default /// value in the model, this operation's response includes the new default value. /// /// /// /// This operation doesn't return the value of the asset property. To get the value of /// an asset property, use GetAssetPropertyValue. /// /// /// Container for the necessary parameters to execute the DescribeAssetProperty service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAssetProperty service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeAssetProperty Operation public virtual Task DescribeAssetPropertyAsync(DescribeAssetPropertyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAssetPropertyRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAssetPropertyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeBulkImportJob internal virtual DescribeBulkImportJobResponse DescribeBulkImportJob(DescribeBulkImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBulkImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBulkImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about a bulk import job request. For more information, see Describe /// a bulk import job (CLI) in the Amazon Simple Storage Service User Guide. /// /// Container for the necessary parameters to execute the DescribeBulkImportJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeBulkImportJob service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeBulkImportJob Operation public virtual Task DescribeBulkImportJobAsync(DescribeBulkImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBulkImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBulkImportJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeDashboard internal virtual DescribeDashboardResponse DescribeDashboard(DescribeDashboardRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDashboardRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDashboardResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about a dashboard. /// /// Container for the necessary parameters to execute the DescribeDashboard service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDashboard service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeDashboard Operation public virtual Task DescribeDashboardAsync(DescribeDashboardRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDashboardRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDashboardResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeDefaultEncryptionConfiguration internal virtual DescribeDefaultEncryptionConfigurationResponse DescribeDefaultEncryptionConfiguration(DescribeDefaultEncryptionConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDefaultEncryptionConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDefaultEncryptionConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about the default encryption configuration for the Amazon Web /// Services account in the default or specified Region. For more information, see Key /// management in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the DescribeDefaultEncryptionConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDefaultEncryptionConfiguration service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeDefaultEncryptionConfiguration Operation public virtual Task DescribeDefaultEncryptionConfigurationAsync(DescribeDefaultEncryptionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDefaultEncryptionConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDefaultEncryptionConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeGateway internal virtual DescribeGatewayResponse DescribeGateway(DescribeGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about a gateway. /// /// Container for the necessary parameters to execute the DescribeGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeGateway service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeGateway Operation public virtual Task DescribeGatewayAsync(DescribeGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeGatewayCapabilityConfiguration internal virtual DescribeGatewayCapabilityConfigurationResponse DescribeGatewayCapabilityConfiguration(DescribeGatewayCapabilityConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayCapabilityConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayCapabilityConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about a gateway capability configuration. Each gateway capability /// defines data sources for a gateway. A capability configuration can contain multiple /// data source configurations. If you define OPC-UA sources for a gateway in the IoT /// SiteWise console, all of your OPC-UA sources are stored in one capability configuration. /// To list all capability configurations for a gateway, use DescribeGateway. /// /// Container for the necessary parameters to execute the DescribeGatewayCapabilityConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeGatewayCapabilityConfiguration service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeGatewayCapabilityConfiguration Operation public virtual Task DescribeGatewayCapabilityConfigurationAsync(DescribeGatewayCapabilityConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayCapabilityConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayCapabilityConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeLoggingOptions internal virtual DescribeLoggingOptionsResponse DescribeLoggingOptions(DescribeLoggingOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLoggingOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the current IoT SiteWise logging options. /// /// Container for the necessary parameters to execute the DescribeLoggingOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLoggingOptions service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeLoggingOptions Operation public virtual Task DescribeLoggingOptionsAsync(DescribeLoggingOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLoggingOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribePortal internal virtual DescribePortalResponse DescribePortal(DescribePortalRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePortalRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePortalResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about a portal. /// /// Container for the necessary parameters to execute the DescribePortal service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribePortal service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribePortal Operation public virtual Task DescribePortalAsync(DescribePortalRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePortalRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePortalResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeProject internal virtual DescribeProjectResponse DescribeProject(DescribeProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about a project. /// /// Container for the necessary parameters to execute the DescribeProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeProject service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeProject Operation public virtual Task DescribeProjectAsync(DescribeProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProjectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStorageConfiguration internal virtual DescribeStorageConfigurationResponse DescribeStorageConfiguration(DescribeStorageConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStorageConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStorageConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about the storage configuration for IoT SiteWise. /// /// Container for the necessary parameters to execute the DescribeStorageConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStorageConfiguration service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeStorageConfiguration Operation public virtual Task DescribeStorageConfigurationAsync(DescribeStorageConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStorageConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStorageConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTimeSeries internal virtual DescribeTimeSeriesResponse DescribeTimeSeries(DescribeTimeSeriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTimeSeriesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTimeSeriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about a time series (data stream). /// /// /// /// To identify a time series, do one of the following: /// ///
  • /// /// If the time series isn't associated with an asset property, specify the alias /// of the time series. /// ///
  • /// /// If the time series is associated with an asset property, specify one of the following: /// /// ///
    • /// /// The alias of the time series. /// ///
    • /// /// The assetId and propertyId that identifies the asset property. /// ///
///
/// Container for the necessary parameters to execute the DescribeTimeSeries service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTimeSeries service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DescribeTimeSeries Operation public virtual Task DescribeTimeSeriesAsync(DescribeTimeSeriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTimeSeriesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTimeSeriesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateAssets internal virtual DisassociateAssetsResponse DisassociateAssets(DisassociateAssetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAssetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a child asset from the given parent asset through a hierarchy defined /// in the parent asset's model. /// /// Container for the necessary parameters to execute the DisassociateAssets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateAssets service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DisassociateAssets Operation public virtual Task DisassociateAssetsAsync(DisassociateAssetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAssetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateTimeSeriesFromAssetProperty internal virtual DisassociateTimeSeriesFromAssetPropertyResponse DisassociateTimeSeriesFromAssetProperty(DisassociateTimeSeriesFromAssetPropertyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTimeSeriesFromAssetPropertyRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTimeSeriesFromAssetPropertyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a time series (data stream) from an asset property. /// /// Container for the necessary parameters to execute the DisassociateTimeSeriesFromAssetProperty service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateTimeSeriesFromAssetProperty service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for DisassociateTimeSeriesFromAssetProperty Operation public virtual Task DisassociateTimeSeriesFromAssetPropertyAsync(DisassociateTimeSeriesFromAssetPropertyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTimeSeriesFromAssetPropertyRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTimeSeriesFromAssetPropertyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAssetPropertyAggregates internal virtual GetAssetPropertyAggregatesResponse GetAssetPropertyAggregates(GetAssetPropertyAggregatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssetPropertyAggregatesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssetPropertyAggregatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets aggregated values for an asset property. For more information, see Querying /// aggregates in the IoT SiteWise User Guide. /// /// /// /// To identify an asset property, you must specify one of the following: /// ///
  • /// /// The assetId and propertyId of an asset property. /// ///
  • /// /// A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). /// To define an asset property's alias, see UpdateAssetProperty. /// ///
///
/// Container for the necessary parameters to execute the GetAssetPropertyAggregates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAssetPropertyAggregates service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// The requested service is unavailable. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for GetAssetPropertyAggregates Operation public virtual Task GetAssetPropertyAggregatesAsync(GetAssetPropertyAggregatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssetPropertyAggregatesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssetPropertyAggregatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAssetPropertyValue internal virtual GetAssetPropertyValueResponse GetAssetPropertyValue(GetAssetPropertyValueRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssetPropertyValueRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssetPropertyValueResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets an asset property's current value. For more information, see Querying /// current values in the IoT SiteWise User Guide. /// /// /// /// To identify an asset property, you must specify one of the following: /// ///
  • /// /// The assetId and propertyId of an asset property. /// ///
  • /// /// A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). /// To define an asset property's alias, see UpdateAssetProperty. /// ///
///
/// Container for the necessary parameters to execute the GetAssetPropertyValue service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAssetPropertyValue service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// The requested service is unavailable. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for GetAssetPropertyValue Operation public virtual Task GetAssetPropertyValueAsync(GetAssetPropertyValueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssetPropertyValueRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssetPropertyValueResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAssetPropertyValueHistory internal virtual GetAssetPropertyValueHistoryResponse GetAssetPropertyValueHistory(GetAssetPropertyValueHistoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssetPropertyValueHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssetPropertyValueHistoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the history of an asset property's values. For more information, see Querying /// historical values in the IoT SiteWise User Guide. /// /// /// /// To identify an asset property, you must specify one of the following: /// ///
  • /// /// The assetId and propertyId of an asset property. /// ///
  • /// /// A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). /// To define an asset property's alias, see UpdateAssetProperty. /// ///
///
/// Container for the necessary parameters to execute the GetAssetPropertyValueHistory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAssetPropertyValueHistory service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// The requested service is unavailable. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for GetAssetPropertyValueHistory Operation public virtual Task GetAssetPropertyValueHistoryAsync(GetAssetPropertyValueHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssetPropertyValueHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssetPropertyValueHistoryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetInterpolatedAssetPropertyValues internal virtual GetInterpolatedAssetPropertyValuesResponse GetInterpolatedAssetPropertyValues(GetInterpolatedAssetPropertyValuesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInterpolatedAssetPropertyValuesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInterpolatedAssetPropertyValuesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get interpolated values for an asset property for a specified time interval, during /// a period of time. If your time series is missing data points during the specified /// time interval, you can use interpolation to estimate the missing data. /// /// /// /// For example, you can use this operation to return the interpolated temperature values /// for a wind turbine every 24 hours over a duration of 7 days. /// /// /// /// To identify an asset property, you must specify one of the following: /// ///
  • /// /// The assetId and propertyId of an asset property. /// ///
  • /// /// A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). /// To define an asset property's alias, see UpdateAssetProperty. /// ///
///
/// Container for the necessary parameters to execute the GetInterpolatedAssetPropertyValues service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetInterpolatedAssetPropertyValues service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// The requested service is unavailable. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for GetInterpolatedAssetPropertyValues Operation public virtual Task GetInterpolatedAssetPropertyValuesAsync(GetInterpolatedAssetPropertyValuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetInterpolatedAssetPropertyValuesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInterpolatedAssetPropertyValuesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAccessPolicies internal virtual ListAccessPoliciesResponse ListAccessPolicies(ListAccessPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccessPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccessPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of access policies for an identity (an IAM Identity Center /// user, an IAM Identity Center group, or an IAM user) or an IoT SiteWise Monitor resource /// (a portal or project). /// /// Container for the necessary parameters to execute the ListAccessPolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAccessPolicies service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListAccessPolicies Operation public virtual Task ListAccessPoliciesAsync(ListAccessPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccessPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccessPoliciesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssetModelProperties internal virtual ListAssetModelPropertiesResponse ListAssetModelProperties(ListAssetModelPropertiesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetModelPropertiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetModelPropertiesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of properties associated with an asset model. If you update /// properties associated with the model before you finish listing all the properties, /// you need to start all over again. /// /// Container for the necessary parameters to execute the ListAssetModelProperties service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssetModelProperties service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListAssetModelProperties Operation public virtual Task ListAssetModelPropertiesAsync(ListAssetModelPropertiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetModelPropertiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetModelPropertiesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssetModels internal virtual ListAssetModelsResponse ListAssetModels(ListAssetModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetModelsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of summaries of all asset models. /// /// Container for the necessary parameters to execute the ListAssetModels service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssetModels service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListAssetModels Operation public virtual Task ListAssetModelsAsync(ListAssetModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetModelsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssetProperties internal virtual ListAssetPropertiesResponse ListAssetProperties(ListAssetPropertiesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetPropertiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetPropertiesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of properties associated with an asset. If you update properties /// associated with the model before you finish listing all the properties, you need to /// start all over again. /// /// Container for the necessary parameters to execute the ListAssetProperties service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssetProperties service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListAssetProperties Operation public virtual Task ListAssetPropertiesAsync(ListAssetPropertiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetPropertiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetPropertiesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssetRelationships internal virtual ListAssetRelationshipsResponse ListAssetRelationships(ListAssetRelationshipsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetRelationshipsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetRelationshipsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of asset relationships for an asset. You can use this operation /// to identify an asset's root asset and all associated assets between that asset and /// its root. /// /// Container for the necessary parameters to execute the ListAssetRelationships service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssetRelationships service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListAssetRelationships Operation public virtual Task ListAssetRelationshipsAsync(ListAssetRelationshipsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetRelationshipsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetRelationshipsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssets internal virtual ListAssetsResponse ListAssets(ListAssetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of asset summaries. /// /// /// /// You can use this operation to do the following: /// ///
  • /// /// List assets based on a specific asset model. /// ///
  • /// /// List top-level assets. /// ///
/// /// You can't use this operation to list all assets. To retrieve summaries for all of /// your assets, use ListAssetModels /// to get all of your asset model IDs. Then, use ListAssets to get all assets for each /// asset model. /// ///
/// Container for the necessary parameters to execute the ListAssets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssets service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListAssets Operation public virtual Task ListAssetsAsync(ListAssetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAssociatedAssets internal virtual ListAssociatedAssetsResponse ListAssociatedAssets(ListAssociatedAssetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedAssetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of associated assets. /// /// /// /// You can use this operation to do the following: /// ///
  • /// /// List child assets associated to a parent asset by a hierarchy that you specify. /// ///
  • /// /// List an asset's parent asset. /// ///
///
/// Container for the necessary parameters to execute the ListAssociatedAssets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAssociatedAssets service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListAssociatedAssets Operation public virtual Task ListAssociatedAssetsAsync(ListAssociatedAssetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedAssetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListBulkImportJobs internal virtual ListBulkImportJobsResponse ListBulkImportJobs(ListBulkImportJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBulkImportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBulkImportJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of bulk import job requests. For more information, see /// List /// bulk import jobs (CLI) in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the ListBulkImportJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBulkImportJobs service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListBulkImportJobs Operation public virtual Task ListBulkImportJobsAsync(ListBulkImportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListBulkImportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBulkImportJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDashboards internal virtual ListDashboardsResponse ListDashboards(ListDashboardsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDashboardsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDashboardsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of dashboards for an IoT SiteWise Monitor project. /// /// Container for the necessary parameters to execute the ListDashboards service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDashboards service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListDashboards Operation public virtual Task ListDashboardsAsync(ListDashboardsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDashboardsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDashboardsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListGateways internal virtual ListGatewaysResponse ListGateways(ListGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGatewaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of gateways. /// /// Container for the necessary parameters to execute the ListGateways service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListGateways service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListGateways Operation public virtual Task ListGatewaysAsync(ListGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGatewaysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPortals internal virtual ListPortalsResponse ListPortals(ListPortalsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPortalsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPortalsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of IoT SiteWise Monitor portals. /// /// Container for the necessary parameters to execute the ListPortals service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPortals service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListPortals Operation public virtual Task ListPortalsAsync(ListPortalsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPortalsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPortalsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListProjectAssets internal virtual ListProjectAssetsResponse ListProjectAssets(ListProjectAssetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProjectAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProjectAssetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of assets associated with an IoT SiteWise Monitor project. /// /// Container for the necessary parameters to execute the ListProjectAssets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListProjectAssets service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListProjectAssets Operation public virtual Task ListProjectAssetsAsync(ListProjectAssetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListProjectAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProjectAssetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListProjects internal virtual ListProjectsResponse ListProjects(ListProjectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of projects for an IoT SiteWise Monitor portal. /// /// Container for the necessary parameters to execute the ListProjects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListProjects service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListProjects Operation public virtual Task ListProjectsAsync(ListProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the list of tags for an IoT SiteWise resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// You are not authorized. /// /// REST API Reference for ListTagsForResource Operation public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTimeSeries internal virtual ListTimeSeriesResponse ListTimeSeries(ListTimeSeriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTimeSeriesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTimeSeriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a paginated list of time series (data streams). /// /// Container for the necessary parameters to execute the ListTimeSeries service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTimeSeries service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for ListTimeSeries Operation public virtual Task ListTimeSeriesAsync(ListTimeSeriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTimeSeriesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTimeSeriesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutDefaultEncryptionConfiguration internal virtual PutDefaultEncryptionConfigurationResponse PutDefaultEncryptionConfiguration(PutDefaultEncryptionConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutDefaultEncryptionConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutDefaultEncryptionConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sets the default encryption configuration for the Amazon Web Services account. For /// more information, see Key /// management in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the PutDefaultEncryptionConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutDefaultEncryptionConfiguration service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for PutDefaultEncryptionConfiguration Operation public virtual Task PutDefaultEncryptionConfigurationAsync(PutDefaultEncryptionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutDefaultEncryptionConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutDefaultEncryptionConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutLoggingOptions internal virtual PutLoggingOptionsResponse PutLoggingOptions(PutLoggingOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutLoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutLoggingOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sets logging options for IoT SiteWise. /// /// Container for the necessary parameters to execute the PutLoggingOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutLoggingOptions service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for PutLoggingOptions Operation public virtual Task PutLoggingOptionsAsync(PutLoggingOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutLoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutLoggingOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutStorageConfiguration internal virtual PutStorageConfigurationResponse PutStorageConfiguration(PutStorageConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutStorageConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutStorageConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Configures storage settings for IoT SiteWise. /// /// Container for the necessary parameters to execute the PutStorageConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutStorageConfiguration service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The resource already exists. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for PutStorageConfiguration Operation public virtual Task PutStorageConfigurationAsync(PutStorageConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutStorageConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutStorageConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds tags to an IoT SiteWise resource. If a tag already exists for the resource, this /// operation updates the tag's value. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// You've reached the limit for the number of tags allowed for a resource. For more information, /// see Tag /// naming limits and requirements in the Amazon Web Services General Reference. /// /// /// You are not authorized. /// /// REST API Reference for TagResource Operation public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes a tag from an IoT SiteWise resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// You are not authorized. /// /// REST API Reference for UntagResource Operation public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAccessPolicy internal virtual UpdateAccessPolicyResponse UpdateAccessPolicy(UpdateAccessPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAccessPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an existing access policy that specifies an identity's access to an IoT SiteWise /// Monitor portal or project resource. /// /// Container for the necessary parameters to execute the UpdateAccessPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAccessPolicy service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for UpdateAccessPolicy Operation public virtual Task UpdateAccessPolicyAsync(UpdateAccessPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAccessPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAsset internal virtual UpdateAssetResponse UpdateAsset(UpdateAssetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an asset's name. For more information, see Updating /// assets and models in the IoT SiteWise User Guide. /// /// Container for the necessary parameters to execute the UpdateAsset service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAsset service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The resource already exists. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for UpdateAsset Operation public virtual Task UpdateAssetAsync(UpdateAssetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAssetModel internal virtual UpdateAssetModelResponse UpdateAssetModel(UpdateAssetModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssetModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an asset model and all of the assets that were created from the model. Each /// asset created from the model inherits the updated asset model's property and hierarchy /// definitions. For more information, see Updating /// assets and models in the IoT SiteWise User Guide. /// /// /// /// This operation overwrites the existing model with the provided model. To avoid deleting /// your asset model's properties or hierarchies, you must include their IDs and definitions /// in the updated asset model payload. For more information, see DescribeAssetModel. /// /// /// /// If you remove a property from an asset model, IoT SiteWise deletes all previous data /// for that property. If you remove a hierarchy definition from an asset model, IoT SiteWise /// disassociates every asset associated with that hierarchy. You can't change the type /// or data type of an existing property. /// /// /// /// Container for the necessary parameters to execute the UpdateAssetModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAssetModel service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The resource already exists. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for UpdateAssetModel Operation public virtual Task UpdateAssetModelAsync(UpdateAssetModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssetModelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssetModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAssetProperty internal virtual UpdateAssetPropertyResponse UpdateAssetProperty(UpdateAssetPropertyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssetPropertyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssetPropertyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an asset property's alias and notification state. /// /// /// /// This operation overwrites the property's existing alias and notification state. To /// keep your existing property's alias or notification state, you must include the existing /// values in the UpdateAssetProperty request. For more information, see DescribeAssetProperty. /// /// /// /// Container for the necessary parameters to execute the UpdateAssetProperty service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAssetProperty service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for UpdateAssetProperty Operation public virtual Task UpdateAssetPropertyAsync(UpdateAssetPropertyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAssetPropertyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAssetPropertyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDashboard internal virtual UpdateDashboardResponse UpdateDashboard(UpdateDashboardRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDashboardRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDashboardResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an IoT SiteWise Monitor dashboard. /// /// Container for the necessary parameters to execute the UpdateDashboard service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDashboard service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for UpdateDashboard Operation public virtual Task UpdateDashboardAsync(UpdateDashboardRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDashboardRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDashboardResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateGateway internal virtual UpdateGatewayResponse UpdateGateway(UpdateGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a gateway's name. /// /// Container for the necessary parameters to execute the UpdateGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateGateway service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for UpdateGateway Operation public virtual Task UpdateGatewayAsync(UpdateGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateGatewayCapabilityConfiguration internal virtual UpdateGatewayCapabilityConfigurationResponse UpdateGatewayCapabilityConfiguration(UpdateGatewayCapabilityConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayCapabilityConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayCapabilityConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a gateway capability configuration or defines a new capability configuration. /// Each gateway capability defines data sources for a gateway. A capability configuration /// can contain multiple data source configurations. If you define OPC-UA sources for /// a gateway in the IoT SiteWise console, all of your OPC-UA sources are stored in one /// capability configuration. To list all capability configurations for a gateway, use /// DescribeGateway. /// /// Container for the necessary parameters to execute the UpdateGatewayCapabilityConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateGatewayCapabilityConfiguration service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// You've reached the limit for a resource. For example, this can occur if you're trying /// to associate more than the allowed number of child assets or attempting to create /// more than the allowed number of properties for an asset model. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for UpdateGatewayCapabilityConfiguration Operation public virtual Task UpdateGatewayCapabilityConfigurationAsync(UpdateGatewayCapabilityConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayCapabilityConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayCapabilityConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdatePortal internal virtual UpdatePortalResponse UpdatePortal(UpdatePortalRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePortalRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePortalResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an IoT SiteWise Monitor portal. /// /// Container for the necessary parameters to execute the UpdatePortal service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdatePortal service method, as returned by IoTSiteWise. /// /// Your request has conflicting operations. This can occur if you're trying to perform /// more than one operation on the same resource at the same time. /// /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for UpdatePortal Operation public virtual Task UpdatePortalAsync(UpdatePortalRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePortalRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePortalResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateProject internal virtual UpdateProjectResponse UpdateProject(UpdateProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an IoT SiteWise Monitor project. /// /// Container for the necessary parameters to execute the UpdateProject service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateProject service method, as returned by IoTSiteWise. /// /// IoT SiteWise can't process your request right now. Try again later. /// /// /// The request isn't valid. This can occur if your request contains malformed JSON or /// unsupported characters. Check your request and try again. /// /// /// The requested resource can't be found. /// /// /// Your request exceeded a rate limit. For example, you might have exceeded the number /// of IoT SiteWise assets that can be created per second, the allowed number of messages /// per second, and so on. /// /// /// /// For more information, see Quotas /// in the IoT SiteWise User Guide. /// /// /// REST API Reference for UpdateProject Operation public virtual Task UpdateProjectAsync(UpdateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }