Struct aws_sdk_fms::output::GetProtectionStatusOutput
source · [−]#[non_exhaustive]pub struct GetProtectionStatusOutput {
pub admin_account_id: Option<String>,
pub service_type: Option<SecurityServiceType>,
pub data: Option<String>,
pub next_token: Option<String>,
}
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.admin_account_id: Option<String>
The ID of the Firewall Manager administrator account for this policy.
service_type: Option<SecurityServiceType>
The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED
.
data: Option<String>
Details about the attack, including the following:
-
Attack type
-
Account ID
-
ARN of the resource attacked
-
Start time of the attack
-
End time of the attack (ongoing attacks will not have an end time)
The details are in JSON format.
next_token: Option<String>
If you have more objects than the number that you specified for MaxResults
in the request, the response includes a NextToken
value. To list more objects, submit another GetProtectionStatus
request, and specify the NextToken
value from the response in the NextToken
value in the next request.
Amazon Web Services SDKs provide auto-pagination that identify NextToken
in a response and make subsequent request calls automatically on your behalf. However, this feature is not supported by GetProtectionStatus
. You must submit subsequent requests with NextToken
using your own processes.
Implementations
sourceimpl GetProtectionStatusOutput
impl GetProtectionStatusOutput
sourcepub fn admin_account_id(&self) -> Option<&str>
pub fn admin_account_id(&self) -> Option<&str>
The ID of the Firewall Manager administrator account for this policy.
sourcepub fn service_type(&self) -> Option<&SecurityServiceType>
pub fn service_type(&self) -> Option<&SecurityServiceType>
The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED
.
sourcepub fn data(&self) -> Option<&str>
pub fn data(&self) -> Option<&str>
Details about the attack, including the following:
-
Attack type
-
Account ID
-
ARN of the resource attacked
-
Start time of the attack
-
End time of the attack (ongoing attacks will not have an end time)
The details are in JSON format.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If you have more objects than the number that you specified for MaxResults
in the request, the response includes a NextToken
value. To list more objects, submit another GetProtectionStatus
request, and specify the NextToken
value from the response in the NextToken
value in the next request.
Amazon Web Services SDKs provide auto-pagination that identify NextToken
in a response and make subsequent request calls automatically on your behalf. However, this feature is not supported by GetProtectionStatus
. You must submit subsequent requests with NextToken
using your own processes.
sourceimpl GetProtectionStatusOutput
impl GetProtectionStatusOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetProtectionStatusOutput
Trait Implementations
sourceimpl Clone for GetProtectionStatusOutput
impl Clone for GetProtectionStatusOutput
sourcefn clone(&self) -> GetProtectionStatusOutput
fn clone(&self) -> GetProtectionStatusOutput
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 GetProtectionStatusOutput
impl Debug for GetProtectionStatusOutput
sourceimpl PartialEq<GetProtectionStatusOutput> for GetProtectionStatusOutput
impl PartialEq<GetProtectionStatusOutput> for GetProtectionStatusOutput
sourcefn eq(&self, other: &GetProtectionStatusOutput) -> bool
fn eq(&self, other: &GetProtectionStatusOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetProtectionStatusOutput) -> bool
fn ne(&self, other: &GetProtectionStatusOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetProtectionStatusOutput
Auto Trait Implementations
impl RefUnwindSafe for GetProtectionStatusOutput
impl Send for GetProtectionStatusOutput
impl Sync for GetProtectionStatusOutput
impl Unpin for GetProtectionStatusOutput
impl UnwindSafe for GetProtectionStatusOutput
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