amazonka-ram-2.0: Amazon Resource 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.RAM.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-01-04 of the Amazon Resource Access Manager SDK configuration.

Errors

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

The client token input parameter was matched one used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

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

The client token is not valid.

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

The specified value for MaxResults is not valid.

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

The specified value for NextToken is not valid.

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

A parameter is not valid.

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

The specified resource type is not valid.

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

The requested state transition is not valid.

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

The format of an Amazon Resource Name (ARN) is not valid.

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

A required input parameter is missing.

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

The requested operation is not permitted.

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

The specified Amazon Resource Name (ARN) was not found.

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

The specified invitation was already accepted.

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

The specified invitation was already rejected.

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

The specified Amazon Resource Name (ARN) for an invitation was not found.

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

The specified invitation is expired.

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

This request would exceed the limit for resource shares for your account.

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

The service could not respond to the request due to an internal problem.

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

The service is not available.

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

This request would exceed the limit for tags for your account.

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

The specified tag key is a reserved word and can't be used.

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

You exceeded the rate at which you are allowed to perform this operation. Please try again later.

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

A specified resource was not found.

ResourceOwner

newtype ResourceOwner Source #

Constructors

ResourceOwner' 

Instances

Instances details
FromJSON ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

FromJSONKey ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

ToJSON ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

ToJSONKey ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

ToByteString ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

ToHeader ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

ToLog ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

ToQuery ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

FromText ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

ToText ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

Methods

toText :: ResourceOwner -> Text #

FromXML ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

ToXML ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

Methods

toXML :: ResourceOwner -> XML #

Generic ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

Associated Types

type Rep ResourceOwner :: Type -> Type #

Read ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

Show ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

NFData ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

Methods

rnf :: ResourceOwner -> () #

Eq ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

Ord ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

Hashable ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

type Rep ResourceOwner Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceOwner

