@aws-sdk/client-s3 3.986.0 → 3.988.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.
@@ -8,6 +8,7 @@ import { getAwsChunkedEncodingStream, sdkStreamMixin } from "@smithy/util-stream
8
8
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
9
9
  import { defaultS3HttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
10
10
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
11
+ import { errorTypeRegistries } from "./schemas/schemas_0";
11
12
  export const getRuntimeConfig = (config) => {
12
13
  return {
13
14
  apiVersion: "2006-03-01",
@@ -34,6 +35,7 @@ export const getRuntimeConfig = (config) => {
34
35
  protocol: config?.protocol ?? AwsRestXmlProtocol,
35
36
  protocolSettings: config?.protocolSettings ?? {
36
37
  defaultNamespace: "com.amazonaws.s3",
38
+ errorTypeRegistries,
37
39
  xmlNamespace: "http://s3.amazonaws.com/doc/2006-03-01/",
38
40
  version: "2006-03-01",
39
41
  serviceTarget: "AmazonS3",
@@ -873,9 +873,9 @@ const _rce = "response-content-encoding";
873
873
  const _rcl = "response-content-language";
874
874
  const _rct = "response-content-type";
875
875
  const _re = "response-expires";
876
- const _s = "streaming";
876
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.s3";
877
877
  const _sa = "start-after";
878
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.s3";
878
+ const _st = "streaming";
879
879
  const _uI = "uploadId";
880
880
  const _uim = "upload-id-marker";
881
881
  const _vI = "versionId";
@@ -1015,13 +1015,111 @@ const n0 = "com.amazonaws.s3";
1015
1015
  import { TypeRegistry } from "@smithy/core/schema";
1016
1016
  import { AccessDenied, BucketAlreadyExists, BucketAlreadyOwnedByYou, EncryptionTypeMismatch, IdempotencyParameterMismatch, InvalidObjectState, InvalidRequest, InvalidWriteOffset, NoSuchBucket, NoSuchKey, NoSuchUpload, NotFound, ObjectAlreadyInActiveTierError, ObjectNotInActiveTierError, TooManyParts, } from "../models/errors";
1017
1017
  import { S3ServiceException } from "../models/S3ServiceException";
1018
+ const _s_registry = TypeRegistry.for(_s);
1019
+ export var S3ServiceException$ = [-3, _s, "S3ServiceException", 0, [], []];
1020
+ _s_registry.registerError(S3ServiceException$, S3ServiceException);
1021
+ const n0_registry = TypeRegistry.for(n0);
1022
+ export var AccessDenied$ = [-3, n0, _AD,
1023
+ { [_e]: _c, [_hE]: 403 },
1024
+ [],
1025
+ []
1026
+ ];
1027
+ n0_registry.registerError(AccessDenied$, AccessDenied);
1028
+ export var BucketAlreadyExists$ = [-3, n0, _BAE,
1029
+ { [_e]: _c, [_hE]: 409 },
1030
+ [],
1031
+ []
1032
+ ];
1033
+ n0_registry.registerError(BucketAlreadyExists$, BucketAlreadyExists);
1034
+ export var BucketAlreadyOwnedByYou$ = [-3, n0, _BAOBY,
1035
+ { [_e]: _c, [_hE]: 409 },
1036
+ [],
1037
+ []
1038
+ ];
1039
+ n0_registry.registerError(BucketAlreadyOwnedByYou$, BucketAlreadyOwnedByYou);
1040
+ export var EncryptionTypeMismatch$ = [-3, n0, _ETM,
1041
+ { [_e]: _c, [_hE]: 400 },
1042
+ [],
1043
+ []
1044
+ ];
1045
+ n0_registry.registerError(EncryptionTypeMismatch$, EncryptionTypeMismatch);
1046
+ export var IdempotencyParameterMismatch$ = [-3, n0, _IPM,
1047
+ { [_e]: _c, [_hE]: 400 },
1048
+ [],
1049
+ []
1050
+ ];
1051
+ n0_registry.registerError(IdempotencyParameterMismatch$, IdempotencyParameterMismatch);
1052
+ export var InvalidObjectState$ = [-3, n0, _IOS,
1053
+ { [_e]: _c, [_hE]: 403 },
1054
+ [_SC, _AT],
1055
+ [0, 0]
1056
+ ];
1057
+ n0_registry.registerError(InvalidObjectState$, InvalidObjectState);
1058
+ export var InvalidRequest$ = [-3, n0, _IR,
1059
+ { [_e]: _c, [_hE]: 400 },
1060
+ [],
1061
+ []
1062
+ ];
1063
+ n0_registry.registerError(InvalidRequest$, InvalidRequest);
1064
+ export var InvalidWriteOffset$ = [-3, n0, _IWO,
1065
+ { [_e]: _c, [_hE]: 400 },
1066
+ [],
1067
+ []
1068
+ ];
1069
+ n0_registry.registerError(InvalidWriteOffset$, InvalidWriteOffset);
1070
+ export var NoSuchBucket$ = [-3, n0, _NSB,
1071
+ { [_e]: _c, [_hE]: 404 },
1072
+ [],
1073
+ []
1074
+ ];
1075
+ n0_registry.registerError(NoSuchBucket$, NoSuchBucket);
1076
+ export var NoSuchKey$ = [-3, n0, _NSK,
1077
+ { [_e]: _c, [_hE]: 404 },
1078
+ [],
1079
+ []
1080
+ ];
1081
+ n0_registry.registerError(NoSuchKey$, NoSuchKey);
1082
+ export var NoSuchUpload$ = [-3, n0, _NSU,
1083
+ { [_e]: _c, [_hE]: 404 },
1084
+ [],
1085
+ []
1086
+ ];
1087
+ n0_registry.registerError(NoSuchUpload$, NoSuchUpload);
1088
+ export var NotFound$ = [-3, n0, _NF,
1089
+ { [_e]: _c },
1090
+ [],
1091
+ []
1092
+ ];
1093
+ n0_registry.registerError(NotFound$, NotFound);
1094
+ export var ObjectAlreadyInActiveTierError$ = [-3, n0, _OAIATE,
1095
+ { [_e]: _c, [_hE]: 403 },
1096
+ [],
1097
+ []
1098
+ ];
1099
+ n0_registry.registerError(ObjectAlreadyInActiveTierError$, ObjectAlreadyInActiveTierError);
1100
+ export var ObjectNotInActiveTierError$ = [-3, n0, _ONIATE,
1101
+ { [_e]: _c, [_hE]: 403 },
1102
+ [],
1103
+ []
1104
+ ];
1105
+ n0_registry.registerError(ObjectNotInActiveTierError$, ObjectNotInActiveTierError);
1106
+ export var TooManyParts$ = [-3, n0, _TMP,
1107
+ { [_e]: _c, [_hE]: 400 },
1108
+ [],
1109
+ []
1110
+ ];
1111
+ n0_registry.registerError(TooManyParts$, TooManyParts);
1112
+ export const errorTypeRegistries = [
1113
+ _s_registry,
1114
+ n0_registry,
1115
+ ];
1018
1116
  var CopySourceSSECustomerKey = [0, n0, _CSSSECK, 8, 0];
1019
1117
  var NonEmptyKmsKeyArnString = [0, n0, _NEKKAS, 8, 0];
1020
1118
  var SessionCredentialValue = [0, n0, _SCV, 8, 0];
1021
1119
  var SSECustomerKey = [0, n0, _SSECK, 8, 0];
1022
1120
  var SSEKMSEncryptionContext = [0, n0, _SSEKMSEC, 8, 0];
1023
1121
  var SSEKMSKeyId = [0, n0, _SSEKMSKI, 8, 0];
1024
- var StreamingBlob = [0, n0, _SB, { [_s]: 1 }, 42];
1122
+ var StreamingBlob = [0, n0, _SB, { [_st]: 1 }, 42];
1025
1123
  export var AbacStatus$ = [3, n0, _AS,
1026
1124
  0,
1027
1125
  [_S],
@@ -1057,12 +1155,6 @@ export var AccessControlTranslation$ = [3, n0, _ACT,
1057
1155
  [_O],
1058
1156
  [0], 1
1059
1157
  ];
1060
- export var AccessDenied$ = [-3, n0, _AD,
1061
- { [_e]: _c, [_hE]: 403 },
1062
- [],
1063
- []
1064
- ];
1065
- TypeRegistry.for(n0).registerError(AccessDenied$, AccessDenied);
1066
1158
  export var AnalyticsAndOperator$ = [3, n0, _AAO,
1067
1159
  0,
1068
1160
  [_P, _T],
@@ -1093,18 +1185,6 @@ export var Bucket$ = [3, n0, _B,
1093
1185
  [_N, _CD, _BR, _BA],
1094
1186
  [0, 4, 0, 0]
1095
1187
  ];
1096
- export var BucketAlreadyExists$ = [-3, n0, _BAE,
1097
- { [_e]: _c, [_hE]: 409 },
1098
- [],
1099
- []
1100
- ];
1101
- TypeRegistry.for(n0).registerError(BucketAlreadyExists$, BucketAlreadyExists);
1102
- export var BucketAlreadyOwnedByYou$ = [-3, n0, _BAOBY,
1103
- { [_e]: _c, [_hE]: 409 },
1104
- [],
1105
- []
1106
- ];
1107
- TypeRegistry.for(n0).registerError(BucketAlreadyOwnedByYou$, BucketAlreadyOwnedByYou);
1108
1188
  export var BucketInfo$ = [3, n0, _BI,
1109
1189
  0,
1110
1190
  [_DR, _Ty],
@@ -1400,12 +1480,6 @@ export var EncryptionConfiguration$ = [3, n0, _EC,
1400
1480
  [_RKKID],
1401
1481
  [0]
1402
1482
  ];
1403
- export var EncryptionTypeMismatch$ = [-3, n0, _ETM,
1404
- { [_e]: _c, [_hE]: 400 },
1405
- [],
1406
- []
1407
- ];
1408
- TypeRegistry.for(n0).registerError(EncryptionTypeMismatch$, EncryptionTypeMismatch);
1409
1483
  export var EndEvent$ = [3, n0, _EE,
1410
1484
  0,
1411
1485
  [],
@@ -1806,12 +1880,6 @@ export var HeadObjectRequest$ = [3, n0, _HOR,
1806
1880
  [_B, _K, _IM, _IMSf, _INM, _IUS, _Ra, _RCC, _RCD, _RCE, _RCL, _RCT, _RE, _VI, _SSECA, _SSECK, _SSECKMD, _RP, _PN, _EBO, _CMh],
1807
1881
  [[0, 1], [0, 1], [0, { [_hH]: _IM_ }], [4, { [_hH]: _IMS_ }], [0, { [_hH]: _INM_ }], [4, { [_hH]: _IUS_ }], [0, { [_hH]: _Ra }], [0, { [_hQ]: _rcc }], [0, { [_hQ]: _rcd }], [0, { [_hQ]: _rce }], [0, { [_hQ]: _rcl }], [0, { [_hQ]: _rct }], [6, { [_hQ]: _re }], [0, { [_hQ]: _vI }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [0, { [_hH]: _xarp }], [1, { [_hQ]: _pN }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xacm }]], 2
1808
1882
  ];
1809
- export var IdempotencyParameterMismatch$ = [-3, n0, _IPM,
1810
- { [_e]: _c, [_hE]: 400 },
1811
- [],
1812
- []
1813
- ];
1814
- TypeRegistry.for(n0).registerError(IdempotencyParameterMismatch$, IdempotencyParameterMismatch);
1815
1883
  export var IndexDocument$ = [3, n0, _IDn,
1816
1884
  0,
1817
1885
  [_Su],
@@ -1842,24 +1910,6 @@ export var IntelligentTieringFilter$ = [3, n0, _ITF,
1842
1910
  [_P, _Ta, _An],
1843
1911
  [0, () => Tag$, [() => IntelligentTieringAndOperator$, 0]]
1844
1912
  ];
1845
- export var InvalidObjectState$ = [-3, n0, _IOS,
1846
- { [_e]: _c, [_hE]: 403 },
1847
- [_SC, _AT],
1848
- [0, 0]
1849
- ];
1850
- TypeRegistry.for(n0).registerError(InvalidObjectState$, InvalidObjectState);
1851
- export var InvalidRequest$ = [-3, n0, _IR,
1852
- { [_e]: _c, [_hE]: 400 },
1853
- [],
1854
- []
1855
- ];
1856
- TypeRegistry.for(n0).registerError(InvalidRequest$, InvalidRequest);
1857
- export var InvalidWriteOffset$ = [-3, n0, _IWO,
1858
- { [_e]: _c, [_hE]: 400 },
1859
- [],
1860
- []
1861
- ];
1862
- TypeRegistry.for(n0).registerError(InvalidWriteOffset$, InvalidWriteOffset);
1863
1913
  export var InventoryConfiguration$ = [3, n0, _IC,
1864
1914
  0,
1865
1915
  [_Des, _IE, _I, _IOV, _Sc, _F, _OF],
@@ -2135,30 +2185,6 @@ export var NoncurrentVersionTransition$ = [3, n0, _NVTo,
2135
2185
  [_ND, _SC, _NNV],
2136
2186
  [1, 0, 1]
2137
2187
  ];
2138
- export var NoSuchBucket$ = [-3, n0, _NSB,
2139
- { [_e]: _c, [_hE]: 404 },
2140
- [],
2141
- []
2142
- ];
2143
- TypeRegistry.for(n0).registerError(NoSuchBucket$, NoSuchBucket);
2144
- export var NoSuchKey$ = [-3, n0, _NSK,
2145
- { [_e]: _c, [_hE]: 404 },
2146
- [],
2147
- []
2148
- ];
2149
- TypeRegistry.for(n0).registerError(NoSuchKey$, NoSuchKey);
2150
- export var NoSuchUpload$ = [-3, n0, _NSU,
2151
- { [_e]: _c, [_hE]: 404 },
2152
- [],
2153
- []
2154
- ];
2155
- TypeRegistry.for(n0).registerError(NoSuchUpload$, NoSuchUpload);
2156
- export var NotFound$ = [-3, n0, _NF,
2157
- { [_e]: _c },
2158
- [],
2159
- []
2160
- ];
2161
- TypeRegistry.for(n0).registerError(NotFound$, NotFound);
2162
2188
  export var NotificationConfiguration$ = [3, n0, _NC,
2163
2189
  0,
2164
2190
  [_TCo, _QCu, _LFCa, _EBC],
@@ -2174,12 +2200,6 @@ export var _Object$ = [3, n0, _Obj,
2174
2200
  [_K, _LM, _ETa, _CA, _CT, _Si, _SC, _O, _RSe],
2175
2201
  [0, 4, 0, [64 | 0, { [_xF]: 1 }], 0, 1, 0, () => Owner$, () => RestoreStatus$]
2176
2202
  ];
2177
- export var ObjectAlreadyInActiveTierError$ = [-3, n0, _OAIATE,
2178
- { [_e]: _c, [_hE]: 403 },
2179
- [],
2180
- []
2181
- ];
2182
- TypeRegistry.for(n0).registerError(ObjectAlreadyInActiveTierError$, ObjectAlreadyInActiveTierError);
2183
2203
  export var ObjectIdentifier$ = [3, n0, _OI,
2184
2204
  0,
2185
2205
  [_K, _VI, _ETa, _LMT, _Si],
@@ -2205,12 +2225,6 @@ export var ObjectLockRule$ = [3, n0, _OLRb,
2205
2225
  [_DRe],
2206
2226
  [() => DefaultRetention$]
2207
2227
  ];
2208
- export var ObjectNotInActiveTierError$ = [-3, n0, _ONIATE,
2209
- { [_e]: _c, [_hE]: 403 },
2210
- [],
2211
- []
2212
- ];
2213
- TypeRegistry.for(n0).registerError(ObjectNotInActiveTierError$, ObjectNotInActiveTierError);
2214
2228
  export var ObjectPart$ = [3, n0, _OPb,
2215
2229
  0,
2216
2230
  [_PN, _Si, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh],
@@ -2686,12 +2700,6 @@ export var Tiering$ = [3, n0, _Tier,
2686
2700
  [_D, _AT],
2687
2701
  [1, 0], 2
2688
2702
  ];
2689
- export var TooManyParts$ = [-3, n0, _TMP,
2690
- { [_e]: _c, [_hE]: 400 },
2691
- [],
2692
- []
2693
- ];
2694
- TypeRegistry.for(n0).registerError(TooManyParts$, TooManyParts);
2695
2703
  export var TopicConfiguration$ = [3, n0, _TCop,
2696
2704
  0,
2697
2705
  [_TAo, _Ev, _I, _F],
@@ -2758,8 +2766,6 @@ export var WriteGetObjectResponseRequest$ = [3, n0, _WGORR,
2758
2766
  [[0, { [_hL]: 1, [_hH]: _xarr }], [0, { [_hH]: _xart }], [() => StreamingBlob, 16], [1, { [_hH]: _xafs }], [0, { [_hH]: _xafec }], [0, { [_hH]: _xafem }], [0, { [_hH]: _xafhar }], [0, { [_hH]: _xafhCC }], [0, { [_hH]: _xafhCD }], [0, { [_hH]: _xafhCE }], [0, { [_hH]: _xafhCL }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xafhCR }], [0, { [_hH]: _xafhCT }], [0, { [_hH]: _xafhxacc }], [0, { [_hH]: _xafhxacc_ }], [0, { [_hH]: _xafhxacc__ }], [0, { [_hH]: _xafhxacs }], [0, { [_hH]: _xafhxacs_ }], [2, { [_hH]: _xafhxadm }], [0, { [_hH]: _xafhE }], [4, { [_hH]: _xafhE_ }], [0, { [_hH]: _xafhxae }], [4, { [_hH]: _xafhLM }], [1, { [_hH]: _xafhxamm }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xafhxaolm }], [0, { [_hH]: _xafhxaollh }], [5, { [_hH]: _xafhxaolrud }], [1, { [_hH]: _xafhxampc }], [0, { [_hH]: _xafhxars }], [0, { [_hH]: _xafhxarc }], [0, { [_hH]: _xafhxar }], [0, { [_hH]: _xafhxasse }], [0, { [_hH]: _xafhxasseca }], [() => SSEKMSKeyId, { [_hH]: _xafhxasseakki }], [0, { [_hH]: _xafhxasseckM }], [0, { [_hH]: _xafhxasc }], [1, { [_hH]: _xafhxatc }], [0, { [_hH]: _xafhxavi }], [2, { [_hH]: _xafhxassebke }]], 2
2759
2767
  ];
2760
2768
  var __Unit = "unit";
2761
- export var S3ServiceException$ = [-3, _sm, "S3ServiceException", 0, [], []];
2762
- TypeRegistry.for(_sm).registerError(S3ServiceException$, S3ServiceException);
2763
2769
  var AllowedHeaders = 64 | 0;
2764
2770
  var AllowedMethods = 64 | 0;
2765
2771
  var AllowedOrigins = 64 | 0;
@@ -2911,7 +2917,7 @@ export var ObjectEncryption$ = [4, n0, _OE,
2911
2917
  [[() => SSEKMSEncryption$, { [_xN]: _SK }]]
2912
2918
  ];
2913
2919
  export var SelectObjectContentEventStream$ = [4, n0, _SOCES,
2914
- { [_s]: 1 },
2920
+ { [_st]: 1 },
2915
2921
  [_Rec, _Sta, _Pr, _Cont, _End],
2916
2922
  [[() => RecordsEvent$, 0], [() => StatsEvent$, 0], [() => ProgressEvent$, 0], () => ContinuationEvent$, () => EndEvent$]
2917
2923
  ];
@@ -1,4 +1,27 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var S3ServiceException$: StaticErrorSchema;
4
+ export declare var AccessDenied$: StaticErrorSchema;
5
+ export declare var BucketAlreadyExists$: StaticErrorSchema;
6
+ export declare var BucketAlreadyOwnedByYou$: StaticErrorSchema;
7
+ export declare var EncryptionTypeMismatch$: StaticErrorSchema;
8
+ export declare var IdempotencyParameterMismatch$: StaticErrorSchema;
9
+ export declare var InvalidObjectState$: StaticErrorSchema;
10
+ export declare var InvalidRequest$: StaticErrorSchema;
11
+ export declare var InvalidWriteOffset$: StaticErrorSchema;
12
+ export declare var NoSuchBucket$: StaticErrorSchema;
13
+ export declare var NoSuchKey$: StaticErrorSchema;
14
+ export declare var NoSuchUpload$: StaticErrorSchema;
15
+ export declare var NotFound$: StaticErrorSchema;
16
+ export declare var ObjectAlreadyInActiveTierError$: StaticErrorSchema;
17
+ export declare var ObjectNotInActiveTierError$: StaticErrorSchema;
18
+ export declare var TooManyParts$: StaticErrorSchema;
19
+ /**
20
+ * TypeRegistry instances containing modeled errors.
21
+ * @internal
22
+ *
23
+ */
24
+ export declare const errorTypeRegistries: TypeRegistry[];
2
25
  export declare var AbacStatus$: StaticStructureSchema;
3
26
  export declare var AbortIncompleteMultipartUpload$: StaticStructureSchema;
4
27
  export declare var AbortMultipartUploadOutput$: StaticStructureSchema;
@@ -6,15 +29,12 @@ export declare var AbortMultipartUploadRequest$: StaticStructureSchema;
6
29
  export declare var AccelerateConfiguration$: StaticStructureSchema;
7
30
  export declare var AccessControlPolicy$: StaticStructureSchema;
8
31
  export declare var AccessControlTranslation$: StaticStructureSchema;
9
- export declare var AccessDenied$: StaticErrorSchema;
10
32
  export declare var AnalyticsAndOperator$: StaticStructureSchema;
11
33
  export declare var AnalyticsConfiguration$: StaticStructureSchema;
12
34
  export declare var AnalyticsExportDestination$: StaticStructureSchema;
13
35
  export declare var AnalyticsS3BucketDestination$: StaticStructureSchema;
14
36
  export declare var BlockedEncryptionTypes$: StaticStructureSchema;
15
37
  export declare var Bucket$: StaticStructureSchema;
16
- export declare var BucketAlreadyExists$: StaticErrorSchema;
17
- export declare var BucketAlreadyOwnedByYou$: StaticErrorSchema;
18
38
  export declare var BucketInfo$: StaticStructureSchema;
19
39
  export declare var BucketLifecycleConfiguration$: StaticStructureSchema;
20
40
  export declare var BucketLoggingStatus$: StaticStructureSchema;
@@ -74,7 +94,6 @@ export declare var Destination$: StaticStructureSchema;
74
94
  export declare var DestinationResult$: StaticStructureSchema;
75
95
  export declare var Encryption$: StaticStructureSchema;
76
96
  export declare var EncryptionConfiguration$: StaticStructureSchema;
77
- export declare var EncryptionTypeMismatch$: StaticErrorSchema;
78
97
  export declare var EndEvent$: StaticStructureSchema;
79
98
  export declare var _Error$: StaticStructureSchema;
80
99
  export declare var ErrorDetails$: StaticStructureSchema;
@@ -155,16 +174,12 @@ export declare var HeadBucketOutput$: StaticStructureSchema;
155
174
  export declare var HeadBucketRequest$: StaticStructureSchema;
156
175
  export declare var HeadObjectOutput$: StaticStructureSchema;
157
176
  export declare var HeadObjectRequest$: StaticStructureSchema;
158
- export declare var IdempotencyParameterMismatch$: StaticErrorSchema;
159
177
  export declare var IndexDocument$: StaticStructureSchema;
160
178
  export declare var Initiator$: StaticStructureSchema;
161
179
  export declare var InputSerialization$: StaticStructureSchema;
162
180
  export declare var IntelligentTieringAndOperator$: StaticStructureSchema;
163
181
  export declare var IntelligentTieringConfiguration$: StaticStructureSchema;
164
182
  export declare var IntelligentTieringFilter$: StaticStructureSchema;
165
- export declare var InvalidObjectState$: StaticErrorSchema;
166
- export declare var InvalidRequest$: StaticErrorSchema;
167
- export declare var InvalidWriteOffset$: StaticErrorSchema;
168
183
  export declare var InventoryConfiguration$: StaticStructureSchema;
169
184
  export declare var InventoryDestination$: StaticStructureSchema;
170
185
  export declare var InventoryEncryption$: StaticStructureSchema;
@@ -220,20 +235,14 @@ export declare var MetricsConfiguration$: StaticStructureSchema;
220
235
  export declare var MultipartUpload$: StaticStructureSchema;
221
236
  export declare var NoncurrentVersionExpiration$: StaticStructureSchema;
222
237
  export declare var NoncurrentVersionTransition$: StaticStructureSchema;
223
- export declare var NoSuchBucket$: StaticErrorSchema;
224
- export declare var NoSuchKey$: StaticErrorSchema;
225
- export declare var NoSuchUpload$: StaticErrorSchema;
226
- export declare var NotFound$: StaticErrorSchema;
227
238
  export declare var NotificationConfiguration$: StaticStructureSchema;
228
239
  export declare var NotificationConfigurationFilter$: StaticStructureSchema;
229
240
  export declare var _Object$: StaticStructureSchema;
230
- export declare var ObjectAlreadyInActiveTierError$: StaticErrorSchema;
231
241
  export declare var ObjectIdentifier$: StaticStructureSchema;
232
242
  export declare var ObjectLockConfiguration$: StaticStructureSchema;
233
243
  export declare var ObjectLockLegalHold$: StaticStructureSchema;
234
244
  export declare var ObjectLockRetention$: StaticStructureSchema;
235
245
  export declare var ObjectLockRule$: StaticStructureSchema;
236
- export declare var ObjectNotInActiveTierError$: StaticErrorSchema;
237
246
  export declare var ObjectPart$: StaticStructureSchema;
238
247
  export declare var ObjectVersion$: StaticStructureSchema;
239
248
  export declare var OutputLocation$: StaticStructureSchema;
@@ -329,7 +338,6 @@ export declare var Tagging$: StaticStructureSchema;
329
338
  export declare var TargetGrant$: StaticStructureSchema;
330
339
  export declare var TargetObjectKeyFormat$: StaticStructureSchema;
331
340
  export declare var Tiering$: StaticStructureSchema;
332
- export declare var TooManyParts$: StaticErrorSchema;
333
341
  export declare var TopicConfiguration$: StaticStructureSchema;
334
342
  export declare var Transition$: StaticStructureSchema;
335
343
  export declare var UpdateBucketMetadataInventoryTableConfigurationRequest$: StaticStructureSchema;
@@ -343,7 +351,6 @@ export declare var UploadPartRequest$: StaticStructureSchema;
343
351
  export declare var VersioningConfiguration$: StaticStructureSchema;
344
352
  export declare var WebsiteConfiguration$: StaticStructureSchema;
345
353
  export declare var WriteGetObjectResponseRequest$: StaticStructureSchema;
346
- export declare var S3ServiceException$: StaticErrorSchema;
347
354
  export declare var AnalyticsFilter$: StaticUnionSchema;
348
355
  export declare var MetricsFilter$: StaticUnionSchema;
349
356
  export declare var ObjectEncryption$: StaticUnionSchema;
@@ -1,9 +1,27 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var S3ServiceException$: StaticErrorSchema;
9
+ export declare var AccessDenied$: StaticErrorSchema;
10
+ export declare var BucketAlreadyExists$: StaticErrorSchema;
11
+ export declare var BucketAlreadyOwnedByYou$: StaticErrorSchema;
12
+ export declare var EncryptionTypeMismatch$: StaticErrorSchema;
13
+ export declare var IdempotencyParameterMismatch$: StaticErrorSchema;
14
+ export declare var InvalidObjectState$: StaticErrorSchema;
15
+ export declare var InvalidRequest$: StaticErrorSchema;
16
+ export declare var InvalidWriteOffset$: StaticErrorSchema;
17
+ export declare var NoSuchBucket$: StaticErrorSchema;
18
+ export declare var NoSuchKey$: StaticErrorSchema;
19
+ export declare var NoSuchUpload$: StaticErrorSchema;
20
+ export declare var NotFound$: StaticErrorSchema;
21
+ export declare var ObjectAlreadyInActiveTierError$: StaticErrorSchema;
22
+ export declare var ObjectNotInActiveTierError$: StaticErrorSchema;
23
+ export declare var TooManyParts$: StaticErrorSchema;
24
+ export declare const errorTypeRegistries: TypeRegistry[];
7
25
  export declare var AbacStatus$: StaticStructureSchema;
8
26
  export declare var AbortIncompleteMultipartUpload$: StaticStructureSchema;
9
27
  export declare var AbortMultipartUploadOutput$: StaticStructureSchema;
@@ -11,15 +29,12 @@ export declare var AbortMultipartUploadRequest$: StaticStructureSchema;
11
29
  export declare var AccelerateConfiguration$: StaticStructureSchema;
12
30
  export declare var AccessControlPolicy$: StaticStructureSchema;
13
31
  export declare var AccessControlTranslation$: StaticStructureSchema;
14
- export declare var AccessDenied$: StaticErrorSchema;
15
32
  export declare var AnalyticsAndOperator$: StaticStructureSchema;
16
33
  export declare var AnalyticsConfiguration$: StaticStructureSchema;
17
34
  export declare var AnalyticsExportDestination$: StaticStructureSchema;
18
35
  export declare var AnalyticsS3BucketDestination$: StaticStructureSchema;
19
36
  export declare var BlockedEncryptionTypes$: StaticStructureSchema;
20
37
  export declare var Bucket$: StaticStructureSchema;
21
- export declare var BucketAlreadyExists$: StaticErrorSchema;
22
- export declare var BucketAlreadyOwnedByYou$: StaticErrorSchema;
23
38
  export declare var BucketInfo$: StaticStructureSchema;
24
39
  export declare var BucketLifecycleConfiguration$: StaticStructureSchema;
25
40
  export declare var BucketLoggingStatus$: StaticStructureSchema;
@@ -79,7 +94,6 @@ export declare var Destination$: StaticStructureSchema;
79
94
  export declare var DestinationResult$: StaticStructureSchema;
80
95
  export declare var Encryption$: StaticStructureSchema;
81
96
  export declare var EncryptionConfiguration$: StaticStructureSchema;
82
- export declare var EncryptionTypeMismatch$: StaticErrorSchema;
83
97
  export declare var EndEvent$: StaticStructureSchema;
84
98
  export declare var _Error$: StaticStructureSchema;
85
99
  export declare var ErrorDetails$: StaticStructureSchema;
@@ -160,16 +174,12 @@ export declare var HeadBucketOutput$: StaticStructureSchema;
160
174
  export declare var HeadBucketRequest$: StaticStructureSchema;
161
175
  export declare var HeadObjectOutput$: StaticStructureSchema;
162
176
  export declare var HeadObjectRequest$: StaticStructureSchema;
163
- export declare var IdempotencyParameterMismatch$: StaticErrorSchema;
164
177
  export declare var IndexDocument$: StaticStructureSchema;
165
178
  export declare var Initiator$: StaticStructureSchema;
166
179
  export declare var InputSerialization$: StaticStructureSchema;
167
180
  export declare var IntelligentTieringAndOperator$: StaticStructureSchema;
168
181
  export declare var IntelligentTieringConfiguration$: StaticStructureSchema;
169
182
  export declare var IntelligentTieringFilter$: StaticStructureSchema;
170
- export declare var InvalidObjectState$: StaticErrorSchema;
171
- export declare var InvalidRequest$: StaticErrorSchema;
172
- export declare var InvalidWriteOffset$: StaticErrorSchema;
173
183
  export declare var InventoryConfiguration$: StaticStructureSchema;
174
184
  export declare var InventoryDestination$: StaticStructureSchema;
175
185
  export declare var InventoryEncryption$: StaticStructureSchema;
@@ -225,20 +235,14 @@ export declare var MetricsConfiguration$: StaticStructureSchema;
225
235
  export declare var MultipartUpload$: StaticStructureSchema;
226
236
  export declare var NoncurrentVersionExpiration$: StaticStructureSchema;
227
237
  export declare var NoncurrentVersionTransition$: StaticStructureSchema;
228
- export declare var NoSuchBucket$: StaticErrorSchema;
229
- export declare var NoSuchKey$: StaticErrorSchema;
230
- export declare var NoSuchUpload$: StaticErrorSchema;
231
- export declare var NotFound$: StaticErrorSchema;
232
238
  export declare var NotificationConfiguration$: StaticStructureSchema;
233
239
  export declare var NotificationConfigurationFilter$: StaticStructureSchema;
234
240
  export declare var _Object$: StaticStructureSchema;
235
- export declare var ObjectAlreadyInActiveTierError$: StaticErrorSchema;
236
241
  export declare var ObjectIdentifier$: StaticStructureSchema;
237
242
  export declare var ObjectLockConfiguration$: StaticStructureSchema;
238
243
  export declare var ObjectLockLegalHold$: StaticStructureSchema;
239
244
  export declare var ObjectLockRetention$: StaticStructureSchema;
240
245
  export declare var ObjectLockRule$: StaticStructureSchema;
241
- export declare var ObjectNotInActiveTierError$: StaticErrorSchema;
242
246
  export declare var ObjectPart$: StaticStructureSchema;
243
247
  export declare var ObjectVersion$: StaticStructureSchema;
244
248
  export declare var OutputLocation$: StaticStructureSchema;
@@ -334,7 +338,6 @@ export declare var Tagging$: StaticStructureSchema;
334
338
  export declare var TargetGrant$: StaticStructureSchema;
335
339
  export declare var TargetObjectKeyFormat$: StaticStructureSchema;
336
340
  export declare var Tiering$: StaticStructureSchema;
337
- export declare var TooManyParts$: StaticErrorSchema;
338
341
  export declare var TopicConfiguration$: StaticStructureSchema;
339
342
  export declare var Transition$: StaticStructureSchema;
340
343
  export declare var UpdateBucketMetadataInventoryTableConfigurationRequest$: StaticStructureSchema;
@@ -348,7 +351,6 @@ export declare var UploadPartRequest$: StaticStructureSchema;
348
351
  export declare var VersioningConfiguration$: StaticStructureSchema;
349
352
  export declare var WebsiteConfiguration$: StaticStructureSchema;
350
353
  export declare var WriteGetObjectResponseRequest$: StaticStructureSchema;
351
- export declare var S3ServiceException$: StaticErrorSchema;
352
354
  export declare var AnalyticsFilter$: StaticUnionSchema;
353
355
  export declare var MetricsFilter$: StaticUnionSchema;
354
356
  export declare var ObjectEncryption$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.986.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3",
@@ -30,26 +30,26 @@
30
30
  "@aws-crypto/sha1-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-browser": "5.2.0",
32
32
  "@aws-crypto/sha256-js": "5.2.0",
33
- "@aws-sdk/core": "^3.973.7",
34
- "@aws-sdk/credential-provider-node": "^3.972.6",
33
+ "@aws-sdk/core": "^3.973.8",
34
+ "@aws-sdk/credential-provider-node": "^3.972.7",
35
35
  "@aws-sdk/middleware-bucket-endpoint": "^3.972.3",
36
36
  "@aws-sdk/middleware-expect-continue": "^3.972.3",
37
- "@aws-sdk/middleware-flexible-checksums": "^3.972.5",
37
+ "@aws-sdk/middleware-flexible-checksums": "^3.972.6",
38
38
  "@aws-sdk/middleware-host-header": "^3.972.3",
39
39
  "@aws-sdk/middleware-location-constraint": "^3.972.3",
40
40
  "@aws-sdk/middleware-logger": "^3.972.3",
41
41
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
42
- "@aws-sdk/middleware-sdk-s3": "^3.972.7",
42
+ "@aws-sdk/middleware-sdk-s3": "^3.972.8",
43
43
  "@aws-sdk/middleware-ssec": "^3.972.3",
44
- "@aws-sdk/middleware-user-agent": "^3.972.7",
44
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
45
45
  "@aws-sdk/region-config-resolver": "^3.972.3",
46
- "@aws-sdk/signature-v4-multi-region": "3.986.0",
46
+ "@aws-sdk/signature-v4-multi-region": "3.988.0",
47
47
  "@aws-sdk/types": "^3.973.1",
48
- "@aws-sdk/util-endpoints": "3.986.0",
48
+ "@aws-sdk/util-endpoints": "3.988.0",
49
49
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
50
- "@aws-sdk/util-user-agent-node": "^3.972.5",
50
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
51
51
  "@smithy/config-resolver": "^4.4.6",
52
- "@smithy/core": "^3.22.1",
52
+ "@smithy/core": "^3.23.0",
53
53
  "@smithy/eventstream-serde-browser": "^4.2.8",
54
54
  "@smithy/eventstream-serde-config-resolver": "^4.3.8",
55
55
  "@smithy/eventstream-serde-node": "^4.2.8",
@@ -60,31 +60,31 @@
60
60
  "@smithy/invalid-dependency": "^4.2.8",
61
61
  "@smithy/md5-js": "^4.2.8",
62
62
  "@smithy/middleware-content-length": "^4.2.8",
63
- "@smithy/middleware-endpoint": "^4.4.13",
64
- "@smithy/middleware-retry": "^4.4.30",
63
+ "@smithy/middleware-endpoint": "^4.4.14",
64
+ "@smithy/middleware-retry": "^4.4.31",
65
65
  "@smithy/middleware-serde": "^4.2.9",
66
66
  "@smithy/middleware-stack": "^4.2.8",
67
67
  "@smithy/node-config-provider": "^4.3.8",
68
- "@smithy/node-http-handler": "^4.4.9",
68
+ "@smithy/node-http-handler": "^4.4.10",
69
69
  "@smithy/protocol-http": "^5.3.8",
70
- "@smithy/smithy-client": "^4.11.2",
70
+ "@smithy/smithy-client": "^4.11.3",
71
71
  "@smithy/types": "^4.12.0",
72
72
  "@smithy/url-parser": "^4.2.8",
73
73
  "@smithy/util-base64": "^4.3.0",
74
74
  "@smithy/util-body-length-browser": "^4.2.0",
75
75
  "@smithy/util-body-length-node": "^4.2.1",
76
- "@smithy/util-defaults-mode-browser": "^4.3.29",
77
- "@smithy/util-defaults-mode-node": "^4.2.32",
76
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
77
+ "@smithy/util-defaults-mode-node": "^4.2.33",
78
78
  "@smithy/util-endpoints": "^3.2.8",
79
79
  "@smithy/util-middleware": "^4.2.8",
80
80
  "@smithy/util-retry": "^4.2.8",
81
- "@smithy/util-stream": "^4.5.11",
81
+ "@smithy/util-stream": "^4.5.12",
82
82
  "@smithy/util-utf8": "^4.2.0",
83
83
  "@smithy/util-waiter": "^4.2.8",
84
84
  "tslib": "^2.6.2"
85
85
  },
86
86
  "devDependencies": {
87
- "@aws-sdk/signature-v4-crt": "3.986.0",
87
+ "@aws-sdk/signature-v4-crt": "3.988.0",
88
88
  "@tsconfig/node20": "20.1.8",
89
89
  "@types/node": "^20.14.8",
90
90
  "concurrently": "7.0.0",