@aws-sdk/client-s3 3.1019.0 → 3.1021.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 (39) hide show
  1. package/dist-cjs/index.js +1 -0
  2. package/dist-es/S3.js +6 -6
  3. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +1 -0
  4. package/dist-es/waiters/waitForBucketExists.js +1 -1
  5. package/dist-es/waiters/waitForBucketNotExists.js +1 -1
  6. package/dist-es/waiters/waitForObjectExists.js +1 -1
  7. package/dist-es/waiters/waitForObjectNotExists.js +1 -1
  8. package/dist-types/S3.d.ts +107 -107
  9. package/dist-types/S3Client.d.ts +114 -114
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
  12. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +39 -8
  14. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +39 -8
  15. package/dist-types/commands/GetObjectCommand.d.ts +1 -1
  16. package/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
  17. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +39 -8
  18. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +39 -8
  19. package/dist-types/commands/PutObjectCommand.d.ts +1 -1
  20. package/dist-types/commands/UploadPartCommand.d.ts +1 -1
  21. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
  22. package/dist-types/index.d.ts +1 -1
  23. package/dist-types/models/errors.d.ts +1 -1
  24. package/dist-types/models/models_0.d.ts +53 -2
  25. package/dist-types/models/models_1.d.ts +2 -2
  26. package/dist-types/pagination/ListBucketsPaginator.d.ts +1 -1
  27. package/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
  28. package/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
  29. package/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
  30. package/dist-types/ts3.4/S3Client.d.ts +7 -8
  31. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  32. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -3
  33. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +1 -1
  35. package/dist-types/waiters/waitForBucketExists.d.ts +3 -3
  36. package/dist-types/waiters/waitForBucketNotExists.d.ts +3 -3
  37. package/dist-types/waiters/waitForObjectExists.d.ts +3 -3
  38. package/dist-types/waiters/waitForObjectNotExists.d.ts +3 -3
  39. package/package.json +21 -21
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types";
3
- import { type UploadPartOutput, UploadPartRequest } from "../models/models_1";
3
+ import type { UploadPartOutput, UploadPartRequest } from "../models/models_1";
4
4
  import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types";
3
- import { WriteGetObjectResponseRequest } from "../models/models_1";
3
+ import type { WriteGetObjectResponseRequest } from "../models/models_1";
4
4
  import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export * from "./S3Client";
7
7
  export * from "./S3";
