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¶
-
KeyAttributesYou 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.
Typedesignates the type of object this is.ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource.Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service.Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource.Environmentspecifies the location where this object is hosted, or what it belongs to.
-
OperationNameThe name of the operation that this SLO is associated with.
-
DependencyConfigIdentifies the dependency using the
DependencyKeyAttributesandDependencyOperationName. -
MaxResultsThe maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.
-
NextTokenInclude this value, if it was returned by the previous operation, to get the next set of service level objectives.
-
MetricSourceTypesUse 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
-
IncludeLinkedAccountsIf you are using this operation in a monitoring account, specify
trueto include SLO from source accounts in the returned data.When you are monitoring an account, you can use Amazon Web Services account ID in
KeyAttributefilter for service source account andSloOwnerawsaccountIDfor SLO source account withIncludeLinkedAccountsto filter the returned data to only a single source account. -
SloOwnerAwsAccountIdSLO's Amazon Web Services account ID.
-
MetricSourceIdentifies 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"
)
)
)