Struct aws_sdk_codecommit::input::CreateRepositoryInput
source · [−]#[non_exhaustive]pub struct CreateRepositoryInput { /* private fields */ }Expand description
Represents the input of a create repository operation.
Implementations
sourceimpl CreateRepositoryInput
impl CreateRepositoryInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRepository, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRepository, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateRepository>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateRepositoryInput.
sourceimpl CreateRepositoryInput
impl CreateRepositoryInput
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the new repository to be created.
The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For more information about the limits on repository names, see Limits in the AWS CodeCommit User Guide. The suffix .git is prohibited.
sourcepub fn repository_description(&self) -> Option<&str>
pub fn repository_description(&self) -> Option<&str>
A comment or description about the new 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.
One or more tag key-value pairs to use when tagging this repository.
Trait Implementations
sourceimpl Clone for CreateRepositoryInput
impl Clone for CreateRepositoryInput
sourcefn clone(&self) -> CreateRepositoryInput
fn clone(&self) -> CreateRepositoryInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more