@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.
Files changed (134) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +313 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +483 -0
  7. package/dist-cjs/models/ConnectHealthServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +99 -0
  9. package/dist-cjs/runtimeConfig.browser.js +43 -0
  10. package/dist-cjs/runtimeConfig.js +60 -0
  11. package/dist-cjs/runtimeConfig.native.js +19 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +691 -0
  14. package/dist-es/ConnectHealth.js +45 -0
  15. package/dist-es/ConnectHealthClient.js +54 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/ActivateSubscriptionCommand.js +16 -0
  19. package/dist-es/commands/CreateDomainCommand.js +16 -0
  20. package/dist-es/commands/CreateSubscriptionCommand.js +16 -0
  21. package/dist-es/commands/DeactivateSubscriptionCommand.js +16 -0
  22. package/dist-es/commands/DeleteDomainCommand.js +16 -0
  23. package/dist-es/commands/GetDomainCommand.js +16 -0
  24. package/dist-es/commands/GetMedicalScribeListeningSessionCommand.js +16 -0
  25. package/dist-es/commands/GetPatientInsightsJobCommand.js +16 -0
  26. package/dist-es/commands/GetSubscriptionCommand.js +16 -0
  27. package/dist-es/commands/ListDomainsCommand.js +16 -0
  28. package/dist-es/commands/ListSubscriptionsCommand.js +16 -0
  29. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  30. package/dist-es/commands/StartMedicalScribeListeningSessionCommand.js +25 -0
  31. package/dist-es/commands/StartPatientInsightsJobCommand.js +16 -0
  32. package/dist-es/commands/TagResourceCommand.js +16 -0
  33. package/dist-es/commands/UntagResourceCommand.js +16 -0
  34. package/dist-es/commands/index.js +16 -0
  35. package/dist-es/endpoint/EndpointParameters.js +11 -0
  36. package/dist-es/endpoint/endpointResolver.js +14 -0
  37. package/dist-es/endpoint/ruleset.js +4 -0
  38. package/dist-es/extensionConfiguration.js +1 -0
  39. package/dist-es/index.js +9 -0
  40. package/dist-es/models/ConnectHealthServiceException.js +8 -0
  41. package/dist-es/models/enums.js +76 -0
  42. package/dist-es/models/errors.js +89 -0
  43. package/dist-es/models/models_0.js +1 -0
  44. package/dist-es/pagination/Interfaces.js +1 -0
  45. package/dist-es/pagination/ListDomainsPaginator.js +4 -0
  46. package/dist-es/pagination/ListSubscriptionsPaginator.js +4 -0
  47. package/dist-es/pagination/index.js +3 -0
  48. package/dist-es/runtimeConfig.browser.js +38 -0
  49. package/dist-es/runtimeConfig.js +55 -0
  50. package/dist-es/runtimeConfig.native.js +15 -0
  51. package/dist-es/runtimeConfig.shared.js +39 -0
  52. package/dist-es/runtimeExtensions.js +9 -0
  53. package/dist-es/schemas/schemas_0.js +687 -0
  54. package/dist-types/ConnectHealth.d.ts +137 -0
  55. package/dist-types/ConnectHealthClient.d.ts +215 -0
  56. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  57. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  58. package/dist-types/commands/ActivateSubscriptionCommand.d.ts +96 -0
  59. package/dist-types/commands/CreateDomainCommand.d.ts +101 -0
  60. package/dist-types/commands/CreateSubscriptionCommand.d.ts +96 -0
  61. package/dist-types/commands/DeactivateSubscriptionCommand.d.ts +96 -0
  62. package/dist-types/commands/DeleteDomainCommand.d.ts +79 -0
  63. package/dist-types/commands/GetDomainCommand.d.ts +95 -0
  64. package/dist-types/commands/GetMedicalScribeListeningSessionCommand.d.ts +140 -0
  65. package/dist-types/commands/GetPatientInsightsJobCommand.d.ts +128 -0
  66. package/dist-types/commands/GetSubscriptionCommand.d.ts +96 -0
  67. package/dist-types/commands/ListDomainsCommand.d.ts +85 -0
  68. package/dist-types/commands/ListSubscriptionsCommand.d.ts +100 -0
  69. package/dist-types/commands/ListTagsForResourceCommand.d.ts +76 -0
  70. package/dist-types/commands/StartMedicalScribeListeningSessionCommand.d.ts +159 -0
  71. package/dist-types/commands/StartPatientInsightsJobCommand.d.ts +125 -0
  72. package/dist-types/commands/TagResourceCommand.d.ts +75 -0
  73. package/dist-types/commands/UntagResourceCommand.d.ts +75 -0
  74. package/dist-types/commands/index.d.ts +16 -0
  75. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  76. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  77. package/dist-types/endpoint/ruleset.d.ts +2 -0
  78. package/dist-types/extensionConfiguration.d.ts +9 -0
  79. package/dist-types/index.d.ts +17 -0
  80. package/dist-types/models/ConnectHealthServiceException.d.ts +14 -0
  81. package/dist-types/models/enums.d.ts +204 -0
  82. package/dist-types/models/errors.d.ts +90 -0
  83. package/dist-types/models/models_0.d.ts +1519 -0
  84. package/dist-types/pagination/Interfaces.d.ts +8 -0
  85. package/dist-types/pagination/ListDomainsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/index.d.ts +3 -0
  88. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  89. package/dist-types/runtimeConfig.d.ts +57 -0
  90. package/dist-types/runtimeConfig.native.d.ts +56 -0
  91. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  92. package/dist-types/runtimeExtensions.d.ts +17 -0
  93. package/dist-types/schemas/schemas_0.d.ts +100 -0
  94. package/dist-types/ts3.4/ConnectHealth.d.ts +304 -0
  95. package/dist-types/ts3.4/ConnectHealthClient.d.ts +232 -0
  96. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  97. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  98. package/dist-types/ts3.4/commands/ActivateSubscriptionCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +47 -0
  100. package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/DeactivateSubscriptionCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +47 -0
  103. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +47 -0
  104. package/dist-types/ts3.4/commands/GetMedicalScribeListeningSessionCommand.d.ts +51 -0
  105. package/dist-types/ts3.4/commands/GetPatientInsightsJobCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +50 -0
  107. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +50 -0
  109. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/StartMedicalScribeListeningSessionCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/StartPatientInsightsJobCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  113. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  114. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  115. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  116. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  117. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  118. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  119. package/dist-types/ts3.4/index.d.ts +12 -0
  120. package/dist-types/ts3.4/models/ConnectHealthServiceException.d.ts +9 -0
  121. package/dist-types/ts3.4/models/enums.d.ts +102 -0
  122. package/dist-types/ts3.4/models/errors.d.ts +53 -0
  123. package/dist-types/ts3.4/models/models_0.d.ts +470 -0
  124. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  125. package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +11 -0
  126. package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +11 -0
  127. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  128. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +101 -0
  129. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  130. package/dist-types/ts3.4/runtimeConfig.native.d.ts +105 -0
  131. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  132. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  133. package/dist-types/ts3.4/schemas/schemas_0.d.ts +100 -0
  134. package/package.json +105 -0
