pub struct OrganizationEventDetailsErrorItem {
pub aws_account_id: Option<String>,
pub error_message: Option<String>,
pub error_name: Option<String>,
pub event_arn: Option<String>,
}
Expand description
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
Fields
aws_account_id: Option<String>
Error information returned when a DescribeEventDetailsForOrganization operation can't find a specified event.
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 AWS account ID in the request.
-
We couldn't find an account specific event for the specified AWS account. To find an event that is public, you must enter a null value for the AWS account ID in the request.
-
Your AWS account doesn't include the AWS Support plan required to use the AWS Health API. You must have either a Business or Enterprise Support plan.
error_name: Option<String>
The name of the error.
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
Trait Implementations
sourceimpl Clone for OrganizationEventDetailsErrorItem
impl Clone for OrganizationEventDetailsErrorItem
sourcefn clone(&self) -> OrganizationEventDetailsErrorItem
fn clone(&self) -> OrganizationEventDetailsErrorItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for OrganizationEventDetailsErrorItem
impl Default for OrganizationEventDetailsErrorItem
sourcefn default() -> OrganizationEventDetailsErrorItem
fn default() -> OrganizationEventDetailsErrorItem
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for OrganizationEventDetailsErrorItem
impl<'de> Deserialize<'de> for OrganizationEventDetailsErrorItem
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<OrganizationEventDetailsErrorItem> for OrganizationEventDetailsErrorItem
impl PartialEq<OrganizationEventDetailsErrorItem> for OrganizationEventDetailsErrorItem
sourcefn eq(&self, other: &OrganizationEventDetailsErrorItem) -> bool
fn eq(&self, other: &OrganizationEventDetailsErrorItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OrganizationEventDetailsErrorItem) -> bool
fn ne(&self, other: &OrganizationEventDetailsErrorItem) -> bool
This method tests for !=
.
impl StructuralPartialEq for OrganizationEventDetailsErrorItem
Auto Trait Implementations
impl RefUnwindSafe for OrganizationEventDetailsErrorItem
impl Send for OrganizationEventDetailsErrorItem
impl Sync for OrganizationEventDetailsErrorItem
impl Unpin for OrganizationEventDetailsErrorItem
impl UnwindSafe for OrganizationEventDetailsErrorItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more