@aws-sdk/client-datasync 3.36.0 → 3.36.1

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 (92) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/DataSync.js +0 -9
  3. package/dist-cjs/DataSyncClient.js +0 -14
  4. package/dist-cjs/commands/CancelTaskExecutionCommand.js +0 -31
  5. package/dist-cjs/commands/CreateAgentCommand.js +0 -38
  6. package/dist-cjs/commands/CreateLocationEfsCommand.js +0 -24
  7. package/dist-cjs/commands/CreateLocationFsxWindowsCommand.js +0 -24
  8. package/dist-cjs/commands/CreateLocationNfsCommand.js +0 -25
  9. package/dist-cjs/commands/CreateLocationObjectStorageCommand.js +0 -25
  10. package/dist-cjs/commands/CreateLocationS3Command.js +0 -30
  11. package/dist-cjs/commands/CreateLocationSmbCommand.js +0 -25
  12. package/dist-cjs/commands/CreateTaskCommand.js +0 -42
  13. package/dist-cjs/commands/DeleteAgentCommand.js +0 -27
  14. package/dist-cjs/commands/DeleteLocationCommand.js +0 -24
  15. package/dist-cjs/commands/DeleteTaskCommand.js +0 -24
  16. package/dist-cjs/commands/DescribeAgentCommand.js +0 -26
  17. package/dist-cjs/commands/DescribeLocationEfsCommand.js +0 -24
  18. package/dist-cjs/commands/DescribeLocationFsxWindowsCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeLocationNfsCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeLocationObjectStorageCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeLocationS3Command.js +0 -24
  22. package/dist-cjs/commands/DescribeLocationSmbCommand.js +0 -24
  23. package/dist-cjs/commands/DescribeTaskCommand.js +0 -24
  24. package/dist-cjs/commands/DescribeTaskExecutionCommand.js +0 -24
  25. package/dist-cjs/commands/ListAgentsCommand.js +0 -31
  26. package/dist-cjs/commands/ListLocationsCommand.js +0 -27
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  28. package/dist-cjs/commands/ListTaskExecutionsCommand.js +0 -24
  29. package/dist-cjs/commands/ListTasksCommand.js +0 -24
  30. package/dist-cjs/commands/StartTaskExecutionCommand.js +0 -32
  31. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  32. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  33. package/dist-cjs/commands/UpdateAgentCommand.js +0 -24
  34. package/dist-cjs/commands/UpdateLocationNfsCommand.js +0 -25
  35. package/dist-cjs/commands/UpdateLocationObjectStorageCommand.js +0 -26
  36. package/dist-cjs/commands/UpdateLocationSmbCommand.js +0 -26
  37. package/dist-cjs/commands/UpdateTaskCommand.js +0 -24
  38. package/dist-cjs/commands/UpdateTaskExecutionCommand.js +0 -33
  39. package/dist-cjs/models/models_0.js +0 -267
  40. package/dist-cjs/pagination/ListAgentsPaginator.js +0 -10
  41. package/dist-cjs/pagination/ListLocationsPaginator.js +0 -10
  42. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -10
  43. package/dist-cjs/pagination/ListTaskExecutionsPaginator.js +0 -10
  44. package/dist-cjs/pagination/ListTasksPaginator.js +0 -10
  45. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  46. package/dist-cjs/runtimeConfig.browser.js +1 -5
  47. package/dist-cjs/runtimeConfig.js +1 -5
  48. package/dist-cjs/runtimeConfig.native.js +0 -3
  49. package/dist-cjs/runtimeConfig.shared.js +0 -3
  50. package/dist-types/ts3.4/DataSync.d.ts +36 -201
  51. package/dist-types/ts3.4/DataSyncClient.d.ts +24 -95
  52. package/dist-types/ts3.4/commands/CancelTaskExecutionCommand.d.ts +2 -27
  53. package/dist-types/ts3.4/commands/CreateAgentCommand.d.ts +2 -34
  54. package/dist-types/ts3.4/commands/CreateLocationEfsCommand.d.ts +2 -20
  55. package/dist-types/ts3.4/commands/CreateLocationFsxWindowsCommand.d.ts +2 -20
  56. package/dist-types/ts3.4/commands/CreateLocationNfsCommand.d.ts +2 -21
  57. package/dist-types/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +2 -21
  58. package/dist-types/ts3.4/commands/CreateLocationS3Command.d.ts +2 -26
  59. package/dist-types/ts3.4/commands/CreateLocationSmbCommand.d.ts +2 -21
  60. package/dist-types/ts3.4/commands/CreateTaskCommand.d.ts +2 -38
  61. package/dist-types/ts3.4/commands/DeleteAgentCommand.d.ts +2 -23
  62. package/dist-types/ts3.4/commands/DeleteLocationCommand.d.ts +2 -20
  63. package/dist-types/ts3.4/commands/DeleteTaskCommand.d.ts +2 -20
  64. package/dist-types/ts3.4/commands/DescribeAgentCommand.d.ts +2 -22
  65. package/dist-types/ts3.4/commands/DescribeLocationEfsCommand.d.ts +2 -20
  66. package/dist-types/ts3.4/commands/DescribeLocationFsxWindowsCommand.d.ts +2 -21
  67. package/dist-types/ts3.4/commands/DescribeLocationNfsCommand.d.ts +2 -20
  68. package/dist-types/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +2 -21
  69. package/dist-types/ts3.4/commands/DescribeLocationS3Command.d.ts +2 -20
  70. package/dist-types/ts3.4/commands/DescribeLocationSmbCommand.d.ts +2 -20
  71. package/dist-types/ts3.4/commands/DescribeTaskCommand.d.ts +2 -20
  72. package/dist-types/ts3.4/commands/DescribeTaskExecutionCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/ListAgentsCommand.d.ts +2 -27
  74. package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +2 -23
  75. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  76. package/dist-types/ts3.4/commands/ListTaskExecutionsCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -20
  78. package/dist-types/ts3.4/commands/StartTaskExecutionCommand.d.ts +2 -28
  79. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  80. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/UpdateAgentCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/UpdateLocationNfsCommand.d.ts +2 -21
  83. package/dist-types/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +2 -22
  84. package/dist-types/ts3.4/commands/UpdateLocationSmbCommand.d.ts +2 -22
  85. package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +2 -29
  87. package/dist-types/ts3.4/models/models_0.d.ts +419 -1922
  88. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  89. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  90. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  91. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  92. package/package.json +3 -3
