@jjrawlins/cdk-ami-builder 0.0.173 → 0.0.175

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 (169) hide show
  1. package/.jsii +11 -11
  2. package/cdkamibuilder/jsii/jsii.go +2 -2
  3. package/cdkamibuilder/version +1 -1
  4. package/lib/ImagePipeline/ImagePipeline.js +1 -1
  5. package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
  6. package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
  7. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +2 -2
  8. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +2 -2
  9. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +1 -1
  10. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  11. package/node_modules/@aws-sdk/client-ec2/README.md +26 -46
  12. package/node_modules/@aws-sdk/client-ec2/package.json +36 -36
  13. package/node_modules/@aws-sdk/client-ecs/README.md +26 -46
  14. package/node_modules/@aws-sdk/client-ecs/package.json +34 -34
  15. package/node_modules/@aws-sdk/client-kms/README.md +26 -46
  16. package/node_modules/@aws-sdk/client-kms/package.json +33 -33
  17. package/node_modules/@aws-sdk/client-s3/README.md +26 -46
  18. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +5 -0
  19. package/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +6 -4
  20. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +4 -0
  21. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +6 -4
  22. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +5 -4
  23. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +9 -0
  24. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +0 -1
  25. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +0 -1
  26. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +5 -4
  27. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +5 -4
  28. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +12 -0
  29. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +24 -2
  30. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +6 -0
  31. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +2 -0
  32. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  33. package/node_modules/@aws-sdk/client-secrets-manager/README.md +26 -46
  34. package/node_modules/@aws-sdk/client-secrets-manager/package.json +34 -34
  35. package/node_modules/@aws-sdk/client-sfn/README.md +26 -46
  36. package/node_modules/@aws-sdk/client-sfn/package.json +33 -33
  37. package/node_modules/@aws-sdk/client-sns/README.md +26 -46
  38. package/node_modules/@aws-sdk/client-sns/package.json +33 -33
  39. package/node_modules/@aws-sdk/client-sqs/README.md +65 -46
  40. package/node_modules/@aws-sdk/client-sqs/package.json +36 -36
  41. package/node_modules/@aws-sdk/client-ssm/README.md +26 -46
  42. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  43. package/node_modules/@aws-sdk/core/package.json +11 -11
  44. package/node_modules/@aws-sdk/crc64-nvme/package.json +2 -2
  45. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  46. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  47. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  48. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  49. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  50. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  51. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  52. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  53. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  54. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  55. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +10 -10
  56. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  57. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  58. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  59. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  60. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +8 -8
  61. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  62. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +4 -4
  63. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  64. package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
  65. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  66. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  67. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  68. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  69. package/node_modules/@aws-sdk/types/package.json +2 -2
  70. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  71. package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
  72. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  73. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +75 -19
  74. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
  75. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
  76. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +53 -7
  77. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/{getTypeScriptPackageJsonPaths.d.ts → getNodeModulesParentDirs.d.ts} +2 -2
  78. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
  79. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
  80. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
  81. package/node_modules/@aws-sdk/util-user-agent-node/package.json +6 -5
  82. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  83. package/node_modules/@smithy/abort-controller/package.json +2 -2
  84. package/node_modules/@smithy/config-resolver/package.json +5 -5
  85. package/node_modules/@smithy/core/dist-cjs/index.js +1 -2
  86. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +7 -1
  87. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  88. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +11 -1
  89. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +41 -4
  90. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
  91. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
  92. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
  93. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
  94. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -0
  95. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  96. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
  97. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +30 -1
  98. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
  99. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
  100. package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
  101. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  102. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
  103. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
  104. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
  105. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  106. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
  107. package/node_modules/@smithy/core/endpoints.d.ts +7 -0
  108. package/node_modules/@smithy/core/endpoints.js +6 -0
  109. package/node_modules/@smithy/core/package.json +16 -7
  110. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  111. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  112. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  113. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  114. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  115. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  116. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +4 -1
  117. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -1
  118. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  119. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  120. package/node_modules/@smithy/hash-node/package.json +2 -2
  121. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  122. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  123. package/node_modules/@smithy/md5-js/package.json +2 -2
  124. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  125. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
  126. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
  127. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
  128. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
  129. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
  130. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  131. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
  132. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
  133. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  134. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
  135. package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
  136. package/node_modules/@smithy/middleware-serde/package.json +4 -3
  137. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  138. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  139. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +4 -1
  140. package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +4 -1
  141. package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +4 -3
  142. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +4 -3
  143. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  144. package/node_modules/@smithy/property-provider/package.json +2 -2
  145. package/node_modules/@smithy/protocol-http/package.json +2 -2
  146. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  147. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  148. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  149. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  150. package/node_modules/@smithy/signature-v4/package.json +4 -4
  151. package/node_modules/@smithy/smithy-client/package.json +7 -7
  152. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  153. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  154. package/node_modules/@smithy/types/package.json +1 -1
  155. package/node_modules/@smithy/url-parser/package.json +3 -3
  156. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  157. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  158. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  159. package/node_modules/@smithy/util-middleware/package.json +2 -2
  160. package/node_modules/@smithy/util-retry/package.json +3 -3
  161. package/node_modules/@smithy/util-stream/package.json +4 -4
  162. package/node_modules/@smithy/util-waiter/package.json +3 -3
  163. package/node_modules/fast-xml-builder/CHANGELOG.md +2 -1
  164. package/node_modules/fast-xml-builder/lib/fxb.d.cts +3 -1
  165. package/node_modules/fast-xml-builder/package.json +1 -1
  166. package/node_modules/fast-xml-builder/src/fxb.d.ts +4 -1
  167. package/package.json +12 -12
  168. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPaths.js +0 -17
  169. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPaths.d.ts +0 -3
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecs",
3
3
  "description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
