@mavogel/awscdk-rootmail 0.0.124 → 0.0.126

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 (90) hide show
  1. package/.jsii +8 -8
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +6 -6
  5. package/node_modules/@aws-sdk/client-route-53/package.json +6 -6
  6. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +20 -7
  7. package/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
  8. package/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
  9. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +7 -0
  10. package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -3
  11. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +13 -3
  12. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +9 -7
  13. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +8 -7
  14. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +7 -3
  15. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -0
  16. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +17 -3
  17. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +5 -1
  18. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +9 -0
  20. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +121 -118
  21. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +93 -1
  22. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
  23. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
  24. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +2 -2
  25. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
  26. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +5 -8
  27. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +8 -0
  28. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
  29. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
  30. package/node_modules/@aws-sdk/client-s3/package.json +9 -9
  31. package/node_modules/@aws-sdk/client-ses/package.json +6 -6
  32. package/node_modules/@aws-sdk/client-ssm/package.json +6 -6
  33. package/node_modules/@aws-sdk/client-sso/package.json +3 -3
  34. package/node_modules/@aws-sdk/client-sso-oidc/package.json +5 -5
  35. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +8 -2
  36. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +7 -2
  37. package/node_modules/@aws-sdk/client-sts/package.json +5 -5
  38. package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
  39. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  40. package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
  41. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +4 -0
  42. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +6 -0
  43. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +1 -1
  44. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  45. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  46. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +1 -1
  47. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +1 -3
  48. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  49. package/node_modules/@smithy/core/cbor.js +6 -0
  50. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +707 -0
  51. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +391 -0
  52. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +181 -0
  53. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +20 -0
  54. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +15 -0
  55. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +2 -0
  56. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +82 -0
  57. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +17 -0
  58. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +9 -0
  59. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +40 -0
  60. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +26 -0
  61. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +2 -0
  62. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +29 -0
  63. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +17 -0
  64. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +9 -0
  65. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +43 -0
  66. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +26 -0
  67. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +2 -0
  68. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +29 -0
  69. package/node_modules/@smithy/core/package.json +17 -5
  70. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  71. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +2 -0
  72. package/node_modules/@smithy/smithy-client/dist-es/date-utils.js +3 -0
  73. package/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts +2 -0
  74. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +2 -0
  75. package/node_modules/@smithy/smithy-client/package.json +1 -1
  76. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  77. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  78. package/node_modules/cdk-nag/.jsii +2 -2
  79. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  80. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  81. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  82. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  83. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  84. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  85. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  86. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  87. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  88. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  89. package/node_modules/cdk-nag/package.json +1 -1
  90. package/package.json +8 -8
package/.jsii CHANGED
@@ -7,14 +7,14 @@
7
7
  ]
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-cloudwatch-logs": "^3.631.0",
11
- "@aws-sdk/client-route-53": "^3.631.0",
12
- "@aws-sdk/client-s3": "^3.631.0",
13
- "@aws-sdk/client-ses": "^3.631.0",
14
- "@aws-sdk/client-ssm": "^3.631.0",
10
+ "@aws-sdk/client-cloudwatch-logs": "^3.632.0",
11
+ "@aws-sdk/client-route-53": "^3.632.0",
12
+ "@aws-sdk/client-s3": "^3.633.0",
13
+ "@aws-sdk/client-ses": "^3.632.0",
14
+ "@aws-sdk/client-ssm": "^3.632.0",
15
15
  "async-retry": "^1.3.3",
16
16
  "axios": "^1.7.4",
17
- "cdk-nag": "^2.28.180",
17
+ "cdk-nag": "^2.28.182",
18
18
  "mailparser": "^3.7.1",
19
19
  "uuid": "^9.0.1"
20
20
  },
@@ -3877,6 +3877,6 @@
3877
3877
  "symbolId": "src/ses-receive:SESReceiveProps"
3878
3878
  }
3879
3879
  },
3880
- "version": "0.0.124",
3881
- "fingerprint": "6gCST6xpFiKkJT+XlN4qECyL7yFs0zXx8BQ1GzoGE9U="
3880
+ "version": "0.0.126",
3881
+ "fingerprint": "KxD3bwyC3951XerYmM0181FRk3AFqy+lOm2fzONhezs="
3882
3882
  }
package/lib/rootmail.js CHANGED
@@ -74,7 +74,7 @@ class Rootmail extends constructs_1.Construct {
74
74
  }
