aws-sdk-ecr 1.111.0

AWS SDK for Amazon Elastic Container Registry
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RegisterPullTimeUpdateExclusion`](crate::operation::register_pull_time_update_exclusion::builders::RegisterPullTimeUpdateExclusionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`RegisterPullTimeUpdateExclusionOutput`](crate::operation::register_pull_time_update_exclusion::RegisterPullTimeUpdateExclusionOutput) with field(s):
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<RegisterPullTimeUpdateExclusionError>`](crate::operation::register_pull_time_update_exclusion::RegisterPullTimeUpdateExclusionError)
    pub fn register_pull_time_update_exclusion(
        &self,
    ) -> crate::operation::register_pull_time_update_exclusion::builders::RegisterPullTimeUpdateExclusionFluentBuilder {
        crate::operation::register_pull_time_update_exclusion::builders::RegisterPullTimeUpdateExclusionFluentBuilder::new(self.handle.clone())
    }
}