aws_sdk_iam/client/list_service_specific_credentials.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 [`ListServiceSpecificCredentials`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`user_name(impl Into<String>)`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::set_user_name):<br>required: **false**<br><p>The name of the user whose service-specific credentials you want information about. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
7 /// - [`service_name(impl Into<String>)`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::service_name) / [`set_service_name(Option<String>)`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::set_service_name):<br>required: **false**<br><p>Filters the returned results to only those for the specified Amazon Web Services service. If not specified, then Amazon Web Services returns service-specific credentials for all services.</p><br>
8 /// - [`all_users(bool)`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::all_users) / [`set_all_users(Option<bool>)`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::set_all_users):<br>required: **false**<br><p>A flag indicating whether to list service specific credentials for all users. This parameter cannot be specified together with UserName. When true, returns all credentials associated with the specified service.</p><br>
9 /// - [`marker(impl Into<String>)`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::set_marker):<br>required: **false**<br><p>Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker from the response that you received to indicate where the next call should start.</p><br>
10 /// - [`max_items(i32)`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::set_max_items):<br>required: **false**<br><p>Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true.</p><br>
11 /// - On success, responds with [`ListServiceSpecificCredentialsOutput`](crate::operation::list_service_specific_credentials::ListServiceSpecificCredentialsOutput) with field(s):
12 /// - [`service_specific_credentials(Option<Vec::<ServiceSpecificCredentialMetadata>>)`](crate::operation::list_service_specific_credentials::ListServiceSpecificCredentialsOutput::service_specific_credentials): <p>A list of structures that each contain details about a service-specific credential.</p>
13 /// - [`marker(Option<String>)`](crate::operation::list_service_specific_credentials::ListServiceSpecificCredentialsOutput::marker): <p>When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.</p>
14 /// - [`is_truncated(bool)`](crate::operation::list_service_specific_credentials::ListServiceSpecificCredentialsOutput::is_truncated): <p>A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items.</p>
15 /// - On failure, responds with [`SdkError<ListServiceSpecificCredentialsError>`](crate::operation::list_service_specific_credentials::ListServiceSpecificCredentialsError)
16 pub fn list_service_specific_credentials(
17 &self,
18 ) -> crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder {
19 crate::operation::list_service_specific_credentials::builders::ListServiceSpecificCredentialsFluentBuilder::new(self.handle.clone())
20 }
21}