@aws-sdk/client-connecthealth 3.1018.0 → 3.1020.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveHttpAuthSchemeConfig = exports.defaultConnectHealthHttpAuthSchemeProvider = exports.defaultConnectHealthHttpAuthSchemeParametersProvider = void 0;
4
- const core_1 = require("@aws-sdk/core");
4
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultConnectHealthHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
@@ -38,7 +38,7 @@ const defaultConnectHealthHttpAuthSchemeProvider = (authParameters) => {
38
38
  };
39
39
  exports.defaultConnectHealthHttpAuthSchemeProvider = defaultConnectHealthHttpAuthSchemeProvider;
40
40
  const resolveHttpAuthSchemeConfig = (config) => {
41
- const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
41
+ const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
42
42
  return Object.assign(config_0, {
43
43
  authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
44
44
  });
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
- const core_1 = require("@aws-sdk/core");
6
+ const client_1 = require("@aws-sdk/core/client");
7
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
7
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
8
9
  const eventstream_handler_node_1 = require("@aws-sdk/eventstream-handler-node");
9
10
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
@@ -23,7 +24,7 @@ const getRuntimeConfig = (config) => {
23
24
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
24
25
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
25
26
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
26
- (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
27
+ (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
27
28
  const loaderConfig = {
28
29
  profile: config?.profile,
29
30
  logger: clientSharedValues.logger,
@@ -33,7 +34,7 @@ const getRuntimeConfig = (config) => {
33
34
  ...config,
34
35
  runtime: "node",
35
36
  defaultsMode,
36
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
37
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
37
38
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
38
39
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
39
40
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const core_1 = require("@aws-sdk/core");
4
+ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const protocols_1 = require("@aws-sdk/core/protocols");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const url_parser_1 = require("@smithy/url-parser");
@@ -23,7 +23,7 @@ const getRuntimeConfig = (config) => {
23
23
  {
24
24
  schemeId: "aws.auth#sigv4",
25
25
  identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
26
- signer: new core_1.AwsSdkSigV4Signer(),
26
+ signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
27
27
  },
28
28
  ],
29
29
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
@@ -8,12 +8,12 @@ import { GetDomainCommand } from "./commands/GetDomainCommand";
8
8
  import { GetMedicalScribeListeningSessionCommand, } from "./commands/GetMedicalScribeListeningSessionCommand";
9
9
  import { GetPatientInsightsJobCommand, } from "./commands/GetPatientInsightsJobCommand";
10
10
  import { GetSubscriptionCommand, } from "./commands/GetSubscriptionCommand";
11
- import { ListDomainsCommand } from "./commands/ListDomainsCommand";
11
+ import { ListDomainsCommand, } from "./commands/ListDomainsCommand";
12
12
  import { ListSubscriptionsCommand, } from "./commands/ListSubscriptionsCommand";
13
13
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
14
14
  import { StartMedicalScribeListeningSessionCommand, } from "./commands/StartMedicalScribeListeningSessionCommand";
15
15
  import { StartPatientInsightsJobCommand, } from "./commands/StartPatientInsightsJobCommand";
16
- import { TagResourceCommand } from "./commands/TagResourceCommand";
16
+ import { TagResourceCommand, } from "./commands/TagResourceCommand";
17
17
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
18
18
  import { ConnectHealthClient } from "./ConnectHealthClient";
19
19
  import { paginateListDomains } from "./pagination/ListDomainsPaginator";
@@ -1,4 +1,4 @@
1
- import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultConnectHealthHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
@@ -1,5 +1,6 @@
1
1
  import packageInfo from "../package.json";
2
- import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
3
+ import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
3
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
5
  import { eventStreamPayloadHandlerProvider } from "@aws-sdk/eventstream-handler-node";
5
6
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
@@ -1,4 +1,4 @@
1
- import { AwsSdkSigV4Signer } from "@aws-sdk/core";
1
+ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
3
  import { NoOpLogger } from "@smithy/smithy-client";
4
4
  import { parseUrl } from "@smithy/url-parser";
@@ -1,20 +1,20 @@
1
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";
2
+ import { type ActivateSubscriptionCommandInput, type ActivateSubscriptionCommandOutput } from "./commands/ActivateSubscriptionCommand";
3
+ import { type CreateDomainCommandInput, type CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
4
+ import { type CreateSubscriptionCommandInput, type CreateSubscriptionCommandOutput } from "./commands/CreateSubscriptionCommand";
5
+ import { type DeactivateSubscriptionCommandInput, type DeactivateSubscriptionCommandOutput } from "./commands/DeactivateSubscriptionCommand";
6
+ import { type DeleteDomainCommandInput, type DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
7
+ import { type GetDomainCommandInput, type GetDomainCommandOutput } from "./commands/GetDomainCommand";
8
+ import { type GetMedicalScribeListeningSessionCommandInput, type GetMedicalScribeListeningSessionCommandOutput } from "./commands/GetMedicalScribeListeningSessionCommand";
9
+ import { type GetPatientInsightsJobCommandInput, type GetPatientInsightsJobCommandOutput } from "./commands/GetPatientInsightsJobCommand";
10
+ import { type GetSubscriptionCommandInput, type GetSubscriptionCommandOutput } from "./commands/GetSubscriptionCommand";
11
+ import { type ListDomainsCommandInput, type ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
12
+ import { type ListSubscriptionsCommandInput, type ListSubscriptionsCommandOutput } from "./commands/ListSubscriptionsCommand";
13
+ import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
14
+ import { type StartMedicalScribeListeningSessionCommandInput, type StartMedicalScribeListeningSessionCommandOutput } from "./commands/StartMedicalScribeListeningSessionCommand";
15
+ import { type StartPatientInsightsJobCommandInput, type StartPatientInsightsJobCommandOutput } from "./commands/StartPatientInsightsJobCommand";
16
+ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
17
+ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
18
18
  import { ConnectHealthClient } from "./ConnectHealthClient";
19
19
  export interface ConnectHealth {
20
20
  /**
@@ -8,25 +8,25 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
8
8
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
9
9
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
10
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";
11
+ 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";
12
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";
13
+ import type { ActivateSubscriptionCommandInput, ActivateSubscriptionCommandOutput } from "./commands/ActivateSubscriptionCommand";
14
+ import type { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
15
+ import type { CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput } from "./commands/CreateSubscriptionCommand";
16
+ import type { DeactivateSubscriptionCommandInput, DeactivateSubscriptionCommandOutput } from "./commands/DeactivateSubscriptionCommand";
17
+ import type { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
18
+ import type { GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
19
+ import type { GetMedicalScribeListeningSessionCommandInput, GetMedicalScribeListeningSessionCommandOutput } from "./commands/GetMedicalScribeListeningSessionCommand";
20
+ import type { GetPatientInsightsJobCommandInput, GetPatientInsightsJobCommandOutput } from "./commands/GetPatientInsightsJobCommand";
21
+ import type { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./commands/GetSubscriptionCommand";
22
+ import type { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
23
+ import type { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "./commands/ListSubscriptionsCommand";
24
+ import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
25
+ import type { StartMedicalScribeListeningSessionCommandInput, StartMedicalScribeListeningSessionCommandOutput } from "./commands/StartMedicalScribeListeningSessionCommand";
26
+ import type { StartPatientInsightsJobCommandInput, StartPatientInsightsJobCommandOutput } from "./commands/StartPatientInsightsJobCommand";
27
+ import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
28
+ import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
29
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
30
30
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
31
31
  export { __Client };
32
32
  /**
@@ -135,7 +135,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
135
135
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
136
136
  * @internal
137
137
  */
138
- defaultUserAgentProvider?: Provider<__UserAgent>;
138
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
139
139
  /**
140
140
  * Default credentials provider; Not available in browser runtime.
141
141
  * @deprecated
@@ -1,4 +1,4 @@
1
- import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
2
  import type { ConnectHealthHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
@@ -1,4 +1,4 @@
1
- import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
3
  import { type ConnectHealthClientResolvedConfig } from "../ConnectHealthClient";
4
4
  /**
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export * from "./ConnectHealthClient";
7
7
  export * from "./ConnectHealth";
8
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
8
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ConnectHealthExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
@@ -1,5 +1,5 @@
1
- import { CustomTemplateBase, DomainStatus, EncryptionType, InsightsType, JobStatus, ManagedNoteTemplate, MedicalScribeLanguageCode, MedicalScribeMediaEncoding, MedicalScribeParticipantRole, MedicalScribeSessionControlEventType, MedicalScribeStreamStatus, PostStreamArtifactGenerationStatus, Pronouns, ProviderRole, Specialty, SubscriptionStatus } from "./enums";
2
- import { InternalServerException, ValidationException } from "./errors";
1
+ import type { CustomTemplateBase, DomainStatus, EncryptionType, InsightsType, JobStatus, ManagedNoteTemplate, MedicalScribeLanguageCode, MedicalScribeMediaEncoding, MedicalScribeParticipantRole, MedicalScribeSessionControlEventType, MedicalScribeStreamStatus, PostStreamArtifactGenerationStatus, Pronouns, ProviderRole, Specialty, SubscriptionStatus } from "./enums";
2
+ import type { InternalServerException, ValidationException } from "./errors";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListDomainsCommandInput, ListDomainsCommandOutput } from "../commands/ListDomainsCommand";
3
- import { ConnectHealthPaginationConfiguration } from "./Interfaces";
3
+ import type { ConnectHealthPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "../commands/ListSubscriptionsCommand";
3
- import { ConnectHealthPaginationConfiguration } from "./Interfaces";
3
+ import type { ConnectHealthPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: ConnectHealthClientConfig) => {
20
20
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
21
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
22
  cacheMiddleware?: boolean | undefined;
23
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
24
24
  protocolSettings: {
25
25
  defaultNamespace?: string;
26
26
  [setting: string]: unknown;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ConnectHealthClientConfig) => {
22
22
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
24
24
  cacheMiddleware?: boolean | undefined;
25
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
25
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
26
26
  protocolSettings: {
27
27
  defaultNamespace?: string;
28
28
  [setting: string]: unknown;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConnectHealthClientConfig) => {
8
8
  sha256: import("@smithy/types").HashConstructor;
9
9
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
10
10
  cacheMiddleware?: boolean;
11
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
12
12
  protocolSettings: {
13
13
  defaultNamespace?: string;
14
14
  [setting: string]: unknown;
@@ -35,6 +35,7 @@ import {
35
35
  Client as __Client,
36
36
  } from "@smithy/smithy-client";
37
37
  import {
38
+ AwsCredentialIdentityProvider,
38
39
  BodyLengthCalculator as __BodyLengthCalculator,
39
40
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
40
41
  ChecksumConstructor as __ChecksumConstructor,
@@ -47,8 +48,6 @@ import {
47
48
  Provider as __Provider,
48
49
  StreamCollector as __StreamCollector,
49
50
  UrlParser as __UrlParser,
50
- AwsCredentialIdentityProvider,
51
- Provider,
52
51
  UserAgent as __UserAgent,
53
52
  } from "@smithy/types";
54
53
  import {
@@ -178,7 +177,7 @@ export interface ClientDefaults
178
177
  useFipsEndpoint?: boolean | __Provider<boolean>;
179
178
  region?: string | __Provider<string>;
180
179
  profile?: string;
181
- defaultUserAgentProvider?: Provider<__UserAgent>;
180
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
182
181
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
183
182
  maxAttempts?: number | __Provider<number>;
184
183
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { ConnectHealthHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -2,7 +2,7 @@ import {
2
2
  AwsSdkSigV4AuthInputConfig,
3
3
  AwsSdkSigV4AuthResolvedConfig,
4
4
  AwsSdkSigV4PreviouslyResolved,
5
- } from "@aws-sdk/core";
5
+ } from "@aws-sdk/core/httpAuthSchemes";
6
6
  import {
7
7
  HandlerExecutionContext,
8
8
  HttpAuthScheme,
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: ConnectHealthClientConfig) => {
32
32
  protocol:
33
33
  | import("@smithy/types").ClientProtocol<any, any>
34
34
  | import("@smithy/types").ClientProtocolCtor<any, any>
35
- | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
35
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
36
36
  protocolSettings: {
37
37
  defaultNamespace?: string;
38
38
  [setting: string]: unknown;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: ConnectHealthClientConfig) => {
32
32
  protocol:
33
33
  | import("@smithy/types").ClientProtocol<any, any>
34
34
  | import("@smithy/types").ClientProtocolCtor<any, any>
35
- | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
35
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
36
36
  protocolSettings: {
37
37
  defaultNamespace?: string;
38
38
  [setting: string]: unknown;
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: ConnectHealthClientConfig) => {
13
13
  protocol:
14
14
  | import("@smithy/types").ClientProtocol<any, any>
15
15
  | import("@smithy/types").ClientProtocolCtor<any, any>
16
- | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
16
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
17
17
  protocolSettings: {
18
18
  defaultNamespace?: string;
19
19
  [setting: string]: unknown;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connecthealth",
3
3
  "description": "AWS SDK for JavaScript Connecthealth Client for Node.js, Browser and React Native",
4
- "version": "3.1018.0",
4
+ "version": "3.1020.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connecthealth",
@@ -21,21 +21,21 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.25",
25
- "@aws-sdk/credential-provider-node": "^3.972.26",
24
+ "@aws-sdk/core": "^3.973.26",
25
+ "@aws-sdk/credential-provider-node": "^3.972.28",
26
26
  "@aws-sdk/eventstream-handler-node": "^3.972.12",
27
27
  "@aws-sdk/middleware-eventstream": "^3.972.8",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.8",
29
29
  "@aws-sdk/middleware-logger": "^3.972.8",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
31
- "@aws-sdk/middleware-user-agent": "^3.972.26",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.27",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.10",
33
33
  "@aws-sdk/types": "^3.973.6",
34
34
  "@aws-sdk/util-endpoints": "^3.996.5",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
36
- "@aws-sdk/util-user-agent-node": "^3.973.12",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.13",
37
37
  "@smithy/config-resolver": "^4.4.13",
38
- "@smithy/core": "^3.23.12",
38
+ "@smithy/core": "^3.23.13",
39
39
  "@smithy/eventstream-serde-browser": "^4.2.12",
40
40
  "@smithy/eventstream-serde-config-resolver": "^4.3.12",
41
41
  "@smithy/eventstream-serde-node": "^4.2.12",
@@ -43,21 +43,21 @@
43
43
  "@smithy/hash-node": "^4.2.12",
44
44
  "@smithy/invalid-dependency": "^4.2.12",
45
45
  "@smithy/middleware-content-length": "^4.2.12",
46
- "@smithy/middleware-endpoint": "^4.4.27",
47
- "@smithy/middleware-retry": "^4.4.44",
48
- "@smithy/middleware-serde": "^4.2.15",
46
+ "@smithy/middleware-endpoint": "^4.4.28",
47
+ "@smithy/middleware-retry": "^4.4.45",
48
+ "@smithy/middleware-serde": "^4.2.16",
49
49
  "@smithy/middleware-stack": "^4.2.12",
50
50
  "@smithy/node-config-provider": "^4.3.12",
51
- "@smithy/node-http-handler": "^4.5.0",
51
+ "@smithy/node-http-handler": "^4.5.1",
52
52
  "@smithy/protocol-http": "^5.3.12",
53
- "@smithy/smithy-client": "^4.12.7",
53
+ "@smithy/smithy-client": "^4.12.8",
54
54
  "@smithy/types": "^4.13.1",
55
55
  "@smithy/url-parser": "^4.2.12",
56
56
  "@smithy/util-base64": "^4.3.2",
57
57
  "@smithy/util-body-length-browser": "^4.2.2",
58
58
  "@smithy/util-body-length-node": "^4.2.3",
59
- "@smithy/util-defaults-mode-browser": "^4.3.43",
60
- "@smithy/util-defaults-mode-node": "^4.2.47",
59
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
60
+ "@smithy/util-defaults-mode-node": "^4.2.48",
61
61
  "@smithy/util-endpoints": "^3.3.3",
62
62
  "@smithy/util-middleware": "^4.2.12",
63
63
  "@smithy/util-retry": "^4.2.12",