@aws-sdk/client-datasync 3.758.0 → 3.772.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 +42 -40
- 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 +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AddStorageSystemCommand: () => AddStorageSystemCommand,
|
|
25
25
|
AddStorageSystemRequestFilterSensitiveLog: () => AddStorageSystemRequestFilterSensitiveLog,
|
|
26
26
|
AgentStatus: () => AgentStatus,
|
|
@@ -174,7 +174,7 @@ __export(src_exports, {
|
|
|
174
174
|
paginateListTaskExecutions: () => paginateListTaskExecutions,
|
|
175
175
|
paginateListTasks: () => paginateListTasks
|
|
176
176
|
});
|
|
177
|
-
module.exports = __toCommonJS(
|
|
177
|
+
module.exports = __toCommonJS(index_exports);
|
|
178
178
|
|
|
179
179
|
// src/DataSyncClient.ts
|
|
180
180
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -301,9 +301,9 @@ var DataSyncClient = class extends import_smithy_client.Client {
|
|
|
301
301
|
this.middlewareStack.use(
|
|
302
302
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
303
303
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultDataSyncHttpAuthSchemeParametersProvider,
|
|
304
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
304
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
305
305
|
"aws.auth#sigv4": config.credentials
|
|
306
|
-
})
|
|
306
|
+
}), "identityProviderConfigProvider")
|
|
307
307
|
})
|
|
308
308
|
);
|
|
309
309
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -2171,12 +2171,12 @@ var se_CreateLocationSmbRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
2171
2171
|
var se_DescribeStorageSystemResourceMetricsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2172
2172
|
return (0, import_smithy_client.take)(input, {
|
|
2173
2173
|
DiscoveryJobArn: [],
|
|
2174
|
-
EndTime: (_) => _.getTime() / 1e3,
|
|
2174
|
+
EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
|
|
2175
2175
|
MaxResults: [],
|
|
2176
2176
|
NextToken: [],
|
|
2177
2177
|
ResourceId: [],
|
|
2178
2178
|
ResourceType: [],
|
|
2179
|
-
StartTime: (_) => _.getTime() / 1e3
|
|
2179
|
+
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
|
|
2180
2180
|
});
|
|
2181
2181
|
}, "se_DescribeStorageSystemResourceMetricsRequest");
|
|
2182
2182
|
var se_StartDiscoveryJobRequest = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -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
|
});
|
|
@@ -2235,9 +2237,9 @@ var se_UpdateLocationSmbRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
2235
2237
|
var de_DescribeAgentResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2236
2238
|
return (0, import_smithy_client.take)(output, {
|
|
2237
2239
|
AgentArn: import_smithy_client.expectString,
|
|
2238
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2240
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2239
2241
|
EndpointType: import_smithy_client.expectString,
|
|
2240
|
-
LastConnectionTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2242
|
+
LastConnectionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastConnectionTime"),
|
|
2241
2243
|
Name: import_smithy_client.expectString,
|
|
2242
2244
|
Platform: import_smithy_client._json,
|
|
2243
2245
|
PrivateLinkConfig: import_smithy_client._json,
|
|
@@ -2248,8 +2250,8 @@ var de_DescribeDiscoveryJobResponse = /* @__PURE__ */ __name((output, context) =
|
|
|
2248
2250
|
return (0, import_smithy_client.take)(output, {
|
|
2249
2251
|
CollectionDurationMinutes: import_smithy_client.expectInt32,
|
|
2250
2252
|
DiscoveryJobArn: import_smithy_client.expectString,
|
|
2251
|
-
JobEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2252
|
-
JobStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2253
|
+
JobEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "JobEndTime"),
|
|
2254
|
+
JobStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "JobStartTime"),
|
|
2253
2255
|
Status: import_smithy_client.expectString,
|
|
2254
2256
|
StorageSystemArn: import_smithy_client.expectString
|
|
2255
2257
|
});
|
|
@@ -2260,7 +2262,7 @@ var de_DescribeLocationAzureBlobResponse = /* @__PURE__ */ __name((output, conte
|
|
|
2260
2262
|
AgentArns: import_smithy_client._json,
|
|
2261
2263
|
AuthenticationType: import_smithy_client.expectString,
|
|
2262
2264
|
BlobType: import_smithy_client.expectString,
|
|
2263
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2265
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2264
2266
|
LocationArn: import_smithy_client.expectString,
|
|
2265
2267
|
LocationUri: import_smithy_client.expectString
|
|
2266
2268
|
});
|
|
@@ -2268,7 +2270,7 @@ var de_DescribeLocationAzureBlobResponse = /* @__PURE__ */ __name((output, conte
|
|
|
2268
2270
|
var de_DescribeLocationEfsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2269
2271
|
return (0, import_smithy_client.take)(output, {
|
|
2270
2272
|
AccessPointArn: import_smithy_client.expectString,
|
|
2271
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2273
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2272
2274
|
Ec2Config: import_smithy_client._json,
|
|
2273
2275
|
FileSystemAccessRoleArn: import_smithy_client.expectString,
|
|
2274
2276
|
InTransitEncryption: import_smithy_client.expectString,
|
|
@@ -2278,7 +2280,7 @@ var de_DescribeLocationEfsResponse = /* @__PURE__ */ __name((output, context) =>
|
|
|
2278
2280
|
}, "de_DescribeLocationEfsResponse");
|
|
2279
2281
|
var de_DescribeLocationFsxLustreResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2280
2282
|
return (0, import_smithy_client.take)(output, {
|
|
2281
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2283
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2282
2284
|
LocationArn: import_smithy_client.expectString,
|
|
2283
2285
|
LocationUri: import_smithy_client.expectString,
|
|
2284
2286
|
SecurityGroupArns: import_smithy_client._json
|
|
@@ -2286,7 +2288,7 @@ var de_DescribeLocationFsxLustreResponse = /* @__PURE__ */ __name((output, conte
|
|
|
2286
2288
|
}, "de_DescribeLocationFsxLustreResponse");
|
|
2287
2289
|
var de_DescribeLocationFsxOntapResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2288
2290
|
return (0, import_smithy_client.take)(output, {
|
|
2289
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2291
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2290
2292
|
FsxFilesystemArn: import_smithy_client.expectString,
|
|
2291
2293
|
LocationArn: import_smithy_client.expectString,
|
|
2292
2294
|
LocationUri: import_smithy_client.expectString,
|
|
@@ -2297,7 +2299,7 @@ var de_DescribeLocationFsxOntapResponse = /* @__PURE__ */ __name((output, contex
|
|
|
2297
2299
|
}, "de_DescribeLocationFsxOntapResponse");
|
|
2298
2300
|
var de_DescribeLocationFsxOpenZfsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2299
2301
|
return (0, import_smithy_client.take)(output, {
|
|
2300
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2302
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2301
2303
|
LocationArn: import_smithy_client.expectString,
|
|
2302
2304
|
LocationUri: import_smithy_client.expectString,
|
|
2303
2305
|
Protocol: import_smithy_client._json,
|
|
@@ -2306,7 +2308,7 @@ var de_DescribeLocationFsxOpenZfsResponse = /* @__PURE__ */ __name((output, cont
|
|
|
2306
2308
|
}, "de_DescribeLocationFsxOpenZfsResponse");
|
|
2307
2309
|
var de_DescribeLocationFsxWindowsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2308
2310
|
return (0, import_smithy_client.take)(output, {
|
|
2309
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2311
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2310
2312
|
Domain: import_smithy_client.expectString,
|
|
2311
2313
|
LocationArn: import_smithy_client.expectString,
|
|
2312
2314
|
LocationUri: import_smithy_client.expectString,
|
|
@@ -2319,7 +2321,7 @@ var de_DescribeLocationHdfsResponse = /* @__PURE__ */ __name((output, context) =
|
|
|
2319
2321
|
AgentArns: import_smithy_client._json,
|
|
2320
2322
|
AuthenticationType: import_smithy_client.expectString,
|
|
2321
2323
|
BlockSize: import_smithy_client.expectInt32,
|
|
2322
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2324
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2323
2325
|
KerberosPrincipal: import_smithy_client.expectString,
|
|
2324
2326
|
KmsKeyProviderUri: import_smithy_client.expectString,
|
|
2325
2327
|
LocationArn: import_smithy_client.expectString,
|
|
@@ -2332,7 +2334,7 @@ var de_DescribeLocationHdfsResponse = /* @__PURE__ */ __name((output, context) =
|
|
|
2332
2334
|
}, "de_DescribeLocationHdfsResponse");
|
|
2333
2335
|
var de_DescribeLocationNfsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2334
2336
|
return (0, import_smithy_client.take)(output, {
|
|
2335
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2337
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2336
2338
|
LocationArn: import_smithy_client.expectString,
|
|
2337
2339
|
LocationUri: import_smithy_client.expectString,
|
|
2338
2340
|
MountOptions: import_smithy_client._json,
|
|
@@ -2343,7 +2345,7 @@ var de_DescribeLocationObjectStorageResponse = /* @__PURE__ */ __name((output, c
|
|
|
2343
2345
|
return (0, import_smithy_client.take)(output, {
|
|
2344
2346
|
AccessKey: import_smithy_client.expectString,
|
|
2345
2347
|
AgentArns: import_smithy_client._json,
|
|
2346
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2348
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2347
2349
|
LocationArn: import_smithy_client.expectString,
|
|
2348
2350
|
LocationUri: import_smithy_client.expectString,
|
|
2349
2351
|
ServerCertificate: context.base64Decoder,
|
|
@@ -2354,7 +2356,7 @@ var de_DescribeLocationObjectStorageResponse = /* @__PURE__ */ __name((output, c
|
|
|
2354
2356
|
var de_DescribeLocationS3Response = /* @__PURE__ */ __name((output, context) => {
|
|
2355
2357
|
return (0, import_smithy_client.take)(output, {
|
|
2356
2358
|
AgentArns: import_smithy_client._json,
|
|
2357
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2359
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2358
2360
|
LocationArn: import_smithy_client.expectString,
|
|
2359
2361
|
LocationUri: import_smithy_client.expectString,
|
|
2360
2362
|
S3Config: import_smithy_client._json,
|
|
@@ -2365,7 +2367,7 @@ var de_DescribeLocationSmbResponse = /* @__PURE__ */ __name((output, context) =>
|
|
|
2365
2367
|
return (0, import_smithy_client.take)(output, {
|
|
2366
2368
|
AgentArns: import_smithy_client._json,
|
|
2367
2369
|
AuthenticationType: import_smithy_client.expectString,
|
|
2368
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2370
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2369
2371
|
DnsIpAddresses: import_smithy_client._json,
|
|
2370
2372
|
Domain: import_smithy_client.expectString,
|
|
2371
2373
|
KerberosPrincipal: import_smithy_client.expectString,
|
|
@@ -2377,14 +2379,14 @@ var de_DescribeLocationSmbResponse = /* @__PURE__ */ __name((output, context) =>
|
|
|
2377
2379
|
}, "de_DescribeLocationSmbResponse");
|
|
2378
2380
|
var de_DescribeStorageSystemResourceMetricsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2379
2381
|
return (0, import_smithy_client.take)(output, {
|
|
2380
|
-
Metrics: (_) => de_Metrics(_, context),
|
|
2382
|
+
Metrics: /* @__PURE__ */ __name((_) => de_Metrics(_, context), "Metrics"),
|
|
2381
2383
|
NextToken: import_smithy_client.expectString
|
|
2382
2384
|
});
|
|
2383
2385
|
}, "de_DescribeStorageSystemResourceMetricsResponse");
|
|
2384
2386
|
var de_DescribeStorageSystemResourcesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2385
2387
|
return (0, import_smithy_client.take)(output, {
|
|
2386
2388
|
NextToken: import_smithy_client.expectString,
|
|
2387
|
-
ResourceDetails: (_) => de_ResourceDetails(_, context)
|
|
2389
|
+
ResourceDetails: /* @__PURE__ */ __name((_) => de_ResourceDetails(_, context), "ResourceDetails")
|
|
2388
2390
|
});
|
|
2389
2391
|
}, "de_DescribeStorageSystemResourcesResponse");
|
|
2390
2392
|
var de_DescribeStorageSystemResponse = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2392,7 +2394,7 @@ var de_DescribeStorageSystemResponse = /* @__PURE__ */ __name((output, context)
|
|
|
2392
2394
|
AgentArns: import_smithy_client._json,
|
|
2393
2395
|
CloudWatchLogGroupArn: import_smithy_client.expectString,
|
|
2394
2396
|
ConnectivityStatus: import_smithy_client.expectString,
|
|
2395
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2397
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2396
2398
|
ErrorMessage: import_smithy_client.expectString,
|
|
2397
2399
|
Name: import_smithy_client.expectString,
|
|
2398
2400
|
SecretsManagerArn: import_smithy_client.expectString,
|
|
@@ -2422,7 +2424,7 @@ var de_DescribeTaskExecutionResponse = /* @__PURE__ */ __name((output, context)
|
|
|
2422
2424
|
Options: import_smithy_client._json,
|
|
2423
2425
|
ReportResult: import_smithy_client._json,
|
|
2424
2426
|
Result: import_smithy_client._json,
|
|
2425
|
-
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2427
|
+
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
|
|
2426
2428
|
Status: import_smithy_client.expectString,
|
|
2427
2429
|
TaskExecutionArn: import_smithy_client.expectString,
|
|
2428
2430
|
TaskMode: import_smithy_client.expectString,
|
|
@@ -2432,7 +2434,7 @@ var de_DescribeTaskExecutionResponse = /* @__PURE__ */ __name((output, context)
|
|
|
2432
2434
|
var de_DescribeTaskResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2433
2435
|
return (0, import_smithy_client.take)(output, {
|
|
2434
2436
|
CloudWatchLogGroupArn: import_smithy_client.expectString,
|
|
2435
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2437
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
2436
2438
|
CurrentTaskExecutionArn: import_smithy_client.expectString,
|
|
2437
2439
|
DestinationLocationArn: import_smithy_client.expectString,
|
|
2438
2440
|
DestinationNetworkInterfaceArns: import_smithy_client._json,
|
|
@@ -2444,7 +2446,7 @@ var de_DescribeTaskResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
2444
2446
|
Name: import_smithy_client.expectString,
|
|
2445
2447
|
Options: import_smithy_client._json,
|
|
2446
2448
|
Schedule: import_smithy_client._json,
|
|
2447
|
-
ScheduleDetails: (_) => de_TaskScheduleDetails(_, context),
|
|
2449
|
+
ScheduleDetails: /* @__PURE__ */ __name((_) => de_TaskScheduleDetails(_, context), "ScheduleDetails"),
|
|
2448
2450
|
SourceLocationArn: import_smithy_client.expectString,
|
|
2449
2451
|
SourceNetworkInterfaceArns: import_smithy_client._json,
|
|
2450
2452
|
Status: import_smithy_client.expectString,
|
|
@@ -2498,7 +2500,7 @@ var de_NetAppONTAPCluster = /* @__PURE__ */ __name((output, context) => {
|
|
|
2498
2500
|
ClusterCloudStorageUsed: import_smithy_client.expectLong,
|
|
2499
2501
|
ClusterName: import_smithy_client.expectString,
|
|
2500
2502
|
LunCount: import_smithy_client.expectLong,
|
|
2501
|
-
MaxP95Performance: (_) => de_MaxP95Performance(_, context),
|
|
2503
|
+
MaxP95Performance: /* @__PURE__ */ __name((_) => de_MaxP95Performance(_, context), "MaxP95Performance"),
|
|
2502
2504
|
NfsExportedVolumes: import_smithy_client.expectLong,
|
|
2503
2505
|
RecommendationStatus: import_smithy_client.expectString,
|
|
2504
2506
|
Recommendations: import_smithy_client._json,
|
|
@@ -2517,7 +2519,7 @@ var de_NetAppONTAPSVM = /* @__PURE__ */ __name((output, context) => {
|
|
|
2517
2519
|
ClusterUuid: import_smithy_client.expectString,
|
|
2518
2520
|
EnabledProtocols: import_smithy_client._json,
|
|
2519
2521
|
LunCount: import_smithy_client.expectLong,
|
|
2520
|
-
MaxP95Performance: (_) => de_MaxP95Performance(_, context),
|
|
2522
|
+
MaxP95Performance: /* @__PURE__ */ __name((_) => de_MaxP95Performance(_, context), "MaxP95Performance"),
|
|
2521
2523
|
NfsExportedVolumes: import_smithy_client.expectLong,
|
|
2522
2524
|
RecommendationStatus: import_smithy_client.expectString,
|
|
2523
2525
|
Recommendations: import_smithy_client._json,
|
|
@@ -2542,7 +2544,7 @@ var de_NetAppONTAPVolume = /* @__PURE__ */ __name((output, context) => {
|
|
|
2542
2544
|
CifsShareCount: import_smithy_client.expectLong,
|
|
2543
2545
|
LogicalCapacityUsed: import_smithy_client.expectLong,
|
|
2544
2546
|
LunCount: import_smithy_client.expectLong,
|
|
2545
|
-
MaxP95Performance: (_) => de_MaxP95Performance(_, context),
|
|
2547
|
+
MaxP95Performance: /* @__PURE__ */ __name((_) => de_MaxP95Performance(_, context), "MaxP95Performance"),
|
|
2546
2548
|
NfsExported: import_smithy_client.expectBoolean,
|
|
2547
2549
|
RecommendationStatus: import_smithy_client.expectString,
|
|
2548
2550
|
Recommendations: import_smithy_client._json,
|
|
@@ -2562,32 +2564,32 @@ var de_NetAppONTAPVolumes = /* @__PURE__ */ __name((output, context) => {
|
|
|
2562
2564
|
}, "de_NetAppONTAPVolumes");
|
|
2563
2565
|
var de_P95Metrics = /* @__PURE__ */ __name((output, context) => {
|
|
2564
2566
|
return (0, import_smithy_client.take)(output, {
|
|
2565
|
-
IOPS: (_) => de_IOPS(_, context),
|
|
2566
|
-
Latency: (_) => de_Latency(_, context),
|
|
2567
|
-
Throughput: (_) => de_Throughput(_, context)
|
|
2567
|
+
IOPS: /* @__PURE__ */ __name((_) => de_IOPS(_, context), "IOPS"),
|
|
2568
|
+
Latency: /* @__PURE__ */ __name((_) => de_Latency(_, context), "Latency"),
|
|
2569
|
+
Throughput: /* @__PURE__ */ __name((_) => de_Throughput(_, context), "Throughput")
|
|
2568
2570
|
});
|
|
2569
2571
|
}, "de_P95Metrics");
|
|
2570
2572
|
var de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2571
2573
|
return (0, import_smithy_client.take)(output, {
|
|
2572
|
-
NetAppONTAPClusters: (_) => de_NetAppONTAPClusters(_, context),
|
|
2573
|
-
NetAppONTAPSVMs: (_) => de_NetAppONTAPSVMs(_, context),
|
|
2574
|
-
NetAppONTAPVolumes: (_) => de_NetAppONTAPVolumes(_, context)
|
|
2574
|
+
NetAppONTAPClusters: /* @__PURE__ */ __name((_) => de_NetAppONTAPClusters(_, context), "NetAppONTAPClusters"),
|
|
2575
|
+
NetAppONTAPSVMs: /* @__PURE__ */ __name((_) => de_NetAppONTAPSVMs(_, context), "NetAppONTAPSVMs"),
|
|
2576
|
+
NetAppONTAPVolumes: /* @__PURE__ */ __name((_) => de_NetAppONTAPVolumes(_, context), "NetAppONTAPVolumes")
|
|
2575
2577
|
});
|
|
2576
2578
|
}, "de_ResourceDetails");
|
|
2577
2579
|
var de_ResourceMetrics = /* @__PURE__ */ __name((output, context) => {
|
|
2578
2580
|
return (0, import_smithy_client.take)(output, {
|
|
2579
2581
|
Capacity: import_smithy_client._json,
|
|
2580
|
-
P95Metrics: (_) => de_P95Metrics(_, context),
|
|
2582
|
+
P95Metrics: /* @__PURE__ */ __name((_) => de_P95Metrics(_, context), "P95Metrics"),
|
|
2581
2583
|
ResourceId: import_smithy_client.expectString,
|
|
2582
2584
|
ResourceType: import_smithy_client.expectString,
|
|
2583
|
-
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2585
|
+
Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp")
|
|
2584
2586
|
});
|
|
2585
2587
|
}, "de_ResourceMetrics");
|
|
2586
2588
|
var de_TaskScheduleDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2587
2589
|
return (0, import_smithy_client.take)(output, {
|
|
2588
2590
|
DisabledBy: import_smithy_client.expectString,
|
|
2589
2591
|
DisabledReason: import_smithy_client.expectString,
|
|
2590
|
-
StatusUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2592
|
+
StatusUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StatusUpdateTime")
|
|
2591
2593
|
});
|
|
2592
2594
|
}, "de_TaskScheduleDetails");
|
|
2593
2595
|
var de_Throughput = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -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.772.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",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
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",
|