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

Description

 
Synopsis

Documentation

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.