fsx_describe_data_repository_tasks: Returns the description of specific Amazon FSx for Lustre...

Description Usage Arguments Value Request syntax

View source: R/fsx_operations.R

Description

Returns the description of specific Amazon FSx for Lustre data repository tasks, if one or more TaskIds values are provided in the request, or if filters are used in the request. You can use filters to narrow the response to include just tasks for specific file systems, or tasks in a specific lifecycle state. Otherwise, it returns all data repository tasks owned by your AWS account in the AWS Region of the endpoint that you're calling.

When retrieving all tasks, you can paginate the response by using the optional MaxResults parameter to limit the number of tasks returned in a response. If more tasks remain, Amazon FSx returns a NextToken value in the response. In this case, send a later request with the NextToken request parameter set to the value of NextToken from the last response.

Usage

1
2
fsx_describe_data_repository_tasks(TaskIds, Filters, MaxResults,
  NextToken)

Arguments

TaskIds

(Optional) IDs of the tasks whose descriptions you want to retrieve (String).

Filters

(Optional) You can use filters to narrow the describe_data_repository_tasks response to include just tasks for specific file systems, or tasks in a specific lifecycle state.

MaxResults
NextToken

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
list(
  DataRepositoryTasks = list(
    list(
      TaskId = "string",
      Lifecycle = "PENDING"|"EXECUTING"|"FAILED"|"SUCCEEDED"|"CANCELED"|"CANCELING",
      Type = "EXPORT_TO_REPOSITORY",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      StartTime = as.POSIXct(
        "2015-01-01"
      ),
      EndTime = as.POSIXct(
        "2015-01-01"
      ),
      ResourceARN = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      FileSystemId = "string",
      Paths = list(
        "string"
      ),
      FailureDetails = list(
        Message = "string"
      ),
      Status = list(
        TotalCount = 123,
        SucceededCount = 123,
        FailedCount = 123,
        LastUpdatedTime = as.POSIXct(
          "2015-01-01"
        )
      ),
      Report = list(
        Enabled = TRUE|FALSE,
        Path = "string",
        Format = "REPORT_CSV_20191124",
        Scope = "FAILED_FILES_ONLY"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
svc$describe_data_repository_tasks(
  TaskIds = list(
    "string"
  ),
  Filters = list(
    list(
      Name = "file-system-id"|"task-lifecycle",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)

paws.storage documentation built on Aug. 23, 2021, 1:06 a.m.