aws_sdk_signer/client/
list_profile_permissions.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 [`ListProfilePermissions`](crate::operation::list_profile_permissions::builders::ListProfilePermissionsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`profile_name(impl Into<String>)`](crate::operation::list_profile_permissions::builders::ListProfilePermissionsFluentBuilder::profile_name) / [`set_profile_name(Option<String>)`](crate::operation::list_profile_permissions::builders::ListProfilePermissionsFluentBuilder::set_profile_name):<br>required: **true**<br><p>Name of the signing profile containing the cross-account permissions.</p><br>
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_profile_permissions::builders::ListProfilePermissionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_profile_permissions::builders::ListProfilePermissionsFluentBuilder::set_next_token):<br>required: **false**<br><p>String for specifying the next set of paginated results.</p><br>
8    /// - On success, responds with [`ListProfilePermissionsOutput`](crate::operation::list_profile_permissions::ListProfilePermissionsOutput) with field(s):
9    ///   - [`revision_id(Option<String>)`](crate::operation::list_profile_permissions::ListProfilePermissionsOutput::revision_id): <p>The identifier for the current revision of profile permissions.</p>
10    ///   - [`policy_size_bytes(i32)`](crate::operation::list_profile_permissions::ListProfilePermissionsOutput::policy_size_bytes): <p>Total size of the policy associated with the Signing Profile in bytes.</p>
11    ///   - [`permissions(Option<Vec::<Permission>>)`](crate::operation::list_profile_permissions::ListProfilePermissionsOutput::permissions): <p>List of permissions associated with the Signing Profile.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_profile_permissions::ListProfilePermissionsOutput::next_token): <p>String for specifying the next set of paginated results.</p>
13    /// - On failure, responds with [`SdkError<ListProfilePermissionsError>`](crate::operation::list_profile_permissions::ListProfilePermissionsError)
14    pub fn list_profile_permissions(&self) -> crate::operation::list_profile_permissions::builders::ListProfilePermissionsFluentBuilder {
15        crate::operation::list_profile_permissions::builders::ListProfilePermissionsFluentBuilder::new(self.handle.clone())
16    }
17}