75
75
  exports.Rootmail = Rootmail;
76
76
  _a = JSII_RTTI_SYMBOL_1;
77
- Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.124" };
77
+ Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.126" };
78
78
  /**
79
79
  * Aspect for setting all removal policies to DESTROY
80
80
  */
@@ -124,7 +124,7 @@ class SESReceive extends constructs_1.Construct {
124
124
  }
125
125
  exports.SESReceive = SESReceive;
126
126
  _a = JSII_RTTI_SYMBOL_1;
127
- SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.124" };
127
+ SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.126" };
128
128
  /**
129
129
  * Aspect for setting all removal policies to DESTROY
130
130
  */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
4
- "version": "3.631.0",
4
+ "version": "3.632.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-cloudwatch-logs",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.631.0",
24
- "@aws-sdk/client-sts": "3.631.0",
23
+ "@aws-sdk/client-sso-oidc": "3.632.0",
24
+ "@aws-sdk/client-sts": "3.632.0",
25
25
  "@aws-sdk/core": "3.629.0",
26
- "@aws-sdk/credential-provider-node": "3.631.0",
26
+ "@aws-sdk/credential-provider-node": "3.632.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.631.0",
30
+ "@aws-sdk/middleware-user-agent": "3.632.0",
31
31
  "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.631.0",
33
+ "@aws-sdk/util-endpoints": "3.632.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route-53",
3
3
  "description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
4
- "version": "3.631.0",
4
+ "version": "3.632.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-route-53",
@@ -20,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.631.0",
24
- "@aws-sdk/client-sts": "3.631.0",
23
+ "@aws-sdk/client-sso-oidc": "3.632.0",
24
+ "@aws-sdk/client-sts": "3.632.0",
25
25
  "@aws-sdk/core": "3.629.0",
26
- "@aws-sdk/credential-provider-node": "3.631.0",
26
+ "@aws-sdk/credential-provider-node": "3.632.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
30
  "@aws-sdk/middleware-sdk-route53": "3.609.0",
31
- "@aws-sdk/middleware-user-agent": "3.631.0",
31
+ "@aws-sdk/middleware-user-agent": "3.632.0",
32
32
  "@aws-sdk/region-config-resolver": "3.614.0",
33
33
  "@aws-sdk/types": "3.609.0",
34
- "@aws-sdk/util-endpoints": "3.631.0",
34
+ "@aws-sdk/util-endpoints": "3.632.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.609.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.614.0",
37
37
  "@aws-sdk/xml-builder": "3.609.0",
