Class: Aws::CodeArtifact::Types::UpdatePackageVersionsStatusRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domainString

The name of the domain that contains the repository that contains the package versions with a status to be updated.

Returns:

  • (String)


4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/aws-sdk-codeartifact/types.rb', line 4318

class UpdatePackageVersionsStatusRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status,
  :target_status)
  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)


4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/aws-sdk-codeartifact/types.rb', line 4318

class UpdatePackageVersionsStatusRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status,
  :target_status)
  SENSITIVE = []
  include Aws::Structure
end

#expected_statusString

The package version’s expected status before it is updated. If ‘expectedStatus` is provided, the package version’s status is updated only if its status at the time ‘UpdatePackageVersionsStatus` is called matches `expectedStatus`.

Returns:

  • (String)


4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/aws-sdk-codeartifact/types.rb', line 4318

class UpdatePackageVersionsStatusRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status,
  :target_status)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

A format that specifies the type of the package with the statuses to update.

Returns:

  • (String)


4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/aws-sdk-codeartifact/types.rb', line 4318

class UpdatePackageVersionsStatusRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status,
  :target_status)
  SENSITIVE = []
  include Aws::Structure
end

#namespaceString

The namespace of the package version to be updated. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its ‘groupId`.

  • The namespace of an npm or Swift package version is its ‘scope`.

  • The namespace of a generic package is its ‘namespace`.

  • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

Returns:

  • (String)


4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/aws-sdk-codeartifact/types.rb', line 4318

class UpdatePackageVersionsStatusRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status,
  :target_status)
  SENSITIVE = []
  include Aws::Structure
end

#packageString

The name of the package with the version statuses to update.

Returns:

  • (String)


4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/aws-sdk-codeartifact/types.rb', line 4318

class UpdatePackageVersionsStatusRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status,
  :target_status)
  SENSITIVE = []
  include Aws::Structure
end

#repositoryString

The repository that contains the package versions with the status you want to update.

Returns:

  • (String)


4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/aws-sdk-codeartifact/types.rb', line 4318

class UpdatePackageVersionsStatusRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status,
  :target_status)
  SENSITIVE = []
  include Aws::Structure
end

#target_statusString

The status you want to change the package version status to.

Returns:

  • (String)


4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/aws-sdk-codeartifact/types.rb', line 4318

class UpdatePackageVersionsStatusRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status,
  :target_status)
  SENSITIVE = []
  include Aws::Structure
end

#version_revisionsHash<String,String>

A map of package versions and package version revisions. The map ‘key` is the package version (for example, `3.5.2`), and the map `value` is the package version revision.

Returns:

  • (Hash<String,String>)


4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/aws-sdk-codeartifact/types.rb', line 4318

class UpdatePackageVersionsStatusRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status,
  :target_status)
  SENSITIVE = []
  include Aws::Structure
end

#versionsArray<String>

An array of strings that specify the versions of the package with the statuses to update.

Returns:

  • (Array<String>)


4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
# File 'lib/aws-sdk-codeartifact/types.rb', line 4318

class UpdatePackageVersionsStatusRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :versions,
  :version_revisions,
  :expected_status,
  :target_status)
  SENSITIVE = []
  include Aws::Structure
end