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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeartifact/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)


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

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

#domain_ownerString

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

Returns:

  • (String)


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

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: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)


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

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)


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

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