@aws-sdk/client-workdocs 3.100.0 → 3.105.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-workdocs
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class WorkDocsClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var WorkDocsClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -782,9 +782,7 @@ export interface CreateCustomMetadataRequest {
782
782
  /**
783
783
  * <p>Custom metadata in the form of name-value pairs.</p>
784
784
  */
785
- CustomMetadata: {
786
- [key: string]: string;
787
- } | undefined;
785
+ CustomMetadata: Record<string, string> | undefined;
788
786
  }
789
787
  export declare namespace CreateCustomMetadataRequest {
790
788
  /**
@@ -1553,15 +1551,11 @@ export interface DocumentVersionMetadata {
1553
1551
  /**
1554
1552
  * <p>The thumbnail of the document.</p>
1555
1553
  */
1556
- Thumbnail?: {
1557
- [key: string]: string;
1558
- };
1554
+ Thumbnail?: Record<string, string>;
1559
1555
  /**
1560
1556
  * <p>The source of the document.</p>
1561
1557
  */
1562
- Source?: {
1563
- [key: string]: string;
1564
- };
1558
+ Source?: Record<string, string>;
1565
1559
  }
1566
1560
  export declare namespace DocumentVersionMetadata {
1567
1561
  /**
@@ -2066,9 +2060,7 @@ export interface GetDocumentResponse {
2066
2060
  /**
2067
2061
  * <p>The custom metadata on the document.</p>
2068
2062
  */
2069
- CustomMetadata?: {
2070
- [key: string]: string;
2071
- };
2063
+ CustomMetadata?: Record<string, string>;
2072
2064
  }
2073
2065
  export declare namespace GetDocumentResponse {
2074
2066
  /**
@@ -2200,9 +2192,7 @@ export interface GetDocumentVersionResponse {
2200
2192
  /**
2201
2193
  * <p>The custom metadata on the document version.</p>
2202
2194
  */
2203
- CustomMetadata?: {
2204
- [key: string]: string;
2205
- };
2195
+ CustomMetadata?: Record<string, string>;
2206
2196
  }
2207
2197
  export declare namespace GetDocumentVersionResponse {
2208
2198
  /**
@@ -2238,9 +2228,7 @@ export interface GetFolderResponse {
2238
2228
  /**
2239
2229
  * <p>The custom metadata on the folder.</p>
2240
2230
  */
2241
- CustomMetadata?: {
2242
- [key: string]: string;
2243
- };
2231
+ CustomMetadata?: Record<string, string>;
2244
2232
  }
2245
2233
  export declare namespace GetFolderResponse {
2246
2234
  /**
@@ -2405,9 +2393,7 @@ export interface UploadMetadata {
2405
2393
  /**
2406
2394
  * <p>The signed headers.</p>
2407
2395
  */
2408
- SignedHeaders?: {
2409
- [key: string]: string;
2410
- };
2396
+ SignedHeaders?: Record<string, string>;
2411
2397
  }
2412
2398
  export declare namespace UploadMetadata {
2413
2399
  /**
@@ -479,9 +479,7 @@ export interface CreateCustomMetadataRequest {
479
479
 
480
480
  VersionId?: string;
481
481
 
482
- CustomMetadata: {
483
- [key: string]: string;
484
- } | undefined;
482
+ CustomMetadata: Record<string, string> | undefined;
485
483
  }
486
484
  export declare namespace CreateCustomMetadataRequest {
487
485
 
@@ -937,13 +935,9 @@ export interface DocumentVersionMetadata {
937
935
 
938
936
  CreatorId?: string;
939
937
 
940
- Thumbnail?: {
941
- [key: string]: string;
942
- };
938
+ Thumbnail?: Record<string, string>;
943
939
 
944
- Source?: {
945
- [key: string]: string;
946
- };
940
+ Source?: Record<string, string>;
947
941
  }
948
942
  export declare namespace DocumentVersionMetadata {
949
943
 
@@ -1242,9 +1236,7 @@ export interface GetDocumentResponse {
1242
1236
 
1243
1237
  Metadata?: DocumentMetadata;
1244
1238
 
1245
- CustomMetadata?: {
1246
- [key: string]: string;
1247
- };
1239
+ CustomMetadata?: Record<string, string>;
1248
1240
  }
1249
1241
  export declare namespace GetDocumentResponse {
1250
1242
 
@@ -1322,9 +1314,7 @@ export interface GetDocumentVersionResponse {
1322
1314
 
1323
1315
  Metadata?: DocumentVersionMetadata;
1324
1316
 
1325
- CustomMetadata?: {
1326
- [key: string]: string;
1327
- };
1317
+ CustomMetadata?: Record<string, string>;
1328
1318
  }
1329
1319
  export declare namespace GetDocumentVersionResponse {
1330
1320
 
@@ -1346,9 +1336,7 @@ export interface GetFolderResponse {
1346
1336
 
1347
1337
  Metadata?: FolderMetadata;
1348
1338
 
1349
- CustomMetadata?: {
1350
- [key: string]: string;
1351
- };
1339
+ CustomMetadata?: Record<string, string>;
1352
1340
  }
1353
1341
  export declare namespace GetFolderResponse {
1354
1342
 
@@ -1444,9 +1432,7 @@ export interface UploadMetadata {
1444
1432
 
1445
1433
  UploadUrl?: string;
1446
1434
 
1447
- SignedHeaders?: {
1448
- [key: string]: string;
1449
- };
1435
+ SignedHeaders?: Record<string, string>;
1450
1436
  }
1451
1437
  export declare namespace UploadMetadata {
1452
1438
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workdocs",
3
3
  "description": "AWS SDK for JavaScript Workdocs Client for Node.js, Browser and React Native",
4
- "version": "3.100.0",
4
+ "version": "3.105.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,15 +18,16 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.100.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",