Struct aws_sdk_codecommit::client::fluent_builders::GetRepository
source · pub struct GetRepository { /* private fields */ }
Expand description
Fluent builder constructing a request to GetRepository
.
Returns information about a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
Implementations§
source§impl GetRepository
impl GetRepository
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetRepository, AwsResponseRetryClassifier>, SdkError<GetRepositoryError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetRepository, AwsResponseRetryClassifier>, SdkError<GetRepositoryError>>
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<GetRepositoryOutput, SdkError<GetRepositoryError>>
pub async fn send(
self
) -> Result<GetRepositoryOutput, SdkError<GetRepositoryError>>
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 name of the repository to get information about.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository to get information about.
Trait Implementations§
source§impl Clone for GetRepository
impl Clone for GetRepository
source§fn clone(&self) -> GetRepository
fn clone(&self) -> GetRepository
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more