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

Description

 
Synopsis

Documentation

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.