You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeGuruReviewer::Types::AssociateRepositoryRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeGuruReviewer::Types::AssociateRepositoryRequest
- Defined in:
- (unknown)
Overview
When passing AssociateRepositoryRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
repository: { # required
code_commit: {
name: "Name", # required
},
bitbucket: {
name: "Name", # required
connection_arn: "ConnectionArn", # required
owner: "Owner", # required
},
git_hub_enterprise_server: {
name: "Name", # required
connection_arn: "ConnectionArn", # required
owner: "Owner", # required
},
},
client_request_token: "ClientRequestToken",
tags: {
"TagKey" => "TagValue",
},
}
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
-
#repository ⇒ Types::Repository
The repository to associate.
-
#tags ⇒ Hash<String,String>
An array of key-value pairs used to tag an associated repository.
Instance Attribute Details
#client_request_token ⇒ String
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
#repository ⇒ Types::Repository
The repository to associate.
#tags ⇒ Hash<String,String>
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.