Class: Aws::CodeArtifact::Types::PublishPackageVersionRequest

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

#asset_contentIO

The content of the asset to publish.

Returns:

  • (IO)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  SENSITIVE = []
  include Aws::Structure
end

#asset_nameString

The name of the asset to publish. Asset names can include Unicode letters and numbers, and the following special characters: ~ ! @ ^ & ( ) - ` _ + [ ] \{ \} ; , . `

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  SENSITIVE = []
  include Aws::Structure
end

#asset_sha256String

The SHA256 hash of the assetContent to publish. This value must be calculated by the caller and provided with the request (see Publishing a generic package in the CodeArtifact User Guide).

This value is used as an integrity check to verify that the assetContent has not changed after it was originally sent.

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  SENSITIVE = []
  include Aws::Structure
end

#domainString

The name of the domain that contains the repository that contains the package version to publish.

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  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)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

A format that specifies the type of the package version with the requested asset file.

The only supported value is generic.

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  SENSITIVE = []
  include Aws::Structure
end

#namespaceString

The namespace of the package version to publish.

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  SENSITIVE = []
  include Aws::Structure
end

#packageString

The name of the package version to publish.

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  SENSITIVE = []
  include Aws::Structure
end

#package_versionString

The package version to publish (for example, 3.5.2).

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  SENSITIVE = []
  include Aws::Structure
end

#repositoryString

The name of the repository that the package version will be published to.

Returns:

  • (String)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  SENSITIVE = []
  include Aws::Structure
end

#unfinishedBoolean

Specifies whether the package version should remain in the unfinished state. If omitted, the package version status will be set to Published (see Package version status in the CodeArtifact User Guide).

Valid values: unfinished

Returns:

  • (Boolean)


3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
# File 'gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/types.rb', line 3554

class PublishPackageVersionRequest < Struct.new(
  :domain,
  :domain_owner,
  :repository,
  :format,
  :namespace,
  :package,
  :package_version,
  :asset_content,
  :asset_name,
  :asset_sha256,
  :unfinished)
  SENSITIVE = []
  include Aws::Structure
end