@aws-sdk/client-connecthealth 3.1003.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +313 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +483 -0
- package/dist-cjs/models/ConnectHealthServiceException.js +12 -0
- package/dist-cjs/models/errors.js +99 -0
- package/dist-cjs/runtimeConfig.browser.js +43 -0
- package/dist-cjs/runtimeConfig.js +60 -0
- package/dist-cjs/runtimeConfig.native.js +19 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +691 -0
- package/dist-es/ConnectHealth.js +45 -0
- package/dist-es/ConnectHealthClient.js +54 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/ActivateSubscriptionCommand.js +16 -0
- package/dist-es/commands/CreateDomainCommand.js +16 -0
- package/dist-es/commands/CreateSubscriptionCommand.js +16 -0
- package/dist-es/commands/DeactivateSubscriptionCommand.js +16 -0
- package/dist-es/commands/DeleteDomainCommand.js +16 -0
- package/dist-es/commands/GetDomainCommand.js +16 -0
- package/dist-es/commands/GetMedicalScribeListeningSessionCommand.js +16 -0
- package/dist-es/commands/GetPatientInsightsJobCommand.js +16 -0
- package/dist-es/commands/GetSubscriptionCommand.js +16 -0
- package/dist-es/commands/ListDomainsCommand.js +16 -0
- package/dist-es/commands/ListSubscriptionsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/StartMedicalScribeListeningSessionCommand.js +25 -0
- package/dist-es/commands/StartPatientInsightsJobCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/ConnectHealthServiceException.js +8 -0
- package/dist-es/models/enums.js +76 -0
- package/dist-es/models/errors.js +89 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDomainsPaginator.js +4 -0
- package/dist-es/pagination/ListSubscriptionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +38 -0
- package/dist-es/runtimeConfig.js +55 -0
- package/dist-es/runtimeConfig.native.js +15 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +687 -0
- package/dist-types/ConnectHealth.d.ts +137 -0
- package/dist-types/ConnectHealthClient.d.ts +215 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/ActivateSubscriptionCommand.d.ts +96 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +101 -0
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +96 -0
- package/dist-types/commands/DeactivateSubscriptionCommand.d.ts +96 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +79 -0
- package/dist-types/commands/GetDomainCommand.d.ts +95 -0
- package/dist-types/commands/GetMedicalScribeListeningSessionCommand.d.ts +140 -0
- package/dist-types/commands/GetPatientInsightsJobCommand.d.ts +128 -0
- package/dist-types/commands/GetSubscriptionCommand.d.ts +96 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +85 -0
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +100 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +76 -0
- package/dist-types/commands/StartMedicalScribeListeningSessionCommand.d.ts +159 -0
- package/dist-types/commands/StartPatientInsightsJobCommand.d.ts +125 -0
- package/dist-types/commands/TagResourceCommand.d.ts +75 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +75 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +17 -0
- package/dist-types/models/ConnectHealthServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +204 -0
- package/dist-types/models/errors.d.ts +90 -0
- package/dist-types/models/models_0.d.ts +1519 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListDomainsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +100 -0
- package/dist-types/ts3.4/ConnectHealth.d.ts +304 -0
- package/dist-types/ts3.4/ConnectHealthClient.d.ts +232 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/ActivateSubscriptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeactivateSubscriptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetMedicalScribeListeningSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPatientInsightsJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartMedicalScribeListeningSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartPatientInsightsJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/ConnectHealthServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +102 -0
- package/dist-types/ts3.4/models/errors.d.ts +53 -0
- package/dist-types/ts3.4/models/models_0.d.ts +470 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +105 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +100 -0
- package/package.json +105 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ConnectHealthServiceException as __BaseException } from "./ConnectHealthServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class InternalServerException extends __BaseException {
|
|
11
|
+
readonly name: "InternalServerException";
|
|
12
|
+
readonly $fault: "server";
|
|
13
|
+
$retryable: {};
|
|
14
|
+
constructor(
|
|
15
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
19
|
+
readonly name: "ResourceNotFoundException";
|
|
20
|
+
readonly $fault: "client";
|
|
21
|
+
constructor(
|
|
22
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export declare class ValidationException extends __BaseException {
|
|
26
|
+
readonly name: "ValidationException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
constructor(
|
|
29
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
export declare class ConflictException extends __BaseException {
|
|
33
|
+
readonly name: "ConflictException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
36
|
+
}
|
|
37
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
38
|
+
readonly name: "ServiceQuotaExceededException";
|
|
39
|
+
readonly $fault: "client";
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export declare class ThrottlingException extends __BaseException {
|
|
45
|
+
readonly name: "ThrottlingException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
$retryable: {
|
|
48
|
+
throttling: boolean;
|
|
49
|
+
};
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CustomTemplateBase,
|
|
3
|
+
DomainStatus,
|
|
4
|
+
EncryptionType,
|
|
5
|
+
InsightsType,
|
|
6
|
+
JobStatus,
|
|
7
|
+
ManagedNoteTemplate,
|
|
8
|
+
MedicalScribeLanguageCode,
|
|
9
|
+
MedicalScribeMediaEncoding,
|
|
10
|
+
MedicalScribeParticipantRole,
|
|
11
|
+
MedicalScribeSessionControlEventType,
|
|
12
|
+
MedicalScribeStreamStatus,
|
|
13
|
+
PostStreamArtifactGenerationStatus,
|
|
14
|
+
Pronouns,
|
|
15
|
+
ProviderRole,
|
|
16
|
+
Specialty,
|
|
17
|
+
SubscriptionStatus,
|
|
18
|
+
} from "./enums";
|
|
19
|
+
import { InternalServerException, ValidationException } from "./errors";
|
|
20
|
+
export interface ActivateSubscriptionInput {
|
|
21
|
+
domainId: string | undefined;
|
|
22
|
+
subscriptionId: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
export interface SubscriptionDescription {
|
|
25
|
+
domainId: string | undefined;
|
|
26
|
+
subscriptionId: string | undefined;
|
|
27
|
+
arn: string | undefined;
|
|
28
|
+
status: SubscriptionStatus | undefined;
|
|
29
|
+
createdAt: Date | undefined;
|
|
30
|
+
lastUpdatedAt: Date | undefined;
|
|
31
|
+
activatedAt?: Date | undefined;
|
|
32
|
+
deactivatedAt?: Date | undefined;
|
|
33
|
+
}
|
|
34
|
+
export interface ActivateSubscriptionOutput {
|
|
35
|
+
subscription?: SubscriptionDescription | undefined;
|
|
36
|
+
}
|
|
37
|
+
export interface ArtifactDetails {
|
|
38
|
+
outputLocation?: string | undefined;
|
|
39
|
+
status?: PostStreamArtifactGenerationStatus | undefined;
|
|
40
|
+
failureReason?: string | undefined;
|
|
41
|
+
}
|
|
42
|
+
export interface ClinicalNoteGenerationResult {
|
|
43
|
+
noteResult?: ArtifactDetails | undefined;
|
|
44
|
+
transcriptResult?: ArtifactDetails | undefined;
|
|
45
|
+
afterVisitSummaryResult?: ArtifactDetails | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface TemplateSectionInstruction {
|
|
48
|
+
sectionHeader: string | undefined;
|
|
49
|
+
sectionInstruction: string | undefined;
|
|
50
|
+
}
|
|
51
|
+
export interface CustomTemplate {
|
|
52
|
+
templateType: CustomTemplateBase | undefined;
|
|
53
|
+
templateInstructions: TemplateSectionInstruction[] | undefined;
|
|
54
|
+
}
|
|
55
|
+
export interface ManagedTemplate {
|
|
56
|
+
templateType: ManagedNoteTemplate | undefined;
|
|
57
|
+
}
|
|
58
|
+
export type NoteTemplateSettings =
|
|
59
|
+
| NoteTemplateSettings.CustomTemplateMember
|
|
60
|
+
| NoteTemplateSettings.ManagedTemplateMember
|
|
61
|
+
| NoteTemplateSettings.$UnknownMember;
|
|
62
|
+
export declare namespace NoteTemplateSettings {
|
|
63
|
+
interface ManagedTemplateMember {
|
|
64
|
+
managedTemplate: ManagedTemplate;
|
|
65
|
+
customTemplate?: never;
|
|
66
|
+
$unknown?: never;
|
|
67
|
+
}
|
|
68
|
+
interface CustomTemplateMember {
|
|
69
|
+
managedTemplate?: never;
|
|
70
|
+
customTemplate: CustomTemplate;
|
|
71
|
+
$unknown?: never;
|
|
72
|
+
}
|
|
73
|
+
interface $UnknownMember {
|
|
74
|
+
managedTemplate?: never;
|
|
75
|
+
customTemplate?: never;
|
|
76
|
+
$unknown: [string, any];
|
|
77
|
+
}
|
|
78
|
+
interface Visitor<T> {
|
|
79
|
+
managedTemplate: (value: ManagedTemplate) => T;
|
|
80
|
+
customTemplate: (value: CustomTemplate) => T;
|
|
81
|
+
_: (name: string, value: any) => T;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
export interface ClinicalNoteGenerationSettings {
|
|
85
|
+
noteTemplateSettings: NoteTemplateSettings | undefined;
|
|
86
|
+
}
|
|
87
|
+
export interface CustomTemplateResponse {
|
|
88
|
+
templateType?: CustomTemplateBase | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface ManagedTemplateResponse {
|
|
91
|
+
templateType?: ManagedNoteTemplate | undefined;
|
|
92
|
+
}
|
|
93
|
+
export type NoteTemplateSettingsResponse =
|
|
94
|
+
| NoteTemplateSettingsResponse.CustomTemplateMember
|
|
95
|
+
| NoteTemplateSettingsResponse.ManagedTemplateMember
|
|
96
|
+
| NoteTemplateSettingsResponse.$UnknownMember;
|
|
97
|
+
export declare namespace NoteTemplateSettingsResponse {
|
|
98
|
+
interface ManagedTemplateMember {
|
|
99
|
+
managedTemplate: ManagedTemplateResponse;
|
|
100
|
+
customTemplate?: never;
|
|
101
|
+
$unknown?: never;
|
|
102
|
+
}
|
|
103
|
+
interface CustomTemplateMember {
|
|
104
|
+
managedTemplate?: never;
|
|
105
|
+
customTemplate: CustomTemplateResponse;
|
|
106
|
+
$unknown?: never;
|
|
107
|
+
}
|
|
108
|
+
interface $UnknownMember {
|
|
109
|
+
managedTemplate?: never;
|
|
110
|
+
customTemplate?: never;
|
|
111
|
+
$unknown: [string, any];
|
|
112
|
+
}
|
|
113
|
+
interface Visitor<T> {
|
|
114
|
+
managedTemplate: (value: ManagedTemplateResponse) => T;
|
|
115
|
+
customTemplate: (value: CustomTemplateResponse) => T;
|
|
116
|
+
_: (name: string, value: any) => T;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
export interface ClinicalNoteGenerationSettingsResponse {
|
|
120
|
+
noteTemplateSettings?: NoteTemplateSettingsResponse | undefined;
|
|
121
|
+
}
|
|
122
|
+
export interface CreateWebAppConfiguration {
|
|
123
|
+
ehrRole: string | undefined;
|
|
124
|
+
idcInstanceId: string | undefined;
|
|
125
|
+
idcRegion: string | undefined;
|
|
126
|
+
}
|
|
127
|
+
export interface CreateDomainInput {
|
|
128
|
+
name: string | undefined;
|
|
129
|
+
kmsKeyArn?: string | undefined;
|
|
130
|
+
webAppSetupConfiguration?: CreateWebAppConfiguration | undefined;
|
|
131
|
+
tags?: Record<string, string> | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface EncryptionContext {
|
|
134
|
+
encryptionType: EncryptionType | undefined;
|
|
135
|
+
kmsKeyArn?: string | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface WebAppConfiguration {
|
|
138
|
+
ehrRole: string | undefined;
|
|
139
|
+
idcApplicationId: string | undefined;
|
|
140
|
+
idcRegion: string | undefined;
|
|
141
|
+
}
|
|
142
|
+
export interface CreateDomainOutput {
|
|
143
|
+
domainId: string | undefined;
|
|
144
|
+
arn: string | undefined;
|
|
145
|
+
name: string | undefined;
|
|
146
|
+
kmsKeyArn?: string | undefined;
|
|
147
|
+
encryptionContext?: EncryptionContext | undefined;
|
|
148
|
+
status: DomainStatus | undefined;
|
|
149
|
+
webAppUrl?: string | undefined;
|
|
150
|
+
webAppConfiguration?: WebAppConfiguration | undefined;
|
|
151
|
+
createdAt: Date | undefined;
|
|
152
|
+
}
|
|
153
|
+
export interface CreateSubscriptionInput {
|
|
154
|
+
domainId: string | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface CreateSubscriptionOutput {
|
|
157
|
+
domainId: string | undefined;
|
|
158
|
+
subscriptionId: string | undefined;
|
|
159
|
+
arn: string | undefined;
|
|
160
|
+
status: SubscriptionStatus | undefined;
|
|
161
|
+
createdAt: Date | undefined;
|
|
162
|
+
lastUpdatedAt: Date | undefined;
|
|
163
|
+
activatedAt?: Date | undefined;
|
|
164
|
+
deactivatedAt?: Date | undefined;
|
|
165
|
+
}
|
|
166
|
+
export interface DeactivateSubscriptionInput {
|
|
167
|
+
domainId: string | undefined;
|
|
168
|
+
subscriptionId: string | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface DeactivateSubscriptionOutput {
|
|
171
|
+
subscription?: SubscriptionDescription | undefined;
|
|
172
|
+
}
|
|
173
|
+
export interface DeleteDomainInput {
|
|
174
|
+
domainId: string | undefined;
|
|
175
|
+
}
|
|
176
|
+
export interface DeleteDomainOutput {
|
|
177
|
+
domainId: string | undefined;
|
|
178
|
+
arn: string | undefined;
|
|
179
|
+
status: DomainStatus | undefined;
|
|
180
|
+
}
|
|
181
|
+
export interface GetDomainInput {
|
|
182
|
+
domainId: string | undefined;
|
|
183
|
+
}
|
|
184
|
+
export interface GetDomainOutput {
|
|
185
|
+
domainId: string | undefined;
|
|
186
|
+
arn: string | undefined;
|
|
187
|
+
name: string | undefined;
|
|
188
|
+
kmsKeyArn?: string | undefined;
|
|
189
|
+
encryptionContext?: EncryptionContext | undefined;
|
|
190
|
+
status: DomainStatus | undefined;
|
|
191
|
+
webAppUrl?: string | undefined;
|
|
192
|
+
webAppConfiguration?: WebAppConfiguration | undefined;
|
|
193
|
+
createdAt: Date | undefined;
|
|
194
|
+
tags?: Record<string, string> | undefined;
|
|
195
|
+
}
|
|
196
|
+
export interface GetMedicalScribeListeningSessionInput {
|
|
197
|
+
sessionId: string | undefined;
|
|
198
|
+
domainId: string | undefined;
|
|
199
|
+
subscriptionId: string | undefined;
|
|
200
|
+
}
|
|
201
|
+
export interface MedicalScribeChannelDefinition {
|
|
202
|
+
channelId: number | undefined;
|
|
203
|
+
participantRole: MedicalScribeParticipantRole | undefined;
|
|
204
|
+
}
|
|
205
|
+
export interface MedicalScribePostStreamActionsResult {
|
|
206
|
+
clinicalNoteGenerationResult?: ClinicalNoteGenerationResult | undefined;
|
|
207
|
+
}
|
|
208
|
+
export interface MedicalScribePostStreamActionSettingsResponse {
|
|
209
|
+
outputS3Uri: string | undefined;
|
|
210
|
+
clinicalNoteGenerationSettings:
|
|
211
|
+
| ClinicalNoteGenerationSettingsResponse
|
|
212
|
+
| undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface MedicalScribeListeningSessionDetails {
|
|
215
|
+
sessionId?: string | undefined;
|
|
216
|
+
domainId?: string | undefined;
|
|
217
|
+
subscriptionId?: string | undefined;
|
|
218
|
+
languageCode?: MedicalScribeLanguageCode | undefined;
|
|
219
|
+
mediaSampleRateHertz?: number | undefined;
|
|
220
|
+
mediaEncoding?: MedicalScribeMediaEncoding | undefined;
|
|
221
|
+
channelDefinitions?: MedicalScribeChannelDefinition[] | undefined;
|
|
222
|
+
postStreamActionSettings?:
|
|
223
|
+
| MedicalScribePostStreamActionSettingsResponse
|
|
224
|
+
| undefined;
|
|
225
|
+
postStreamActionResult?: MedicalScribePostStreamActionsResult | undefined;
|
|
226
|
+
encounterContextProvided?: boolean | undefined;
|
|
227
|
+
streamStatus?: MedicalScribeStreamStatus | undefined;
|
|
228
|
+
streamCreationTime?: Date | undefined;
|
|
229
|
+
streamEndTime?: Date | undefined;
|
|
230
|
+
}
|
|
231
|
+
export interface GetMedicalScribeListeningSessionOutput {
|
|
232
|
+
medicalScribeListeningSessionDetails?:
|
|
233
|
+
| MedicalScribeListeningSessionDetails
|
|
234
|
+
| undefined;
|
|
235
|
+
}
|
|
236
|
+
export interface GetPatientInsightsJobRequest {
|
|
237
|
+
domainId: string | undefined;
|
|
238
|
+
jobId: string | undefined;
|
|
239
|
+
}
|
|
240
|
+
export interface PatientInsightsEncounterContext {
|
|
241
|
+
encounterReason: string | undefined;
|
|
242
|
+
}
|
|
243
|
+
export interface FHIRServer {
|
|
244
|
+
fhirEndpoint: string | undefined;
|
|
245
|
+
oauthToken?: string | undefined;
|
|
246
|
+
}
|
|
247
|
+
export interface S3Source {
|
|
248
|
+
uri: string | undefined;
|
|
249
|
+
}
|
|
250
|
+
export interface InputDataConfig {
|
|
251
|
+
fhirServer?: FHIRServer | undefined;
|
|
252
|
+
s3Sources?: S3Source[] | undefined;
|
|
253
|
+
}
|
|
254
|
+
export interface InsightsContext {
|
|
255
|
+
insightsType: InsightsType | undefined;
|
|
256
|
+
}
|
|
257
|
+
export interface InsightsOutput {
|
|
258
|
+
uri: string | undefined;
|
|
259
|
+
}
|
|
260
|
+
export interface OutputDataConfig {
|
|
261
|
+
s3OutputPath: string | undefined;
|
|
262
|
+
}
|
|
263
|
+
export interface PatientInsightsPatientContext {
|
|
264
|
+
patientId: string | undefined;
|
|
265
|
+
dateOfBirth?: string | undefined;
|
|
266
|
+
pronouns?: Pronouns | undefined;
|
|
267
|
+
}
|
|
268
|
+
export interface UserContext {
|
|
269
|
+
role: ProviderRole | undefined;
|
|
270
|
+
userId: string | undefined;
|
|
271
|
+
specialty?: Specialty | undefined;
|
|
272
|
+
}
|
|
273
|
+
export interface GetPatientInsightsJobResponse {
|
|
274
|
+
jobId: string | undefined;
|
|
275
|
+
jobArn: string | undefined;
|
|
276
|
+
jobStatus: JobStatus | undefined;
|
|
277
|
+
creationTime?: Date | undefined;
|
|
278
|
+
updatedTime?: Date | undefined;
|
|
279
|
+
insightsOutput?: InsightsOutput | undefined;
|
|
280
|
+
statusDetails?: string | undefined;
|
|
281
|
+
patientContext: PatientInsightsPatientContext | undefined;
|
|
282
|
+
insightsContext: InsightsContext | undefined;
|
|
283
|
+
encounterContext: PatientInsightsEncounterContext | undefined;
|
|
284
|
+
userContext: UserContext | undefined;
|
|
285
|
+
inputDataConfig: InputDataConfig | undefined;
|
|
286
|
+
outputDataConfig: OutputDataConfig | undefined;
|
|
287
|
+
}
|
|
288
|
+
export interface GetSubscriptionInput {
|
|
289
|
+
domainId: string | undefined;
|
|
290
|
+
subscriptionId: string | undefined;
|
|
291
|
+
}
|
|
292
|
+
export interface GetSubscriptionOutput {
|
|
293
|
+
subscription?: SubscriptionDescription | undefined;
|
|
294
|
+
}
|
|
295
|
+
export interface ListDomainsInput {
|
|
296
|
+
status?: DomainStatus | undefined;
|
|
297
|
+
maxResults?: number | undefined;
|
|
298
|
+
nextToken?: string | undefined;
|
|
299
|
+
}
|
|
300
|
+
export interface DomainSummary {
|
|
301
|
+
domainId: string | undefined;
|
|
302
|
+
arn: string | undefined;
|
|
303
|
+
name: string | undefined;
|
|
304
|
+
status: DomainStatus | undefined;
|
|
305
|
+
createdAt: Date | undefined;
|
|
306
|
+
}
|
|
307
|
+
export interface ListDomainsOutput {
|
|
308
|
+
domains: DomainSummary[] | undefined;
|
|
309
|
+
nextToken?: string | undefined;
|
|
310
|
+
}
|
|
311
|
+
export interface ListSubscriptionsInput {
|
|
312
|
+
domainId: string | undefined;
|
|
313
|
+
maxResults?: number | undefined;
|
|
314
|
+
nextToken?: string | undefined;
|
|
315
|
+
}
|
|
316
|
+
export interface ListSubscriptionsOutput {
|
|
317
|
+
subscriptions: SubscriptionDescription[] | undefined;
|
|
318
|
+
nextToken?: string | undefined;
|
|
319
|
+
}
|
|
320
|
+
export interface ListTagsForResourceInput {
|
|
321
|
+
resourceArn: string | undefined;
|
|
322
|
+
}
|
|
323
|
+
export interface ListTagsForResourceOutput {
|
|
324
|
+
tags?: Record<string, string> | undefined;
|
|
325
|
+
}
|
|
326
|
+
export interface MedicalScribeAudioEvent {
|
|
327
|
+
audioChunk: Uint8Array | undefined;
|
|
328
|
+
}
|
|
329
|
+
export interface EncounterContext {
|
|
330
|
+
unstructuredContext?: string | undefined;
|
|
331
|
+
}
|
|
332
|
+
export interface MedicalScribePostStreamActionSettings {
|
|
333
|
+
outputS3Uri: string | undefined;
|
|
334
|
+
clinicalNoteGenerationSettings: ClinicalNoteGenerationSettings | undefined;
|
|
335
|
+
}
|
|
336
|
+
export interface MedicalScribeConfigurationEvent {
|
|
337
|
+
postStreamActionSettings: MedicalScribePostStreamActionSettings | undefined;
|
|
338
|
+
channelDefinitions?: MedicalScribeChannelDefinition[] | undefined;
|
|
339
|
+
encounterContext?: EncounterContext | undefined;
|
|
340
|
+
}
|
|
341
|
+
export interface MedicalScribeSessionControlEvent {
|
|
342
|
+
type?: MedicalScribeSessionControlEventType | undefined;
|
|
343
|
+
}
|
|
344
|
+
export type MedicalScribeInputStream =
|
|
345
|
+
| MedicalScribeInputStream.AudioEventMember
|
|
346
|
+
| MedicalScribeInputStream.ConfigurationEventMember
|
|
347
|
+
| MedicalScribeInputStream.SessionControlEventMember
|
|
348
|
+
| MedicalScribeInputStream.$UnknownMember;
|
|
349
|
+
export declare namespace MedicalScribeInputStream {
|
|
350
|
+
interface AudioEventMember {
|
|
351
|
+
audioEvent: MedicalScribeAudioEvent;
|
|
352
|
+
sessionControlEvent?: never;
|
|
353
|
+
configurationEvent?: never;
|
|
354
|
+
$unknown?: never;
|
|
355
|
+
}
|
|
356
|
+
interface SessionControlEventMember {
|
|
357
|
+
audioEvent?: never;
|
|
358
|
+
sessionControlEvent: MedicalScribeSessionControlEvent;
|
|
359
|
+
configurationEvent?: never;
|
|
360
|
+
$unknown?: never;
|
|
361
|
+
}
|
|
362
|
+
interface ConfigurationEventMember {
|
|
363
|
+
audioEvent?: never;
|
|
364
|
+
sessionControlEvent?: never;
|
|
365
|
+
configurationEvent: MedicalScribeConfigurationEvent;
|
|
366
|
+
$unknown?: never;
|
|
367
|
+
}
|
|
368
|
+
interface $UnknownMember {
|
|
369
|
+
audioEvent?: never;
|
|
370
|
+
sessionControlEvent?: never;
|
|
371
|
+
configurationEvent?: never;
|
|
372
|
+
$unknown: [string, any];
|
|
373
|
+
}
|
|
374
|
+
interface Visitor<T> {
|
|
375
|
+
audioEvent: (value: MedicalScribeAudioEvent) => T;
|
|
376
|
+
sessionControlEvent: (value: MedicalScribeSessionControlEvent) => T;
|
|
377
|
+
configurationEvent: (value: MedicalScribeConfigurationEvent) => T;
|
|
378
|
+
_: (name: string, value: any) => T;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
export interface StartMedicalScribeListeningSessionInput {
|
|
382
|
+
sessionId: string | undefined;
|
|
383
|
+
domainId: string | undefined;
|
|
384
|
+
subscriptionId: string | undefined;
|
|
385
|
+
languageCode: MedicalScribeLanguageCode | undefined;
|
|
386
|
+
mediaSampleRateHertz: number | undefined;
|
|
387
|
+
mediaEncoding: MedicalScribeMediaEncoding | undefined;
|
|
388
|
+
inputStream?: AsyncIterable<MedicalScribeInputStream> | undefined;
|
|
389
|
+
}
|
|
390
|
+
export interface MedicalScribeTranscriptSegment {
|
|
391
|
+
segmentId?: string | undefined;
|
|
392
|
+
audioBeginOffset?: number | undefined;
|
|
393
|
+
audioEndOffset?: number | undefined;
|
|
394
|
+
isPartial?: boolean | undefined;
|
|
395
|
+
channelId?: string | undefined;
|
|
396
|
+
content?: string | undefined;
|
|
397
|
+
}
|
|
398
|
+
export interface MedicalScribeTranscriptEvent {
|
|
399
|
+
transcriptSegment?: MedicalScribeTranscriptSegment | undefined;
|
|
400
|
+
}
|
|
401
|
+
export type MedicalScribeOutputStream =
|
|
402
|
+
| MedicalScribeOutputStream.InternalFailureExceptionMember
|
|
403
|
+
| MedicalScribeOutputStream.TranscriptEventMember
|
|
404
|
+
| MedicalScribeOutputStream.ValidationExceptionMember
|
|
405
|
+
| MedicalScribeOutputStream.$UnknownMember;
|
|
406
|
+
export declare namespace MedicalScribeOutputStream {
|
|
407
|
+
interface TranscriptEventMember {
|
|
408
|
+
transcriptEvent: MedicalScribeTranscriptEvent;
|
|
409
|
+
internalFailureException?: never;
|
|
410
|
+
validationException?: never;
|
|
411
|
+
$unknown?: never;
|
|
412
|
+
}
|
|
413
|
+
interface InternalFailureExceptionMember {
|
|
414
|
+
transcriptEvent?: never;
|
|
415
|
+
internalFailureException: InternalServerException;
|
|
416
|
+
validationException?: never;
|
|
417
|
+
$unknown?: never;
|
|
418
|
+
}
|
|
419
|
+
interface ValidationExceptionMember {
|
|
420
|
+
transcriptEvent?: never;
|
|
421
|
+
internalFailureException?: never;
|
|
422
|
+
validationException: ValidationException;
|
|
423
|
+
$unknown?: never;
|
|
424
|
+
}
|
|
425
|
+
interface $UnknownMember {
|
|
426
|
+
transcriptEvent?: never;
|
|
427
|
+
internalFailureException?: never;
|
|
428
|
+
validationException?: never;
|
|
429
|
+
$unknown: [string, any];
|
|
430
|
+
}
|
|
431
|
+
interface Visitor<T> {
|
|
432
|
+
transcriptEvent: (value: MedicalScribeTranscriptEvent) => T;
|
|
433
|
+
internalFailureException: (value: InternalServerException) => T;
|
|
434
|
+
validationException: (value: ValidationException) => T;
|
|
435
|
+
_: (name: string, value: any) => T;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
export interface StartMedicalScribeListeningSessionOutput {
|
|
439
|
+
sessionId?: string | undefined;
|
|
440
|
+
domainId?: string | undefined;
|
|
441
|
+
subscriptionId?: string | undefined;
|
|
442
|
+
requestId?: string | undefined;
|
|
443
|
+
languageCode?: MedicalScribeLanguageCode | undefined;
|
|
444
|
+
mediaSampleRateHertz?: number | undefined;
|
|
445
|
+
mediaEncoding?: MedicalScribeMediaEncoding | undefined;
|
|
446
|
+
responseStream?: AsyncIterable<MedicalScribeOutputStream> | undefined;
|
|
447
|
+
}
|
|
448
|
+
export interface StartPatientInsightsJobRequest {
|
|
449
|
+
domainId: string | undefined;
|
|
450
|
+
patientContext: PatientInsightsPatientContext | undefined;
|
|
451
|
+
insightsContext: InsightsContext | undefined;
|
|
452
|
+
encounterContext: PatientInsightsEncounterContext | undefined;
|
|
453
|
+
userContext: UserContext | undefined;
|
|
454
|
+
inputDataConfig: InputDataConfig | undefined;
|
|
455
|
+
outputDataConfig: OutputDataConfig | undefined;
|
|
456
|
+
clientToken?: string | undefined;
|
|
457
|
+
}
|
|
458
|
+
export interface StartPatientInsightsJobResponse {
|
|
459
|
+
jobArn: string | undefined;
|
|
460
|
+
jobId: string | undefined;
|
|
461
|
+
creationTime?: Date | undefined;
|
|
462
|
+
}
|
|
463
|
+
export interface TagResourceInput {
|
|
464
|
+
resourceArn: string | undefined;
|
|
465
|
+
tags: Record<string, string> | undefined;
|
|
466
|
+
}
|
|
467
|
+
export interface UntagResourceInput {
|
|
468
|
+
resourceArn: string | undefined;
|
|
469
|
+
tagKeys: string[] | undefined;
|
|
470
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListDomainsCommandInput,
|
|
4
|
+
ListDomainsCommandOutput,
|
|
5
|
+
} from "../commands/ListDomainsCommand";
|
|
6
|
+
import { ConnectHealthPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListDomains: (
|
|
8
|
+
config: ConnectHealthPaginationConfiguration,
|
|
9
|
+
input: ListDomainsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDomainsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListSubscriptionsCommandInput,
|
|
4
|
+
ListSubscriptionsCommandOutput,
|
|
5
|
+
} from "../commands/ListSubscriptionsCommand";
|
|
6
|
+
import { ConnectHealthPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListSubscriptions: (
|
|
8
|
+
config: ConnectHealthPaginationConfiguration,
|
|
9
|
+
input: ListSubscriptionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSubscriptionsCommandOutput>;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { ConnectHealthClientConfig } from "./ConnectHealthClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: ConnectHealthClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
|
+
defaultUserAgentProvider: (
|
|
15
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
16
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
|
+
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
18
|
+
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
19
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
+
requestHandler:
|
|
22
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
23
|
+
| RequestHandler;
|
|
24
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
26
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
27
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
29
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
|
31
|
+
protocol:
|
|
32
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
33
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
34
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
35
|
+
protocolSettings: {
|
|
36
|
+
defaultNamespace?: string;
|
|
37
|
+
[setting: string]: unknown;
|
|
38
|
+
};
|
|
39
|
+
apiVersion: string;
|
|
40
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
41
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
42
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
43
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
44
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
45
|
+
disableHostPrefix: boolean;
|
|
46
|
+
serviceId: string;
|
|
47
|
+
profile?: string;
|
|
48
|
+
logger: import("@smithy/types").Logger;
|
|
49
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
50
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
51
|
+
userAgentAppId?:
|
|
52
|
+
| string
|
|
53
|
+
| undefined
|
|
54
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
55
|
+
retryStrategy?:
|
|
56
|
+
| import("@smithy/types").RetryStrategy
|
|
57
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
58
|
+
endpoint?:
|
|
59
|
+
| ((
|
|
60
|
+
| string
|
|
61
|
+
| import("@smithy/types").Endpoint
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
63
|
+
| import("@smithy/types").EndpointV2
|
|
64
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
65
|
+
) &
|
|
66
|
+
(
|
|
67
|
+
| string
|
|
68
|
+
| import("@smithy/types").Provider<string>
|
|
69
|
+
| import("@smithy/types").Endpoint
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
71
|
+
| import("@smithy/types").EndpointV2
|
|
72
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
73
|
+
))
|
|
74
|
+
| undefined;
|
|
75
|
+
endpointProvider: (
|
|
76
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
77
|
+
context?: {
|
|
78
|
+
logger?: import("@smithy/types").Logger;
|
|
79
|
+
}
|
|
80
|
+
) => import("@smithy/types").EndpointV2;
|
|
81
|
+
tls?: boolean;
|
|
82
|
+
serviceConfiguredEndpoint?: never;
|
|
83
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
84
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
85
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHealthHttpAuthSchemeProvider;
|
|
86
|
+
credentials?:
|
|
87
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
88
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
89
|
+
signer?:
|
|
90
|
+
| import("@smithy/types").RequestSigner
|
|
91
|
+
| ((
|
|
92
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
93
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
|
+
signingEscapePath?: boolean;
|
|
95
|
+
systemClockOffset?: number;
|
|
96
|
+
signingRegion?: string;
|
|
97
|
+
signerConstructor?: new (
|
|
98
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
100
|
+
) => import("@smithy/types").RequestSigner;
|
|
101
|
+
};
|