@aws-sdk/client-datasync 3.987.0 → 3.989.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/dist-cjs/index.js +72 -1644
- package/dist-cjs/models/DataSyncServiceException.js +12 -0
- package/dist-cjs/models/errors.js +36 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1369 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +22 -16
- package/dist-types/schemas/schemas_0.d.ts +10 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -3
- package/package.json +13 -13
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultDataSyncHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-11-09",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.datasync",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-11-09",
|
|
30
32
|
serviceTarget: "FmrsService",
|
|
31
33
|
},
|
|
@@ -388,12 +388,32 @@ const _dEC = "datasyncErrorCode";
|
|
|
388
388
|
const _e = "error";
|
|
389
389
|
const _eC = "errorCode";
|
|
390
390
|
const _m = "message";
|
|
391
|
-
const _s = "
|
|
392
|
-
const
|
|
391
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.datasync";
|
|
392
|
+
const _se = "server";
|
|
393
393
|
const n0 = "com.amazonaws.datasync";
|
|
394
394
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
395
395
|
import { DataSyncServiceException } from "../models/DataSyncServiceException";
|
|
396
396
|
import { InternalException, InvalidRequestException } from "../models/errors";
|
|
397
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
398
|
+
export var DataSyncServiceException$ = [-3, _s, "DataSyncServiceException", 0, [], []];
|
|
399
|
+
_s_registry.registerError(DataSyncServiceException$, DataSyncServiceException);
|
|
400
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
401
|
+
export var InternalException$ = [-3, n0, _IE,
|
|
402
|
+
{ [_e]: _se },
|
|
403
|
+
[_m, _eC],
|
|
404
|
+
[0, 0]
|
|
405
|
+
];
|
|
406
|
+
n0_registry.registerError(InternalException$, InternalException);
|
|
407
|
+
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
408
|
+
{ [_e]: _c },
|
|
409
|
+
[_m, _eC, _dEC],
|
|
410
|
+
[0, 0, 0]
|
|
411
|
+
];
|
|
412
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
413
|
+
export const errorTypeRegistries = [
|
|
414
|
+
_s_registry,
|
|
415
|
+
n0_registry,
|
|
416
|
+
];
|
|
397
417
|
var AzureBlobSasToken = [0, n0, _ABST, 8, 0];
|
|
398
418
|
var ObjectStorageSecretKey = [0, n0, _OSSK, 8, 0];
|
|
399
419
|
var SmbPassword = [0, n0, _SP, 8, 0];
|
|
@@ -767,18 +787,6 @@ export var HdfsNameNode$ = [3, n0, _HNN,
|
|
|
767
787
|
[_H, _Po],
|
|
768
788
|
[0, 1], 2
|
|
769
789
|
];
|
|
770
|
-
export var InternalException$ = [-3, n0, _IE,
|
|
771
|
-
{ [_e]: _s },
|
|
772
|
-
[_m, _eC],
|
|
773
|
-
[0, 0]
|
|
774
|
-
];
|
|
775
|
-
TypeRegistry.for(n0).registerError(InternalException$, InternalException);
|
|
776
|
-
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
777
|
-
{ [_e]: _c },
|
|
778
|
-
[_m, _eC, _dEC],
|
|
779
|
-
[0, 0, 0]
|
|
780
|
-
];
|
|
781
|
-
TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
782
790
|
export var ListAgentsRequest$ = [3, n0, _LAR,
|
|
783
791
|
0,
|
|
784
792
|
[_MR, _NT],
|
|
@@ -1154,8 +1162,6 @@ export var UpdateTaskResponse$ = [3, n0, _UTRp,
|
|
|
1154
1162
|
[],
|
|
1155
1163
|
[]
|
|
1156
1164
|
];
|
|
1157
|
-
export var DataSyncServiceException$ = [-3, _sm, "DataSyncServiceException", 0, [], []];
|
|
1158
|
-
TypeRegistry.for(_sm).registerError(DataSyncServiceException$, DataSyncServiceException);
|
|
1159
1165
|
var AgentArnList = 64 | 0;
|
|
1160
1166
|
var AgentList = [1, n0, _AL,
|
|
1161
1167
|
0, () => AgentListEntry$
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var DataSyncServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var InternalException$: StaticErrorSchema;
|
|
5
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
6
|
+
/**
|
|
7
|
+
* TypeRegistry instances containing modeled errors.
|
|
8
|
+
* @internal
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
2
12
|
export declare var AgentListEntry$: StaticStructureSchema;
|
|
3
13
|
export declare var AzureBlobSasConfiguration$: StaticStructureSchema;
|
|
4
14
|
export declare var CancelTaskExecutionRequest$: StaticStructureSchema;
|
|
@@ -73,8 +83,6 @@ export declare var FsxProtocolSmb$: StaticStructureSchema;
|
|
|
73
83
|
export declare var FsxUpdateProtocol$: StaticStructureSchema;
|
|
74
84
|
export declare var FsxUpdateProtocolSmb$: StaticStructureSchema;
|
|
75
85
|
export declare var HdfsNameNode$: StaticStructureSchema;
|
|
76
|
-
export declare var InternalException$: StaticErrorSchema;
|
|
77
|
-
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
78
86
|
export declare var ListAgentsRequest$: StaticStructureSchema;
|
|
79
87
|
export declare var ListAgentsResponse$: StaticStructureSchema;
|
|
80
88
|
export declare var ListLocationsRequest$: StaticStructureSchema;
|
|
@@ -150,7 +158,6 @@ export declare var UpdateTaskExecutionRequest$: StaticStructureSchema;
|
|
|
150
158
|
export declare var UpdateTaskExecutionResponse$: StaticStructureSchema;
|
|
151
159
|
export declare var UpdateTaskRequest$: StaticStructureSchema;
|
|
152
160
|
export declare var UpdateTaskResponse$: StaticStructureSchema;
|
|
153
|
-
export declare var DataSyncServiceException$: StaticErrorSchema;
|
|
154
161
|
export declare var CancelTaskExecution$: StaticOperationSchema;
|
|
155
162
|
export declare var CreateAgent$: StaticOperationSchema;
|
|
156
163
|
export declare var CreateLocationAzureBlob$: StaticOperationSchema;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var DataSyncServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var InternalException$: StaticErrorSchema;
|
|
9
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
10
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
6
11
|
export declare var AgentListEntry$: StaticStructureSchema;
|
|
7
12
|
export declare var AzureBlobSasConfiguration$: StaticStructureSchema;
|
|
8
13
|
export declare var CancelTaskExecutionRequest$: StaticStructureSchema;
|
|
@@ -77,8 +82,6 @@ export declare var FsxProtocolSmb$: StaticStructureSchema;
|
|
|
77
82
|
export declare var FsxUpdateProtocol$: StaticStructureSchema;
|
|
78
83
|
export declare var FsxUpdateProtocolSmb$: StaticStructureSchema;
|
|
79
84
|
export declare var HdfsNameNode$: StaticStructureSchema;
|
|
80
|
-
export declare var InternalException$: StaticErrorSchema;
|
|
81
|
-
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
82
85
|
export declare var ListAgentsRequest$: StaticStructureSchema;
|
|
83
86
|
export declare var ListAgentsResponse$: StaticStructureSchema;
|
|
84
87
|
export declare var ListLocationsRequest$: StaticStructureSchema;
|
|
@@ -154,7 +157,6 @@ export declare var UpdateTaskExecutionRequest$: StaticStructureSchema;
|
|
|
154
157
|
export declare var UpdateTaskExecutionResponse$: StaticStructureSchema;
|
|
155
158
|
export declare var UpdateTaskRequest$: StaticStructureSchema;
|
|
156
159
|
export declare var UpdateTaskResponse$: StaticStructureSchema;
|
|
157
|
-
export declare var DataSyncServiceException$: StaticErrorSchema;
|
|
158
160
|
export declare var CancelTaskExecution$: StaticOperationSchema;
|
|
159
161
|
export declare var CreateAgent$: StaticOperationSchema;
|
|
160
162
|
export declare var CreateLocationAzureBlob$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-datasync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Datasync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.989.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-datasync",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.9",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.8",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.9",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.989.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.7",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|