@@ -44,130 +44,59 @@ import { UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput } fro
44
44
  export declare type ServiceInputTypes = CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | ListAgentsCommandInput | ListLocationsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | StartTaskExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
45
45
  export declare type ServiceOutputTypes = CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | ListAgentsCommandOutput | ListLocationsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | StartTaskExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
46
46
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
47
- /**
48
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
49
- */
47
+
50
48
  requestHandler?: __HttpHandler;
51
- /**
52
- * A constructor for a class implementing the {@link __Hash} interface
53
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
54
- * @internal
55
- */
49
+
56
50
  sha256?: __HashConstructor;
57
- /**
58
- * The function that will be used to convert strings into HTTP endpoints.
59
- * @internal
60
- */
51
+
61
52
  urlParser?: __UrlParser;
62
- /**
63
- * A function that can calculate the length of a request body.
64
- * @internal
65
- */
53
+
66
54
  bodyLengthChecker?: (body: any) => number | undefined;
67
- /**
68
- * A function that converts a stream into an array of bytes.
69
- * @internal
70
- */
55
+
71
56
  streamCollector?: __StreamCollector;
72
- /**
73
- * The function that will be used to convert a base64-encoded string to a byte array.
74
- * @internal
75
- */
57
+
76
58
  base64Decoder?: __Decoder;
77
- /**
78
- * The function that will be used to convert binary data to a base64-encoded string.
79
- * @internal
80
- */
59
+
81
60
  base64Encoder?: __Encoder;
82
- /**
83
- * The function that will be used to convert a UTF8-encoded string to a byte array.
84
- * @internal
85
- */
61
+
86
62
  utf8Decoder?: __Decoder;
87
- /**
88
- * The function that will be used to convert binary data to a UTF-8 encoded string.
89
- * @internal
90
- */
63
+
91
64
  utf8Encoder?: __Encoder;
92
- /**
93
- * The runtime environment.
94
- * @internal
95
- */
65
+
96
66
  runtime?: string;
97
- /**
98
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
99
- * trait of an operation.
100
- */
67
+
101
68
  disableHostPrefix?: boolean;
102
- /**
103
- * Value for how many times a request will be made at most in case of retry.
104
- */
69
+
105
70
  maxAttempts?: number | __Provider<number>;
106
- /**
107
- * Specifies which retry algorithm to use.
108
- */
71
+
109
72
  retryMode?: string | __Provider<string>;
110
- /**
111
- * Optional logger for logging debug/info/warn/error.
112
- */
73
+
113
74
  logger?: __Logger;
