/*
* 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 panorama-2019-07-24.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.Panorama.Model;
using Amazon.Panorama.Model.Internal.MarshallTransformations;
using Amazon.Panorama.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Panorama
{
///
/// Implementation for accessing Panorama
///
/// AWS Panorama
///
/// Overview
///
///
///
/// This is the AWS Panorama API Reference. For an introduction to the service,
/// see What
/// is AWS Panorama? in the AWS Panorama Developer Guide.
///
///
///
///
public partial class AmazonPanoramaClient : AmazonServiceClient, IAmazonPanorama
{
private static IServiceMetadata serviceMetadata = new AmazonPanoramaMetadata();
#region Constructors
///
/// Constructs AmazonPanoramaClient 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 AmazonPanoramaClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonPanoramaConfig()) { }
///
/// Constructs AmazonPanoramaClient 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 AmazonPanoramaClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonPanoramaConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonPanoramaClient 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 AmazonPanoramaClient Configuration Object
public AmazonPanoramaClient(AmazonPanoramaConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonPanoramaClient with AWS Credentials
///
/// AWS Credentials
public AmazonPanoramaClient(AWSCredentials credentials)
: this(credentials, new AmazonPanoramaConfig())
{
}
///
/// Constructs AmazonPanoramaClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonPanoramaClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonPanoramaConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonPanoramaClient with AWS Credentials and an
/// AmazonPanoramaClient Configuration object.
///
/// AWS Credentials
/// The AmazonPanoramaClient Configuration Object
public AmazonPanoramaClient(AWSCredentials credentials, AmazonPanoramaConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonPanoramaClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonPanoramaClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonPanoramaConfig())
{
}
///
/// Constructs AmazonPanoramaClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonPanoramaClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonPanoramaConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonPanoramaClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonPanoramaClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonPanoramaClient Configuration Object
public AmazonPanoramaClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonPanoramaConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonPanoramaClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonPanoramaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonPanoramaConfig())
{
}
///
/// Constructs AmazonPanoramaClient 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 AmazonPanoramaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonPanoramaConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonPanoramaClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonPanoramaClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonPanoramaClient Configuration Object
public AmazonPanoramaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonPanoramaConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IPanoramaPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IPanoramaPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new PanoramaPaginatorFactory(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 AmazonPanoramaEndpointResolver());
}
///
/// 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 CreateApplicationInstance
internal virtual CreateApplicationInstanceResponse CreateApplicationInstance(CreateApplicationInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an application instance and deploys it to a device.
///
/// Container for the necessary parameters to execute the CreateApplicationInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApplicationInstance service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// An internal error occurred.
///
///
/// The request would cause a limit to be exceeded.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for CreateApplicationInstance Operation
public virtual Task CreateApplicationInstanceAsync(CreateApplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateJobForDevices
internal virtual CreateJobForDevicesResponse CreateJobForDevices(CreateJobForDevicesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateJobForDevicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateJobForDevicesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a job to run on a device. A job can update a device's software or reboot it.
///
/// Container for the necessary parameters to execute the CreateJobForDevices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateJobForDevices service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for CreateJobForDevices Operation
public virtual Task CreateJobForDevicesAsync(CreateJobForDevicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateJobForDevicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateJobForDevicesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateNodeFromTemplateJob
internal virtual CreateNodeFromTemplateJobResponse CreateNodeFromTemplateJob(CreateNodeFromTemplateJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateNodeFromTemplateJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateNodeFromTemplateJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a camera stream node.
///
/// Container for the necessary parameters to execute the CreateNodeFromTemplateJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateNodeFromTemplateJob service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for CreateNodeFromTemplateJob Operation
public virtual Task CreateNodeFromTemplateJobAsync(CreateNodeFromTemplateJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateNodeFromTemplateJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateNodeFromTemplateJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreatePackage
internal virtual CreatePackageResponse CreatePackage(CreatePackageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a package and storage location in an Amazon S3 access point.
///
/// Container for the necessary parameters to execute the CreatePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreatePackage service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for CreatePackage Operation
public virtual Task CreatePackageAsync(CreatePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreatePackageImportJob
internal virtual CreatePackageImportJobResponse CreatePackageImportJob(CreatePackageImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePackageImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePackageImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Imports a node package.
///
/// Container for the necessary parameters to execute the CreatePackageImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreatePackageImportJob service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for CreatePackageImportJob Operation
public virtual Task CreatePackageImportJobAsync(CreatePackageImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePackageImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePackageImportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDevice
internal virtual DeleteDeviceResponse DeleteDevice(DeleteDeviceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDeviceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDeviceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a device.
///
/// Container for the necessary parameters to execute the DeleteDevice service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDevice service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DeleteDevice Operation
public virtual Task DeleteDeviceAsync(DeleteDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDeviceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDeviceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeletePackage
internal virtual DeletePackageResponse DeletePackage(DeletePackageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a package.
///
///
///
/// To delete a package, you need permission to call s3:DeleteObject
in addition
/// to permissions for the AWS Panorama API.
///
///
///
/// Container for the necessary parameters to execute the DeletePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeletePackage service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DeletePackage Operation
public virtual Task DeletePackageAsync(DeletePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeregisterPackageVersion
internal virtual DeregisterPackageVersionResponse DeregisterPackageVersion(DeregisterPackageVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterPackageVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterPackageVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deregisters a package version.
///
/// Container for the necessary parameters to execute the DeregisterPackageVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeregisterPackageVersion service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DeregisterPackageVersion Operation
public virtual Task DeregisterPackageVersionAsync(DeregisterPackageVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterPackageVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterPackageVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeApplicationInstance
internal virtual DescribeApplicationInstanceResponse DescribeApplicationInstance(DescribeApplicationInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeApplicationInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeApplicationInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about an application instance on a device.
///
/// Container for the necessary parameters to execute the DescribeApplicationInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeApplicationInstance service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DescribeApplicationInstance Operation
public virtual Task DescribeApplicationInstanceAsync(DescribeApplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeApplicationInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeApplicationInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeApplicationInstanceDetails
internal virtual DescribeApplicationInstanceDetailsResponse DescribeApplicationInstanceDetails(DescribeApplicationInstanceDetailsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeApplicationInstanceDetailsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeApplicationInstanceDetailsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about an application instance's configuration manifest.
///
/// Container for the necessary parameters to execute the DescribeApplicationInstanceDetails service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeApplicationInstanceDetails service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DescribeApplicationInstanceDetails Operation
public virtual Task DescribeApplicationInstanceDetailsAsync(DescribeApplicationInstanceDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeApplicationInstanceDetailsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeApplicationInstanceDetailsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDevice
internal virtual DescribeDeviceResponse DescribeDevice(DescribeDeviceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDeviceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDeviceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a device.
///
/// Container for the necessary parameters to execute the DescribeDevice service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDevice service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DescribeDevice Operation
public virtual Task DescribeDeviceAsync(DescribeDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDeviceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDeviceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDeviceJob
internal virtual DescribeDeviceJobResponse DescribeDeviceJob(DescribeDeviceJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDeviceJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDeviceJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a device job.
///
/// Container for the necessary parameters to execute the DescribeDeviceJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDeviceJob service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DescribeDeviceJob Operation
public virtual Task DescribeDeviceJobAsync(DescribeDeviceJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDeviceJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDeviceJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeNode
internal virtual DescribeNodeResponse DescribeNode(DescribeNodeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeNodeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a node.
///
/// Container for the necessary parameters to execute the DescribeNode service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeNode service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DescribeNode Operation
public virtual Task DescribeNodeAsync(DescribeNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeNodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeNodeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeNodeFromTemplateJob
internal virtual DescribeNodeFromTemplateJobResponse DescribeNodeFromTemplateJob(DescribeNodeFromTemplateJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeNodeFromTemplateJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeNodeFromTemplateJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a job to create a camera stream node.
///
/// Container for the necessary parameters to execute the DescribeNodeFromTemplateJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeNodeFromTemplateJob service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DescribeNodeFromTemplateJob Operation
public virtual Task DescribeNodeFromTemplateJobAsync(DescribeNodeFromTemplateJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeNodeFromTemplateJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeNodeFromTemplateJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribePackage
internal virtual DescribePackageResponse DescribePackage(DescribePackageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePackageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a package.
///
/// Container for the necessary parameters to execute the DescribePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePackage service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DescribePackage Operation
public virtual Task DescribePackageAsync(DescribePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePackageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribePackageImportJob
internal virtual DescribePackageImportJobResponse DescribePackageImportJob(DescribePackageImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePackageImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePackageImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a package import job.
///
/// Container for the necessary parameters to execute the DescribePackageImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePackageImportJob service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DescribePackageImportJob Operation
public virtual Task DescribePackageImportJobAsync(DescribePackageImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePackageImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePackageImportJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribePackageVersion
internal virtual DescribePackageVersionResponse DescribePackageVersion(DescribePackageVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePackageVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePackageVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a package version.
///
/// Container for the necessary parameters to execute the DescribePackageVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePackageVersion service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for DescribePackageVersion Operation
public virtual Task DescribePackageVersionAsync(DescribePackageVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePackageVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePackageVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListApplicationInstanceDependencies
internal virtual ListApplicationInstanceDependenciesResponse ListApplicationInstanceDependencies(ListApplicationInstanceDependenciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationInstanceDependenciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationInstanceDependenciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of application instance dependencies.
///
/// Container for the necessary parameters to execute the ListApplicationInstanceDependencies service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApplicationInstanceDependencies service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// An internal error occurred.
///
/// REST API Reference for ListApplicationInstanceDependencies Operation
public virtual Task ListApplicationInstanceDependenciesAsync(ListApplicationInstanceDependenciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationInstanceDependenciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationInstanceDependenciesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListApplicationInstanceNodeInstances
internal virtual ListApplicationInstanceNodeInstancesResponse ListApplicationInstanceNodeInstances(ListApplicationInstanceNodeInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationInstanceNodeInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationInstanceNodeInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of application node instances.
///
/// Container for the necessary parameters to execute the ListApplicationInstanceNodeInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApplicationInstanceNodeInstances service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// An internal error occurred.
///
/// REST API Reference for ListApplicationInstanceNodeInstances Operation
public virtual Task ListApplicationInstanceNodeInstancesAsync(ListApplicationInstanceNodeInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationInstanceNodeInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationInstanceNodeInstancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListApplicationInstances
internal virtual ListApplicationInstancesResponse ListApplicationInstances(ListApplicationInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of application instances.
///
/// Container for the necessary parameters to execute the ListApplicationInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApplicationInstances service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// An internal error occurred.
///
/// REST API Reference for ListApplicationInstances Operation
public virtual Task ListApplicationInstancesAsync(ListApplicationInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationInstancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDevices
internal virtual ListDevicesResponse ListDevices(ListDevicesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevicesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of devices.
///
/// Container for the necessary parameters to execute the ListDevices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDevices service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for ListDevices Operation
public virtual Task ListDevicesAsync(ListDevicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevicesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDevicesJobs
internal virtual ListDevicesJobsResponse ListDevicesJobs(ListDevicesJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevicesJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevicesJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of jobs.
///
/// Container for the necessary parameters to execute the ListDevicesJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDevicesJobs service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for ListDevicesJobs Operation
public virtual Task ListDevicesJobsAsync(ListDevicesJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDevicesJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDevicesJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListNodeFromTemplateJobs
internal virtual ListNodeFromTemplateJobsResponse ListNodeFromTemplateJobs(ListNodeFromTemplateJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNodeFromTemplateJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNodeFromTemplateJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of camera stream node jobs.
///
/// Container for the necessary parameters to execute the ListNodeFromTemplateJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListNodeFromTemplateJobs service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for ListNodeFromTemplateJobs Operation
public virtual Task ListNodeFromTemplateJobsAsync(ListNodeFromTemplateJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNodeFromTemplateJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNodeFromTemplateJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListNodes
internal virtual ListNodesResponse ListNodes(ListNodesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNodesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNodesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of nodes.
///
/// Container for the necessary parameters to execute the ListNodes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListNodes service method, as returned by Panorama.
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for ListNodes Operation
public virtual Task ListNodesAsync(ListNodesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNodesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNodesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPackageImportJobs
internal virtual ListPackageImportJobsResponse ListPackageImportJobs(ListPackageImportJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPackageImportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPackageImportJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of package import jobs.
///
/// Container for the necessary parameters to execute the ListPackageImportJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPackageImportJobs service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for ListPackageImportJobs Operation
public virtual Task ListPackageImportJobsAsync(ListPackageImportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPackageImportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPackageImportJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPackages
internal virtual ListPackagesResponse ListPackages(ListPackagesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPackagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPackagesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of packages.
///
/// Container for the necessary parameters to execute the ListPackages service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPackages service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for ListPackages Operation
public virtual Task ListPackagesAsync(ListPackagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPackagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPackagesResponseUnmarshaller.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);
}
///
/// Returns a list of tags for a 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 Panorama.
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// 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 ProvisionDevice
internal virtual ProvisionDeviceResponse ProvisionDevice(ProvisionDeviceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ProvisionDeviceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ProvisionDeviceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a device and returns a configuration archive. The configuration archive is
/// a ZIP file that contains a provisioning certificate that is valid for 5 minutes. Name
/// the configuration archive certificates-omni_device-name.zip
and
/// transfer it to the device within 5 minutes. Use the included USB storage device and
/// connect it to the USB 3.0 port next to the HDMI output.
///
/// Container for the necessary parameters to execute the ProvisionDevice service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ProvisionDevice service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request would cause a limit to be exceeded.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for ProvisionDevice Operation
public virtual Task ProvisionDeviceAsync(ProvisionDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ProvisionDeviceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ProvisionDeviceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RegisterPackageVersion
internal virtual RegisterPackageVersionResponse RegisterPackageVersion(RegisterPackageVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterPackageVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterPackageVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Registers a package version.
///
/// Container for the necessary parameters to execute the RegisterPackageVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RegisterPackageVersion service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for RegisterPackageVersion Operation
public virtual Task RegisterPackageVersionAsync(RegisterPackageVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterPackageVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterPackageVersionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveApplicationInstance
internal virtual RemoveApplicationInstanceResponse RemoveApplicationInstance(RemoveApplicationInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveApplicationInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveApplicationInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes an application instance.
///
/// Container for the necessary parameters to execute the RemoveApplicationInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveApplicationInstance service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for RemoveApplicationInstance Operation
public virtual Task RemoveApplicationInstanceAsync(RemoveApplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveApplicationInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveApplicationInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SignalApplicationInstanceNodeInstances
internal virtual SignalApplicationInstanceNodeInstancesResponse SignalApplicationInstanceNodeInstances(SignalApplicationInstanceNodeInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SignalApplicationInstanceNodeInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = SignalApplicationInstanceNodeInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Signal camera nodes to stop or resume.
///
/// Container for the necessary parameters to execute the SignalApplicationInstanceNodeInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SignalApplicationInstanceNodeInstances service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// An internal error occurred.
///
///
/// The request would cause a limit to be exceeded.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for SignalApplicationInstanceNodeInstances Operation
public virtual Task SignalApplicationInstanceNodeInstancesAsync(SignalApplicationInstanceNodeInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SignalApplicationInstanceNodeInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = SignalApplicationInstanceNodeInstancesResponseUnmarshaller.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);
}
///
/// Tags a resource.
///
/// 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 Panorama.
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by Panorama.
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// 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 UpdateDeviceMetadata
internal virtual UpdateDeviceMetadataResponse UpdateDeviceMetadata(UpdateDeviceMetadataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeviceMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeviceMetadataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a device's metadata.
///
/// Container for the necessary parameters to execute the UpdateDeviceMetadata service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDeviceMetadata service method, as returned by Panorama.
///
/// The requestor does not have permission to access the target action or resource.
///
///
/// The target resource is in use.
///
///
/// An internal error occurred.
///
///
/// The target resource was not found.
///
///
/// The request contains an invalid parameter value.
///
/// REST API Reference for UpdateDeviceMetadata Operation
public virtual Task UpdateDeviceMetadataAsync(UpdateDeviceMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeviceMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeviceMetadataResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}