Struct aws_sdk_health::client::fluent_builders::DescribeEventDetailsForOrganization [−][src]
pub struct DescribeEventDetailsForOrganization<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeEventDetailsForOrganization
.
Returns detailed information about one or more specified events for one or more AWS accounts in your organization. This information includes standard event data (such as the AWS Region and service), an event description, and (depending on the event) possible metadata. This operation doesn't return affected entities, such as the resources related to the event. To return affected entities, use the DescribeAffectedEntitiesForOrganization operation.
Before you can call this operation, you must first enable AWS Health to work with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's management account.
When you call the DescribeEventDetailsForOrganization
operation, specify
the organizationEventDetailFilters
object in the request. Depending on the
AWS Health event type, note the following differences:
-
To return event details for a public event, you must specify a null value for the
awsAccountId
parameter. If you specify an account ID for a public event, AWS Health returns an error message because public events aren't specific to an account. -
To return event details for an event that is specific to an account in your organization, you must specify the
awsAccountId
parameter in the request. If you don't specify an account ID, AWS Health returns an error message because the event is specific to an account in your organization.
For more information, see Event.
This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific AWS Health events. For more information, see Resource- and action-based conditions in the AWS Health User Guide.
Implementations
impl<C, M, R> DescribeEventDetailsForOrganization<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeEventDetailsForOrganization<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeEventDetailsForOrganizationOutput, SdkError<DescribeEventDetailsForOrganizationError>> where
R::Policy: SmithyRetryPolicy<DescribeEventDetailsForOrganizationInputOperationOutputAlias, DescribeEventDetailsForOrganizationOutput, DescribeEventDetailsForOrganizationError, DescribeEventDetailsForOrganizationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeEventDetailsForOrganizationOutput, SdkError<DescribeEventDetailsForOrganizationError>> where
R::Policy: SmithyRetryPolicy<DescribeEventDetailsForOrganizationInputOperationOutputAlias, DescribeEventDetailsForOrganizationOutput, DescribeEventDetailsForOrganizationError, DescribeEventDetailsForOrganizationInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Appends an item to organizationEventDetailFilters
.
To override the contents of this collection use set_organization_event_detail_filters
.
A set of JSON elements that includes the awsAccountId
and the
eventArn
.
pub fn set_organization_event_detail_filters(
self,
input: Option<Vec<EventAccountFilter>>
) -> Self
pub fn set_organization_event_detail_filters(
self,
input: Option<Vec<EventAccountFilter>>
) -> Self
A set of JSON elements that includes the awsAccountId
and the
eventArn
.
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeEventDetailsForOrganization<C, M, R>
impl<C, M, R> Send for DescribeEventDetailsForOrganization<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeEventDetailsForOrganization<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeEventDetailsForOrganization<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeEventDetailsForOrganization<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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