libZSservicesZSamazonka-ramZSamazonka-ram
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RAM.Types.ResourceShareInvitation

Description

 
Synopsis

Documentation

data ResourceShareInvitation Source #

Describes an invitation to join a resource share.

See: newResourceShareInvitation smart constructor.

Constructors

ResourceShareInvitation' 

Fields

Instances

Instances details
Eq ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

Read ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

Show 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 #

NFData ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

Methods

rnf :: ResourceShareInvitation -> () #

Hashable ResourceShareInvitation Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceShareInvitation

FromJSON 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" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "ResourceShareInvitation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceShareInvitationStatus)) :*: S1 ('MetaSel ('Just "senderAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "receiverAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "resourceShareAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceShareAssociation])) :*: S1 ('MetaSel ('Just "resourceShareName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "receiverArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "invitationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "resourceShareInvitationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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:status:ResourceShareInvitation', resourceShareInvitation_status - The status of the invitation.

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

$sel:resourceShareArn:ResourceShareInvitation', resourceShareInvitation_resourceShareArn - The Amazon Resource Name (ARN) of the resource share.

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

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

$sel:resourceShareName:ResourceShareInvitation', resourceShareInvitation_resourceShareName - The name of the resource share.

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

$sel:invitationTimestamp:ResourceShareInvitation', resourceShareInvitation_invitationTimestamp - The date and time when the invitation was sent.

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

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

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

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

The Amazon Resource Name (ARN) of the resource share.

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

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

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

The Amazon Resource Name (ARN) of the IAM user or IAM role that received the invitation.