@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,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 { GetSubscriptionInput, GetSubscriptionOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetSubscriptionCommand}.
14
+ */
15
+ export interface GetSubscriptionCommandInput extends GetSubscriptionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetSubscriptionCommand}.
21
+ */
22
+ export interface GetSubscriptionCommandOutput extends GetSubscriptionOutput, __MetadataBearer {
23
+ }
24
+ declare const GetSubscriptionCommand_base: {
25
+ new (input: GetSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSubscriptionCommandInput, GetSubscriptionCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSubscriptionCommandInput, GetSubscriptionCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves information about a Subscription.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectHealthClient, GetSubscriptionCommand } from "@aws-sdk/client-connecthealth"; // ES Modules import
35
+ * // const { ConnectHealthClient, GetSubscriptionCommand } = 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 = { // GetSubscriptionInput
40
+ * domainId: "STRING_VALUE", // required
41
+ * subscriptionId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new GetSubscriptionCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetSubscriptionOutput
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 GetSubscriptionCommandInput - {@link GetSubscriptionCommandInput}
61
+ * @returns {@link GetSubscriptionCommandOutput}
62
+ * @see {@link GetSubscriptionCommandInput} for command's `input` shape.
63
+ * @see {@link GetSubscriptionCommandOutput} 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 GetSubscriptionCommand extends GetSubscriptionCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: GetSubscriptionInput;
89
+ output: GetSubscriptionOutput;
90
+ };
91
+ sdk: {
92
+ input: GetSubscriptionCommandInput;
93
+ output: GetSubscriptionCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,85 @@
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 { ListDomainsInput, ListDomainsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDomainsCommand}.
14
+ */
15
+ export interface ListDomainsCommandInput extends ListDomainsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDomainsCommand}.
21
+ */
22
+ export interface ListDomainsCommandOutput extends ListDomainsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListDomainsCommand_base: {
25
+ new (input: ListDomainsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDomainsCommandInput, ListDomainsCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListDomainsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDomainsCommandInput, ListDomainsCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists Domains for a given account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectHealthClient, ListDomainsCommand } from "@aws-sdk/client-connecthealth"; // ES Modules import
35
+ * // const { ConnectHealthClient, ListDomainsCommand } = 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 = { // ListDomainsInput
40
+ * status: "ACTIVE" || "DELETING" || "DELETED",
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListDomainsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListDomainsOutput
47
+ * // domains: [ // DomainSummaryList // required
48
+ * // { // DomainSummary
49
+ * // domainId: "STRING_VALUE", // required
50
+ * // arn: "STRING_VALUE", // required
51
+ * // name: "STRING_VALUE", // required
52
+ * // status: "ACTIVE" || "DELETING" || "DELETED", // required
53
+ * // createdAt: new Date("TIMESTAMP"), // required
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListDomainsCommandInput - {@link ListDomainsCommandInput}
62
+ * @returns {@link ListDomainsCommandOutput}
63
+ * @see {@link ListDomainsCommandInput} for command's `input` shape.
64
+ * @see {@link ListDomainsCommandOutput} for command's `response` shape.
65
+ * @see {@link ConnectHealthClientResolvedConfig | config} for ConnectHealthClient's `config` shape.
66
+ *
67
+ * @throws {@link ConnectHealthServiceException}
68
+ * <p>Base exception class for all service exceptions from ConnectHealth service.</p>
69
+ *
70
+ *
71
+ * @public
72
+ */
73
+ export declare class ListDomainsCommand extends ListDomainsCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: ListDomainsInput;
78
+ output: ListDomainsOutput;
79
+ };
80
+ sdk: {
81
+ input: ListDomainsCommandInput;
82
+ output: ListDomainsCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -0,0 +1,100 @@
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 { ListSubscriptionsInput, ListSubscriptionsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListSubscriptionsCommand}.
14
+ */
15
+ export interface ListSubscriptionsCommandInput extends ListSubscriptionsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSubscriptionsCommand}.
21
+ */
22
+ export interface ListSubscriptionsCommandOutput extends ListSubscriptionsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListSubscriptionsCommand_base: {
25
+ new (input: ListSubscriptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListSubscriptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all Subscriptions within a Domain.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectHealthClient, ListSubscriptionsCommand } from "@aws-sdk/client-connecthealth"; // ES Modules import
35
+ * // const { ConnectHealthClient, ListSubscriptionsCommand } = 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 = { // ListSubscriptionsInput
40
+ * domainId: "STRING_VALUE", // required
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListSubscriptionsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListSubscriptionsOutput
47
+ * // subscriptions: [ // SubscriptionList // required
48
+ * // { // SubscriptionDescription
49
+ * // domainId: "STRING_VALUE", // required
50
+ * // subscriptionId: "STRING_VALUE", // required
51
+ * // arn: "STRING_VALUE", // required
52
+ * // status: "ACTIVE" || "INACTIVE" || "DELETED", // required
53
+ * // createdAt: new Date("TIMESTAMP"), // required
54
+ * // lastUpdatedAt: new Date("TIMESTAMP"), // required
55
+ * // activatedAt: new Date("TIMESTAMP"),
56
+ * // deactivatedAt: new Date("TIMESTAMP"),
57
+ * // },
58
+ * // ],
59
+ * // nextToken: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListSubscriptionsCommandInput - {@link ListSubscriptionsCommandInput}
65
+ * @returns {@link ListSubscriptionsCommandOutput}
66
+ * @see {@link ListSubscriptionsCommandInput} for command's `input` shape.
67
+ * @see {@link ListSubscriptionsCommandOutput} for command's `response` shape.
68
+ * @see {@link ConnectHealthClientResolvedConfig | config} for ConnectHealthClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>This error is thrown when the client does not supply proper credentials to the API.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>This error is thrown when a transient error causes our API to fail.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>This error is thrown when the requested resource is not found.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>This error is thrown when the client supplies invalid input to the API.</p>
81
+ *
82
+ * @throws {@link ConnectHealthServiceException}
83
+ * <p>Base exception class for all service exceptions from ConnectHealth service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListSubscriptionsCommand extends ListSubscriptionsCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ListSubscriptionsInput;
93
+ output: ListSubscriptionsOutput;
94
+ };
95
+ sdk: {
96
+ input: ListSubscriptionsCommandInput;
97
+ output: ListSubscriptionsCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,76 @@
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 { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the tags associated with the specified resource</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectHealthClient, ListTagsForResourceCommand } from "@aws-sdk/client-connecthealth"; // ES Modules import
35
+ * // const { ConnectHealthClient, ListTagsForResourceCommand } = 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 = { // ListTagsForResourceInput
40
+ * resourceArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new ListTagsForResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListTagsForResourceOutput
45
+ * // tags: { // TagMap
46
+ * // "<keys>": "STRING_VALUE",
47
+ * // },
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
53
+ * @returns {@link ListTagsForResourceCommandOutput}
54
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
55
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
56
+ * @see {@link ConnectHealthClientResolvedConfig | config} for ConnectHealthClient's `config` shape.
57
+ *
58
+ * @throws {@link ConnectHealthServiceException}
59
+ * <p>Base exception class for all service exceptions from ConnectHealth service.</p>
60
+ *
61
+ *
62
+ * @public
63
+ */
64
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
65
+ /** @internal type navigation helper, not in runtime. */
66
+ protected static __types: {
67
+ api: {
68
+ input: ListTagsForResourceInput;
69
+ output: ListTagsForResourceOutput;
70
+ };
71
+ sdk: {
72
+ input: ListTagsForResourceCommandInput;
73
+ output: ListTagsForResourceCommandOutput;
74
+ };
75
+ };
76
+ }
@@ -0,0 +1,159 @@
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 { StartMedicalScribeListeningSessionInput, StartMedicalScribeListeningSessionOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartMedicalScribeListeningSessionCommand}.
14
+ */
15
+ export interface StartMedicalScribeListeningSessionCommandInput extends StartMedicalScribeListeningSessionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartMedicalScribeListeningSessionCommand}.
21
+ */
22
+ export interface StartMedicalScribeListeningSessionCommandOutput extends StartMedicalScribeListeningSessionOutput, __MetadataBearer {
23
+ }
24
+ declare const StartMedicalScribeListeningSessionCommand_base: {
25
+ new (input: StartMedicalScribeListeningSessionCommandInput): import("@smithy/smithy-client").CommandImpl<StartMedicalScribeListeningSessionCommandInput, StartMedicalScribeListeningSessionCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartMedicalScribeListeningSessionCommandInput): import("@smithy/smithy-client").CommandImpl<StartMedicalScribeListeningSessionCommandInput, StartMedicalScribeListeningSessionCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts a new Medical Scribe listening session for real-time audio transcription</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectHealthClient, StartMedicalScribeListeningSessionCommand } from "@aws-sdk/client-connecthealth"; // ES Modules import
35
+ * // const { ConnectHealthClient, StartMedicalScribeListeningSessionCommand } = 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 = { // StartMedicalScribeListeningSessionInput
40
+ * sessionId: "STRING_VALUE", // required
41
+ * domainId: "STRING_VALUE", // required
42
+ * subscriptionId: "STRING_VALUE", // required
43
+ * languageCode: "en-US", // required
44
+ * mediaSampleRateHertz: Number("int"), // required
45
+ * mediaEncoding: "pcm" || "flac", // required
46
+ * inputStream: { // MedicalScribeInputStream Union: only one key present
47
+ * audioEvent: { // MedicalScribeAudioEvent
48
+ * audioChunk: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
49
+ * },
50
+ * sessionControlEvent: { // MedicalScribeSessionControlEvent
51
+ * type: "END_OF_SESSION",
52
+ * },
53
+ * configurationEvent: { // MedicalScribeConfigurationEvent
54
+ * postStreamActionSettings: { // MedicalScribePostStreamActionSettings
55
+ * outputS3Uri: "STRING_VALUE", // required
56
+ * clinicalNoteGenerationSettings: { // ClinicalNoteGenerationSettings
57
+ * noteTemplateSettings: { // NoteTemplateSettings Union: only one key present
58
+ * managedTemplate: { // ManagedTemplate
59
+ * templateType: "HISTORY_AND_PHYSICAL" || "GIRPP" || "DAP" || "SIRP" || "BIRP" || "BEHAVIORAL_SOAP" || "PHYSICAL_SOAP", // required
60
+ * },
61
+ * customTemplate: { // CustomTemplate
62
+ * templateType: "HISTORY_AND_PHYSICAL" || "GIRPP" || "DAP" || "SIRP" || "BIRP" || "BEHAVIORAL_SOAP", // required
63
+ * templateInstructions: [ // TemplateInstructions // required
64
+ * { // TemplateSectionInstruction
65
+ * sectionHeader: "STRING_VALUE", // required
66
+ * sectionInstruction: "STRING_VALUE", // required
67
+ * },
68
+ * ],
69
+ * },
70
+ * },
71
+ * },
72
+ * },
73
+ * channelDefinitions: [ // MedicalScribeChannelDefinitions
74
+ * { // MedicalScribeChannelDefinition
75
+ * channelId: Number("int"), // required
76
+ * participantRole: "PATIENT" || "CLINICIAN", // required
77
+ * },
78
+ * ],
79
+ * encounterContext: { // EncounterContext
80
+ * unstructuredContext: "STRING_VALUE",
81
+ * },
82
+ * },
83
+ * },
84
+ * };
85
+ * const command = new StartMedicalScribeListeningSessionCommand(input);
86
+ * const response = await client.send(command);
87
+ * // { // StartMedicalScribeListeningSessionOutput
88
+ * // sessionId: "STRING_VALUE",
89
+ * // domainId: "STRING_VALUE",
90
+ * // subscriptionId: "STRING_VALUE",
91
+ * // requestId: "STRING_VALUE",
92
+ * // languageCode: "en-US",
93
+ * // mediaSampleRateHertz: Number("int"),
94
+ * // mediaEncoding: "pcm" || "flac",
95
+ * // responseStream: { // MedicalScribeOutputStream Union: only one key present
96
+ * // transcriptEvent: { // MedicalScribeTranscriptEvent
97
+ * // transcriptSegment: { // MedicalScribeTranscriptSegment
98
+ * // segmentId: "STRING_VALUE",
99
+ * // audioBeginOffset: Number("double"),
100
+ * // audioEndOffset: Number("double"),
101
+ * // isPartial: true || false,
102
+ * // channelId: "STRING_VALUE",
103
+ * // content: "STRING_VALUE",
104
+ * // },
105
+ * // },
106
+ * // internalFailureException: { // InternalServerException
107
+ * // message: "STRING_VALUE",
108
+ * // },
109
+ * // validationException: { // ValidationException
110
+ * // message: "STRING_VALUE",
111
+ * // },
112
+ * // },
113
+ * // };
114
+ *
115
+ * ```
116
+ *
117
+ * @param StartMedicalScribeListeningSessionCommandInput - {@link StartMedicalScribeListeningSessionCommandInput}
118
+ * @returns {@link StartMedicalScribeListeningSessionCommandOutput}
119
+ * @see {@link StartMedicalScribeListeningSessionCommandInput} for command's `input` shape.
120
+ * @see {@link StartMedicalScribeListeningSessionCommandOutput} for command's `response` shape.
121
+ * @see {@link ConnectHealthClientResolvedConfig | config} for ConnectHealthClient's `config` shape.
122
+ *
123
+ * @throws {@link AccessDeniedException} (client fault)
124
+ * <p>This error is thrown when the client does not supply proper credentials to the API.</p>
125
+ *
126
+ * @throws {@link InternalServerException} (server fault)
127
+ * <p>This error is thrown when a transient error causes our API to fail.</p>
128
+ *
129
+ * @throws {@link ResourceNotFoundException} (client fault)
130
+ * <p>This error is thrown when the requested resource is not found.</p>
131
+ *
132
+ * @throws {@link ServiceQuotaExceededException} (client fault)
133
+ * <p>The request exceeds a service quota.</p>
134
+ *
135
+ * @throws {@link ThrottlingException} (client fault)
136
+ * <p>This error is thrown when the client exceeds the allowed request rate.</p>
137
+ *
138
+ * @throws {@link ValidationException} (client fault)
139
+ * <p>This error is thrown when the client supplies invalid input to the API.</p>
140
+ *
141
+ * @throws {@link ConnectHealthServiceException}
142
+ * <p>Base exception class for all service exceptions from ConnectHealth service.</p>
143
+ *
144
+ *
145
+ * @public
146
+ */
147
+ export declare class StartMedicalScribeListeningSessionCommand extends StartMedicalScribeListeningSessionCommand_base {
148
+ /** @internal type navigation helper, not in runtime. */
149
+ protected static __types: {
150
+ api: {
151
+ input: StartMedicalScribeListeningSessionInput;
152
+ output: StartMedicalScribeListeningSessionOutput;
153
+ };
154
+ sdk: {
155
+ input: StartMedicalScribeListeningSessionCommandInput;
156
+ output: StartMedicalScribeListeningSessionCommandOutput;
157
+ };
158
+ };
159
+ }
@@ -0,0 +1,125 @@
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 { StartPatientInsightsJobRequest, StartPatientInsightsJobResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartPatientInsightsJobCommand}.
14
+ */
15
+ export interface StartPatientInsightsJobCommandInput extends StartPatientInsightsJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartPatientInsightsJobCommand}.
21
+ */
22
+ export interface StartPatientInsightsJobCommandOutput extends StartPatientInsightsJobResponse, __MetadataBearer {
23
+ }
24
+ declare const StartPatientInsightsJobCommand_base: {
25
+ new (input: StartPatientInsightsJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartPatientInsightsJobCommandInput, StartPatientInsightsJobCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartPatientInsightsJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartPatientInsightsJobCommandInput, StartPatientInsightsJobCommandOutput, ConnectHealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Starts a new patient insights job.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectHealthClient, StartPatientInsightsJobCommand } from "@aws-sdk/client-connecthealth"; // ES Modules import
35
+ * // const { ConnectHealthClient, StartPatientInsightsJobCommand } = 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 = { // StartPatientInsightsJobRequest
40
+ * domainId: "STRING_VALUE", // required
41
+ * patientContext: { // PatientInsightsPatientContext
42
+ * patientId: "STRING_VALUE", // required
43
+ * dateOfBirth: "STRING_VALUE",
44
+ * pronouns: "HE_HIM" || "SHE_HER" || "THEY_THEM",
45
+ * },
46
+ * insightsContext: { // InsightsContext
47
+ * insightsType: "PRE_VISIT", // required
48
+ * },
49
+ * encounterContext: { // PatientInsightsEncounterContext
50
+ * encounterReason: "STRING_VALUE", // required
51
+ * },
52
+ * userContext: { // UserContext
53
+ * role: "CLINICIAN", // required
54
+ * userId: "STRING_VALUE", // required
55
+ * specialty: "PRIMARY_CARE",
56
+ * },
57
+ * inputDataConfig: { // InputDataConfig
58
+ * fhirServer: { // FHIRServer
59
+ * fhirEndpoint: "STRING_VALUE", // required
60
+ * oauthToken: "STRING_VALUE",
61
+ * },
62
+ * s3Sources: [ // S3Sources
63
+ * { // S3Source
64
+ * uri: "STRING_VALUE", // required
65
+ * },
66
+ * ],
67
+ * },
68
+ * outputDataConfig: { // OutputDataConfig
69
+ * s3OutputPath: "STRING_VALUE", // required
70
+ * },
71
+ * clientToken: "STRING_VALUE",
72
+ * };
73
+ * const command = new StartPatientInsightsJobCommand(input);
74
+ * const response = await client.send(command);
75
+ * // { // StartPatientInsightsJobResponse
76
+ * // jobArn: "STRING_VALUE", // required
77
+ * // jobId: "STRING_VALUE", // required
78
+ * // creationTime: new Date("TIMESTAMP"),
79
+ * // };
80
+ *
81
+ * ```
82
+ *
83
+ * @param StartPatientInsightsJobCommandInput - {@link StartPatientInsightsJobCommandInput}
84
+ * @returns {@link StartPatientInsightsJobCommandOutput}
85
+ * @see {@link StartPatientInsightsJobCommandInput} for command's `input` shape.
86
+ * @see {@link StartPatientInsightsJobCommandOutput} for command's `response` shape.
87
+ * @see {@link ConnectHealthClientResolvedConfig | config} for ConnectHealthClient's `config` shape.
88
+ *
89
+ * @throws {@link AccessDeniedException} (client fault)
90
+ * <p>This error is thrown when the client does not supply proper credentials to the API.</p>
91
+ *
92
+ * @throws {@link ConflictException} (client fault)
93
+ * <p>This error is thrown when a resource update is no longer valid due to assumptions about initial state changing.</p>
94
+ *
95
+ * @throws {@link InternalServerException} (server fault)
96
+ * <p>This error is thrown when a transient error causes our API to fail.</p>
97
+ *
98
+ * @throws {@link ResourceNotFoundException} (client fault)
99
+ * <p>This error is thrown when the requested resource is not found.</p>
100
+ *
101
+ * @throws {@link ThrottlingException} (client fault)
102
+ * <p>This error is thrown when the client exceeds the allowed request rate.</p>
103
+ *
104
+ * @throws {@link ValidationException} (client fault)
105
+ * <p>This error is thrown when the client supplies invalid input to the API.</p>
106
+ *
107
+ * @throws {@link ConnectHealthServiceException}
108
+ * <p>Base exception class for all service exceptions from ConnectHealth service.</p>
109
+ *
110
+ *
111
+ * @public
112
+ */
113
+ export declare class StartPatientInsightsJobCommand extends StartPatientInsightsJobCommand_base {
114
+ /** @internal type navigation helper, not in runtime. */
115
+ protected static __types: {
116
+ api: {
117
+ input: StartPatientInsightsJobRequest;
118
+ output: StartPatientInsightsJobResponse;
119
+ };
120
+ sdk: {
121
+ input: StartPatientInsightsJobCommandInput;
122
+ output: StartPatientInsightsJobCommandOutput;
123
+ };
124
+ };
125
+ }