#[non_exhaustive]pub struct OrganizationEventDetailsErrorItem {
pub aws_account_id: Option<String>,
pub event_arn: Option<String>,
pub error_name: Option<String>,
pub error_message: Option<String>,
}
Expand description
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
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.aws_account_id: Option<String>
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
event_arn: Option<String>
The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
error_name: Option<String>
The name of the error.
error_message: Option<String>
A message that describes the error.
If you call the DescribeEventDetailsForOrganization
operation and receive one of the following errors, follow the recommendations in the message:
-
We couldn't find a public event that matches your request. To find an event that is account specific, you must enter an Amazon Web Services account ID in the request.
-
We couldn't find an account specific event for the specified Amazon Web Services account. To find an event that is public, you must enter a null value for the Amazon Web Services account ID in the request.
-
Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the Health API. You must have either a Business, Enterprise On-Ramp, or Enterprise Support plan.
Implementations§
source§impl OrganizationEventDetailsErrorItem
impl OrganizationEventDetailsErrorItem
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
sourcepub fn event_arn(&self) -> Option<&str>
pub fn event_arn(&self) -> Option<&str>
The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
format.
For example, an event ARN might look like the following:
arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456
sourcepub fn error_name(&self) -> Option<&str>
pub fn error_name(&self) -> Option<&str>
The name of the error.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
A message that describes the error.
If you call the DescribeEventDetailsForOrganization
operation and receive one of the following errors, follow the recommendations in the message:
-
We couldn't find a public event that matches your request. To find an event that is account specific, you must enter an Amazon Web Services account ID in the request.
-
We couldn't find an account specific event for the specified Amazon Web Services account. To find an event that is public, you must enter a null value for the Amazon Web Services account ID in the request.
-
Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the Health API. You must have either a Business, Enterprise On-Ramp, or Enterprise Support plan.
source§impl OrganizationEventDetailsErrorItem
impl OrganizationEventDetailsErrorItem
sourcepub fn builder() -> OrganizationEventDetailsErrorItemBuilder
pub fn builder() -> OrganizationEventDetailsErrorItemBuilder
Creates a new builder-style object to manufacture OrganizationEventDetailsErrorItem
.
Trait Implementations§
source§impl Clone for OrganizationEventDetailsErrorItem
impl Clone for OrganizationEventDetailsErrorItem
source§fn clone(&self) -> OrganizationEventDetailsErrorItem
fn clone(&self) -> OrganizationEventDetailsErrorItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for OrganizationEventDetailsErrorItem
impl PartialEq for OrganizationEventDetailsErrorItem
source§fn eq(&self, other: &OrganizationEventDetailsErrorItem) -> bool
fn eq(&self, other: &OrganizationEventDetailsErrorItem) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OrganizationEventDetailsErrorItem
Auto Trait Implementations§
impl Freeze for OrganizationEventDetailsErrorItem
impl RefUnwindSafe for OrganizationEventDetailsErrorItem
impl Send for OrganizationEventDetailsErrorItem
impl Sync for OrganizationEventDetailsErrorItem
impl Unpin for OrganizationEventDetailsErrorItem
impl UnwindSafe for OrganizationEventDetailsErrorItem
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more