pub struct GetResourceConfigHistory { /* 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
sourceimpl GetResourceConfigHistory
impl GetResourceConfigHistory
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetResourceConfigHistory, AwsResponseRetryClassifier>, SdkError<GetResourceConfigHistoryError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetResourceConfigHistory, AwsResponseRetryClassifier>, SdkError<GetResourceConfigHistoryError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetResourceConfigHistoryOutput, SdkError<GetResourceConfigHistoryError>>
pub async fn send(
self
) -> Result<GetResourceConfigHistoryOutput, SdkError<GetResourceConfigHistoryError>>
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.
sourcepub fn into_paginator(self) -> GetResourceConfigHistoryPaginator
pub fn into_paginator(self) -> GetResourceConfigHistoryPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn resource_type(self, input: ResourceType) -> Self
pub fn resource_type(self, input: ResourceType) -> Self
The resource type.
sourcepub fn set_resource_type(self, input: Option<ResourceType>) -> Self
pub fn set_resource_type(self, input: Option<ResourceType>) -> Self
The resource type.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the resource (for example., sg-xxxxxx).
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the resource (for example., sg-xxxxxx).
sourcepub fn later_time(self, input: DateTime) -> Self
pub fn later_time(self, input: DateTime) -> Self
The time stamp that indicates a later time. If not specified, current time is taken.
sourcepub fn set_later_time(self, input: Option<DateTime>) -> Self
pub fn set_later_time(self, input: Option<DateTime>) -> Self
The time stamp that indicates a later time. If not specified, current time is taken.
sourcepub fn earlier_time(self, input: DateTime) -> Self
pub fn earlier_time(self, input: DateTime) -> Self
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.
sourcepub fn set_earlier_time(self, input: Option<DateTime>) -> Self
pub fn set_earlier_time(self, input: Option<DateTime>) -> Self
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.
sourcepub fn chronological_order(self, input: ChronologicalOrder) -> Self
pub fn chronological_order(self, input: ChronologicalOrder) -> Self
The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
sourcepub fn set_chronological_order(self, input: Option<ChronologicalOrder>) -> Self
pub fn set_chronological_order(self, input: Option<ChronologicalOrder>) -> Self
The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
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.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
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.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
Trait Implementations
sourceimpl Clone for GetResourceConfigHistory
impl Clone for GetResourceConfigHistory
sourcefn clone(&self) -> GetResourceConfigHistory
fn clone(&self) -> GetResourceConfigHistory
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more