#[non_exhaustive]
pub struct ResourceShare { pub resource_share_arn: Option<String>, pub name: Option<String>, pub owning_account_id: Option<String>, pub allow_external_principals: Option<bool>, pub status: Option<ResourceShareStatus>, pub status_message: Option<String>, pub tags: Option<Vec<Tag>>, pub creation_time: Option<DateTime>, pub last_updated_time: Option<DateTime>, pub feature_set: Option<ResourceShareFeatureSet>, }
Expand description

Describes a resource share in RAM.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
resource_share_arn: Option<String>

The Amazon Resoure Name (ARN) of the resource share

name: Option<String>

The name of the resource share.

owning_account_id: Option<String>

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

allow_external_principals: Option<bool>

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

status: Option<ResourceShareStatus>

The current status of the resource share.

status_message: Option<String>

A message about the status of the resource share.

tags: Option<Vec<Tag>>

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

creation_time: Option<DateTime>

The date and time when the resource share was created.

last_updated_time: Option<DateTime>

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

feature_set: Option<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.

Implementations

The Amazon Resoure Name (ARN) of the resource share

The name of the resource share.

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

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

The current status of the resource share.

A message about the status of the resource share.

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

The date and time when the resource share was created.

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

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.

Creates a new builder-style object to manufacture ResourceShare

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more