Class: Aws::ConnectHealth::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ConnectHealth::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb
Overview
An API client for ConnectHealth. To construct a client, you need to configure a :region and :credentials.
client = Aws::ConnectHealth::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#activate_subscription(params = {}) ⇒ Types::ActivateSubscriptionOutput
Activates a Subscription to enable billing for a user.
-
#create_dataset(params = {}) ⇒ Types::CreateDatasetOutput
Creates a Dataset in a Domain and starts building it.
-
#create_domain(params = {}) ⇒ Types::CreateDomainOutput
Creates a new Domain for managing HealthAgent resources.
-
#create_subscription(params = {}) ⇒ Types::CreateSubscriptionOutput
Creates a new Subscription within a Domain for billing and user management.
-
#deactivate_subscription(params = {}) ⇒ Types::DeactivateSubscriptionOutput
Deactivates a Subscription to stop billing for a user.
-
#delete_dataset(params = {}) ⇒ Types::DeleteDatasetOutput
Starts deleting a Dataset and the resources that Amazon Connect Health built for it.
-
#delete_domain(params = {}) ⇒ Types::DeleteDomainOutput
Deletes a Domain and all associated resources.
-
#get_dataset(params = {}) ⇒ Types::GetDatasetOutput
Retrieves information about a Dataset, including its status and, after it is built, its results.
-
#get_domain(params = {}) ⇒ Types::GetDomainOutput
Retrieves information about a Domain.
-
#get_medical_coding_job(params = {}) ⇒ Types::GetMedicalCodingJobResponse
Retrieves information about a medical coding job, including its status and, when it succeeds, the location of its results.
-
#get_medical_scribe_listening_session(params = {}) ⇒ Types::GetMedicalScribeListeningSessionOutput
Retrieves details about an existing Medical Scribe listening session.
-
#get_patient_insights_job(params = {}) ⇒ Types::GetPatientInsightsJobResponse
Get details of a started patient insights job.
-
#get_subscription(params = {}) ⇒ Types::GetSubscriptionOutput
Retrieves information about a Subscription.
-
#list_datasets(params = {}) ⇒ Types::ListDatasetsOutput
Lists the Datasets in a Domain.
-
#list_domains(params = {}) ⇒ Types::ListDomainsOutput
Lists Domains for a given account.
-
#list_subscriptions(params = {}) ⇒ Types::ListSubscriptionsOutput
Lists all Subscriptions within a Domain.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags associated with the specified resource.
-
#start_medical_coding_job(params = {}) ⇒ Types::StartMedicalCodingJobResponse
Starts an asynchronous job that generates medical codes (ICD-10 and CPT) for clinical text.
-
#start_patient_insights_job(params = {}) ⇒ Types::StartPatientInsightsJobResponse
Starts a new patient insights job.
-
#submit_feedback(params = {}) ⇒ Struct
Submits feedback on a clinical document or a set of medical codes that Amazon Connect Health generated.
-
#tag_resource(params = {}) ⇒ Struct
Associates the specified tags with the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from Aws::ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
490 491 492 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 490 def initialize(*args) super end |
Instance Method Details
#activate_subscription(params = {}) ⇒ Types::ActivateSubscriptionOutput
Activates a Subscription to enable billing for a user.
530 531 532 533 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 530 def activate_subscription(params = {}, = {}) req = build_request(:activate_subscription, params) req.send_request() end |
#create_dataset(params = {}) ⇒ Types::CreateDatasetOutput
Creates a Dataset in a Domain and starts building it. A new dataset has the status CREATING. When it's ready to use, its status changes to ACTIVE, or to CREATE_FAILED if it fails to build. To check the status, call GetDataset.
This operation is idempotent: if you retry a request with the same clientToken, it returns the dataset that the first request created.
For a medical coding dataset, Amazon Connect Health uses the coded examples that are in the s3InputPath when you create the dataset, and writes evaluation scores to the s3OutputPath. Later changes to the s3InputPath don't change the dataset. To use this operation, you must have s3:GetObject and s3:ListBucket permissions for the input location and s3:PutObject permission for the output location, and kms:Decrypt and kms:GenerateDataKey permissions if you encrypt the locations with an AWS KMS key.
Datasets are in preview release and are subject to change.
610 611 612 613 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 610 def create_dataset(params = {}, = {}) req = build_request(:create_dataset, params) req.send_request() end |
#create_domain(params = {}) ⇒ Types::CreateDomainOutput
Creates a new Domain for managing HealthAgent resources.
676 677 678 679 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 676 def create_domain(params = {}, = {}) req = build_request(:create_domain, params) req.send_request() end |
#create_subscription(params = {}) ⇒ Types::CreateSubscriptionOutput
Creates a new Subscription within a Domain for billing and user management.
719 720 721 722 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 719 def create_subscription(params = {}, = {}) req = build_request(:create_subscription, params) req.send_request() end |
#deactivate_subscription(params = {}) ⇒ Types::DeactivateSubscriptionOutput
Deactivates a Subscription to stop billing for a user.
758 759 760 761 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 758 def deactivate_subscription(params = {}, = {}) req = build_request(:deactivate_subscription, params) req.send_request() end |
#delete_dataset(params = {}) ⇒ Types::DeleteDatasetOutput
Starts deleting a Dataset and the resources that Amazon Connect Health built for it. You can delete a dataset whose status is ACTIVE, CREATE_FAILED, or DELETE_FAILED. The dataset moves to DELETING, and then to DELETED. If the delete fails, the dataset moves to DELETE_FAILED, and you can call DeleteDataset again.
Medical coding jobs that already use the dataset finish. Amazon Connect Health rejects new requests that specify the dataset.
Datasets are in preview release and are subject to change.
803 804 805 806 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 803 def delete_dataset(params = {}, = {}) req = build_request(:delete_dataset, params) req.send_request() end |
#delete_domain(params = {}) ⇒ Types::DeleteDomainOutput
Deletes a Domain and all associated resources.
835 836 837 838 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 835 def delete_domain(params = {}, = {}) req = build_request(:delete_domain, params) req.send_request() end |
#get_dataset(params = {}) ⇒ Types::GetDatasetOutput
Retrieves information about a Dataset, including its status and, after it is built, its results. A dataset whose status is DELETED returns ResourceNotFoundException.
Datasets are in preview release and are subject to change.
890 891 892 893 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 890 def get_dataset(params = {}, = {}) req = build_request(:get_dataset, params) req.send_request() end |
#get_domain(params = {}) ⇒ Types::GetDomainOutput
Retrieves information about a Domain.
940 941 942 943 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 940 def get_domain(params = {}, = {}) req = build_request(:get_domain, params) req.send_request() end |
#get_medical_coding_job(params = {}) ⇒ Types::GetMedicalCodingJobResponse
Retrieves information about a medical coding job, including its status and, when it succeeds, the location of its results.
Medical coding jobs are in preview release and are subject to change.
1004 1005 1006 1007 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1004 def get_medical_coding_job(params = {}, = {}) req = build_request(:get_medical_coding_job, params) req.send_request() end |
#get_medical_scribe_listening_session(params = {}) ⇒ Types::GetMedicalScribeListeningSessionOutput
Retrieves details about an existing Medical Scribe listening session
1070 1071 1072 1073 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1070 def get_medical_scribe_listening_session(params = {}, = {}) req = build_request(:get_medical_scribe_listening_session, params) req.send_request() end |
#get_patient_insights_job(params = {}) ⇒ Types::GetPatientInsightsJobResponse
Get details of a started patient insights job.
1131 1132 1133 1134 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1131 def get_patient_insights_job(params = {}, = {}) req = build_request(:get_patient_insights_job, params) req.send_request() end |
#get_subscription(params = {}) ⇒ Types::GetSubscriptionOutput
Retrieves information about a Subscription.
1170 1171 1172 1173 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1170 def get_subscription(params = {}, = {}) req = build_request(:get_subscription, params) req.send_request() end |
#list_datasets(params = {}) ⇒ Types::ListDatasetsOutput
Lists the Datasets in a Domain. You can list only the datasets of one type. The operation doesn't return datasets whose status is DELETED, and the order of the results isn't specified. We recommend using pagination to ensure that the operation returns quickly and successfully.
Datasets are in preview release and are subject to change.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1231 1232 1233 1234 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1231 def list_datasets(params = {}, = {}) req = build_request(:list_datasets, params) req.send_request() end |
#list_domains(params = {}) ⇒ Types::ListDomainsOutput
Lists Domains for a given account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1276 1277 1278 1279 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1276 def list_domains(params = {}, = {}) req = build_request(:list_domains, params) req.send_request() end |
#list_subscriptions(params = {}) ⇒ Types::ListSubscriptionsOutput
Lists all Subscriptions within a Domain.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1324 1325 1326 1327 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1324 def list_subscriptions(params = {}, = {}) req = build_request(:list_subscriptions, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists the tags associated with the specified resource
1353 1354 1355 1356 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1353 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#start_medical_coding_job(params = {}) ⇒ Types::StartMedicalCodingJobResponse
Starts an asynchronous job that generates medical codes (ICD-10 and CPT) for clinical text. Call GetMedicalCodingJob to check the status of the job. When the job succeeds, Amazon Connect Health writes the results to the output Amazon S3 location.
To tailor the codes to your organization, specify an ACTIVE medical coding dataset in the Domain. If you don't specify a dataset, the job uses the general medical coding knowledge base.
Medical coding jobs are in preview release and are subject to change.
1440 1441 1442 1443 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1440 def start_medical_coding_job(params = {}, = {}) req = build_request(:start_medical_coding_job, params) req.send_request() end |
#start_patient_insights_job(params = {}) ⇒ Types::StartPatientInsightsJobResponse
Starts a new patient insights job.
1521 1522 1523 1524 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1521 def start_patient_insights_job(params = {}, = {}) req = build_request(:start_patient_insights_job, params) req.send_request() end |
#submit_feedback(params = {}) ⇒ Struct
Submits feedback on a clinical document or a set of medical codes that Amazon Connect Health generated.
1589 1590 1591 1592 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1589 def submit_feedback(params = {}, = {}) req = build_request(:submit_feedback, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Associates the specified tags with the specified resource
1617 1618 1619 1620 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1617 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource
1643 1644 1645 1646 |
# File 'gems/aws-sdk-connecthealth/lib/aws-sdk-connecthealth/client.rb', line 1643 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |