Struct aws_sdk_accessanalyzer::operation::get_finding_recommendation::GetFindingRecommendationOutput
source · #[non_exhaustive]pub struct GetFindingRecommendationOutput {
pub started_at: DateTime,
pub completed_at: Option<DateTime>,
pub next_token: Option<String>,
pub error: Option<RecommendationError>,
pub resource_arn: String,
pub recommended_steps: Option<Vec<RecommendedStep>>,
pub recommendation_type: RecommendationType,
pub status: Status,
/* 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.started_at: DateTime
The time at which the retrieval of the finding recommendation was started.
completed_at: Option<DateTime>
The time at which the retrieval of the finding recommendation was completed.
next_token: Option<String>
A token used for pagination of results returned.
error: Option<RecommendationError>
Detailed information about the reason that the retrieval of a recommendation for the finding failed.
resource_arn: String
The ARN of the resource of the finding.
recommended_steps: Option<Vec<RecommendedStep>>
A group of recommended steps for the finding.
recommendation_type: RecommendationType
The type of recommendation for the finding.
status: Status
The status of the retrieval of the finding recommendation.
Implementations§
source§impl GetFindingRecommendationOutput
impl GetFindingRecommendationOutput
sourcepub fn started_at(&self) -> &DateTime
pub fn started_at(&self) -> &DateTime
The time at which the retrieval of the finding recommendation was started.
sourcepub fn completed_at(&self) -> Option<&DateTime>
pub fn completed_at(&self) -> Option<&DateTime>
The time at which the retrieval of the finding recommendation was completed.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token used for pagination of results returned.
sourcepub fn error(&self) -> Option<&RecommendationError>
pub fn error(&self) -> Option<&RecommendationError>
Detailed information about the reason that the retrieval of a recommendation for the finding failed.
sourcepub fn resource_arn(&self) -> &str
pub fn resource_arn(&self) -> &str
The ARN of the resource of the finding.
sourcepub fn recommended_steps(&self) -> &[RecommendedStep]
pub fn recommended_steps(&self) -> &[RecommendedStep]
A group of recommended steps for the finding.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .recommended_steps.is_none()
.
sourcepub fn recommendation_type(&self) -> &RecommendationType
pub fn recommendation_type(&self) -> &RecommendationType
The type of recommendation for the finding.
source§impl GetFindingRecommendationOutput
impl GetFindingRecommendationOutput
sourcepub fn builder() -> GetFindingRecommendationOutputBuilder
pub fn builder() -> GetFindingRecommendationOutputBuilder
Creates a new builder-style object to manufacture GetFindingRecommendationOutput
.
Trait Implementations§
source§impl Clone for GetFindingRecommendationOutput
impl Clone for GetFindingRecommendationOutput
source§fn clone(&self) -> GetFindingRecommendationOutput
fn clone(&self) -> GetFindingRecommendationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetFindingRecommendationOutput
impl PartialEq for GetFindingRecommendationOutput
source§fn eq(&self, other: &GetFindingRecommendationOutput) -> bool
fn eq(&self, other: &GetFindingRecommendationOutput) -> bool
self
and other
values to be equal, and is used by ==
.source§impl RequestId for GetFindingRecommendationOutput
impl RequestId for GetFindingRecommendationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetFindingRecommendationOutput
Auto Trait Implementations§
impl Freeze for GetFindingRecommendationOutput
impl RefUnwindSafe for GetFindingRecommendationOutput
impl Send for GetFindingRecommendationOutput
impl Sync for GetFindingRecommendationOutput
impl Unpin for GetFindingRecommendationOutput
impl UnwindSafe for GetFindingRecommendationOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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