aws_sdk_codebuild/client/
list_source_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 [`ListSourceCredentials`](crate::operation::list_source_credentials::builders::ListSourceCredentialsFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::list_source_credentials::builders::ListSourceCredentialsFluentBuilder::send) it.
6    /// - On success, responds with [`ListSourceCredentialsOutput`](crate::operation::list_source_credentials::ListSourceCredentialsOutput) with field(s):
7    ///   - [`source_credentials_infos(Option<Vec::<SourceCredentialsInfo>>)`](crate::operation::list_source_credentials::ListSourceCredentialsOutput::source_credentials_infos): <p>A list of <code>SourceCredentialsInfo</code> objects. Each <code>SourceCredentialsInfo</code> object includes the authentication type, token ARN, and type of source provider for one set of credentials.</p>
8    /// - On failure, responds with [`SdkError<ListSourceCredentialsError>`](crate::operation::list_source_credentials::ListSourceCredentialsError)
9    pub fn list_source_credentials(&self) -> crate::operation::list_source_credentials::builders::ListSourceCredentialsFluentBuilder {
10        crate::operation::list_source_credentials::builders::ListSourceCredentialsFluentBuilder::new(self.handle.clone())
11    }
12}