4
- "version": "3.1007.0",
4
+ "version": "3.1009.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-ecs",
@@ -23,43 +23,43 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.19",
27
- "@aws-sdk/credential-provider-node": "^3.972.19",
28
- "@aws-sdk/middleware-host-header": "^3.972.7",
29
- "@aws-sdk/middleware-logger": "^3.972.7",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.7",
31
- "@aws-sdk/middleware-user-agent": "^3.972.20",
32
- "@aws-sdk/region-config-resolver": "^3.972.7",
33
- "@aws-sdk/types": "^3.973.5",
34
- "@aws-sdk/util-endpoints": "^3.996.4",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.7",
36
- "@aws-sdk/util-user-agent-node": "^3.973.5",
37
- "@smithy/config-resolver": "^4.4.10",
38
- "@smithy/core": "^3.23.9",
39
- "@smithy/fetch-http-handler": "^5.3.13",
40
- "@smithy/hash-node": "^4.2.11",
41
- "@smithy/invalid-dependency": "^4.2.11",
42
- "@smithy/middleware-content-length": "^4.2.11",
43
- "@smithy/middleware-endpoint": "^4.4.23",
44
- "@smithy/middleware-retry": "^4.4.40",
45
- "@smithy/middleware-serde": "^4.2.12",
46
- "@smithy/middleware-stack": "^4.2.11",
47
- "@smithy/node-config-provider": "^4.3.11",
48
- "@smithy/node-http-handler": "^4.4.14",
49
- "@smithy/protocol-http": "^5.3.11",
50
- "@smithy/smithy-client": "^4.12.3",
51
- "@smithy/types": "^4.13.0",
52
- "@smithy/url-parser": "^4.2.11",
26
+ "@aws-sdk/core": "^3.973.20",
27
+ "@aws-sdk/credential-provider-node": "^3.972.21",
28
+ "@aws-sdk/middleware-host-header": "^3.972.8",
29
+ "@aws-sdk/middleware-logger": "^3.972.8",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.8",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.21",
32
+ "@aws-sdk/region-config-resolver": "^3.972.8",
33
+ "@aws-sdk/types": "^3.973.6",
34
+ "@aws-sdk/util-endpoints": "^3.996.5",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.8",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.7",
37
+ "@smithy/config-resolver": "^4.4.11",
38
+ "@smithy/core": "^3.23.11",
39
+ "@smithy/fetch-http-handler": "^5.3.15",
40
+ "@smithy/hash-node": "^4.2.12",
41
+ "@smithy/invalid-dependency": "^4.2.12",
42
+ "@smithy/middleware-content-length": "^4.2.12",
43
+ "@smithy/middleware-endpoint": "^4.4.25",
44
+ "@smithy/middleware-retry": "^4.4.42",
45
+ "@smithy/middleware-serde": "^4.2.14",
46
+ "@smithy/middleware-stack": "^4.2.12",
47
+ "@smithy/node-config-provider": "^4.3.12",
48
+ "@smithy/node-http-handler": "^4.4.16",
49
+ "@smithy/protocol-http": "^5.3.12",
50
+ "@smithy/smithy-client": "^4.12.5",
51
+ "@smithy/types": "^4.13.1",
52
+ "@smithy/url-parser": "^4.2.12",
53
53
  "@smithy/util-base64": "^4.3.2",
54
54
  "@smithy/util-body-length-browser": "^4.2.2",