@@ -241,6 +241,7 @@ __export(src_exports, {
241
241
  WriteGetObjectResponseCommand: () => WriteGetObjectResponseCommand,
242
242
  WriteGetObjectResponseRequestFilterSensitiveLog: () => WriteGetObjectResponseRequestFilterSensitiveLog,
243
243
  __Client: () => import_smithy_client.Client,
244
+ paginateListBuckets: () => paginateListBuckets,
244
245
  paginateListDirectoryBuckets: () => paginateListDirectoryBuckets,
245
246
  paginateListObjectsV2: () => paginateListObjectsV2,
246
247
  paginateListParts: () => paginateListParts,
@@ -2140,7 +2141,9 @@ var se_ListBucketsCommand = /* @__PURE__ */ __name(async (input, context) => {
2140
2141
  const headers = {};
2141
2142
  b.bp("/");
2142
2143
  const query = (0, import_smithy_client.map)({
2143
- [_xi]: [, "ListBuckets"]
2144
+ [_xi]: [, "ListBuckets"],
2145
+ [_mb]: [() => input.MaxBuckets !== void 0, () => input[_MB].toString()],
2146
+ [_ct_]: [, input[_CTo]]
2144
2147
  });
2145
2148
  let body;
2146
2149
  b.m("GET").h(headers).q(query).b(body);
@@ -4083,6 +4086,9 @@ var de_ListBucketsCommand = /* @__PURE__ */ __name(async (output, context) => {
4083
4086
  } else if (data[_Bu] != null && data[_Bu][_B] != null) {
4084
4087
  contents[_Bu] = de_Buckets((0, import_smithy_client.getArrayIfSingleItem)(data[_Bu][_B]), context);
4085
4088
  }
4089
+ if (data[_CTo] != null) {
4090
+ contents[_CTo] = (0, import_smithy_client.expectString)(data[_CTo]);
4091
+ }
4086
4092
  if (data[_O] != null) {
4087
4093
  contents[_O] = de_Owner(data[_O], context);
4088
4094
  }
@@ -7976,6 +7982,7 @@ var _LT = "LocationType";
7976
7982
  var _M = "Marker";
7977
7983
  var _MAO = "MetricsAndOperator";
7978
7984
  var _MAS = "MaxAgeSeconds";
7985
+ var _MB = "MaxBuckets";
7979
7986
  var _MC = "MetricsConfiguration";
7980
7987
  var _MCL = "MetricsConfigurationList";
7981
7988
  var _MD = "MetadataDirective";
@@ -8232,6 +8239,7 @@ var _log = "logging";
8232
8239
  var _lt = "list-type";
8233
8240
  var _m = "metrics";
8234
8241
  var _ma = "marker";
8242
+ var _mb = "max-buckets";
8235
8243
  var _mdb = "max-directory-buckets";
8236
8244
  var _me = "member";
8237
8245
  var _mk = "max-keys";
@@ -10591,17 +10599,21 @@ __name(_S3, "S3");
10591
10599
  var S3 = _S3;
10592
10600
  (0, import_smithy_client.createAggregatedClient)(commands, S3);
10593
10601
 
10594
- // src/pagination/ListDirectoryBucketsPaginator.ts
10602
+ // src/pagination/ListBucketsPaginator.ts
10595
10603
  var import_core4 = require("@smithy/core");
10596
- var paginateListDirectoryBuckets = (0, import_core4.createPaginator)(S3Client, ListDirectoryBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxDirectoryBuckets");
10604
+ var paginateListBuckets = (0, import_core4.createPaginator)(S3Client, ListBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxBuckets");
10597
10605
 
10598
- // src/pagination/ListObjectsV2Paginator.ts
10606
+ // src/pagination/ListDirectoryBucketsPaginator.ts
10599
10607
  var import_core5 = require("@smithy/core");
10600
- var paginateListObjectsV2 = (0, import_core5.createPaginator)(S3Client, ListObjectsV2Command, "ContinuationToken", "NextContinuationToken", "MaxKeys");
10608
+ var paginateListDirectoryBuckets = (0, import_core5.createPaginator)(S3Client, ListDirectoryBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxDirectoryBuckets");
10601
10609
 
10602
- // src/pagination/ListPartsPaginator.ts
10610
+ // src/pagination/ListObjectsV2Paginator.ts
10603
10611
  var import_core6 = require("@smithy/core");
10604
- var paginateListParts = (0, import_core6.createPaginator)(S3Client, ListPartsCommand, "PartNumberMarker", "NextPartNumberMarker", "MaxParts");
10612
+ var paginateListObjectsV2 = (0, import_core6.createPaginator)(S3Client, ListObjectsV2Command, "ContinuationToken", "NextContinuationToken", "MaxKeys");
10613
+
10614
+ // src/pagination/ListPartsPaginator.ts
10615
+ var import_core7 = require("@smithy/core");
10616
+ var paginateListParts = (0, import_core7.createPaginator)(S3Client, ListPartsCommand, "PartNumberMarker", "NextPartNumberMarker", "MaxParts");
10605
10617
 
10606
10618
  // src/waiters/waitForBucketExists.ts
10607
10619
  var import_util_waiter = require("@smithy/util-waiter");
@@ -10807,6 +10819,7 @@ var waitUntilObjectNotExists = /* @__PURE__ */ __name(async (params, input) => {
10807
10819
  UploadPartCommand,
10808
10820
  UploadPartCopyCommand,
10809
10821
  WriteGetObjectResponseCommand,
10822
+ paginateListBuckets,
10810
10823
  paginateListDirectoryBuckets,
10811
10824
  paginateListObjectsV2,
10812
10825
  paginateListParts,
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListBucketsCommand } from "../commands/ListBucketsCommand";
3
+ import { S3Client } from "../S3Client";
4
+ export const paginateListBuckets = createPaginator(S3Client, ListBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxBuckets");
@@ -1,4 +1,5 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListBucketsPaginator";
2
3
  export * from "./ListDirectoryBucketsPaginator";
3
4
  export * from "./ListObjectsV2Paginator";
4
5
  export * from "./ListPartsPaginator";
@@ -1023,6 +1023,8 @@ export const se_ListBucketsCommand = async (input, context) => {
1023
1023
  b.bp("/");
1024
1024
  const query = map({
1025
1025
  [_xi]: [, "ListBuckets"],
1026
+ [_mb]: [() => input.MaxBuckets !== void 0, () => input[_MB].toString()],
1027
+ [_ct_]: [, input[_CTo]],
1026
1028
  });
1027
1029
  let body;
1028
1030
  b.m("GET").h(headers).q(query).b(body);
@@ -2988,6 +2990,9 @@ export const de_ListBucketsCommand = async (output, context) => {
2988
2990
  else if (data[_Bu] != null && data[_Bu][_B] != null) {
2989
2991
  contents[_Bu] = de_Buckets(__getArrayIfSingleItem(data[_Bu][_B]), context);
2990
2992
  }
2993
+ if (data[_CTo] != null) {
2994
+ contents[_CTo] = __expectString(data[_CTo]);
2995
+ }
2991
2996
  if (data[_O] != null) {
2992
2997
  contents[_O] = de_Owner(data[_O], context);
2993
2998
  }
@@ -7038,6 +7043,7 @@ const _LT = "LocationType";
7038
7043
  const _M = "Marker";
7039
7044
  const _MAO = "MetricsAndOperator";
7040
7045
  const _MAS = "MaxAgeSeconds";
7046
+ const _MB = "MaxBuckets";
7041
7047
  const _MC = "MetricsConfiguration";
7042
7048
  const _MCL = "MetricsConfigurationList";
7043
7049
  const _MD = "MetadataDirective";
@@ -7294,6 +7300,7 @@ const _log = "logging";
7294
7300
  const _lt = "list-type";
7295
7301
  const _m = "metrics";
7296
7302
  const _ma = "marker";
7303
+ const _mb = "max-buckets";
7297
7304
  const _mdb = "max-directory-buckets";
7298
7305
  const _me = "member";
7299
7306
  const _mk = "max-keys";
@@ -37,10 +37,24 @@ declare const AbortMultipartUploadCommand_base: {
37
37
  * storage, you should call the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html">ListParts</a> API operation and ensure that
38
38
  * the parts list is empty.</p>
39
39
  * <note>
40
- * <p>
41
- * <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
42
- * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
40
+ * <ul>
41
+ * <li>
42
+ * <p>
43
+ * <b>Directory buckets</b> -
44
+ * If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
45
+ * To delete these in-progress multipart uploads, use the
46
+ * <code>ListMultipartUploads</code> operation to list the in-progress multipart
47
+ * uploads in the bucket and use the <code>AbortMultupartUpload</code> operation to
48
+ * abort all the in-progress multipart uploads.
49
+ * </p>
50
+ * </li>
51
+ * <li>
52
+ * <p>
53
+ * <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
54
+ * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
43
55
  * <i>Amazon S3 User Guide</i>.</p>
56
+ * </li>
57
+ * </ul>
44
58
  * </note>
45
59
  * <dl>
46
60
  * <dt>Permissions</dt>
@@ -38,10 +38,20 @@ declare const CopyObjectCommand_base: {
38
38
  * <p>You can copy individual objects between general purpose buckets, between directory buckets, and
39
39
  * between general purpose buckets and directory buckets.</p>
40
40
  * <note>
41
- * <p>
42
- * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
43
- * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
41
+ * <ul>
42
+ * <li>
43
+ * <p>Amazon S3 supports copy operations using Multi-Region Access Points only as a destination when using the Multi-Region Access Point ARN. </p>
44
+ * </li>
45
+ * <li>
46
+ * <p>
47
+ * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
48
+ * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
44
49
  * <i>Amazon S3 User Guide</i>.</p>
50
+ * </li>
51
+ * <li>
52
+ * <p>VPC endpoints don't support cross-Region requests (including copies). If you're using VPC endpoints, your source and destination buckets should be in the same Amazon Web Services Region as your VPC endpoint.</p>
53
+ * </li>
54
+ * </ul>
45
55
  * </note>
46
56
  * <p>Both the
47
57
  * Region that you want to copy the object from and the Region that you want to copy the
@@ -29,22 +29,20 @@ declare const HeadBucketCommand_base: {
29
29
  /**
30
30
  * <p>You can use this operation to determine if a bucket exists and if you have permission to access it. The action returns a <code>200 OK</code> if the bucket exists and you have permission
31
31
  * to access it.</p>
32
- * <p>If the bucket does not exist or you do not have permission to access it, the
32
+ * <note>
33
+ * <p>If the bucket does not exist or you do not have permission to access it, the
33
34
  * <code>HEAD</code> request returns a generic <code>400 Bad Request</code>, <code>403
34
35
  * Forbidden</code> or <code>404 Not Found</code> code. A message body is not included, so
35
36
  * you cannot determine the exception beyond these HTTP response codes.</p>
36
- * <note>
37
- * <p>
38
- * <b>Directory buckets </b> - You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
39
- * <i>Amazon S3 User Guide</i>.</p>
40
37
  * </note>
41
38
  * <dl>
42
39
  * <dt>Authentication and authorization</dt>
43
40
  * <dd>
44
- * <p>All <code>HeadBucket</code> requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the <code>x-amz-</code> prefix, including
41
+ * <p>
42
+ * <b>General purpose buckets</b> - Request to public buckets that grant the s3:ListBucket permission publicly do not need to be signed. All other <code>HeadBucket</code> requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the <code>x-amz-</code> prefix, including
45
43
  * <code>x-amz-copy-source</code>, must be signed. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>.</p>
46
44
  * <p>
47
- * <b>Directory bucket</b> - You must use IAM credentials to authenticate and authorize your access to the <code>HeadBucket</code> API operation, instead of using the
45
+ * <b>Directory buckets</b> - You must use IAM credentials to authenticate and authorize your access to the <code>HeadBucket</code> API operation, instead of using the
48
46
  * temporary security credentials through the <code>CreateSession</code> API operation.</p>
49
47
  * <p>Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.</p>
50
48
  * </dd>
@@ -75,6 +73,10 @@ declare const HeadBucketCommand_base: {
75
73
  * <p>
76
74
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
77
75
  * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
76
+ * <note>
77
+ * <p>You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
78
+ * <i>Amazon S3 User Guide</i>.</p>
79
+ * </note>
78
80
  * </dd>
79
81
  * </dl>
80
82
  * @example
@@ -29,20 +29,16 @@ declare const HeadObjectCommand_base: {
29
29
  /**
30
30
  * <p>The <code>HEAD</code> operation retrieves metadata from an object without returning the
31
31
  * object itself. This operation is useful if you're interested only in an object's metadata.</p>
32
- * <p>A <code>HEAD</code> request has the same options as a <code>GET</code> operation on an
32
+ * <note>
33
+ * <p>A <code>HEAD</code> request has the same options as a <code>GET</code> operation on an
33
34
  * object. The response is identical to the <code>GET</code> response except that there is no
34
35
  * response body. Because of this, if the <code>HEAD</code> request generates an error, it
35
36
  * returns a generic code, such as <code>400 Bad Request</code>, <code>403 Forbidden</code>, <code>404 Not
36
37
  * Found</code>, <code>405 Method Not Allowed</code>, <code>412 Precondition Failed</code>, or <code>304 Not Modified</code>.
37
38
  * It's not possible to retrieve the exact exception of these error codes.</p>
39
+ * </note>
38
40
  * <p>Request headers are limited to 8 KB in size. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html">Common
39
41
  * Request Headers</a>.</p>
40
- * <note>
41
- * <p>
42
- * <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
43
- * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
44
- * <i>Amazon S3 User Guide</i>.</p>
45
- * </note>
46
42
  * <dl>
47
43
  * <dt>Permissions</dt>
48
44
  * <dd>
@@ -147,6 +143,11 @@ declare const HeadObjectCommand_base: {
147
143
  * <p>
148
144
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
149
145
  * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
146
+ * <note>
147
+ * <p>For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
148
+ * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
149
+ * <i>Amazon S3 User Guide</i>.</p>
150
+ * </note>
150
151
  * </dd>
151
152
  * </dl>
152
153
  * <p>The following actions are related to <code>HeadObject</code>:</p>
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListBucketsOutput } from "../models/models_0";
3
+ import { ListBucketsOutput, ListBucketsRequest } from "../models/models_0";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -12,7 +12,7 @@ export { $Command };
12
12
  *
13
13
  * The input for {@link ListBucketsCommand}.
14
14
  */
15
- export interface ListBucketsCommandInput {
15
+ export interface ListBucketsCommandInput extends ListBucketsRequest {
16
16
  }
17
17
  /**
18
18
  * @public
@@ -40,7 +40,10 @@ declare const ListBucketsCommand_base: {
40
40
  * import { S3Client, ListBucketsCommand } from "@aws-sdk/client-s3"; // ES Modules import
41
41
  * // const { S3Client, ListBucketsCommand } = require("@aws-sdk/client-s3"); // CommonJS import
42
42
  * const client = new S3Client(config);
43
- * const input = {};
43
+ * const input = { // ListBucketsRequest
44
+ * MaxBuckets: Number("int"),
45
+ * ContinuationToken: "STRING_VALUE",
46
+ * };
44
47
  * const command = new ListBucketsCommand(input);
45
48
  * const response = await client.send(command);
46
49
  * // { // ListBucketsOutput
@@ -54,6 +57,7 @@ declare const ListBucketsCommand_base: {
54
57
  * // DisplayName: "STRING_VALUE",
55
58
  * // ID: "STRING_VALUE",
56
59
  * // },
60
+ * // ContinuationToken: "STRING_VALUE",
57
61
  * // };
58
62
  *
59
63
  * ```
@@ -34,6 +34,8 @@ declare const ListMultipartUploadsCommand_base: {
34
34
  * <p>
35
35
  * <b>Directory buckets</b> -
36
36
  * If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
37
+ * To delete these in-progress multipart uploads, use the <code>ListMultipartUploads</code> operation to list the in-progress multipart
38
+ * uploads in the bucket and use the <code>AbortMultupartUpload</code> operation to abort all the in-progress multipart uploads.
37
39
  * </p>
38
40
  * </note>
39
41
  * <p>The <code>ListMultipartUploads</code> operation returns a maximum of 1,000 multipart uploads in the response. The limit of 1,000 multipart
@@ -35,10 +35,24 @@ declare const ListObjectsV2Command_base: {
35
35
  * For more information about listing objects, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ListingKeysUsingAPIs.html">Listing object keys
36
36
  * programmatically</a> in the <i>Amazon S3 User Guide</i>. To get a list of your buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html">ListBuckets</a>.</p>
37
37
  * <note>
38
- * <p>
39
- * <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
40
- * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
38
+ * <ul>
39
+ * <li>
40
+ * <p>
41
+ * <b>General purpose bucket</b> - For general purpose buckets, <code>ListObjectsV2</code> doesn't return prefixes that are related only to in-progress multipart uploads.</p>
42
+ * </li>
43
+ * <li>
44
+ * <p>
45
+ * <b>Directory buckets</b> -
46
+ * For directory buckets, <code>ListObjectsV2</code> response includes the prefixes that are related only to in-progress multipart uploads.
47
+ * </p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
52
+ * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
41
53
  * <i>Amazon S3 User Guide</i>.</p>
54
+ * </li>
55
+ * </ul>
42
56
  * </note>
43
57
  * <dl>
44
58
  * <dt>Permissions</dt>
@@ -39,7 +39,11 @@ declare const PutBucketEncryptionCommand_base: {
39
39
  * SSE-KMS, you can also configure <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket
40
40
  * Keys</a>. If you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket encryption</a> to SSE-KMS, you should verify that your KMS key ID is correct. Amazon S3 does not validate the KMS key ID provided in PutBucketEncryption requests.</p>
41
41
  * <important>
42
- * <p>This action requires Amazon Web Services Signature Version 4. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">
42
+ * <p>If you're specifying a customer managed KMS key, we recommend using a fully qualified
43
+ * KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the
44
+ * requester’s account. This behavior can result in data that's encrypted with a KMS key
45
+ * that belongs to the requester, and not the bucket owner.</p>
46
+ * <p>Also, this action requires Amazon Web Services Signature Version 4. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">
43
47
  * Authenticating Requests (Amazon Web Services Signature Version 4)</a>. </p>
44
48
  * </important>
45
49
  * <p>To use this operation, you must have permission to perform the
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketPolicyRequest } from "../models/models_0";
3
+ import { PutBucketPolicyRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -30,6 +30,15 @@ declare const PutBucketVersioningCommand_base: {
30
30
  * <note>
31
31
  * <p>This operation is not supported by directory buckets.</p>
32
32
  * </note>
33
+ * <note>
34
+ * <p>When you enable versioning on a bucket for the first time, it might take a short
35
+ * amount of time for the change to be fully propagated. We recommend that you wait for 15
36
+ * minutes after enabling versioning before issuing write operations
37
+ * (<code>PUT</code>
38
+ * or
39
+ * <code>DELETE</code>)
40
+ * on objects in the bucket. </p>
41
+ * </note>
33
42
  * <p>Sets the versioning state of an existing bucket.</p>
34
43
  * <p>You can set the versioning state with one of the following values:</p>
35
44
  * <p>