Skip to content

Returns complete information about one link

Description

Returns complete information about one link.

To use this operation, provide the link ARN. To retrieve a list of link ARNs, use list_links.

Usage

cloudwatchobservabilityaccessmanager_get_link(Identifier, IncludeTags)

Arguments

  • Identifier

    [required] The ARN of the link to retrieve information for.

  • IncludeTags

    Specifies whether to include the tags associated with the link in the response. When IncludeTags is set to true and the caller has the required permission, oam:ListTagsForResource, the API will return the tags for the specified resource. If the caller doesn't have the required permission, oam:ListTagsForResource, the API will raise an exception.

    The default value is false.

Value

A list with the following syntax:

list(
  Arn = "string",
  Id = "string",
  Label = "string",
  LabelTemplate = "string",
  LinkConfiguration = list(
    LogGroupConfiguration = list(
      Filter = "string"
    ),
    MetricConfiguration = list(
      Filter = "string"
    )
  ),
  ResourceTypes = list(
    "string"
  ),
  SinkArn = "string",
  Tags = list(
    "string"
  )
)

Request syntax

svc$get_link(
  Identifier = "string",
  IncludeTags = TRUE|FALSE
)