@aws-sdk/client-datasync 3.713.0 → 3.715.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.
Files changed (49) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +246 -0
  3. package/dist-cjs/runtimeConfig.js +8 -6
  4. package/dist-es/DataSync.js +12 -0
  5. package/dist-es/commands/UpdateLocationEfsCommand.js +22 -0
  6. package/dist-es/commands/UpdateLocationFsxLustreCommand.js +22 -0
  7. package/dist-es/commands/UpdateLocationFsxOntapCommand.js +23 -0
  8. package/dist-es/commands/UpdateLocationFsxOpenZfsCommand.js +23 -0
  9. package/dist-es/commands/UpdateLocationFsxWindowsCommand.js +23 -0
  10. package/dist-es/commands/UpdateLocationS3Command.js +22 -0
  11. package/dist-es/commands/index.js +6 -0
  12. package/dist-es/models/models_0.js +20 -0
  13. package/dist-es/protocols/Aws_json1_1.js +114 -0
  14. package/dist-es/runtimeConfig.js +8 -6
  15. package/dist-types/DataSync.d.ts +42 -0
  16. package/dist-types/DataSyncClient.d.ts +26 -2
  17. package/dist-types/commands/CreateLocationNfsCommand.d.ts +0 -5
  18. package/dist-types/commands/UpdateLocationAzureBlobCommand.d.ts +2 -1
  19. package/dist-types/commands/UpdateLocationEfsCommand.d.ts +81 -0
  20. package/dist-types/commands/UpdateLocationFsxLustreCommand.d.ts +78 -0
  21. package/dist-types/commands/UpdateLocationFsxOntapCommand.d.ts +93 -0
  22. package/dist-types/commands/UpdateLocationFsxOpenZfsCommand.d.ts +97 -0
  23. package/dist-types/commands/UpdateLocationFsxWindowsCommand.d.ts +81 -0
  24. package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +3 -2
  25. package/dist-types/commands/UpdateLocationNfsCommand.d.ts +2 -3
  26. package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +2 -2
  27. package/dist-types/commands/UpdateLocationS3Command.d.ts +97 -0
  28. package/dist-types/commands/UpdateLocationSmbCommand.d.ts +3 -2
  29. package/dist-types/commands/index.d.ts +6 -0
  30. package/dist-types/models/models_0.d.ts +326 -26
  31. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  32. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  33. package/dist-types/runtimeConfig.d.ts +1 -0
  34. package/dist-types/runtimeConfig.native.d.ts +1 -0
  35. package/dist-types/ts3.4/DataSync.d.ts +102 -0
  36. package/dist-types/ts3.4/DataSyncClient.d.ts +37 -0
  37. package/dist-types/ts3.4/commands/UpdateLocationEfsCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/UpdateLocationFsxLustreCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/UpdateLocationFsxOntapCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/UpdateLocationFsxOpenZfsCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/UpdateLocationFsxWindowsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/UpdateLocationS3Command.d.ts +50 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +65 -0
  45. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  49. package/package.json +14 -14
@@ -406,6 +406,36 @@ export const se_UpdateLocationAzureBlobCommand = async (input, context) => {
406
406
  body = JSON.stringify(_json(input));
407
407
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
408
408
  };
