SDK for PHP V3

Client: Aws\ConnectHealth\ConnectHealthClient
Service ID: connecthealth
Version: 2025-01-29

This page describes the parameters and results for the operations of the Connect Health (2025-01-29), and shows how to use the Aws\ConnectHealth\ConnectHealthClient object to call the described operations. This documentation is specific to the 2025-01-29 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

ActivateSubscription ( array $params = [] )
Activates a Subscription to enable billing for a user.
CreateDomain ( array $params = [] )
Creates a new Domain for managing HealthAgent resources.
CreateSubscription ( array $params = [] )
Creates a new Subscription within a Domain for billing and user management.
DeactivateSubscription ( array $params = [] )
Deactivates a Subscription to stop billing for a user.
DeleteDomain ( array $params = [] )
Deletes a Domain and all associated resources.
GetDomain ( array $params = [] )
Retrieves information about a Domain.
GetMedicalScribeListeningSession ( array $params = [] )
Retrieves details about an existing Medical Scribe listening session
GetPatientInsightsJob ( array $params = [] )
Get details of a started patient insights job.
GetSubscription ( array $params = [] )
Retrieves information about a Subscription.
ListDomains ( array $params = [] )
Lists Domains for a given account.
ListSubscriptions ( array $params = [] )
Lists all Subscriptions within a Domain.
ListTagsForResource ( array $params = [] )
Lists the tags associated with the specified resource
StartPatientInsightsJob ( array $params = [] )
Starts a new patient insights job.
TagResource ( array $params = [] )
Associates the specified tags with the specified resource
UntagResource ( array $params = [] )
Removes the specified tags from the specified resource

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

ListDomains
ListSubscriptions

Operations

ActivateSubscription

$result = $client->activateSubscription([/* ... */]);
$promise = $client->activateSubscriptionAsync([/* ... */]);

Activates a Subscription to enable billing for a user.

Parameter Syntax

$result = $client->activateSubscription([
    'domainId' => '<string>', // REQUIRED
    'subscriptionId' => '<string>', // REQUIRED
]);

Parameter Details

Members
domainId
Required: Yes
Type: string

The unique identifier of the parent Domain.

subscriptionId
Required: Yes
Type: string

The unique identifier of the Subscription.

Result Syntax

[
    'subscription' => [
        'activatedAt' => <DateTime>,
        'arn' => '<string>',
        'createdAt' => <DateTime>,
        'deactivatedAt' => <DateTime>,
        'domainId' => '<string>',
        'lastUpdatedAt' => <DateTime>,
        'status' => 'ACTIVE|INACTIVE|DELETED',
        'subscriptionId' => '<string>',
    ],
]

Result Details

Members
subscription
Type: SubscriptionDescription structure

Errors

InternalServerException:

This error is thrown when a transient error causes our API to fail.

ResourceNotFoundException:

This error is thrown when the requested resource is not found.

AccessDeniedException:

This error is thrown when the client does not supply proper credentials to the API.

ValidationException:

This error is thrown when the client supplies invalid input to the API.

CreateDomain

$result = $client->createDomain([/* ... */]);
$promise = $client->createDomainAsync([/* ... */]);

Creates a new Domain for managing HealthAgent resources.

Parameter Syntax

$result = $client->createDomain([
    'kmsKeyArn' => '<string>',
    'name' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
    'webAppSetupConfiguration' => [
        'ehrRole' => '<string>', // REQUIRED
        'idcInstanceId' => '<string>', // REQUIRED
        'idcRegion' => '<string>', // REQUIRED
    ],
]);

Parameter Details

Members
kmsKeyArn
Type: string

The ARN of the KMS key to use for encrypting data in this Domain.

name
Required: Yes
Type: string

The name for the new Domain.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags to associate with the Domain.

webAppSetupConfiguration
Type: CreateWebAppConfiguration structure

Configuration for the Domain web application. Optional, but if provided all fields are required.

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'domainId' => '<string>',
    'encryptionContext' => [
        'encryptionType' => 'AWS_OWNED_KEY|CUSTOMER_MANAGED_KEY',
        'kmsKeyArn' => '<string>',
    ],
    'kmsKeyArn' => '<string>',
    'name' => '<string>',
    'status' => 'ACTIVE|DELETING|DELETED',
    'webAppConfiguration' => [
        'ehrRole' => '<string>',
        'idcApplicationId' => '<string>',
        'idcRegion' => '<string>',
    ],
    'webAppUrl' => '<string>',
]

