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.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

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

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

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

Unexpected error while processing the request. Retry the request.

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

A parameter is specified incorrectly.

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

A required parameter is missing from the request.

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

The request references a resource that does not exist.

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

The request would cause a service quota to be exceeded.

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

A resource can have no more than 50 tags.

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

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

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.

Constructors

ListAttachedLinksItem' 

Fields

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.

listAttachedLinksItem_label :: Lens' ListAttachedLinksItem (Maybe Text) Source #

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

listAttachedLinksItem_resourceTypes :: Lens' ListAttachedLinksItem (Maybe [Text]) Source #

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.

Constructors

ListLinksItem' 

Fields

  • arn :: Maybe Text

    The ARN of the link.

  • id :: Maybe Text

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

  • label :: Maybe Text

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

  • resourceTypes :: Maybe [Text]

    The resource types supported by this link.

  • sinkArn :: Maybe Text

    The ARN of the sink that this link is attached to.

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.

listLinksItem_id :: Lens' ListLinksItem (Maybe Text) Source #

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

listLinksItem_label :: Lens' ListLinksItem (Maybe Text) Source #

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

listLinksItem_resourceTypes :: Lens' ListLinksItem (Maybe [Text]) Source #

The resource types supported by this link.

listLinksItem_sinkArn :: Lens' ListLinksItem (Maybe Text) Source #

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.

Constructors

ListSinksItem' 

Fields

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.

listSinksItem_id :: Lens' ListSinksItem (Maybe Text) Source #

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