Struct aws_sdk_fms::input::GetProtectionStatusInput
source · [−]#[non_exhaustive]pub struct GetProtectionStatusInput {
pub policy_id: Option<String>,
pub member_account_id: Option<String>,
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.policy_id: Option<String>
The ID of the policy for which you want to get the attack information.
member_account_id: Option<String>
The Amazon Web Services account that is in scope of the policy that you want to get the details for.
start_time: Option<DateTime>
The start of the time period to query for the attacks. This is a timestamp
type. The request syntax listing indicates a number
type because the default used by Firewall Manager is Unix time in seconds. However, any valid timestamp
format is allowed.
end_time: Option<DateTime>
The end of the time period to query for the attacks. This is a timestamp
type. The request syntax listing indicates a number
type because the default used by Firewall Manager is Unix time in seconds. However, any valid timestamp
format is allowed.
next_token: Option<String>
If you specify a value for MaxResults
and you have more objects than the number that you specify for MaxResults
, Firewall Manager returns a NextToken
value in the response, which you can use to retrieve another group of objects. For the second and subsequent GetProtectionStatus
requests, specify the value of NextToken
from the previous response to get information about another batch of objects.
max_results: Option<i32>
Specifies the number of objects that you want Firewall Manager to return for this request. If you have more objects than the number that you specify for MaxResults
, the response includes a NextToken
value that you can use to get another batch of objects.
Implementations
sourceimpl GetProtectionStatusInput
impl GetProtectionStatusInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetProtectionStatus, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetProtectionStatus, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetProtectionStatus
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetProtectionStatusInput
sourceimpl GetProtectionStatusInput
impl GetProtectionStatusInput
sourcepub fn policy_id(&self) -> Option<&str>
pub fn policy_id(&self) -> Option<&str>
The ID of the policy for which you want to get the attack information.
sourcepub fn member_account_id(&self) -> Option<&str>
pub fn member_account_id(&self) -> Option<&str>
The Amazon Web Services account that is in scope of the policy that you want to get the details for.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start of the time period to query for the attacks. This is a timestamp
type. The request syntax listing indicates a number
type because the default used by Firewall Manager is Unix time in seconds. However, any valid timestamp
format is allowed.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The end of the time period to query for the attacks. This is a timestamp
type. The request syntax listing indicates a number
type because the default used by Firewall Manager is Unix time in seconds. However, any valid timestamp
format is allowed.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If you specify a value for MaxResults
and you have more objects than the number that you specify for MaxResults
, Firewall Manager returns a NextToken
value in the response, which you can use to retrieve another group of objects. For the second and subsequent GetProtectionStatus
requests, specify the value of NextToken
from the previous response to get information about another batch of objects.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
Specifies the number of objects that you want Firewall Manager to return for this request. If you have more objects than the number that you specify for MaxResults
, the response includes a NextToken
value that you can use to get another batch of objects.
Trait Implementations
sourceimpl Clone for GetProtectionStatusInput
impl Clone for GetProtectionStatusInput
sourcefn clone(&self) -> GetProtectionStatusInput
fn clone(&self) -> GetProtectionStatusInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetProtectionStatusInput
impl Debug for GetProtectionStatusInput
sourceimpl PartialEq<GetProtectionStatusInput> for GetProtectionStatusInput
impl PartialEq<GetProtectionStatusInput> for GetProtectionStatusInput
sourcefn eq(&self, other: &GetProtectionStatusInput) -> bool
fn eq(&self, other: &GetProtectionStatusInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetProtectionStatusInput) -> bool
fn ne(&self, other: &GetProtectionStatusInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetProtectionStatusInput
Auto Trait Implementations
impl RefUnwindSafe for GetProtectionStatusInput
impl Send for GetProtectionStatusInput
impl Sync for GetProtectionStatusInput
impl Unpin for GetProtectionStatusInput
impl UnwindSafe for GetProtectionStatusInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more