@aws-sdk/client-s3 3.952.0 → 3.953.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 (126) hide show
  1. package/dist-cjs/index.js +1409 -952
  2. package/dist-cjs/runtimeConfig.shared.js +7 -5
  3. package/dist-es/commands/AbortMultipartUploadCommand.js +2 -2
  4. package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -2
  5. package/dist-es/commands/CopyObjectCommand.js +2 -2
  6. package/dist-es/commands/CreateBucketCommand.js +2 -2
  7. package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +2 -2
  8. package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +2 -2
  9. package/dist-es/commands/CreateMultipartUploadCommand.js +2 -2
  10. package/dist-es/commands/CreateSessionCommand.js +2 -2
  11. package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +2 -2
  12. package/dist-es/commands/DeleteBucketCommand.js +2 -2
  13. package/dist-es/commands/DeleteBucketCorsCommand.js +2 -2
  14. package/dist-es/commands/DeleteBucketEncryptionCommand.js +2 -2
  15. package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +2 -2
  16. package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +2 -2
  17. package/dist-es/commands/DeleteBucketLifecycleCommand.js +2 -2
  18. package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +2 -2
  19. package/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +2 -2
  20. package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +2 -2
  21. package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +2 -2
  22. package/dist-es/commands/DeleteBucketPolicyCommand.js +2 -2
  23. package/dist-es/commands/DeleteBucketReplicationCommand.js +2 -2
  24. package/dist-es/commands/DeleteBucketTaggingCommand.js +2 -2
  25. package/dist-es/commands/DeleteBucketWebsiteCommand.js +2 -2
  26. package/dist-es/commands/DeleteObjectCommand.js +2 -2
  27. package/dist-es/commands/DeleteObjectTaggingCommand.js +2 -2
  28. package/dist-es/commands/DeleteObjectsCommand.js +2 -2
  29. package/dist-es/commands/DeletePublicAccessBlockCommand.js +2 -2
  30. package/dist-es/commands/GetBucketAbacCommand.js +2 -2
  31. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +2 -2
  32. package/dist-es/commands/GetBucketAclCommand.js +2 -2
  33. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +2 -2
  34. package/dist-es/commands/GetBucketCorsCommand.js +2 -2
  35. package/dist-es/commands/GetBucketEncryptionCommand.js +2 -2
  36. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -2
  37. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +2 -2
  38. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +2 -2
  39. package/dist-es/commands/GetBucketLocationCommand.js +2 -2
  40. package/dist-es/commands/GetBucketLoggingCommand.js +2 -2
  41. package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +2 -2
  42. package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +2 -2
  43. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +2 -2
  44. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +2 -2
  45. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +2 -2
  46. package/dist-es/commands/GetBucketPolicyCommand.js +2 -2
  47. package/dist-es/commands/GetBucketPolicyStatusCommand.js +2 -2
  48. package/dist-es/commands/GetBucketReplicationCommand.js +2 -2
  49. package/dist-es/commands/GetBucketRequestPaymentCommand.js +2 -2
  50. package/dist-es/commands/GetBucketTaggingCommand.js +2 -2
  51. package/dist-es/commands/GetBucketVersioningCommand.js +2 -2
  52. package/dist-es/commands/GetBucketWebsiteCommand.js +2 -2
  53. package/dist-es/commands/GetObjectAclCommand.js +2 -2
  54. package/dist-es/commands/GetObjectAttributesCommand.js +2 -2
  55. package/dist-es/commands/GetObjectCommand.js +2 -2
  56. package/dist-es/commands/GetObjectLegalHoldCommand.js +2 -2
  57. package/dist-es/commands/GetObjectLockConfigurationCommand.js +2 -2
  58. package/dist-es/commands/GetObjectRetentionCommand.js +2 -2
  59. package/dist-es/commands/GetObjectTaggingCommand.js +2 -2
  60. package/dist-es/commands/GetObjectTorrentCommand.js +2 -2
  61. package/dist-es/commands/GetPublicAccessBlockCommand.js +2 -2
  62. package/dist-es/commands/HeadBucketCommand.js +2 -2
  63. package/dist-es/commands/HeadObjectCommand.js +2 -2
  64. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -2
  65. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -2
  66. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +2 -2
  67. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +2 -2
  68. package/dist-es/commands/ListBucketsCommand.js +2 -2
  69. package/dist-es/commands/ListDirectoryBucketsCommand.js +2 -2
  70. package/dist-es/commands/ListMultipartUploadsCommand.js +2 -2
  71. package/dist-es/commands/ListObjectVersionsCommand.js +2 -2
  72. package/dist-es/commands/ListObjectsCommand.js +2 -2
  73. package/dist-es/commands/ListObjectsV2Command.js +2 -2
  74. package/dist-es/commands/ListPartsCommand.js +2 -2
  75. package/dist-es/commands/PutBucketAbacCommand.js +2 -2
  76. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +2 -2
  77. package/dist-es/commands/PutBucketAclCommand.js +2 -2
  78. package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +2 -2
  79. package/dist-es/commands/PutBucketCorsCommand.js +2 -2
  80. package/dist-es/commands/PutBucketEncryptionCommand.js +2 -2
  81. package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +2 -2
  82. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +2 -2
  83. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -2
  84. package/dist-es/commands/PutBucketLoggingCommand.js +2 -2
  85. package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +2 -2
  86. package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +2 -2
  87. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -2
  88. package/dist-es/commands/PutBucketPolicyCommand.js +2 -2
  89. package/dist-es/commands/PutBucketReplicationCommand.js +2 -2
  90. package/dist-es/commands/PutBucketRequestPaymentCommand.js +2 -2
  91. package/dist-es/commands/PutBucketTaggingCommand.js +2 -2
  92. package/dist-es/commands/PutBucketVersioningCommand.js +2 -2
  93. package/dist-es/commands/PutBucketWebsiteCommand.js +2 -2
  94. package/dist-es/commands/PutObjectAclCommand.js +2 -2
  95. package/dist-es/commands/PutObjectCommand.js +2 -2
  96. package/dist-es/commands/PutObjectLegalHoldCommand.js +2 -2
  97. package/dist-es/commands/PutObjectLockConfigurationCommand.js +2 -2
  98. package/dist-es/commands/PutObjectRetentionCommand.js +2 -2
  99. package/dist-es/commands/PutObjectTaggingCommand.js +2 -2
  100. package/dist-es/commands/PutPublicAccessBlockCommand.js +2 -2
  101. package/dist-es/commands/RenameObjectCommand.js +2 -2
  102. package/dist-es/commands/RestoreObjectCommand.js +2 -2
  103. package/dist-es/commands/SelectObjectContentCommand.js +2 -2
  104. package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +2 -2
  105. package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +2 -2
  106. package/dist-es/commands/UploadPartCommand.js +2 -2
  107. package/dist-es/commands/UploadPartCopyCommand.js +2 -2
  108. package/dist-es/commands/WriteGetObjectResponseCommand.js +2 -2
  109. package/dist-es/index.js +1 -0
  110. package/dist-es/runtimeConfig.shared.js +7 -5
  111. package/dist-es/schemas/schemas_0.js +830 -823
  112. package/dist-types/S3Client.d.ts +1 -10
  113. package/dist-types/index.d.ts +1 -0
  114. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  115. package/dist-types/runtimeConfig.d.ts +6 -2
  116. package/dist-types/runtimeConfig.native.d.ts +6 -2
  117. package/dist-types/runtimeConfig.shared.d.ts +5 -1
  118. package/dist-types/schemas/schemas_0.d.ts +451 -502
  119. package/dist-types/ts3.4/S3Client.d.ts +0 -4
  120. package/dist-types/ts3.4/index.d.ts +1 -0
  121. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -7
  122. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  123. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -7
  124. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +7 -5
  125. package/dist-types/ts3.4/schemas/schemas_0.d.ts +450 -503
  126. package/package.json +50 -50