Result Details

Members
arn
Required: Yes
Type: string

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

domainId
Required: Yes
Type: string

encryptionContext
Type: EncryptionContext structure

kmsKeyArn
Type: string

name
Required: Yes
Type: string

status
Required: Yes
Type: string

webAppConfiguration
Type: WebAppConfiguration structure

webAppUrl
Type: string

Errors

ServiceQuotaExceededException:

The request exceeds a service quota.

CreateSubscription

$result = $client->createSubscription([/* ... */]);
$promise = $client->createSubscriptionAsync([/* ... */]);

Creates a new Subscription within a Domain for billing and user management.

Parameter Syntax

$result = $client->createSubscription([
    'domainId' => '<string>', // REQUIRED
]);

Parameter Details

Members
domainId
Required: Yes
Type: string

The unique identifier of the parent Domain.

Result Syntax

[
    'activatedAt' => <DateTime>,
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'deactivatedAt' => <DateTime>,
    'domainId' => '<string>',
    'lastUpdatedAt' => <DateTime>,
    'status' => 'ACTIVE|INACTIVE|DELETED',
    'subscriptionId' => '<string>',
]

Result Details

Members
activatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

arn
Required: Yes
Type: string

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

deactivatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

domainId
Required: Yes
Type: string

lastUpdatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

status
Required: Yes
Type: string

subscriptionId
Required: Yes
Type: string

Errors

InternalServerException:

This error is thrown when a transient error causes our API to fail.

ResourceNotFoundException:

This error is thrown when the requested resource is not found.

AccessDeniedException:

This error is thrown when the client does not supply proper credentials to the API.

ValidationException:

This error is thrown when the client supplies invalid input to the API.

ServiceQuotaExceededException:

The request exceeds a service quota.

DeactivateSubscription

$result = $client->deactivateSubscription([/* ... */]);
$promise = $client->deactivateSubscriptionAsync([/* ... */]);

Deactivates a Subscription to stop billing for a user.

Parameter Syntax

$result = $client->deactivateSubscription([
    'domainId' => '<string>', // REQUIRED
    'subscriptionId' => '<string>', // REQUIRED
]);

Parameter Details

Members
domainId
Required: Yes
Type: string

The unique identifier of the parent Domain.

subscriptionId
Required: Yes
Type: string

The unique identifier of the Subscription.

Result Syntax

[
    'subscription' => [
        'activatedAt' => <DateTime>,
        'arn' => '<string>',
        'createdAt' => <DateTime>,
        'deactivatedAt' => <DateTime>,
        'domainId' => '<string>',
        'lastUpdatedAt' => <DateTime>,
        'status' => 'ACTIVE|INACTIVE|DELETED',
        'subscriptionId' => '<string>',
    ],
]

Result Details

Members
subscription
Type: SubscriptionDescription structure

Errors

InternalServerException:

This error is thrown when a transient error causes our API to fail.

ResourceNotFoundException:

This error is thrown when the requested resource is not found.

AccessDeniedException:

This error is thrown when the client does not supply proper credentials to the API.

ValidationException:

This error is thrown when the client supplies invalid input to the API.

DeleteDomain

$result = $client->deleteDomain([/* ... */]);
$promise = $client->deleteDomainAsync([/* ... */]);

Deletes a Domain and all associated resources.

Parameter Syntax

$result = $client->deleteDomain([
    'domainId' => '<string>', // REQUIRED
]);

Parameter Details

Members
domainId
Required: Yes
Type: string

The id of the Domain to delete

Result Syntax

[
    'arn' => '<string>',
    'domainId' => '<string>',
    'status' => 'ACTIVE|DELETING|DELETED',
]

Result Details

Members
arn
Required: Yes
Type: string

The ARN of the Domain that was requested for deletion

domainId
Required: Yes
Type: string

The id of the Domain requested for deletion

status
Required: Yes
Type: string

