@aws-sdk/client-datasync 3.750.0 → 3.762.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 +2 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -0
- package/dist-types/commands/UpdateLocationNfsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +1 -0
- package/dist-types/commands/UpdateLocationSmbCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +34 -6
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -2211,6 +2211,7 @@ var se_UpdateLocationObjectStorageRequest = /* @__PURE__ */ __name((input, conte
|
|
|
2211
2211
|
LocationArn: [],
|
|
2212
2212
|
SecretKey: [],
|
|
2213
2213
|
ServerCertificate: context.base64Encoder,
|
|
2214
|
+
ServerHostname: [],
|
|
2214
2215
|
ServerPort: [],
|
|
2215
2216
|
ServerProtocol: [],
|
|
2216
2217
|
Subdirectory: []
|
|
@@ -2228,6 +2229,7 @@ var se_UpdateLocationSmbRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
2228
2229
|
LocationArn: [],
|
|
2229
2230
|
MountOptions: import_smithy_client._json,
|
|
2230
2231
|
Password: [],
|
|
2232
|
+
ServerHostname: [],
|
|
2231
2233
|
Subdirectory: [],
|
|
2232
2234
|
User: []
|
|
2233
2235
|
});
|
|
@@ -1492,6 +1492,7 @@ const se_UpdateLocationObjectStorageRequest = (input, context) => {
|
|
|
1492
1492
|
LocationArn: [],
|
|
1493
1493
|
SecretKey: [],
|
|
1494
1494
|
ServerCertificate: context.base64Encoder,
|
|
1495
|
+
ServerHostname: [],
|
|
1495
1496
|
ServerPort: [],
|
|
1496
1497
|
ServerProtocol: [],
|
|
1497
1498
|
Subdirectory: [],
|
|
@@ -1509,6 +1510,7 @@ const se_UpdateLocationSmbRequest = (input, context) => {
|
|
|
1509
1510
|
LocationArn: [],
|
|
1510
1511
|
MountOptions: _json,
|
|
1511
1512
|
Password: [],
|
|
1513
|
+
ServerHostname: [],
|
|
1512
1514
|
Subdirectory: [],
|
|
1513
1515
|
User: [],
|
|
1514
1516
|
});
|
|
@@ -39,6 +39,7 @@ declare const UpdateLocationNfsCommand_base: {
|
|
|
39
39
|
* const input = { // UpdateLocationNfsRequest
|
|
40
40
|
* LocationArn: "STRING_VALUE", // required
|
|
41
41
|
* Subdirectory: "STRING_VALUE",
|
|
42
|
+
* ServerHostname: "STRING_VALUE",
|
|
42
43
|
* OnPremConfig: { // OnPremConfig
|
|
43
44
|
* AgentArns: [ // AgentArnList // required
|
|
44
45
|
* "STRING_VALUE",
|
|
@@ -40,6 +40,7 @@ declare const UpdateLocationObjectStorageCommand_base: {
|
|
|
40
40
|
* ServerPort: Number("int"),
|
|
41
41
|
* ServerProtocol: "HTTPS" || "HTTP",
|
|
42
42
|
* Subdirectory: "STRING_VALUE",
|
|
43
|
+
* ServerHostname: "STRING_VALUE",
|
|
43
44
|
* AccessKey: "STRING_VALUE",
|
|
44
45
|
* SecretKey: "STRING_VALUE",
|
|
45
46
|
* AgentArns: [ // AgentArnList
|
|
@@ -39,6 +39,7 @@ declare const UpdateLocationSmbCommand_base: {
|
|
|
39
39
|
* const input = { // UpdateLocationSmbRequest
|
|
40
40
|
* LocationArn: "STRING_VALUE", // required
|
|
41
41
|
* Subdirectory: "STRING_VALUE",
|
|
42
|
+
* ServerHostname: "STRING_VALUE",
|
|
42
43
|
* User: "STRING_VALUE",
|
|
43
44
|
* Domain: "STRING_VALUE",
|
|
44
45
|
* Password: "STRING_VALUE",
|
|
@@ -1194,7 +1194,7 @@ export interface CreateLocationNfsRequest {
|
|
|
1194
1194
|
*/
|
|
1195
1195
|
Subdirectory: string | undefined;
|
|
1196
1196
|
/**
|
|
1197
|
-
* <p>Specifies the
|
|
1197
|
+
* <p>Specifies the DNS name or IP version 4 address of the NFS file
|
|
1198
1198
|
* server that your DataSync agent connects to.</p>
|
|
1199
1199
|
* @public
|
|
1200
1200
|
*/
|
|
@@ -1249,8 +1249,8 @@ export type ObjectStorageServerProtocol = (typeof ObjectStorageServerProtocol)[k
|
|
|
1249
1249
|
*/
|
|
1250
1250
|
export interface CreateLocationObjectStorageRequest {
|
|
1251
1251
|
/**
|
|
1252
|
-
* <p>Specifies the domain name or IP address of the object storage server
|
|
1253
|
-
* agent
|
|
1252
|
+
* <p>Specifies the domain name or IP version 4 (IPv4) address of the object storage server that your DataSync
|
|
1253
|
+
* agent connects to.</p>
|
|
1254
1254
|
* @public
|
|
1255
1255
|
*/
|
|
1256
1256
|
ServerHostname: string | undefined;
|
|
@@ -1491,7 +1491,7 @@ export interface CreateLocationSmbRequest {
|
|
|
1491
1491
|
*/
|
|
1492
1492
|
Subdirectory: string | undefined;
|
|
1493
1493
|
/**
|
|
1494
|
-
* <p>Specifies the domain name or IP address of the SMB file server that your DataSync agent
|
|
1494
|
+
* <p>Specifies the domain name or IP address of the SMB file server that your DataSync agent connects to.</p>
|
|
1495
1495
|
* <p>Remember the following when configuring this parameter:</p>
|
|
1496
1496
|
* <ul>
|
|
1497
1497
|
* <li>
|
|
@@ -1550,6 +1550,7 @@ export interface CreateLocationSmbRequest {
|
|
|
1550
1550
|
* <p>Specifies the authentication protocol that DataSync uses to connect to your SMB
|
|
1551
1551
|
* file server. DataSync supports <code>NTLM</code> (default) and <code>KERBEROS</code>
|
|
1552
1552
|
* authentication.</p>
|
|
1553
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions">Providing DataSync access to SMB file servers</a>.</p>
|
|
1553
1554
|
* @public
|
|
1554
1555
|
*/
|
|
1555
1556
|
AuthenticationType?: SmbAuthenticationType | undefined;
|
|
@@ -1565,7 +1566,7 @@ export interface CreateLocationSmbRequest {
|
|
|
1565
1566
|
/**
|
|
1566
1567
|
* <p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has
|
|
1567
1568
|
* permission to access the files, folders, and file metadata in your SMB file server.</p>
|
|
1568
|
-
* <p>A Kerberos principal might look like <code>HOST/kerberosuser@
|
|
1569
|
+
* <p>A Kerberos principal might look like <code>HOST/kerberosuser@MYDOMAIN.ORG</code>.</p>
|
|
1569
1570
|
* <p>Principal names are case sensitive. Your DataSync task execution will fail if
|
|
1570
1571
|
* the principal that you specify for this parameter doesn’t exactly match the principal that you
|
|
1571
1572
|
* use to create the keytab file.</p>
|
|
@@ -5915,6 +5916,12 @@ export interface UpdateLocationNfsRequest {
|
|
|
5915
5916
|
* @public
|
|
5916
5917
|
*/
|
|
5917
5918
|
Subdirectory?: string | undefined;
|
|
5919
|
+
/**
|
|
5920
|
+
* <p>Specifies the DNS name or IP version 4 (IPv4) address of the NFS file
|
|
5921
|
+
* server that your DataSync agent connects to.</p>
|
|
5922
|
+
* @public
|
|
5923
|
+
*/
|
|
5924
|
+
ServerHostname?: string | undefined;
|
|
5918
5925
|
/**
|
|
5919
5926
|
* <p>The DataSync agents that can connect to your Network File System (NFS)
|
|
5920
5927
|
* file server.</p>
|
|
@@ -5959,6 +5966,12 @@ export interface UpdateLocationObjectStorageRequest {
|
|
|
5959
5966
|
* @public
|
|
5960
5967
|
*/
|
|
5961
5968
|
Subdirectory?: string | undefined;
|
|
5969
|
+
/**
|
|
5970
|
+
* <p>Specifies the domain name or IP version 4 (IPv4) address of the object storage server that your DataSync
|
|
5971
|
+
* agent connects to.</p>
|
|
5972
|
+
* @public
|
|
5973
|
+
*/
|
|
5974
|
+
ServerHostname?: string | undefined;
|
|
5962
5975
|
/**
|
|
5963
5976
|
* <p>Specifies the access key (for example, a user name) if credentials are required to
|
|
5964
5977
|
* authenticate with the object storage server.</p>
|
|
@@ -6096,6 +6109,20 @@ export interface UpdateLocationSmbRequest {
|
|
|
6096
6109
|
* @public
|
|
6097
6110
|
*/
|
|
6098
6111
|
Subdirectory?: string | undefined;
|
|
6112
|
+
/**
|
|
6113
|
+
* <p>Specifies the domain name or IP address of the SMB file server that your DataSync agent connects to.</p>
|
|
6114
|
+
* <p>Remember the following when configuring this parameter:</p>
|
|
6115
|
+
* <ul>
|
|
6116
|
+
* <li>
|
|
6117
|
+
* <p>You can't specify an IP version 6 (IPv6) address.</p>
|
|
6118
|
+
* </li>
|
|
6119
|
+
* <li>
|
|
6120
|
+
* <p>If you're using Kerberos authentication, you must specify a domain name.</p>
|
|
6121
|
+
* </li>
|
|
6122
|
+
* </ul>
|
|
6123
|
+
* @public
|
|
6124
|
+
*/
|
|
6125
|
+
ServerHostname?: string | undefined;
|
|
6099
6126
|
/**
|
|
6100
6127
|
* <p>Specifies the user name that can mount your SMB file server and has permission to access
|
|
6101
6128
|
* the files and folders involved in your transfer. This parameter applies only if
|
|
@@ -6134,6 +6161,7 @@ export interface UpdateLocationSmbRequest {
|
|
|
6134
6161
|
* <p>Specifies the authentication protocol that DataSync uses to connect to your SMB
|
|
6135
6162
|
* file server. DataSync supports <code>NTLM</code> (default) and <code>KERBEROS</code>
|
|
6136
6163
|
* authentication.</p>
|
|
6164
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions">Providing DataSync access to SMB file servers</a>.</p>
|
|
6137
6165
|
* @public
|
|
6138
6166
|
*/
|
|
6139
6167
|
AuthenticationType?: SmbAuthenticationType | undefined;
|
|
@@ -6149,7 +6177,7 @@ export interface UpdateLocationSmbRequest {
|
|
|
6149
6177
|
/**
|
|
6150
6178
|
* <p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has
|
|
6151
6179
|
* permission to access the files, folders, and file metadata in your SMB file server.</p>
|
|
6152
|
-
* <p>A Kerberos principal might look like <code>HOST/kerberosuser@
|
|
6180
|
+
* <p>A Kerberos principal might look like <code>HOST/kerberosuser@MYDOMAIN.ORG</code>.</p>
|
|
6153
6181
|
* <p>Principal names are case sensitive. Your DataSync task execution will fail if
|
|
6154
6182
|
* the principal that you specify for this parameter doesn’t exactly match the principal that you
|
|
6155
6183
|
* use to create the keytab file.</p>
|
|
@@ -1265,6 +1265,7 @@ export interface UpdateLocationHdfsResponse {}
|
|
|
1265
1265
|
export interface UpdateLocationNfsRequest {
|
|
1266
1266
|
LocationArn: string | undefined;
|
|
1267
1267
|
Subdirectory?: string | undefined;
|
|
1268
|
+
ServerHostname?: string | undefined;
|
|
1268
1269
|
OnPremConfig?: OnPremConfig | undefined;
|
|
1269
1270
|
MountOptions?: NfsMountOptions | undefined;
|
|
1270
1271
|
}
|
|
@@ -1274,6 +1275,7 @@ export interface UpdateLocationObjectStorageRequest {
|
|
|
1274
1275
|
ServerPort?: number | undefined;
|
|
1275
1276
|
ServerProtocol?: ObjectStorageServerProtocol | undefined;
|
|
1276
1277
|
Subdirectory?: string | undefined;
|
|
1278
|
+
ServerHostname?: string | undefined;
|
|
1277
1279
|
AccessKey?: string | undefined;
|
|
1278
1280
|
SecretKey?: string | undefined;
|
|
1279
1281
|
AgentArns?: string[] | undefined;
|
|
@@ -1290,6 +1292,7 @@ export interface UpdateLocationS3Response {}
|
|
|
1290
1292
|
export interface UpdateLocationSmbRequest {
|
|
1291
1293
|
LocationArn: string | undefined;
|
|
1292
1294
|
Subdirectory?: string | undefined;
|
|
1295
|
+
ServerHostname?: string | undefined;
|
|
1293
1296
|
User?: string | undefined;
|
|
1294
1297
|
Domain?: string | undefined;
|
|
1295
1298
|
Password?: string | undefined;
|
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.762.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-datasync",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.758.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|