1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class DataSync extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: DataSync.Types.ClientConfiguration)
|
13 | config: Config & DataSync.Types.ClientConfiguration;
|
14 | /**
|
15 | * Cancels execution of a task. When you cancel a task execution, the transfer of some files are abruptly interrupted. The contents of files that are transferred to the destination might be incomplete or inconsistent with the source files. However, if you start a new task execution on the same task and you allow the task execution to complete, file content on the destination is complete and consistent. This applies to other unexpected failures that interrupt a task execution. In all of these cases, AWS DataSync successfully complete the transfer when you start the next task execution.
|
16 | */
|
17 | cancelTaskExecution(params: DataSync.Types.CancelTaskExecutionRequest, callback?: (err: AWSError, data: DataSync.Types.CancelTaskExecutionResponse) => void): Request<DataSync.Types.CancelTaskExecutionResponse, AWSError>;
|
18 | /**
|
19 | * Cancels execution of a task. When you cancel a task execution, the transfer of some files are abruptly interrupted. The contents of files that are transferred to the destination might be incomplete or inconsistent with the source files. However, if you start a new task execution on the same task and you allow the task execution to complete, file content on the destination is complete and consistent. This applies to other unexpected failures that interrupt a task execution. In all of these cases, AWS DataSync successfully complete the transfer when you start the next task execution.
|
20 | */
|
21 | cancelTaskExecution(callback?: (err: AWSError, data: DataSync.Types.CancelTaskExecutionResponse) => void): Request<DataSync.Types.CancelTaskExecutionResponse, AWSError>;
|
22 | /**
|
23 | * Activates an AWS DataSync agent that you have deployed on your host. The activation process associates your agent with your account. In the activation process, you specify information such as the AWS Region that you want to activate the agent in. You activate the agent in the AWS Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created in this AWS Region. You can activate the agent in a VPC (Virtual private Cloud) or provide the agent access to a VPC endpoint so you can run tasks without going over the public Internet. You can use an agent for more than one location. If a task uses multiple agents, all of them need to have status AVAILABLE for the task to run. If you use multiple agents for a source location, the status of all the agents must be AVAILABLE for the task to run. Agents are automatically updated by AWS on a regular basis, using a mechanism that ensures minimal interruption to your tasks.
|
24 | */
|
25 | createAgent(params: DataSync.Types.CreateAgentRequest, callback?: (err: AWSError, data: DataSync.Types.CreateAgentResponse) => void): Request<DataSync.Types.CreateAgentResponse, AWSError>;
|
26 | /**
|
27 | * Activates an AWS DataSync agent that you have deployed on your host. The activation process associates your agent with your account. In the activation process, you specify information such as the AWS Region that you want to activate the agent in. You activate the agent in the AWS Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created in this AWS Region. You can activate the agent in a VPC (Virtual private Cloud) or provide the agent access to a VPC endpoint so you can run tasks without going over the public Internet. You can use an agent for more than one location. If a task uses multiple agents, all of them need to have status AVAILABLE for the task to run. If you use multiple agents for a source location, the status of all the agents must be AVAILABLE for the task to run. Agents are automatically updated by AWS on a regular basis, using a mechanism that ensures minimal interruption to your tasks.
|
28 | */
|
29 | createAgent(callback?: (err: AWSError, data: DataSync.Types.CreateAgentResponse) => void): Request<DataSync.Types.CreateAgentResponse, AWSError>;
|
30 | /**
|
31 | * Creates an endpoint for an Amazon EFS file system.
|
32 | */
|
33 | createLocationEfs(params: DataSync.Types.CreateLocationEfsRequest, callback?: (err: AWSError, data: DataSync.Types.CreateLocationEfsResponse) => void): Request<DataSync.Types.CreateLocationEfsResponse, AWSError>;
|
34 | /**
|
35 | * Creates an endpoint for an Amazon EFS file system.
|
36 | */
|
37 | createLocationEfs(callback?: (err: AWSError, data: DataSync.Types.CreateLocationEfsResponse) => void): Request<DataSync.Types.CreateLocationEfsResponse, AWSError>;
|
38 | /**
|
39 | * Creates an endpoint for an Amazon FSx for Windows file system.
|
40 | */
|
41 | createLocationFsxWindows(params: DataSync.Types.CreateLocationFsxWindowsRequest, callback?: (err: AWSError, data: DataSync.Types.CreateLocationFsxWindowsResponse) => void): Request<DataSync.Types.CreateLocationFsxWindowsResponse, AWSError>;
|
42 | /**
|
43 | * Creates an endpoint for an Amazon FSx for Windows file system.
|
44 | */
|
45 | createLocationFsxWindows(callback?: (err: AWSError, data: DataSync.Types.CreateLocationFsxWindowsResponse) => void): Request<DataSync.Types.CreateLocationFsxWindowsResponse, AWSError>;
|
46 | /**
|
47 | * Defines a file system on a Network File System (NFS) server that can be read from or written to
|
48 | */
|
49 | createLocationNfs(params: DataSync.Types.CreateLocationNfsRequest, callback?: (err: AWSError, data: DataSync.Types.CreateLocationNfsResponse) => void): Request<DataSync.Types.CreateLocationNfsResponse, AWSError>;
|
50 | /**
|
51 | * Defines a file system on a Network File System (NFS) server that can be read from or written to
|
52 | */
|
53 | createLocationNfs(callback?: (err: AWSError, data: DataSync.Types.CreateLocationNfsResponse) => void): Request<DataSync.Types.CreateLocationNfsResponse, AWSError>;
|
54 | /**
|
55 | * Creates an endpoint for an Amazon S3 bucket. For AWS DataSync to access a destination S3 bucket, it needs an AWS Identity and Access Management (IAM) role that has the required permissions. You can set up the required permissions by creating an IAM policy that grants the required permissions and attaching the policy to the role. An example of such a policy is shown in the examples section. For more information, see https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location in the AWS DataSync User Guide.
|
56 | */
|
57 | createLocationS3(params: DataSync.Types.CreateLocationS3Request, callback?: (err: AWSError, data: DataSync.Types.CreateLocationS3Response) => void): Request<DataSync.Types.CreateLocationS3Response, AWSError>;
|
58 | /**
|
59 | * Creates an endpoint for an Amazon S3 bucket. For AWS DataSync to access a destination S3 bucket, it needs an AWS Identity and Access Management (IAM) role that has the required permissions. You can set up the required permissions by creating an IAM policy that grants the required permissions and attaching the policy to the role. An example of such a policy is shown in the examples section. For more information, see https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location in the AWS DataSync User Guide.
|
60 | */
|
61 | createLocationS3(callback?: (err: AWSError, data: DataSync.Types.CreateLocationS3Response) => void): Request<DataSync.Types.CreateLocationS3Response, AWSError>;
|
62 | /**
|
63 | * Defines a file system on an Server Message Block (SMB) server that can be read from or written to.
|
64 | */
|
65 | createLocationSmb(params: DataSync.Types.CreateLocationSmbRequest, callback?: (err: AWSError, data: DataSync.Types.CreateLocationSmbResponse) => void): Request<DataSync.Types.CreateLocationSmbResponse, AWSError>;
|
66 | /**
|
67 | * Defines a file system on an Server Message Block (SMB) server that can be read from or written to.
|
68 | */
|
69 | createLocationSmb(callback?: (err: AWSError, data: DataSync.Types.CreateLocationSmbResponse) => void): Request<DataSync.Types.CreateLocationSmbResponse, AWSError>;
|
70 | /**
|
71 | * Creates a task. A task is a set of two locations (source and destination) and a set of Options that you use to control the behavior of a task. If you don't specify Options when you create a task, AWS DataSync populates them with service defaults. When you create a task, it first enters the CREATING state. During CREATING AWS DataSync attempts to mount the on-premises Network File System (NFS) location. The task transitions to the AVAILABLE state without waiting for the AWS location to become mounted. If required, AWS DataSync mounts the AWS location before each task execution. If an agent that is associated with a source (NFS) location goes offline, the task transitions to the UNAVAILABLE status. If the status of the task remains in the CREATING status for more than a few minutes, it means that your agent might be having trouble mounting the source NFS file system. Check the task's ErrorCode and ErrorDetail. Mount issues are often caused by either a misconfigured firewall or a mistyped NFS server host name.
|
72 | */
|
73 | createTask(params: DataSync.Types.CreateTaskRequest, callback?: (err: AWSError, data: DataSync.Types.CreateTaskResponse) => void): Request<DataSync.Types.CreateTaskResponse, AWSError>;
|
74 | /**
|
75 | * Creates a task. A task is a set of two locations (source and destination) and a set of Options that you use to control the behavior of a task. If you don't specify Options when you create a task, AWS DataSync populates them with service defaults. When you create a task, it first enters the CREATING state. During CREATING AWS DataSync attempts to mount the on-premises Network File System (NFS) location. The task transitions to the AVAILABLE state without waiting for the AWS location to become mounted. If required, AWS DataSync mounts the AWS location before each task execution. If an agent that is associated with a source (NFS) location goes offline, the task transitions to the UNAVAILABLE status. If the status of the task remains in the CREATING status for more than a few minutes, it means that your agent might be having trouble mounting the source NFS file system. Check the task's ErrorCode and ErrorDetail. Mount issues are often caused by either a misconfigured firewall or a mistyped NFS server host name.
|
76 | */
|
77 | createTask(callback?: (err: AWSError, data: DataSync.Types.CreateTaskResponse) => void): Request<DataSync.Types.CreateTaskResponse, AWSError>;
|
78 | /**
|
79 | * Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN) of the agent in your request. The operation disassociates the agent from your AWS account. However, it doesn't delete the agent virtual machine (VM) from your on-premises environment.
|
80 | */
|
81 | deleteAgent(params: DataSync.Types.DeleteAgentRequest, callback?: (err: AWSError, data: DataSync.Types.DeleteAgentResponse) => void): Request<DataSync.Types.DeleteAgentResponse, AWSError>;
|
82 | /**
|
83 | * Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN) of the agent in your request. The operation disassociates the agent from your AWS account. However, it doesn't delete the agent virtual machine (VM) from your on-premises environment.
|
84 | */
|
85 | deleteAgent(callback?: (err: AWSError, data: DataSync.Types.DeleteAgentResponse) => void): Request<DataSync.Types.DeleteAgentResponse, AWSError>;
|
86 | /**
|
87 | * Deletes the configuration of a location used by AWS DataSync.
|
88 | */
|
89 | deleteLocation(params: DataSync.Types.DeleteLocationRequest, callback?: (err: AWSError, data: DataSync.Types.DeleteLocationResponse) => void): Request<DataSync.Types.DeleteLocationResponse, AWSError>;
|
90 | /**
|
91 | * Deletes the configuration of a location used by AWS DataSync.
|
92 | */
|
93 | deleteLocation(callback?: (err: AWSError, data: DataSync.Types.DeleteLocationResponse) => void): Request<DataSync.Types.DeleteLocationResponse, AWSError>;
|
94 | /**
|
95 | * Deletes a task.
|
96 | */
|
97 | deleteTask(params: DataSync.Types.DeleteTaskRequest, callback?: (err: AWSError, data: DataSync.Types.DeleteTaskResponse) => void): Request<DataSync.Types.DeleteTaskResponse, AWSError>;
|
98 | /**
|
99 | * Deletes a task.
|
100 | */
|
101 | deleteTask(callback?: (err: AWSError, data: DataSync.Types.DeleteTaskResponse) => void): Request<DataSync.Types.DeleteTaskResponse, AWSError>;
|
102 | /**
|
103 | * Returns metadata such as the name, the network interfaces, and the status (that is, whether the agent is running or not) for an agent. To specify which agent to describe, use the Amazon Resource Name (ARN) of the agent in your request.
|
104 | */
|
105 | describeAgent(params: DataSync.Types.DescribeAgentRequest, callback?: (err: AWSError, data: DataSync.Types.DescribeAgentResponse) => void): Request<DataSync.Types.DescribeAgentResponse, AWSError>;
|
106 | /**
|
107 | * Returns metadata such as the name, the network interfaces, and the status (that is, whether the agent is running or not) for an agent. To specify which agent to describe, use the Amazon Resource Name (ARN) of the agent in your request.
|
108 | */
|
109 | describeAgent(callback?: (err: AWSError, data: DataSync.Types.DescribeAgentResponse) => void): Request<DataSync.Types.DescribeAgentResponse, AWSError>;
|
110 | /**
|
111 | * Returns metadata, such as the path information about an Amazon EFS location.
|
112 | */
|
113 | describeLocationEfs(params: DataSync.Types.DescribeLocationEfsRequest, callback?: (err: AWSError, data: DataSync.Types.DescribeLocationEfsResponse) => void): Request<DataSync.Types.DescribeLocationEfsResponse, AWSError>;
|
114 | /**
|
115 | * Returns metadata, such as the path information about an Amazon EFS location.
|
116 | */
|
117 | describeLocationEfs(callback?: (err: AWSError, data: DataSync.Types.DescribeLocationEfsResponse) => void): Request<DataSync.Types.DescribeLocationEfsResponse, AWSError>;
|
118 | /**
|
119 | * Returns metadata, such as the path information about an Amazon FSx for Windows location.
|
120 | */
|
121 | describeLocationFsxWindows(params: DataSync.Types.DescribeLocationFsxWindowsRequest, callback?: (err: AWSError, data: DataSync.Types.DescribeLocationFsxWindowsResponse) => void): Request<DataSync.Types.DescribeLocationFsxWindowsResponse, AWSError>;
|
122 | /**
|
123 | * Returns metadata, such as the path information about an Amazon FSx for Windows location.
|
124 | */
|
125 | describeLocationFsxWindows(callback?: (err: AWSError, data: DataSync.Types.DescribeLocationFsxWindowsResponse) => void): Request<DataSync.Types.DescribeLocationFsxWindowsResponse, AWSError>;
|
126 | /**
|
127 | * Returns metadata, such as the path information, about a NFS location.
|
128 | */
|
129 | describeLocationNfs(params: DataSync.Types.DescribeLocationNfsRequest, callback?: (err: AWSError, data: DataSync.Types.DescribeLocationNfsResponse) => void): Request<DataSync.Types.DescribeLocationNfsResponse, AWSError>;
|
130 | /**
|
131 | * Returns metadata, such as the path information, about a NFS location.
|
132 | */
|
133 | describeLocationNfs(callback?: (err: AWSError, data: DataSync.Types.DescribeLocationNfsResponse) => void): Request<DataSync.Types.DescribeLocationNfsResponse, AWSError>;
|
134 | /**
|
135 | * Returns metadata, such as bucket name, about an Amazon S3 bucket location.
|
136 | */
|
137 | describeLocationS3(params: DataSync.Types.DescribeLocationS3Request, callback?: (err: AWSError, data: DataSync.Types.DescribeLocationS3Response) => void): Request<DataSync.Types.DescribeLocationS3Response, AWSError>;
|
138 | /**
|
139 | * Returns metadata, such as bucket name, about an Amazon S3 bucket location.
|
140 | */
|
141 | describeLocationS3(callback?: (err: AWSError, data: DataSync.Types.DescribeLocationS3Response) => void): Request<DataSync.Types.DescribeLocationS3Response, AWSError>;
|
142 | /**
|
143 | * Returns metadata, such as the path and user information about a SMB location.
|
144 | */
|
145 | describeLocationSmb(params: DataSync.Types.DescribeLocationSmbRequest, callback?: (err: AWSError, data: DataSync.Types.DescribeLocationSmbResponse) => void): Request<DataSync.Types.DescribeLocationSmbResponse, AWSError>;
|
146 | /**
|
147 | * Returns metadata, such as the path and user information about a SMB location.
|
148 | */
|
149 | describeLocationSmb(callback?: (err: AWSError, data: DataSync.Types.DescribeLocationSmbResponse) => void): Request<DataSync.Types.DescribeLocationSmbResponse, AWSError>;
|
150 | /**
|
151 | * Returns metadata about a task.
|
152 | */
|
153 | describeTask(params: DataSync.Types.DescribeTaskRequest, callback?: (err: AWSError, data: DataSync.Types.DescribeTaskResponse) => void): Request<DataSync.Types.DescribeTaskResponse, AWSError>;
|
154 | /**
|
155 | * Returns metadata about a task.
|
156 | */
|
157 | describeTask(callback?: (err: AWSError, data: DataSync.Types.DescribeTaskResponse) => void): Request<DataSync.Types.DescribeTaskResponse, AWSError>;
|
158 | /**
|
159 | * Returns detailed metadata about a task that is being executed.
|
160 | */
|
161 | describeTaskExecution(params: DataSync.Types.DescribeTaskExecutionRequest, callback?: (err: AWSError, data: DataSync.Types.DescribeTaskExecutionResponse) => void): Request<DataSync.Types.DescribeTaskExecutionResponse, AWSError>;
|
162 | /**
|
163 | * Returns detailed metadata about a task that is being executed.
|
164 | */
|
165 | describeTaskExecution(callback?: (err: AWSError, data: DataSync.Types.DescribeTaskExecutionResponse) => void): Request<DataSync.Types.DescribeTaskExecutionResponse, AWSError>;
|
166 | /**
|
167 | * Returns a list of agents owned by an AWS account in the AWS Region specified in the request. The returned list is ordered by agent Amazon Resource Name (ARN). By default, this operation returns a maximum of 100 agents. This operation supports pagination that enables you to optionally reduce the number of agents returned in a response. If you have more agents than are returned in a response (that is, the response returns only a truncated list of your agents), the response contains a marker that you can specify in your next request to fetch the next page of agents.
|
168 | */
|
169 | listAgents(params: DataSync.Types.ListAgentsRequest, callback?: (err: AWSError, data: DataSync.Types.ListAgentsResponse) => void): Request<DataSync.Types.ListAgentsResponse, AWSError>;
|
170 | /**
|
171 | * Returns a list of agents owned by an AWS account in the AWS Region specified in the request. The returned list is ordered by agent Amazon Resource Name (ARN). By default, this operation returns a maximum of 100 agents. This operation supports pagination that enables you to optionally reduce the number of agents returned in a response. If you have more agents than are returned in a response (that is, the response returns only a truncated list of your agents), the response contains a marker that you can specify in your next request to fetch the next page of agents.
|
172 | */
|
173 | listAgents(callback?: (err: AWSError, data: DataSync.Types.ListAgentsResponse) => void): Request<DataSync.Types.ListAgentsResponse, AWSError>;
|
174 | /**
|
175 | * Returns a lists of source and destination locations. If you have more locations than are returned in a response (that is, the response returns only a truncated list of your agents), the response contains a token that you can specify in your next request to fetch the next page of locations.
|
176 | */
|
177 | listLocations(params: DataSync.Types.ListLocationsRequest, callback?: (err: AWSError, data: DataSync.Types.ListLocationsResponse) => void): Request<DataSync.Types.ListLocationsResponse, AWSError>;
|
178 | /**
|
179 | * Returns a lists of source and destination locations. If you have more locations than are returned in a response (that is, the response returns only a truncated list of your agents), the response contains a token that you can specify in your next request to fetch the next page of locations.
|
180 | */
|
181 | listLocations(callback?: (err: AWSError, data: DataSync.Types.ListLocationsResponse) => void): Request<DataSync.Types.ListLocationsResponse, AWSError>;
|
182 | /**
|
183 | * Returns all the tags associated with a specified resources.
|
184 | */
|
185 | listTagsForResource(params: DataSync.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: DataSync.Types.ListTagsForResourceResponse) => void): Request<DataSync.Types.ListTagsForResourceResponse, AWSError>;
|
186 | /**
|
187 | * Returns all the tags associated with a specified resources.
|
188 | */
|
189 | listTagsForResource(callback?: (err: AWSError, data: DataSync.Types.ListTagsForResourceResponse) => void): Request<DataSync.Types.ListTagsForResourceResponse, AWSError>;
|
190 | /**
|
191 | * Returns a list of executed tasks.
|
192 | */
|
193 | listTaskExecutions(params: DataSync.Types.ListTaskExecutionsRequest, callback?: (err: AWSError, data: DataSync.Types.ListTaskExecutionsResponse) => void): Request<DataSync.Types.ListTaskExecutionsResponse, AWSError>;
|
194 | /**
|
195 | * Returns a list of executed tasks.
|
196 | */
|
197 | listTaskExecutions(callback?: (err: AWSError, data: DataSync.Types.ListTaskExecutionsResponse) => void): Request<DataSync.Types.ListTaskExecutionsResponse, AWSError>;
|
198 | /**
|
199 | * Returns a list of all the tasks.
|
200 | */
|
201 | listTasks(params: DataSync.Types.ListTasksRequest, callback?: (err: AWSError, data: DataSync.Types.ListTasksResponse) => void): Request<DataSync.Types.ListTasksResponse, AWSError>;
|
202 | /**
|
203 | * Returns a list of all the tasks.
|
204 | */
|
205 | listTasks(callback?: (err: AWSError, data: DataSync.Types.ListTasksResponse) => void): Request<DataSync.Types.ListTasksResponse, AWSError>;
|
206 | /**
|
207 | * Starts a specific invocation of a task. A TaskExecution value represents an individual run of a task. Each task can have at most one TaskExecution at a time. TaskExecution has the following transition phases: INITIALIZING | PREPARING | TRANSFERRING | VERIFYING | SUCCESS/FAILURE. For detailed information, see the Task Execution section in the Components and Terminology topic in the AWS DataSync User Guide.
|
208 | */
|
209 | startTaskExecution(params: DataSync.Types.StartTaskExecutionRequest, callback?: (err: AWSError, data: DataSync.Types.StartTaskExecutionResponse) => void): Request<DataSync.Types.StartTaskExecutionResponse, AWSError>;
|
210 | /**
|
211 | * Starts a specific invocation of a task. A TaskExecution value represents an individual run of a task. Each task can have at most one TaskExecution at a time. TaskExecution has the following transition phases: INITIALIZING | PREPARING | TRANSFERRING | VERIFYING | SUCCESS/FAILURE. For detailed information, see the Task Execution section in the Components and Terminology topic in the AWS DataSync User Guide.
|
212 | */
|
213 | startTaskExecution(callback?: (err: AWSError, data: DataSync.Types.StartTaskExecutionResponse) => void): Request<DataSync.Types.StartTaskExecutionResponse, AWSError>;
|
214 | /**
|
215 | * Applies a key-value pair to an AWS resource.
|
216 | */
|
217 | tagResource(params: DataSync.Types.TagResourceRequest, callback?: (err: AWSError, data: DataSync.Types.TagResourceResponse) => void): Request<DataSync.Types.TagResourceResponse, AWSError>;
|
218 | /**
|
219 | * Applies a key-value pair to an AWS resource.
|
220 | */
|
221 | tagResource(callback?: (err: AWSError, data: DataSync.Types.TagResourceResponse) => void): Request<DataSync.Types.TagResourceResponse, AWSError>;
|
222 | /**
|
223 | * Removes a tag from an AWS resource.
|
224 | */
|
225 | untagResource(params: DataSync.Types.UntagResourceRequest, callback?: (err: AWSError, data: DataSync.Types.UntagResourceResponse) => void): Request<DataSync.Types.UntagResourceResponse, AWSError>;
|
226 | /**
|
227 | * Removes a tag from an AWS resource.
|
228 | */
|
229 | untagResource(callback?: (err: AWSError, data: DataSync.Types.UntagResourceResponse) => void): Request<DataSync.Types.UntagResourceResponse, AWSError>;
|
230 | /**
|
231 | * Updates the name of an agent.
|
232 | */
|
233 | updateAgent(params: DataSync.Types.UpdateAgentRequest, callback?: (err: AWSError, data: DataSync.Types.UpdateAgentResponse) => void): Request<DataSync.Types.UpdateAgentResponse, AWSError>;
|
234 | /**
|
235 | * Updates the name of an agent.
|
236 | */
|
237 | updateAgent(callback?: (err: AWSError, data: DataSync.Types.UpdateAgentResponse) => void): Request<DataSync.Types.UpdateAgentResponse, AWSError>;
|
238 | /**
|
239 | * Updates the metadata associated with a task.
|
240 | */
|
241 | updateTask(params: DataSync.Types.UpdateTaskRequest, callback?: (err: AWSError, data: DataSync.Types.UpdateTaskResponse) => void): Request<DataSync.Types.UpdateTaskResponse, AWSError>;
|
242 | /**
|
243 | * Updates the metadata associated with a task.
|
244 | */
|
245 | updateTask(callback?: (err: AWSError, data: DataSync.Types.UpdateTaskResponse) => void): Request<DataSync.Types.UpdateTaskResponse, AWSError>;
|
246 | }
|
247 | declare namespace DataSync {
|
248 | export type ActivationKey = string;
|
249 | export type AgentArn = string;
|
250 | export type AgentArnList = AgentArn[];
|
251 | export type AgentList = AgentListEntry[];
|
252 | export interface AgentListEntry {
|
253 | |
254 |
|
255 |
|
256 | AgentArn?: AgentArn;
|
257 | |
258 |
|
259 |
|
260 | Name?: TagValue;
|
261 | |
262 |
|
263 |
|
264 | Status?: AgentStatus;
|
265 | }
|
266 | export type AgentStatus = "ONLINE"|"OFFLINE"|string;
|
267 | export type Atime = "NONE"|"BEST_EFFORT"|string;
|
268 | export type BytesPerSecond = number;
|
269 | export interface CancelTaskExecutionRequest {
|
270 | |
271 |
|
272 |
|
273 | TaskExecutionArn: TaskExecutionArn;
|
274 | }
|
275 | export interface CancelTaskExecutionResponse {
|
276 | }
|
277 | export interface CreateAgentRequest {
|
278 | |
279 |
|
280 |
|
281 | ActivationKey: ActivationKey;
|
282 | |
283 |
|
284 |
|
285 | AgentName?: TagValue;
|
286 | |
287 |
|
288 |
|
289 | Tags?: TagList;
|
290 | |
291 |
|
292 |
|
293 | VpcEndpointId?: VpcEndpointId;
|
294 | |
295 |
|
296 |
|
297 | SubnetArns?: PLSubnetArnList;
|
298 | |
299 |
|
300 |
|
301 | SecurityGroupArns?: PLSecurityGroupArnList;
|
302 | }
|
303 | export interface CreateAgentResponse {
|
304 | |
305 |
|
306 |
|
307 | AgentArn?: AgentArn;
|
308 | }
|
309 | export interface CreateLocationEfsRequest {
|
310 | |
311 |
|
312 |
|
313 | Subdirectory?: EfsSubdirectory;
|
314 | |
315 |
|
316 |
|
317 | EfsFilesystemArn: EfsFilesystemArn;
|
318 | |
319 |
|
320 |
|
321 | Ec2Config: Ec2Config;
|
322 | |
323 |
|
324 |
|
325 | Tags?: TagList;
|
326 | }
|
327 | export interface CreateLocationEfsResponse {
|
328 | |
329 |
|
330 |
|
331 | LocationArn?: LocationArn;
|
332 | }
|
333 | export interface CreateLocationFsxWindowsRequest {
|
334 | |
335 |
|
336 |
|
337 | Subdirectory?: FsxWindowsSubdirectory;
|
338 | |
339 |
|
340 |
|
341 | FsxFilesystemArn: FsxFilesystemArn;
|
342 | |
343 |
|
344 |
|
345 | SecurityGroupArns: Ec2SecurityGroupArnList;
|
346 | |
347 |
|
348 |
|
349 | Tags?: TagList;
|
350 | |
351 |
|
352 |
|
353 | User: SmbUser;
|
354 | |
355 |
|
356 |
|
357 | Domain?: SmbDomain;
|
358 | |
359 |
|
360 |
|
361 | Password: SmbPassword;
|
362 | }
|
363 | export interface CreateLocationFsxWindowsResponse {
|
364 | |
365 |
|
366 |
|
367 | LocationArn?: LocationArn;
|
368 | }
|
369 | export interface CreateLocationNfsRequest {
|
370 | |
371 |
|
372 |
|
373 | Subdirectory: NfsSubdirectory;
|
374 | |
375 |
|
376 |
|
377 | ServerHostname: ServerHostname;
|
378 | |
379 |
|
380 |
|
381 | OnPremConfig: OnPremConfig;
|
382 | |
383 |
|
384 |
|
385 | MountOptions?: NfsMountOptions;
|
386 | |
387 |
|
388 |
|
389 | Tags?: TagList;
|
390 | }
|
391 | export interface CreateLocationNfsResponse {
|
392 | |
393 |
|
394 |
|
395 | LocationArn?: LocationArn;
|
396 | }
|
397 | export interface CreateLocationS3Request {
|
398 | |
399 |
|
400 |
|
401 | Subdirectory?: S3Subdirectory;
|
402 | |
403 |
|
404 |
|
405 | S3BucketArn: S3BucketArn;
|
406 | |
407 |
|
408 |
|
409 | S3StorageClass?: S3StorageClass;
|
410 | S3Config: S3Config;
|
411 | |
412 |
|
413 |
|
414 | Tags?: TagList;
|
415 | }
|
416 | export interface CreateLocationS3Response {
|
417 | |
418 |
|
419 |
|
420 | LocationArn?: LocationArn;
|
421 | }
|
422 | export interface CreateLocationSmbRequest {
|
423 | |
424 |
|
425 |
|
426 | Subdirectory: SmbSubdirectory;
|
427 | |
428 |
|
429 |
|
430 | ServerHostname: ServerHostname;
|
431 | |
432 |
|
433 |
|
434 | User: SmbUser;
|
435 | |
436 |
|
437 |
|
438 | Domain?: SmbDomain;
|
439 | |
440 |
|
441 |
|
442 | Password: SmbPassword;
|
443 | |
444 |
|
445 |
|
446 | AgentArns: AgentArnList;
|
447 | |
448 |
|
449 |
|
450 | MountOptions?: SmbMountOptions;
|
451 | |
452 |
|
453 |
|
454 | Tags?: TagList;
|
455 | }
|
456 | export interface CreateLocationSmbResponse {
|
457 | |
458 |
|
459 |
|
460 | LocationArn?: LocationArn;
|
461 | }
|
462 | export interface CreateTaskRequest {
|
463 | |
464 |
|
465 |
|
466 | SourceLocationArn: LocationArn;
|
467 | |
468 |
|
469 |
|
470 | DestinationLocationArn: LocationArn;
|
471 | |
472 |
|
473 |
|
474 | CloudWatchLogGroupArn?: LogGroupArn;
|
475 | |
476 |
|
477 |
|
478 | Name?: TagValue;
|
479 | |
480 |
|
481 |
|
482 | Options?: Options;
|
483 | |
484 |
|
485 |
|
486 | Excludes?: FilterList;
|
487 | |
488 |
|
489 |
|
490 | Schedule?: TaskSchedule;
|
491 | |
492 |
|
493 |
|
494 | Tags?: TagList;
|
495 | }
|
496 | export interface CreateTaskResponse {
|
497 | |
498 |
|
499 |
|
500 | TaskArn?: TaskArn;
|
501 | }
|
502 | export interface DeleteAgentRequest {
|
503 | |
504 |
|
505 |
|
506 | AgentArn: AgentArn;
|
507 | }
|
508 | export interface DeleteAgentResponse {
|
509 | }
|
510 | export interface DeleteLocationRequest {
|
511 | |
512 |
|
513 |
|
514 | LocationArn: LocationArn;
|
515 | }
|
516 | export interface DeleteLocationResponse {
|
517 | }
|
518 | export interface DeleteTaskRequest {
|
519 | |
520 |
|
521 |
|
522 | TaskArn: TaskArn;
|
523 | }
|
524 | export interface DeleteTaskResponse {
|
525 | }
|
526 | export interface DescribeAgentRequest {
|
527 | |
528 |
|
529 |
|
530 | AgentArn: AgentArn;
|
531 | }
|
532 | export interface DescribeAgentResponse {
|
533 | |
534 |
|
535 |
|
536 | AgentArn?: AgentArn;
|
537 | |
538 |
|
539 |
|
540 | Name?: TagValue;
|
541 | |
542 |
|
543 |
|
544 | Status?: AgentStatus;
|
545 | |
546 |
|
547 |
|
548 | LastConnectionTime?: Time;
|
549 | |
550 |
|
551 |
|
552 | CreationTime?: Time;
|
553 | |
554 |
|
555 |
|
556 | EndpointType?: EndpointType;
|
557 | |
558 |
|
559 |
|
560 | PrivateLinkConfig?: PrivateLinkConfig;
|
561 | }
|
562 | export interface DescribeLocationEfsRequest {
|
563 | |
564 |
|
565 |
|
566 | LocationArn: LocationArn;
|
567 | }
|
568 | export interface DescribeLocationEfsResponse {
|
569 | |
570 |
|
571 |
|
572 | LocationArn?: LocationArn;
|
573 | |
574 |
|
575 |
|
576 | LocationUri?: LocationUri;
|
577 | Ec2Config?: Ec2Config;
|
578 | |
579 |
|
580 |
|
581 | CreationTime?: Time;
|
582 | }
|
583 | export interface DescribeLocationFsxWindowsRequest {
|
584 | |
585 |
|
586 |
|
587 | LocationArn: LocationArn;
|
588 | }
|
589 | export interface DescribeLocationFsxWindowsResponse {
|
590 | |
591 |
|
592 |
|
593 | LocationArn?: LocationArn;
|
594 | |
595 |
|
596 |
|
597 | LocationUri?: LocationUri;
|
598 | |
599 |
|
600 |
|
601 | SecurityGroupArns?: Ec2SecurityGroupArnList;
|
602 | |
603 |
|
604 |
|
605 | CreationTime?: Time;
|
606 | |
607 |
|
608 |
|
609 | User?: SmbUser;
|
610 | |
611 |
|
612 |
|
613 | Domain?: SmbDomain;
|
614 | }
|
615 | export interface DescribeLocationNfsRequest {
|
616 | |
617 |
|
618 |
|
619 | LocationArn: LocationArn;
|
620 | }
|
621 | export interface DescribeLocationNfsResponse {
|
622 | |
623 |
|
624 |
|
625 | LocationArn?: LocationArn;
|
626 | |
627 |
|
628 |
|
629 | LocationUri?: LocationUri;
|
630 | OnPremConfig?: OnPremConfig;
|
631 | |
632 |
|
633 |
|
634 | MountOptions?: NfsMountOptions;
|
635 | |
636 |
|
637 |
|
638 | CreationTime?: Time;
|
639 | }
|
640 | export interface DescribeLocationS3Request {
|
641 | |
642 |
|
643 |
|
644 | LocationArn: LocationArn;
|
645 | }
|
646 | export interface DescribeLocationS3Response {
|
647 | |
648 |
|
649 |
|
650 | LocationArn?: LocationArn;
|
651 | |
652 |
|
653 |
|
654 | LocationUri?: LocationUri;
|
655 | |
656 |
|
657 |
|
658 | S3StorageClass?: S3StorageClass;
|
659 | S3Config?: S3Config;
|
660 | |
661 |
|
662 |
|
663 | CreationTime?: Time;
|
664 | }
|
665 | export interface DescribeLocationSmbRequest {
|
666 | |
667 |
|
668 |
|
669 | LocationArn: LocationArn;
|
670 | }
|
671 | export interface DescribeLocationSmbResponse {
|
672 | |
673 |
|
674 |
|
675 | LocationArn?: LocationArn;
|
676 | |
677 |
|
678 |
|
679 | LocationUri?: LocationUri;
|
680 | |
681 |
|
682 |
|
683 | AgentArns?: AgentArnList;
|
684 | |
685 |
|
686 |
|
687 | User?: SmbUser;
|
688 | |
689 |
|
690 |
|
691 | Domain?: SmbDomain;
|
692 | |
693 |
|
694 |
|
695 | MountOptions?: SmbMountOptions;
|
696 | |
697 |
|
698 |
|
699 | CreationTime?: Time;
|
700 | }
|
701 | export interface DescribeTaskExecutionRequest {
|
702 | |
703 |
|
704 |
|
705 | TaskExecutionArn: TaskExecutionArn;
|
706 | }
|
707 | export interface DescribeTaskExecutionResponse {
|
708 | |
709 |
|
710 |
|
711 | TaskExecutionArn?: TaskExecutionArn;
|
712 | |
713 |
|
714 |
|
715 | Status?: TaskExecutionStatus;
|
716 | Options?: Options;
|
717 | |
718 |
|
719 |
|
720 | Excludes?: FilterList;
|
721 | |
722 |
|
723 |
|
724 | Includes?: FilterList;
|
725 | |
726 |
|
727 |
|
728 | StartTime?: Time;
|
729 | |
730 |
|
731 |
|
732 | EstimatedFilesToTransfer?: long;
|
733 | |
734 |
|
735 |
|
736 | EstimatedBytesToTransfer?: long;
|
737 | |
738 |
|
739 |
|
740 | FilesTransferred?: long;
|
741 | |
742 |
|
743 |
|
744 | BytesWritten?: long;
|
745 | |
746 |
|
747 |
|
748 | BytesTransferred?: long;
|
749 | |
750 |
|
751 |
|
752 | Result?: TaskExecutionResultDetail;
|
753 | }
|
754 | export interface DescribeTaskRequest {
|
755 | |
756 |
|
757 |
|
758 | TaskArn: TaskArn;
|
759 | }
|
760 | export interface DescribeTaskResponse {
|
761 | |
762 |
|
763 |
|
764 | TaskArn?: TaskArn;
|
765 | |
766 |
|
767 |
|
768 | Status?: TaskStatus;
|
769 | |
770 |
|
771 |
|
772 | Name?: TagValue;
|
773 | |
774 |
|
775 |
|
776 | CurrentTaskExecutionArn?: TaskExecutionArn;
|
777 | |
778 |
|
779 |
|
780 | SourceLocationArn?: LocationArn;
|
781 | |
782 |
|
783 |
|
784 | DestinationLocationArn?: LocationArn;
|
785 | |
786 |
|
787 |
|
788 | CloudWatchLogGroupArn?: LogGroupArn;
|
789 | |
790 |
|
791 |
|
792 | SourceNetworkInterfaceArns?: SourceNetworkInterfaceArns;
|
793 | |
794 |
|
795 |
|
796 | DestinationNetworkInterfaceArns?: DestinationNetworkInterfaceArns;
|
797 | |
798 |
|
799 |
|
800 | Options?: Options;
|
801 | |
802 |
|
803 |
|
804 | Excludes?: FilterList;
|
805 | |
806 |
|
807 |
|
808 | Schedule?: TaskSchedule;
|
809 | |
810 |
|
811 |
|
812 | ErrorCode?: string;
|
813 | |
814 |
|
815 |
|
816 | ErrorDetail?: string;
|
817 | |
818 |
|
819 |
|
820 | CreationTime?: Time;
|
821 | }
|
822 | export type DestinationNetworkInterfaceArns = NetworkInterfaceArn[];
|
823 | export type Duration = number;
|
824 | export interface Ec2Config {
|
825 | |
826 |
|
827 |
|
828 | SubnetArn: Ec2SubnetArn;
|
829 | |
830 |
|
831 |
|
832 | SecurityGroupArns: Ec2SecurityGroupArnList;
|
833 | }
|
834 | export type Ec2SecurityGroupArn = string;
|
835 | export type Ec2SecurityGroupArnList = Ec2SecurityGroupArn[];
|
836 | export type Ec2SubnetArn = string;
|
837 | export type EfsFilesystemArn = string;
|
838 | export type EfsSubdirectory = string;
|
839 | export type Endpoint = string;
|
840 | export type EndpointType = "PUBLIC"|"PRIVATE_LINK"|"FIPS"|string;
|
841 | export type FilterList = FilterRule[];
|
842 | export interface FilterRule {
|
843 | |
844 |
|
845 |
|
846 | FilterType?: FilterType;
|
847 | |
848 |
|
849 |
|
850 | Value?: FilterValue;
|
851 | }
|
852 | export type FilterType = "SIMPLE_PATTERN"|string;
|
853 | export type FilterValue = string;
|
854 | export type FsxFilesystemArn = string;
|
855 | export type FsxWindowsSubdirectory = string;
|
856 | export type Gid = "NONE"|"INT_VALUE"|"NAME"|"BOTH"|string;
|
857 | export type IamRoleArn = string;
|
858 | export interface ListAgentsRequest {
|
859 | |
860 |
|
861 |
|
862 | MaxResults?: MaxResults;
|
863 | |
864 |
|
865 |
|
866 | NextToken?: NextToken;
|
867 | }
|
868 | export interface ListAgentsResponse {
|
869 | |
870 |
|
871 |
|
872 | Agents?: AgentList;
|
873 | |
874 |
|
875 |
|
876 | NextToken?: NextToken;
|
877 | }
|
878 | export interface ListLocationsRequest {
|
879 | |
880 |
|
881 |
|
882 | MaxResults?: MaxResults;
|
883 | |
884 |
|
885 |
|
886 | NextToken?: NextToken;
|
887 | }
|
888 | export interface ListLocationsResponse {
|
889 | |
890 |
|
891 |
|
892 | Locations?: LocationList;
|
893 | |
894 |
|
895 |
|
896 | NextToken?: NextToken;
|
897 | }
|
898 | export interface ListTagsForResourceRequest {
|
899 | |
900 |
|
901 |
|
902 | ResourceArn: TaggableResourceArn;
|
903 | |
904 |
|
905 |
|
906 | MaxResults?: MaxResults;
|
907 | |
908 |
|
909 |
|
910 | NextToken?: NextToken;
|
911 | }
|
912 | export interface ListTagsForResourceResponse {
|
913 | |
914 |
|
915 |
|
916 | Tags?: TagList;
|
917 | |
918 |
|
919 |
|
920 | NextToken?: NextToken;
|
921 | }
|
922 | export interface ListTaskExecutionsRequest {
|
923 | |
924 |
|
925 |
|
926 | TaskArn?: TaskArn;
|
927 | |
928 |
|
929 |
|
930 | MaxResults?: MaxResults;
|
931 | |
932 |
|
933 |
|
934 | NextToken?: NextToken;
|
935 | }
|
936 | export interface ListTaskExecutionsResponse {
|
937 | |
938 |
|
939 |
|
940 | TaskExecutions?: TaskExecutionList;
|
941 | |
942 |
|
943 |
|
944 | NextToken?: NextToken;
|
945 | }
|
946 | export interface ListTasksRequest {
|
947 | |
948 |
|
949 |
|
950 | MaxResults?: MaxResults;
|
951 | |
952 |
|
953 |
|
954 | NextToken?: NextToken;
|
955 | }
|
956 | export interface ListTasksResponse {
|
957 | |
958 |
|
959 |
|
960 | Tasks?: TaskList;
|
961 | |
962 |
|
963 |
|
964 | NextToken?: NextToken;
|
965 | }
|
966 | export type LocationArn = string;
|
967 | export type LocationList = LocationListEntry[];
|
968 | export interface LocationListEntry {
|
969 | |
970 |
|
971 |
|
972 | LocationArn?: LocationArn;
|
973 | |
974 |
|
975 |
|
976 | LocationUri?: LocationUri;
|
977 | }
|
978 | export type LocationUri = string;
|
979 | export type LogGroupArn = string;
|
980 | export type LogLevel = "OFF"|"BASIC"|"TRANSFER"|string;
|
981 | export type MaxResults = number;
|
982 | export type Mtime = "NONE"|"PRESERVE"|string;
|
983 | export type NetworkInterfaceArn = string;
|
984 | export type NextToken = string;
|
985 | export interface NfsMountOptions {
|
986 | |
987 |
|
988 |
|
989 | Version?: NfsVersion;
|
990 | }
|
991 | export type NfsSubdirectory = string;
|
992 | export type NfsVersion = "AUTOMATIC"|"NFS3"|"NFS4_0"|"NFS4_1"|string;
|
993 | export interface OnPremConfig {
|
994 | |
995 |
|
996 |
|
997 | AgentArns: AgentArnList;
|
998 | }
|
999 | export interface Options {
|
1000 | |
1001 |
|
1002 |
|
1003 | VerifyMode?: VerifyMode;
|
1004 | |
1005 |
|
1006 |
|
1007 | OverwriteMode?: OverwriteMode;
|
1008 | |
1009 |
|
1010 |
|
1011 | Atime?: Atime;
|
1012 | |
1013 |
|
1014 |
|
1015 | Mtime?: Mtime;
|
1016 | |
1017 |
|
1018 |
|
1019 | Uid?: Uid;
|
1020 | |
1021 |
|
1022 |
|
1023 | Gid?: Gid;
|
1024 | |
1025 |
|
1026 |
|
1027 | PreserveDeletedFiles?: PreserveDeletedFiles;
|
1028 | |
1029 |
|
1030 |
|
1031 | PreserveDevices?: PreserveDevices;
|
1032 | |
1033 |
|
1034 |
|
1035 | PosixPermissions?: PosixPermissions;
|
1036 | |
1037 |
|
1038 |
|
1039 | BytesPerSecond?: BytesPerSecond;
|
1040 | |
1041 |
|
1042 |
|
1043 | TaskQueueing?: TaskQueueing;
|
1044 | |
1045 |
|
1046 |
|
1047 | LogLevel?: LogLevel;
|
1048 | }
|
1049 | export type OverwriteMode = "ALWAYS"|"NEVER"|string;
|
1050 | export type PLSecurityGroupArnList = Ec2SecurityGroupArn[];
|
1051 | export type PLSubnetArnList = Ec2SubnetArn[];
|
1052 | export type PhaseStatus = "PENDING"|"SUCCESS"|"ERROR"|string;
|
1053 | export type PosixPermissions = "NONE"|"PRESERVE"|string;
|
1054 | export type PreserveDeletedFiles = "PRESERVE"|"REMOVE"|string;
|
1055 | export type PreserveDevices = "NONE"|"PRESERVE"|string;
|
1056 | export interface PrivateLinkConfig {
|
1057 | |
1058 |
|
1059 |
|
1060 | VpcEndpointId?: VpcEndpointId;
|
1061 | |
1062 |
|
1063 |
|
1064 | PrivateLinkEndpoint?: Endpoint;
|
1065 | |
1066 |
|
1067 |
|
1068 | SubnetArns?: PLSubnetArnList;
|
1069 | |
1070 |
|
1071 |
|
1072 | SecurityGroupArns?: PLSecurityGroupArnList;
|
1073 | }
|
1074 | export type S3BucketArn = string;
|
1075 | export interface S3Config {
|
1076 | |
1077 |
|
1078 |
|
1079 | BucketAccessRoleArn: IamRoleArn;
|
1080 | }
|
1081 | export type S3StorageClass = "STANDARD"|"STANDARD_IA"|"ONEZONE_IA"|"INTELLIGENT_TIERING"|"GLACIER"|"DEEP_ARCHIVE"|string;
|
1082 | export type S3Subdirectory = string;
|
1083 | export type ScheduleExpressionCron = string;
|
1084 | export type ServerHostname = string;
|
1085 | export type SmbDomain = string;
|
1086 | export interface SmbMountOptions {
|
1087 | |
1088 |
|
1089 |
|
1090 | Version?: SmbVersion;
|
1091 | }
|
1092 | export type SmbPassword = string;
|
1093 | export type SmbSubdirectory = string;
|
1094 | export type SmbUser = string;
|
1095 | export type SmbVersion = "AUTOMATIC"|"SMB2"|"SMB3"|string;
|
1096 | export type SourceNetworkInterfaceArns = NetworkInterfaceArn[];
|
1097 | export interface StartTaskExecutionRequest {
|
1098 | |
1099 |
|
1100 |
|
1101 | TaskArn: TaskArn;
|
1102 | OverrideOptions?: Options;
|
1103 | |
1104 |
|
1105 |
|
1106 | Includes?: FilterList;
|
1107 | }
|
1108 | export interface StartTaskExecutionResponse {
|
1109 | |
1110 |
|
1111 |
|
1112 | TaskExecutionArn?: TaskExecutionArn;
|
1113 | }
|
1114 | export type TagKey = string;
|
1115 | export type TagKeyList = TagKey[];
|
1116 | export type TagList = TagListEntry[];
|
1117 | export interface TagListEntry {
|
1118 | |
1119 |
|
1120 |
|
1121 | Key: TagKey;
|
1122 | |
1123 |
|
1124 |
|
1125 | Value?: TagValue;
|
1126 | }
|
1127 | export interface TagResourceRequest {
|
1128 | |
1129 |
|
1130 |
|
1131 | ResourceArn: TaggableResourceArn;
|
1132 | |
1133 |
|
1134 |
|
1135 | Tags: TagList;
|
1136 | }
|
1137 | export interface TagResourceResponse {
|
1138 | }
|
1139 | export type TagValue = string;
|
1140 | export type TaggableResourceArn = string;
|
1141 | export type TaskArn = string;
|
1142 | export type TaskExecutionArn = string;
|
1143 | export type TaskExecutionList = TaskExecutionListEntry[];
|
1144 | export interface TaskExecutionListEntry {
|
1145 | |
1146 |
|
1147 |
|
1148 | TaskExecutionArn?: TaskExecutionArn;
|
1149 | |
1150 |
|
1151 |
|
1152 | Status?: TaskExecutionStatus;
|
1153 | }
|
1154 | export interface TaskExecutionResultDetail {
|
1155 | |
1156 |
|
1157 |
|
1158 | PrepareDuration?: Duration;
|
1159 | |
1160 |
|
1161 |
|
1162 | PrepareStatus?: PhaseStatus;
|
1163 | |
1164 |
|
1165 |
|
1166 | TotalDuration?: Duration;
|
1167 | |
1168 |
|
1169 |
|
1170 | TransferDuration?: Duration;
|
1171 | |
1172 |
|
1173 |
|
1174 | TransferStatus?: PhaseStatus;
|
1175 | |
1176 |
|
1177 |
|
1178 | VerifyDuration?: Duration;
|
1179 | |
1180 |
|
1181 |
|
1182 | VerifyStatus?: PhaseStatus;
|
1183 | |
1184 |
|
1185 |
|
1186 | ErrorCode?: string;
|
1187 | |
1188 |
|
1189 |
|
1190 | ErrorDetail?: string;
|
1191 | }
|
1192 | export type TaskExecutionStatus = "QUEUED"|"LAUNCHING"|"PREPARING"|"TRANSFERRING"|"VERIFYING"|"SUCCESS"|"ERROR"|string;
|
1193 | export type TaskList = TaskListEntry[];
|
1194 | export interface TaskListEntry {
|
1195 | |
1196 |
|
1197 |
|
1198 | TaskArn?: TaskArn;
|
1199 | |
1200 |
|
1201 |
|
1202 | Status?: TaskStatus;
|
1203 | |
1204 |
|
1205 |
|
1206 | Name?: TagValue;
|
1207 | }
|
1208 | export type TaskQueueing = "ENABLED"|"DISABLED"|string;
|
1209 | export interface TaskSchedule {
|
1210 | |
1211 |
|
1212 |
|
1213 | ScheduleExpression: ScheduleExpressionCron;
|
1214 | }
|
1215 | export type TaskStatus = "AVAILABLE"|"CREATING"|"QUEUED"|"RUNNING"|"UNAVAILABLE"|string;
|
1216 | export type Time = Date;
|
1217 | export type Uid = "NONE"|"INT_VALUE"|"NAME"|"BOTH"|string;
|
1218 | export interface UntagResourceRequest {
|
1219 | |
1220 |
|
1221 |
|
1222 | ResourceArn: TaggableResourceArn;
|
1223 | |
1224 |
|
1225 |
|
1226 | Keys: TagKeyList;
|
1227 | }
|
1228 | export interface UntagResourceResponse {
|
1229 | }
|
1230 | export interface UpdateAgentRequest {
|
1231 | |
1232 |
|
1233 |
|
1234 | AgentArn: AgentArn;
|
1235 | |
1236 |
|
1237 |
|
1238 | Name?: TagValue;
|
1239 | }
|
1240 | export interface UpdateAgentResponse {
|
1241 | }
|
1242 | export interface UpdateTaskRequest {
|
1243 | |
1244 |
|
1245 |
|
1246 | TaskArn: TaskArn;
|
1247 | Options?: Options;
|
1248 | |
1249 |
|
1250 |
|
1251 | Excludes?: FilterList;
|
1252 | |
1253 |
|
1254 |
|
1255 | Schedule?: TaskSchedule;
|
1256 | |
1257 |
|
1258 |
|
1259 | Name?: TagValue;
|
1260 | |
1261 |
|
1262 |
|
1263 | CloudWatchLogGroupArn?: LogGroupArn;
|
1264 | }
|
1265 | export interface UpdateTaskResponse {
|
1266 | }
|
1267 | export type VerifyMode = "POINT_IN_TIME_CONSISTENT"|"ONLY_FILES_TRANSFERRED"|"NONE"|string;
|
1268 | export type VpcEndpointId = string;
|
1269 | export type long = number;
|
1270 | |
1271 |
|
1272 |
|
1273 | export type apiVersion = "2018-11-09"|"latest"|string;
|
1274 | export interface ClientApiVersions {
|
1275 | |
1276 |
|
1277 |
|
1278 | apiVersion?: apiVersion;
|
1279 | }
|
1280 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1281 | |
1282 |
|
1283 |
|
1284 | export import Types = DataSync;
|
1285 | }
|
1286 | export = DataSync;
|