#[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>,
/* private fields */
}
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§
source§impl 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.
source§impl GetProtectionStatusOutput
impl GetProtectionStatusOutput
sourcepub fn builder() -> GetProtectionStatusOutputBuilder
pub fn builder() -> GetProtectionStatusOutputBuilder
Creates a new builder-style object to manufacture GetProtectionStatusOutput
.
Trait Implementations§
source§impl Clone for GetProtectionStatusOutput
impl Clone for GetProtectionStatusOutput
source§fn clone(&self) -> GetProtectionStatusOutput
fn clone(&self) -> GetProtectionStatusOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetProtectionStatusOutput
impl Debug for GetProtectionStatusOutput
source§impl PartialEq for GetProtectionStatusOutput
impl PartialEq for GetProtectionStatusOutput
source§fn eq(&self, other: &GetProtectionStatusOutput) -> bool
fn eq(&self, other: &GetProtectionStatusOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetProtectionStatusOutput
impl RequestId for GetProtectionStatusOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetProtectionStatusOutput
Auto Trait Implementations§
impl Freeze for GetProtectionStatusOutput
impl RefUnwindSafe for GetProtectionStatusOutput
impl Send for GetProtectionStatusOutput
impl Sync for GetProtectionStatusOutput
impl Unpin for GetProtectionStatusOutput
impl UnwindSafe for GetProtectionStatusOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more