#[non_exhaustive]pub struct CreateRepositoryInput {
pub provider: Option<RepositoryProvider>,
pub name: Option<String>,
pub connection_arn: Option<String>,
pub encryption_key: Option<String>,
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.provider: Option<RepositoryProvider>
The repository provider.
name: Option<String>
The repository name (for example, myrepos/myrepo
).
connection_arn: Option<String>
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
encryption_key: Option<String>
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
Implementations§
source§impl CreateRepositoryInput
impl CreateRepositoryInput
sourcepub fn provider(&self) -> Option<&RepositoryProvider>
pub fn provider(&self) -> Option<&RepositoryProvider>
The repository provider.
sourcepub fn connection_arn(&self) -> Option<&str>
pub fn connection_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account. For more information, see Setting up for Proton in the Proton User Guide.
sourcepub fn encryption_key(&self) -> Option<&str>
pub fn encryption_key(&self) -> Option<&str>
The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key.
An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateRepositoryInput
impl CreateRepositoryInput
sourcepub fn builder() -> CreateRepositoryInputBuilder
pub fn builder() -> CreateRepositoryInputBuilder
Creates a new builder-style object to manufacture CreateRepositoryInput
.
Trait Implementations§
source§impl Clone for CreateRepositoryInput
impl Clone for CreateRepositoryInput
source§fn clone(&self) -> CreateRepositoryInput
fn clone(&self) -> CreateRepositoryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRepositoryInput
impl Debug for CreateRepositoryInput
source§impl PartialEq for CreateRepositoryInput
impl PartialEq for CreateRepositoryInput
source§fn eq(&self, other: &CreateRepositoryInput) -> bool
fn eq(&self, other: &CreateRepositoryInput) -> bool
self
and other
values to be equal, and is used
by ==
.