1
1
// smithy-typescript generated code
2
2
import { getAddExpectContinuePlugin } from "@aws-sdk/middleware-expect-continue" ;
3
+ import {
4
+ FlexibleChecksumsInputConfig ,
5
+ FlexibleChecksumsResolvedConfig ,
6
+ resolveFlexibleChecksumsConfig ,
7
+ } from "@aws-sdk/middleware-flexible-checksums" ;
3
8
import {
4
9
getHostHeaderPlugin ,
5
10
HostHeaderInputConfig ,
@@ -729,6 +734,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
729
734
export type S3ClientConfigType = Partial < __SmithyConfiguration < __HttpHandlerOptions > > &
730
735
ClientDefaults &
731
736
UserAgentInputConfig &
737
+ FlexibleChecksumsInputConfig &
732
738
RetryInputConfig &
733
739
RegionInputConfig &
734
740
HostHeaderInputConfig &
@@ -751,6 +757,7 @@ export type S3ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHan
751
757
Required < ClientDefaults > &
752
758
RuntimeExtensionsConfig &
753
759
UserAgentResolvedConfig &
760
+ FlexibleChecksumsResolvedConfig &
754
761
RetryResolvedConfig &
755
762
RegionResolvedConfig &
756
763
HostHeaderResolvedConfig &
@@ -785,16 +792,17 @@ export class S3Client extends __Client<
785
792
const _config_0 = __getRuntimeConfig ( configuration || { } ) ;
786
793
const _config_1 = resolveClientEndpointParameters ( _config_0 ) ;
787
794
const _config_2 = resolveUserAgentConfig ( _config_1 ) ;
788
- const _config_3 = resolveRetryConfig ( _config_2 ) ;
789
- const _config_4 = resolveRegionConfig ( _config_3 ) ;
790
- const _config_5 = resolveHostHeaderConfig ( _config_4 ) ;
791
- const _config_6 = resolveEndpointConfig ( _config_5 ) ;
792
- const _config_7 = resolveEventStreamSerdeConfig ( _config_6 ) ;
793
- const _config_8 = resolveHttpAuthSchemeConfig ( _config_7 ) ;
794
- const _config_9 = resolveS3Config ( _config_8 , { session : [ ( ) => this , CreateSessionCommand ] } ) ;
795
- const _config_10 = resolveRuntimeExtensions ( _config_9 , configuration ?. extensions || [ ] ) ;
796
- super ( _config_10 ) ;
797
- this . config = _config_10 ;
795
+ const _config_3 = resolveFlexibleChecksumsConfig ( _config_2 ) ;
796
+ const _config_4 = resolveRetryConfig ( _config_3 ) ;
797
+ const _config_5 = resolveRegionConfig ( _config_4 ) ;
798
+ const _config_6 = resolveHostHeaderConfig ( _config_5 ) ;
799
+ const _config_7 = resolveEndpointConfig ( _config_6 ) ;
800
+ const _config_8 = resolveEventStreamSerdeConfig ( _config_7 ) ;
801
+ const _config_9 = resolveHttpAuthSchemeConfig ( _config_8 ) ;
802
+ const _config_10 = resolveS3Config ( _config_9 , { session : [ ( ) => this , CreateSessionCommand ] } ) ;
803
+ const _config_11 = resolveRuntimeExtensions ( _config_10 , configuration ?. extensions || [ ] ) ;
804
+ super ( _config_11 ) ;
805
+ this . config = _config_11 ;
798
806
this . middlewareStack . use ( getUserAgentPlugin ( this . config ) ) ;
799
807
this . middlewareStack . use ( getRetryPlugin ( this . config ) ) ;
800
808
this . middlewareStack . use ( getContentLengthPlugin ( this . config ) ) ;
0 commit comments