Struct aws_sdk_ram::types::ResourceShareInvitation
source · #[non_exhaustive]pub struct ResourceShareInvitation {
pub resource_share_invitation_arn: Option<String>,
pub resource_share_name: Option<String>,
pub resource_share_arn: Option<String>,
pub sender_account_id: Option<String>,
pub receiver_account_id: Option<String>,
pub invitation_timestamp: Option<DateTime>,
pub status: Option<ResourceShareInvitationStatus>,
pub resource_share_associations: Option<Vec<ResourceShareAssociation>>,
pub receiver_arn: Option<String>,
}Expand description
Describes an invitation for an Amazon Web Services account to join a resource share.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.The Amazon Resource Name (ARN) of the invitation.
The name of the resource share.
The Amazon Resource Name (ARN) of the resource share
sender_account_id: Option<String>The ID of the Amazon Web Services account that sent the invitation.
receiver_account_id: Option<String>The ID of the Amazon Web Services account that received the invitation.
invitation_timestamp: Option<DateTime>The date and time when the invitation was sent.
status: Option<ResourceShareInvitationStatus>The current status of the invitation.
To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
receiver_arn: Option<String>The Amazon Resource Name (ARN) of the IAM user or role that received the invitation.
Implementations§
The Amazon Resource Name (ARN) of the invitation.
The name of the resource share.
The Amazon Resource Name (ARN) of the resource share
sourcepub fn sender_account_id(&self) -> Option<&str>
pub fn sender_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that sent the invitation.
sourcepub fn receiver_account_id(&self) -> Option<&str>
pub fn receiver_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that received the invitation.
sourcepub fn invitation_timestamp(&self) -> Option<&DateTime>
pub fn invitation_timestamp(&self) -> Option<&DateTime>
The date and time when the invitation was sent.
sourcepub fn status(&self) -> Option<&ResourceShareInvitationStatus>
pub fn status(&self) -> Option<&ResourceShareInvitationStatus>
The current status of the invitation.
👎Deprecated: This member has been deprecated. Use ListPendingInvitationResources.
To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_share_associations.is_none().
sourcepub fn receiver_arn(&self) -> Option<&str>
pub fn receiver_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM user or role that received the invitation.
sourcepub fn builder() -> ResourceShareInvitationBuilder
pub fn builder() -> ResourceShareInvitationBuilder
Creates a new builder-style object to manufacture ResourceShareInvitation.
Trait Implementations§
source§fn clone(&self) -> ResourceShareInvitation
fn clone(&self) -> ResourceShareInvitation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§fn eq(&self, other: &ResourceShareInvitation) -> bool
fn eq(&self, other: &ResourceShareInvitation) -> bool
self and other values to be equal, and is used
by ==.