409
+ export const se_UpdateLocationEfsCommand = async (input, context) => {
410
+ const headers = sharedHeaders("UpdateLocationEfs");
411
+ let body;
412
+ body = JSON.stringify(_json(input));
413
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
414
+ };
415
+ export const se_UpdateLocationFsxLustreCommand = async (input, context) => {
416
+ const headers = sharedHeaders("UpdateLocationFsxLustre");
417
+ let body;
418
+ body = JSON.stringify(_json(input));
419
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
420
+ };
421
+ export const se_UpdateLocationFsxOntapCommand = async (input, context) => {
422
+ const headers = sharedHeaders("UpdateLocationFsxOntap");
423
+ let body;
424
+ body = JSON.stringify(_json(input));
425
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
426
+ };
427
+ export const se_UpdateLocationFsxOpenZfsCommand = async (input, context) => {
428
+ const headers = sharedHeaders("UpdateLocationFsxOpenZfs");
429
+ let body;
430
+ body = JSON.stringify(_json(input));
431
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
432
+ };
433
+ export const se_UpdateLocationFsxWindowsCommand = async (input, context) => {
434
+ const headers = sharedHeaders("UpdateLocationFsxWindows");
435
+ let body;
436
+ body = JSON.stringify(_json(input));
437
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
438
+ };
409
439
  export const se_UpdateLocationHdfsCommand = async (input, context) => {
410
440
  const headers = sharedHeaders("UpdateLocationHdfs");
411
441
  let body;
@@ -424,6 +454,12 @@ export const se_UpdateLocationObjectStorageCommand = async (input, context) => {
424
454
  body = JSON.stringify(se_UpdateLocationObjectStorageRequest(input, context));
425
455
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
426
456
  };
457
+ export const se_UpdateLocationS3Command = async (input, context) => {
458
+ const headers = sharedHeaders("UpdateLocationS3");
459
+ let body;
460
+ body = JSON.stringify(_json(input));
461
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
462
+ };
427
463
  export const se_UpdateLocationSmbCommand = async (input, context) => {
428
464
  const headers = sharedHeaders("UpdateLocationSmb");
429
465
  let body;
@@ -1144,6 +1180,71 @@ export const de_UpdateLocationAzureBlobCommand = async (output, context) => {
1144
1180
  };
1145
1181
  return response;
1146
1182
  };
1183
+ export const de_UpdateLocationEfsCommand = async (output, context) => {
1184
+ if (output.statusCode >= 300) {
1185
+ return de_CommandError(output, context);
1186
+ }
1187
+ const data = await parseBody(output.body, context);
1188
+ let contents = {};
1189
+ contents = _json(data);
1190
+ const response = {
1191
+ $metadata: deserializeMetadata(output),
1192
+ ...contents,
1193
+ };
1194
+ return response;
1195
+ };
1196
+ export const de_UpdateLocationFsxLustreCommand = async (output, context) => {
1197
+ if (output.statusCode >= 300) {
1198
+ return de_CommandError(output, context);
1199
+ }
1200
+ const data = await parseBody(output.body, context);
1201
+ let contents = {};
1202
+ contents = _json(data);
1203
+ const response = {
1204
+ $metadata: deserializeMetadata(output),
1205
+ ...contents,
1206
+ };
1207
+ return response;
1208
+ };
1209
+ export const de_UpdateLocationFsxOntapCommand = async (output, context) => {
1210
+ if (output.statusCode >= 300) {
1211
+ return de_CommandError(output, context);
1212
+ }
1213
+ const data = await parseBody(output.body, context);
1214
+ let contents = {};
1215
+ contents = _json(data);
1216
+ const response = {
1217
+ $metadata: deserializeMetadata(output),
1218
+ ...contents,
1219
+ };
1220
+ return response;
1221
+ };
1222
+ export const de_UpdateLocationFsxOpenZfsCommand = async (output, context) => {
1223
+ if (output.statusCode >= 300) {
1224
+ return de_CommandError(output, context);
1225
+ }
1226
+ const data = await parseBody(output.body, context);
1227
+ let contents = {};
1228
+ contents = _json(data);
1229
+ const response = {
1230
+ $metadata: deserializeMetadata(output),
1231
+ ...contents,
1232
+ };
1233
+ return response;
1234
+ };
1235
+ export const de_UpdateLocationFsxWindowsCommand = async (output, context) => {
1236
+ if (output.statusCode >= 300) {
1237
+ return de_CommandError(output, context);
1238
+ }
1239
+ const data = await parseBody(output.body, context);
1240
+ let contents = {};
1241
+ contents = _json(data);
1242
+ const response = {
1243
+ $metadata: deserializeMetadata(output),
1244
+ ...contents,
1245
+ };
1246
+ return response;
1247
+ };
1147
1248
  export const de_UpdateLocationHdfsCommand = async (output, context) => {
1148
1249
  if (output.statusCode >= 300) {
1149
1250
  return de_CommandError(output, context);
@@ -1183,6 +1284,19 @@ export const de_UpdateLocationObjectStorageCommand = async (output, context) =>
1183
1284
  };
1184
1285
  return response;
1185
1286
  };
1287
+ export const de_UpdateLocationS3Command = async (output, context) => {
1288
+ if (output.statusCode >= 300) {
1289
+ return de_CommandError(output, context);
1290
+ }
1291
+ const data = await parseBody(output.body, context);
1292
+ let contents = {};
1293
+ contents = _json(data);
1294
+ const response = {
1295
+ $metadata: deserializeMetadata(output),
1296
+ ...contents,
1297
+ };
1298
+ return response;
1299
+ };
1186
1300
  export const de_UpdateLocationSmbCommand = async (output, context) => {
1187
1301
  if (output.statusCode >= 300) {
1188
1302
  return de_CommandError(output, context);
@@ -19,6 +19,7 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
+ const profileConfig = { profile: config?.profile };
22
23
  return {
23
24
  ...clientSharedValues,
24
25
  ...config,
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
28
29
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
31
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
33
+ region: config?.region ??
34
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
33
35
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
36
  retryMode: config?.retryMode ??
35
37
  loadNodeConfig({
36
38
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
37
39
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
38
- }),
40
+ }, config),
39
41
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
40
42
  streamCollector: config?.streamCollector ?? streamCollector,
41
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
42
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
43
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
43
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
44
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
46
  };
45
47
  };
