[][src]Struct rusoto_health::AWSHealthClient

pub struct AWSHealthClient { /* fields omitted */ }

A client for the AWSHealth API.

Implementations

impl AWSHealthClient[src]

pub fn new(region: Region) -> AWSHealthClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> AWSHealthClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> AWSHealthClient[src]

Trait Implementations

impl AWSHealth for AWSHealthClient[src]

pub fn describe_affected_accounts_for_organization<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeAffectedAccountsForOrganizationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAffectedAccountsForOrganizationResponse, RusotoError<DescribeAffectedAccountsForOrganizationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of accounts in the organization from AWS Organizations that are affected by the provided event.

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 master account.

pub fn describe_affected_entities<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeAffectedEntitiesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAffectedEntitiesResponse, RusotoError<DescribeAffectedEntitiesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of entities that have been affected by the specified events, based on the specified filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the AWS service. Events that have impact beyond that of the affected entities, or where the extent of impact is unknown, include at least one entity indicating this.

At least one event ARN is required. Results are sorted by the lastUpdatedTime of the entity, starting with the most recent.

pub fn describe_affected_entities_for_organization<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeAffectedEntitiesForOrganizationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAffectedEntitiesForOrganizationResponse, RusotoError<DescribeAffectedEntitiesForOrganizationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of entities that have been affected by one or more events for one or more accounts in your organization in AWS Organizations, based on the filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the AWS service.

At least one event ARN and account ID are required. Results are sorted by the lastUpdatedTime of the entity, starting with the most recent.

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 master account.

pub fn describe_entity_aggregates<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeEntityAggregatesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEntityAggregatesResponse, RusotoError<DescribeEntityAggregatesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns the number of entities that are affected by each of the specified events. If no events are specified, the counts of all affected entities are returned.

pub fn describe_event_aggregates<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeEventAggregatesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventAggregatesResponse, RusotoError<DescribeEventAggregatesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns the number of events of each event type (issue, scheduled change, and account notification). If no filter is specified, the counts of all events in each category are returned.

pub fn describe_event_details<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeEventDetailsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventDetailsResponse, RusotoError<DescribeEventDetailsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns detailed information about one or more specified events. Information includes standard event data (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 those, use the DescribeAffectedEntities operation.

If a specified event cannot be retrieved, an error message is returned for that event.

pub fn describe_event_details_for_organization<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeEventDetailsForOrganizationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventDetailsForOrganizationResponse, RusotoError<DescribeEventDetailsForOrganizationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns detailed information about one or more specified events for one or more accounts in your organization. Information includes standard event data (Region, service, and so on, as returned by DescribeEventsForOrganization, a detailed event description, and possible additional metadata that depends upon the nature of the event. Affected entities are not included; to retrieve those, 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 master account.

pub fn describe_event_types<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeEventTypesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventTypesResponse, RusotoError<DescribeEventTypesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns the event types that meet the specified filter criteria. If no filter criteria are specified, all event types are returned, in no particular order.

pub fn describe_events<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeEventsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventsResponse, RusotoError<DescribeEventsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about events that meet the specified filter criteria. Events are returned in a summary form and do not include the detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the DescribeEventDetails and DescribeAffectedEntities operations.

If no filter criteria are specified, all events are returned. Results are sorted by lastModifiedTime, starting with the most recent.

pub fn describe_events_for_organization<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeEventsForOrganizationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEventsForOrganizationResponse, RusotoError<DescribeEventsForOrganizationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about events across your organization in AWS Organizations, meeting the specified filter criteria. Events are returned in a summary form and do not include the accounts impacted, detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the DescribeAffectedAccountsForOrganization, DescribeEventDetailsForOrganization, and DescribeAffectedEntitiesForOrganization operations.

If no filter criteria are specified, all events across your organization are returned. Results are sorted by lastModifiedTime, starting with the most recent.

Before you can call this operation, you must first enable Health to work with AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's master account.

pub fn describe_health_service_status_for_organization<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<DescribeHealthServiceStatusForOrganizationResponse, RusotoError<DescribeHealthServiceStatusForOrganizationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

This operation provides status information on enabling or disabling AWS Health to work with your organization. To call this operation, you must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization's master account.

pub fn disable_health_service_access_for_organization<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DisableHealthServiceAccessForOrganizationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Calling this operation disables Health from working with AWS Organizations. This does not remove the Service Linked Role (SLR) from the the master account in your organization. Use the IAM console, API, or AWS CLI to remove the SLR if desired. To call this operation, you must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization's master account.

pub fn enable_health_service_access_for_organization<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<EnableHealthServiceAccessForOrganizationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Calling this operation enables AWS Health to work with AWS Organizations. This applies a Service Linked Role (SLR) to the master account in the organization. To learn more about the steps in this process, visit enabling service access for AWS Health in AWS Organizations. To call this operation, you must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization's master account.

impl Clone for AWSHealthClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.