amazonka-config-1.6.1: Amazon Config SDK.

Copyright(c) 2013-2018 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.Config.GetResourceConfigHistory

Contents

Description

Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval.

The response is paginated. By default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter.

This operation returns paginated results.

Synopsis

Creating a Request

getResourceConfigHistory Source #

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

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

  • grchChronologicalOrder - The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
  • grchNextToken - The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
  • grchLimit - The maximum number of configuration items returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
  • grchLaterTime - The time stamp that indicates a later time. If not specified, current time is taken.
  • grchEarlierTime - The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start when the first configuration item was recorded.
  • grchResourceType - The resource type.
  • grchResourceId - The ID of the resource (for example., sg-xxxxxx ).

data GetResourceConfigHistory Source #

The input for the GetResourceConfigHistory action.

See: getResourceConfigHistory smart constructor.

Instances
Eq GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Data GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Methods

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

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

toConstr :: GetResourceConfigHistory -> Constr #

dataTypeOf :: GetResourceConfigHistory -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Show GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Generic GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Associated Types

type Rep GetResourceConfigHistory :: Type -> Type #

Hashable GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

ToJSON GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

AWSPager GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

AWSRequest GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Associated Types

type Rs GetResourceConfigHistory :: Type #

ToHeaders GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

ToPath GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

ToQuery GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

NFData GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

type Rep GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

type Rep GetResourceConfigHistory = D1 (MetaData "GetResourceConfigHistory" "Network.AWS.Config.GetResourceConfigHistory" "amazonka-config-1.6.1-7ZYB8js37ntD2x5LWqLcCi" False) (C1 (MetaCons "GetResourceConfigHistory'" PrefixI True) ((S1 (MetaSel (Just "_grchChronologicalOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ChronologicalOrder)) :*: (S1 (MetaSel (Just "_grchNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_grchLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) :*: ((S1 (MetaSel (Just "_grchLaterTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_grchEarlierTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_grchResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceType) :*: S1 (MetaSel (Just "_grchResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetResourceConfigHistory Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Request Lenses

grchChronologicalOrder :: Lens' GetResourceConfigHistory (Maybe ChronologicalOrder) Source #

The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.

grchNextToken :: Lens' GetResourceConfigHistory (Maybe Text) Source #

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

grchLimit :: Lens' GetResourceConfigHistory (Maybe Natural) Source #

The maximum number of configuration items returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.

grchLaterTime :: Lens' GetResourceConfigHistory (Maybe UTCTime) Source #

The time stamp that indicates a later time. If not specified, current time is taken.

grchEarlierTime :: Lens' GetResourceConfigHistory (Maybe UTCTime) Source #

The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start when the first configuration item was recorded.

grchResourceId :: Lens' GetResourceConfigHistory Text Source #

The ID of the resource (for example., sg-xxxxxx ).

Destructuring the Response

getResourceConfigHistoryResponse Source #

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

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

data GetResourceConfigHistoryResponse Source #

The output for the GetResourceConfigHistory action.

See: getResourceConfigHistoryResponse smart constructor.

Instances
Eq GetResourceConfigHistoryResponse Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Data GetResourceConfigHistoryResponse Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Methods

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

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

toConstr :: GetResourceConfigHistoryResponse -> Constr #

dataTypeOf :: GetResourceConfigHistoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetResourceConfigHistoryResponse Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Show GetResourceConfigHistoryResponse Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Generic GetResourceConfigHistoryResponse Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

Associated Types

type Rep GetResourceConfigHistoryResponse :: Type -> Type #

NFData GetResourceConfigHistoryResponse Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

type Rep GetResourceConfigHistoryResponse Source # 
Instance details

Defined in Network.AWS.Config.GetResourceConfigHistory

type Rep GetResourceConfigHistoryResponse = D1 (MetaData "GetResourceConfigHistoryResponse" "Network.AWS.Config.GetResourceConfigHistory" "amazonka-config-1.6.1-7ZYB8js37ntD2x5LWqLcCi" False) (C1 (MetaCons "GetResourceConfigHistoryResponse'" PrefixI True) (S1 (MetaSel (Just "_grchrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_grchrsConfigurationItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ConfigurationItem])) :*: S1 (MetaSel (Just "_grchrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

grchrsNextToken :: Lens' GetResourceConfigHistoryResponse (Maybe Text) Source #

The string that you use in a subsequent request to get the next page of results in a paginated response.

grchrsConfigurationItems :: Lens' GetResourceConfigHistoryResponse [ConfigurationItem] Source #

A list that contains the configuration history of one or more resources.