114
- /**
115
- * Unique service identifier.
116
- * @internal
117
- */
75
+
118
76
  serviceId?: string;
119
- /**
120
- * The AWS region to which this client will send requests
121
- */
77
+
122
78
  region?: string | __Provider<string>;
123
- /**
124
- * Default credentials provider; Not available in browser runtime.
125
- * @internal
126
- */
79
+
127
80
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
128
- /**
129
- * Fetch related hostname, signing name or signing region with given region.
130
- * @internal
131
- */
81
+
132
82
  regionInfoProvider?: RegionInfoProvider;
133
- /**
134
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
135
- * @internal
136
- */
83
+
137
84
  defaultUserAgentProvider?: Provider<__UserAgent>;
138
85
  }
139
86
  declare type DataSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
140
- /**
141
- * The configuration interface of DataSyncClient class constructor that set the region, credentials and other options.
142
- */
87
+
143
88
  export interface DataSyncClientConfig extends DataSyncClientConfigType {
144
89
  }
145
90
  declare type DataSyncClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
146
- /**
147
- * The resolved configuration interface of DataSyncClient class. This is resolved and normalized from the {@link DataSyncClientConfig | constructor configuration interface}.
148
- */
91
+
149
92
  export interface DataSyncClientResolvedConfig extends DataSyncClientResolvedConfigType {
150
93
  }
151
- /**
152
- * <fullname>DataSync</fullname>
153
- *
154
- * <p>DataSync is a managed data transfer service that makes it simpler for you to
155
- * automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)
156
- * or Amazon Elastic File System (Amazon EFS). </p>
157
- * <p>This API interface reference for DataSync contains documentation for a
158
- * programming interface that you can use to manage DataSync.</p>
159
- */
94
+
160
95
  export declare class DataSyncClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DataSyncClientResolvedConfig> {
161
- /**
162
- * The resolved configuration of DataSyncClient class. This is resolved and normalized from the {@link DataSyncClientConfig | constructor configuration interface}.
163
- */
96
+
164
97
  readonly config: DataSyncClientResolvedConfig;
165
98
  constructor(configuration: DataSyncClientConfig);
166
- /**
167
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
168
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
169
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
170
- */
99
+
171
100
  destroy(): void;
172
101
  }
173
102
  export {};
@@ -6,36 +6,11 @@ export interface CancelTaskExecutionCommandInput extends CancelTaskExecutionRequ
6
6
  }
7
7
  export interface CancelTaskExecutionCommandOutput extends CancelTaskExecutionResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Cancels execution of a task. </p>
11
- * <p>When you cancel a task execution, the transfer of some files is abruptly interrupted.
12
- * The contents of files that are transferred to the destination might be incomplete or
13
- * inconsistent with the source files. However, if you start a new task execution on the same
14
- * task and you allow the task execution to complete, file content on the destination is complete
15
- * and consistent. This applies to other unexpected failures that interrupt a task execution. In
16
- * all of these cases, DataSync successfully complete the transfer when you start the next
17
- * task execution.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { DataSyncClient, CancelTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import
22
- * // const { DataSyncClient, CancelTaskExecutionCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
23
- * const client = new DataSyncClient(config);
24
- * const command = new CancelTaskExecutionCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link CancelTaskExecutionCommandInput} for command's `input` shape.
29
- * @see {@link CancelTaskExecutionCommandOutput} for command's `response` shape.
30
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
9
+
33
10
  export declare class CancelTaskExecutionCommand extends $Command<CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput, DataSyncClientResolvedConfig> {
34
11
  readonly input: CancelTaskExecutionCommandInput;
35
12
  constructor(input: CancelTaskExecutionCommandInput);
36
- /**
37
- * @internal
38
- */
13
+
39
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput>;
40
15
  private serialize;
41
16
  private deserialize;
@@ -6,43 +6,11 @@ export interface CreateAgentCommandInput extends CreateAgentRequest {
6
6
  }
7
7
  export interface CreateAgentCommandOutput extends CreateAgentResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Activates an DataSync agent that you have deployed on your host. The activation
11
- * process associates your agent with your account. In the activation process, you specify
12
- * information such as the Amazon Web Services Region that you want to activate the agent in. You activate the
13
- * agent in the Amazon Web Services Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your
14
- * tasks are created in this Amazon Web Services Region.</p>
15
- * <p>You can activate the agent in a VPC (virtual private cloud) or provide the agent access to
16
- * a VPC endpoint so you can run tasks without going over the public internet.</p>
17
- * <p>You can use an agent for more than one location. If a task uses multiple agents, all of
18
- * them need to have status AVAILABLE for the task to run. If you use multiple agents for a
19
- * source location, the status of all the agents must be AVAILABLE for the task to run. </p>
20
- *
21
- *
22
- * <p>Agents are automatically updated by Amazon Web Services on a regular basis, using a mechanism that
23
- * ensures minimal interruption to your tasks.</p>
24
- * <p></p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DataSyncClient, CreateAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
29
- * // const { DataSyncClient, CreateAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
30
- * const client = new DataSyncClient(config);
31
- * const command = new CreateAgentCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateAgentCommandInput} for command's `input` shape.
36
- * @see {@link CreateAgentCommandOutput} for command's `response` shape.
37
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
9
+
40
10
  export declare class CreateAgentCommand extends $Command<CreateAgentCommandInput, CreateAgentCommandOutput, DataSyncClientResolvedConfig> {
41
11
  readonly input: CreateAgentCommandInput;
42
12
  constructor(input: CreateAgentCommandInput);
43
- /**
44
- * @internal
45
- */
13
+
46
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAgentCommandInput, CreateAgentCommandOutput>;
47
15
  private serialize;
48
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface CreateLocationEfsCommandInput extends CreateLocationEfsRequest
6
6
  }