@@ -52,9 +52,15 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
52
52
  import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
53
53
  import { UpdateDiscoveryJobCommandInput, UpdateDiscoveryJobCommandOutput } from "./commands/UpdateDiscoveryJobCommand";
54
54
  import { UpdateLocationAzureBlobCommandInput, UpdateLocationAzureBlobCommandOutput } from "./commands/UpdateLocationAzureBlobCommand";
55
+ import { UpdateLocationEfsCommandInput, UpdateLocationEfsCommandOutput } from "./commands/UpdateLocationEfsCommand";
56
+ import { UpdateLocationFsxLustreCommandInput, UpdateLocationFsxLustreCommandOutput } from "./commands/UpdateLocationFsxLustreCommand";
57
+ import { UpdateLocationFsxOntapCommandInput, UpdateLocationFsxOntapCommandOutput } from "./commands/UpdateLocationFsxOntapCommand";
58
+ import { UpdateLocationFsxOpenZfsCommandInput, UpdateLocationFsxOpenZfsCommandOutput } from "./commands/UpdateLocationFsxOpenZfsCommand";
59
+ import { UpdateLocationFsxWindowsCommandInput, UpdateLocationFsxWindowsCommandOutput } from "./commands/UpdateLocationFsxWindowsCommand";
55
60
  import { UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput } from "./commands/UpdateLocationHdfsCommand";
56
61
  import { UpdateLocationNfsCommandInput, UpdateLocationNfsCommandOutput } from "./commands/UpdateLocationNfsCommand";
57
62
  import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCommandOutput } from "./commands/UpdateLocationObjectStorageCommand";
63
+ import { UpdateLocationS3CommandInput, UpdateLocationS3CommandOutput } from "./commands/UpdateLocationS3Command";
58
64
  import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
59
65
  import { UpdateStorageSystemCommandInput, UpdateStorageSystemCommandOutput } from "./commands/UpdateStorageSystemCommand";
60
66
  import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand";
