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

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

#asset_contentIO

The content of the asset to publish.

Returns:

  • (IO)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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][1

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.

[1]: docs.aws.amazon.com/codeartifact/latest/ug/using-generic.html#publishing-generic-packages

Returns:

  • (String)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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.

Returns:

  • (String)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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`

[1]: docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status

Returns:

  • (Boolean)


2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
# File 'lib/aws-sdk-codeartifact/types.rb', line 2690

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