55
55
  "@smithy/util-body-length-node": "^4.2.3",
56
- "@smithy/util-defaults-mode-browser": "^4.3.39",
57
- "@smithy/util-defaults-mode-node": "^4.2.42",
58
- "@smithy/util-endpoints": "^3.3.2",
59
- "@smithy/util-middleware": "^4.2.11",
60
- "@smithy/util-retry": "^4.2.11",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.41",
57
+ "@smithy/util-defaults-mode-node": "^4.2.44",
58
+ "@smithy/util-endpoints": "^3.3.3",
59
+ "@smithy/util-middleware": "^4.2.12",
60
+ "@smithy/util-retry": "^4.2.12",
61
61
  "@smithy/util-utf8": "^4.2.2",
62
- "@smithy/util-waiter": "^4.2.12",
62
+ "@smithy/util-waiter": "^4.2.13",
63
63
  "tslib": "^2.6.2"
64
64
  },
65
65
  "devDependencies": {
@@ -106,8 +106,9 @@ keys and assigning policies, by using the console.</p>
106
106
  </ul>
107
107
 
108
108
  ## Installing
109
- To install this package, simply type add or install @aws-sdk/client-kms
110
- using your favorite package manager:
109
+
110
+ To install this package, use the CLI of your favorite package manager:
111
+
111
112
  - `npm install @aws-sdk/client-kms`
112
113
  - `yarn add @aws-sdk/client-kms`
113
114
  - `pnpm add @aws-sdk/client-kms`
@@ -132,15 +133,15 @@ import { KMSClient, ListAliasesCommand } from "@aws-sdk/client-kms";
132
133
 
133
134
  ### Usage
134
135
 
135
- To send a request, you:
136
+ To send a request:
136
137
 
137
- - Initiate client with configuration (e.g. credentials, region).
138
- - Initiate command with input parameters.
139
- - Call `send` operation on client with command object as input.
140
- - If you are using a custom http handler, you may call `destroy()` to close open connections.
138
+ - Instantiate a client with configuration (e.g. credentials, region).
139
+ - See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
140
+ - See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
141
+ - Instantiate a command with input parameters.
142
+ - Call the `send` operation on the client, providing the command object as input.
141
143
 
142
144
  ```js
143
- // a client can be shared by different commands.
144
145
  const client = new KMSClient({ region: "REGION" });
145
146
 
146
147
  const params = { /** input parameters */ };
@@ -149,7 +150,7 @@ const command = new ListAliasesCommand(params);
149
150
 
150
151
  #### Async/await
151
152
 
152
- We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
153
+ We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
153
154
  operator to wait for the promise returned by send operation as follows:
154
155
 
155
156
  ```js
@@ -164,26 +165,9 @@ try {
164
165
  }
165
166
  ```
166
167
 
167
- Async-await is clean, concise, intuitive, easy to debug and has better error handling
168
- as compared to using Promise chains or callbacks.
169
-
170
168
  #### Promises
171
169
 
172
- You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
173
- to execute send operation.
174
-
175
- ```js
176
- client.send(command).then(
177
- (data) => {
178
- // process data.
179
- },
180
- (error) => {
181
- // error handling.
182
- }
183
- );
184
- ```
185
-
186
- Promises can also be called using `.catch()` and `.finally()` as follows:
170
+ You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
187
171
 
188
172
  ```js
189
173
  client
@@ -199,27 +183,21 @@ client
199
183
  });
200
184
  ```
201
185
 
202
- #### Callbacks
203
-
204
- We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
205
- but they are supported by the send operation.
186
+ #### Aggregated client
206
187
 
207
- ```js
208
- // callbacks.
209
- client.send(command, (err, data) => {
210
- // process err and data.
211
- });
212
- ```
188
+ The aggregated client class is exported from the same package, but without the "Client" suffix.
213
189
 
214
- #### v2 compatible style
190
+ `KMS` extends `KMSClient` and additionally supports all operations, waiters, and paginators as methods.
191
+ This style may be familiar to you from the AWS SDK for JavaScript v2.
215
192
 
216
- The client can also send requests using v2 compatible style.
217
- However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
218
- on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
193
+ If you are bundling the AWS SDK, we recommend using only the bare-bones client (`KMSClient`).
194
+ More details are in the blog post on
195
+ [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
219
196
 
220
197
  ```ts
221
- import * as AWS from "@aws-sdk/client-kms";
222
- const client = new AWS.KMS({ region: "REGION" });
198
+ import { KMS } from "@aws-sdk/client-kms";
199
+
200
+ const client = new KMS({ region: "REGION" });
223
201
 
