pub struct GetRepositorySyncStatus { /* private fields */ }
Expand description
Fluent builder constructing a request to GetRepositorySyncStatus
.
Get the sync status of a repository used for Proton template sync. For more information about template sync, see .
A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC).
For more information about ABAC, see ABAC in the Proton Administrator Guide.
Implementations
sourceimpl GetRepositorySyncStatus
impl GetRepositorySyncStatus
sourcepub async fn send(
self
) -> Result<GetRepositorySyncStatusOutput, SdkError<GetRepositorySyncStatusError>>
pub async fn send(
self
) -> Result<GetRepositorySyncStatusOutput, SdkError<GetRepositorySyncStatusError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The repository name.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The repository name.
sourcepub fn repository_provider(self, input: RepositoryProvider) -> Self
pub fn repository_provider(self, input: RepositoryProvider) -> Self
The repository provider.
sourcepub fn set_repository_provider(self, input: Option<RepositoryProvider>) -> Self
pub fn set_repository_provider(self, input: Option<RepositoryProvider>) -> Self
The repository provider.
sourcepub fn set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
The repository branch.
sourcepub fn set_sync_type(self, input: Option<SyncType>) -> Self
pub fn set_sync_type(self, input: Option<SyncType>) -> Self
The repository sync type.
Trait Implementations
sourceimpl Clone for GetRepositorySyncStatus
impl Clone for GetRepositorySyncStatus
sourcefn clone(&self) -> GetRepositorySyncStatus
fn clone(&self) -> GetRepositorySyncStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for GetRepositorySyncStatus
impl Send for GetRepositorySyncStatus
impl Sync for GetRepositorySyncStatus
impl Unpin for GetRepositorySyncStatus
impl !UnwindSafe for GetRepositorySyncStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more