#[non_exhaustive]pub struct TrafficDistributionGroupSummary {
pub id: Option<String>,
pub arn: Option<String>,
pub name: Option<String>,
pub instance_arn: Option<String>,
pub status: Option<TrafficDistributionGroupStatus>,
pub is_default: bool,
}
Expand description
Information about traffic distribution groups.
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 identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
arn: Option<String>
The Amazon Resource Name (ARN) of the traffic distribution group.
name: Option<String>
The name of the traffic distribution group.
instance_arn: Option<String>
The Amazon Resource Name (ARN) of the traffic distribution group.
status: Option<TrafficDistributionGroupStatus>
The status of the traffic distribution group.
-
CREATION_IN_PROGRESS
means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. -
ACTIVE
means the previous CreateTrafficDistributionGroup operation has succeeded. -
CREATION_FAILED
indicates that the previous CreateTrafficDistributionGroup operation has failed. -
PENDING_DELETION
means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. -
DELETION_FAILED
means the previous DeleteTrafficDistributionGroup operation has failed. -
UPDATE_IN_PROGRESS
means the previous UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
is_default: bool
Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup
API. The default traffic distribution group is deleted as part of the process for deleting a replica.
Implementations§
source§impl TrafficDistributionGroupSummary
impl TrafficDistributionGroupSummary
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the traffic distribution group.
sourcepub fn instance_arn(&self) -> Option<&str>
pub fn instance_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the traffic distribution group.
sourcepub fn status(&self) -> Option<&TrafficDistributionGroupStatus>
pub fn status(&self) -> Option<&TrafficDistributionGroupStatus>
The status of the traffic distribution group.
-
CREATION_IN_PROGRESS
means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. -
ACTIVE
means the previous CreateTrafficDistributionGroup operation has succeeded. -
CREATION_FAILED
indicates that the previous CreateTrafficDistributionGroup operation has failed. -
PENDING_DELETION
means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. -
DELETION_FAILED
means the previous DeleteTrafficDistributionGroup operation has failed. -
UPDATE_IN_PROGRESS
means the previous UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup
API. The default traffic distribution group is deleted as part of the process for deleting a replica.
source§impl TrafficDistributionGroupSummary
impl TrafficDistributionGroupSummary
sourcepub fn builder() -> TrafficDistributionGroupSummaryBuilder
pub fn builder() -> TrafficDistributionGroupSummaryBuilder
Creates a new builder-style object to manufacture TrafficDistributionGroupSummary
.
Trait Implementations§
source§impl Clone for TrafficDistributionGroupSummary
impl Clone for TrafficDistributionGroupSummary
source§fn clone(&self) -> TrafficDistributionGroupSummary
fn clone(&self) -> TrafficDistributionGroupSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for TrafficDistributionGroupSummary
impl PartialEq for TrafficDistributionGroupSummary
source§fn eq(&self, other: &TrafficDistributionGroupSummary) -> bool
fn eq(&self, other: &TrafficDistributionGroupSummary) -> bool
self
and other
values to be equal, and is used
by ==
.