@@ -385,6 +391,36 @@ export interface DataSync {
385
391
  updateLocationAzureBlob(args: UpdateLocationAzureBlobCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationAzureBlobCommandOutput>;
386
392
  updateLocationAzureBlob(args: UpdateLocationAzureBlobCommandInput, cb: (err: any, data?: UpdateLocationAzureBlobCommandOutput) => void): void;
387
393
  updateLocationAzureBlob(args: UpdateLocationAzureBlobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationAzureBlobCommandOutput) => void): void;
394
+ /**
395
+ * @see {@link UpdateLocationEfsCommand}
396
+ */
397
+ updateLocationEfs(args: UpdateLocationEfsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationEfsCommandOutput>;
398
+ updateLocationEfs(args: UpdateLocationEfsCommandInput, cb: (err: any, data?: UpdateLocationEfsCommandOutput) => void): void;
399
+ updateLocationEfs(args: UpdateLocationEfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationEfsCommandOutput) => void): void;
400
+ /**
401
+ * @see {@link UpdateLocationFsxLustreCommand}
402
+ */
403
+ updateLocationFsxLustre(args: UpdateLocationFsxLustreCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationFsxLustreCommandOutput>;
404
+ updateLocationFsxLustre(args: UpdateLocationFsxLustreCommandInput, cb: (err: any, data?: UpdateLocationFsxLustreCommandOutput) => void): void;
405
+ updateLocationFsxLustre(args: UpdateLocationFsxLustreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationFsxLustreCommandOutput) => void): void;
406
+ /**
407
+ * @see {@link UpdateLocationFsxOntapCommand}
408
+ */
409
+ updateLocationFsxOntap(args: UpdateLocationFsxOntapCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationFsxOntapCommandOutput>;
410
+ updateLocationFsxOntap(args: UpdateLocationFsxOntapCommandInput, cb: (err: any, data?: UpdateLocationFsxOntapCommandOutput) => void): void;
411
+ updateLocationFsxOntap(args: UpdateLocationFsxOntapCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationFsxOntapCommandOutput) => void): void;
412
+ /**
413
+ * @see {@link UpdateLocationFsxOpenZfsCommand}
414
+ */
415
+ updateLocationFsxOpenZfs(args: UpdateLocationFsxOpenZfsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationFsxOpenZfsCommandOutput>;
416
+ updateLocationFsxOpenZfs(args: UpdateLocationFsxOpenZfsCommandInput, cb: (err: any, data?: UpdateLocationFsxOpenZfsCommandOutput) => void): void;
417
+ updateLocationFsxOpenZfs(args: UpdateLocationFsxOpenZfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationFsxOpenZfsCommandOutput) => void): void;
418
+ /**
419
+ * @see {@link UpdateLocationFsxWindowsCommand}
420
+ */
421
+ updateLocationFsxWindows(args: UpdateLocationFsxWindowsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationFsxWindowsCommandOutput>;
422
+ updateLocationFsxWindows(args: UpdateLocationFsxWindowsCommandInput, cb: (err: any, data?: UpdateLocationFsxWindowsCommandOutput) => void): void;
423
+ updateLocationFsxWindows(args: UpdateLocationFsxWindowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationFsxWindowsCommandOutput) => void): void;
388
424
  /**
389
425
  * @see {@link UpdateLocationHdfsCommand}
390
426
  */
@@ -403,6 +439,12 @@ export interface DataSync {
403
439
  updateLocationObjectStorage(args: UpdateLocationObjectStorageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationObjectStorageCommandOutput>;
404
440
  updateLocationObjectStorage(args: UpdateLocationObjectStorageCommandInput, cb: (err: any, data?: UpdateLocationObjectStorageCommandOutput) => void): void;
405
441
  updateLocationObjectStorage(args: UpdateLocationObjectStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationObjectStorageCommandOutput) => void): void;
442
+ /**
443
+ * @see {@link UpdateLocationS3Command}
444
+ */
445
+ updateLocationS3(args: UpdateLocationS3CommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationS3CommandOutput>;
446
+ updateLocationS3(args: UpdateLocationS3CommandInput, cb: (err: any, data?: UpdateLocationS3CommandOutput) => void): void;
447
+ updateLocationS3(args: UpdateLocationS3CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationS3CommandOutput) => void): void;
406
448
  /**
407
449
  * @see {@link UpdateLocationSmbCommand}
408
450
  */
@@ -60,9 +60,15 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
60
60
  import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
61
61
  import { UpdateDiscoveryJobCommandInput, UpdateDiscoveryJobCommandOutput } from "./commands/UpdateDiscoveryJobCommand";
62
62
  import { UpdateLocationAzureBlobCommandInput, UpdateLocationAzureBlobCommandOutput } from "./commands/UpdateLocationAzureBlobCommand";
63
+ import { UpdateLocationEfsCommandInput, UpdateLocationEfsCommandOutput } from "./commands/UpdateLocationEfsCommand";
64
+ import { UpdateLocationFsxLustreCommandInput, UpdateLocationFsxLustreCommandOutput } from "./commands/UpdateLocationFsxLustreCommand";
65
+ import { UpdateLocationFsxOntapCommandInput, UpdateLocationFsxOntapCommandOutput } from "./commands/UpdateLocationFsxOntapCommand";
66
+ import { UpdateLocationFsxOpenZfsCommandInput, UpdateLocationFsxOpenZfsCommandOutput } from "./commands/UpdateLocationFsxOpenZfsCommand";
67
+ import { UpdateLocationFsxWindowsCommandInput, UpdateLocationFsxWindowsCommandOutput } from "./commands/UpdateLocationFsxWindowsCommand";
63
68
  import { UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput } from "./commands/UpdateLocationHdfsCommand";
64
69
  import { UpdateLocationNfsCommandInput, UpdateLocationNfsCommandOutput } from "./commands/UpdateLocationNfsCommand";
65
70
  import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCommandOutput } from "./commands/UpdateLocationObjectStorageCommand";
71
+ import { UpdateLocationS3CommandInput, UpdateLocationS3CommandOutput } from "./commands/UpdateLocationS3Command";
66
72
  import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
67
73
  import { UpdateStorageSystemCommandInput, UpdateStorageSystemCommandOutput } from "./commands/UpdateStorageSystemCommand";
68
74
  import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand";
@@ -73,11 +79,11 @@ export { __Client };
73
79
  /**
74
80
  * @public
75
81
  */
76
- export type ServiceInputTypes = AddStorageSystemCommandInput | CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationAzureBlobCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxLustreCommandInput | CreateLocationFsxOntapCommandInput | CreateLocationFsxOpenZfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationHdfsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeDiscoveryJobCommandInput | DescribeLocationAzureBlobCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxLustreCommandInput | DescribeLocationFsxOntapCommandInput | DescribeLocationFsxOpenZfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationHdfsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeStorageSystemCommandInput | DescribeStorageSystemResourceMetricsCommandInput | DescribeStorageSystemResourcesCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | GenerateRecommendationsCommandInput | ListAgentsCommandInput | ListDiscoveryJobsCommandInput | ListLocationsCommandInput | ListStorageSystemsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | RemoveStorageSystemCommandInput | StartDiscoveryJobCommandInput | StartTaskExecutionCommandInput | StopDiscoveryJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateDiscoveryJobCommandInput | UpdateLocationAzureBlobCommandInput | UpdateLocationHdfsCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateStorageSystemCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
82
+ export type ServiceInputTypes = AddStorageSystemCommandInput | CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationAzureBlobCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxLustreCommandInput | CreateLocationFsxOntapCommandInput | CreateLocationFsxOpenZfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationHdfsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeDiscoveryJobCommandInput | DescribeLocationAzureBlobCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxLustreCommandInput | DescribeLocationFsxOntapCommandInput | DescribeLocationFsxOpenZfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationHdfsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeStorageSystemCommandInput | DescribeStorageSystemResourceMetricsCommandInput | DescribeStorageSystemResourcesCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | GenerateRecommendationsCommandInput | ListAgentsCommandInput | ListDiscoveryJobsCommandInput | ListLocationsCommandInput | ListStorageSystemsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | RemoveStorageSystemCommandInput | StartDiscoveryJobCommandInput | StartTaskExecutionCommandInput | StopDiscoveryJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateDiscoveryJobCommandInput | UpdateLocationAzureBlobCommandInput | UpdateLocationEfsCommandInput | UpdateLocationFsxLustreCommandInput | UpdateLocationFsxOntapCommandInput | UpdateLocationFsxOpenZfsCommandInput | UpdateLocationFsxWindowsCommandInput | UpdateLocationHdfsCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationS3CommandInput | UpdateLocationSmbCommandInput | UpdateStorageSystemCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
77
83
  /**
78
84
  * @public
79
85
  */
80
- export type ServiceOutputTypes = AddStorageSystemCommandOutput | CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationAzureBlobCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxLustreCommandOutput | CreateLocationFsxOntapCommandOutput | CreateLocationFsxOpenZfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationHdfsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeDiscoveryJobCommandOutput | DescribeLocationAzureBlobCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxLustreCommandOutput | DescribeLocationFsxOntapCommandOutput | DescribeLocationFsxOpenZfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationHdfsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeStorageSystemCommandOutput | DescribeStorageSystemResourceMetricsCommandOutput | DescribeStorageSystemResourcesCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | GenerateRecommendationsCommandOutput | ListAgentsCommandOutput | ListDiscoveryJobsCommandOutput | ListLocationsCommandOutput | ListStorageSystemsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | RemoveStorageSystemCommandOutput | StartDiscoveryJobCommandOutput | StartTaskExecutionCommandOutput | StopDiscoveryJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateDiscoveryJobCommandOutput | UpdateLocationAzureBlobCommandOutput | UpdateLocationHdfsCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateStorageSystemCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
86
+ export type ServiceOutputTypes = AddStorageSystemCommandOutput | CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationAzureBlobCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxLustreCommandOutput | CreateLocationFsxOntapCommandOutput | CreateLocationFsxOpenZfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationHdfsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeDiscoveryJobCommandOutput | DescribeLocationAzureBlobCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxLustreCommandOutput | DescribeLocationFsxOntapCommandOutput | DescribeLocationFsxOpenZfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationHdfsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeStorageSystemCommandOutput | DescribeStorageSystemResourceMetricsCommandOutput | DescribeStorageSystemResourcesCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | GenerateRecommendationsCommandOutput | ListAgentsCommandOutput | ListDiscoveryJobsCommandOutput | ListLocationsCommandOutput | ListStorageSystemsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | RemoveStorageSystemCommandOutput | StartDiscoveryJobCommandOutput | StartTaskExecutionCommandOutput | StopDiscoveryJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateDiscoveryJobCommandOutput | UpdateLocationAzureBlobCommandOutput | UpdateLocationEfsCommandOutput | UpdateLocationFsxLustreCommandOutput | UpdateLocationFsxOntapCommandOutput | UpdateLocationFsxOpenZfsCommandOutput | UpdateLocationFsxWindowsCommandOutput | UpdateLocationHdfsCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationS3CommandOutput | UpdateLocationSmbCommandOutput | UpdateStorageSystemCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
81
87
  /**
82
88
  * @public
83
89
  */
@@ -154,6 +160,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
154
160
  * The AWS region to which this client will send requests
155
161
  */
156
162
  region?: string | __Provider<string>;
163
+ /**
164
+ * Setting a client profile is similar to setting a value for the
165
+ * AWS_PROFILE environment variable. Setting a profile on a client
166
+ * in code only affects the single client instance, unlike AWS_PROFILE.
167
+ *
168
+ * When set, and only for environments where an AWS configuration
169
+ * file exists, fields configurable by this file will be retrieved
170
+ * from the specified profile within that file.
171
+ * Conflicting code configuration and environment variables will
172
+ * still have higher priority.
173
+ *
174
+ * For client credential resolution that involves checking the AWS
175
+ * configuration file, the client's profile (this value) will be
176
+ * used unless a different profile is set in the credential
177
+ * provider options.
178
+ *
179
+ */
180
+ profile?: string;
157
181
  /**
158
182
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
159
183
  * @internal
@@ -33,11 +33,6 @@ declare const CreateLocationNfsCommand_base: {
33
33
  * <p>Before you begin, make sure that you understand how DataSync
34
34
  * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs">accesses
35
35
  * NFS file servers</a>.</p>
36
- * <note>
37
- * <p>If you're copying data to or from an Snowcone device, you can also use
38
- * <code>CreateLocationNfs</code> to create your transfer location. For more information, see
39
- * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/nfs-on-snowcone.html">Configuring transfers with Snowcone</a>.</p>
40
- * </note>
41
36
  * @example
42
37
  * Use a bare-bones client and the command you need to make an API call.
43
38
  * ```javascript
@@ -27,7 +27,8 @@ declare const UpdateLocationAzureBlobCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Modifies some configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.</p>
30
+ * <p>Modifies the following configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.</p>
31
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html">Configuring DataSync transfers with Azure Blob Storage</a>.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -0,0 +1,81 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
+ import { UpdateLocationEfsRequest, UpdateLocationEfsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateLocationEfsCommand}.
14
+ */
15
+ export interface UpdateLocationEfsCommandInput extends UpdateLocationEfsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateLocationEfsCommand}.
21
+ */
22
+ export interface UpdateLocationEfsCommandOutput extends UpdateLocationEfsResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateLocationEfsCommand_base: {
25
+ new (input: UpdateLocationEfsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLocationEfsCommandInput, UpdateLocationEfsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateLocationEfsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLocationEfsCommandInput, UpdateLocationEfsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies the following configuration parameters of the Amazon EFS transfer location that you're using with DataSync.</p>
31
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html">Configuring DataSync transfers with Amazon EFS</a>.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { DataSyncClient, UpdateLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
+ * // const { DataSyncClient, UpdateLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
+ * const client = new DataSyncClient(config);
38
+ * const input = { // UpdateLocationEfsRequest
39
+ * LocationArn: "STRING_VALUE", // required
40
+ * Subdirectory: "STRING_VALUE",
41
+ * AccessPointArn: "STRING_VALUE",
42
+ * FileSystemAccessRoleArn: "STRING_VALUE",
43
+ * InTransitEncryption: "NONE" || "TLS1_2",
44
+ * };
45
+ * const command = new UpdateLocationEfsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param UpdateLocationEfsCommandInput - {@link UpdateLocationEfsCommandInput}
52
+ * @returns {@link UpdateLocationEfsCommandOutput}
53
+ * @see {@link UpdateLocationEfsCommandInput} for command's `input` shape.
54
+ * @see {@link UpdateLocationEfsCommandOutput} for command's `response` shape.
55
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
56
+ *
57
+ * @throws {@link InternalException} (server fault)
58
+ * <p>This exception is thrown when an error occurs in the DataSync
59
+ * service.</p>
60
+ *
61
+ * @throws {@link InvalidRequestException} (client fault)
62
+ * <p>This exception is thrown when the client submits a malformed request.</p>
63
+ *
64
+ * @throws {@link DataSyncServiceException}
65
+ * <p>Base exception class for all service exceptions from DataSync service.</p>
66
+ *
67
+ * @public
68
+ */
69
+ export declare class UpdateLocationEfsCommand extends UpdateLocationEfsCommand_base {
70
+ /** @internal type navigation helper, not in runtime. */
71
+ protected static __types: {
72
+ api: {
73
+ input: UpdateLocationEfsRequest;
74
+ output: {};
75
+ };
76
+ sdk: {
77
+ input: UpdateLocationEfsCommandInput;
78
+ output: UpdateLocationEfsCommandOutput;
79
+ };
80
+ };
81
+ }
@@ -0,0 +1,78 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
+ import { UpdateLocationFsxLustreRequest, UpdateLocationFsxLustreResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateLocationFsxLustreCommand}.
14
+ */
15
+ export interface UpdateLocationFsxLustreCommandInput extends UpdateLocationFsxLustreRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateLocationFsxLustreCommand}.
21
+ */
22
+ export interface UpdateLocationFsxLustreCommandOutput extends UpdateLocationFsxLustreResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateLocationFsxLustreCommand_base: {
25
+ new (input: UpdateLocationFsxLustreCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLocationFsxLustreCommandInput, UpdateLocationFsxLustreCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateLocationFsxLustreCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLocationFsxLustreCommandInput, UpdateLocationFsxLustreCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies the following configuration parameters of the Amazon FSx for Lustre transfer location that you're using with DataSync.</p>
31
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-lustre-location.html">Configuring DataSync transfers with FSx for Lustre</a>.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { DataSyncClient, UpdateLocationFsxLustreCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
+ * // const { DataSyncClient, UpdateLocationFsxLustreCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
+ * const client = new DataSyncClient(config);
38
+ * const input = { // UpdateLocationFsxLustreRequest
39
+ * LocationArn: "STRING_VALUE", // required
40
+ * Subdirectory: "STRING_VALUE",
41
+ * };
42
+ * const command = new UpdateLocationFsxLustreCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param UpdateLocationFsxLustreCommandInput - {@link UpdateLocationFsxLustreCommandInput}
49
+ * @returns {@link UpdateLocationFsxLustreCommandOutput}
50
+ * @see {@link UpdateLocationFsxLustreCommandInput} for command's `input` shape.
51
+ * @see {@link UpdateLocationFsxLustreCommandOutput} for command's `response` shape.
52
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
53
+ *
54
+ * @throws {@link InternalException} (server fault)
55
+ * <p>This exception is thrown when an error occurs in the DataSync
56
+ * service.</p>
57
+ *
58
+ * @throws {@link InvalidRequestException} (client fault)
59
+ * <p>This exception is thrown when the client submits a malformed request.</p>
60
+ *
61
+ * @throws {@link DataSyncServiceException}
62
+ * <p>Base exception class for all service exceptions from DataSync service.</p>
63
+ *
64
+ * @public
65
+ */
66
+ export declare class UpdateLocationFsxLustreCommand extends UpdateLocationFsxLustreCommand_base {
67
+ /** @internal type navigation helper, not in runtime. */
68
+ protected static __types: {
69
+ api: {
70
+ input: UpdateLocationFsxLustreRequest;
71
+ output: {};
72
+ };
73
+ sdk: {
74
+ input: UpdateLocationFsxLustreCommandInput;
75
+ output: UpdateLocationFsxLustreCommandOutput;
76
+ };
77
+ };
78
+ }
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
+ import { UpdateLocationFsxOntapRequest, UpdateLocationFsxOntapResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateLocationFsxOntapCommand}.
14
+ */
15
+ export interface UpdateLocationFsxOntapCommandInput extends UpdateLocationFsxOntapRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateLocationFsxOntapCommand}.
21
+ */
22
+ export interface UpdateLocationFsxOntapCommandOutput extends UpdateLocationFsxOntapResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateLocationFsxOntapCommand_base: {
25
+ new (input: UpdateLocationFsxOntapCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLocationFsxOntapCommandInput, UpdateLocationFsxOntapCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateLocationFsxOntapCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLocationFsxOntapCommandInput, UpdateLocationFsxOntapCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies the following configuration parameters of the Amazon FSx for NetApp ONTAP transfer location that you're using with DataSync.</p>
31
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html">Configuring DataSync transfers with FSx for ONTAP</a>.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { DataSyncClient, UpdateLocationFsxOntapCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
+ * // const { DataSyncClient, UpdateLocationFsxOntapCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
+ * const client = new DataSyncClient(config);
38
+ * const input = { // UpdateLocationFsxOntapRequest
39
+ * LocationArn: "STRING_VALUE", // required
40
+ * Protocol: { // FsxUpdateProtocol
41
+ * NFS: { // FsxProtocolNfs
42
+ * MountOptions: { // NfsMountOptions
43
+ * Version: "AUTOMATIC" || "NFS3" || "NFS4_0" || "NFS4_1",
44
+ * },
45
+ * },
46
+ * SMB: { // FsxUpdateProtocolSmb
47
+ * Domain: "STRING_VALUE",
48
+ * MountOptions: { // SmbMountOptions
49
+ * Version: "AUTOMATIC" || "SMB2" || "SMB3" || "SMB1" || "SMB2_0",
50
+ * },
51
+ * Password: "STRING_VALUE",
52
+ * User: "STRING_VALUE",
53
+ * },
54
+ * },
55
+ * Subdirectory: "STRING_VALUE",
56
+ * };
57
+ * const command = new UpdateLocationFsxOntapCommand(input);
58
+ * const response = await client.send(command);
59
+ * // {};
60
+ *
61
+ * ```
62
+ *
63
+ * @param UpdateLocationFsxOntapCommandInput - {@link UpdateLocationFsxOntapCommandInput}
64
+ * @returns {@link UpdateLocationFsxOntapCommandOutput}
65
+ * @see {@link UpdateLocationFsxOntapCommandInput} for command's `input` shape.
66
+ * @see {@link UpdateLocationFsxOntapCommandOutput} for command's `response` shape.
67
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
68
+ *
69
+ * @throws {@link InternalException} (server fault)
70
+ * <p>This exception is thrown when an error occurs in the DataSync
71
+ * service.</p>
72
+ *
73
+ * @throws {@link InvalidRequestException} (client fault)
74
+ * <p>This exception is thrown when the client submits a malformed request.</p>
75
+ *
76
+ * @throws {@link DataSyncServiceException}
77
+ * <p>Base exception class for all service exceptions from DataSync service.</p>
78
+ *
79
+ * @public
80
+ */
81
+ export declare class UpdateLocationFsxOntapCommand extends UpdateLocationFsxOntapCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: UpdateLocationFsxOntapRequest;
86
+ output: {};
87
+ };
88
+ sdk: {
89
+ input: UpdateLocationFsxOntapCommandInput;
90
+ output: UpdateLocationFsxOntapCommandOutput;
91
+ };
92
+ };
93
+ }