type Rep ResourceOwner = D1 ('MetaData "ResourceOwner" "Amazonka.RAM.Types.ResourceOwner" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'True) (C1 ('MetaCons "ResourceOwner'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceRegionScope

newtype ResourceRegionScope Source #

Instances

Instances details
FromJSON ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

FromJSONKey ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

ToJSON ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

ToJSONKey ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

ToByteString ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

ToHeader ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

ToLog ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

ToQuery ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

FromText ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

ToText ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

FromXML ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

ToXML ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

Generic ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

Associated Types

type Rep ResourceRegionScope :: Type -> Type #

Read ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

Show ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

NFData ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

Methods

rnf :: ResourceRegionScope -> () #

Eq ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

Ord ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

Hashable ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

type Rep ResourceRegionScope Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScope

type Rep ResourceRegionScope = D1 ('MetaData "ResourceRegionScope" "Amazonka.RAM.Types.ResourceRegionScope" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'True) (C1 ('MetaCons "ResourceRegionScope'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceRegionScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceRegionScopeFilter

newtype ResourceRegionScopeFilter Source #

Instances

Instances details
FromJSON ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

FromJSONKey ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

ToJSON ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

ToJSONKey ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

ToByteString ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

ToHeader ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

ToLog ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

ToQuery ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

FromText ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

ToText ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

FromXML ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

ToXML ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

Generic ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

Associated Types

type Rep ResourceRegionScopeFilter :: Type -> Type #

Read ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

Show ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

NFData ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

Eq ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

Ord ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

Hashable ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

type Rep ResourceRegionScopeFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceRegionScopeFilter

type Rep ResourceRegionScopeFilter = D1 ('MetaData "ResourceRegionScopeFilter" "Amazonka.RAM.Types.ResourceRegionScopeFilter" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'True) (C1 ('MetaCons "ResourceRegionScopeFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceRegionScopeFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceShareAssociationStatus

newtype ResourceShareAssociationStatus Source #

Instances

Instances details
FromJSON ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

FromJSONKey ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

ToJSON ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

ToJSONKey ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

ToByteString ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

ToHeader ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

ToLog ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

ToQuery ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

FromText ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

ToText ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

FromXML ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

ToXML ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

Generic ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

Associated Types

type Rep ResourceShareAssociationStatus :: Type -> Type #

Read ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

Show ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

NFData ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

Eq ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

Ord ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

Hashable ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

type Rep ResourceShareAssociationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationStatus

type Rep ResourceShareAssociationStatus = D1 ('MetaData "ResourceShareAssociationStatus" "Amazonka.RAM.Types.ResourceShareAssociationStatus" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'True) (C1 ('MetaCons "ResourceShareAssociationStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceShareAssociationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceShareAssociationType

newtype ResourceShareAssociationType Source #

Instances

Instances details
FromJSON ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

FromJSONKey ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

ToJSON ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

ToJSONKey ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

ToByteString ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

ToHeader ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

ToLog ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

ToQuery ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

FromText ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

ToText ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

FromXML ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

ToXML ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

Generic ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

Associated Types

type Rep ResourceShareAssociationType :: Type -> Type #

Read ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

Show ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

NFData ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

Eq ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

Ord ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

Hashable ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

type Rep ResourceShareAssociationType Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociationType

type Rep ResourceShareAssociationType = D1 ('MetaData "ResourceShareAssociationType" "Amazonka.RAM.Types.ResourceShareAssociationType" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'True) (C1 ('MetaCons "ResourceShareAssociationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceShareAssociationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceShareFeatureSet

newtype ResourceShareFeatureSet Source #

Instances

Instances details
FromJSON ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

FromJSONKey ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

ToJSON ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

ToJSONKey ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

ToByteString ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

ToHeader ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

ToLog ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

ToQuery ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

FromText ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

ToText ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

FromXML ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

ToXML ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

Generic ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

Associated Types

type Rep ResourceShareFeatureSet :: Type -> Type #

Read ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

Show ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

NFData ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

Methods

rnf :: ResourceShareFeatureSet -> () #

Eq ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

Ord ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

Hashable ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

type Rep ResourceShareFeatureSet Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareFeatureSet

type Rep ResourceShareFeatureSet = D1 ('MetaData "ResourceShareFeatureSet" "Amazonka.RAM.Types.ResourceShareFeatureSet" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'True) (C1 ('MetaCons "ResourceShareFeatureSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceShareFeatureSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceShareInvitationStatus

newtype ResourceShareInvitationStatus Source #

Instances

Instances details
FromJSON ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

FromJSONKey ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

ToJSON ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

ToJSONKey ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

ToByteString ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

ToHeader ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

ToLog ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

ToQuery ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

FromText ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

ToText ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

FromXML ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

ToXML ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

Generic ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

Associated Types

type Rep ResourceShareInvitationStatus :: Type -> Type #

Read ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

Show ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

NFData ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

Eq ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

Ord ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

Hashable ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

type Rep ResourceShareInvitationStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitationStatus

type Rep ResourceShareInvitationStatus = D1 ('MetaData "ResourceShareInvitationStatus" "Amazonka.RAM.Types.ResourceShareInvitationStatus" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'True) (C1 ('MetaCons "ResourceShareInvitationStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceShareInvitationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceShareStatus

newtype ResourceShareStatus Source #

Instances

Instances details
FromJSON ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

FromJSONKey ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

ToJSON ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

ToJSONKey ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

ToByteString ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

ToHeader ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

ToLog ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

ToQuery ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

FromText ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

ToText ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

FromXML ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

ToXML ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

Generic ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

Associated Types

type Rep ResourceShareStatus :: Type -> Type #

Read ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

Show ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

NFData ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

Methods

rnf :: ResourceShareStatus -> () #

Eq ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

Ord ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

Hashable ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

type Rep ResourceShareStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareStatus

type Rep ResourceShareStatus = D1 ('MetaData "ResourceShareStatus" "Amazonka.RAM.Types.ResourceShareStatus" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'True) (C1 ('MetaCons "ResourceShareStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceShareStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceStatus

newtype ResourceStatus Source #

Constructors

ResourceStatus' 

Instances

Instances details
FromJSON ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

FromJSONKey ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

ToJSON ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

ToJSONKey ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

ToByteString ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

ToHeader ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

ToLog ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

ToQuery ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

FromText ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

ToText ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

FromXML ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

ToXML ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

Methods

toXML :: ResourceStatus -> XML #

Generic ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

Associated Types

type Rep ResourceStatus :: Type -> Type #

Read ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

Show ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

NFData ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

Methods

rnf :: ResourceStatus -> () #

Eq ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

Ord ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

Hashable ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

type Rep ResourceStatus Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceStatus

type Rep ResourceStatus = D1 ('MetaData "ResourceStatus" "Amazonka.RAM.Types.ResourceStatus" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'True) (C1 ('MetaCons "ResourceStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Principal

data Principal Source #

Describes a principal for use with Resource Access Manager.

See: newPrincipal smart constructor.

Constructors

Principal' 

Fields

Instances

Instances details
FromJSON Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Generic Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Associated Types

type Rep Principal :: Type -> Type #

Read Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Show Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

NFData Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Methods

rnf :: Principal -> () #

Eq Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Hashable Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

type Rep Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

type Rep Principal = D1 ('MetaData "Principal" "Amazonka.RAM.Types.Principal" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "Principal'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "external") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "resourceShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newPrincipal :: Principal Source #

Create a value of Principal 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:creationTime:Principal', principal_creationTime - The date and time when the principal was associated with the resource share.

$sel:external:Principal', principal_external - Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

$sel:id:Principal', principal_id - The ID of the principal.

$sel:lastUpdatedTime:Principal', principal_lastUpdatedTime - The date and time when the association was last updated.

$sel:resourceShareArn:Principal', principal_resourceShareArn - The Amazon Resoure Name (ARN) of a resource share the principal is associated with.

principal_creationTime :: Lens' Principal (Maybe UTCTime) Source #

The date and time when the principal was associated with the resource share.

principal_external :: Lens' Principal (Maybe Bool) Source #

Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

principal_id :: Lens' Principal (Maybe Text) Source #

The ID of the principal.

principal_lastUpdatedTime :: Lens' Principal (Maybe UTCTime) Source #

The date and time when the association was last updated.

principal_resourceShareArn :: Lens' Principal (Maybe Text) Source #

The Amazon Resoure Name (ARN) of a resource share the principal is associated with.

Resource

data Resource Source #

Describes a resource associated with a resource share in RAM.

See: newResource smart constructor.

Constructors

Resource' 

Fields

Instances

Instances details
FromJSON Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Read Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

NFData Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Methods

rnf :: Resource -> () #

Eq Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Hashable Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

type Rep Resource Source # 
Instance details

Defined in Amazonka.RAM.Types.Resource

newResource :: Resource Source #

Create a value of Resource 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:Resource', resource_arn - The Amazon Resoure Name (ARN) of the resource.

$sel:creationTime:Resource', resource_creationTime - The date and time when the resource was associated with the resource share.

$sel:lastUpdatedTime:Resource', resource_lastUpdatedTime - The date an time when the association was last updated.

$sel:resourceGroupArn:Resource', resource_resourceGroupArn - The Amazon Resoure Name (ARN) of the resource group. This value is available only if the resource is part of a resource group.

$sel:resourceRegionScope:Resource', resource_resourceRegionScope - Specifies the scope of visibility of this resource:

  • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
  • GLOBAL – The resource can be accessed from any Amazon Web Services Region.

$sel:resourceShareArn:Resource', resource_resourceShareArn - The Amazon Resoure Name (ARN) of the resource share this resource is associated with.

$sel:status:Resource', resource_status - The current status of the resource.

$sel:statusMessage:Resource', resource_statusMessage - A message about the status of the resource.

$sel:type':Resource', resource_type - The resource type. This takes the form of: service-code:resource-code

resource_creationTime :: Lens' Resource (Maybe UTCTime) Source #

The date and time when the resource was associated with the resource share.

resource_lastUpdatedTime :: Lens' Resource (Maybe UTCTime) Source #

The date an time when the association was last updated.

resource_resourceGroupArn :: Lens' Resource (Maybe Text) Source #

The Amazon Resoure Name (ARN) of the resource group. This value is available only if the resource is part of a resource group.

resource_resourceRegionScope :: Lens' Resource (Maybe ResourceRegionScope) Source #

Specifies the scope of visibility of this resource:

  • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
  • GLOBAL – The resource can be accessed from any Amazon Web Services Region.

resource_resourceShareArn :: Lens' Resource (Maybe Text) Source #

The Amazon Resoure Name (ARN) of the resource share this resource is associated with.

resource_status :: Lens' Resource (Maybe ResourceStatus) Source #

The current status of the resource.

resource_statusMessage :: Lens' Resource (Maybe Text) Source #

A message about the status of the resource.

resource_type :: Lens' Resource (Maybe Text) Source #

The resource type. This takes the form of: service-code:resource-code

ResourceShare

data ResourceShare Source #

Describes a resource share in RAM.

See: newResourceShare smart constructor.

Constructors

ResourceShare' 

Fields

  • allowExternalPrincipals :: Maybe Bool

    Indicates whether principals outside your organization in Organizations can be associated with a resource share.

  • creationTime :: Maybe POSIX

    The date and time when the resource share was created.

  • featureSet :: Maybe ResourceShareFeatureSet

    Indicates how the resource share was created. Possible values include:

    • CREATED_FROM_POLICY - Indicates that the resource share was created from an Identity and Access Management (IAM) resource-based permission policy attached to the resource. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
    • PROMOTING_TO_STANDARD - The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.
    • STANDARD - Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs.
  • lastUpdatedTime :: Maybe POSIX

    The date and time when the resource share was last updated.

  • name :: Maybe Text

    The name of the resource share.

  • owningAccountId :: Maybe Text

    The ID of the Amazon Web Services account that owns the resource share.

  • resourceShareArn :: Maybe Text

    The Amazon Resoure Name (ARN) of the resource share

  • status :: Maybe ResourceShareStatus

    The current status of the resource share.

  • statusMessage :: Maybe Text

    A message about the status of the resource share.

  • tags :: Maybe [Tag]

    The tag key and value pairs attached to the resource share.

Instances

Instances details
FromJSON ResourceShare Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShare

Generic ResourceShare Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShare

Associated Types

type Rep ResourceShare :: Type -> Type #

Read ResourceShare Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShare

Show ResourceShare Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShare

NFData ResourceShare Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShare

Methods

rnf :: ResourceShare -> () #

Eq ResourceShare Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShare

Hashable ResourceShare Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShare

type Rep ResourceShare Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShare

newResourceShare :: ResourceShare Source #

Create a value of ResourceShare 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:allowExternalPrincipals:ResourceShare', resourceShare_allowExternalPrincipals - Indicates whether principals outside your organization in Organizations can be associated with a resource share.

$sel:creationTime:ResourceShare', resourceShare_creationTime - The date and time when the resource share was created.

$sel:featureSet:ResourceShare', resourceShare_featureSet - Indicates how the resource share was created. Possible values include:

  • CREATED_FROM_POLICY - Indicates that the resource share was created from an Identity and Access Management (IAM) resource-based permission policy attached to the resource. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
  • PROMOTING_TO_STANDARD - The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.
  • STANDARD - Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs.

$sel:lastUpdatedTime:ResourceShare', resourceShare_lastUpdatedTime - The date and time when the resource share was last updated.

$sel:name:ResourceShare', resourceShare_name - The name of the resource share.

$sel:owningAccountId:ResourceShare', resourceShare_owningAccountId - The ID of the Amazon Web Services account that owns the resource share.

$sel:resourceShareArn:ResourceShare', resourceShare_resourceShareArn - The Amazon Resoure Name (ARN) of the resource share

$sel:status:ResourceShare', resourceShare_status - The current status of the resource share.

$sel:statusMessage:ResourceShare', resourceShare_statusMessage - A message about the status of the resource share.

$sel:tags:ResourceShare', resourceShare_tags - The tag key and value pairs attached to the resource share.

resourceShare_allowExternalPrincipals :: Lens' ResourceShare (Maybe Bool) Source #

Indicates whether principals outside your organization in Organizations can be associated with a resource share.

resourceShare_creationTime :: Lens' ResourceShare (Maybe UTCTime) Source #

The date and time when the resource share was created.

resourceShare_featureSet :: Lens' ResourceShare (Maybe ResourceShareFeatureSet) Source #

Indicates how the resource share was created. Possible values include:

  • CREATED_FROM_POLICY - Indicates that the resource share was created from an Identity and Access Management (IAM) resource-based permission policy attached to the resource. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
  • PROMOTING_TO_STANDARD - The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.
  • STANDARD - Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs.

resourceShare_lastUpdatedTime :: Lens' ResourceShare (Maybe UTCTime) Source #

The date and time when the resource share was last updated.

resourceShare_name :: Lens' ResourceShare (Maybe Text) Source #

The name of the resource share.

resourceShare_owningAccountId :: Lens' ResourceShare (Maybe Text) Source #

The ID of the Amazon Web Services account that owns the resource share.

resourceShare_status :: Lens' ResourceShare (Maybe ResourceShareStatus) Source #

The current status of the resource share.

resourceShare_statusMessage :: Lens' ResourceShare (Maybe Text) Source #

A message about the status of the resource share.

resourceShare_tags :: Lens' ResourceShare (Maybe [Tag]) Source #

The tag key and value pairs attached to the resource share.

ResourceShareAssociation

data ResourceShareAssociation Source #

Describes an association with a resource share and either a principal or a resource.

See: newResourceShareAssociation smart constructor.

Constructors

ResourceShareAssociation' 

Fields

Instances

Instances details
FromJSON ResourceShareAssociation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociation

Generic ResourceShareAssociation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociation

Associated Types

type Rep ResourceShareAssociation :: Type -> Type #

Read ResourceShareAssociation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociation

Show ResourceShareAssociation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociation

NFData ResourceShareAssociation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociation

Eq ResourceShareAssociation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociation

Hashable ResourceShareAssociation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociation

type Rep ResourceShareAssociation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareAssociation

newResourceShareAssociation :: ResourceShareAssociation Source #

Create a value of ResourceShareAssociation 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:associatedEntity:ResourceShareAssociation', resourceShareAssociation_associatedEntity - The associated entity. This can be either of the following:

  • For a resource association, this is the Amazon Resoure Name (ARN) of the resource.
  • For principal associations, this is one of the following:

    • The ID of an Amazon Web Services account
    • The Amazon Resoure Name (ARN) of an organization in Organizations
    • The ARN of an organizational unit (OU) in Organizations
    • The ARN of an IAM role
    • The ARN of an IAM user

$sel:associationType:ResourceShareAssociation', resourceShareAssociation_associationType - The type of entity included in this association.

$sel:creationTime:ResourceShareAssociation', resourceShareAssociation_creationTime - The date and time when the association was created.

$sel:external:ResourceShareAssociation', resourceShareAssociation_external - Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

$sel:lastUpdatedTime:ResourceShareAssociation', resourceShareAssociation_lastUpdatedTime - The date and time when the association was last updated.

$sel:resourceShareArn:ResourceShareAssociation', resourceShareAssociation_resourceShareArn - The Amazon Resoure Name (ARN) of the resource share.

$sel:resourceShareName:ResourceShareAssociation', resourceShareAssociation_resourceShareName - The name of the resource share.

$sel:status:ResourceShareAssociation', resourceShareAssociation_status - The current status of the association.

$sel:statusMessage:ResourceShareAssociation', resourceShareAssociation_statusMessage - A message about the status of the association.

resourceShareAssociation_associatedEntity :: Lens' ResourceShareAssociation (Maybe Text) Source #

The associated entity. This can be either of the following:

  • For a resource association, this is the Amazon Resoure Name (ARN) of the resource.
  • For principal associations, this is one of the following:

    • The ID of an Amazon Web Services account
    • The Amazon Resoure Name (ARN) of an organization in Organizations
    • The ARN of an organizational unit (OU) in Organizations
    • The ARN of an IAM role
    • The ARN of an IAM user

resourceShareAssociation_creationTime :: Lens' ResourceShareAssociation (Maybe UTCTime) Source #

The date and time when the association was created.

resourceShareAssociation_external :: Lens' ResourceShareAssociation (Maybe Bool) Source #

Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

resourceShareAssociation_lastUpdatedTime :: Lens' ResourceShareAssociation (Maybe UTCTime) Source #

The date and time when the association was last updated.

resourceShareAssociation_statusMessage :: Lens' ResourceShareAssociation (Maybe Text) Source #

A message about the status of the association.

ResourceShareInvitation

data ResourceShareInvitation Source #

Describes an invitation for an Amazon Web Services account to join a resource share.

See: newResourceShareInvitation smart constructor.

Constructors

ResourceShareInvitation' 

Fields

Instances

Instances details
FromJSON ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

Generic ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

Associated Types

type Rep ResourceShareInvitation :: Type -> Type #

Read ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

Show ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

NFData ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

Methods

rnf :: ResourceShareInvitation -> () #

Eq ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

Hashable ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

type Rep ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

type Rep ResourceShareInvitation = D1 ('MetaData "ResourceShareInvitation" "Amazonka.RAM.Types.ResourceShareInvitation" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "ResourceShareInvitation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "invitationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "receiverAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "receiverArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "resourceShareAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceShareAssociation])) :*: S1 ('MetaSel ('Just "resourceShareInvitationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceShareName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "senderAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceShareInvitationStatus)))))))

newResourceShareInvitation :: ResourceShareInvitation Source #

Create a value of ResourceShareInvitation 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:invitationTimestamp:ResourceShareInvitation', resourceShareInvitation_invitationTimestamp - The date and time when the invitation was sent.

$sel:receiverAccountId:ResourceShareInvitation', resourceShareInvitation_receiverAccountId - The ID of the Amazon Web Services account that received the invitation.

$sel:receiverArn:ResourceShareInvitation', resourceShareInvitation_receiverArn - The Amazon Resoure Name (ARN) of the IAM user or role that received the invitation.

ResourceShareInvitation, resourceShareInvitation_resourceShareArn - The Amazon Resoure Name (ARN) of the resource share

$sel:resourceShareAssociations:ResourceShareInvitation', resourceShareInvitation_resourceShareAssociations - To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.

$sel:resourceShareInvitationArn:ResourceShareInvitation', resourceShareInvitation_resourceShareInvitationArn - The Amazon Resoure Name (ARN) of the invitation.

ResourceShareInvitation, resourceShareInvitation_resourceShareName - The name of the resource share.

$sel:senderAccountId:ResourceShareInvitation', resourceShareInvitation_senderAccountId - The ID of the Amazon Web Services account that sent the invitation.

ResourceShareInvitation, resourceShareInvitation_status - The current status of the invitation.

resourceShareInvitation_receiverAccountId :: Lens' ResourceShareInvitation (Maybe Text) Source #

The ID of the Amazon Web Services account that received the invitation.

resourceShareInvitation_resourceShareAssociations :: Lens' ResourceShareInvitation (Maybe [ResourceShareAssociation]) Source #

To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.

resourceShareInvitation_senderAccountId :: Lens' ResourceShareInvitation (Maybe Text) Source #

The ID of the Amazon Web Services account that sent the invitation.

ResourceSharePermissionDetail

data ResourceSharePermissionDetail Source #

Information about an RAM permission.

See: newResourceSharePermissionDetail smart constructor.

Constructors

ResourceSharePermissionDetail' 

Fields

Instances

Instances details
FromJSON ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

Generic ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

Associated Types

type Rep ResourceSharePermissionDetail :: Type -> Type #

Read ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

Show ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

NFData ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

Eq ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

Hashable ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

type Rep ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

type Rep ResourceSharePermissionDetail = D1 ('MetaData "ResourceSharePermissionDetail" "Amazonka.RAM.Types.ResourceSharePermissionDetail" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "ResourceSharePermissionDetail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "defaultVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isResourceTypeDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "permission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newResourceSharePermissionDetail :: ResourceSharePermissionDetail Source #

Create a value of ResourceSharePermissionDetail 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:ResourceSharePermissionDetail', resourceSharePermissionDetail_arn - The Amazon Resoure Name (ARN) of this RAM permission.

$sel:creationTime:ResourceSharePermissionDetail', resourceSharePermissionDetail_creationTime - The date and time when the permission was created.

$sel:defaultVersion:ResourceSharePermissionDetail', resourceSharePermissionDetail_defaultVersion - Specifies whether the version of the permission represented in this structure is the default version for this permission.

$sel:isResourceTypeDefault:ResourceSharePermissionDetail', resourceSharePermissionDetail_isResourceTypeDefault - Specifies whether the version of the permission represented in this structure is the default version for all resources of this resource type.

$sel:lastUpdatedTime:ResourceSharePermissionDetail', resourceSharePermissionDetail_lastUpdatedTime - The date and time when the permission was last updated.

$sel:name:ResourceSharePermissionDetail', resourceSharePermissionDetail_name - The name of this permission.

$sel:permission:ResourceSharePermissionDetail', resourceSharePermissionDetail_permission - The permission's effect and actions in JSON format. The effect indicates whether the specified actions are allowed or denied. The actions list the operations to which the principal is granted or denied access.

$sel:resourceType:ResourceSharePermissionDetail', resourceSharePermissionDetail_resourceType - The resource type to which this permission applies.

$sel:version:ResourceSharePermissionDetail', resourceSharePermissionDetail_version - The version of the permission represented in this structure.

resourceSharePermissionDetail_defaultVersion :: Lens' ResourceSharePermissionDetail (Maybe Bool) Source #

Specifies whether the version of the permission represented in this structure is the default version for this permission.

resourceSharePermissionDetail_isResourceTypeDefault :: Lens' ResourceSharePermissionDetail (Maybe Bool) Source #

Specifies whether the version of the permission represented in this structure is the default version for all resources of this resource type.

resourceSharePermissionDetail_lastUpdatedTime :: Lens' ResourceSharePermissionDetail (Maybe UTCTime) Source #

The date and time when the permission was last updated.

resourceSharePermissionDetail_permission :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #

The permission's effect and actions in JSON format. The effect indicates whether the specified actions are allowed or denied. The actions list the operations to which the principal is granted or denied access.

resourceSharePermissionDetail_resourceType :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #

The resource type to which this permission applies.

resourceSharePermissionDetail_version :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #

The version of the permission represented in this structure.

ResourceSharePermissionSummary

data ResourceSharePermissionSummary Source #

Information about an RAM permission that is associated with a resource share and any of its resources of a specified type.

See: newResourceSharePermissionSummary smart constructor.

Constructors

ResourceSharePermissionSummary' 

Fields

Instances

Instances details
FromJSON ResourceSharePermissionSummary Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionSummary

Generic ResourceSharePermissionSummary Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionSummary

Associated Types

type Rep ResourceSharePermissionSummary :: Type -> Type #

Read ResourceSharePermissionSummary Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionSummary

Show ResourceSharePermissionSummary Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionSummary

NFData ResourceSharePermissionSummary Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionSummary

Eq ResourceSharePermissionSummary Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionSummary

Hashable ResourceSharePermissionSummary Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionSummary

type Rep ResourceSharePermissionSummary Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionSummary

type Rep ResourceSharePermissionSummary = D1 ('MetaData "ResourceSharePermissionSummary" "Amazonka.RAM.Types.ResourceSharePermissionSummary" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "ResourceSharePermissionSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "defaultVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isResourceTypeDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newResourceSharePermissionSummary :: ResourceSharePermissionSummary Source #

Create a value of ResourceSharePermissionSummary 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:ResourceSharePermissionSummary', resourceSharePermissionSummary_arn - The Amazon Resoure Name (ARN) of the permission you want information about.

$sel:creationTime:ResourceSharePermissionSummary', resourceSharePermissionSummary_creationTime - The date and time when the permission was created.

$sel:defaultVersion:ResourceSharePermissionSummary', resourceSharePermissionSummary_defaultVersion - Specifies whether the version of the permission represented in this structure is the default version for this permission.

$sel:isResourceTypeDefault:ResourceSharePermissionSummary', resourceSharePermissionSummary_isResourceTypeDefault - Specifies whether the version of the permission represented in this structure is the default version for all resources of this resource type.

$sel:lastUpdatedTime:ResourceSharePermissionSummary', resourceSharePermissionSummary_lastUpdatedTime - The date and time when the permission was last updated.

$sel:name:ResourceSharePermissionSummary', resourceSharePermissionSummary_name - The name of this permission.

$sel:resourceType:ResourceSharePermissionSummary', resourceSharePermissionSummary_resourceType - The type of resource to which this permission applies.

$sel:status:ResourceSharePermissionSummary', resourceSharePermissionSummary_status - The current status of the permission.

$sel:version:ResourceSharePermissionSummary', resourceSharePermissionSummary_version - The version of the permission represented in this structure.

resourceSharePermissionSummary_defaultVersion :: Lens' ResourceSharePermissionSummary (Maybe Bool) Source #

Specifies whether the version of the permission represented in this structure is the default version for this permission.

resourceSharePermissionSummary_isResourceTypeDefault :: Lens' ResourceSharePermissionSummary (Maybe Bool) Source #

Specifies whether the version of the permission represented in this structure is the default version for all resources of this resource type.

resourceSharePermissionSummary_resourceType :: Lens' ResourceSharePermissionSummary (Maybe Text) Source #

The type of resource to which this permission applies.

resourceSharePermissionSummary_version :: Lens' ResourceSharePermissionSummary (Maybe Text) Source #

The version of the permission represented in this structure.

ServiceNameAndResourceType

data ServiceNameAndResourceType Source #

Information about a shareable resource type and the Amazon Web Services service to which resources of that type belong.

See: newServiceNameAndResourceType smart constructor.

Constructors

ServiceNameAndResourceType' 

Fields

  • resourceRegionScope :: Maybe ResourceRegionScope

    Specifies the scope of visibility of resources of this type:

    • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
    • GLOBAL – The resource can be accessed from any Amazon Web Services Region.
  • resourceType :: Maybe Text

    The type of the resource.

  • serviceName :: Maybe Text

    The name of the Amazon Web Services service to which resources of this type belong.

Instances

Instances details
FromJSON ServiceNameAndResourceType Source # 
Instance details

Defined in Amazonka.RAM.Types.ServiceNameAndResourceType

Generic ServiceNameAndResourceType Source # 
Instance details

Defined in Amazonka.RAM.Types.ServiceNameAndResourceType

Associated Types

type Rep ServiceNameAndResourceType :: Type -> Type #

Read ServiceNameAndResourceType Source # 
Instance details

Defined in Amazonka.RAM.Types.ServiceNameAndResourceType

Show ServiceNameAndResourceType Source # 
Instance details

Defined in Amazonka.RAM.Types.ServiceNameAndResourceType

NFData ServiceNameAndResourceType Source # 
Instance details

Defined in Amazonka.RAM.Types.ServiceNameAndResourceType

Eq ServiceNameAndResourceType Source # 
Instance details

Defined in Amazonka.RAM.Types.ServiceNameAndResourceType

Hashable ServiceNameAndResourceType Source # 
Instance details

Defined in Amazonka.RAM.Types.ServiceNameAndResourceType

type Rep ServiceNameAndResourceType Source # 
Instance details

Defined in Amazonka.RAM.Types.ServiceNameAndResourceType

type Rep ServiceNameAndResourceType = D1 ('MetaData "ServiceNameAndResourceType" "Amazonka.RAM.Types.ServiceNameAndResourceType" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "ServiceNameAndResourceType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceRegionScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceRegionScope)) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newServiceNameAndResourceType :: ServiceNameAndResourceType Source #

Create a value of ServiceNameAndResourceType 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:resourceRegionScope:ServiceNameAndResourceType', serviceNameAndResourceType_resourceRegionScope - Specifies the scope of visibility of resources of this type:

  • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
  • GLOBAL – The resource can be accessed from any Amazon Web Services Region.

$sel:resourceType:ServiceNameAndResourceType', serviceNameAndResourceType_resourceType - The type of the resource.

$sel:serviceName:ServiceNameAndResourceType', serviceNameAndResourceType_serviceName - The name of the Amazon Web Services service to which resources of this type belong.

serviceNameAndResourceType_resourceRegionScope :: Lens' ServiceNameAndResourceType (Maybe ResourceRegionScope) Source #

Specifies the scope of visibility of resources of this type:

  • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
  • GLOBAL – The resource can be accessed from any Amazon Web Services Region.

serviceNameAndResourceType_serviceName :: Lens' ServiceNameAndResourceType (Maybe Text) Source #

The name of the Amazon Web Services service to which resources of this type belong.

Tag

data Tag Source #

A structure containing a tag. A tag is metadata that you can attach to your resources to help organize and categorize them. You can also use them to help you secure your resources. For more information, see Controlling access to Amazon Web Services resources using tags.

For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • key :: Maybe Text

    The key, or name, attached to the tag. Every tag must have a key. Key names are case sensitive.

  • value :: Maybe Text

    The string value attached to the tag. The value can be an empty string. Key values are case sensitive.

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.RAM.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.RAM.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.RAM.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.RAM.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.RAM.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.RAM.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.RAM.Types.Tag

Methods

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

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

Hashable Tag Source # 
Instance details

Defined in Amazonka.RAM.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.RAM.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.RAM.Types.Tag" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTag :: Tag Source #

Create a value of Tag 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:key:Tag', tag_key - The key, or name, attached to the tag. Every tag must have a key. Key names are case sensitive.

$sel:value:Tag', tag_value - The string value attached to the tag. The value can be an empty string. Key values are case sensitive.

tag_key :: Lens' Tag (Maybe Text) Source #

The key, or name, attached to the tag. Every tag must have a key. Key names are case sensitive.

tag_value :: Lens' Tag (Maybe Text) Source #

The string value attached to the tag. The value can be an empty string. Key values are case sensitive.

TagFilter

data TagFilter Source #

A tag key and optional list of possible values that you can use to filter results for tagged resources.

See: newTagFilter smart constructor.

Constructors

TagFilter' 

Fields

  • tagKey :: Maybe Text

    The tag key. This must have a valid string value and can't be empty.

  • tagValues :: Maybe [Text]

    A list of zero or more tag values. If no values are provided, then the filter matches any tag with the specified key, regardless of its value.

Instances

Instances details
ToJSON TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

Generic TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

Associated Types

type Rep TagFilter :: Type -> Type #

Read TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

Show TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

NFData TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

Methods

rnf :: TagFilter -> () #

Eq TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

Hashable TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

type Rep TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

type Rep TagFilter = D1 ('MetaData "TagFilter" "Amazonka.RAM.Types.TagFilter" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "TagFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tagValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newTagFilter :: TagFilter Source #

Create a value of TagFilter 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:tagKey:TagFilter', tagFilter_tagKey - The tag key. This must have a valid string value and can't be empty.

$sel:tagValues:TagFilter', tagFilter_tagValues - A list of zero or more tag values. If no values are provided, then the filter matches any tag with the specified key, regardless of its value.

tagFilter_tagKey :: Lens' TagFilter (Maybe Text) Source #

The tag key. This must have a valid string value and can't be empty.

tagFilter_tagValues :: Lens' TagFilter (Maybe [Text]) Source #

A list of zero or more tag values. If no values are provided, then the filter matches any tag with the specified key, regardless of its value.