aws_sdk_macie2/client/list_resource_profile_artifacts.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ListResourceProfileArtifacts`](crate::operation::list_resource_profile_artifacts::builders::ListResourceProfileArtifactsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_resource_profile_artifacts::builders::ListResourceProfileArtifactsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`next_token(impl Into<String>)`](crate::operation::list_resource_profile_artifacts::builders::ListResourceProfileArtifactsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_resource_profile_artifacts::builders::ListResourceProfileArtifactsFluentBuilder::set_next_token):<br>required: **false**<br><p>The nextToken string that specifies which page of results to return in a paginated response.</p><br>
8 /// - [`resource_arn(impl Into<String>)`](crate::operation::list_resource_profile_artifacts::builders::ListResourceProfileArtifactsFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::list_resource_profile_artifacts::builders::ListResourceProfileArtifactsFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.</p><br>
9 /// - On success, responds with [`ListResourceProfileArtifactsOutput`](crate::operation::list_resource_profile_artifacts::ListResourceProfileArtifactsOutput) with field(s):
10 /// - [`artifacts(Option<Vec::<ResourceProfileArtifact>>)`](crate::operation::list_resource_profile_artifacts::ListResourceProfileArtifactsOutput::artifacts): <p>An array of objects, one for each of 1-100 S3 objects that Amazon Macie selected for analysis.</p> <p>If Macie has analyzed more than 100 objects in the bucket, Macie populates the array based on the value for the ResourceProfileArtifact.sensitive field for an object: true (sensitive), followed by false (not sensitive). Macie then populates any remaining items in the array with information about objects where the value for the ResourceProfileArtifact.classificationResultStatus field is SKIPPED.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::list_resource_profile_artifacts::ListResourceProfileArtifactsOutput::next_token): <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
12 /// - On failure, responds with [`SdkError<ListResourceProfileArtifactsError>`](crate::operation::list_resource_profile_artifacts::ListResourceProfileArtifactsError)
13 pub fn list_resource_profile_artifacts(
14 &self,
15 ) -> crate::operation::list_resource_profile_artifacts::builders::ListResourceProfileArtifactsFluentBuilder {
16 crate::operation::list_resource_profile_artifacts::builders::ListResourceProfileArtifactsFluentBuilder::new(self.handle.clone())
17 }
18}