@@ -38,13 +38,10 @@ import {
38
38
  import {
39
39
  BodyLengthCalculator as __BodyLengthCalculator,
40
40
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
41
- ClientProtocol,
42
41
  Decoder as __Decoder,
43
42
  Encoder as __Encoder,
44
43
  EventStreamSerdeProvider as __EventStreamSerdeProvider,
45
44
  HttpHandlerOptions as __HttpHandlerOptions,
46
- HttpRequest,
47
- HttpResponse,
48
45
  Logger as __Logger,
49
46
  Provider as __Provider,
50
47
  SdkStreamMixinInjector as __SdkStreamMixinInjector,
@@ -735,7 +732,6 @@ export interface ClientDefaults
735
732
  retryMode?: string | __Provider<string>;
736
733
  logger?: __Logger;
737
734
  extensions?: RuntimeExtension[];
738
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
739
735
  eventStreamSerdeProvider?: __EventStreamSerdeProvider;
740
736
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
741
737
  signingEscapePath?: boolean;
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { S3ExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./waiters";
9
10
  export * from "./models/enums";
@@ -32,8 +32,16 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
32
32
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
33
33
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
34
34
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
35
- apiVersion: string;
36
35
  cacheMiddleware?: boolean | undefined;
36
+ protocol:
37
+ | import("@smithy/types").ClientProtocol<any, any>
38
+ | import("@smithy/types").ClientProtocolCtor<any, any>
39
+ | typeof import("@aws-sdk/core").AwsRestXmlProtocol;
40
+ protocolSettings: {
41
+ defaultNamespace?: string;
42
+ [setting: string]: unknown;
43
+ };
44
+ apiVersion: string;
37
45
  urlParser: import("@smithy/types").UrlParser;
38
46
  base64Decoder: import("@smithy/types").Decoder;
39
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -49,12 +57,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
49
57
  >;
50
58
  logger: import("@smithy/types").Logger;
51
59
  extensions: import("./runtimeExtensions").RuntimeExtension[];
52
- protocol:
53
- | import("@smithy/types").ClientProtocol<
54
- import("@smithy/types").HttpRequest,
55
- import("@smithy/types").HttpResponse
56
- >
57
- | import("@aws-sdk/core").AwsRestXmlProtocol;
58
60
  signingEscapePath: boolean;
59
61
  useArnRegion:
60
62
  | boolean
@@ -54,8 +54,16 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
54
54
  userAgentAppId:
55
55
  | string
56
56
  | import("@aws-sdk/types").Provider<string | undefined>;
57
- apiVersion: string;
58
57
  cacheMiddleware?: boolean | undefined;
58
+ protocol:
59
+ | import("@smithy/types").ClientProtocol<any, any>
60
+ | import("@smithy/types").ClientProtocolCtor<any, any>
61
+ | typeof import("@aws-sdk/core").AwsRestXmlProtocol;
62
+ protocolSettings: {
63
+ defaultNamespace?: string;
64
+ [setting: string]: unknown;
65
+ };
66
+ apiVersion: string;
59
67
  urlParser: import("@aws-sdk/types").UrlParser;
60
68
  base64Decoder: import("@aws-sdk/types").Decoder;
61
69
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -71,12 +79,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
71
79
  >;
72
80
  logger: import("@aws-sdk/types").Logger;
73
81
  extensions: import("./runtimeExtensions").RuntimeExtension[];
74
- protocol:
75
- | import("@smithy/types").ClientProtocol<
76
- import("@aws-sdk/types").HttpRequest,
77
- import("@aws-sdk/types").HttpResponse
78
- >
79
- | import("@aws-sdk/core").AwsRestXmlProtocol;
80
82
  signingEscapePath: boolean;
81
83
  sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
82
84
  customUserAgent?: string | import("@aws-sdk/types").UserAgent;
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
8
8
  | Record<string, unknown>
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core").AwsRestXmlProtocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
13
21
  urlParser: import("@smithy/types").UrlParser;
14
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
23
  streamCollector: import("@smithy/types").StreamCollector;
@@ -47,12 +55,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
47
55
  retryMode: string | import("@smithy/types").Provider<string>;
48
56
  logger: import("@smithy/types").Logger;
49
57
  extensions: import("./runtimeExtensions").RuntimeExtension[];
50
- protocol:
51
- | import("@smithy/types").ClientProtocol<
52
- import("@smithy/types").HttpRequest,
53
- import("@smithy/types").HttpResponse
54
- >
55
- | import("@aws-sdk/core").AwsRestXmlProtocol;
56
58
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
57
59
  defaultsMode:
58
60
  | import("@smithy/smithy-client").DefaultsMode
@@ -22,11 +22,13 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
22
22
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
23
23
  logger: import("@smithy/types").Logger;
24
24
  protocol:
25
- | import("@smithy/types").ClientProtocol<
26
- import("@smithy/types").HttpRequest,
27
- import("@smithy/types").HttpResponse
28
- >
29
- | AwsRestXmlProtocol;
25
+ | import("@smithy/types").ClientProtocol<any, any>
26
+ | import("@smithy/types").ClientProtocolCtor<any, any>
27
+ | typeof AwsRestXmlProtocol;
28
+ protocolSettings: {
29
+ [setting: string]: unknown;
30
+ defaultNamespace?: string;
31
+ };
30
32
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
31
33
  serviceId: string;
32
34
  signerConstructor: