Class: Aws::CodeArtifact::Types::AssociateExternalConnectionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codeartifact/types.rb

Overview

Note:

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

Instance Attribute Details

#domainString

The name of the domain that contains the repository.

Returns:

  • (String)


97
98
99
100
101
102
103
104
# File 'lib/aws-sdk-codeartifact/types.rb', line 97

class AssociateExternalConnectionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :external_connection)
  SENSITIVE = []
  include Aws::Structure
end

#domain_ownerString

The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

Returns:

  • (String)


97
98
99
100
101
102
103
104
# File 'lib/aws-sdk-codeartifact/types.rb', line 97

class AssociateExternalConnectionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :external_connection)
  SENSITIVE = []
  include Aws::Structure
end

#external_connectionString

The name of the external connection to add to the repository. The following values are supported:

  • `public:npmjs` - for the npm public repository.

  • `public:nuget-org` - for the NuGet Gallery.

  • `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.

Returns:

  • (String)


97
98
99
100
101
102
103
104
# File 'lib/aws-sdk-codeartifact/types.rb', line 97

class AssociateExternalConnectionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :external_connection)
  SENSITIVE = []
  include Aws::Structure
end

#repositoryString

The name of the repository to which the external connection is added.

Returns:

  • (String)


97
98
99
100
101
102
103
104
# File 'lib/aws-sdk-codeartifact/types.rb', line 97

class AssociateExternalConnectionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :external_connection)
  SENSITIVE = []
  include Aws::Structure
end