Skip to content

List Services

cloudwatchapplicationsignals_list_services R Documentation

Returns a list of services that have been discovered by Application Signals

Description

Returns a list of services that have been discovered by Application Signals. A service represents a minimum logical and transactional unit that completes a business function. Services are discovered through Application Signals instrumentation.

Usage

cloudwatchapplicationsignals_list_services(StartTime, EndTime,
  MaxResults, NextToken)

Arguments

StartTime

[required] The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

Your requested start time will be rounded to the nearest hour.

EndTime

[required] The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

Your requested start time will be rounded to the nearest hour.

MaxResults

The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.

NextToken

Include this value, if it was returned by the previous operation, to get the next set of services.

Value

A list with the following syntax:

list(
  StartTime = as.POSIXct(
    "2015-01-01"
  ),
  EndTime = as.POSIXct(
    "2015-01-01"
  ),
  ServiceSummaries = list(
    list(
      KeyAttributes = list(
        "string"
      ),
      AttributeMaps = list(
        list(
          "string"
        )
      ),
      MetricReferences = list(
        list(
          Namespace = "string",
          MetricType = "string",
          Dimensions = list(
            list(
              Name = "string",
              Value = "string"
            )
          ),
          MetricName = "string"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_services(
  StartTime = as.POSIXct(
    "2015-01-01"
  ),
  EndTime = as.POSIXct(
    "2015-01-01"
  ),
  MaxResults = 123,
  NextToken = "string"
)