@aws-sdk/client-connect 3.1109.0 → 3.1111.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 (39) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +36 -3
  3. package/dist-es/Connect.js +2 -0
  4. package/dist-es/commands/StartAssistantContactCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/schemas/schemas_0.js +26 -2
  7. package/dist-types/Connect.d.ts +7 -0
  8. package/dist-types/ConnectClient.d.ts +3 -2
  9. package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -1
  10. package/dist-types/commands/StartAssistantContactCommand.d.ts +126 -0
  11. package/dist-types/commands/StartWebRTCContactCommand.d.ts +28 -1
  12. package/dist-types/commands/index.d.ts +1 -0
  13. package/dist-types/models/models_0.d.ts +11 -21
  14. package/dist-types/models/models_1.d.ts +22 -58
  15. package/dist-types/models/models_2.d.ts +59 -22
  16. package/dist-types/models/models_3.d.ts +164 -211
  17. package/dist-types/models/models_4.d.ts +161 -4
  18. package/dist-types/runtimeConfig.browser.d.ts +40 -40
  19. package/dist-types/runtimeConfig.d.ts +36 -36
  20. package/dist-types/runtimeConfig.native.d.ts +38 -38
  21. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  22. package/dist-types/schemas/schemas_0.d.ts +4 -0
  23. package/dist-types/ts3.4/Connect.d.ts +17 -0
  24. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  25. package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/StartAssistantContactCommand.d.ts +39 -0
  27. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +2 -1
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +3 -5
  30. package/dist-types/ts3.4/models/models_1.d.ts +5 -14
  31. package/dist-types/ts3.4/models/models_2.d.ts +16 -7
  32. package/dist-types/ts3.4/models/models_3.d.ts +33 -47
  33. package/dist-types/ts3.4/models/models_4.d.ts +33 -2
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  39. package/package.json +5 -5
@@ -290,6 +290,7 @@ export * from "./SearchWorkspacesCommand";
290
290
  export * from "./SendChatIntegrationEventCommand";
291
291
  export * from "./SendOutboundEmailCommand";
292
292
  export * from "./SendOutboundWebNotificationCommand";
293
+ export * from "./StartAssistantContactCommand";
293
294
  export * from "./StartAttachedFileUploadCommand";
294
295
  export * from "./StartChatContactCommand";
295
296
  export * from "./StartContactConversationalAnalyticsJobCommand";
@@ -256,6 +256,9 @@ export interface AiAgentInfo {
256
256
  AiAgentVersionId?: string | undefined;
257
257
  AiAgentEscalated?: boolean | undefined;
258
258
  }