7
7
  export interface CreateLocationEfsCommandOutput extends CreateLocationEfsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates an endpoint for an Amazon EFS file system.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DataSyncClient, CreateLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
15
- * // const { DataSyncClient, CreateLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
16
- * const client = new DataSyncClient(config);
17
- * const command = new CreateLocationEfsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateLocationEfsCommandInput} for command's `input` shape.
22
- * @see {@link CreateLocationEfsCommandOutput} for command's `response` shape.
23
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class CreateLocationEfsCommand extends $Command<CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput, DataSyncClientResolvedConfig> {
27
11
  readonly input: CreateLocationEfsCommandInput;
28
12
  constructor(input: CreateLocationEfsCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface CreateLocationFsxWindowsCommandInput extends CreateLocationFsxW
6
6
  }
7
7
  export interface CreateLocationFsxWindowsCommandOutput extends CreateLocationFsxWindowsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates an endpoint for an Amazon FSx for Windows File Server file system.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DataSyncClient, CreateLocationFsxWindowsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
15
- * // const { DataSyncClient, CreateLocationFsxWindowsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
16
- * const client = new DataSyncClient(config);
17
- * const command = new CreateLocationFsxWindowsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateLocationFsxWindowsCommandInput} for command's `input` shape.
22
- * @see {@link CreateLocationFsxWindowsCommandOutput} for command's `response` shape.
23
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class CreateLocationFsxWindowsCommand extends $Command<CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput, DataSyncClientResolvedConfig> {
27
11
  readonly input: CreateLocationFsxWindowsCommandInput;
28
12
  constructor(input: CreateLocationFsxWindowsCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface CreateLocationNfsCommandInput extends CreateLocationNfsRequest
6
6
  }
7
7
  export interface CreateLocationNfsCommandOutput extends CreateLocationNfsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Defines a file system on a Network File System (NFS) server that can be read from or
11
- * written to.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { DataSyncClient, CreateLocationNfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
16
- * // const { DataSyncClient, CreateLocationNfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
17
- * const client = new DataSyncClient(config);
18
- * const command = new CreateLocationNfsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateLocationNfsCommandInput} for command's `input` shape.
23
- * @see {@link CreateLocationNfsCommandOutput} for command's `response` shape.
24
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class CreateLocationNfsCommand extends $Command<CreateLocationNfsCommandInput, CreateLocationNfsCommandOutput, DataSyncClientResolvedConfig> {
28
11
  readonly input: CreateLocationNfsCommandInput;
29
12
  constructor(input: CreateLocationNfsCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationNfsCommandInput, CreateLocationNfsCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface CreateLocationObjectStorageCommandInput extends CreateLocationO
6
6
  }
7
7
  export interface CreateLocationObjectStorageCommandOutput extends CreateLocationObjectStorageResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates an endpoint for a self-managed object storage bucket. For more information
11
- * about self-managed object storage locations, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { DataSyncClient, CreateLocationObjectStorageCommand } from "@aws-sdk/client-datasync"; // ES Modules import
16
- * // const { DataSyncClient, CreateLocationObjectStorageCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
17
- * const client = new DataSyncClient(config);
18
- * const command = new CreateLocationObjectStorageCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateLocationObjectStorageCommandInput} for command's `input` shape.
23
- * @see {@link CreateLocationObjectStorageCommandOutput} for command's `response` shape.
24
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class CreateLocationObjectStorageCommand extends $Command<CreateLocationObjectStorageCommandInput, CreateLocationObjectStorageCommandOutput, DataSyncClientResolvedConfig> {
28
11
  readonly input: CreateLocationObjectStorageCommandInput;
29
12
  constructor(input: CreateLocationObjectStorageCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationObjectStorageCommandInput, CreateLocationObjectStorageCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,35 +6,11 @@ export interface CreateLocationS3CommandInput extends CreateLocationS3Request {
6
6
  }
7
7
  export interface CreateLocationS3CommandOutput extends CreateLocationS3Response, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates an endpoint for an Amazon S3 bucket.</p>
11
- *
12
- *
13
- * <p>For
14
- * more information, see
15
- * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli">Create an Amazon S3 location</a>
16
- * in the <i>DataSync User Guide</i>.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { DataSyncClient, CreateLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import
21
- * // const { DataSyncClient, CreateLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import
22
- * const client = new DataSyncClient(config);
23
- * const command = new CreateLocationS3Command(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link CreateLocationS3CommandInput} for command's `input` shape.
28
- * @see {@link CreateLocationS3CommandOutput} for command's `response` shape.
29
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
9
+
32
10
  export declare class CreateLocationS3Command extends $Command<CreateLocationS3CommandInput, CreateLocationS3CommandOutput, DataSyncClientResolvedConfig> {
33
11
  readonly input: CreateLocationS3CommandInput;
34
12
  constructor(input: CreateLocationS3CommandInput);
35
- /**
36
- * @internal
37
- */
13
+
38
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationS3CommandInput, CreateLocationS3CommandOutput>;
39
15
  private serialize;
40
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface CreateLocationSmbCommandInput extends CreateLocationSmbRequest
6
6
  }
7
7
  export interface CreateLocationSmbCommandOutput extends CreateLocationSmbResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Defines a file system on a Server Message Block (SMB) server that can be read from or
11
- * written to.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { DataSyncClient, CreateLocationSmbCommand } from "@aws-sdk/client-datasync"; // ES Modules import
16
- * // const { DataSyncClient, CreateLocationSmbCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
17
- * const client = new DataSyncClient(config);
18
- * const command = new CreateLocationSmbCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateLocationSmbCommandInput} for command's `input` shape.
23
- * @see {@link CreateLocationSmbCommandOutput} for command's `response` shape.
24
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class CreateLocationSmbCommand extends $Command<CreateLocationSmbCommandInput, CreateLocationSmbCommandOutput, DataSyncClientResolvedConfig> {
28
11
  readonly input: CreateLocationSmbCommandInput;
29
12
  constructor(input: CreateLocationSmbCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationSmbCommandInput, CreateLocationSmbCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,47 +6,11 @@ export interface CreateTaskCommandInput extends CreateTaskRequest {
6
6
  }
7
7
  export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates a task.</p>
11
- * <p>A task includes a source location and a destination location, and a configuration
12
- * that specifies how data is transferred. A task always transfers data from the source
13
- * location to the destination location. The configuration specifies options such as
14
- * task scheduling, bandwidth limits, etc. A task is the complete definition of a data
15
- * transfer.</p>
16
- * <p>When you create a task that transfers data between Amazon Web Services services in different Amazon Web Services Regions,
17
- * one of the two locations that you specify must reside in the Region where DataSync is being
18
- * used. The other location must be specified in a different Region.</p>
19
- * <p>You can transfer data between commercial Amazon Web Services Regions except for China, or between
20
- * Amazon Web Services GovCloud (US) Regions.</p>
21
- *
22
- * <important>
23
- * <p>When you use DataSync to copy files or objects between Amazon Web Services Regions,
24
- * you pay for data transfer between Regions. This is billed as data transfer OUT
25
- * from your source Region to your destination Region. For more information,
26
- * see <a href="http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer">Data Transfer pricing</a>.
27
- * </p>
28
- * </important>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { DataSyncClient, CreateTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import
33
- * // const { DataSyncClient, CreateTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
34
- * const client = new DataSyncClient(config);
35
- * const command = new CreateTaskCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateTaskCommandInput} for command's `input` shape.
40
- * @see {@link CreateTaskCommandOutput} for command's `response` shape.
41
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
9
+
44
10
  export declare class CreateTaskCommand extends $Command<CreateTaskCommandInput, CreateTaskCommandOutput, DataSyncClientResolvedConfig> {
45
11
  readonly input: CreateTaskCommandInput;
46
12
  constructor(input: CreateTaskCommandInput);
47
- /**
48
- * @internal
49
- */
13
+
50
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTaskCommandInput, CreateTaskCommandOutput>;
51
15
  private serialize;
52
16
  private deserialize;
@@ -6,32 +6,11 @@ export interface DeleteAgentCommandInput extends DeleteAgentRequest {
6
6
  }
7
7
  export interface DeleteAgentCommandOutput extends DeleteAgentResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN)
11
- * of the agent in your request. The operation disassociates the agent from your Amazon Web Services account.
12
- * However, it doesn't delete the agent virtual machine (VM) from your on-premises
13
- * environment.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { DataSyncClient, DeleteAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
18
- * // const { DataSyncClient, DeleteAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
19
- * const client = new DataSyncClient(config);
20
- * const command = new DeleteAgentCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DeleteAgentCommandInput} for command's `input` shape.
25
- * @see {@link DeleteAgentCommandOutput} for command's `response` shape.
26
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
9
+
29
10
  export declare class DeleteAgentCommand extends $Command<DeleteAgentCommandInput, DeleteAgentCommandOutput, DataSyncClientResolvedConfig> {
30
11
  readonly input: DeleteAgentCommandInput;
31
12
  constructor(input: DeleteAgentCommandInput);
32
- /**
33
- * @internal
34
- */
13
+
35
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAgentCommandInput, DeleteAgentCommandOutput>;
36
15
  private serialize;
37
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DeleteLocationCommandInput extends DeleteLocationRequest {
6
6
  }
7
7
  export interface DeleteLocationCommandOutput extends DeleteLocationResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the configuration of a location used by DataSync. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DataSyncClient, DeleteLocationCommand } from "@aws-sdk/client-datasync"; // ES Modules import
15
- * // const { DataSyncClient, DeleteLocationCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
16
- * const client = new DataSyncClient(config);
17
- * const command = new DeleteLocationCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteLocationCommandInput} for command's `input` shape.
22
- * @see {@link DeleteLocationCommandOutput} for command's `response` shape.
23
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteLocationCommand extends $Command<DeleteLocationCommandInput, DeleteLocationCommandOutput, DataSyncClientResolvedConfig> {
27
11
  readonly input: DeleteLocationCommandInput;
28
12
  constructor(input: DeleteLocationCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLocationCommandInput, DeleteLocationCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DeleteTaskCommandInput extends DeleteTaskRequest {
6
6
  }
7
7
  export interface DeleteTaskCommandOutput extends DeleteTaskResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes a task.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DataSyncClient, DeleteTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import
15
- * // const { DataSyncClient, DeleteTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
16
- * const client = new DataSyncClient(config);
17
- * const command = new DeleteTaskCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteTaskCommandInput} for command's `input` shape.
22
- * @see {@link DeleteTaskCommandOutput} for command's `response` shape.
23
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteTaskCommand extends $Command<DeleteTaskCommandInput, DeleteTaskCommandOutput, DataSyncClientResolvedConfig> {
27
11
  readonly input: DeleteTaskCommandInput;
28
12
  constructor(input: DeleteTaskCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTaskCommandInput, DeleteTaskCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface DescribeAgentCommandInput extends DescribeAgentRequest {
6
6
  }
7
7
  export interface DescribeAgentCommandOutput extends DescribeAgentResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns metadata such as the name, the network interfaces, and the status (that is,
11
- * whether the agent is running or not) for an agent. To specify which agent to describe, use the
12
- * Amazon Resource Name (ARN) of the agent in your request. </p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { DataSyncClient, DescribeAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
17
- * // const { DataSyncClient, DescribeAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
18
- * const client = new DataSyncClient(config);
19
- * const command = new DescribeAgentCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeAgentCommandInput} for command's `input` shape.
24
- * @see {@link DescribeAgentCommandOutput} for command's `response` shape.
25
- * @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class DescribeAgentCommand extends $Command<DescribeAgentCommandInput, DescribeAgentCommandOutput, DataSyncClientResolvedConfig> {
29
11
  readonly input: DescribeAgentCommandInput;
30
12
  constructor(input: DescribeAgentCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAgentCommandInput, DescribeAgentCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;