Class: Aws::CodeArtifact::Types::UpdateRepositoryRequest

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 UpdateRepositoryRequest data as a hash:

{
  domain: "DomainName", # required
  domain_owner: "AccountId",
  repository: "RepositoryName", # required
  description: "Description",
  upstreams: [
    {
      repository_name: "RepositoryName", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

An updated repository description.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
# File 'lib/aws-sdk-codeartifact/types.rb', line 3190

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

#domainString

The name of the domain associated with the repository to update.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
# File 'lib/aws-sdk-codeartifact/types.rb', line 3190

class UpdateRepositoryRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :description,
  :upstreams)
  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)


3190
3191
3192
3193
3194
3195
3196
3197
3198
# File 'lib/aws-sdk-codeartifact/types.rb', line 3190

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

#repositoryString

The name of the repository to update.

Returns:

  • (String)


3190
3191
3192
3193
3194
3195
3196
3197
3198
# File 'lib/aws-sdk-codeartifact/types.rb', line 3190

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

#upstreamsArray<Types::UpstreamRepository>

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see [Working with upstream repositories].

[1]: docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html

Returns:



3190
3191
3192
3193
3194
3195
3196
3197
3198
# File 'lib/aws-sdk-codeartifact/types.rb', line 3190

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