File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ import {
33
33
} from "@smithy/smithy-client" ;
34
34
import {
35
35
BodyLengthCalculator as __BodyLengthCalculator ,
36
+ CheckOptionalClientConfig as __CheckOptionalClientConfig ,
36
37
Checksum as __Checksum ,
37
38
ChecksumConstructor as __ChecksumConstructor ,
38
39
Decoder as __Decoder ,
@@ -317,8 +318,8 @@ export class ACMClient extends __Client<
317
318
*/
318
319
readonly config : ACMClientResolvedConfig ;
319
320
320
- constructor ( configuration : ACMClientConfig ) {
321
- const _config_0 = __getRuntimeConfig ( configuration ) ;
321
+ constructor ( ... [ configuration ] : __CheckOptionalClientConfig < ACMClientConfig > ) {
322
+ const _config_0 = __getRuntimeConfig ( configuration || { } ) ;
322
323
const _config_1 = resolveClientEndpointParameters ( _config_0 ) ;
323
324
const _config_2 = resolveRegionConfig ( _config_1 ) ;
324
325
const _config_3 = resolveEndpointConfig ( _config_2 ) ;
You can’t perform that action at this time.
0 commit comments