224
202
  // async/await.
225
203
  try {
@@ -239,7 +217,7 @@ client
239
217
  // error handling.
240
218
  });
241
219
 
242
- // callbacks.
220
+ // callbacks (not recommended).
243
221
  client.listAliases(params, (err, data) => {
244
222
  // process err and data.
245
223
  });
@@ -267,12 +245,14 @@ try {
267
245
  }
268
246
  ```
269
247
 
248
+ See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
249
+
270
250
  ## Getting Help
271
251
 
272
252
  Please use these community resources for getting help.
273
- We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
253
+ We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
274
254
 
275
- - Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
255
+ - Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
276
256
  or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
277
257
  - Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
278
258
  on AWS Developer Blog.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kms",
3
3
  "description": "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native",
4
- "version": "3.1007.0",
4
+ "version": "3.1009.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-kms",
@@ -23,41 +23,41 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.19",
27
- "@aws-sdk/credential-provider-node": "^3.972.19",
28
- "@aws-sdk/middleware-host-header": "^3.972.7",
29
- "@aws-sdk/middleware-logger": "^3.972.7",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.7",
31
- "@aws-sdk/middleware-user-agent": "^3.972.20",
32
- "@aws-sdk/region-config-resolver": "^3.972.7",
33
- "@aws-sdk/types": "^3.973.5",
34
- "@aws-sdk/util-endpoints": "^3.996.4",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.7",
36
- "@aws-sdk/util-user-agent-node": "^3.973.5",
37
- "@smithy/config-resolver": "^4.4.10",
38
- "@smithy/core": "^3.23.9",
39
- "@smithy/fetch-http-handler": "^5.3.13",
40
- "@smithy/hash-node": "^4.2.11",
41
- "@smithy/invalid-dependency": "^4.2.11",
42
- "@smithy/middleware-content-length": "^4.2.11",
43
- "@smithy/middleware-endpoint": "^4.4.23",
44
- "@smithy/middleware-retry": "^4.4.40",
45
- "@smithy/middleware-serde": "^4.2.12",
46
- "@smithy/middleware-stack": "^4.2.11",
47
- "@smithy/node-config-provider": "^4.3.11",
48
- "@smithy/node-http-handler": "^4.4.14",
49
- "@smithy/protocol-http": "^5.3.11",
50
- "@smithy/smithy-client": "^4.12.3",
51
- "@smithy/types": "^4.13.0",
52
- "@smithy/url-parser": "^4.2.11",
26
+ "@aws-sdk/core": "^3.973.20",
27
+ "@aws-sdk/credential-provider-node": "^3.972.21",
28
+ "@aws-sdk/middleware-host-header": "^3.972.8",
29
+ "@aws-sdk/middleware-logger": "^3.972.8",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.8",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.21",
32
+ "@aws-sdk/region-config-resolver": "^3.972.8",
33
+ "@aws-sdk/types": "^3.973.6",
34
+ "@aws-sdk/util-endpoints": "^3.996.5",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.8",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.7",
37
+ "@smithy/config-resolver": "^4.4.11",
38
+ "@smithy/core": "^3.23.11",
39
+ "@smithy/fetch-http-handler": "^5.3.15",
40
+ "@smithy/hash-node": "^4.2.12",
41
+ "@smithy/invalid-dependency": "^4.2.12",
42
+ "@smithy/middleware-content-length": "^4.2.12",
43
+ "@smithy/middleware-endpoint": "^4.4.25",
44
+ "@smithy/middleware-retry": "^4.4.42",
45
+ "@smithy/middleware-serde": "^4.2.14",
46
+ "@smithy/middleware-stack": "^4.2.12",
47
+ "@smithy/node-config-provider": "^4.3.12",
48
+ "@smithy/node-http-handler": "^4.4.16",
49
+ "@smithy/protocol-http": "^5.3.12",
50
+ "@smithy/smithy-client": "^4.12.5",
51
+ "@smithy/types": "^4.13.1",
52
+ "@smithy/url-parser": "^4.2.12",
53
53
  "@smithy/util-base64": "^4.3.2",
54
54
  "@smithy/util-body-length-browser": "^4.2.2",
55
55
  "@smithy/util-body-length-node": "^4.2.3",
56
- "@smithy/util-defaults-mode-browser": "^4.3.39",
57
- "@smithy/util-defaults-mode-node": "^4.2.42",
58
- "@smithy/util-endpoints": "^3.3.2",
59
- "@smithy/util-middleware": "^4.2.11",
60
- "@smithy/util-retry": "^4.2.11",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.41",
57
+ "@smithy/util-defaults-mode-node": "^4.2.44",
58
+ "@smithy/util-endpoints": "^3.3.3",
59
+ "@smithy/util-middleware": "^4.2.12",
60
+ "@smithy/util-retry": "^4.2.12",
61
61
  "@smithy/util-utf8": "^4.2.2",
62
62
  "tslib": "^2.6.2"
63
63
  },
@@ -9,8 +9,9 @@ AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native.
9
9
  <p></p>
10
10
 
11
11
  ## Installing
12
- To install this package, simply type add or install @aws-sdk/client-s3
13
- using your favorite package manager:
12
+
13
+ To install this package, use the CLI of your favorite package manager:
14
+
14
15
  - `npm install @aws-sdk/client-s3`
15
16
  - `yarn add @aws-sdk/client-s3`
16
17
  - `pnpm add @aws-sdk/client-s3`
@@ -35,15 +36,15 @@ import { S3Client, ListBucketsCommand } from "@aws-sdk/client-s3";
35
36
 
36
37
  ### Usage
37
38
 
38
- To send a request, you:
39
+ To send a request:
39
40
 
40
- - Initiate client with configuration (e.g. credentials, region).
41
- - Initiate command with input parameters.
42
- - Call `send` operation on client with command object as input.
43
- - If you are using a custom http handler, you may call `destroy()` to close open connections.
41
+ - Instantiate a client with configuration (e.g. credentials, region).
42
+ - See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details.
43
+ - See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options.
44
+ - Instantiate a command with input parameters.
45
+ - Call the `send` operation on the client, providing the command object as input.
44
46
 
45
47
  ```js