Current status of Domain

Errors

ResourceNotFoundException:

This error is thrown when the requested resource is not found.

GetDomain

$result = $client->getDomain([/* ... */]);
$promise = $client->getDomainAsync([/* ... */]);

Retrieves information about a Domain.

Parameter Syntax

$result = $client->getDomain([
    'domainId' => '<string>', // REQUIRED
]);

Parameter Details

Members
domainId
Required: Yes
Type: string

The id of the Domain to get

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'domainId' => '<string>',
    'encryptionContext' => [
        'encryptionType' => 'AWS_OWNED_KEY|CUSTOMER_MANAGED_KEY',
        'kmsKeyArn' => '<string>',
    ],
    'kmsKeyArn' => '<string>',
    'name' => '<string>',
    'status' => 'ACTIVE|DELETING|DELETED',
    'tags' => ['<string>', ...],
    'webAppConfiguration' => [
        'ehrRole' => '<string>',
        'idcApplicationId' => '<string>',
        'idcRegion' => '<string>',
    ],
    'webAppUrl' => '<string>',
]

Result Details

Members
arn
Required: Yes
Type: string

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

domainId
Required: Yes
Type: string

encryptionContext
Type: EncryptionContext structure

kmsKeyArn
Type: string

name
Required: Yes
Type: string

status
Required: Yes
Type: string

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags associated with the Domain

webAppConfiguration
Type: WebAppConfiguration structure

webAppUrl
Type: string

Errors

ResourceNotFoundException:

This error is thrown when the requested resource is not found.

GetMedicalScribeListeningSession

$result = $client->getMedicalScribeListeningSession([/* ... */]);
$promise = $client->getMedicalScribeListeningSessionAsync([/* ... */]);

Retrieves details about an existing Medical Scribe listening session

Parameter Syntax

$result = $client->getMedicalScribeListeningSession([
    'domainId' => '<string>', // REQUIRED
    'sessionId' => '<string>', // REQUIRED
    'subscriptionId' => '<string>', // REQUIRED
]);

Parameter Details

Members
domainId
Required: Yes
Type: string

The Domain identifier

sessionId
Required: Yes
Type: string

The Session identifier

subscriptionId
Required: Yes
Type: string

The Subscription identifier

Result Syntax

[
    'medicalScribeListeningSessionDetails' => [
        'channelDefinitions' => [
            [
                'channelId' => <integer>,
                'participantRole' => 'PATIENT|CLINICIAN',
            ],
            // ...
        ],
        'domainId' => '<string>',
        'encounterContextProvided' => true || false,
        'languageCode' => 'en-US',
        'mediaEncoding' => 'pcm|flac',
        'mediaSampleRateHertz' => <integer>,
        'postStreamActionResult' => [
            'clinicalNoteGenerationResult' => [
                'afterVisitSummaryResult' => [
                    'failureReason' => '<string>',
                    'outputLocation' => '<string>',
                    'status' => 'IN_PROGRESS|FAILED|COMPLETED',
                ],
                'noteResult' => [
                    'failureReason' => '<string>',
                    'outputLocation' => '<string>',
                    'status' => 'IN_PROGRESS|FAILED|COMPLETED',
                ],
                'transcriptResult' => [
                    'failureReason' => '<string>',
                    'outputLocation' => '<string>',
                    'status' => 'IN_PROGRESS|FAILED|COMPLETED',
                ],
            ],
        ],
        'postStreamActionSettings' => [
            'clinicalNoteGenerationSettings' => [
                'noteTemplateSettings' => [
                    'customTemplate' => [
                        'templateType' => 'HISTORY_AND_PHYSICAL|GIRPP|DAP|SIRP|BIRP|BEHAVIORAL_SOAP',
                    ],
                    'managedTemplate' => [
                        'templateType' => 'HISTORY_AND_PHYSICAL|GIRPP|DAP|SIRP|BIRP|BEHAVIORAL_SOAP|PHYSICAL_SOAP',
                    ],
                ],
            ],
            'outputS3Uri' => '<string>',
        ],
        'sessionId' => '<string>',
        'streamCreationTime' => <DateTime>,
        'streamEndTime' => <DateTime>,
        'streamStatus' => 'IN_PROGRESS|PAUSED|FAILED|COMPLETED',
        'subscriptionId' => '<string>',
    ],
]