@@ -0,0 +1,137 @@
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
+ import { ActivateSubscriptionCommandInput, ActivateSubscriptionCommandOutput } from "./commands/ActivateSubscriptionCommand";
3
+ import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
4
+ import { CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput } from "./commands/CreateSubscriptionCommand";
5
+ import { DeactivateSubscriptionCommandInput, DeactivateSubscriptionCommandOutput } from "./commands/DeactivateSubscriptionCommand";
6
+ import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
7
+ import { GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
8
+ import { GetMedicalScribeListeningSessionCommandInput, GetMedicalScribeListeningSessionCommandOutput } from "./commands/GetMedicalScribeListeningSessionCommand";
9
+ import { GetPatientInsightsJobCommandInput, GetPatientInsightsJobCommandOutput } from "./commands/GetPatientInsightsJobCommand";
10
+ import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./commands/GetSubscriptionCommand";
11
+ import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
12
+ import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "./commands/ListSubscriptionsCommand";
13
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
14
+ import { StartMedicalScribeListeningSessionCommandInput, StartMedicalScribeListeningSessionCommandOutput } from "./commands/StartMedicalScribeListeningSessionCommand";
15
+ import { StartPatientInsightsJobCommandInput, StartPatientInsightsJobCommandOutput } from "./commands/StartPatientInsightsJobCommand";
16
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
17
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
18
+ import { ConnectHealthClient } from "./ConnectHealthClient";
19
+ export interface ConnectHealth {
20
+ /**
21
+ * @see {@link ActivateSubscriptionCommand}
22
+ */
23
+ activateSubscription(args: ActivateSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ActivateSubscriptionCommandOutput>;
24
+ activateSubscription(args: ActivateSubscriptionCommandInput, cb: (err: any, data?: ActivateSubscriptionCommandOutput) => void): void;
25
+ activateSubscription(args: ActivateSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ActivateSubscriptionCommandOutput) => void): void;
26
+ /**
27
+ * @see {@link CreateDomainCommand}
28
+ */
29
+ createDomain(args: CreateDomainCommandInput, options?: __HttpHandlerOptions): Promise<CreateDomainCommandOutput>;
30
+ createDomain(args: CreateDomainCommandInput, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
31
+ createDomain(args: CreateDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
32
+ /**
33
+ * @see {@link CreateSubscriptionCommand}
34
+ */
35
+ createSubscription(args: CreateSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSubscriptionCommandOutput>;
36
+ createSubscription(args: CreateSubscriptionCommandInput, cb: (err: any, data?: CreateSubscriptionCommandOutput) => void): void;
37
+ createSubscription(args: CreateSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSubscriptionCommandOutput) => void): void;
38
+ /**
39
+ * @see {@link DeactivateSubscriptionCommand}
40
+ */
41
+ deactivateSubscription(args: DeactivateSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeactivateSubscriptionCommandOutput>;
42
+ deactivateSubscription(args: DeactivateSubscriptionCommandInput, cb: (err: any, data?: DeactivateSubscriptionCommandOutput) => void): void;
43
+ deactivateSubscription(args: DeactivateSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeactivateSubscriptionCommandOutput) => void): void;
44
+ /**
45
+ * @see {@link DeleteDomainCommand}
46
+ */
47
+ deleteDomain(args: DeleteDomainCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDomainCommandOutput>;
48
+ deleteDomain(args: DeleteDomainCommandInput, cb: (err: any, data?: DeleteDomainCommandOutput) => void): void;
49
+ deleteDomain(args: DeleteDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDomainCommandOutput) => void): void;
50
+ /**
51
+ * @see {@link GetDomainCommand}
52
+ */
53
+ getDomain(args: GetDomainCommandInput, options?: __HttpHandlerOptions): Promise<GetDomainCommandOutput>;
54
+ getDomain(args: GetDomainCommandInput, cb: (err: any, data?: GetDomainCommandOutput) => void): void;
55
+ getDomain(args: GetDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDomainCommandOutput) => void): void;
56
+ /**
57
+ * @see {@link GetMedicalScribeListeningSessionCommand}
58
+ */
59
+ getMedicalScribeListeningSession(args: GetMedicalScribeListeningSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetMedicalScribeListeningSessionCommandOutput>;
60
+ getMedicalScribeListeningSession(args: GetMedicalScribeListeningSessionCommandInput, cb: (err: any, data?: GetMedicalScribeListeningSessionCommandOutput) => void): void;
61
+ getMedicalScribeListeningSession(args: GetMedicalScribeListeningSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMedicalScribeListeningSessionCommandOutput) => void): void;
62
+ /**
63
+ * @see {@link GetPatientInsightsJobCommand}
64
+ */
65
+ getPatientInsightsJob(args: GetPatientInsightsJobCommandInput, options?: __HttpHandlerOptions): Promise<GetPatientInsightsJobCommandOutput>;
66
+ getPatientInsightsJob(args: GetPatientInsightsJobCommandInput, cb: (err: any, data?: GetPatientInsightsJobCommandOutput) => void): void;
67
+ getPatientInsightsJob(args: GetPatientInsightsJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPatientInsightsJobCommandOutput) => void): void;
68
+ /**
69
+ * @see {@link GetSubscriptionCommand}
70
+ */
71
+ getSubscription(args: GetSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<GetSubscriptionCommandOutput>;
72
+ getSubscription(args: GetSubscriptionCommandInput, cb: (err: any, data?: GetSubscriptionCommandOutput) => void): void;
73
+ getSubscription(args: GetSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSubscriptionCommandOutput) => void): void;
74
+ /**
75
+ * @see {@link ListDomainsCommand}
76
+ */
77
+ listDomains(): Promise<ListDomainsCommandOutput>;
78
+ listDomains(args: ListDomainsCommandInput, options?: __HttpHandlerOptions): Promise<ListDomainsCommandOutput>;
79
+ listDomains(args: ListDomainsCommandInput, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
80
+ listDomains(args: ListDomainsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
81
+ /**
82
+ * @see {@link ListSubscriptionsCommand}
83
+ */
84
+ listSubscriptions(args: ListSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubscriptionsCommandOutput>;
85
+ listSubscriptions(args: ListSubscriptionsCommandInput, cb: (err: any, data?: ListSubscriptionsCommandOutput) => void): void;
86
+ listSubscriptions(args: ListSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscriptionsCommandOutput) => void): void;
87
+ /**
88
+ * @see {@link ListTagsForResourceCommand}
89
+ */
90
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
91
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
92
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
93
+ /**
94
+ * @see {@link StartMedicalScribeListeningSessionCommand}
95
+ */
96
+ startMedicalScribeListeningSession(args: StartMedicalScribeListeningSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartMedicalScribeListeningSessionCommandOutput>;
97
+ startMedicalScribeListeningSession(args: StartMedicalScribeListeningSessionCommandInput, cb: (err: any, data?: StartMedicalScribeListeningSessionCommandOutput) => void): void;
98
+ startMedicalScribeListeningSession(args: StartMedicalScribeListeningSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMedicalScribeListeningSessionCommandOutput) => void): void;
99
+ /**
100
+ * @see {@link StartPatientInsightsJobCommand}
101
+ */
102
+ startPatientInsightsJob(args: StartPatientInsightsJobCommandInput, options?: __HttpHandlerOptions): Promise<StartPatientInsightsJobCommandOutput>;
103
+ startPatientInsightsJob(args: StartPatientInsightsJobCommandInput, cb: (err: any, data?: StartPatientInsightsJobCommandOutput) => void): void;
104
+ startPatientInsightsJob(args: StartPatientInsightsJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPatientInsightsJobCommandOutput) => void): void;
105
+ /**
106
+ * @see {@link TagResourceCommand}
107
+ */
108
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
109
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
110
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
111
+ /**
112
+ * @see {@link UntagResourceCommand}
113
+ */
114
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
115
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
116
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
117
+ /**
118
+ * @see {@link ListDomainsCommand}
119
+ * @param args - command input.
120
+ * @param paginationConfig - optional pagination config.
121
+ * @returns AsyncIterable of {@link ListDomainsCommandOutput}.
122
+ */
123
+ paginateListDomains(args?: ListDomainsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDomainsCommandOutput>;
124
+ /**
125
+ * @see {@link ListSubscriptionsCommand}
126
+ * @param args - command input.
127
+ * @param paginationConfig - optional pagination config.
128
+ * @returns AsyncIterable of {@link ListSubscriptionsCommandOutput}.
129
+ */
130
+ paginateListSubscriptions(args: ListSubscriptionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSubscriptionsCommandOutput>;
131
+ }
132
+ /**
133
+ * <p>Health Agent for healthcare providers and patient engagement</p>
134
+ * @public
135
+ */
136
+ export declare class ConnectHealth extends ConnectHealthClient implements ConnectHealth {
137
+ }
@@ -0,0 +1,215 @@
1
+ import { type EventStreamInputConfig, type EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
2
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
+ import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
5
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
6
+ import { type EventStreamSerdeInputConfig, type EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver";
7
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
8
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
9
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
10
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
11
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type EventStreamSerdeProvider as __EventStreamSerdeProvider, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
12
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
13
+ import { ActivateSubscriptionCommandInput, ActivateSubscriptionCommandOutput } from "./commands/ActivateSubscriptionCommand";
14
+ import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
15
+ import { CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput } from "./commands/CreateSubscriptionCommand";
16
+ import { DeactivateSubscriptionCommandInput, DeactivateSubscriptionCommandOutput } from "./commands/DeactivateSubscriptionCommand";
17
+ import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
18
+ import { GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
19
+ import { GetMedicalScribeListeningSessionCommandInput, GetMedicalScribeListeningSessionCommandOutput } from "./commands/GetMedicalScribeListeningSessionCommand";
20
+ import { GetPatientInsightsJobCommandInput, GetPatientInsightsJobCommandOutput } from "./commands/GetPatientInsightsJobCommand";
21
+ import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./commands/GetSubscriptionCommand";
22
+ import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
23
+ import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "./commands/ListSubscriptionsCommand";
24
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
25
+ import { StartMedicalScribeListeningSessionCommandInput, StartMedicalScribeListeningSessionCommandOutput } from "./commands/StartMedicalScribeListeningSessionCommand";
26
+ import { StartPatientInsightsJobCommandInput, StartPatientInsightsJobCommandOutput } from "./commands/StartPatientInsightsJobCommand";
27
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
28
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
29
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
30
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
31
+ export { __Client };
32
+ /**
33
+ * @public
34
+ */
35
+ export type ServiceInputTypes = ActivateSubscriptionCommandInput | CreateDomainCommandInput | CreateSubscriptionCommandInput | DeactivateSubscriptionCommandInput | DeleteDomainCommandInput | GetDomainCommandInput | GetMedicalScribeListeningSessionCommandInput | GetPatientInsightsJobCommandInput | GetSubscriptionCommandInput | ListDomainsCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | StartMedicalScribeListeningSessionCommandInput | StartPatientInsightsJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
36
+ /**
37
+ * @public
38
+ */
39
+ export type ServiceOutputTypes = ActivateSubscriptionCommandOutput | CreateDomainCommandOutput | CreateSubscriptionCommandOutput | DeactivateSubscriptionCommandOutput | DeleteDomainCommandOutput | GetDomainCommandOutput | GetMedicalScribeListeningSessionCommandOutput | GetPatientInsightsJobCommandOutput | GetSubscriptionCommandOutput | ListDomainsCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | StartMedicalScribeListeningSessionCommandOutput | StartPatientInsightsJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
40
+ /**
41
+ * @public
42
+ */
43
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
44
+ /**
45
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
46
+ */
47
+ requestHandler?: __HttpHandlerUserInput;
48
+ /**
49
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
50
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
51
+ * @internal
52
+ */
53
+ sha256?: __ChecksumConstructor | __HashConstructor;
54
+ /**
55
+ * The function that will be used to convert strings into HTTP endpoints.
56
+ * @internal
57
+ */
58
+ urlParser?: __UrlParser;
59
+ /**
60
+ * A function that can calculate the length of a request body.
61
+ * @internal
62
+ */
63
+ bodyLengthChecker?: __BodyLengthCalculator;
64
+ /**
65
+ * A function that converts a stream into an array of bytes.
66
+ * @internal
67
+ */
68
+ streamCollector?: __StreamCollector;
69
+ /**
70
+ * The function that will be used to convert a base64-encoded string to a byte array.
71
+ * @internal
72
+ */
73
+ base64Decoder?: __Decoder;
74
+ /**
75
+ * The function that will be used to convert binary data to a base64-encoded string.
76
+ * @internal
77
+ */
78
+ base64Encoder?: __Encoder;
79
+ /**
80
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
81
+ * @internal
82
+ */
83
+ utf8Decoder?: __Decoder;
84
+ /**
85
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
86
+ * @internal
87
+ */
88
+ utf8Encoder?: __Encoder;
89
+ /**
90
+ * The runtime environment.
91
+ * @internal
92
+ */
93
+ runtime?: string;
94
+ /**
95
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
96
+ * trait of an operation.
97
+ */
98
+ disableHostPrefix?: boolean;
99
+ /**
100
+ * Unique service identifier.
101
+ * @internal
102
+ */
103
+ serviceId?: string;
104
+ /**
105
+ * Enables IPv6/IPv4 dualstack endpoint.
106
+ */
107
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
108
+ /**
109
+ * Enables FIPS compatible endpoints.
110
+ */
111
+ useFipsEndpoint?: boolean | __Provider<boolean>;
112
+ /**
113
+ * The AWS region to which this client will send requests
114
+ */
115
+ region?: string | __Provider<string>;
116
+ /**
117
+ * Setting a client profile is similar to setting a value for the
118
+ * AWS_PROFILE environment variable. Setting a profile on a client
119
+ * in code only affects the single client instance, unlike AWS_PROFILE.
120
+ *
121
+ * When set, and only for environments where an AWS configuration
122
+ * file exists, fields configurable by this file will be retrieved
123
+ * from the specified profile within that file.
124
+ * Conflicting code configuration and environment variables will
125
+ * still have higher priority.
126
+ *
127
+ * For client credential resolution that involves checking the AWS
128
+ * configuration file, the client's profile (this value) will be
129
+ * used unless a different profile is set in the credential
130
+ * provider options.
131
+ *
132
+ */
133
+ profile?: string;
134
+ /**
135
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
136
+ * @internal
137
+ */
138
+ defaultUserAgentProvider?: Provider<__UserAgent>;
139
+ /**
140
+ * Default credentials provider; Not available in browser runtime.
141
+ * @deprecated
142
+ * @internal
143
+ */
144
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
145
+ /**
146
+ * Value for how many times a request will be made at most in case of retry.
147
+ */
148
+ maxAttempts?: number | __Provider<number>;
149
+ /**
150
+ * Specifies which retry algorithm to use.
151
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
152
+ *
153
+ */
154
+ retryMode?: string | __Provider<string>;
155
+ /**
156
+ * Optional logger for logging debug/info/warn/error.
157
+ */
158
+ logger?: __Logger;
159
+ /**
160
+ * Optional extensions
161
+ */
162
+ extensions?: RuntimeExtension[];
163
+ /**
164
+ * The function that provides necessary utilities for generating and parsing event stream
165
+ */
166
+ eventStreamSerdeProvider?: __EventStreamSerdeProvider;
167
+ /**
168
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
169
+ */
170
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
171
+ /**
172
+ * The function that provides necessary utilities for handling request event stream.
173
+ * @internal
174
+ */
175
+ eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
176
+ }
177
+ /**
178
+ * @public
179
+ */
180
+ export type ConnectHealthClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & EventStreamInputConfig & ClientInputEndpointParameters;
181
+ /**
182
+ * @public
183
+ *
184
+ * The configuration interface of ConnectHealthClient class constructor that set the region, credentials and other options.
185
+ */
186
+ export interface ConnectHealthClientConfig extends ConnectHealthClientConfigType {
187
+ }
188
+ /**
189
+ * @public
190
+ */
191
+ export type ConnectHealthClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & EventStreamResolvedConfig & ClientResolvedEndpointParameters;
192
+ /**
193
+ * @public
194
+ *
195
+ * The resolved configuration interface of ConnectHealthClient class. This is resolved and normalized from the {@link ConnectHealthClientConfig | constructor configuration interface}.
196
+ */
197
+ export interface ConnectHealthClientResolvedConfig extends ConnectHealthClientResolvedConfigType {
198
+ }
199
+ /**
200
+ * <p>Health Agent for healthcare providers and patient engagement</p>
201
+ * @public
202
+ */
203
+ export declare class ConnectHealthClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ConnectHealthClientResolvedConfig> {
204
+ /**
205
+ * The resolved configuration of ConnectHealthClient class. This is resolved and normalized from the {@link ConnectHealthClientConfig | constructor configuration interface}.
206
+ */
207
+ readonly config: ConnectHealthClientResolvedConfig;
208
+ constructor(...[configuration]: __CheckOptionalClientConfig<ConnectHealthClientConfig>);
209
+ /**
210
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
211
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
212
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
213
+ */
214
+ destroy(): void;
215
+ }
@@ -0,0 +1,29 @@
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { ConnectHealthHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: ConnectHealthHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): ConnectHealthHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: ConnectHealthHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,75 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type ConnectHealthClientResolvedConfig } from "../ConnectHealthClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface ConnectHealthHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface ConnectHealthHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<ConnectHealthClientResolvedConfig, HandlerExecutionContext, ConnectHealthHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultConnectHealthHttpAuthSchemeParametersProvider: (config: ConnectHealthClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<ConnectHealthHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface ConnectHealthHttpAuthSchemeProvider extends HttpAuthSchemeProvider<ConnectHealthHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultConnectHealthHttpAuthSchemeProvider: ConnectHealthHttpAuthSchemeProvider;
28
+ /**
29
+ * @public
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
39
+ /**
40
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
+ * @internal
42
+ */
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ /**
45
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
46
+ * @internal
47
+ */
48
+ httpAuthSchemeProvider?: ConnectHealthHttpAuthSchemeProvider;
49
+ }
50
+ /**
51
+ * @internal
52
+ */
53
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
61
+ /**
62
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
63
+ * @internal
64
+ */
65
+ readonly httpAuthSchemes: HttpAuthScheme[];
66
+ /**
67
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
68
+ * @internal
69
+ */
70
+ readonly httpAuthSchemeProvider: ConnectHealthHttpAuthSchemeProvider;
71
+ }
72
+ /**
73
+ * @internal
74
+ */
75
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectHealthClient";
4
+ import type { ActivateSubscriptionInput, ActivateSubscriptionOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ActivateSubscriptionCommand}.
14
+ */
15
+ export interface ActivateSubscriptionCommandInput extends ActivateSubscriptionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ActivateSubscriptionCommand}.
21
+ */
22
+ export interface ActivateSubscriptionCommandOutput extends ActivateSubscriptionOutput, __MetadataBearer {
23
+ }
24
+ declare const ActivateSubscriptionCommand_base: {
25
+ new (input: ActivateSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ActivateSubscriptionCommandInput, ActivateSubscriptionCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ActivateSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ActivateSubscriptionCommandInput, ActivateSubscriptionCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Activates a Subscription to enable billing for a user.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectHealthClient, ActivateSubscriptionCommand } from "@aws-sdk/client-connecthealth"; // ES Modules import
35
+ * // const { ConnectHealthClient, ActivateSubscriptionCommand } = require("@aws-sdk/client-connecthealth"); // CommonJS import
36
+ * // import type { ConnectHealthClientConfig } from "@aws-sdk/client-connecthealth";
37
+ * const config = {}; // type is ConnectHealthClientConfig
38
+ * const client = new ConnectHealthClient(config);
39
+ * const input = { // ActivateSubscriptionInput
40
+ * domainId: "STRING_VALUE", // required
41
+ * subscriptionId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new ActivateSubscriptionCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ActivateSubscriptionOutput
46
+ * // subscription: { // SubscriptionDescription
47
+ * // domainId: "STRING_VALUE", // required
48
+ * // subscriptionId: "STRING_VALUE", // required
49
+ * // arn: "STRING_VALUE", // required
50
+ * // status: "ACTIVE" || "INACTIVE" || "DELETED", // required
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // lastUpdatedAt: new Date("TIMESTAMP"), // required
53
+ * // activatedAt: new Date("TIMESTAMP"),
54
+ * // deactivatedAt: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ActivateSubscriptionCommandInput - {@link ActivateSubscriptionCommandInput}
61
+ * @returns {@link ActivateSubscriptionCommandOutput}
62
+ * @see {@link ActivateSubscriptionCommandInput} for command's `input` shape.
63
+ * @see {@link ActivateSubscriptionCommandOutput} for command's `response` shape.
64
+ * @see {@link ConnectHealthClientResolvedConfig | config} for ConnectHealthClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>This error is thrown when the client does not supply proper credentials to the API.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>This error is thrown when a transient error causes our API to fail.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>This error is thrown when the requested resource is not found.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>This error is thrown when the client supplies invalid input to the API.</p>
77
+ *
78
+ * @throws {@link ConnectHealthServiceException}
79
+ * <p>Base exception class for all service exceptions from ConnectHealth service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ActivateSubscriptionCommand extends ActivateSubscriptionCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ActivateSubscriptionInput;
89
+ output: ActivateSubscriptionOutput;
90
+ };
91
+ sdk: {
92
+ input: ActivateSubscriptionCommandInput;
93
+ output: ActivateSubscriptionCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectHealthClient";
4
+ import type { CreateDomainInput, CreateDomainOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateDomainCommand}.
14
+ */
15
+ export interface CreateDomainCommandInput extends CreateDomainInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDomainCommand}.
21
+ */
22
+ export interface CreateDomainCommandOutput extends CreateDomainOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateDomainCommand_base: {
25
+ new (input: CreateDomainCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDomainCommandInput, CreateDomainCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateDomainCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDomainCommandInput, CreateDomainCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a new Domain for managing HealthAgent resources.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectHealthClient, CreateDomainCommand } from "@aws-sdk/client-connecthealth"; // ES Modules import
35
+ * // const { ConnectHealthClient, CreateDomainCommand } = require("@aws-sdk/client-connecthealth"); // CommonJS import
36
+ * // import type { ConnectHealthClientConfig } from "@aws-sdk/client-connecthealth";
37
+ * const config = {}; // type is ConnectHealthClientConfig
38
+ * const client = new ConnectHealthClient(config);
39
+ * const input = { // CreateDomainInput
40
+ * name: "STRING_VALUE", // required
41
+ * kmsKeyArn: "STRING_VALUE",
42
+ * webAppSetupConfiguration: { // CreateWebAppConfiguration
43
+ * ehrRole: "STRING_VALUE", // required
44
+ * idcInstanceId: "STRING_VALUE", // required
45
+ * idcRegion: "STRING_VALUE", // required
46
+ * },
47
+ * tags: { // TagMap
48
+ * "<keys>": "STRING_VALUE",
49
+ * },
50
+ * };
51
+ * const command = new CreateDomainCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // CreateDomainOutput
54
+ * // domainId: "STRING_VALUE", // required
55
+ * // arn: "STRING_VALUE", // required
56
+ * // name: "STRING_VALUE", // required
57
+ * // kmsKeyArn: "STRING_VALUE",
58
+ * // encryptionContext: { // EncryptionContext
59
+ * // encryptionType: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KEY", // required
60
+ * // kmsKeyArn: "STRING_VALUE",
61
+ * // },
62
+ * // status: "ACTIVE" || "DELETING" || "DELETED", // required
63
+ * // webAppUrl: "STRING_VALUE",
64
+ * // webAppConfiguration: { // WebAppConfiguration
65
+ * // ehrRole: "STRING_VALUE", // required
66
+ * // idcApplicationId: "STRING_VALUE", // required
67
+ * // idcRegion: "STRING_VALUE", // required
68
+ * // },
69
+ * // createdAt: new Date("TIMESTAMP"), // required
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param CreateDomainCommandInput - {@link CreateDomainCommandInput}
75
+ * @returns {@link CreateDomainCommandOutput}
76
+ * @see {@link CreateDomainCommandInput} for command's `input` shape.
77
+ * @see {@link CreateDomainCommandOutput} for command's `response` shape.
78
+ * @see {@link ConnectHealthClientResolvedConfig | config} for ConnectHealthClient's `config` shape.
79
+ *
80
+ * @throws {@link ServiceQuotaExceededException} (client fault)
81
+ * <p>The request exceeds a service quota.</p>
82
+ *
83
+ * @throws {@link ConnectHealthServiceException}
84
+ * <p>Base exception class for all service exceptions from ConnectHealth service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class CreateDomainCommand extends CreateDomainCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: CreateDomainInput;
94
+ output: CreateDomainOutput;
95
+ };
96
+ sdk: {
97
+ input: CreateDomainCommandInput;
98
+ output: CreateDomainCommandOutput;
99
+ };
100
+ };
101
+ }