pub struct GetResourceConfigHistory<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to GetResourceConfigHistory.
Returns a list of ConfigurationItems for the specified resource. The list contains details about each state of the resource during the specified time interval. If you specified a retention period to retain your ConfigurationItems between a minimum of 30 days and a maximum of 7 years (2557 days), Config returns the ConfigurationItems for the specified retention period.
The response is paginated. By default, 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.
Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
Implementations
impl<C, M, R> GetResourceConfigHistory<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetResourceConfigHistory<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetResourceConfigHistoryOutput, SdkError<GetResourceConfigHistoryError>> where
R::Policy: SmithyRetryPolicy<GetResourceConfigHistoryInputOperationOutputAlias, GetResourceConfigHistoryOutput, GetResourceConfigHistoryError, GetResourceConfigHistoryInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetResourceConfigHistoryOutput, SdkError<GetResourceConfigHistoryError>> where
R::Policy: SmithyRetryPolicy<GetResourceConfigHistoryInputOperationOutputAlias, GetResourceConfigHistoryOutput, GetResourceConfigHistoryError, GetResourceConfigHistoryInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
The resource type.
The resource type.
The ID of the resource (for example., sg-xxxxxx).
The ID of the resource (for example., sg-xxxxxx).
The time stamp that indicates a later time. If not specified, current time is taken.
The time stamp that indicates a later time. If not specified, current time is taken.
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.
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.
The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
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, Config uses the default.
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, Config uses the default.
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetResourceConfigHistory<C, M, R>
impl<C, M, R> Send for GetResourceConfigHistory<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetResourceConfigHistory<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetResourceConfigHistory<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetResourceConfigHistory<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more