Skip to content

Returns a list of SLOs created in this account

Description

Returns a list of SLOs created in this account.

Usage

cloudwatchapplicationsignals_list_service_level_objectives(
  KeyAttributes, OperationName, DependencyConfig, MaxResults, NextToken,
  MetricSourceTypes, IncludeLinkedAccounts, SloOwnerAwsAccountId,
  MetricSource)

Arguments

  • KeyAttributes

    You can use this optional field to specify which services you want to retrieve SLO information for.

    This is a string-to-string map. It can include the following fields.

    • Type designates the type of object this is.
    • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource.
    • Name specifies the name of the object. This is used only if the value of the Type field is Service, RemoteService, or AWS::Service.
    • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource.
    • Environment specifies the location where this object is hosted, or what it belongs to.
  • OperationName

    The name of the operation that this SLO is associated with.

  • DependencyConfig

    Identifies the dependency using the DependencyKeyAttributes and DependencyOperationName.

  • 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 service level objectives.

  • MetricSourceTypes

    Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:

    • Service operation
    • Service dependency
    • Service
    • CloudWatch metric
    • AppMonitor
    • Canary
  • IncludeLinkedAccounts

    If you are using this operation in a monitoring account, specify true to include SLO from source accounts in the returned data.

    When you are monitoring an account, you can use Amazon Web Services account ID in KeyAttribute filter for service source account and SloOwnerawsaccountID for SLO source account with IncludeLinkedAccounts to filter the returned data to only a single source account.

  • SloOwnerAwsAccountId

    SLO's Amazon Web Services account ID.

  • MetricSource

    Identifies the metric source to filter SLOs by.

Value

A list with the following syntax:

list(
  SloSummaries = list(
    list(
      Arn = "string",
      Name = "string",
      KeyAttributes = list(
        "string"
      ),
      OperationName = "string",
      DependencyConfig = list(
        DependencyKeyAttributes = list(
          "string"
        ),
        DependencyOperationName = "string"
      ),
      CreatedTime = as.POSIXct(
        "2015-01-01"
      ),
      EvaluationType = "PeriodBased"|"RequestBased",
      MetricSourceType = "ServiceOperation"|"CloudWatchMetric"|"ServiceDependency"|"AppMonitor"|"Canary"|"Service",
      MetricSource = list(
        MetricSourceKeyAttributes = list(
          "string"
        ),
        MetricSourceAttributes = list(
          "string"
        )
      ),
      CompositeSliConfig = list(
        SelectionConfig = list(
          Type = "EXPLICIT"|"PREFIX"|"REGEX",
          Pattern = "string"
        ),
        Components = list(
          list(
            OperationName = "string"
          )
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_service_level_objectives(
  KeyAttributes = list(
    "string"
  ),
  OperationName = "string",
  DependencyConfig = list(
    DependencyKeyAttributes = list(
      "string"
    ),
    DependencyOperationName = "string"
  ),
  MaxResults = 123,
  NextToken = "string",
  MetricSourceTypes = list(
    "ServiceOperation"|"CloudWatchMetric"|"ServiceDependency"|"AppMonitor"|"Canary"|"Service"
  ),
  IncludeLinkedAccounts = TRUE|FALSE,
  SloOwnerAwsAccountId = "string",
  MetricSource = list(
    MetricSourceKeyAttributes = list(
      "string"
    ),
    MetricSourceAttributes = list(
      "string"
    )
  )
)