1
- import { EchoCommandInput , EchoCommandOutput } from "./commands/EchoCommand" ;
2
- import { LengthCommandInput , LengthCommandOutput } from "./commands/LengthCommand" ;
3
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig" ;
4
1
import {
5
2
CustomEndpointsInputConfig ,
6
3
CustomEndpointsResolvedConfig ,
7
4
resolveCustomEndpointsConfig ,
8
5
} from "@aws-sdk/config-resolver" ;
9
6
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length" ;
10
7
import {
8
+ getHostHeaderPlugin ,
11
9
HostHeaderInputConfig ,
12
10
HostHeaderResolvedConfig ,
13
- getHostHeaderPlugin ,
14
11
resolveHostHeaderConfig ,
15
12
} from "@aws-sdk/middleware-host-header" ;
16
13
import { getLoggerPlugin } from "@aws-sdk/middleware-logger" ;
17
- import { RetryInputConfig , RetryResolvedConfig , getRetryPlugin , resolveRetryConfig } from "@aws-sdk/middleware-retry" ;
14
+ import { getRetryPlugin , resolveRetryConfig , RetryInputConfig , RetryResolvedConfig } from "@aws-sdk/middleware-retry" ;
18
15
import {
19
- UserAgentInputConfig ,
20
- UserAgentResolvedConfig ,
21
16
getUserAgentPlugin ,
22
17
resolveUserAgentConfig ,
18
+ UserAgentInputConfig ,
19
+ UserAgentResolvedConfig ,
23
20
} from "@aws-sdk/middleware-user-agent" ;
24
21
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http" ;
25
22
import {
@@ -28,19 +25,23 @@ import {
28
25
SmithyResolvedConfiguration as __SmithyResolvedConfiguration ,
29
26
} from "@aws-sdk/smithy-client" ;
30
27
import {
31
- Provider ,
32
28
Decoder as __Decoder ,
33
29
Encoder as __Encoder ,
34
30
Hash as __Hash ,
35
31
HashConstructor as __HashConstructor ,
36
32
HttpHandlerOptions as __HttpHandlerOptions ,
37
33
Logger as __Logger ,
38
34
Provider as __Provider ,
35
+ Provider ,
39
36
StreamCollector as __StreamCollector ,
40
37
UrlParser as __UrlParser ,
41
38
UserAgent as __UserAgent ,
42
39
} from "@aws-sdk/types" ;
43
40
41
+ import { EchoCommandInput , EchoCommandOutput } from "./commands/EchoCommand" ;
42
+ import { LengthCommandInput , LengthCommandOutput } from "./commands/LengthCommand" ;
43
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig" ;
44
+
44
45
export type ServiceInputTypes = EchoCommandInput | LengthCommandInput ;
45
46
46
47
export type ServiceOutputTypes = EchoCommandOutput | LengthCommandOutput ;
@@ -128,6 +129,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
128
129
logger ?: __Logger ;
129
130
130
131
/**
132
+ <<<<<<< HEAD
131
133
* Enables IPv6/IPv4 dualstack endpoint.
132
134
*/
133
135
useDualstackEndpoint ?: boolean | __Provider < boolean > ;
@@ -138,6 +140,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
138
140
useFipsEndpoint ?: boolean | __Provider < boolean > ;
139
141
140
142
/**
143
+ =======
144
+ >>>>>>> e6065437ed (feat(private): add generic client aws-echo-service (#2950))
141
145
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
142
146
* @internal
143
147
*/
@@ -178,11 +182,11 @@ export class EchoServiceClient extends __Client<
178
182
readonly config : EchoServiceClientResolvedConfig ;
179
183
180
184
constructor ( configuration : EchoServiceClientConfig ) {
181
- let _config_0 = __getRuntimeConfig ( configuration ) ;
182
- let _config_1 = resolveCustomEndpointsConfig ( _config_0 ) ;
183
- let _config_2 = resolveRetryConfig ( _config_1 ) ;
184
- let _config_3 = resolveHostHeaderConfig ( _config_2 ) ;
185
- let _config_4 = resolveUserAgentConfig ( _config_3 ) ;
185
+ const _config_0 = __getRuntimeConfig ( configuration ) ;
186
+ const _config_1 = resolveCustomEndpointsConfig ( _config_0 ) ;
187
+ const _config_2 = resolveRetryConfig ( _config_1 ) ;
188
+ const _config_3 = resolveHostHeaderConfig ( _config_2 ) ;
189
+ const _config_4 = resolveUserAgentConfig ( _config_3 ) ;
186
190
super ( _config_4 ) ;
187
191
this . config = _config_4 ;
188
192
this . middlewareStack . use ( getRetryPlugin ( this . config ) ) ;
0 commit comments