Struct aws_sdk_health::operation::describe_event_details::builders::DescribeEventDetailsFluentBuilder
source · pub struct DescribeEventDetailsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeEventDetails
.
Returns detailed information about one or more specified events. Information includes standard event data (Amazon Web Services Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included. To retrieve the entities, use the DescribeAffectedEntities operation.
If a specified event can't be retrieved, an error message is returned for that event.
This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more information, see Resource- and action-based conditions in the Health User Guide.
Implementations§
source§impl DescribeEventDetailsFluentBuilder
impl DescribeEventDetailsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeEventDetailsInputBuilder
pub fn as_input(&self) -> &DescribeEventDetailsInputBuilder
Access the DescribeEventDetails as a reference.
sourcepub async fn send(
self
) -> Result<DescribeEventDetailsOutput, SdkError<DescribeEventDetailsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeEventDetailsOutput, SdkError<DescribeEventDetailsError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeEventDetailsOutput, DescribeEventDetailsError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeEventDetailsOutput, DescribeEventDetailsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn event_arns(self, input: impl Into<String>) -> Self
pub fn event_arns(self, input: impl Into<String>) -> Self
Appends an item to eventArns
.
To override the contents of this collection use set_event_arns
.
A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
sourcepub fn set_event_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_event_arns(self, input: Option<Vec<String>>) -> Self
A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
sourcepub fn get_event_arns(&self) -> &Option<Vec<String>>
pub fn get_event_arns(&self) -> &Option<Vec<String>>
A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
sourcepub fn locale(self, input: impl Into<String>) -> Self
pub fn locale(self, input: impl Into<String>) -> Self
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
sourcepub fn set_locale(self, input: Option<String>) -> Self
pub fn set_locale(self, input: Option<String>) -> Self
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
sourcepub fn get_locale(&self) -> &Option<String>
pub fn get_locale(&self) -> &Option<String>
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
Trait Implementations§
source§impl Clone for DescribeEventDetailsFluentBuilder
impl Clone for DescribeEventDetailsFluentBuilder
source§fn clone(&self) -> DescribeEventDetailsFluentBuilder
fn clone(&self) -> DescribeEventDetailsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeEventDetailsFluentBuilder
impl !RefUnwindSafe for DescribeEventDetailsFluentBuilder
impl Send for DescribeEventDetailsFluentBuilder
impl Sync for DescribeEventDetailsFluentBuilder
impl Unpin for DescribeEventDetailsFluentBuilder
impl !UnwindSafe for DescribeEventDetailsFluentBuilder
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