pub struct AssociateRepositoryRequest {
pub client_request_token: Option<String>,
pub kms_key_details: Option<KMSKeyDetails>,
pub repository: Repository,
pub tags: Option<HashMap<String, String>>,
}Fields§
§client_request_token: Option<String>Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
kms_key_details: Option<KMSKeyDetails>A KMSKeyDetails object that contains:
-
The encryption option for this repository association. It is either owned by AWS Key Management Service (KMS) (
AWSOWNEDCMK) or customer managed (CUSTOMERMANAGEDCMK). -
The ID of the AWS KMS key that is associated with this respository association.
repository: RepositoryThe repository to associate.
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
-
A tag key (for example,
CostCenter,Environment,Project, orSecret). Tag keys are case sensitive. -
An optional field known as a tag value (for example,
111122223333,Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
Trait Implementations§
Source§impl Clone for AssociateRepositoryRequest
impl Clone for AssociateRepositoryRequest
Source§fn clone(&self) -> AssociateRepositoryRequest
fn clone(&self) -> AssociateRepositoryRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more