46
- // a client can be shared by different commands.
47
48
  const client = new S3Client({ region: "REGION" });
48
49
 
49
50
  const params = { /** input parameters */ };
@@ -52,7 +53,7 @@ const command = new ListBucketsCommand(params);
52
53
 
53
54
  #### Async/await
54
55
 
55
- We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
56
+ We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
56
57
  operator to wait for the promise returned by send operation as follows:
57
58
 
58
59
  ```js
@@ -67,26 +68,9 @@ try {
67
68
  }
68
69
  ```
69
70
 
70
- Async-await is clean, concise, intuitive, easy to debug and has better error handling
71
- as compared to using Promise chains or callbacks.
72
-
73
71
  #### Promises
74
72
 
75
- You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
76
- to execute send operation.
77
-
78
- ```js
79
- client.send(command).then(
80
- (data) => {
81
- // process data.
82
- },
83
- (error) => {
84
- // error handling.
85
- }
86
- );
87
- ```
88
-
89
- Promises can also be called using `.catch()` and `.finally()` as follows:
73
+ You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining).
90
74
 
91
75
  ```js
92
76
  client
@@ -102,27 +86,21 @@ client
102
86
  });
103
87
  ```
104
88
 
105
- #### Callbacks
106
-
107
- We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
108
- but they are supported by the send operation.
89
+ #### Aggregated client
109
90
 
110
- ```js
111
- // callbacks.
112
- client.send(command, (err, data) => {
113
- // process err and data.
114
- });
115
- ```
91
+ The aggregated client class is exported from the same package, but without the "Client" suffix.
116
92
 
117
- #### v2 compatible style
93
+ `S3` extends `S3Client` and additionally supports all operations, waiters, and paginators as methods.
94
+ This style may be familiar to you from the AWS SDK for JavaScript v2.
118
95
 
119
- The client can also send requests using v2 compatible style.
120
- However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
121
- on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
96
+ If you are bundling the AWS SDK, we recommend using only the bare-bones client (`S3Client`).
97
+ More details are in the blog post on
98
+ [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/).
122
99
 
123
100
  ```ts
124
- import * as AWS from "@aws-sdk/client-s3";
125
- const client = new AWS.S3({ region: "REGION" });
101
+ import { S3 } from "@aws-sdk/client-s3";
102
+
103
+ const client = new S3({ region: "REGION" });
126
104
 
127
105
  // async/await.
128
106
  try {
@@ -142,7 +120,7 @@ client
142
120
  // error handling.
143
121
  });
144
122
 
145
- // callbacks.
123
+ // callbacks (not recommended).
146
124
  client.listBuckets(params, (err, data) => {
147
125
  // process err and data.
148
126
  });
@@ -170,12 +148,14 @@ try {
170
148
  }
171
149
  ```
172
150
 
151
+ See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md).
152
+
173
153
  ## Getting Help
174
154
 
175
155
  Please use these community resources for getting help.
176
- We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
156
+ We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
177
157
 
178
- - Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
158
+ - Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
179
159
  or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
180
160
  - Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
