amazonka-oam-2.0: Amazon CloudWatch Observability Access Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.OAM.GetLink

Description

Returns complete information about one link.

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

Synopsis

Creating a Request

data GetLink Source #

See: newGetLink smart constructor.

Constructors

GetLink' 

Fields

Instances

newGetLink Source #

Create a value of GetLink with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:identifier:GetLink', getLink_identifier - The ARN of the link to retrieve information for.

Request Lenses

getLink_identifier :: Lens' GetLink Text Source #

The ARN of the link to retrieve information for.

Destructuring the Response

data GetLinkResponse Source #

See: newGetLinkResponse smart constructor.

Constructors

GetLinkResponse' 

Fields

Instances

Instances details
Generic GetLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetLink

Associated Types

type Rep GetLinkResponse :: Type -> Type #

Read GetLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetLink

Show GetLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetLink

NFData GetLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetLink

Methods

rnf :: GetLinkResponse -> () #

Eq GetLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetLink

type Rep GetLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetLink

newGetLinkResponse Source #

Create a value of GetLinkResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetLinkResponse, getLinkResponse_arn - The ARN of the link.

GetLinkResponse, getLinkResponse_id - The random ID string that Amazon Web Services generated as part of the link ARN.

GetLinkResponse, getLinkResponse_label - The label that you assigned to this link, with the variables resolved to their actual values.

$sel:labelTemplate:GetLinkResponse', getLinkResponse_labelTemplate - The exact label template that was specified when the link was created, with the template variables not resolved.

GetLinkResponse, getLinkResponse_resourceTypes - The resource types supported by this link.

GetLinkResponse, getLinkResponse_sinkArn - The ARN of the sink that is used for this link.

$sel:tags:GetLinkResponse', getLinkResponse_tags - The tags assigned to the link.

$sel:httpStatus:GetLinkResponse', getLinkResponse_httpStatus - The response's http status code.

Response Lenses

getLinkResponse_id :: Lens' GetLinkResponse (Maybe Text) Source #

The random ID string that Amazon Web Services generated as part of the link ARN.

getLinkResponse_label :: Lens' GetLinkResponse (Maybe Text) Source #

The label that you assigned to this link, with the variables resolved to their actual values.

getLinkResponse_labelTemplate :: Lens' GetLinkResponse (Maybe Text) Source #

The exact label template that was specified when the link was created, with the template variables not resolved.

getLinkResponse_resourceTypes :: Lens' GetLinkResponse (Maybe [Text]) Source #

The resource types supported by this link.

getLinkResponse_sinkArn :: Lens' GetLinkResponse (Maybe Text) Source #

The ARN of the sink that is used for this link.

getLinkResponse_tags :: Lens' GetLinkResponse (Maybe (HashMap Text Text)) Source #

The tags assigned to the link.

getLinkResponse_httpStatus :: Lens' GetLinkResponse Int Source #

The response's http status code.