Struct aws_sdk_codeartifact::input::CreateRepositoryInput [−][src]
#[non_exhaustive]pub struct CreateRepositoryInput {
pub domain: Option<String>,
pub domain_owner: Option<String>,
pub repository: Option<String>,
pub description: Option<String>,
pub upstreams: Option<Vec<UpstreamRepository>>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain: Option<String>
The name of the domain that contains the created repository.
domain_owner: Option<String>
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
repository: Option<String>
The name of the repository to create.
description: Option<String>
A description of the created repository.
upstreams: Option<Vec<UpstreamRepository>>
A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
One or more tag key-value pairs for the repository.
Implementations
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRepository, AwsErrorRetryPolicy>, BuildError>
pub fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRepository, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateRepository
>
Creates a new builder-style object to manufacture CreateRepositoryInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateRepositoryInput
impl Send for CreateRepositoryInput
impl Sync for CreateRepositoryInput
impl Unpin for CreateRepositoryInput
impl UnwindSafe for CreateRepositoryInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more