aws_sdk_ecr/client/
register_pull_time_update_exclusion.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 [`RegisterPullTimeUpdateExclusion`](crate::operation::register_pull_time_update_exclusion::builders::RegisterPullTimeUpdateExclusionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`principal_arn(impl Into<String>)`](crate::operation::register_pull_time_update_exclusion::builders::RegisterPullTimeUpdateExclusionFluentBuilder::principal_arn) / [`set_principal_arn(Option<String>)`](crate::operation::register_pull_time_update_exclusion::builders::RegisterPullTimeUpdateExclusionFluentBuilder::set_principal_arn):<br>required: **true**<br><p>The ARN of the IAM principal to exclude from having image pull times recorded.</p><br>
7    /// - On success, responds with [`RegisterPullTimeUpdateExclusionOutput`](crate::operation::register_pull_time_update_exclusion::RegisterPullTimeUpdateExclusionOutput) with field(s):
8    ///   - [`principal_arn(Option<String>)`](crate::operation::register_pull_time_update_exclusion::RegisterPullTimeUpdateExclusionOutput::principal_arn): <p>The ARN of the IAM principal that was added to the pull time update exclusion list.</p>
9    ///   - [`created_at(Option<DateTime>)`](crate::operation::register_pull_time_update_exclusion::RegisterPullTimeUpdateExclusionOutput::created_at): <p>The date and time, expressed in standard JavaScript date format, when the exclusion was created.</p>
10    /// - On failure, responds with [`SdkError<RegisterPullTimeUpdateExclusionError>`](crate::operation::register_pull_time_update_exclusion::RegisterPullTimeUpdateExclusionError)
11    pub fn register_pull_time_update_exclusion(
12        &self,
13    ) -> crate::operation::register_pull_time_update_exclusion::builders::RegisterPullTimeUpdateExclusionFluentBuilder {
14        crate::operation::register_pull_time_update_exclusion::builders::RegisterPullTimeUpdateExclusionFluentBuilder::new(self.handle.clone())
15    }
16}