/* * 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.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(); #if BCL45 || 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 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 #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new 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 /// /// Copy an image set. /// /// Container for the necessary parameters to execute the CopyImageSet service method. /// /// 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 CopyImageSetResponse CopyImageSet(CopyImageSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CopyImageSet operation. /// /// /// Container for the necessary parameters to execute the CopyImageSet operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCopyImageSet /// operation. /// REST API Reference for CopyImageSet Operation public virtual IAsyncResult BeginCopyImageSet(CopyImageSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CopyImageSet operation. /// /// /// The IAsyncResult returned by the call to BeginCopyImageSet. /// /// Returns a CopyImageSetResult from MedicalImaging. /// REST API Reference for CopyImageSet Operation public virtual CopyImageSetResponse EndCopyImageSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDatastore /// /// Create a data store. /// /// Container for the necessary parameters to execute the CreateDatastore service method. /// /// 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 CreateDatastoreResponse CreateDatastore(CreateDatastoreRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatastoreResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDatastore operation. /// /// /// Container for the necessary parameters to execute the CreateDatastore operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDatastore /// operation. /// REST API Reference for CreateDatastore Operation public virtual IAsyncResult BeginCreateDatastore(CreateDatastoreRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatastoreResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDatastore operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDatastore. /// /// Returns a CreateDatastoreResult from MedicalImaging. /// REST API Reference for CreateDatastore Operation public virtual CreateDatastoreResponse EndCreateDatastore(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDatastore /// /// 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. /// /// 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 DeleteDatastoreResponse DeleteDatastore(DeleteDatastoreRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDatastoreResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDatastore operation. /// /// /// Container for the necessary parameters to execute the DeleteDatastore operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDatastore /// operation. /// REST API Reference for DeleteDatastore Operation public virtual IAsyncResult BeginDeleteDatastore(DeleteDatastoreRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDatastoreResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDatastore operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDatastore. /// /// Returns a DeleteDatastoreResult from MedicalImaging. /// REST API Reference for DeleteDatastore Operation public virtual DeleteDatastoreResponse EndDeleteDatastore(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteImageSet /// /// Delete an image set. /// /// Container for the necessary parameters to execute the DeleteImageSet service method. /// /// 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 DeleteImageSetResponse DeleteImageSet(DeleteImageSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteImageSet operation. /// /// /// Container for the necessary parameters to execute the DeleteImageSet operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteImageSet /// operation. /// REST API Reference for DeleteImageSet Operation public virtual IAsyncResult BeginDeleteImageSet(DeleteImageSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteImageSet operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteImageSet. /// /// Returns a DeleteImageSetResult from MedicalImaging. /// REST API Reference for DeleteImageSet Operation public virtual DeleteImageSetResponse EndDeleteImageSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDatastore /// /// Get data store properties. /// /// Container for the necessary parameters to execute the GetDatastore service method. /// /// 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 GetDatastoreResponse GetDatastore(GetDatastoreRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDatastoreResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDatastore operation. /// /// /// Container for the necessary parameters to execute the GetDatastore operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDatastore /// operation. /// REST API Reference for GetDatastore Operation public virtual IAsyncResult BeginGetDatastore(GetDatastoreRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDatastoreRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDatastoreResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDatastore operation. /// /// /// The IAsyncResult returned by the call to BeginGetDatastore. /// /// Returns a GetDatastoreResult from MedicalImaging. /// REST API Reference for GetDatastore Operation public virtual GetDatastoreResponse EndGetDatastore(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDICOMImportJob /// /// 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. /// /// 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 GetDICOMImportJobResponse GetDICOMImportJob(GetDICOMImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDICOMImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDICOMImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDICOMImportJob operation. /// /// /// Container for the necessary parameters to execute the GetDICOMImportJob operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDICOMImportJob /// operation. /// REST API Reference for GetDICOMImportJob Operation public virtual IAsyncResult BeginGetDICOMImportJob(GetDICOMImportJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDICOMImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDICOMImportJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDICOMImportJob operation. /// /// /// The IAsyncResult returned by the call to BeginGetDICOMImportJob. /// /// Returns a GetDICOMImportJobResult from MedicalImaging. /// REST API Reference for GetDICOMImportJob Operation public virtual GetDICOMImportJobResponse EndGetDICOMImportJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetImageFrame /// /// Get an image frame (pixel data) for an image set. /// /// Container for the necessary parameters to execute the GetImageFrame service method. /// /// 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 GetImageFrameResponse GetImageFrame(GetImageFrameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageFrameRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageFrameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetImageFrame operation. /// /// /// Container for the necessary parameters to execute the GetImageFrame operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetImageFrame /// operation. /// REST API Reference for GetImageFrame Operation public virtual IAsyncResult BeginGetImageFrame(GetImageFrameRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageFrameRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageFrameResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetImageFrame operation. /// /// /// The IAsyncResult returned by the call to BeginGetImageFrame. /// /// Returns a GetImageFrameResult from MedicalImaging. /// REST API Reference for GetImageFrame Operation public virtual GetImageFrameResponse EndGetImageFrame(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetImageSet /// /// Get image set properties. /// /// Container for the necessary parameters to execute the GetImageSet service method. /// /// 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 GetImageSetResponse GetImageSet(GetImageSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetImageSet operation. /// /// /// Container for the necessary parameters to execute the GetImageSet operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetImageSet /// operation. /// REST API Reference for GetImageSet Operation public virtual IAsyncResult BeginGetImageSet(GetImageSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetImageSet operation. /// /// /// The IAsyncResult returned by the call to BeginGetImageSet. /// /// Returns a GetImageSetResult from MedicalImaging. /// REST API Reference for GetImageSet Operation public virtual GetImageSetResponse EndGetImageSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetImageSetMetadata /// /// Get metadata attributes for an image set. /// /// Container for the necessary parameters to execute the GetImageSetMetadata service method. /// /// 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 GetImageSetMetadataResponse GetImageSetMetadata(GetImageSetMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageSetMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageSetMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetImageSetMetadata operation. /// /// /// Container for the necessary parameters to execute the GetImageSetMetadata operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetImageSetMetadata /// operation. /// REST API Reference for GetImageSetMetadata Operation public virtual IAsyncResult BeginGetImageSetMetadata(GetImageSetMetadataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetImageSetMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetImageSetMetadataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetImageSetMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginGetImageSetMetadata. /// /// Returns a GetImageSetMetadataResult from MedicalImaging. /// REST API Reference for GetImageSetMetadata Operation public virtual GetImageSetMetadataResponse EndGetImageSetMetadata(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDatastores /// /// List data stores created by this AWS account. /// /// Container for the necessary parameters to execute the ListDatastores service method. /// /// 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 ListDatastoresResponse ListDatastores(ListDatastoresRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatastoresRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatastoresResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDatastores operation. /// /// /// Container for the necessary parameters to execute the ListDatastores operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDatastores /// operation. /// REST API Reference for ListDatastores Operation public virtual IAsyncResult BeginListDatastores(ListDatastoresRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatastoresRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatastoresResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDatastores operation. /// /// /// The IAsyncResult returned by the call to BeginListDatastores. /// /// Returns a ListDatastoresResult from MedicalImaging. /// REST API Reference for ListDatastores Operation public virtual ListDatastoresResponse EndListDatastores(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDICOMImportJobs /// /// List import jobs created by this AWS account for a specific data store. /// /// Container for the necessary parameters to execute the ListDICOMImportJobs service method. /// /// 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 ListDICOMImportJobsResponse ListDICOMImportJobs(ListDICOMImportJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDICOMImportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDICOMImportJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDICOMImportJobs operation. /// /// /// Container for the necessary parameters to execute the ListDICOMImportJobs operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDICOMImportJobs /// operation. /// REST API Reference for ListDICOMImportJobs Operation public virtual IAsyncResult BeginListDICOMImportJobs(ListDICOMImportJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDICOMImportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDICOMImportJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDICOMImportJobs operation. /// /// /// The IAsyncResult returned by the call to BeginListDICOMImportJobs. /// /// Returns a ListDICOMImportJobsResult from MedicalImaging. /// REST API Reference for ListDICOMImportJobs Operation public virtual ListDICOMImportJobsResponse EndListDICOMImportJobs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListImageSetVersions /// /// List image set versions. /// /// Container for the necessary parameters to execute the ListImageSetVersions service method. /// /// 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 ListImageSetVersionsResponse ListImageSetVersions(ListImageSetVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListImageSetVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListImageSetVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListImageSetVersions operation. /// /// /// Container for the necessary parameters to execute the ListImageSetVersions operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListImageSetVersions /// operation. /// REST API Reference for ListImageSetVersions Operation public virtual IAsyncResult BeginListImageSetVersions(ListImageSetVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListImageSetVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListImageSetVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListImageSetVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListImageSetVersions. /// /// Returns a ListImageSetVersionsResult from MedicalImaging. /// REST API Reference for ListImageSetVersions Operation public virtual ListImageSetVersionsResponse EndListImageSetVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Lists all tags associated with a medical imaging resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// 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 ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from MedicalImaging. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SearchImageSets /// /// Search image sets based on defined input attributes. /// /// Container for the necessary parameters to execute the SearchImageSets service method. /// /// 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 SearchImageSetsResponse SearchImageSets(SearchImageSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchImageSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchImageSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SearchImageSets operation. /// /// /// Container for the necessary parameters to execute the SearchImageSets operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSearchImageSets /// operation. /// REST API Reference for SearchImageSets Operation public virtual IAsyncResult BeginSearchImageSets(SearchImageSetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SearchImageSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchImageSetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SearchImageSets operation. /// /// /// The IAsyncResult returned by the call to BeginSearchImageSets. /// /// Returns a SearchImageSetsResult from MedicalImaging. /// REST API Reference for SearchImageSets Operation public virtual SearchImageSetsResponse EndSearchImageSets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartDICOMImportJob /// /// 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. /// /// 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 StartDICOMImportJobResponse StartDICOMImportJob(StartDICOMImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartDICOMImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDICOMImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartDICOMImportJob operation. /// /// /// Container for the necessary parameters to execute the StartDICOMImportJob operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartDICOMImportJob /// operation. /// REST API Reference for StartDICOMImportJob Operation public virtual IAsyncResult BeginStartDICOMImportJob(StartDICOMImportJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartDICOMImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDICOMImportJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartDICOMImportJob operation. /// /// /// The IAsyncResult returned by the call to BeginStartDICOMImportJob. /// /// Returns a StartDICOMImportJobResult from MedicalImaging. /// REST API Reference for StartDICOMImportJob Operation public virtual StartDICOMImportJobResponse EndStartDICOMImportJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds a user-specifed key and value tag to a medical imaging resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// 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 TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from MedicalImaging. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes tags from a medical imaging resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// 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 UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from MedicalImaging. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateImageSetMetadata /// /// Update image set metadata attributes. /// /// Container for the necessary parameters to execute the UpdateImageSetMetadata service method. /// /// 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 UpdateImageSetMetadataResponse UpdateImageSetMetadata(UpdateImageSetMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateImageSetMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateImageSetMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateImageSetMetadata operation. /// /// /// Container for the necessary parameters to execute the UpdateImageSetMetadata operation on AmazonMedicalImagingClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateImageSetMetadata /// operation. /// REST API Reference for UpdateImageSetMetadata Operation public virtual IAsyncResult BeginUpdateImageSetMetadata(UpdateImageSetMetadataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateImageSetMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateImageSetMetadataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateImageSetMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateImageSetMetadata. /// /// Returns a UpdateImageSetMetadataResult from MedicalImaging. /// REST API Reference for UpdateImageSetMetadata Operation public virtual UpdateImageSetMetadataResponse EndUpdateImageSetMetadata(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }