amazonka-health-1.5.0: Amazon Health APIs and Notifications SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.AWSHealth.DescribeAffectedEntities

Contents

Description

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.

This operation returns paginated results.

Synopsis

Creating a Request

describeAffectedEntities Source #

Creates a value of DescribeAffectedEntities with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • daeLocale - The locale (language) to return information in. English (en) is the default and the only supported value at this time.
  • daeNextToken - If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
  • daeMaxResults - The maximum number of items to return in one batch, between 10 and 100, inclusive.
  • daeFilter - Values to narrow the results returned. At least one event ARN is required.

data DescribeAffectedEntities Source #

See: describeAffectedEntities smart constructor.

Instances

Eq DescribeAffectedEntities Source # 
Data DescribeAffectedEntities Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeAffectedEntities -> c DescribeAffectedEntities #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeAffectedEntities #

toConstr :: DescribeAffectedEntities -> Constr #

dataTypeOf :: DescribeAffectedEntities -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeAffectedEntities) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeAffectedEntities) #

gmapT :: (forall b. Data b => b -> b) -> DescribeAffectedEntities -> DescribeAffectedEntities #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAffectedEntities -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAffectedEntities -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeAffectedEntities -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeAffectedEntities -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeAffectedEntities -> m DescribeAffectedEntities #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAffectedEntities -> m DescribeAffectedEntities #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAffectedEntities -> m DescribeAffectedEntities #

Read DescribeAffectedEntities Source # 
Show DescribeAffectedEntities Source # 
Generic DescribeAffectedEntities Source # 
Hashable DescribeAffectedEntities Source # 
ToJSON DescribeAffectedEntities Source # 
NFData DescribeAffectedEntities Source # 
AWSPager DescribeAffectedEntities Source # 
AWSRequest DescribeAffectedEntities Source # 
ToQuery DescribeAffectedEntities Source # 
ToPath DescribeAffectedEntities Source # 
ToHeaders DescribeAffectedEntities Source # 
type Rep DescribeAffectedEntities Source # 
type Rep DescribeAffectedEntities = D1 (MetaData "DescribeAffectedEntities" "Network.AWS.AWSHealth.DescribeAffectedEntities" "amazonka-health-1.5.0-IypRKIQAA2YC8xaUNVgJO" False) (C1 (MetaCons "DescribeAffectedEntities'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_daeLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_daeNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_daeMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_daeFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EntityFilter)))))
type Rs DescribeAffectedEntities Source # 

Request Lenses

daeLocale :: Lens' DescribeAffectedEntities (Maybe Text) Source #

The locale (language) to return information in. English (en) is the default and the only supported value at this time.

daeNextToken :: Lens' DescribeAffectedEntities (Maybe Text) Source #

If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.

daeMaxResults :: Lens' DescribeAffectedEntities (Maybe Natural) Source #

The maximum number of items to return in one batch, between 10 and 100, inclusive.

daeFilter :: Lens' DescribeAffectedEntities EntityFilter Source #

Values to narrow the results returned. At least one event ARN is required.

Destructuring the Response

describeAffectedEntitiesResponse Source #

Creates a value of DescribeAffectedEntitiesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • daersEntities - The entities that match the filter criteria.
  • daersNextToken - If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
  • daersResponseStatus - -- | The response status code.

data DescribeAffectedEntitiesResponse Source #

See: describeAffectedEntitiesResponse smart constructor.

Instances

Eq DescribeAffectedEntitiesResponse Source # 
Data DescribeAffectedEntitiesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeAffectedEntitiesResponse -> c DescribeAffectedEntitiesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeAffectedEntitiesResponse #

toConstr :: DescribeAffectedEntitiesResponse -> Constr #

dataTypeOf :: DescribeAffectedEntitiesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeAffectedEntitiesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeAffectedEntitiesResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeAffectedEntitiesResponse -> DescribeAffectedEntitiesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAffectedEntitiesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAffectedEntitiesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeAffectedEntitiesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeAffectedEntitiesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeAffectedEntitiesResponse -> m DescribeAffectedEntitiesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAffectedEntitiesResponse -> m DescribeAffectedEntitiesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAffectedEntitiesResponse -> m DescribeAffectedEntitiesResponse #

Read DescribeAffectedEntitiesResponse Source # 
Show DescribeAffectedEntitiesResponse Source # 
Generic DescribeAffectedEntitiesResponse Source # 
NFData DescribeAffectedEntitiesResponse Source # 
type Rep DescribeAffectedEntitiesResponse Source # 
type Rep DescribeAffectedEntitiesResponse = D1 (MetaData "DescribeAffectedEntitiesResponse" "Network.AWS.AWSHealth.DescribeAffectedEntities" "amazonka-health-1.5.0-IypRKIQAA2YC8xaUNVgJO" False) (C1 (MetaCons "DescribeAffectedEntitiesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_daersEntities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AffectedEntity]))) ((:*:) (S1 (MetaSel (Just Symbol "_daersNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_daersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

daersEntities :: Lens' DescribeAffectedEntitiesResponse [AffectedEntity] Source #

The entities that match the filter criteria.

daersNextToken :: Lens' DescribeAffectedEntitiesResponse (Maybe Text) Source #

If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.