Struct aws_sdk_iot::operation::list_related_resources_for_audit_finding::builders::ListRelatedResourcesForAuditFindingFluentBuilder
source · pub struct ListRelatedResourcesForAuditFindingFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListRelatedResourcesForAuditFinding
.
The related resources of an Audit finding. The following resources can be returned from calling this API:
-
DEVICE_CERTIFICATE
-
CA_CERTIFICATE
-
IOT_POLICY
-
COGNITO_IDENTITY_POOL
-
CLIENT_ID
-
ACCOUNT_SETTINGS
-
ROLE_ALIAS
-
IAM_ROLE
-
ISSUER_CERTIFICATE
This API is similar to DescribeAuditFinding's RelatedResources but provides pagination and is not limited to 10 resources. When calling DescribeAuditFinding for the intermediate CA revoked for active device certificates check, RelatedResources will not be populated. You must use this API, ListRelatedResourcesForAuditFinding, to list the certificates.
Implementations§
source§impl ListRelatedResourcesForAuditFindingFluentBuilder
impl ListRelatedResourcesForAuditFindingFluentBuilder
sourcepub fn as_input(&self) -> &ListRelatedResourcesForAuditFindingInputBuilder
pub fn as_input(&self) -> &ListRelatedResourcesForAuditFindingInputBuilder
Access the ListRelatedResourcesForAuditFinding as a reference.
sourcepub async fn send(
self
) -> Result<ListRelatedResourcesForAuditFindingOutput, SdkError<ListRelatedResourcesForAuditFindingError, HttpResponse>>
pub async fn send( self ) -> Result<ListRelatedResourcesForAuditFindingOutput, SdkError<ListRelatedResourcesForAuditFindingError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListRelatedResourcesForAuditFindingOutput, ListRelatedResourcesForAuditFindingError, Self>
pub fn customize( self ) -> CustomizableOperation<ListRelatedResourcesForAuditFindingOutput, ListRelatedResourcesForAuditFindingError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListRelatedResourcesForAuditFindingPaginator
pub fn into_paginator(self) -> ListRelatedResourcesForAuditFindingPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn finding_id(self, input: impl Into<String>) -> Self
pub fn finding_id(self, input: impl Into<String>) -> Self
The finding Id.
sourcepub fn set_finding_id(self, input: Option<String>) -> Self
pub fn set_finding_id(self, input: Option<String>) -> Self
The finding Id.
sourcepub fn get_finding_id(&self) -> &Option<String>
pub fn get_finding_id(&self) -> &Option<String>
The finding Id.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return at one time.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return at one time.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return at one time.
Trait Implementations§
source§impl Clone for ListRelatedResourcesForAuditFindingFluentBuilder
impl Clone for ListRelatedResourcesForAuditFindingFluentBuilder
source§fn clone(&self) -> ListRelatedResourcesForAuditFindingFluentBuilder
fn clone(&self) -> ListRelatedResourcesForAuditFindingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more