Class: Aws::CodeArtifact::Types::PublishPackageVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeArtifact::Types::PublishPackageVersionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#asset_content ⇒ IO
The content of the asset to publish.
-
#asset_name ⇒ String
The name of the asset to publish.
-
#asset_sha256 ⇒ String
The SHA256 hash of the ‘assetContent` to publish.
-
#domain ⇒ String
The name of the domain that contains the repository that contains the package version to publish.
-
#domain_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain.
-
#format ⇒ String
A format that specifies the type of the package version with the requested asset file.
-
#namespace ⇒ String
The namespace of the package version to publish.
-
#package ⇒ String
The name of the package version to publish.
-
#package_version ⇒ String
The package version to publish (for example, ‘3.5.2`).
-
#repository ⇒ String
The name of the repository that the package version will be published to.
-
#unfinished ⇒ Boolean
Specifies whether the package version should remain in the ‘unfinished` state.
Instance Attribute Details
#asset_content ⇒ IO
The content of the asset to publish.
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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_name ⇒ String
The name of the asset to publish. Asset names can include Unicode letters and numbers, and the following special characters: “ ~ ! @ ^ & ( ) - ‘ _ + [ ] { } ; , . ` “
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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_sha256 ⇒ String
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
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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 ⇒ String
The name of the domain that contains the repository that contains the package version to publish.
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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 |
#format ⇒ String
A format that specifies the type of the package version with the requested asset file.
The only supported value is ‘generic`.
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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 |
#namespace ⇒ String
The namespace of the package version to publish.
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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 ⇒ String
The name of the package version to publish.
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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_version ⇒ String
The package version to publish (for example, ‘3.5.2`).
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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 |
#repository ⇒ String
The name of the repository that the package version will be published to.
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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 |
#unfinished ⇒ Boolean
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
2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2692 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 |