181
161
  on AWS Developer Blog.
@@ -2526,6 +2526,10 @@ const BucketCannedACL = {
2526
2526
  public_read: "public-read",
2527
2527
  public_read_write: "public-read-write",
2528
2528
  };
2529
+ const BucketNamespace = {
2530
+ ACCOUNT_REGIONAL: "account-regional",
2531
+ GLOBAL: "global",
2532
+ };
2529
2533
  const DataRedundancy = {
2530
2534
  SingleAvailabilityZone: "SingleAvailabilityZone",
2531
2535
  SingleLocalZone: "SingleLocalZone",
@@ -2845,6 +2849,7 @@ exports.BucketAccelerateStatus = BucketAccelerateStatus;
2845
2849
  exports.BucketCannedACL = BucketCannedACL;
2846
2850
  exports.BucketLocationConstraint = BucketLocationConstraint;
2847
2851
  exports.BucketLogsPermission = BucketLogsPermission;
2852
+ exports.BucketNamespace = BucketNamespace;
2848
2853
  exports.BucketType = BucketType;
2849
2854
  exports.BucketVersioningStatus = BucketVersioningStatus;
2850
2855
  exports.ChecksumAlgorithm = ChecksumAlgorithm;
@@ -59,7 +59,8 @@ const _BLC = "BucketLifecycleConfiguration";
59
59
  const _BLN = "BucketLocationName";
60
60
  const _BLS = "BucketLoggingStatus";
61
61
  const _BLT = "BucketLocationType";
62
- const _BN = "BucketName";
62
+ const _BN = "BucketNamespace";
63
+ const _BNu = "BucketName";
63
64
  const _BP = "BytesProcessed";
64
65
  const _BPA = "BlockPublicAcls";
65
66
  const _BPP = "BlockPublicPolicy";
@@ -906,6 +907,7 @@ const _xaba = "x-amz-bucket-arn";
906
907
  const _xabgr = "x-amz-bypass-governance-retention";
907
908
  const _xabln = "x-amz-bucket-location-name";
908
909
  const _xablt = "x-amz-bucket-location-type";
910
+ const _xabn = "x-amz-bucket-namespace";
909
911
  const _xabole = "x-amz-bucket-object-lock-enabled";
910
912
  const _xabolt = "x-amz-bucket-object-lock-token";
911
913
  const _xabr = "x-amz-bucket-region";
@@ -1304,8 +1306,8 @@ exports.CreateBucketOutput$ = [3, n0, _CBO,
1304
1306
  ];
1305
1307
  exports.CreateBucketRequest$ = [3, n0, _CBR,
1306
1308
  0,
1307
- [_B, _ACL_, _CBC, _GFC, _GR, _GRACP, _GW, _GWACP, _OLEFB, _OO],
1308
- [[0, 1], [0, { [_hH]: _xaa }], [() => exports.CreateBucketConfiguration$, { [_hP]: 1, [_xN]: _CBC }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagw }], [0, { [_hH]: _xagwa }], [2, { [_hH]: _xabole }], [0, { [_hH]: _xaoo }]], 1
1309
+ [_B, _ACL_, _CBC, _GFC, _GR, _GRACP, _GW, _GWACP, _OLEFB, _OO, _BN],
1310
+ [[0, 1], [0, { [_hH]: _xaa }], [() => exports.CreateBucketConfiguration$, { [_hP]: 1, [_xN]: _CBC }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagw }], [0, { [_hH]: _xagwa }], [2, { [_hH]: _xabole }], [0, { [_hH]: _xaoo }], [0, { [_hH]: _xabn }]], 1
1309
1311
  ];
