#[non_exhaustive]pub struct GetFindingHistoryInput {
pub finding_identifier: Option<AwsSecurityFindingIdentifier>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.finding_identifier: Option<AwsSecurityFindingIdentifier>
Identifies which finding to get the finding history for.
start_time: Option<DateTime>
An ISO 8601-formatted timestamp that indicates the start time of the requested finding history. A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
If you provide values for both StartTime
and EndTime
, Security Hub returns finding history for the specified time period. If you provide a value for StartTime
but not for EndTime
, Security Hub returns finding history from the StartTime
to the time at which the API is called. If you provide a value for EndTime
but not for StartTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.
end_time: Option<DateTime>
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history. A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
If you provide values for both StartTime
and EndTime
, Security Hub returns finding history for the specified time period. If you provide a value for StartTime
but not for EndTime
, Security Hub returns finding history from the StartTime
to the time at which the API is called. If you provide a value for EndTime
but not for StartTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.
next_token: Option<String>
A token for pagination purposes. Provide NULL
as the initial value. In subsequent requests, provide the token included in the response to get up to an additional 100 results of finding history. If you don’t provide NextToken
, Security Hub returns up to 100 results of finding history for each request.
max_results: Option<i32>
The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100 results of finding history.
Implementations§
source§impl GetFindingHistoryInput
impl GetFindingHistoryInput
sourcepub fn finding_identifier(&self) -> Option<&AwsSecurityFindingIdentifier>
pub fn finding_identifier(&self) -> Option<&AwsSecurityFindingIdentifier>
Identifies which finding to get the finding history for.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
An ISO 8601-formatted timestamp that indicates the start time of the requested finding history. A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
If you provide values for both StartTime
and EndTime
, Security Hub returns finding history for the specified time period. If you provide a value for StartTime
but not for EndTime
, Security Hub returns finding history from the StartTime
to the time at which the API is called. If you provide a value for EndTime
but not for StartTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history. A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
If you provide values for both StartTime
and EndTime
, Security Hub returns finding history for the specified time period. If you provide a value for StartTime
but not for EndTime
, Security Hub returns finding history from the StartTime
to the time at which the API is called. If you provide a value for EndTime
but not for StartTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime
. If you provide neither StartTime
nor EndTime
, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token for pagination purposes. Provide NULL
as the initial value. In subsequent requests, provide the token included in the response to get up to an additional 100 results of finding history. If you don’t provide NextToken
, Security Hub returns up to 100 results of finding history for each request.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100 results of finding history.
source§impl GetFindingHistoryInput
impl GetFindingHistoryInput
sourcepub fn builder() -> GetFindingHistoryInputBuilder
pub fn builder() -> GetFindingHistoryInputBuilder
Creates a new builder-style object to manufacture GetFindingHistoryInput
.
Trait Implementations§
source§impl Clone for GetFindingHistoryInput
impl Clone for GetFindingHistoryInput
source§fn clone(&self) -> GetFindingHistoryInput
fn clone(&self) -> GetFindingHistoryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFindingHistoryInput
impl Debug for GetFindingHistoryInput
source§impl PartialEq for GetFindingHistoryInput
impl PartialEq for GetFindingHistoryInput
source§fn eq(&self, other: &GetFindingHistoryInput) -> bool
fn eq(&self, other: &GetFindingHistoryInput) -> bool
self
and other
values to be equal, and is used
by ==
.