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

Description

Derived from API version 2022-06-10 of the AWS service descriptions, licensed under Apache 2.0.

Use Amazon CloudWatch Observability Access Manager to create and manage links between source accounts and monitoring accounts by using CloudWatch cross-account observability. With CloudWatch cross-account observability, you can monitor and troubleshoot applications that span multiple accounts within a Region. Seamlessly search, visualize, and analyze your metrics, logs, and traces in any of the linked accounts without account boundaries.

 <p>Set up one or more Amazon Web Services accounts as <i>monitoring accounts</i> and link them with multiple <i>source accounts</i>. A monitoring account is a central Amazon Web Services account that can view and interact with observability data generated from source accounts. A source account is an individual Amazon Web Services account that generates observability data for the resources that reside in it. Source accounts share their observability data with the monitoring account. The shared observability data can include metrics in Amazon CloudWatch, logs in Amazon CloudWatch Logs, and traces in X-Ray.</p>
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2022-06-10 of the Amazon CloudWatch Observability Access Manager SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by OAM.

ConflictException

_ConflictException :: AsError a => Fold a ServiceError Source #

A resource was in an inconsistent state during an update or a deletion.

InternalServiceFault

_InternalServiceFault :: AsError a => Fold a ServiceError Source #

Unexpected error while processing the request. Retry the request.

InvalidParameterException

_InvalidParameterException :: AsError a => Fold a ServiceError Source #

A parameter is specified incorrectly.

MissingRequiredParameterException

_MissingRequiredParameterException :: AsError a => Fold a ServiceError Source #

A required parameter is missing from the request.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The request references a resource that does not exist.

ServiceQuotaExceededException

_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #

The request would cause a service quota to be exceeded.

TooManyTagsException

_TooManyTagsException :: AsError a => Fold a ServiceError Source #

A resource can have no more than 50 tags.

ValidationException

_ValidationException :: AsError a => Fold a ServiceError Source #

The value of a parameter in the request caused an error.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

CreateLink

data CreateLink Source #

See: newCreateLink smart constructor.

Instances

newCreateLink Source #

Create a value of CreateLink 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:

CreateLink, createLink_tags - Assigns one or more tags (key-value pairs) to the link.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.

CreateLink, createLink_labelTemplate - Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.

You can use a custom label or use the following variables:

  • $AccountName is the name of the account
  • $AccountEmail is the globally unique email address of the account
  • $AccountEmailNoDomain is the email address of the account without the domain name

CreateLink, createLink_resourceTypes - An array of strings that define which types of data that the source account shares with the monitoring account.

$sel:sinkIdentifier:CreateLink', createLink_sinkIdentifier - The ARN of the sink to use to create this link. You can use ListSinks to find the ARNs of sinks.

For more information about sinks, see CreateSink.

data CreateLinkResponse Source #

See: newCreateLinkResponse smart constructor.

Instances

Instances details
Generic CreateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateLink

Associated Types

type Rep CreateLinkResponse :: Type -> Type #

Read CreateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateLink

Show CreateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateLink

NFData CreateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateLink

Methods

rnf :: CreateLinkResponse -> () #

Eq CreateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateLink

type Rep CreateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateLink

newCreateLinkResponse Source #

Create a value of CreateLinkResponse 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:

CreateLinkResponse, createLinkResponse_arn - The ARN of the link that is newly created.

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

CreateLinkResponse, createLinkResponse_label - The label that you assigned to this link. If the labelTemplate includes variables, this field displays the variables resolved to their actual values.

CreateLink, createLinkResponse_labelTemplate - The exact label template that you specified, with the variables not resolved.

CreateLink, createLinkResponse_resourceTypes - The resource types supported by this link.

CreateLinkResponse, createLinkResponse_sinkArn - The ARN of the sink that is used for this link.

CreateLink, createLinkResponse_tags - The tags assigned to the link.

$sel:httpStatus:CreateLinkResponse', createLinkResponse_httpStatus - The response's http status code.

CreateSink

data CreateSink Source #

See: newCreateSink smart constructor.

Instances

Instances details
ToJSON CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

ToHeaders CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

Methods

toHeaders :: CreateSink -> [Header] #

ToPath CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

ToQuery CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

AWSRequest CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

Associated Types

type AWSResponse CreateSink #

Generic CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

Associated Types

