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 User Guide.
Implementations§
source§impl GetRepositorySyncStatus
impl GetRepositorySyncStatus
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetRepositorySyncStatus, AwsResponseRetryClassifier>, SdkError<GetRepositorySyncStatusError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetRepositorySyncStatus, AwsResponseRetryClassifier>, SdkError<GetRepositorySyncStatusError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
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§
source§impl Clone for GetRepositorySyncStatus
impl Clone for GetRepositorySyncStatus
source§fn clone(&self) -> GetRepositorySyncStatus
fn clone(&self) -> GetRepositorySyncStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more