servicediscovery_list_operations: Lists operations that match the criteria that you specify

Description Usage Arguments Value Request syntax Examples

View source: R/servicediscovery_operations.R

Description

Lists operations that match the criteria that you specify.

Usage

1
servicediscovery_list_operations(NextToken, MaxResults, Filters)

Arguments

NextToken

For the first list_operations request, omit this value.

If the response contains NextToken, submit another list_operations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

AWS Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

MaxResults

The maximum number of items that you want AWS Cloud Map to return in the response to a list_operations request. If you don't specify a value for MaxResults, AWS Cloud Map returns up to 100 operations.

Filters

A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.

If you specify more than one filter, an operation must match all filters to be returned by list_operations.

Value

A list with the following syntax:

1
2
3
4
5
6
7
8
9
list(
  Operations = list(
    list(
      Id = "string",
      Status = "SUBMITTED"|"PENDING"|"SUCCESS"|"FAIL"
    )
  ),
  NextToken = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
svc$list_operations(
  NextToken = "string",
  MaxResults = 123,
  Filters = list(
    list(
      Name = "NAMESPACE_ID"|"SERVICE_ID"|"STATUS"|"TYPE"|"UPDATE_DATE",
      Values = list(
        "string"
      ),
      Condition = "EQ"|"IN"|"BETWEEN"
    )
  )
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
# This example gets the operations that have a STATUS of either PENDING or
# SUCCESS.
svc$list_operations(
  Filters = list(
    list(
      Condition = "IN",
      Name = "STATUS",
      Values = list(
        "PENDING",
        "SUCCESS"
      )
    )
  )
)

## End(Not run)

paws.networking documentation built on March 7, 2021, 5:08 p.m.