1310
1312
  exports.CreateMultipartUploadOutput$ = [3, n0, _CMUOr,
1311
1313
  { [_xN]: _IMUR },
@@ -2584,7 +2586,7 @@ exports.S3KeyFilter$ = [3, n0, _SKF,
2584
2586
  ];
2585
2587
  exports.S3Location$ = [3, n0, _SL,
2586
2588
  0,
2587
- [_BN, _P, _En, _CACL, _ACL, _Tag, _UM, _SC],
2589
+ [_BNu, _P, _En, _CACL, _ACL, _Tag, _UM, _SC],
2588
2590
  [0, 0, [() => exports.Encryption$, 0], 0, [() => Grants, 0], [() => exports.Tagging$, 0], [() => UserMetadata, 0], 0], 2
2589
2591
  ];
2590
2592
  exports.S3TablesDestination$ = [3, n0, _STD,
@@ -90,6 +90,10 @@ export const BucketCannedACL = {
90
90
  public_read: "public-read",
91
91
  public_read_write: "public-read-write",
92
92
  };
93
+ export const BucketNamespace = {
94
+ ACCOUNT_REGIONAL: "account-regional",
95
+ GLOBAL: "global",
96
+ };
93
97
  export const DataRedundancy = {
94
98
  SingleAvailabilityZone: "SingleAvailabilityZone",
95
99
  SingleLocalZone: "SingleLocalZone",
@@ -47,7 +47,8 @@ const _BLC = "BucketLifecycleConfiguration";
47
47
  const _BLN = "BucketLocationName";
48
48
  const _BLS = "BucketLoggingStatus";
49
49
  const _BLT = "BucketLocationType";
50
- const _BN = "BucketName";
50
+ const _BN = "BucketNamespace";
51
+ const _BNu = "BucketName";
51
52
  const _BP = "BytesProcessed";
52
53
  const _BPA = "BlockPublicAcls";
53
54
  const _BPP = "BlockPublicPolicy";
@@ -894,6 +895,7 @@ const _xaba = "x-amz-bucket-arn";
894
895
  const _xabgr = "x-amz-bypass-governance-retention";
895
896
  const _xabln = "x-amz-bucket-location-name";
896
897
  const _xablt = "x-amz-bucket-location-type";
898
+ const _xabn = "x-amz-bucket-namespace";
897
899
  const _xabole = "x-amz-bucket-object-lock-enabled";
898
900
  const _xabolt = "x-amz-bucket-object-lock-token";
899
901
  const _xabr = "x-amz-bucket-region";
@@ -1292,8 +1294,8 @@ export var CreateBucketOutput$ = [3, n0, _CBO,
1292
1294
  ];
1293
1295
  export var CreateBucketRequest$ = [3, n0, _CBR,
1294
1296
  0,
1295
- [_B, _ACL_, _CBC, _GFC, _GR, _GRACP, _GW, _GWACP, _OLEFB, _OO],
1296
- [[0, 1], [0, { [_hH]: _xaa }], [() => CreateBucketConfiguration$, { [_hP]: 1, [_xN]: _CBC }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagw }], [0, { [_hH]: _xagwa }], [2, { [_hH]: _xabole }], [0, { [_hH]: _xaoo }]], 1
1297
+ [_B, _ACL_, _CBC, _GFC, _GR, _GRACP, _GW, _GWACP, _OLEFB, _OO, _BN],
1298
+ [[0, 1], [0, { [_hH]: _xaa }], [() => CreateBucketConfiguration$, { [_hP]: 1, [_xN]: _CBC }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagw }], [0, { [_hH]: _xagwa }], [2, { [_hH]: _xabole }], [0, { [_hH]: _xaoo }], [0, { [_hH]: _xabn }]], 1
1297
1299
  ];
1298
1300
  export var CreateMultipartUploadOutput$ = [3, n0, _CMUOr,
1299
1301
  { [_xN]: _IMUR },
@@ -2572,7 +2574,7 @@ export var S3KeyFilter$ = [3, n0, _SKF,
2572
2574
  ];
2573
2575
  export var S3Location$ = [3, n0, _SL,
2574
2576
  0,
2575
- [_BN, _P, _En, _CACL, _ACL, _Tag, _UM, _SC],
2577
+ [_BNu, _P, _En, _CACL, _ACL, _Tag, _UM, _SC],
2576
2578
  [0, 0, [() => Encryption$, 0], 0, [() => Grants, 0], [() => Tagging$, 0], [() => UserMetadata, 0], 0], 2
2577
2579
  ];
2578
2580
  export var S3TablesDestination$ = [3, n0, _STD,
@@ -122,10 +122,11 @@ declare const CopyObjectCommand_base: {
122
122
  * the <b>
123
123
  * <code>s3express:CreateSession</code>
124
124
  * </b> permission in
125
- * the <code>Action</code> element of a policy to read the object. By default, the session is
126
- * in the <code>ReadWrite</code> mode. If you want to restrict the access, you can explicitly
127
- * set the <code>s3express:SessionMode</code> condition key to <code>ReadOnly</code> on the
128
- * copy source bucket.</p>
125
+ * the <code>Action</code> element of a policy to read the object. If no session mode is specified,
126
+ * the session will be created with the maximum allowable privilege, attempting <code>ReadWrite</code>
127
+ * first, then <code>ReadOnly</code> if <code>ReadWrite</code> is not permitted. If you want to explicitly
128
+ * restrict the access to be read-only, you can set the <code>s3express:SessionMode</code> condition key to
129
+ * <code>ReadOnly</code> on the copy source bucket.</p>
129
130
  * </li>
130
131
  * <li>
131
132
  * <p>If the copy destination is a directory bucket, you must have the <b>
@@ -38,6 +38,14 @@ declare const CreateBucketCommand_base: {
38
38
  * <p>There are two types of buckets: general purpose buckets and directory buckets. For more information about
39
39
  * these bucket types, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html">Creating, configuring, and working with Amazon S3
40
40
  * buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
41
+ * <p>General purpose buckets exist in a global namespace, which means that each bucket name must be unique
42
+ * across all Amazon Web Services accounts in all the Amazon Web Services Regions within a partition. A partition is a grouping of
43
+ * Regions. Amazon Web Services currently has four partitions: <code>aws</code> (Standard Regions), <code>aws-cn</code>
44
+ * (China Regions), <code>aws-us-gov</code> (Amazon Web Services GovCloud (US)), and <code>aws-eusc</code>
45
+ * (European Sovereign Cloud). When you create a general purpose bucket, you can choose to create a bucket in
46
+ * the shared global namespace or you can choose to create a bucket in your account regional namespace.
47
+ * Your account regional namespace is a subdivision of the global namespace that only your account can
48
+ * create buckets in. For more information on account regional namespaces, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/gpbucketnamespaces.html">Namespaces for general purpose buckets</a>.</p>
41
49
  * <note>
42
50
  * <ul>
43
51
  * <li>
@@ -202,6 +210,7 @@ declare const CreateBucketCommand_base: {
202
210
  * GrantWriteACP: "STRING_VALUE",
203
211
  * ObjectLockEnabledForBucket: true || false,
204
212
  * ObjectOwnership: "BucketOwnerPreferred" || "ObjectWriter" || "BucketOwnerEnforced",
213
+ * BucketNamespace: "account-regional" || "global",
205
214
  * };
206
215
  * const command = new CreateBucketCommand(input);
207
216
  * const response = await client.send(command);
@@ -31,7 +31,6 @@ declare const DeleteBucketTaggingCommand_base: {
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
33
  * <p>Deletes tags from the general purpose bucket if attribute based access control (ABAC) is not enabled for the bucket. When you <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">enable ABAC for a general purpose bucket</a>, you can no longer use this operation for that bucket and must use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html">UntagResource</a> instead.</p>
34
- * <p>if ABAC is not enabled for the bucket. When you <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">enable ABAC for a general purpose bucket</a>, you can no longer use this operation for that bucket and must use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UntagResource.html">UntagResource</a> instead.</p>
35
34
  * <p>To use this operation, you must have permission to perform the <code>s3:PutBucketTagging</code>
36
35
  * action. By default, the bucket owner has this permission and can grant this permission to others. </p>
37
36
  * <p>The following operations are related to <code>DeleteBucketTagging</code>:</p>
@@ -31,7 +31,6 @@ declare const GetBucketTaggingCommand_base: {
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
33
  * <p>Returns the tag set associated with the general purpose bucket.</p>
34
- * <p>if ABAC is not enabled for the bucket. When you <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">enable ABAC for a general purpose bucket</a>, you can no longer use this operation for that bucket and must use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListTagsForResource.html">ListTagsForResource</a> instead.</p>
35
34
  * <p>To use this operation, you must have permission to perform the <code>s3:GetBucketTagging</code>
36
35
  * action. By default, the bucket owner has this permission and can grant this permission to others.</p>
37
36
  * <p>
@@ -74,10 +74,11 @@ declare const HeadBucketCommand_base: {
74
74
  * <b>
75
75
  * <code>s3express:CreateSession</code>
76
76
  * </b> permission in the
77
- * <code>Action</code> element of a policy. By default, the session is in the
78
- * <code>ReadWrite</code> mode. If you want to restrict the access, you can explicitly set the
79
- * <code>s3express:SessionMode</code> condition key to <code>ReadOnly</code> on the
80
- * bucket.</p>
77
+ * <code>Action</code> element of a policy. If no session mode is specified, the session will be
78
+ * created with the maximum allowable privilege, attempting <code>ReadWrite</code> first,
79
+ * then <code>ReadOnly</code> if <code>ReadWrite</code> is not permitted. If you want to explicitly
80
+ * restrict the access to be read-only, you can set the <code>s3express:SessionMode</code> condition key to
81
+ * <code>ReadOnly</code> on the bucket.</p>
81
82
  * <p>For more information about example bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example
82
83
  * bucket policies for S3 Express One Zone</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html">Amazon Web Services
83
84
  * Identity and Access Management (IAM) identity-based policies for S3 Express One Zone</a> in the