Class: Aws::CodeArtifact::Types::DisposePackageVersionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeartifact/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 you want to dispose.

Returns:

  • (String)


1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1241

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


1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1241

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

#expected_statusString

The expected status of the package version to dispose.

Returns:

  • (String)


1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1241

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

#formatString

A format that specifies the type of package versions you want to dispose.

Returns:

  • (String)


1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1241

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

#namespaceString

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

The namespace is required when disposing package versions of the following formats:

  • Maven

  • Swift

  • generic

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


1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1241

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

#packageString

The name of the package with the versions you want to dispose.

Returns:

  • (String)


1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1241

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

#repositoryString

The name of the repository that contains the package versions you want to dispose.

Returns:

  • (String)


1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1241

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

#version_revisionsHash<String,String>

The revisions of the package versions you want to dispose.

Returns:

  • (Hash<String,String>)


1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1241

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

#versionsArray<String>

The versions of the package you want to dispose.

Returns:

  • (Array<String>)


1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 1241

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