@aws-sdk/client-healthlake 3.1153.0 → 3.1155.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/dist-cjs/index.js +73 -151
- package/dist-es/HealthLakeClient.js +5 -3
- package/dist-es/models/enums.js +6 -8
- package/dist-es/models/errors.js +0 -75
- package/dist-es/runtimeConfig.browser.js +2 -0
- package/dist-es/runtimeConfig.js +7 -2
- package/dist-es/schemas/schemas_0.js +49 -51
- package/dist-types/HealthLakeClient.d.ts +10 -4
- package/dist-types/commands/UpdateProfileWithAgentCommand.d.ts +19 -23
- package/dist-types/models/enums.d.ts +7 -9
- package/dist-types/models/errors.d.ts +0 -70
- package/dist-types/models/models_0.d.ts +147 -20
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +6 -6
- package/dist-types/ts3.4/HealthLakeClient.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +8 -11
- package/dist-types/ts3.4/models/errors.d.ts +0 -35
- package/dist-types/ts3.4/models/models_0.d.ts +82 -8
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -6
- package/package.json +5 -5
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
const _AC = "AnalyticsConfiguration";
|
|
2
2
|
const _ADE = "AccessDeniedException";
|
|
3
3
|
const _AIM = "AgentInputMessage";
|
|
4
|
-
const _AMOOCE = "AgentMessageOutOfContextException";
|
|
5
4
|
const _AMS = "AgentMessageString";
|
|
6
|
-
const
|
|
5
|
+
const _AOMS = "AgentOutputMessageStream";
|
|
7
6
|
const _AR = "AgentResponse";
|
|
8
7
|
const _AS = "AuthorizationStrategy";
|
|
9
8
|
const _B = "Body";
|
|
@@ -27,7 +26,6 @@ const _CFHIRD = "CreateFHIRDatastore";
|
|
|
27
26
|
const _CFHIRDR = "CreateFHIRDatastoreRequest";
|
|
28
27
|
const _CFHIRDRr = "CreateFHIRDatastoreResponse";
|
|
29
28
|
const _CI = "ConversationId";
|
|
30
|
-
const _CNFE = "ConversationNotFoundException";
|
|
31
29
|
const _CT = "ClientToken";
|
|
32
30
|
const _CTm = "CmkType";
|
|
33
31
|
const _DA = "DatastoreArn";
|
|
@@ -69,11 +67,14 @@ const _DTPVS = "DataTransformationProfileVersionSummary";
|
|
|
69
67
|
const _DTPVSL = "DataTransformationProfileVersionSummaryList";
|
|
70
68
|
const _DTSC = "DataTransformationS3Configuration";
|
|
71
69
|
const _DTV = "DatastoreTypeVersion";
|
|
70
|
+
const _E = "Error";
|
|
72
71
|
const _EC = "ErrorCause";
|
|
73
72
|
const _ECr = "ErrorCategory";
|
|
73
|
+
const _EE = "ErrorEvent";
|
|
74
74
|
const _EJP = "ExportJobProperties";
|
|
75
75
|
const _EJPL = "ExportJobPropertiesList";
|
|
76
76
|
const _EM = "ErrorMessage";
|
|
77
|
+
const _EOOE = "EndOfOutputEvent";
|
|
77
78
|
const _ERP = "EarliestRestorePoint";
|
|
78
79
|
const _ET = "EndTime";
|
|
79
80
|
const _EVPI = "ExistingVersionedProfileId";
|
|
@@ -82,9 +83,11 @@ const _F = "Filter";
|
|
|
82
83
|
const _FDE = "FailedDependencyException";
|
|
83
84
|
const _FEV = "FromExistingVersion";
|
|
84
85
|
const _FGAE = "FineGrainedAuthorizationEnabled";
|
|
86
|
+
const _FRM = "FinalResponseMessage";
|
|
85
87
|
const _GDTP = "GetDataTransformationProfile";
|
|
86
88
|
const _GDTPR = "GetDataTransformationProfileRequest";
|
|
87
89
|
const _GDTPRe = "GetDataTransformationProfileResponse";
|
|
90
|
+
const _HE = "HeartbeatEvent";
|
|
88
91
|
const _I = "Items";
|
|
89
92
|
const _IDC = "InputDataConfig";
|
|
90
93
|
const _IF = "InputFormat";
|
|
@@ -129,10 +132,9 @@ const _M = "Message";
|
|
|
129
132
|
const _MR = "MaxResults";
|
|
130
133
|
const _Me = "Metadata";
|
|
131
134
|
const _NC = "NlpConfiguration";
|
|
132
|
-
const _NIOE = "NotImplementedOperationException";
|
|
133
135
|
const _NT = "NextToken";
|
|
136
|
+
const _O = "Options";
|
|
134
137
|
const _ODC = "OutputDataConfig";
|
|
135
|
-
const _OL = "OptionsList";
|
|
136
138
|
const _PC = "ProfileConfiguration";
|
|
137
139
|
const _PD = "ProfileDescription";
|
|
138
140
|
const _PDC = "PreloadDataConfig";
|
|
@@ -140,7 +142,8 @@ const _PDT = "PreloadDataType";
|
|
|
140
142
|
const _PDTP = "PublishDataTransformationProfile";
|
|
141
143
|
const _PDTPR = "PublishDataTransformationProfileRequest";
|
|
142
144
|
const _PDTPRu = "PublishDataTransformationProfileResponse";
|
|
143
|
-
const _PE = "
|
|
145
|
+
const _PE = "ProgressEvent";
|
|
146
|
+
const _PEr = "ProvenanceEnabled";
|
|
144
147
|
const _PI = "ProfileId";
|
|
145
148
|
const _PM = "ProfileMapping";
|
|
146
149
|
const _PMS = "ProfileMappingSource";
|
|
@@ -193,6 +196,7 @@ const _TJS = "TransformationJobSummary";
|
|
|
193
196
|
const _TJSL = "TransformationJobSummaryList";
|
|
194
197
|
const _TK = "TagKeys";
|
|
195
198
|
const _TL = "TagList";
|
|
199
|
+
const _TME = "TextMessageEvent";
|
|
196
200
|
const _TNOFRWCE = "TotalNumberOfFilesReadWithCustomerError";
|
|
197
201
|
const _TNOIF = "TotalNumberOfImportedFiles";
|
|
198
202
|
const _TNOINFF = "TotalNumberOfImportedNonFhirFiles";
|
|
@@ -218,11 +222,9 @@ const _Th = "Throughput";
|
|
|
218
222
|
const _UDTP = "UpdateDataTransformationProfile";
|
|
219
223
|
const _UDTPR = "UpdateDataTransformationProfileRequest";
|
|
220
224
|
const _UDTPRp = "UpdateDataTransformationProfileResponse";
|
|
221
|
-
const _UE = "UnauthorizedException";
|
|
222
225
|
const _UFHIRD = "UpdateFHIRDatastore";
|
|
223
226
|
const _UFHIRDR = "UpdateFHIRDatastoreRequest";
|
|
224
227
|
const _UFHIRDRp = "UpdateFHIRDatastoreResponse";
|
|
225
|
-
const _UMIMETE = "UnsupportedMIMETypeException";
|
|
226
228
|
const _UPWA = "UpdateProfileWithAgent";
|
|
227
229
|
const _UPWAR = "UpdateProfileWithAgentRequest";
|
|
228
230
|
const _UPWARp = "UpdateProfileWithAgentResponse";
|
|
@@ -248,10 +250,11 @@ const _sA = "submittedAfter";
|
|
|
248
250
|
const _sB = "submittedBefore";
|
|
249
251
|
const _sF = "sourceFormat";
|
|
250
252
|
const _se = "server";
|
|
253
|
+
const _st = "streaming";
|
|
251
254
|
const _v = "version";
|
|
252
255
|
const n0 = "com.amazonaws.healthlake";
|
|
253
256
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
254
|
-
import { AccessDeniedException,
|
|
257
|
+
import { AccessDeniedException, ConflictException, FailedDependencyException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
255
258
|
import { HealthLakeServiceException } from "../models/HealthLakeServiceException";
|
|
256
259
|
const _s_registry = new TypeRegistry(_s);
|
|
257
260
|
export var HealthLakeServiceException$ = [-3, _s, "HealthLakeServiceException", 0, [], []];
|
|
@@ -263,24 +266,12 @@ export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
|
263
266
|
[0]
|
|
264
267
|
];
|
|
265
268
|
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
266
|
-
export var AgentMessageOutOfContextException$ = [-3, n0, _AMOOCE,
|
|
267
|
-
{ [_e]: _c },
|
|
268
|
-
[_M],
|
|
269
|
-
[0], 1
|
|
270
|
-
];
|
|
271
|
-
n0_registry.registerError(AgentMessageOutOfContextException$, AgentMessageOutOfContextException);
|
|
272
269
|
export var ConflictException$ = [-3, n0, _CE,
|
|
273
270
|
{ [_e]: _c, [_hE]: 409 },
|
|
274
271
|
[_M],
|
|
275
272
|
[0]
|
|
276
273
|
];
|
|
277
274
|
n0_registry.registerError(ConflictException$, ConflictException);
|
|
278
|
-
export var ConversationNotFoundException$ = [-3, n0, _CNFE,
|
|
279
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
280
|
-
[_M],
|
|
281
|
-
[0], 1
|
|
282
|
-
];
|
|
283
|
-
n0_registry.registerError(ConversationNotFoundException$, ConversationNotFoundException);
|
|
284
275
|
export var FailedDependencyException$ = [-3, n0, _FDE,
|
|
285
276
|
{ [_e]: _c, [_hE]: 424 },
|
|
286
277
|
[_M],
|
|
@@ -293,12 +284,6 @@ export var InternalServerException$ = [-3, n0, _ISE,
|
|
|
293
284
|
[0]
|
|
294
285
|
];
|
|
295
286
|
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
296
|
-
export var NotImplementedOperationException$ = [-3, n0, _NIOE,
|
|
297
|
-
{ [_e]: _se, [_hE]: 501 },
|
|
298
|
-
[_M],
|
|
299
|
-
[0], 1
|
|
300
|
-
];
|
|
301
|
-
n0_registry.registerError(NotImplementedOperationException$, NotImplementedOperationException);
|
|
302
287
|
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
303
288
|
{ [_e]: _c, [_hE]: 404 },
|
|
304
289
|
[_M],
|
|
@@ -317,18 +302,6 @@ export var ThrottlingException$ = [-3, n0, _TE,
|
|
|
317
302
|
[0]
|
|
318
303
|
];
|
|
319
304
|
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
320
|
-
export var UnauthorizedException$ = [-3, n0, _UE,
|
|
321
|
-
{ [_e]: _c, [_hE]: 401 },
|
|
322
|
-
[_M],
|
|
323
|
-
[0], 1
|
|
324
|
-
];
|
|
325
|
-
n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
|
|
326
|
-
export var UnsupportedMIMETypeException$ = [-3, n0, _UMIMETE,
|
|
327
|
-
{ [_e]: _c, [_hE]: 415 },
|
|
328
|
-
[_M],
|
|
329
|
-
[0], 1
|
|
330
|
-
];
|
|
331
|
-
n0_registry.registerError(UnsupportedMIMETypeException$, UnsupportedMIMETypeException);
|
|
332
305
|
export var ValidationException$ = [-3, n0, _VE,
|
|
333
306
|
{ [_e]: _c, [_hE]: 400 },
|
|
334
307
|
[_M],
|
|
@@ -346,11 +319,6 @@ export var AgentInputMessage$ = [3, n0, _AIM,
|
|
|
346
319
|
[_B, _T],
|
|
347
320
|
[[() => AgentMessageString, 0], 0], 2
|
|
348
321
|
];
|
|
349
|
-
export var AgentOutputMessage$ = [3, n0, _AOM,
|
|
350
|
-
0,
|
|
351
|
-
[_B, _T, _OL],
|
|
352
|
-
[[() => AgentMessageString, 0], 0, [() => DataTransformationChatOptionsList, 0]], 2
|
|
353
|
-
];
|
|
354
322
|
export var AnalyticsConfiguration$ = [3, n0, _AC,
|
|
355
323
|
0,
|
|
356
324
|
[_S],
|
|
@@ -476,11 +444,21 @@ export var DescribeFHIRImportJobResponse$ = [3, n0, _DFHIRIJRe,
|
|
|
476
444
|
[_IJP],
|
|
477
445
|
[() => ImportJobProperties$], 1
|
|
478
446
|
];
|
|
447
|
+
export var EndOfOutputEvent$ = [3, n0, _EOOE,
|
|
448
|
+
0,
|
|
449
|
+
[_FRM, _O, _CI],
|
|
450
|
+
[[() => AgentMessageString, 0], [() => DataTransformationChatOptionsList, 0], 0], 1
|
|
451
|
+
];
|
|
479
452
|
export var ErrorCause$ = [3, n0, _EC,
|
|
480
453
|
0,
|
|
481
454
|
[_EM, _ECr],
|
|
482
455
|
[0, 0]
|
|
483
456
|
];
|
|
457
|
+
export var ErrorEvent$ = [3, n0, _EE,
|
|
458
|
+
0,
|
|
459
|
+
[_E, _M],
|
|
460
|
+
[0, [() => AgentMessageString, 0]], 2
|
|
461
|
+
];
|
|
484
462
|
export var ExistingVersionedProfileSource$ = [3, n0, _EVPS,
|
|
485
463
|
0,
|
|
486
464
|
[_PI, _V],
|
|
@@ -501,6 +479,11 @@ export var GetDataTransformationProfileResponse$ = [3, n0, _GDTPRe,
|
|
|
501
479
|
[_PI, _V, _SF, _TF, _PM, _LUA, _PN, _PD, _CD],
|
|
502
480
|
[0, 1, 0, 0, [() => ProfileMapping, 0], 4, 0, 0, 0], 6
|
|
503
481
|
];
|
|
482
|
+
export var HeartbeatEvent$ = [3, n0, _HE,
|
|
483
|
+
0,
|
|
484
|
+
[],
|
|
485
|
+
[]
|
|
486
|
+
];
|
|
504
487
|
export var IdentityProviderConfiguration$ = [3, n0, _IPC,
|
|
505
488
|
0,
|
|
506
489
|
[_AS, _FGAE, _Me, _ILA],
|
|
@@ -611,6 +594,11 @@ export var ProfileMappingSource$ = [3, n0, _PMS,
|
|
|
611
594
|
[_PM],
|
|
612
595
|
[128 | 0], 1
|
|
613
596
|
];
|
|
597
|
+
export var ProgressEvent$ = [3, n0, _PE,
|
|
598
|
+
0,
|
|
599
|
+
[_M],
|
|
600
|
+
[[() => AgentMessageString, 0]], 1
|
|
601
|
+
];
|
|
614
602
|
export var PublishDataTransformationProfileRequest$ = [3, n0, _PDTPR,
|
|
615
603
|
0,
|
|
616
604
|
[_PI, _SF, _FEV, _CD],
|
|
@@ -648,7 +636,7 @@ export var SseConfiguration$ = [3, n0, _SC,
|
|
|
648
636
|
];
|
|
649
637
|
export var StartDataTransformationJobRequest$ = [3, n0, _SDTJR,
|
|
650
638
|
0,
|
|
651
|
-
[_IDC, _ODC, _DARA, _CT, _PI, _JN, _DDE,
|
|
639
|
+
[_IDC, _ODC, _DARA, _CT, _PI, _JN, _DDE, _PEr],
|
|
652
640
|
[() => TransformationInputDataConfig$, () => TransformationOutputDataConfig$, 0, 0, 0, 0, 2, 2], 5
|
|
653
641
|
];
|
|
654
642
|
export var StartDataTransformationJobResponse$ = [3, n0, _SDTJRt,
|
|
@@ -673,7 +661,7 @@ export var StartFHIRExportJobResponse$ = [3, n0, _SFHIREJRt,
|
|
|
673
661
|
];
|
|
674
662
|
export var StartFHIRImportJobRequest$ = [3, n0, _SFHIRIJR,
|
|
675
663
|
0,
|
|
676
|
-
[_IDC, _JODC, _DI, _DARA, _JN, _CT, _VL, _PI, _IF, _DDE,
|
|
664
|
+
[_IDC, _JODC, _DI, _DARA, _JN, _CT, _VL, _PI, _IF, _DDE, _PEr],
|
|
677
665
|
[() => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, [0, 4], 0, 0, 0, 2, 2], 4
|
|
678
666
|
];
|
|
679
667
|
export var StartFHIRImportJobResponse$ = [3, n0, _SFHIRIJRt,
|
|
@@ -696,6 +684,11 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
696
684
|
[],
|
|
697
685
|
[]
|
|
698
686
|
];
|
|
687
|
+
export var TextMessageEvent$ = [3, n0, _TME,
|
|
688
|
+
0,
|
|
689
|
+
[_M],
|
|
690
|
+
[[() => AgentMessageString, 0]], 1
|
|
691
|
+
];
|
|
699
692
|
export var TransformationInputDataConfig$ = [3, n0, _TIDC,
|
|
700
693
|
0,
|
|
701
694
|
[_SU, _SF],
|
|
@@ -708,7 +701,7 @@ export var TransformationJobProgressReport$ = [3, n0, _TJPR,
|
|
|
708
701
|
];
|
|
709
702
|
export var TransformationJobProperties$ = [3, n0, _TJP,
|
|
710
703
|
0,
|
|
711
|
-
[_JI, _JS, _IDC, _ODC, _DARA, _ST, _JN, _PI, _PN, _PV, _ET, _DDE,
|
|
704
|
+
[_JI, _JS, _IDC, _ODC, _DARA, _ST, _JN, _PI, _PN, _PV, _ET, _DDE, _PEr, _M, _JPR],
|
|
712
705
|
[0, 0, () => TransformationInputDataConfig$, () => TransformationOutputDataConfig$, 0, 4, 0, 0, 0, 1, 4, 2, 2, 0, () => TransformationJobProgressReport$], 6
|
|
713
706
|
];
|
|
714
707
|
export var TransformationJobSummary$ = [3, n0, _TJS,
|
|
@@ -753,13 +746,13 @@ export var UpdateFHIRDatastoreResponse$ = [3, n0, _UFHIRDRp,
|
|
|
753
746
|
];
|
|
754
747
|
export var UpdateProfileWithAgentRequest$ = [3, n0, _UPWAR,
|
|
755
748
|
0,
|
|
756
|
-
[_PI,
|
|
757
|
-
[0,
|
|
749
|
+
[_PI, _IM, _CI],
|
|
750
|
+
[0, [() => AgentInputMessage$, 0], 0], 2
|
|
758
751
|
];
|
|
759
752
|
export var UpdateProfileWithAgentResponse$ = [3, n0, _UPWARp,
|
|
760
753
|
0,
|
|
761
|
-
[_AR
|
|
762
|
-
[[() =>
|
|
754
|
+
[_AR],
|
|
755
|
+
[[() => AgentOutputMessageStream$, 16]], 1
|
|
763
756
|
];
|
|
764
757
|
var DatastorePropertiesList = [1, n0, _DPL,
|
|
765
758
|
0, () => DatastoreProperties$
|
|
@@ -793,6 +786,11 @@ var ProfileMapping = [2, n0, _PM,
|
|
|
793
786
|
];
|
|
794
787
|
var StringMap = 128 | 0;
|
|
795
788
|
var TagMap = 128 | 0;
|
|
789
|
+
export var AgentOutputMessageStream$ = [4, n0, _AOMS,
|
|
790
|
+
{ [_st]: 1 },
|
|
791
|
+
[_TME, _PE, _HE, _EE, _EOOE],
|
|
792
|
+
[[() => TextMessageEvent$, 0], [() => ProgressEvent$, 0], () => HeartbeatEvent$, [() => ErrorEvent$, 0], [() => EndOfOutputEvent$, 0]]
|
|
793
|
+
];
|
|
796
794
|
export var CreateDataTransformationProfileSource$ = [4, n0, _CDTPS,
|
|
797
795
|
0,
|
|
798
796
|
[_SP, _EVPI, _PM, _SD],
|
|
@@ -2,9 +2,10 @@ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAge
|
|
|
2
2
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
3
3
|
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
4
4
|
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
5
|
+
import { type EventStreamSerdeInputConfig, type EventStreamSerdeResolvedConfig } from "@smithy/core/event-streams";
|
|
5
6
|
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
6
7
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
|
-
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
10
|
import type { CreateDataTransformationProfileCommandInput, CreateDataTransformationProfileCommandOutput } from "./commands/CreateDataTransformationProfileCommand";
|
|
10
11
|
import type { CreateFHIRDatastoreCommandInput, CreateFHIRDatastoreCommandOutput } from "./commands/CreateFHIRDatastoreCommand";
|
|
@@ -154,7 +155,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
154
155
|
maxAttempts?: number | __Provider<number>;
|
|
155
156
|
/**
|
|
156
157
|
* Specifies which retry algorithm to use.
|
|
157
|
-
*
|
|
158
|
+
* Accepted values are "standard" and "adaptive".
|
|
159
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
158
160
|
*
|
|
159
161
|
*/
|
|
160
162
|
retryMode?: string | __Provider<string>;
|
|
@@ -166,6 +168,10 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
166
168
|
* Optional extensions
|
|
167
169
|
*/
|
|
168
170
|
extensions?: RuntimeExtension[];
|
|
171
|
+
/**
|
|
172
|
+
* The function that provides necessary utilities for generating and parsing event stream
|
|
173
|
+
*/
|
|
174
|
+
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
169
175
|
/**
|
|
170
176
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
171
177
|
*/
|
|
@@ -174,7 +180,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
174
180
|
/**
|
|
175
181
|
* @public
|
|
176
182
|
*/
|
|
177
|
-
export type HealthLakeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
183
|
+
export type HealthLakeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
178
184
|
/**
|
|
179
185
|
* @public
|
|
180
186
|
*
|
|
@@ -185,7 +191,7 @@ export interface HealthLakeClientConfig extends HealthLakeClientConfigType {
|
|
|
185
191
|
/**
|
|
186
192
|
* @public
|
|
187
193
|
*/
|
|
188
|
-
export type HealthLakeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
194
|
+
export type HealthLakeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
189
195
|
/**
|
|
190
196
|
* @public
|
|
191
197
|
*
|
|
@@ -35,7 +35,6 @@ declare const UpdateProfileWithAgentCommand_base: {
|
|
|
35
35
|
* const client = new HealthLakeClient(config);
|
|
36
36
|
* const input = { // UpdateProfileWithAgentRequest
|
|
37
37
|
* ProfileId: "STRING_VALUE", // required
|
|
38
|
-
* SourceFormat: "CCDA" || "CSV", // required
|
|
39
38
|
* InputMessage: { // AgentInputMessage
|
|
40
39
|
* Body: "STRING_VALUE", // required
|
|
41
40
|
* Type: "normal" || "confirmation_response", // required
|
|
@@ -45,14 +44,26 @@ declare const UpdateProfileWithAgentCommand_base: {
|
|
|
45
44
|
* const command = new UpdateProfileWithAgentCommand(input);
|
|
46
45
|
* const response = await client.send(command);
|
|
47
46
|
* // { // UpdateProfileWithAgentResponse
|
|
48
|
-
* // AgentResponse: { //
|
|
49
|
-
* //
|
|
50
|
-
* //
|
|
51
|
-
* //
|
|
52
|
-
* //
|
|
53
|
-
* //
|
|
47
|
+
* // AgentResponse: { // AgentOutputMessageStream Union: only one key present
|
|
48
|
+
* // TextMessageEvent: { // TextMessageEvent
|
|
49
|
+
* // Message: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ProgressEvent: { // ProgressEvent
|
|
52
|
+
* // Message: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // HeartbeatEvent: {},
|
|
55
|
+
* // ErrorEvent: { // ErrorEvent
|
|
56
|
+
* // Error: "InternalServerException" || "ResourceNotFoundException" || "ValidationException" || "AccessDeniedException" || "ThrottlingException", // required
|
|
57
|
+
* // Message: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // EndOfOutputEvent: { // EndOfOutputEvent
|
|
60
|
+
* // FinalResponseMessage: "STRING_VALUE", // required
|
|
61
|
+
* // Options: [ // DataTransformationChatOptionsList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // ConversationId: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
54
66
|
* // },
|
|
55
|
-
* // ConversationId: "STRING_VALUE", // required
|
|
56
67
|
* // };
|
|
57
68
|
*
|
|
58
69
|
* ```
|
|
@@ -66,30 +77,15 @@ declare const UpdateProfileWithAgentCommand_base: {
|
|
|
66
77
|
* @throws {@link AccessDeniedException} (client fault)
|
|
67
78
|
* <p>Access is denied. Your account is not authorized to perform this operation.</p>
|
|
68
79
|
*
|
|
69
|
-
* @throws {@link AgentMessageOutOfContextException} (client fault)
|
|
70
|
-
* <p>The agent message does not fit within the current conversation context. Start a new conversation or provide a message that relates to the current profile customization session.</p>
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link ConversationNotFoundException} (client fault)
|
|
73
|
-
* <p>The specified conversation identifier does not exist. Verify the conversation ID or omit it to start a new conversation.</p>
|
|
74
|
-
*
|
|
75
80
|
* @throws {@link InternalServerException} (server fault)
|
|
76
81
|
* <p>An unknown internal error occurred in the service.</p>
|
|
77
82
|
*
|
|
78
|
-
* @throws {@link NotImplementedOperationException} (server fault)
|
|
79
|
-
* <p>The requested operation is not yet available. Check the service documentation for a list of supported operations.</p>
|
|
80
|
-
*
|
|
81
83
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
84
|
* <p>The requested data store was not found.</p>
|
|
83
85
|
*
|
|
84
86
|
* @throws {@link ThrottlingException} (client fault)
|
|
85
87
|
* <p>The user has exceeded their maximum number of allowed calls to the given API. </p>
|
|
86
88
|
*
|
|
87
|
-
* @throws {@link UnauthorizedException} (client fault)
|
|
88
|
-
* <p>You are not authorized to make this request. Verify that your Amazon Web Services credentials are valid and that you have the required permissions.</p>
|
|
89
|
-
*
|
|
90
|
-
* @throws {@link UnsupportedMIMETypeException} (client fault)
|
|
91
|
-
* <p>The content type in your request is not supported. Use a supported content type for this operation.</p>
|
|
92
|
-
*
|
|
93
89
|
* @throws {@link ValidationException} (client fault)
|
|
94
90
|
* <p>The user input parameter was invalid.</p>
|
|
95
91
|
*
|
|
@@ -53,19 +53,17 @@ export type AgentInputMessageType = (typeof AgentInputMessageType)[keyof typeof
|
|
|
53
53
|
* @public
|
|
54
54
|
* @enum
|
|
55
55
|
*/
|
|
56
|
-
export declare const
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
readonly OPTIONS: "options";
|
|
63
|
-
readonly USER_CONFIRMATION_REQUEST: "confirmation";
|
|
56
|
+
export declare const AgentErrorType: {
|
|
57
|
+
readonly AccessDeniedException: "AccessDeniedException";
|
|
58
|
+
readonly InternalServerException: "InternalServerException";
|
|
59
|
+
readonly ResourceNotFoundException: "ResourceNotFoundException";
|
|
60
|
+
readonly ThrottlingException: "ThrottlingException";
|
|
61
|
+
readonly ValidationException: "ValidationException";
|
|
64
62
|
};
|
|
65
63
|
/**
|
|
66
64
|
* @public
|
|
67
65
|
*/
|
|
68
|
-
export type
|
|
66
|
+
export type AgentErrorType = (typeof AgentErrorType)[keyof typeof AgentErrorType];
|
|
69
67
|
/**
|
|
70
68
|
* @public
|
|
71
69
|
* @enum
|
|
@@ -126,76 +126,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
126
126
|
*/
|
|
127
127
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
128
128
|
}
|
|
129
|
-
/**
|
|
130
|
-
* <p>The agent message does not fit within the current conversation context. Start a new conversation or provide a message that relates to the current profile customization session.</p>
|
|
131
|
-
* @public
|
|
132
|
-
*/
|
|
133
|
-
export declare class AgentMessageOutOfContextException extends __BaseException {
|
|
134
|
-
static readonly shapeId: string;
|
|
135
|
-
readonly name: "AgentMessageOutOfContextException";
|
|
136
|
-
readonly $fault: "client";
|
|
137
|
-
Message: string | undefined;
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
|
-
constructor(opts: __ExceptionOptionType<AgentMessageOutOfContextException, __BaseException>);
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* <p>The specified conversation identifier does not exist. Verify the conversation ID or omit it to start a new conversation.</p>
|
|
145
|
-
* @public
|
|
146
|
-
*/
|
|
147
|
-
export declare class ConversationNotFoundException extends __BaseException {
|
|
148
|
-
static readonly shapeId: string;
|
|
149
|
-
readonly name: "ConversationNotFoundException";
|
|
150
|
-
readonly $fault: "client";
|
|
151
|
-
Message: string | undefined;
|
|
152
|
-
/**
|
|
153
|
-
* @internal
|
|
154
|
-
*/
|
|
155
|
-
constructor(opts: __ExceptionOptionType<ConversationNotFoundException, __BaseException>);
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* <p>The requested operation is not yet available. Check the service documentation for a list of supported operations.</p>
|
|
159
|
-
* @public
|
|
160
|
-
*/
|
|
161
|
-
export declare class NotImplementedOperationException extends __BaseException {
|
|
162
|
-
static readonly shapeId: string;
|
|
163
|
-
readonly name: "NotImplementedOperationException";
|
|
164
|
-
readonly $fault: "server";
|
|
165
|
-
Message: string | undefined;
|
|
166
|
-
/**
|
|
167
|
-
* @internal
|
|
168
|
-
*/
|
|
169
|
-
constructor(opts: __ExceptionOptionType<NotImplementedOperationException, __BaseException>);
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* <p>You are not authorized to make this request. Verify that your Amazon Web Services credentials are valid and that you have the required permissions.</p>
|
|
173
|
-
* @public
|
|
174
|
-
*/
|
|
175
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
176
|
-
static readonly shapeId: string;
|
|
177
|
-
readonly name: "UnauthorizedException";
|
|
178
|
-
readonly $fault: "client";
|
|
179
|
-
Message: string | undefined;
|
|
180
|
-
/**
|
|
181
|
-
* @internal
|
|
182
|
-
*/
|
|
183
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* <p>The content type in your request is not supported. Use a supported content type for this operation.</p>
|
|
187
|
-
* @public
|
|
188
|
-
*/
|
|
189
|
-
export declare class UnsupportedMIMETypeException extends __BaseException {
|
|
190
|
-
static readonly shapeId: string;
|
|
191
|
-
readonly name: "UnsupportedMIMETypeException";
|
|
192
|
-
readonly $fault: "client";
|
|
193
|
-
Message: string | undefined;
|
|
194
|
-
/**
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
197
|
-
constructor(opts: __ExceptionOptionType<UnsupportedMIMETypeException, __BaseException>);
|
|
198
|
-
}
|
|
199
129
|
/**
|
|
200
130
|
* <p>A dependent service failed to fulfill the request.</p>
|
|
201
131
|
* @public
|