/* * 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 medical-imaging-2023-07-19.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.MedicalImaging.Model; using Amazon.MedicalImaging.Model.Internal.MarshallTransformations; using Amazon.MedicalImaging.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.MedicalImaging { /// /// Implementation for accessing MedicalImaging /// /// This is the AWS HealthImaging API Reference. AWS HealthImaging is an AWS service /// for storing, accessing, and analyzing medical images. For an introduction to the service, /// see the AWS /// HealthImaging Developer Guide . /// /// /// /// We recommend using one of the AWS Software Development Kits (SDKs) for your programming /// language, as they take care of request authentication, serialization, and connection /// management. For more information, see Tools /// to build on AWS. /// /// /// /// For information about using AWS HealthImaging API actions in one of the language-specific /// AWS SDKs, refer to the See Also link at the end of each section that describes /// an API action or data type. /// /// /// /// The following sections list AWS HealthImaging API actions categorized according to /// functionality. Links are provided to actions within this Reference, along with links /// back to corresponding sections in the AWS HealthImaging Developer Guide so /// you can view console procedures and CLI/SDK code examples. /// ///

Data store actions /// ///

Import job actions /// ///

Image set access actions /// ///

Image set modification actions /// ///

Tagging actions /// ///

///
public partial class AmazonMedicalImagingClient : AmazonServiceClient, IAmazonMedicalImaging { private static IServiceMetadata serviceMetadata = new AmazonMedicalImagingMetadata(); #region Constructors /// /// Constructs AmazonMedicalImagingClient 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 AmazonMedicalImagingClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonMedicalImagingConfig()) { } /// /// Constructs AmazonMedicalImagingClient 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 AmazonMedicalImagingClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonMedicalImagingConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonMedicalImagingClient 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 AmazonMedicalImagingClient Configuration Object public AmazonMedicalImagingClient(AmazonMedicalImagingConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonMedicalImagingClient with AWS Credentials /// /// AWS Credentials public AmazonMedicalImagingClient(AWSCredentials credentials) : this(credentials, new AmazonMedicalImagingConfig()) { } /// /// Constructs AmazonMedicalImagingClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonMedicalImagingClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonMedicalImagingConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonMedicalImagingClient with AWS Credentials and an /// AmazonMedicalImagingClient Configuration object. /// /// AWS Credentials /// The AmazonMedicalImagingClient Configuration Object public AmazonMedicalImagingClient(AWSCredentials credentials, AmazonMedicalImagingConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonMedicalImagingClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonMedicalImagingClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonMedicalImagingConfig()) { } /// /// Constructs AmazonMedicalImagingClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonMedicalImagingClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonMedicalImagingConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonMedicalImagingClient with AWS Access Key ID, AWS Secret Key and an /// AmazonMedicalImagingClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonMedicalImagingClient Configuration Object public AmazonMedicalImagingClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonMedicalImagingConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonMedicalImagingClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonMedicalImagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMedicalImagingConfig()) { } /// /// Constructs AmazonMedicalImagingClient 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 AmazonMedicalImagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMedicalImagingConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonMedicalImagingClient with AWS Access Key ID, AWS Secret Key and an /// AmazonMedicalImagingClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonMedicalImagingClient Configuration Object public AmazonMedicalImagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonMedicalImagingConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IMedicalImagingPaginatorFactory _paginators; /// /// Paginators for the service /// public IMedicalImagingPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new MedicalImagingPaginatorFactory(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 AmazonMedicalImagingEndpointResolver()); } /// /// 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 CopyImageSet internal virtual CopyImageSetResponse CopyImageSet(CopyImageSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Copy an image set. /// /// Container for the necessary parameters to execute the CopyImageSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CopyImageSet service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request caused a service quota to be exceeded. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for CopyImageSet Operation public virtual Task CopyImageSetAsync(CopyImageSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDatastore internal virtual CreateDatastoreResponse CreateDatastore(CreateDatastoreRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatastoreResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create a data store. /// /// Container for the necessary parameters to execute the CreateDatastore service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDatastore service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request caused a service quota to be exceeded. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for CreateDatastore Operation public virtual Task CreateDatastoreAsync(CreateDatastoreRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatastoreResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDatastore internal virtual DeleteDatastoreResponse DeleteDatastore(DeleteDatastoreRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDatastoreResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete a data store. /// /// /// /// Before a data store can be deleted, you must first delete all image sets within it. /// /// /// /// Container for the necessary parameters to execute the DeleteDatastore service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDatastore service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DeleteDatastore Operation public virtual Task DeleteDatastoreAsync(DeleteDatastoreRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDatastoreResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteImageSet internal virtual DeleteImageSetResponse DeleteImageSet(DeleteImageSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete an image set. /// /// Container for the necessary parameters to execute the DeleteImageSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteImageSet service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DeleteImageSet Operation public virtual Task DeleteImageSetAsync(DeleteImageSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDatastore internal virtual GetDatastoreResponse GetDatastore(GetDatastoreRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDatastoreResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get data store properties. /// /// Container for the necessary parameters to execute the GetDatastore service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDatastore service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetDatastore Operation public virtual Task GetDatastoreAsync(GetDatastoreRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDatastoreResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDICOMImportJob internal virtual GetDICOMImportJobResponse GetDICOMImportJob(GetDICOMImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDICOMImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDICOMImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get the import job properties to learn more about the job or job progress. /// /// Container for the necessary parameters to execute the GetDICOMImportJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDICOMImportJob service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetDICOMImportJob Operation public virtual Task GetDICOMImportJobAsync(GetDICOMImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDICOMImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDICOMImportJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetImageFrame internal virtual GetImageFrameResponse GetImageFrame(GetImageFrameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageFrameRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageFrameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get an image frame (pixel data) for an image set. /// /// Container for the necessary parameters to execute the GetImageFrame service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetImageFrame service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetImageFrame Operation public virtual Task GetImageFrameAsync(GetImageFrameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageFrameRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageFrameResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetImageSet internal virtual GetImageSetResponse GetImageSet(GetImageSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get image set properties. /// /// Container for the necessary parameters to execute the GetImageSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetImageSet service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetImageSet Operation public virtual Task GetImageSetAsync(GetImageSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetImageSetMetadata internal virtual GetImageSetMetadataResponse GetImageSetMetadata(GetImageSetMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageSetMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageSetMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get metadata attributes for an image set. /// /// Container for the necessary parameters to execute the GetImageSetMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetImageSetMetadata service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetImageSetMetadata Operation public virtual Task GetImageSetMetadataAsync(GetImageSetMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageSetMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageSetMetadataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDatastores internal virtual ListDatastoresResponse ListDatastores(ListDatastoresRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatastoresRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatastoresResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List data stores created by this AWS account. /// /// Container for the necessary parameters to execute the ListDatastores service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDatastores service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListDatastores Operation public virtual Task ListDatastoresAsync(ListDatastoresRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatastoresRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatastoresResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDICOMImportJobs internal virtual ListDICOMImportJobsResponse ListDICOMImportJobs(ListDICOMImportJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDICOMImportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDICOMImportJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List import jobs created by this AWS account for a specific data store. /// /// Container for the necessary parameters to execute the ListDICOMImportJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDICOMImportJobs service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListDICOMImportJobs Operation public virtual Task ListDICOMImportJobsAsync(ListDICOMImportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDICOMImportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDICOMImportJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListImageSetVersions internal virtual ListImageSetVersionsResponse ListImageSetVersions(ListImageSetVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListImageSetVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListImageSetVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List image set versions. /// /// Container for the necessary parameters to execute the ListImageSetVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListImageSetVersions service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListImageSetVersions Operation public virtual Task ListImageSetVersionsAsync(ListImageSetVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListImageSetVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListImageSetVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all tags associated with a medical imaging 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 MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// 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 SearchImageSets internal virtual SearchImageSetsResponse SearchImageSets(SearchImageSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchImageSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchImageSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Search image sets based on defined input attributes. /// /// Container for the necessary parameters to execute the SearchImageSets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchImageSets service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for SearchImageSets Operation public virtual Task SearchImageSetsAsync(SearchImageSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchImageSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchImageSetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartDICOMImportJob internal virtual StartDICOMImportJobResponse StartDICOMImportJob(StartDICOMImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartDICOMImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDICOMImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Start importing bulk data into an ACTIVE data store. The import job imports /// DICOM P10 files found in the S3 prefix specified by the inputS3Uri parameter. /// The import job stores processing results in the file specified by the outputS3Uri /// parameter. /// /// Container for the necessary parameters to execute the StartDICOMImportJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartDICOMImportJob service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request caused a service quota to be exceeded. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for StartDICOMImportJob Operation public virtual Task StartDICOMImportJobAsync(StartDICOMImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartDICOMImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDICOMImportJobResponseUnmarshaller.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 a user-specifed key and value tag to a medical imaging 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 MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// 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 medical imaging 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 MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// 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 UpdateImageSetMetadata internal virtual UpdateImageSetMetadataResponse UpdateImageSetMetadata(UpdateImageSetMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateImageSetMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateImageSetMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Update image set metadata attributes. /// /// Container for the necessary parameters to execute the UpdateImageSetMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateImageSetMetadata service method, as returned by MedicalImaging. /// /// The user does not have sufficient access to perform this action. /// /// /// Updating or deleting a resource can cause an inconsistent state. /// /// /// An unexpected error occurred during processing of the request. /// /// /// The request references a resource which does not exist. /// /// /// The request caused a service quota to be exceeded. /// /// /// The request was denied due to throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for UpdateImageSetMetadata Operation public virtual Task UpdateImageSetMetadataAsync(UpdateImageSetMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateImageSetMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateImageSetMetadataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }