#[non_exhaustive]pub struct ReplacePermissionAssociationsWork {
pub id: Option<String>,
pub from_permission_arn: Option<String>,
pub from_permission_version: Option<String>,
pub to_permission_arn: Option<String>,
pub to_permission_version: Option<String>,
pub status: Option<ReplacePermissionAssociationsWorkStatus>,
pub status_message: Option<String>,
pub creation_time: Option<DateTime>,
pub last_updated_time: Option<DateTime>,
}Expand description
A structure that represents the background work that RAM performs when you invoke the ReplacePermissionAssociations operation.
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.id: Option<String>The unique identifier for the background task associated with one ReplacePermissionAssociations request.
from_permission_arn: Option<String>The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.
from_permission_version: Option<String>The version of the managed permission that this background task is replacing.
to_permission_arn: Option<String>The ARN of the managed permission that this background task is associating with the resource shares in place of the managed permission and version specified in fromPermissionArn and fromPermissionVersion.
to_permission_version: Option<String>The version of the managed permission that this background task is associating with the resource shares. This is always the version that is currently the default for this managed permission.
status: Option<ReplacePermissionAssociationsWorkStatus>Specifies the current status of the background tasks for the specified ID. The output is one of the following strings:
-
IN_PROGRESS -
COMPLETED -
FAILED
status_message: Option<String>Specifies the reason for a FAILED status. This field is present only when there status is FAILED.
creation_time: Option<DateTime>The date and time when this asynchronous background task was created.
last_updated_time: Option<DateTime>The date and time when the status of this background task was last updated.
Implementations§
source§impl ReplacePermissionAssociationsWork
impl ReplacePermissionAssociationsWork
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The unique identifier for the background task associated with one ReplacePermissionAssociations request.
sourcepub fn from_permission_arn(&self) -> Option<&str>
pub fn from_permission_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.
sourcepub fn from_permission_version(&self) -> Option<&str>
pub fn from_permission_version(&self) -> Option<&str>
The version of the managed permission that this background task is replacing.
sourcepub fn to_permission_arn(&self) -> Option<&str>
pub fn to_permission_arn(&self) -> Option<&str>
The ARN of the managed permission that this background task is associating with the resource shares in place of the managed permission and version specified in fromPermissionArn and fromPermissionVersion.
sourcepub fn to_permission_version(&self) -> Option<&str>
pub fn to_permission_version(&self) -> Option<&str>
The version of the managed permission that this background task is associating with the resource shares. This is always the version that is currently the default for this managed permission.
sourcepub fn status(&self) -> Option<&ReplacePermissionAssociationsWorkStatus>
pub fn status(&self) -> Option<&ReplacePermissionAssociationsWorkStatus>
Specifies the current status of the background tasks for the specified ID. The output is one of the following strings:
-
IN_PROGRESS -
COMPLETED -
FAILED
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
Specifies the reason for a FAILED status. This field is present only when there status is FAILED.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The date and time when this asynchronous background task was created.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The date and time when the status of this background task was last updated.
source§impl ReplacePermissionAssociationsWork
impl ReplacePermissionAssociationsWork
sourcepub fn builder() -> ReplacePermissionAssociationsWorkBuilder
pub fn builder() -> ReplacePermissionAssociationsWorkBuilder
Creates a new builder-style object to manufacture ReplacePermissionAssociationsWork.
Trait Implementations§
source§impl Clone for ReplacePermissionAssociationsWork
impl Clone for ReplacePermissionAssociationsWork
source§fn clone(&self) -> ReplacePermissionAssociationsWork
fn clone(&self) -> ReplacePermissionAssociationsWork
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ReplacePermissionAssociationsWork
impl PartialEq for ReplacePermissionAssociationsWork
source§fn eq(&self, other: &ReplacePermissionAssociationsWork) -> bool
fn eq(&self, other: &ReplacePermissionAssociationsWork) -> bool
self and other values to be equal, and is used
by ==.