Safe Haskell | None |
---|---|
Language | Haskell2010 |
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. You can specify a limit
on the number of results returned on the
page. If a limit is specified, a nextToken
is returned as part of the result
that you can use to continue this request.
http://docs.aws.amazon.com/config/latest/APIReference/API_GetResourceConfigHistory.html
- data GetResourceConfigHistory
- getResourceConfigHistory :: ResourceType -> Text -> GetResourceConfigHistory
- grchChronologicalOrder :: Lens' GetResourceConfigHistory (Maybe ChronologicalOrder)
- grchEarlierTime :: Lens' GetResourceConfigHistory (Maybe UTCTime)
- grchLaterTime :: Lens' GetResourceConfigHistory (Maybe UTCTime)
- grchLimit :: Lens' GetResourceConfigHistory (Maybe Natural)
- grchNextToken :: Lens' GetResourceConfigHistory (Maybe Text)
- grchResourceId :: Lens' GetResourceConfigHistory Text
- grchResourceType :: Lens' GetResourceConfigHistory ResourceType
- data GetResourceConfigHistoryResponse
- getResourceConfigHistoryResponse :: GetResourceConfigHistoryResponse
- grchrConfigurationItems :: Lens' GetResourceConfigHistoryResponse [ConfigurationItem]
- grchrNextToken :: Lens' GetResourceConfigHistoryResponse (Maybe Text)
Request
data GetResourceConfigHistory Source
Request constructor
getResourceConfigHistory Source
GetResourceConfigHistory
constructor.
The fields accessible through corresponding lenses are:
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.
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 from when the first configuration item was recorded.
grchLaterTime :: Lens' GetResourceConfigHistory (Maybe UTCTime) Source
The time stamp that indicates a later time. If not specified, current time is taken.
grchLimit :: Lens' GetResourceConfigHistory (Maybe Natural) Source
The maximum number of configuration items returned in each page. The default is 10. You cannot specify a limit greater than 100.
grchNextToken :: Lens' GetResourceConfigHistory (Maybe Text) Source
An optional parameter used for pagination of the results.
grchResourceId :: Lens' GetResourceConfigHistory Text Source
The ID of the resource (for example., 'sg-xxxxxx').
grchResourceType :: Lens' GetResourceConfigHistory ResourceType Source
The resource type.
Response
Response constructor
getResourceConfigHistoryResponse :: GetResourceConfigHistoryResponse Source
GetResourceConfigHistoryResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
grchrConfigurationItems :: Lens' GetResourceConfigHistoryResponse [ConfigurationItem] Source
A list that contains the configuration history of one or more resources.
grchrNextToken :: Lens' GetResourceConfigHistoryResponse (Maybe Text) Source
A token used for pagination of results.