@aws-sdk/client-s3 3.658.1 → 3.663.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.
@@ -921,8 +921,15 @@ export interface LifecycleRule {
921
921
  NoncurrentVersionExpiration?: NoncurrentVersionExpiration;
922
922
  AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload;
923
923
  }
924
+ export declare const TransitionDefaultMinimumObjectSize: {
925
+ readonly all_storage_classes_128K: "all_storage_classes_128K";
926
+ readonly varies_by_storage_class: "varies_by_storage_class";
927
+ };
928
+ export type TransitionDefaultMinimumObjectSize =
929
+ (typeof TransitionDefaultMinimumObjectSize)[keyof typeof TransitionDefaultMinimumObjectSize];
924
930
  export interface GetBucketLifecycleConfigurationOutput {
925
931
  Rules?: LifecycleRule[];
932
+ TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize;
926
933
  }
927
934
  export interface GetBucketLifecycleConfigurationRequest {
928
935
  Bucket: string | undefined;
@@ -2036,6 +2043,9 @@ export interface PutBucketInventoryConfigurationRequest {
2036
2043
  InventoryConfiguration: InventoryConfiguration | undefined;
2037
2044
  ExpectedBucketOwner?: string;
2038
2045
  }
2046
+ export interface PutBucketLifecycleConfigurationOutput {
2047
+ TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize;
2048
+ }
2039
2049
  export interface BucketLifecycleConfiguration {
2040
2050
  Rules: LifecycleRule[] | undefined;
2041
2051
  }
@@ -2044,6 +2054,7 @@ export interface PutBucketLifecycleConfigurationRequest {
2044
2054
  ChecksumAlgorithm?: ChecksumAlgorithm;
2045
2055
  LifecycleConfiguration?: BucketLifecycleConfiguration;
2046
2056
  ExpectedBucketOwner?: string;
2057
+ TransitionDefaultMinimumObjectSize?: TransitionDefaultMinimumObjectSize;
2047
2058
  }
2048
2059
  export interface BucketLoggingStatus {
2049
2060
  LoggingEnabled?: LoggingEnabled;
@@ -2061,18 +2072,6 @@ export interface PutBucketMetricsConfigurationRequest {
2061
2072
  MetricsConfiguration: MetricsConfiguration | undefined;
2062
2073
  ExpectedBucketOwner?: string;
2063
2074
  }
2064
- export interface PutBucketNotificationConfigurationRequest {
2065
- Bucket: string | undefined;
2066
- NotificationConfiguration: NotificationConfiguration | undefined;
2067
- ExpectedBucketOwner?: string;
2068
- SkipDestinationValidation?: boolean;
2069
- }
2070
- export interface PutBucketOwnershipControlsRequest {
2071
- Bucket: string | undefined;
2072
- ContentMD5?: string;
2073
- ExpectedBucketOwner?: string;
2074
- OwnershipControls: OwnershipControls | undefined;
2075
- }
2076
2075
  export declare const CompleteMultipartUploadOutputFilterSensitiveLog: (
2077
2076
  obj: CompleteMultipartUploadOutput
2078
2077
  ) => any;
@@ -7,12 +7,14 @@ import {
7
7
  ErrorDocument,
8
8
  Grant,
9
9
  IndexDocument,
10
+ NotificationConfiguration,
10
11
  ObjectCannedACL,
11
12
  ObjectLockConfiguration,
12
13
  ObjectLockLegalHold,
13
14
  ObjectLockLegalHoldStatus,
14
15
  ObjectLockMode,
15
16
  ObjectLockRetention,
17
+ OwnershipControls,
16
18
  Payer,
17
19
  PublicAccessBlockConfiguration,
18
20
  RedirectAllRequestsTo,
@@ -26,6 +28,18 @@ import {
26
28
  Tag,
27
29
  } from "./models_0";
28
30
  import { S3ServiceException as __BaseException } from "./S3ServiceException";
31
+ export interface PutBucketNotificationConfigurationRequest {
32
+ Bucket: string | undefined;
33
+ NotificationConfiguration: NotificationConfiguration | undefined;
34
+ ExpectedBucketOwner?: string;
35
+ SkipDestinationValidation?: boolean;
36
+ }
37
+ export interface PutBucketOwnershipControlsRequest {
38
+ Bucket: string | undefined;
39
+ ContentMD5?: string;
40
+ ExpectedBucketOwner?: string;
41
+ OwnershipControls: OwnershipControls | undefined;
42
+ }
29
43
  export interface PutBucketPolicyRequest {
30
44
  Bucket: string | undefined;
31
45
  ContentMD5?: string;
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.658.1",
4
+ "version": "3.663.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3",
@@ -26,64 +26,64 @@
26
26
  "@aws-crypto/sha1-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-browser": "5.2.0",
28
28
  "@aws-crypto/sha256-js": "5.2.0",
29
- "@aws-sdk/client-sso-oidc": "3.658.1",
30
- "@aws-sdk/client-sts": "3.658.1",
31
- "@aws-sdk/core": "3.658.1",
32
- "@aws-sdk/credential-provider-node": "3.658.1",
33
- "@aws-sdk/middleware-bucket-endpoint": "3.654.0",
34
- "@aws-sdk/middleware-expect-continue": "3.654.0",
35
- "@aws-sdk/middleware-flexible-checksums": "3.658.1",
36
- "@aws-sdk/middleware-host-header": "3.654.0",
37
- "@aws-sdk/middleware-location-constraint": "3.654.0",
38
- "@aws-sdk/middleware-logger": "3.654.0",
39
- "@aws-sdk/middleware-recursion-detection": "3.654.0",
40
- "@aws-sdk/middleware-sdk-s3": "3.658.1",
41
- "@aws-sdk/middleware-ssec": "3.654.0",
42
- "@aws-sdk/middleware-user-agent": "3.654.0",
43
- "@aws-sdk/region-config-resolver": "3.654.0",
44
- "@aws-sdk/signature-v4-multi-region": "3.658.1",
45
- "@aws-sdk/types": "3.654.0",
46
- "@aws-sdk/util-endpoints": "3.654.0",
47
- "@aws-sdk/util-user-agent-browser": "3.654.0",
48
- "@aws-sdk/util-user-agent-node": "3.654.0",
49
- "@aws-sdk/xml-builder": "3.654.0",
50
- "@smithy/config-resolver": "^3.0.8",
51
- "@smithy/core": "^2.4.6",
52
- "@smithy/eventstream-serde-browser": "^3.0.9",
53
- "@smithy/eventstream-serde-config-resolver": "^3.0.6",
54
- "@smithy/eventstream-serde-node": "^3.0.8",
55
- "@smithy/fetch-http-handler": "^3.2.8",
56
- "@smithy/hash-blob-browser": "^3.1.5",
57
- "@smithy/hash-node": "^3.0.6",
58
- "@smithy/hash-stream-node": "^3.1.5",
59
- "@smithy/invalid-dependency": "^3.0.6",
60
- "@smithy/md5-js": "^3.0.6",
61
- "@smithy/middleware-content-length": "^3.0.8",
62
- "@smithy/middleware-endpoint": "^3.1.3",
63
- "@smithy/middleware-retry": "^3.0.21",
64
- "@smithy/middleware-serde": "^3.0.6",
65
- "@smithy/middleware-stack": "^3.0.6",
66
- "@smithy/node-config-provider": "^3.1.7",
67
- "@smithy/node-http-handler": "^3.2.3",
68
- "@smithy/protocol-http": "^4.1.3",
69
- "@smithy/smithy-client": "^3.3.5",
70
- "@smithy/types": "^3.4.2",
71
- "@smithy/url-parser": "^3.0.6",
29
+ "@aws-sdk/client-sso-oidc": "3.662.0",
30
+ "@aws-sdk/client-sts": "3.662.0",
31
+ "@aws-sdk/core": "3.662.0",
32
+ "@aws-sdk/credential-provider-node": "3.662.0",
33
+ "@aws-sdk/middleware-bucket-endpoint": "3.662.0",
34
+ "@aws-sdk/middleware-expect-continue": "3.662.0",
35
+ "@aws-sdk/middleware-flexible-checksums": "3.662.0",
36
+ "@aws-sdk/middleware-host-header": "3.662.0",
37
+ "@aws-sdk/middleware-location-constraint": "3.662.0",
38
+ "@aws-sdk/middleware-logger": "3.662.0",
39
+ "@aws-sdk/middleware-recursion-detection": "3.662.0",
40
+ "@aws-sdk/middleware-sdk-s3": "3.662.0",
41
+ "@aws-sdk/middleware-ssec": "3.662.0",
42
+ "@aws-sdk/middleware-user-agent": "3.662.0",
43
+ "@aws-sdk/region-config-resolver": "3.662.0",
44
+ "@aws-sdk/signature-v4-multi-region": "3.662.0",
45
+ "@aws-sdk/types": "3.662.0",
46
+ "@aws-sdk/util-endpoints": "3.662.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.662.0",
48
+ "@aws-sdk/util-user-agent-node": "3.662.0",
49
+ "@aws-sdk/xml-builder": "3.662.0",
50
+ "@smithy/config-resolver": "^3.0.9",
51
+ "@smithy/core": "^2.4.7",
52
+ "@smithy/eventstream-serde-browser": "^3.0.10",
53
+ "@smithy/eventstream-serde-config-resolver": "^3.0.7",
54
+ "@smithy/eventstream-serde-node": "^3.0.9",
55
+ "@smithy/fetch-http-handler": "^3.2.9",
56
+ "@smithy/hash-blob-browser": "^3.1.6",
57
+ "@smithy/hash-node": "^3.0.7",
58
+ "@smithy/hash-stream-node": "^3.1.6",
59
+ "@smithy/invalid-dependency": "^3.0.7",
60
+ "@smithy/md5-js": "^3.0.7",
61
+ "@smithy/middleware-content-length": "^3.0.9",
62
+ "@smithy/middleware-endpoint": "^3.1.4",
63
+ "@smithy/middleware-retry": "^3.0.22",
64
+ "@smithy/middleware-serde": "^3.0.7",
65
+ "@smithy/middleware-stack": "^3.0.7",
66
+ "@smithy/node-config-provider": "^3.1.8",
67
+ "@smithy/node-http-handler": "^3.2.4",
68
+ "@smithy/protocol-http": "^4.1.4",
69
+ "@smithy/smithy-client": "^3.3.6",
70
+ "@smithy/types": "^3.5.0",
71
+ "@smithy/url-parser": "^3.0.7",
72
72
  "@smithy/util-base64": "^3.0.0",
73
73
  "@smithy/util-body-length-browser": "^3.0.0",
74
74
  "@smithy/util-body-length-node": "^3.0.0",
75
- "@smithy/util-defaults-mode-browser": "^3.0.21",
76
- "@smithy/util-defaults-mode-node": "^3.0.21",
77
- "@smithy/util-endpoints": "^2.1.2",
78
- "@smithy/util-middleware": "^3.0.6",
79
- "@smithy/util-retry": "^3.0.6",
80
- "@smithy/util-stream": "^3.1.8",
75
+ "@smithy/util-defaults-mode-browser": "^3.0.22",
76
+ "@smithy/util-defaults-mode-node": "^3.0.22",
77
+ "@smithy/util-endpoints": "^2.1.3",
78
+ "@smithy/util-middleware": "^3.0.7",
79
+ "@smithy/util-retry": "^3.0.7",
80
+ "@smithy/util-stream": "^3.1.9",
81
81
  "@smithy/util-utf8": "^3.0.0",
82
- "@smithy/util-waiter": "^3.1.5",
82
+ "@smithy/util-waiter": "^3.1.6",
83
83
  "tslib": "^2.6.2"
84
84
  },
85
85
  "devDependencies": {
86
- "@aws-sdk/signature-v4-crt": "3.658.1",
86
+ "@aws-sdk/signature-v4-crt": "3.662.0",
87
87
  "@tsconfig/node16": "16.1.3",
88
88
  "@types/chai": "^4.2.11",
89
89
  "@types/mocha": "^8.0.4",