Result Details

Members
medicalScribeListeningSessionDetails

Details about the Medical Scribe listening session

Errors

InternalServerException:

This error is thrown when a transient error causes our API to fail.

ResourceNotFoundException:

This error is thrown when the requested resource is not found.

AccessDeniedException:

This error is thrown when the client does not supply proper credentials to the API.

ThrottlingException:

This error is thrown when the client exceeds the allowed request rate.

ServiceQuotaExceededException:

The request exceeds a service quota.

GetPatientInsightsJob

$result = $client->getPatientInsightsJob([/* ... */]);
$promise = $client->getPatientInsightsJobAsync([/* ... */]);

Get details of a started patient insights job.

Parameter Syntax

$result = $client->getPatientInsightsJob([
    'domainId' => '<string>', // REQUIRED
    'jobId' => '<string>', // REQUIRED
]);

Parameter Details

Members
domainId
Required: Yes
Type: string

jobId
Required: Yes
Type: string

Result Syntax

[
    'creationTime' => <DateTime>,
    'encounterContext' => [
        'encounterReason' => '<string>',
    ],
    'inputDataConfig' => [
        'fhirServer' => [
            'fhirEndpoint' => '<string>',
            'oauthToken' => '<string>',
        ],
        's3Sources' => [
            [
                'uri' => '<string>',
            ],
            // ...
        ],
    ],
    'insightsContext' => [
        'insightsType' => 'PRE_VISIT',
    ],
    'insightsOutput' => [
        'uri' => '<string>',
    ],
    'jobArn' => '<string>',
    'jobId' => '<string>',
    'jobStatus' => 'SUBMITTED|IN_PROGRESS|FAILED|SUCCEEDED',
    'outputDataConfig' => [
        's3OutputPath' => '<string>',
    ],
    'patientContext' => [
        'dateOfBirth' => '<string>',
        'patientId' => '<string>',
        'pronouns' => 'HE_HIM|SHE_HER|THEY_THEM',
    ],
    'statusDetails' => '<string>',
    'updatedTime' => <DateTime>,
    'userContext' => [
        'role' => 'CLINICIAN',
        'specialty' => 'PRIMARY_CARE',
        'userId' => '<string>',
    ],
]

Result Details

Members
creationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Date and time the patient insights job was submitted.

encounterContext
Required: Yes
Type: PatientInsightsEncounterContext structure

inputDataConfig
Required: Yes
Type: InputDataConfig structure

insightsContext
Required: Yes
Type: InsightsContext structure

insightsOutput
Type: InsightsOutput structure

jobArn
Required: Yes
Type: string

jobId
Required: Yes
Type: string

jobStatus
Required: Yes
Type: string

outputDataConfig
Required: Yes
Type: OutputDataConfig structure

patientContext
Required: Yes
Type: PatientInsightsPatientContext structure

statusDetails
Type: string

Contains information about the status of a job.

updatedTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Date and time the patient insights job was last updated.

userContext
Required: Yes
Type: UserContext structure

Errors

InternalServerException:

This error is thrown when a transient error causes our API to fail.

ResourceNotFoundException:

This error is thrown when the requested resource is not found.

AccessDeniedException:

This error is thrown when the client does not supply proper credentials to the API.

ValidationException:

This error is thrown when the client supplies invalid input to the API.

ThrottlingException:

This error is thrown when the client exceeds the allowed request rate.

GetSubscription

$result = $client->getSubscription([/* ... */]);
$promise = $client->getSubscriptionAsync([/* ... */]);

Retrieves information about a Subscription.

Parameter Syntax

$result = $client->getSubscription([
    'domainId' => '<string>', // REQUIRED
    'subscriptionId' => '<string>', // REQUIRED
]);

Parameter Details

Members
domainId
Required: Yes
Type: string

The unique identifier of the parent Domain.

subscriptionId
Required: Yes
Type: string

The unique identifier of the Subscription.

Result Syntax

