Get Service
cloudwatchapplicationsignals_get_service | R Documentation |
Returns information about a service discovered by Application Signals¶
Description¶
Returns information about a service discovered by Application Signals.
Usage¶
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.
KeyAttributes
[required] Use this field to specify which service you want to retrieve information for. You must specify at least the
Type
,Name
, andEnvironment
attributes.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 theType
field isResource
orAWS::Resource
.Name
specifies the name of the object. This is used only if the value of theType
field isService
,RemoteService
, orAWS::Service
.Identifier
identifies the resource objects of this resource. This is used only if the value of theType
field isResource
orAWS::Resource
.Environment
specifies the location where this object is hosted, or what it belongs to.
Value¶
A list with the following syntax:
list(
Service = list(
KeyAttributes = list(
"string"
),
AttributeMaps = list(
list(
"string"
)
),
MetricReferences = list(
list(
Namespace = "string",
MetricType = "string",
Dimensions = list(
list(
Name = "string",
Value = "string"
)
),
MetricName = "string"
)
),
LogGroupReferences = list(
list(
"string"
)
)
),
StartTime = as.POSIXct(
"2015-01-01"
),
EndTime = as.POSIXct(
"2015-01-01"
),
LogGroupReferences = list(
list(
"string"
)
)
)