Class: Aws::CodeArtifact::Types::AssociateExternalConnectionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::AssociateExternalConnectionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
When making an API call, you may pass AssociateExternalConnectionRequest data as a hash:
{
domain: "DomainName", # required
domain_owner: "AccountId",
repository: "RepositoryName", # required
external_connection: "ExternalConnectionName", # required
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#domain ⇒ String
The name of the domain that contains the repository.
-
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain.
-
#external_connection ⇒ String
The name of the external connection to add to the repository.
-
#repository ⇒ String
The name of the repository to which the external connection is added.
Instance Attribute Details
#domain ⇒ String
The name of the domain that contains the repository.
95 96 97 98 99 100 101 102 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 95 class AssociateExternalConnectionRequest < Struct.new( :domain, :domain_owner, :repository, :external_connection) SENSITIVE = [] include Aws::Structure end |
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
95 96 97 98 99 100 101 102 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 95 class AssociateExternalConnectionRequest < Struct.new( :domain, :domain_owner, :repository, :external_connection) SENSITIVE = [] include Aws::Structure end |
#external_connection ⇒ String
The name of the external connection to add to the repository. The following values are supported:
-
`public:npmjs` - for the npm public repository.
-
`public:pypi` - for the Python Package Index.
-
`public:maven-central` - for Maven Central.
-
`public:maven-googleandroid` - for the Google Android repository.
-
`public:maven-gradleplugins` - for the Gradle plugins repository.
-
`public:maven-commonsware` - for the CommonsWare Android repository.
95 96 97 98 99 100 101 102 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 95 class AssociateExternalConnectionRequest < Struct.new( :domain, :domain_owner, :repository, :external_connection) SENSITIVE = [] include Aws::Structure end |
#repository ⇒ String
The name of the repository to which the external connection is added.
95 96 97 98 99 100 101 102 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 95 class AssociateExternalConnectionRequest < Struct.new( :domain, :domain_owner, :repository, :external_connection) SENSITIVE = [] include Aws::Structure end |