8
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
8
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { S3ExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
@@ -1,5 +1,5 @@
1
1
  import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { IntelligentTieringAccessTier, StorageClass } from "./enums";
2
+ import type { IntelligentTieringAccessTier, StorageClass } from "./enums";
3
3
  import { S3ServiceException as __BaseException } from "./S3ServiceException";
4
4
  /**
5
5
  * <p>The specified multipart upload does not exist.</p>
@@ -1,5 +1,5 @@
1
- import { StreamingBlobTypes } from "@smithy/types";
2
- import { AnalyticsS3ExportFileFormat, ArchiveStatus, BucketAbacStatus, BucketAccelerateStatus, BucketCannedACL, BucketLocationConstraint, BucketLogsPermission, BucketNamespace, BucketType, BucketVersioningStatus, ChecksumAlgorithm, ChecksumMode, ChecksumType, DataRedundancy, DeleteMarkerReplicationStatus, EncodingType, EncryptionType, Event, ExistingObjectReplicationStatus, ExpirationState, ExpirationStatus, FileHeaderInfo, FilterRuleName, IntelligentTieringAccessTier, IntelligentTieringStatus, InventoryConfigurationState, InventoryFormat, InventoryFrequency, InventoryIncludedObjectVersions, InventoryOptionalField, JSONType, LocationType, MetadataDirective, MetricsStatus, MFADelete, MFADeleteStatus, ObjectAttributes, ObjectCannedACL, ObjectLockEnabled, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetentionMode, ObjectOwnership, ObjectStorageClass, ObjectVersionStorageClass, OptionalObjectAttributes, OwnerOverride, PartitionDateSource, Payer, Permission, Protocol, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationTimeStatus, RequestCharged, RequestPayer, S3TablesBucketType, ServerSideEncryption, SessionMode, SseKmsEncryptedObjectsStatus, StorageClass, StorageClassAnalysisSchemaVersion, TableSseAlgorithm, TaggingDirective, Tier, TransitionDefaultMinimumObjectSize, TransitionStorageClass, Type } from "./enums";
1
+ import type { StreamingBlobTypes } from "@smithy/types";
2
+ import type { AnalyticsS3ExportFileFormat, ArchiveStatus, BucketAbacStatus, BucketAccelerateStatus, BucketCannedACL, BucketLocationConstraint, BucketLogsPermission, BucketNamespace, BucketType, BucketVersioningStatus, ChecksumAlgorithm, ChecksumMode, ChecksumType, DataRedundancy, DeleteMarkerReplicationStatus, EncodingType, EncryptionType, Event, ExistingObjectReplicationStatus, ExpirationState, ExpirationStatus, FileHeaderInfo, FilterRuleName, IntelligentTieringAccessTier, IntelligentTieringStatus, InventoryConfigurationState, InventoryFormat, InventoryFrequency, InventoryIncludedObjectVersions, InventoryOptionalField, JSONType, LocationType, MetadataDirective, MetricsStatus, MFADelete, MFADeleteStatus, ObjectAttributes, ObjectCannedACL, ObjectLockEnabled, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetentionMode, ObjectOwnership, ObjectStorageClass, ObjectVersionStorageClass, OptionalObjectAttributes, OwnerOverride, PartitionDateSource, Payer, Permission, Protocol, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationTimeStatus, RequestCharged, RequestPayer, S3TablesBucketType, ServerSideEncryption, SessionMode, SseKmsEncryptedObjectsStatus, StorageClass, StorageClassAnalysisSchemaVersion, TableSseAlgorithm, TaggingDirective, Tier, TransitionDefaultMinimumObjectSize, TransitionStorageClass, Type } from "./enums";
3
3
  /**
4
4
  * <p>The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html">Using tags with S3 general purpose buckets</a>. </p>
5
5
  * @public
@@ -3030,6 +3030,12 @@ export interface DeleteBucketMetadataTableConfigurationRequest {
3030
3030
  export interface DeleteBucketMetricsConfigurationRequest {
3031
3031
  /**
3032
3032
  * <p>The name of the bucket containing the metrics configuration to delete.</p>
3033
+ * <p>
3034
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
3035
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
3036
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
3037
+ * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
3038
+ * </p>
3033
3039
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
3034
3040
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
3035
3041
  * @public
@@ -3043,6 +3049,10 @@ export interface DeleteBucketMetricsConfigurationRequest {
3043
3049
  Id: string | undefined;
3044
3050
  /**
3045
3051
  * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
3052
+ * <note>
3053
+ * <p>For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code
3054
+ * <code>501 Not Implemented</code>.</p>
3055
+ * </note>
3046
3056
  * @public
3047
3057
  */
3048
3058
  ExpectedBucketOwner?: string | undefined;
@@ -7597,6 +7607,10 @@ export interface MetricsAndOperator {
7597
7607
  Prefix?: string | undefined;
7598
7608
  /**
7599
7609
  * <p>The list of tags used when evaluating an AND predicate.</p>
7610
+ * <note>
7611
+ * <p>
7612
+ * <code>Tag</code> filters are not supported for directory buckets.</p>
7613
+ * </note>
7600
7614
  * @public
7601
7615
  */
7602
7616
  Tags?: Tag[] | undefined;
@@ -7630,6 +7644,10 @@ export declare namespace MetricsFilter {
7630
7644
  }
7631
7645
  /**
7632
7646
  * <p>The tag used when evaluating a metrics filter.</p>
7647
+ * <note>
7648
+ * <p>
7649
+ * <code>Tag</code> filters are not supported for directory buckets.</p>
7650
+ * </note>
7633
7651
  * @public
7634
7652
  */
7635
7653
  interface TagMember {
@@ -7703,6 +7721,9 @@ export interface MetricsConfiguration {
7703
7721
  * <p>Specifies a metrics configuration filter. The metrics configuration will only include objects that
7704
7722
  * meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a
7705
7723
  * conjunction (MetricsAndOperator).</p>
7724
+ * <note>
7725
+ * <p>Metrics configurations for directory buckets do not support tag filters.</p>
7726
+ * </note>
7706
7727
  * @public
7707
7728
  */
7708
7729
  Filter?: MetricsFilter | undefined;
@@ -7723,6 +7744,12 @@ export interface GetBucketMetricsConfigurationOutput {
7723
7744
  export interface GetBucketMetricsConfigurationRequest {
7724
7745
  /**
7725
7746
  * <p>The name of the bucket containing the metrics configuration to retrieve.</p>
7747
+ * <p>
7748
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
7749
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
7750
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
7751
+ * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
7752
+ * </p>
7726
7753
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
7727
7754
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
7728
7755
  * @public
@@ -7736,6 +7763,10 @@ export interface GetBucketMetricsConfigurationRequest {
7736
7763
  Id: string | undefined;
7737
7764
  /**
7738
7765
  * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
7766
+ * <note>
7767
+ * <p>For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code
7768
+ * <code>501 Not Implemented</code>.</p>
7769
+ * </note>
7739
7770
  * @public
7740
7771
  */
7741
7772
  ExpectedBucketOwner?: string | undefined;
@@ -11087,6 +11118,12 @@ export interface ListBucketMetricsConfigurationsOutput {
11087
11118
  export interface ListBucketMetricsConfigurationsRequest {
11088
11119
  /**
11089
11120
  * <p>The name of the bucket containing the metrics configurations to retrieve.</p>
11121
+ * <p>
11122
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
11123
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
11124
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
11125
+ * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
11126
+ * </p>
11090
11127
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
11091
11128
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
11092
11129
  * @public
@@ -11101,6 +11138,10 @@ export interface ListBucketMetricsConfigurationsRequest {
11101
11138
  ContinuationToken?: string | undefined;
11102
11139
  /**
11103
11140
  * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
11141
+ * <note>
11142
+ * <p>For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code
11143
+ * <code>501 Not Implemented</code>.</p>
11144
+ * </note>
11104
11145
  * @public
11105
11146
  */
11106
11147
  ExpectedBucketOwner?: string | undefined;
@@ -13250,6 +13291,12 @@ export interface PutBucketLoggingRequest {
13250
13291
  export interface PutBucketMetricsConfigurationRequest {
13251
13292
  /**
13252
13293
  * <p>The name of the bucket for which the metrics configuration is set.</p>
13294
+ * <p>
13295
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
13296
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
13297
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
13298
+ * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
13299
+ * </p>
13253
13300
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
13254
13301
  * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
13255
13302
  * @public
@@ -13268,6 +13315,10 @@ export interface PutBucketMetricsConfigurationRequest {
13268
13315
  MetricsConfiguration: MetricsConfiguration | undefined;
13269
13316
  /**
13270
13317
  * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
13318
+ * <note>
13319
+ * <p>For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code
13320
+ * <code>501 Not Implemented</code>.</p>
13321
+ * </note>
13271
13322
  * @public
13272
13323
  */
13273
13324
  ExpectedBucketOwner?: string | undefined;
@@ -1,5 +1,5 @@
1
- import { StreamingBlobTypes } from "@smithy/types";
2
- import { ChecksumAlgorithm, CompressionType, ExpressionType, InventoryConfigurationState, ObjectLockLegalHoldStatus, ObjectLockMode, QuoteFields, ReplicationStatus, RequestCharged, RequestPayer, RestoreRequestType, ServerSideEncryption, StorageClass, Tier } from "./enums";
1
+ import type { StreamingBlobTypes } from "@smithy/types";
2
+ import type { ChecksumAlgorithm, CompressionType, ExpressionType, InventoryConfigurationState, ObjectLockLegalHoldStatus, ObjectLockMode, QuoteFields, ReplicationStatus, RequestCharged, RequestPayer, RestoreRequestType, ServerSideEncryption, StorageClass, Tier } from "./enums";
3
3
  import type { CSVInput, GlacierJobParameters, JSONInput, MetadataTableEncryptionConfiguration, OutputLocation, ParquetInput, RecordExpiration } from "./models_0";
4
4
  /**
5
5
  * <p>Describes the serialization format of the object.</p>
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListBucketsCommandInput, ListBucketsCommandOutput } from "../commands/ListBucketsCommand";
3
- import { S3PaginationConfiguration } from "./Interfaces";
3
+ import type { S3PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListDirectoryBucketsCommandInput, ListDirectoryBucketsCommandOutput } from "../commands/ListDirectoryBucketsCommand";
3
- import { S3PaginationConfiguration } from "./Interfaces";
3
+ import type { S3PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListObjectsV2CommandInput, ListObjectsV2CommandOutput } from "../commands/ListObjectsV2Command";
3
- import { S3PaginationConfiguration } from "./Interfaces";
3
+ import type { S3PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListPartsCommandInput, ListPartsCommandOutput } from "../commands/ListPartsCommand";
3
- import { S3PaginationConfiguration } from "./Interfaces";
3
+ import type { S3PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -36,25 +36,24 @@ import {
36
36
  Client as __Client,
37
37
  } from "@smithy/smithy-client";
38
38
  import {
39
+ AwsCredentialIdentityProvider,
39
40
  BodyLengthCalculator as __BodyLengthCalculator,
40
41
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
42
+ ChecksumConstructor as __ChecksumConstructor,
41
43
  Decoder as __Decoder,
42
44
  Encoder as __Encoder,
43
45
  EventStreamSerdeProvider as __EventStreamSerdeProvider,
46
+ HashConstructor as __HashConstructor,
44
47
  HttpHandlerOptions as __HttpHandlerOptions,
45
48
  Logger as __Logger,
46
49
  Provider as __Provider,
47
50
  SdkStreamMixinInjector as __SdkStreamMixinInjector,
48
51
  StreamCollector as __StreamCollector,
49
- UrlParser as __UrlParser,
50
- AwsCredentialIdentityProvider,
51
- ChecksumConstructor as __ChecksumConstructor,
52
- HashConstructor as __HashConstructor,
53
- Provider,
54
52
  StreamHasher as __StreamHasher,
53
+ UrlParser as __UrlParser,
55
54
  UserAgent as __UserAgent,
56
55
  } from "@smithy/types";
57
- import { Readable } from "stream";
56
+ import { Readable as Readable } from "node:stream";
58
57
  import {
59
58
  HttpAuthSchemeInputConfig,
60
59
  HttpAuthSchemeResolvedConfig,
@@ -728,7 +727,7 @@ export interface ClientDefaults
728
727
  useFipsEndpoint?: boolean | __Provider<boolean>;
729
728
  region?: string | __Provider<string>;
730
729
  profile?: string;
731
- defaultUserAgentProvider?: Provider<__UserAgent>;
730
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
732
731
  streamHasher?: __StreamHasher<Readable> | __StreamHasher<Blob>;
733
732
  md5?: __ChecksumConstructor | __HashConstructor;
734
733
  sha1?: __ChecksumConstructor | __HashConstructor;
@@ -741,7 +740,7 @@ export interface ClientDefaults
741
740
  eventStreamSerdeProvider?: __EventStreamSerdeProvider;
742
741
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
743
742
  signingEscapePath?: boolean;
744
- useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
743
+ useArnRegion?: boolean | undefined | __Provider<boolean | undefined>;
745
744
  sdkStreamMixin?: __SdkStreamMixinInjector;
746
745
  }
747
746
  export type S3ClientConfigType = Partial<
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { S3HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -7,12 +7,12 @@ import {
7
7
  AwsSdkSigV4PreviouslyResolved,
8
8
  } from "@aws-sdk/core/httpAuthSchemes";
9
9
  import {
10
- HttpAuthScheme,
11
- HttpAuthSchemeParametersProvider,
12
- Provider,
13
10
  HandlerExecutionContext,
11
+ HttpAuthScheme,
14
12
  HttpAuthSchemeParameters,
13
+ HttpAuthSchemeParametersProvider,
15
14
  HttpAuthSchemeProvider,
15
+ Provider,
16
16
  } from "@smithy/types";
17
17
  import { EndpointParameters } from "../endpoint/EndpointParameters";
18
18
  import { S3ClientResolvedConfig } from "../S3Client";
@@ -3,7 +3,7 @@ import {
3
3
  MetadataBearer as __MetadataBearer,
4
4
  StreamingBlobPayloadOutputTypes,
5
5
  } from "@smithy/types";
6
- import { GetObjectRequest, GetObjectOutput } from "../models/models_0";
6
+ import { GetObjectOutput, GetObjectRequest } from "../models/models_0";
7
7
  import {
8
8
  S3ClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -4,8 +4,8 @@ import {
4
4
  StreamingBlobPayloadOutputTypes,
5
5
  } from "@smithy/types";
6
6
  import {
7
- GetObjectTorrentRequest,
8
7
  GetObjectTorrentOutput,
8
+ GetObjectTorrentRequest,
9
9
  } from "../models/models_0";
10
10
  import {
11
11
  S3ClientResolvedConfig,
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { HeadBucketCommandInput } from "../commands/HeadBucketCommand";
3
- import { S3Client } from "../S3Client";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import { type HeadBucketCommandInput } from "../commands/HeadBucketCommand";
3
+ import type { S3Client } from "../S3Client";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilBucketExists instead. waitForBucketExists does not throw error in non-success cases.
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { HeadBucketCommandInput } from "../commands/HeadBucketCommand";
3
- import { S3Client } from "../S3Client";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import { type HeadBucketCommandInput } from "../commands/HeadBucketCommand";
3
+ import type { S3Client } from "../S3Client";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilBucketNotExists instead. waitForBucketNotExists does not throw error in non-success cases.
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { HeadObjectCommandInput } from "../commands/HeadObjectCommand";
3
- import { S3Client } from "../S3Client";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import { type HeadObjectCommandInput } from "../commands/HeadObjectCommand";
3
+ import type { S3Client } from "../S3Client";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilObjectExists instead. waitForObjectExists does not throw error in non-success cases.
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { HeadObjectCommandInput } from "../commands/HeadObjectCommand";
3
- import { S3Client } from "../S3Client";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import { type HeadObjectCommandInput } from "../commands/HeadObjectCommand";
3
+ import type { S3Client } from "../S3Client";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilObjectNotExists instead. waitForObjectNotExists does not throw error in non-success cases.
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.1019.0",
4
+ "version": "3.1021.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.25",
34
- "@aws-sdk/credential-provider-node": "^3.972.27",
33
+ "@aws-sdk/core": "^3.973.26",
34
+ "@aws-sdk/credential-provider-node": "^3.972.29",
35
35
  "@aws-sdk/middleware-bucket-endpoint": "^3.972.8",
36
36
  "@aws-sdk/middleware-expect-continue": "^3.972.8",
37
- "@aws-sdk/middleware-flexible-checksums": "^3.974.5",
37
+ "@aws-sdk/middleware-flexible-checksums": "^3.974.6",
38
38
  "@aws-sdk/middleware-host-header": "^3.972.8",
39
39
  "@aws-sdk/middleware-location-constraint": "^3.972.8",
40
40
  "@aws-sdk/middleware-logger": "^3.972.8",
41
41
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
42
- "@aws-sdk/middleware-sdk-s3": "^3.972.26",
42
+ "@aws-sdk/middleware-sdk-s3": "^3.972.27",
43
43
  "@aws-sdk/middleware-ssec": "^3.972.8",
44
- "@aws-sdk/middleware-user-agent": "^3.972.26",
44
+ "@aws-sdk/middleware-user-agent": "^3.972.28",
45
45
  "@aws-sdk/region-config-resolver": "^3.972.10",
46
- "@aws-sdk/signature-v4-multi-region": "^3.996.14",
46
+ "@aws-sdk/signature-v4-multi-region": "^3.996.15",
47
47
  "@aws-sdk/types": "^3.973.6",
48
48
  "@aws-sdk/util-endpoints": "^3.996.5",
49
49
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
50
- "@aws-sdk/util-user-agent-node": "^3.973.12",
50
+ "@aws-sdk/util-user-agent-node": "^3.973.14",
51
51
  "@smithy/config-resolver": "^4.4.13",
52
- "@smithy/core": "^3.23.12",
52
+ "@smithy/core": "^3.23.13",
53
53
  "@smithy/eventstream-serde-browser": "^4.2.12",
54
54
  "@smithy/eventstream-serde-config-resolver": "^4.3.12",
55
55
  "@smithy/eventstream-serde-node": "^4.2.12",
@@ -60,32 +60,32 @@
60
60
  "@smithy/invalid-dependency": "^4.2.12",
61
61
  "@smithy/md5-js": "^4.2.12",
62
62
  "@smithy/middleware-content-length": "^4.2.12",
63
- "@smithy/middleware-endpoint": "^4.4.27",
64
- "@smithy/middleware-retry": "^4.4.44",
65
- "@smithy/middleware-serde": "^4.2.15",
63
+ "@smithy/middleware-endpoint": "^4.4.28",
64
+ "@smithy/middleware-retry": "^4.4.46",
65
+ "@smithy/middleware-serde": "^4.2.16",
66
66
  "@smithy/middleware-stack": "^4.2.12",
67
67
  "@smithy/node-config-provider": "^4.3.12",
68
- "@smithy/node-http-handler": "^4.5.0",
68
+ "@smithy/node-http-handler": "^4.5.1",
69
69
  "@smithy/protocol-http": "^5.3.12",
70
- "@smithy/smithy-client": "^4.12.7",
70
+ "@smithy/smithy-client": "^4.12.8",
71
71
  "@smithy/types": "^4.13.1",
72
72
  "@smithy/url-parser": "^4.2.12",
73
73
  "@smithy/util-base64": "^4.3.2",
74
74
  "@smithy/util-body-length-browser": "^4.2.2",
75
75
  "@smithy/util-body-length-node": "^4.2.3",
76
- "@smithy/util-defaults-mode-browser": "^4.3.43",
77
- "@smithy/util-defaults-mode-node": "^4.2.47",
76
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
77
+ "@smithy/util-defaults-mode-node": "^4.2.48",
78
78
  "@smithy/util-endpoints": "^3.3.3",
79
79
  "@smithy/util-middleware": "^4.2.12",
80
- "@smithy/util-retry": "^4.2.12",
81
- "@smithy/util-stream": "^4.5.20",
80
+ "@smithy/util-retry": "^4.2.13",
81
+ "@smithy/util-stream": "^4.5.21",
82
82
  "@smithy/util-utf8": "^4.2.2",
83
- "@smithy/util-waiter": "^4.2.13",
83
+ "@smithy/util-waiter": "^4.2.14",
84
84
  "tslib": "^2.6.2"
85
85
  },
86
86
  "devDependencies": {
87
- "@aws-sdk/signature-v4-crt": "3.1019.0",
88
- "@smithy/snapshot-testing": "^2.0.3",
87
+ "@aws-sdk/signature-v4-crt": "3.1021.0",
88
+ "@smithy/snapshot-testing": "^2.0.4",
89
89
  "@tsconfig/node20": "20.1.8",
90
90
  "@types/node": "^20.14.8",
91
91
  "concurrently": "7.0.0",