type Rep CreateSink :: Type -> Type #

Read CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

Show CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

NFData CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

Methods

rnf :: CreateSink -> () #

Eq CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

Hashable CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

type AWSResponse CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

type Rep CreateSink Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

type Rep CreateSink = D1 ('MetaData "CreateSink" "Amazonka.OAM.CreateSink" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "CreateSink'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateSink Source #

Arguments

:: Text

CreateSink

-> CreateSink 

Create a value of CreateSink 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:

CreateSink, createSink_tags - Assigns one or more tags (key-value pairs) to the link.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.

CreateSink, createSink_name - A name for the sink.

data CreateSinkResponse Source #

See: newCreateSinkResponse smart constructor.

Instances

Instances details
Generic CreateSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

Associated Types

type Rep CreateSinkResponse :: Type -> Type #

Read CreateSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

Show CreateSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

NFData CreateSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

Methods

rnf :: CreateSinkResponse -> () #

Eq CreateSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

type Rep CreateSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.CreateSink

newCreateSinkResponse Source #

Create a value of CreateSinkResponse 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:

CreateSinkResponse, createSinkResponse_arn - The ARN of the sink that is newly created.

CreateSinkResponse, createSinkResponse_id - The random ID string that Amazon Web Services generated as part of the sink ARN.

CreateSink, createSinkResponse_name - The name of the sink.

CreateSink, createSinkResponse_tags - The tags assigned to the sink.

$sel:httpStatus:CreateSinkResponse', createSinkResponse_httpStatus - The response's http status code.

DeleteLink

data DeleteLink Source #

See: newDeleteLink smart constructor.

Constructors

DeleteLink' Text 

Instances

newDeleteLink Source #

Create a value of DeleteLink 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:DeleteLink', deleteLink_identifier - The ARN of the link to delete.

data DeleteLinkResponse Source #

See: newDeleteLinkResponse smart constructor.

Constructors

DeleteLinkResponse' Int 

Instances

Instances details
Generic DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

Associated Types

type Rep DeleteLinkResponse :: Type -> Type #

Read DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

Show DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

NFData DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

Methods

rnf :: DeleteLinkResponse -> () #

Eq DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

type Rep DeleteLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteLink

type Rep DeleteLinkResponse = D1 ('MetaData "DeleteLinkResponse" "Amazonka.OAM.DeleteLink" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "DeleteLinkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteLinkResponse Source #

Create a value of DeleteLinkResponse 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:httpStatus:DeleteLinkResponse', deleteLinkResponse_httpStatus - The response's http status code.

DeleteSink

data DeleteSink Source #

See: newDeleteSink smart constructor.

Constructors

DeleteSink' Text 

Instances

Instances details
ToJSON DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

ToHeaders DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

Methods

toHeaders :: DeleteSink -> [Header] #

ToPath DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

ToQuery DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

AWSRequest DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

Associated Types

type AWSResponse DeleteSink #

Generic DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

Associated Types

type Rep DeleteSink :: Type -> Type #

Read DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

Show DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

NFData DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

Methods

rnf :: DeleteSink -> () #

Eq DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

Hashable DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

type AWSResponse DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

type Rep DeleteSink Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

type Rep DeleteSink = D1 ('MetaData "DeleteSink" "Amazonka.OAM.DeleteSink" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "DeleteSink'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteSink Source #

Create a value of DeleteSink 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:DeleteSink', deleteSink_identifier - The ARN of the sink to delete.

data DeleteSinkResponse Source #

See: newDeleteSinkResponse smart constructor.

Constructors

DeleteSinkResponse' Int 

Instances

Instances details
Generic DeleteSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

Associated Types

type Rep DeleteSinkResponse :: Type -> Type #

Read DeleteSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

Show DeleteSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

NFData DeleteSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

Methods

rnf :: DeleteSinkResponse -> () #

Eq DeleteSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

type Rep DeleteSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.DeleteSink

type Rep DeleteSinkResponse = D1 ('MetaData "DeleteSinkResponse" "Amazonka.OAM.DeleteSink" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "DeleteSinkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteSinkResponse Source #

Create a value of DeleteSinkResponse 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:httpStatus:DeleteSinkResponse', deleteSinkResponse_httpStatus - The response's http status code.

GetLink

data GetLink Source #

See: newGetLink smart constructor.

Constructors

GetLink' Text 

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.

data GetLinkResponse Source #

See: newGetLinkResponse smart constructor.

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.

GetSink

data GetSink Source #

See: newGetSink smart constructor.

Constructors

GetSink' Text 

Instances

Instances details
ToJSON GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

ToHeaders GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Methods

toHeaders :: GetSink -> [Header] #

ToPath GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Methods

toPath :: GetSink -> ByteString #

ToQuery GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

AWSRequest GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Associated Types

type AWSResponse GetSink #

Generic GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Associated Types

type Rep GetSink :: Type -> Type #

Methods

from :: GetSink -> Rep GetSink x #

to :: Rep GetSink x -> GetSink #

Read GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Show GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

NFData GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Methods

rnf :: GetSink -> () #

Eq GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Methods

(==) :: GetSink -> GetSink -> Bool #

(/=) :: GetSink -> GetSink -> Bool #

Hashable GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Methods

hashWithSalt :: Int -> GetSink -> Int #

hash :: GetSink -> Int #

type AWSResponse GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

type Rep GetSink Source # 
Instance details

Defined in Amazonka.OAM.GetSink

type Rep GetSink = D1 ('MetaData "GetSink" "Amazonka.OAM.GetSink" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "GetSink'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetSink Source #

Create a value of GetSink 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:GetSink', getSink_identifier - The ARN of the sink to retrieve information for.

data GetSinkResponse Source #

See: newGetSinkResponse smart constructor.

Instances

Instances details
Generic GetSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Associated Types

type Rep GetSinkResponse :: Type -> Type #

Read GetSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Show GetSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSink

NFData GetSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSink

Methods

rnf :: GetSinkResponse -> () #

Eq GetSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSink

type Rep GetSinkResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSink

newGetSinkResponse Source #

Create a value of GetSinkResponse 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:

GetSinkResponse, getSinkResponse_arn - The ARN of the sink.

GetSinkResponse, getSinkResponse_id - The random ID string that Amazon Web Services generated as part of the sink ARN.

GetSinkResponse, getSinkResponse_name - The name of the sink.

$sel:tags:GetSinkResponse', getSinkResponse_tags - The tags assigned to the sink.

$sel:httpStatus:GetSinkResponse', getSinkResponse_httpStatus - The response's http status code.

GetSinkPolicy

data GetSinkPolicy Source #

See: newGetSinkPolicy smart constructor.

Constructors

GetSinkPolicy' Text 

Instances

Instances details
ToJSON GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

ToHeaders GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

ToPath GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

ToQuery GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

AWSRequest GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

Associated Types

type AWSResponse GetSinkPolicy #

Generic GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

Associated Types

type Rep GetSinkPolicy :: Type -> Type #

Read GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

Show GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

NFData GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

Methods

rnf :: GetSinkPolicy -> () #

Eq GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

Hashable GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

type AWSResponse GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

type Rep GetSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

type Rep GetSinkPolicy = D1 ('MetaData "GetSinkPolicy" "Amazonka.OAM.GetSinkPolicy" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "GetSinkPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sinkIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetSinkPolicy Source #

Create a value of GetSinkPolicy 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:sinkIdentifier:GetSinkPolicy', getSinkPolicy_sinkIdentifier - The ARN of the sink to retrieve the policy of.

data GetSinkPolicyResponse Source #

See: newGetSinkPolicyResponse smart constructor.

Instances

Instances details
Generic GetSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

Associated Types

type Rep GetSinkPolicyResponse :: Type -> Type #

Read GetSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

Show GetSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

NFData GetSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

Methods

rnf :: GetSinkPolicyResponse -> () #

Eq GetSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

type Rep GetSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.GetSinkPolicy

type Rep GetSinkPolicyResponse = D1 ('MetaData "GetSinkPolicyResponse" "Amazonka.OAM.GetSinkPolicy" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "GetSinkPolicyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sinkArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sinkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetSinkPolicyResponse Source #

Create a value of GetSinkPolicyResponse 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:policy:GetSinkPolicyResponse', getSinkPolicyResponse_policy - The policy that you specified, in JSON format.

GetSinkPolicyResponse, getSinkPolicyResponse_sinkArn - The ARN of the sink.

$sel:sinkId:GetSinkPolicyResponse', getSinkPolicyResponse_sinkId - The random ID string that Amazon Web Services generated as part of the sink ARN.

$sel:httpStatus:GetSinkPolicyResponse', getSinkPolicyResponse_httpStatus - The response's http status code.

ListAttachedLinks (Paginated)

data ListAttachedLinks Source #

See: newListAttachedLinks smart constructor.

Instances

newListAttachedLinks Source #

Create a value of ListAttachedLinks 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:maxResults:ListAttachedLinks', listAttachedLinks_maxResults - Limits the number of returned links to the specified number.

ListAttachedLinks, listAttachedLinks_nextToken - The token for the next set of items to return. You received this token from a previous call.

$sel:sinkIdentifier:ListAttachedLinks', listAttachedLinks_sinkIdentifier - The ARN of the sink that you want to retrieve links for.

data ListAttachedLinksResponse Source #

See: newListAttachedLinksResponse smart constructor.

Instances

Instances details
Generic ListAttachedLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListAttachedLinks

Associated Types

type Rep ListAttachedLinksResponse :: Type -> Type #

Read ListAttachedLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListAttachedLinks

Show ListAttachedLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListAttachedLinks

NFData ListAttachedLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListAttachedLinks

Eq ListAttachedLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListAttachedLinks

type Rep ListAttachedLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListAttachedLinks

type Rep ListAttachedLinksResponse = D1 ('MetaData "ListAttachedLinksResponse" "Amazonka.OAM.ListAttachedLinks" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "ListAttachedLinksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ListAttachedLinksItem]))))

newListAttachedLinksResponse Source #

Create a value of ListAttachedLinksResponse 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:

ListAttachedLinks, listAttachedLinksResponse_nextToken - The token to use when requesting the next set of links.

$sel:httpStatus:ListAttachedLinksResponse', listAttachedLinksResponse_httpStatus - The response's http status code.

$sel:items:ListAttachedLinksResponse', listAttachedLinksResponse_items - An array of structures that contain the information about the attached links.

ListLinks (Paginated)

data ListLinks Source #

See: newListLinks smart constructor.

Constructors

ListLinks' (Maybe Natural) (Maybe Text) 

Instances

newListLinks :: ListLinks Source #

Create a value of ListLinks 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:maxResults:ListLinks', listLinks_maxResults - Limits the number of returned links to the specified number.

ListLinks, listLinks_nextToken - The token for the next set of items to return. You received this token from a previous call.

data ListLinksResponse Source #

See: newListLinksResponse smart constructor.

Instances

Instances details
Generic ListLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListLinks

Associated Types

type Rep ListLinksResponse :: Type -> Type #

Read ListLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListLinks

Show ListLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListLinks

NFData ListLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListLinks

Methods

rnf :: ListLinksResponse -> () #

Eq ListLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListLinks

type Rep ListLinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListLinks

type Rep ListLinksResponse = D1 ('MetaData "ListLinksResponse" "Amazonka.OAM.ListLinks" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "ListLinksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ListLinksItem]))))

newListLinksResponse Source #

Create a value of ListLinksResponse 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:

ListLinks, listLinksResponse_nextToken - The token to use when requesting the next set of links.

$sel:httpStatus:ListLinksResponse', listLinksResponse_httpStatus - The response's http status code.

$sel:items:ListLinksResponse', listLinksResponse_items - An array of structures that contain the information about the returned links.

ListSinks (Paginated)

data ListSinks Source #

See: newListSinks smart constructor.

Constructors

ListSinks' (Maybe Natural) (Maybe Text) 

Instances

Instances details
ToJSON ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

ToHeaders ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

Methods

toHeaders :: ListSinks -> [Header] #

ToPath ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

ToQuery ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

AWSPager ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

AWSRequest ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

Associated Types

type AWSResponse ListSinks #

Generic ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

Associated Types

type Rep ListSinks :: Type -> Type #

Read ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

Show ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

NFData ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

Methods

rnf :: ListSinks -> () #

Eq ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

Hashable ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

type AWSResponse ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

type Rep ListSinks Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

type Rep ListSinks = D1 ('MetaData "ListSinks" "Amazonka.OAM.ListSinks" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "ListSinks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListSinks :: ListSinks Source #

Create a value of ListSinks 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:maxResults:ListSinks', listSinks_maxResults - Limits the number of returned links to the specified number.

ListSinks, listSinks_nextToken - The token for the next set of items to return. You received this token from a previous call.

data ListSinksResponse Source #

See: newListSinksResponse smart constructor.

Instances

Instances details
Generic ListSinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

Associated Types

type Rep ListSinksResponse :: Type -> Type #

Read ListSinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

Show ListSinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

NFData ListSinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

Methods

rnf :: ListSinksResponse -> () #

Eq ListSinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

type Rep ListSinksResponse Source # 
Instance details

Defined in Amazonka.OAM.ListSinks

type Rep ListSinksResponse = D1 ('MetaData "ListSinksResponse" "Amazonka.OAM.ListSinks" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "ListSinksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ListSinksItem]))))

newListSinksResponse Source #

Create a value of ListSinksResponse 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:

ListSinks, listSinksResponse_nextToken - The token to use when requesting the next set of sinks.

$sel:httpStatus:ListSinksResponse', listSinksResponse_httpStatus - The response's http status code.

$sel:items:ListSinksResponse', listSinksResponse_items - An array of structures that contain the information about the returned sinks.

ListTagsForResource

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Instances

Instances details
ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.OAM.ListTagsForResource" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newListTagsForResource Source #

Create a value of ListTagsForResource 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:resourceArn:ListTagsForResource', listTagsForResource_resourceArn - The ARN of the resource that you want to view tags for.

The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id

The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id

For more information about ARN format, see CloudWatch Logs resources and operations.

Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags for links or sinks you must have the oam:RequestTag permission. The aws:ReguestTag permission does not allow you to tag and untag links and sinks.

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Instances

Instances details
Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.OAM.ListTagsForResource" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListTagsForResourceResponse Source #

Create a value of ListTagsForResourceResponse 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:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - The list of tags associated with the requested resource.>

$sel:httpStatus:ListTagsForResourceResponse', listTagsForResourceResponse_httpStatus - The response's http status code.

PutSinkPolicy

data PutSinkPolicy Source #

See: newPutSinkPolicy smart constructor.

Constructors

PutSinkPolicy' Text Text 

Instances

Instances details
ToJSON PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

ToHeaders PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

ToPath PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

ToQuery PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

AWSRequest PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

Associated Types

type AWSResponse PutSinkPolicy #

Generic PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

Associated Types

type Rep PutSinkPolicy :: Type -> Type #

Read PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

Show PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

NFData PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

Methods

rnf :: PutSinkPolicy -> () #

Eq PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

Hashable PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

type AWSResponse PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

type Rep PutSinkPolicy Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

type Rep PutSinkPolicy = D1 ('MetaData "PutSinkPolicy" "Amazonka.OAM.PutSinkPolicy" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "PutSinkPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sinkIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newPutSinkPolicy Source #

Create a value of PutSinkPolicy 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:sinkIdentifier:PutSinkPolicy', putSinkPolicy_sinkIdentifier - The ARN of the sink to attach this policy to.

PutSinkPolicy, putSinkPolicy_policy - The JSON policy to use. If you are updating an existing policy, the entire existing policy is replaced by what you specify here.

The policy must be in JSON string format with quotation marks escaped and no newlines.

For examples of different types of policies, see the Examples section on this page.

data PutSinkPolicyResponse Source #

See: newPutSinkPolicyResponse smart constructor.

Instances

Instances details
Generic PutSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

Associated Types

type Rep PutSinkPolicyResponse :: Type -> Type #

Read PutSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

Show PutSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

NFData PutSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

Methods

rnf :: PutSinkPolicyResponse -> () #

Eq PutSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

type Rep PutSinkPolicyResponse Source # 
Instance details

Defined in Amazonka.OAM.PutSinkPolicy

type Rep PutSinkPolicyResponse = D1 ('MetaData "PutSinkPolicyResponse" "Amazonka.OAM.PutSinkPolicy" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "PutSinkPolicyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sinkArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sinkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPutSinkPolicyResponse Source #

Create a value of PutSinkPolicyResponse 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:

PutSinkPolicy, putSinkPolicyResponse_policy - The policy that you specified.

PutSinkPolicyResponse, putSinkPolicyResponse_sinkArn - The ARN of the sink.

$sel:sinkId:PutSinkPolicyResponse', putSinkPolicyResponse_sinkId - The random ID string that Amazon Web Services generated as part of the sink ARN.

$sel:httpStatus:PutSinkPolicyResponse', putSinkPolicyResponse_httpStatus - The response's http status code.

TagResource

data TagResource Source #

See: newTagResource smart constructor.

Instances

Instances details
ToJSON TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

Associated Types

type AWSResponse TagResource #

Generic TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

Read TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

NFData TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

Methods

rnf :: TagResource -> () #

Eq TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

Hashable TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.OAM.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.OAM.TagResource" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))

newTagResource Source #

Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn - The ARN of the resource that you're adding tags to.

The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id

The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id

For more information about ARN format, see CloudWatch Logs resources and operations.

$sel:tags:TagResource', tagResource_tags - The list of key-value pairs to associate with the resource.

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Instances

Instances details
Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.TagResource

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.TagResource

Methods

rnf :: TagResourceResponse -> () #

Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.TagResource

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.OAM.TagResource" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTagResourceResponse Source #

Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse', tagResourceResponse_httpStatus - The response's http status code.

UntagResource

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' Text [Text] 

Instances

Instances details
ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.OAM.UntagResource" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newUntagResource Source #

Create a value of UntagResource 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:resourceArn:UntagResource', untagResource_resourceArn - The ARN of the resource that you're removing tags from.

The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id

The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id

For more information about ARN format, see CloudWatch Logs resources and operations.

$sel:tagKeys:UntagResource', untagResource_tagKeys - The list of tag keys to remove from the resource.

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.OAM.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.OAM.UntagResource" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUntagResourceResponse Source #

Create a value of UntagResourceResponse 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:httpStatus:UntagResourceResponse', untagResourceResponse_httpStatus - The response's http status code.

UpdateLink

data UpdateLink Source #

See: newUpdateLink smart constructor.

Instances

newUpdateLink Source #

Create a value of UpdateLink 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:UpdateLink', updateLink_identifier - The ARN of the link that you want to update.

UpdateLink, updateLink_resourceTypes - An array of strings that define which types of data that the source account will send to the monitoring account.

Your input here replaces the current set of data types that are shared.

data UpdateLinkResponse Source #

See: newUpdateLinkResponse smart constructor.

Instances

Instances details
Generic UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.UpdateLink

Associated Types

type Rep UpdateLinkResponse :: Type -> Type #

Read UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.UpdateLink

Show UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.UpdateLink

NFData UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.UpdateLink

Methods

rnf :: UpdateLinkResponse -> () #

Eq UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.UpdateLink

type Rep UpdateLinkResponse Source # 
Instance details

Defined in Amazonka.OAM.UpdateLink

newUpdateLinkResponse Source #

Create a value of UpdateLinkResponse 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:

UpdateLinkResponse, updateLinkResponse_arn - The ARN of the link that you have updated.

UpdateLinkResponse, updateLinkResponse_id - The random ID string that Amazon Web Services generated as part of the sink ARN.

UpdateLinkResponse, updateLinkResponse_label - The label assigned to this link, with the variables resolved to their actual values.

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

UpdateLink, updateLinkResponse_resourceTypes - The resource types now supported by this link.

UpdateLinkResponse, updateLinkResponse_sinkArn - The ARN of the sink that is used for this link.

$sel:tags:UpdateLinkResponse', updateLinkResponse_tags - The tags assigned to the link.

$sel:httpStatus:UpdateLinkResponse', updateLinkResponse_httpStatus - The response's http status code.

Types

ResourceType

newtype ResourceType Source #

Constructors

ResourceType' 

Instances

Instances details
FromJSON ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

FromJSONKey ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

ToJSON ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

ToJSONKey ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

ToByteString ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

ToHeader ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

ToLog ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

ToQuery ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

FromText ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

ToText ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

Methods

toText :: ResourceType -> Text #

FromXML ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

ToXML ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

Methods

toXML :: ResourceType -> XML #

Generic ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

Associated Types

type Rep ResourceType :: Type -> Type #

Read ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

Show ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

NFData ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

Methods

rnf :: ResourceType -> () #

Eq ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

Ord ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

Hashable ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

type Rep ResourceType Source # 
Instance details

Defined in Amazonka.OAM.Types.ResourceType

type Rep ResourceType = D1 ('MetaData "ResourceType" "Amazonka.OAM.Types.ResourceType" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'True) (C1 ('MetaCons "ResourceType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ListAttachedLinksItem

data ListAttachedLinksItem Source #

A structure that contains information about one link attached to this monitoring account sink.

See: newListAttachedLinksItem smart constructor.

Instances

Instances details
FromJSON ListAttachedLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListAttachedLinksItem

Generic ListAttachedLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListAttachedLinksItem

Associated Types

type Rep ListAttachedLinksItem :: Type -> Type #

Read ListAttachedLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListAttachedLinksItem

Show ListAttachedLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListAttachedLinksItem

NFData ListAttachedLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListAttachedLinksItem

Methods

rnf :: ListAttachedLinksItem -> () #

Eq ListAttachedLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListAttachedLinksItem

Hashable ListAttachedLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListAttachedLinksItem

type Rep ListAttachedLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListAttachedLinksItem

type Rep ListAttachedLinksItem = D1 ('MetaData "ListAttachedLinksItem" "Amazonka.OAM.Types.ListAttachedLinksItem" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "ListAttachedLinksItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "linkArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newListAttachedLinksItem :: ListAttachedLinksItem Source #

Create a value of ListAttachedLinksItem 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:label:ListAttachedLinksItem', listAttachedLinksItem_label - The label that was assigned to this link at creation, with the variables resolved to their actual values.

$sel:linkArn:ListAttachedLinksItem', listAttachedLinksItem_linkArn - The ARN of the link.

$sel:resourceTypes:ListAttachedLinksItem', listAttachedLinksItem_resourceTypes - The resource types supported by this link.

ListLinksItem

data ListLinksItem Source #

A structure that contains information about one of this source account's links to a monitoring account.

See: newListLinksItem smart constructor.

Instances

Instances details
FromJSON ListLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListLinksItem

Generic ListLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListLinksItem

Associated Types

type Rep ListLinksItem :: Type -> Type #

Read ListLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListLinksItem

Show ListLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListLinksItem

NFData ListLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListLinksItem

Methods

rnf :: ListLinksItem -> () #

Eq ListLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListLinksItem

Hashable ListLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListLinksItem

type Rep ListLinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListLinksItem

type Rep ListLinksItem = D1 ('MetaData "ListLinksItem" "Amazonka.OAM.Types.ListLinksItem" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "ListLinksItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "sinkArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newListLinksItem :: ListLinksItem Source #

Create a value of ListLinksItem 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:arn:ListLinksItem', listLinksItem_arn - The ARN of the link.

$sel:id:ListLinksItem', listLinksItem_id - The random ID string that Amazon Web Services generated as part of the link ARN.

$sel:label:ListLinksItem', listLinksItem_label - The label that was assigned to this link at creation, with the variables resolved to their actual values.

$sel:resourceTypes:ListLinksItem', listLinksItem_resourceTypes - The resource types supported by this link.

$sel:sinkArn:ListLinksItem', listLinksItem_sinkArn - The ARN of the sink that this link is attached to.

ListSinksItem

data ListSinksItem Source #

A structure that contains information about one of this monitoring account's sinks.

See: newListSinksItem smart constructor.

Instances

Instances details
FromJSON ListSinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListSinksItem

Generic ListSinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListSinksItem

Associated Types

type Rep ListSinksItem :: Type -> Type #

Read ListSinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListSinksItem

Show ListSinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListSinksItem

NFData ListSinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListSinksItem

Methods

rnf :: ListSinksItem -> () #

Eq ListSinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListSinksItem

Hashable ListSinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListSinksItem

type Rep ListSinksItem Source # 
Instance details

Defined in Amazonka.OAM.Types.ListSinksItem

type Rep ListSinksItem = D1 ('MetaData "ListSinksItem" "Amazonka.OAM.Types.ListSinksItem" "amazonka-oam-2.0-2r3dTellrOe218sRY2Qi5h" 'False) (C1 ('MetaCons "ListSinksItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListSinksItem :: ListSinksItem Source #

Create a value of ListSinksItem 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:arn:ListSinksItem', listSinksItem_arn - The ARN of the sink.

$sel:id:ListSinksItem', listSinksItem_id - The random ID string that Amazon Web Services generated as part of the sink ARN.

$sel:name:ListSinksItem', listSinksItem_name - The name of the sink.