259
+ export interface AiAgentInput {
260
+ AiAgentId: string | undefined;
261
+ }
259
262
  export interface AiAgentSearchCriteria {
260
263
  Id?: string | undefined;
261
264
  VersionNumber?: number | undefined;
@@ -1735,8 +1738,3 @@ export interface CreateUseCaseResponse {
1735
1738
  UseCaseId?: string | undefined;
1736
1739
  UseCaseArn?: string | undefined;
1737
1740
  }
1738
- export interface AutoAcceptConfig {
1739
- Channel: Channel | undefined;
1740
- AutoAccept: boolean | undefined;
1741
- AgentFirstCallbackAutoAccept?: boolean | undefined;
1742
- }
@@ -72,17 +72,14 @@ import {
72
72
  } from "./enums";
73
73
  import {
74
74
  AfterContactWorkConfigPerChannel,
75
- AgentContactReference,
76
75
  AgentQualityMetrics,
77
76
  AgentsCriteria,
78
77
  AgentStatus,
79
78
  AgentStatusIdentifier,
80
- AgentStatusReference,
81
79
  AiAgentInfo,
82
80
  AliasConfiguration,
83
81
  AllowedExtension,
84
82
  AudioQualityMetricsInfo,
85
- AutoAcceptConfig,
86
83
  CreatedByInfo,
87
84
  DataTableLockVersion,
88
85
  DeviceInfo,
@@ -112,6 +109,11 @@ import {
112
109
  TestCaseEntryPoint,
113
110
  Validation,
114
111
  } from "./models_0";
112
+ export interface AutoAcceptConfig {
113
+ Channel: Channel | undefined;
114
+ AutoAccept: boolean | undefined;
115
+ AgentFirstCallbackAutoAccept?: boolean | undefined;
116
+ }
115
117
  export interface UserIdentityInfo {
116
118
  FirstName?: string | undefined;
117
119
  LastName?: string | undefined;
@@ -1786,14 +1788,3 @@ export interface UserReference {
1786
1788
  Id?: string | undefined;
1787
1789
  Arn?: string | undefined;
1788
1790
  }
1789
- export interface UserData {
1790
- User?: UserReference | undefined;
1791
- RoutingProfile?: RoutingProfileReference | undefined;
1792
- HierarchyPath?: HierarchyPathReference | undefined;
1793
- Status?: AgentStatusReference | undefined;
1794
- AvailableSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
1795
- MaxSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
1796
- ActiveSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
1797
- Contacts?: AgentContactReference[] | undefined;
1798
- NextStatus?: string | undefined;
1799
- }
@@ -79,7 +79,9 @@ import {
79
79
  import {
80
80
  ActionSummary,
81
81
  AgentConfig,
82
+ AgentContactReference,
82
83
  AgentStatus,
84
+ AgentStatusReference,
83
85
  AgentStatusSummary,
84
86
  AnalyticsDataAssociationResult,
85
87
  Application,
@@ -102,7 +104,6 @@ import {
102
104
  } from "./models_0";
103
105
  import {
104
106
  Attribute,
105
- ContactFlow,
106
107
  ContactFlowModule,
107
108
  DataTableAttribute,
108
109
  Dimensions,
@@ -111,11 +112,24 @@ import {
111
112
  ExtensionConfiguration,
112
113
  Filters,
113
114
  HierarchyGroupSummary,
115
+ HierarchyPathReference,
114
116
  HoursOfOperationOverride,
115
117
  HoursOfOperationsIdentifier,
116
118
  Notification,
117
- UserData,
119
+ RoutingProfileReference,
120
+ UserReference,
118
121
  } from "./models_1";
122
+ export interface UserData {
123
+ User?: UserReference | undefined;
124
+ RoutingProfile?: RoutingProfileReference | undefined;
125
+ HierarchyPath?: HierarchyPathReference | undefined;
126
+ Status?: AgentStatusReference | undefined;
127
+ AvailableSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
128
+ MaxSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
129
+ ActiveSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
130
+ Contacts?: AgentContactReference[] | undefined;
131
+ NextStatus?: string | undefined;
132
+ }
119
133
  export interface GetCurrentUserDataResponse {
120
134
  NextToken?: string | undefined;
121
135
  UserDataList?: UserData[] | undefined;
@@ -2015,8 +2029,3 @@ export interface ContactFlowSearchFilter {
2015
2029
  TagFilter?: ControlPlaneTagFilter | undefined;
2016
2030
  FlowAttributeFilter?: ContactFlowAttributeFilter | undefined;
2017
2031
  }
2018
- export interface SearchContactFlowsResponse {
2019
- ContactFlows?: ContactFlow[] | undefined;
2020
- NextToken?: string | undefined;
2021
- ApproximateTotalCount?: number | undefined;
2022
- }
@@ -74,11 +74,10 @@ import {
74
74
  AfterContactWorkConfigPerChannel,
75
75
  AgentConfig,
76
76
  AgentHierarchyGroups,
77
+ AiAgentInput,
77
78
  AiAgentsCriteria,
78
79
  AliasConfiguration,
79
- AllowedCapabilities,
80
80
  Application,
81
- AutoAcceptConfig,
82
81
  ControlPlaneAttributeFilter,
83
82
  CreatedByInfo,
84
83
  DataTableLockVersion,
@@ -112,6 +111,8 @@ import {
112
111
  Validation,
113
112
  } from "./models_0";
114
113
  import {
114
+ AutoAcceptConfig,
115
+ ContactFlow,
115
116
  DataTable,
116
117
  EvaluationAnswerData,
117
118
  EvaluationNote,
@@ -135,15 +136,12 @@ import {
135
136
  VoiceEnhancementConfig,
136
137
  WorkspaceTheme,
137
138
  } from "./models_1";
138
- import {
139
- BooleanCondition,
140
- ControlPlaneTagFilter,
141
- DateTimeCondition,
142
- DecimalCondition,
143
- NumberCondition,
144
- SignInConfig,
145
- TelephonyConfig,
146
- } from "./models_2";
139
+ import { ControlPlaneTagFilter, NumberCondition, SignInConfig, TelephonyConfig } from "./models_2";
140
+ export interface SearchContactFlowsResponse {
141
+ ContactFlows?: ContactFlow[] | undefined;
142
+ NextToken?: string | undefined;
143
+ ApproximateTotalCount?: number | undefined;
144
+ }
147
145
  export interface SearchContactsTimeRange {
148
146
  Type: SearchContactsTimeRangeType | undefined;
149
147
  StartTime: Date | undefined;
@@ -679,6 +677,30 @@ export interface SendOutboundWebNotificationRequest {
679
677
  Content: WebNotificationContent | undefined;
680
678
  }
681
679
  export interface SendOutboundWebNotificationResponse {}
680
+ export interface ChatMessage {
681
+ ContentType: string | undefined;
682
+ Content: string | undefined;
683
+ }
684
+ export interface PersistentChat {
685
+ RehydrationType?: RehydrationType | undefined;
686
+ SourceContactId?: string | undefined;
687
+ }
688
+ export interface StartAssistantContactRequest {
689
+ InstanceId: string | undefined;
690
+ AiAgent: AiAgentInput | undefined;
691
+ ParticipantDetails: ParticipantDetails | undefined;
692
+ InitialMessage?: ChatMessage | undefined;
693
+ Attributes?: Record<string, string> | undefined;
694
+ ClientToken?: string | undefined;
695
+ PersistentChat?: PersistentChat | undefined;
696
+ RelatedContactId?: string | undefined;
697
+ }
698
+ export interface StartAssistantContactResponse {
699
+ ContactId?: string | undefined;
700
+ ParticipantId?: string | undefined;
701
+ ParticipantToken?: string | undefined;
702
+ ContinuedFromContactId?: string | undefined;
703
+ }
682
704
  export interface StartAttachedFileUploadRequest {
683
705
  ClientToken?: string | undefined;
684
706
  InstanceId: string | undefined;
@@ -703,17 +725,9 @@ export interface StartAttachedFileUploadResponse {
703
725
  CreatedBy?: CreatedByInfo | undefined;
704
726
  UploadUrlMetadata?: UploadUrlMetadata | undefined;
705
727
  }
706
- export interface ChatMessage {
707
- ContentType: string | undefined;
708
- Content: string | undefined;
709
- }
710
728
  export interface ParticipantConfiguration {
711
729
  ResponseMode?: ResponseMode | undefined;
712
730
  }
713
- export interface PersistentChat {
714
- RehydrationType?: RehydrationType | undefined;
715
- SourceContactId?: string | undefined;
716
- }
717
731
  export interface StartChatContactResponse {
718
732
  ContactId?: string | undefined;
719
733
  ParticipantId?: string | undefined;
@@ -892,17 +906,6 @@ export interface StartTestCaseExecutionResponse {
892
906
  TestCaseId?: string | undefined;
893
907
  Status?: TestCaseExecutionStatus | undefined;
894
908
  }
895
- export interface StartWebRTCContactRequest {
896
- Attributes?: Record<string, string> | undefined;
897
- ClientToken?: string | undefined;
898
- ContactFlowId: string | undefined;
899
- InstanceId: string | undefined;
900
- AllowedCapabilities?: AllowedCapabilities | undefined;
901
- ParticipantDetails: ParticipantDetails | undefined;
902
- RelatedContactId?: string | undefined;
903
- References?: Record<string, Reference> | undefined;
904
- Description?: string | undefined;
905
- }
906
909
  export interface Attendee {
907
910
  AttendeeId?: string | undefined;
908
911
  JoinToken?: string | undefined;
@@ -1672,20 +1675,3 @@ export interface EvaluationFormItemEnablementConfiguration {
1672
1675
  Action: EvaluationFormItemEnablementAction | undefined;
1673
1676
  DefaultAction?: EvaluationFormItemEnablementAction | undefined;
1674
1677
  }
1675
- export interface EvaluationFormSearchCriteria {
1676
- OrConditions?: EvaluationFormSearchCriteria[] | undefined;
1677
- AndConditions?: EvaluationFormSearchCriteria[] | undefined;
1678
- StringCondition?: StringCondition | undefined;
1679
- NumberCondition?: NumberCondition | undefined;
1680
- BooleanCondition?: BooleanCondition | undefined;
1681
- DateTimeCondition?: DateTimeCondition | undefined;
1682
- }
1683
- export interface EvaluationSearchCriteria {
1684
- OrConditions?: EvaluationSearchCriteria[] | undefined;
1685
- AndConditions?: EvaluationSearchCriteria[] | undefined;
1686
- StringCondition?: StringCondition | undefined;
1687
- NumberCondition?: NumberCondition | undefined;
1688
- BooleanCondition?: BooleanCondition | undefined;
1689
- DateTimeCondition?: DateTimeCondition | undefined;
1690
- DecimalCondition?: DecimalCondition | undefined;
1691
- }
@@ -17,6 +17,7 @@ import {
17
17
  AdditionalEmailRecipients,
18
18
  AgentInfo,
19
19
  AgentStatusSearchFilter,
20
+ AllowedCapabilities,
20
21
  Campaign,
21
22
  Endpoint,
22
23
  EvaluationFormAutoEvaluationConfiguration,
@@ -55,7 +56,10 @@ import {
55
56
  BooleanCondition,
56
57
  ContactFlowModuleSearchFilter,
57
58
  ContactFlowSearchFilter,
59
+ DateTimeCondition,
60
+ DecimalCondition,
58
61
  EvaluationSearchFilter,
62
+ NumberCondition,
59
63
  } from "./models_2";
60
64
  import {
61
65
  AgentStatusSearchCriteria,
@@ -73,9 +77,7 @@ import {
73
77
  EmailAddressSearchFilter,
74
78
  EmailAttachment,
75
79
  EvaluationFormItemEnablementConfiguration,
76
- EvaluationFormSearchCriteria,
77
80
  EvaluationFormSearchFilter,
78
- EvaluationSearchCriteria,
79
81
  HierarchyGroupCondition,
80
82
  HoursOfOperationSearchFilter,
81
83
  InboundAdditionalRecipients,
@@ -103,6 +105,23 @@ import {
103
105
  WorkspaceAssociationSearchFilter,
104
106
  WorkspaceSearchFilter,
105
107
  } from "./models_3";
108
+ export interface EvaluationFormSearchCriteria {
109
+ OrConditions?: EvaluationFormSearchCriteria[] | undefined;
110
+ AndConditions?: EvaluationFormSearchCriteria[] | undefined;
111
+ StringCondition?: StringCondition | undefined;
112
+ NumberCondition?: NumberCondition | undefined;
113
+ BooleanCondition?: BooleanCondition | undefined;
114
+ DateTimeCondition?: DateTimeCondition | undefined;
115
+ }
116
+ export interface EvaluationSearchCriteria {
117
+ OrConditions?: EvaluationSearchCriteria[] | undefined;
118
+ AndConditions?: EvaluationSearchCriteria[] | undefined;
119
+ StringCondition?: StringCondition | undefined;
120
+ NumberCondition?: NumberCondition | undefined;
121
+ BooleanCondition?: BooleanCondition | undefined;
122
+ DateTimeCondition?: DateTimeCondition | undefined;
123
+ DecimalCondition?: DecimalCondition | undefined;
124
+ }
106
125
  export interface Expression {
107
126
  AttributeCondition?: AttributeCondition | undefined;
108
127
  AndExpression?: Expression[] | undefined;
@@ -479,6 +498,18 @@ export interface StartTaskContactRequest {
479
498
  SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
480
499
  Attachments?: TaskAttachment[] | undefined;
481
500
  }
501
+ export interface StartWebRTCContactRequest {
502
+ Attributes?: Record<string, string> | undefined;
503
+ ClientToken?: string | undefined;
504
+ ContactFlowId: string | undefined;
505
+ InstanceId: string | undefined;
506
+ AllowedCapabilities?: AllowedCapabilities | undefined;
507
+ ParticipantDetails: ParticipantDetails | undefined;
508
+ RelatedContactId?: string | undefined;
509
+ References?: Record<string, Reference> | undefined;
510
+ Description?: string | undefined;
511
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
512
+ }
482
513
  export interface UpdateContactRequest {
483
514
  InstanceId: string | undefined;
484
515
  ContactId: string | undefined;
@@ -1,81 +1,30 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { ConnectClientConfig } from "./ConnectClient";
3
3
  export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
4
- runtime: string;
5
- defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/core/client").ResolvedDefaultsMode
7
- >;
8
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider:
10
- | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
- defaultUserAgentProvider: (
13
- config?: import("@aws-sdk/core/client").PreviouslyResolved,
14
- ) => Promise<import("@smithy/types").UserAgent>;
15
- maxAttempts: number | import("@smithy/types").Provider<number>;
16
- region: string | import("@smithy/types").Provider<any>;
17
- requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
18
- retryMode: string | import("@smithy/types").Provider<string>;
19
- streamCollector: (
20
- stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
21
- ) => Promise<Uint8Array>;
22
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
- cacheMiddleware?: boolean | undefined;
27
- protocol:
28
- | import("@smithy/types").ClientProtocol<any, any>
29
- | import("@smithy/types").ClientProtocolCtor<any, any>
30
- | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
31
- protocolSettings: {
32
- defaultNamespace?: string;
33
- [setting: string]: unknown;
34
- };
35
- apiVersion: string;
36
- sha256: import("@smithy/types").HashConstructor;
37
- urlParser: import("@smithy/types").UrlParser;
38
- base64Decoder: import("@smithy/types").Decoder;
39
- base64Encoder: (_input: Uint8Array | string) => string;
40
- utf8Decoder: import("@smithy/types").Decoder;
41
- utf8Encoder: (input: Uint8Array | string) => string;
42
- disableHostPrefix: boolean;
43
- serviceId: string;
44
- profile?: string;
45
- logger: import("@smithy/types").Logger;
46
- extensions: import("./runtimeExtensions").RuntimeExtension[];
47
- customUserAgent?: string | import("@smithy/types").UserAgent;
48
- userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
4
+ cacheMiddleware?: boolean;
50
5
  endpoint?:
51
6
  | ((
52
7
  | string
53
8
  | import("@smithy/types").Endpoint
54
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
9
  | import("@smithy/types").EndpointV2
10
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
11
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
12
  ) &
58
13
  (
59
14
  | string
60
- | import("@smithy/types").Provider<string>
61
15
  | import("@smithy/types").Endpoint
62
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
63
16
  | import("@smithy/types").EndpointV2
17
+ | import("@smithy/types").Provider<string>
18
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
19
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
65
20
  ))
66
21
  | undefined;
67
- endpointProvider: (
68
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
- context?: {
70
- logger?: import("@smithy/types").Logger;
71
- },
72
- ) => import("@smithy/types").EndpointV2;
73
22
  tls?: boolean;
74
23
  ignoreConfiguredEndpointUrls?: boolean;
75
24
  serviceConfiguredEndpoint?: never;
76
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
77
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
78
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
25
+ customUserAgent?: string | import("@smithy/types").UserAgent;
26
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
27
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
79
28
  credentials?:
80
29
  | import("@smithy/types").AwsCredentialIdentity
81
30
  | import("@smithy/types").AwsCredentialIdentityProvider;
@@ -92,4 +41,53 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
92
41
  import("@smithy/signature-v4").SignatureV4CryptoInit,
93
42
  ) => import("@smithy/types").RequestSigner;
94
43
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
44
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
45
+ apiVersion: string;
46
+ base64Decoder: import("@smithy/types").Decoder;
47
+ base64Encoder: (_input: Uint8Array | string) => string;
48
+ disableHostPrefix: boolean;
49
+ endpointProvider: (
50
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@smithy/types").Logger;
53
+ },
54
+ ) => import("@smithy/types").EndpointV2;
55
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
56
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
57
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
58
+ logger: import("@smithy/types").Logger;
59
+ protocol:
60
+ | import("@smithy/types").$ClientProtocol<any, any>
61
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
62
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
63
+ protocolSettings: {
64
+ [setting: string]: unknown;
65
+ defaultNamespace?: string;
66
+ };
67
+ serviceId: string;
68
+ sha256: import("@smithy/types").HashConstructor;
69
+ urlParser: import("@smithy/types").UrlParser;
70
+ utf8Decoder: import("@smithy/types").Decoder;
71
+ utf8Encoder: (input: Uint8Array | string) => string;
72
+ profile?: string;
73
+ runtime: string;
74
+ defaultsMode: import("@smithy/types").Provider<
75
+ import("@smithy/core/client").ResolvedDefaultsMode
76
+ >;
77
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
78
+ credentialDefaultProvider:
79
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
80
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
81
+ defaultUserAgentProvider: (
82
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
83
+ ) => Promise<import("@smithy/types").UserAgent>;
84
+ maxAttempts: number | import("@smithy/types").Provider<number>;
85
+ region: string | import("@smithy/types").Provider<any>;
86
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
87
+ retryMode: string | import("@smithy/types").Provider<string>;
88
+ streamCollector: (
89
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
90
+ ) => Promise<Uint8Array>;
91
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
92
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
95
93
  };
@@ -1,81 +1,29 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { ConnectClientConfig } from "./ConnectClient";
3
3
  export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
4
- runtime: string;
5
- defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/core/client").ResolvedDefaultsMode
7
- >;
8
- authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider:
11
- | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
- | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
- ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
- defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
- ) => Promise<import("@smithy/types").UserAgent>;
18
- maxAttempts: number | import("@smithy/types").Provider<number>;
19
- region: string | import("@smithy/types").Provider<string>;
20
- requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
21
- retryMode: string | import("@smithy/types").Provider<string>;
22
- streamCollector: (
23
- stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
24
- ) => Promise<Uint8Array>;
25
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
- userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
28
- cacheMiddleware?: boolean | undefined;
29
- protocol:
30
- | import("@smithy/types").ClientProtocol<any, any>
31
- | import("@smithy/types").ClientProtocolCtor<any, any>
32
- | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
33
- protocolSettings: {
34
- defaultNamespace?: string;
35
- [setting: string]: unknown;
36
- };
37
- apiVersion: string;
38
- sha256: import("@smithy/types").HashConstructor;
39
- urlParser: import("@smithy/types").UrlParser;
40
- base64Decoder: import("@smithy/types").Decoder;
41
- base64Encoder: (_input: Uint8Array | string) => string;
42
- utf8Decoder: import("@smithy/types").Decoder;
43
- utf8Encoder: (input: Uint8Array | string) => string;
44
- disableHostPrefix: boolean;
45
- serviceId: string;
46
- profile?: string;
47
- logger: import("@smithy/types").Logger;
48
- extensions: import("./runtimeExtensions").RuntimeExtension[];
49
- customUserAgent?: string | import("@smithy/types").UserAgent;
50
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
4
+ cacheMiddleware?: boolean;
51
5
  endpoint?:
52
6
  | ((
53
7
  | string
54
8
  | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
9
  | import("@smithy/types").EndpointV2
10
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
57
11
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
58
12
  ) &
59
13
  (
60
14
  | string
61
- | import("@smithy/types").Provider<string>
62
15
  | import("@smithy/types").Endpoint
63
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
16
  | import("@smithy/types").EndpointV2
17
+ | import("@smithy/types").Provider<string>
18
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
65
19
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
66
20
  ))
67
21
  | undefined;
68
- endpointProvider: (
69
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
70
- context?: {
71
- logger?: import("@smithy/types").Logger;
72
- },
73
- ) => import("@smithy/types").EndpointV2;
74
22
  tls?: boolean;
75
23
  ignoreConfiguredEndpointUrls?: boolean;
76
24
  serviceConfiguredEndpoint?: never;
77
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
78
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
25
+ customUserAgent?: string | import("@smithy/types").UserAgent;
26
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
79
27
  credentials?:
80
28
  | import("@smithy/types").AwsCredentialIdentity
81
29
  | import("@smithy/types").AwsCredentialIdentityProvider;
@@ -92,4 +40,56 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
92
40
  import("@smithy/signature-v4").SignatureV4CryptoInit,
93
41
  ) => import("@smithy/types").RequestSigner;
94
42
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
43
+ apiVersion: string;
44
+ base64Decoder: import("@smithy/types").Decoder;
45
+ base64Encoder: (_input: Uint8Array | string) => string;
46
+ disableHostPrefix: boolean;
47
+ endpointProvider: (
48
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
49
+ context?: {
50
+ logger?: import("@smithy/types").Logger;
51
+ },
52
+ ) => import("@smithy/types").EndpointV2;
53
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
54
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
55
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
56
+ logger: import("@smithy/types").Logger;
57
+ protocol:
58
+ | import("@smithy/types").$ClientProtocol<any, any>
59
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
60
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
61
+ protocolSettings: {
62
+ [setting: string]: unknown;
63
+ defaultNamespace?: string;
64
+ };
65
+ serviceId: string;
66
+ sha256: import("@smithy/types").HashConstructor;
67
+ urlParser: import("@smithy/types").UrlParser;
68
+ utf8Decoder: import("@smithy/types").Decoder;
69
+ utf8Encoder: (input: Uint8Array | string) => string;
70
+ runtime: string;
71
+ defaultsMode: import("@smithy/types").Provider<
72
+ import("@smithy/core/client").ResolvedDefaultsMode
73
+ >;
74
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
75
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
+ credentialDefaultProvider:
77
+ | ((
78
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
79
+ ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
80
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
81
+ defaultUserAgentProvider: (
82
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
83
+ ) => Promise<import("@smithy/types").UserAgent>;
84
+ maxAttempts: number | import("@smithy/types").Provider<number>;
85
+ region: string | import("@smithy/types").Provider<string>;
86
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
87
+ retryMode: string | import("@smithy/types").Provider<string>;
88
+ streamCollector: (
89
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
90
+ ) => Promise<Uint8Array>;
91
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
92
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
93
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
94
+ profile?: string;
95
95
  };