[
    'subscription' => [
        'activatedAt' => <DateTime>,
        'arn' => '<string>',
        'createdAt' => <DateTime>,
        'deactivatedAt' => <DateTime>,
        'domainId' => '<string>',
        'lastUpdatedAt' => <DateTime>,
        'status' => 'ACTIVE|INACTIVE|DELETED',
        'subscriptionId' => '<string>',
    ],
]

Result Details

Members
subscription
Type: SubscriptionDescription structure

Errors

InternalServerException:

This error is thrown when a transient error causes our API to fail.

ResourceNotFoundException:

This error is thrown when the requested resource is not found.

AccessDeniedException:

This error is thrown when the client does not supply proper credentials to the API.

ValidationException:

This error is thrown when the client supplies invalid input to the API.

ListDomains

$result = $client->listDomains([/* ... */]);
$promise = $client->listDomainsAsync([/* ... */]);

Lists Domains for a given account.

Parameter Syntax

$result = $client->listDomains([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'status' => 'ACTIVE|DELETING|DELETED',
]);

Parameter Details

Members
maxResults
Type: int

Maximum number of results to return.

nextToken
Type: string

Token for pagination.

status
Type: string

Filter by Domain status.

Result Syntax

[
    'domains' => [
        [
            'arn' => '<string>',
            'createdAt' => <DateTime>,
            'domainId' => '<string>',
            'name' => '<string>',
            'status' => 'ACTIVE|DELETING|DELETED',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
domains
Required: Yes
Type: Array of DomainSummary structures

List of Domains.

nextToken
Type: string

Token for the next page of results.

Errors

There are no errors described for this operation.

ListSubscriptions

$result = $client->listSubscriptions([/* ... */]);
$promise = $client->listSubscriptionsAsync([/* ... */]);

Lists all Subscriptions within a Domain.

Parameter Syntax

$result = $client->listSubscriptions([
    'domainId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
domainId
Required: Yes
Type: string

The unique identifier of the parent Domain.

maxResults
Type: int

Maximum number of results to return.

nextToken
Type: string

Token for pagination.

Result Syntax

[
    'nextToken' => '<string>',
    'subscriptions' => [
        [
            'activatedAt' => <DateTime>,
            'arn' => '<string>',
            'createdAt' => <DateTime>,
            'deactivatedAt' => <DateTime>,
            'domainId' => '<string>',
            'lastUpdatedAt' => <DateTime>,
            'status' => 'ACTIVE|INACTIVE|DELETED',
            'subscriptionId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

Token for the next page of results.

subscriptions
Required: Yes
Type: Array of SubscriptionDescription structures

List of Subscriptions.

Errors

InternalServerException:

This error is thrown when a transient error causes our API to fail.

ResourceNotFoundException:

This error is thrown when the requested resource is not found.

AccessDeniedException:

This error is thrown when the client does not supply proper credentials to the API.

ValidationException:

This error is thrown when the client supplies invalid input to the API.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Lists the tags associated with the specified resource

Parameter Syntax

$result = $client->listTagsForResource([
    'resourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource to list tags for

Result Syntax

[
    'tags' => ['<string>', ...],
]

Result Details

Members
tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags associated with the resource

Errors

There are no errors described for this operation.

StartPatientInsightsJob

$result = $client->startPatientInsightsJob([/* ... */]);
$promise = $client->startPatientInsightsJobAsync([/* ... */]);

Starts a new patient insights job.

Parameter Syntax

$result = $client->startPatientInsightsJob([
    'clientToken' => '<string>',
    'domainId' => '<string>', // REQUIRED
    'encounterContext' => [ // REQUIRED
        'encounterReason' => '<string>', // REQUIRED
    ],
    'inputDataConfig' => [ // REQUIRED
        'fhirServer' => [
            'fhirEndpoint' => '<string>', // REQUIRED
            'oauthToken' => '<string>',
        ],
        's3Sources' => [
            [
                'uri' => '<string>', // REQUIRED
            ],
            // ...
        ],
    ],
    'insightsContext' => [ // REQUIRED
        'insightsType' => 'PRE_VISIT', // REQUIRED
    ],
    'outputDataConfig' => [ // REQUIRED
        's3OutputPath' => '<string>', // REQUIRED
    ],
    'patientContext' => [ // REQUIRED
        'dateOfBirth' => '<string>',
        'patientId' => '<string>', // REQUIRED
        'pronouns' => 'HE_HIM|SHE_HER|THEY_THEM',
    ],
    'userContext' => [ // REQUIRED
        'role' => 'CLINICIAN', // REQUIRED
        'specialty' => 'PRIMARY_CARE',
        'userId' => '<string>', // REQUIRED
    ],
]);

Parameter Details

Members
clientToken
Type: string

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

domainId
Required: Yes
Type: string

encounterContext
Required: Yes
Type: PatientInsightsEncounterContext structure

inputDataConfig
Required: Yes
Type: InputDataConfig structure

insightsContext
Required: Yes
Type: InsightsContext structure

outputDataConfig
Required: Yes
Type: OutputDataConfig structure

patientContext
Required: Yes
Type: PatientInsightsPatientContext structure

userContext
Required: Yes
Type: UserContext structure

Result Syntax

[
    'creationTime' => <DateTime>,
    'jobArn' => '<string>',
    'jobId' => '<string>',
]

Result Details

Members
creationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

Date and time the patient insights job was submitted.

jobArn
Required: Yes
Type: string

jobId
Required: Yes
Type: string

Errors

InternalServerException:

This error is thrown when a transient error causes our API to fail.

ResourceNotFoundException:

This error is thrown when the requested resource is not found.

AccessDeniedException:

This error is thrown when the client does not supply proper credentials to the API.

ValidationException:

This error is thrown when the client supplies invalid input to the API.

ThrottlingException:

This error is thrown when the client exceeds the allowed request rate.

ConflictException:

This error is thrown when a resource update is no longer valid due to assumptions about initial state changing.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Associates the specified tags with the specified resource

Parameter Syntax

$result = $client->tagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource to tag

tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

The tags to add to the resource

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes the specified tags from the specified resource

Parameter Syntax

$result = $client->untagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource to untag

tagKeys
Required: Yes
Type: Array of strings

The tag keys to remove from the resource

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

There are no errors described for this operation.

Shapes

AccessDeniedException

Description

This error is thrown when the client does not supply proper credentials to the API.

Members
message
Type: string

ArtifactDetails

Description

Details about a generated artifact including location and status

Members
failureReason
Type: string

The reason for failure if the artifact generation failed

outputLocation
Type: string

status
Type: string

The generation status of the artifact

ClinicalNoteGenerationResult

Description

Results of clinical note generation including note, transcript, and summary

Members
afterVisitSummaryResult
Type: ArtifactDetails structure

Details about the generated after visit summary

noteResult
Type: ArtifactDetails structure

Details about the generated clinical note

transcriptResult
Type: ArtifactDetails structure

Details about the generated transcript

ClinicalNoteGenerationSettings

Description

Settings for generating clinical notes from the audio stream

Members
noteTemplateSettings
Required: Yes
Type: NoteTemplateSettings structure

Settings for the note template to use

ClinicalNoteGenerationSettingsResponse

Description

Response containing settings for clinical note generation

Members
noteTemplateSettings

Settings for the note template used

ConflictException

Description

This error is thrown when a resource update is no longer valid due to assumptions about initial state changing.

Members
message
Type: string

CreateWebAppConfiguration

Description

Input configuration for creating a Pulse web application. Used only in CreateDomain operation input.

Members
ehrRole
Required: Yes
Type: string

ARN of the IAM role used for EHR operations.

idcInstanceId
Required: Yes
Type: string

The Identity Center instance ID to use for creating the application.

idcRegion
Required: Yes
Type: string

The AWS region where Identity Center is configured.

CustomTemplate

Description

Configuration for using a custom note template with specific instructions

Members
templateInstructions
Required: Yes
Type: Array of TemplateSectionInstruction structures

Custom instructions for each section of the template

templateType
Required: Yes
Type: string

The base template type to customize

CustomTemplateResponse

Description

Response containing custom template information

Members
templateType
Type: string

The base template type that was customized

DomainSummary

Description

Summary information about a Domain.

Members
arn
Required: Yes
Type: string

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Domain was created.

domainId
Required: Yes
Type: string

The unique identifier of the Domain.

name
Required: Yes
Type: string

status
Required: Yes
Type: string

EncounterContext

Description

Context information about the clinical encounter

Members
unstructuredContext
Type: string

Unstructured context information in markdown format

EncryptionContext

Description

Encryption context for a Domain.

Members
encryptionType
Required: Yes
Type: string

The type of encryption key used.

kmsKeyArn
Type: string

The ARN of the KMS key. Only present when encryptionType is CUSTOMER_MANAGED_KEY.

FHIRServer

Description

FHIR server configuration for input data source

Members
fhirEndpoint
Required: Yes
Type: string

FHIR server endpoint URL for accessing patient data.

oauthToken
Type: string

OAuth token for authenticating with the FHIR server.

InputDataConfig

Description

Configuration details for input patient data

Members
fhirServer
Type: FHIRServer structure

FHIR server configuration to retrieve patient data.

s3Sources
Type: Array of S3Source structures

List of S3 sources containing patient data.

InsightsContext

Description

Details for insights that user wants to generate

Members
insightsType
Required: Yes
Type: string

InsightsOutput

Description

Output of patient insights job

Members
uri
Required: Yes
Type: string

InternalServerException

Description

This error is thrown when a transient error causes our API to fail.

Members
message
Type: string

ManagedTemplate

Description

Configuration for using a managed note template

Members
templateType
Required: Yes
Type: string

The type of managed template to use

ManagedTemplateResponse

Description

Response containing managed template information

Members
templateType
Type: string

The type of managed template used

MedicalScribeAudioEvent

Description

An event containing audio data for the Medical Scribe stream

Members
audioChunk
Required: Yes
Type: blob (string|resource|Psr\Http\Message\StreamInterface)

The audio data chunk

MedicalScribeChannelDefinition

Description

Defines a channel in the audio stream

Members
channelId
Required: Yes
Type: int

The channel identifier

participantRole
Required: Yes
Type: string

The role of the participant on this channel

MedicalScribeConfigurationEvent

Description

An event containing configuration for the Medical Scribe session

Members
channelDefinitions
Type: Array of MedicalScribeChannelDefinition structures

Channel definitions for the audio stream

encounterContext
Type: EncounterContext structure

Context information about the clinical encounter

postStreamActionSettings
Required: Yes
Type: MedicalScribePostStreamActionSettings structure

Settings for actions to perform after the stream ends

MedicalScribeListeningSessionDetails

Description

Detailed information about a Medical Scribe listening session

Members
channelDefinitions
Type: Array of MedicalScribeChannelDefinition structures

Channel definitions for the audio stream

domainId
Type: string

The Domain identifier

encounterContextProvided
Type: boolean

Indicates whether encounter context was provided

languageCode
Type: string

The Language Code for the audio in the session

mediaEncoding
Type: string

The encoding for the input audio

mediaSampleRateHertz
Type: int

The sample rate of the input audio

postStreamActionResult

Results of post-stream actions

postStreamActionSettings

Settings for post-stream actions

sessionId
Type: string

The Session identifier

streamCreationTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the stream was created

streamEndTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the stream ended

streamStatus
Type: string

The current status of the stream

subscriptionId
Type: string

The Subscription identifier

MedicalScribePostStreamActionSettings

Description

Settings for actions to perform after the audio stream ends

Members
clinicalNoteGenerationSettings
Required: Yes
Type: ClinicalNoteGenerationSettings structure

Settings for clinical note generation

outputS3Uri
Required: Yes
Type: string

MedicalScribePostStreamActionSettingsResponse

Description

Response containing settings for post-stream actions

Members
clinicalNoteGenerationSettings
Required: Yes
Type: ClinicalNoteGenerationSettingsResponse structure

Settings for clinical note generation

outputS3Uri
Required: Yes
Type: string

MedicalScribePostStreamActionsResult

Description

Results of post-stream actions performed after the audio stream ended

Members
clinicalNoteGenerationResult

Results of clinical note generation

MedicalScribeSessionControlEvent

Description

An event for controlling the Medical Scribe session

Members
type
Type: string

The type of session control event

MedicalScribeTranscriptEvent

Description

An event containing transcript data from the Medical Scribe stream

Members
transcriptSegment

A segment of the transcript

MedicalScribeTranscriptSegment

Description

A segment of transcript text with timing and channel information

Members
audioBeginOffset
Type: double

The offset from audio start when the audio for this segment begins

audioEndOffset
Type: double

The offset from audio start when the audio for this segment ends

channelId
Type: string

The channel identifier for this segment

content
Type: string

The transcript text content

isPartial
Type: boolean

Indicates whether this is a partial or final transcript

segmentId
Type: string

The unique identifier for this segment

NoteTemplateSettings

Description

Settings for the note template to use for clinical note generation

Members
customTemplate
Type: CustomTemplate structure

managedTemplate
Type: ManagedTemplate structure

OutputDataConfig

Description

Configuration details for insights output.

Members
s3OutputPath
Required: Yes
Type: string

S3 URI where the insights output will be stored.

PatientInsightsEncounterContext

Description

Details for an encounter

Members
encounterReason
Required: Yes
Type: string

Chief complaint for the visit

PatientInsightsPatientContext

Description

Details for a patient

Members
dateOfBirth
Type: string

Date of birth of the patient.

patientId
Required: Yes
Type: string

Unique identifier of the patient

pronouns
Type: string

Pronouns preferred by the patient.

ResourceNotFoundException

Description

This error is thrown when the requested resource is not found.

Members
message
Type: string

S3Source

Description

S3 uri for input data source

Members
uri
Required: Yes
Type: string

The S3 URI.

ServiceQuotaExceededException

Description

The request exceeds a service quota.

Members
message
Type: string

StartMedicalScribeListeningSessionInput

Members
domainId
Required: Yes
Type: string

The Domain identifier

inputStream
Type: EventParsingIterator supplying the following structures: MedicalScribeAudioEvent, MedicalScribeSessionControlEvent, MedicalScribeConfigurationEvent

languageCode
Required: Yes
Type: string

The Language Code for the audio in the session

mediaEncoding
Required: Yes
Type: string

The encoding for the input audio

mediaSampleRateHertz
Required: Yes
Type: int

The sample rate of the input audio

sessionId
Required: Yes
Type: string

The Session identifier

subscriptionId
Required: Yes
Type: string

The Subscription identifier

StartMedicalScribeListeningSessionOutput

Members
domainId
Type: string

The Domain identifier

languageCode
Type: string

The Language Code for the audio in the session

mediaEncoding
Type: string

The encoding for the input audio

mediaSampleRateHertz
Type: int

The sample rate of the input audio

requestId
Type: string

The Request identifier

responseStream
Type: EventParsingIterator supplying the following structures: MedicalScribeTranscriptEvent, InternalServerException, ValidationException

The output stream containing transcript events

sessionId
Type: string

The Session identifier

subscriptionId
Type: string

The Subscription identifier

SubscriptionDescription

Description

Complete subscription resource data.

Members
activatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

arn
Required: Yes
Type: string

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

deactivatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

domainId
Required: Yes
Type: string

lastUpdatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

status
Required: Yes
Type: string

subscriptionId
Required: Yes
Type: string

TemplateSectionInstruction

Description

Instructions for generating a specific section of a clinical note

Members
sectionHeader
Required: Yes
Type: string

The header for this section of the template

sectionInstruction
Required: Yes
Type: string

The instruction for generating this section

ThrottlingException

Description

This error is thrown when the client exceeds the allowed request rate.

Members
message
Type: string

UserContext

Description

Details for user initiating insights job

Members
role
Required: Yes
Type: string

specialty
Type: string

userId
Required: Yes
Type: string

Unique identifier of the user

ValidationException

Description

This error is thrown when the client supplies invalid input to the API.

Members
message
Type: string

WebAppConfiguration

Description

Configuration for the Domain web application, including Identity Center settings. If provided, all fields are required.

Members
ehrRole
Required: Yes
Type: string

ARN of the IAM role used for EHR operations.

idcApplicationId
Required: Yes
Type: string

The Identity Center application ID associated with this Domain.

idcRegion
Required: Yes
Type: string

The AWS region where Identity Center is configured.