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.
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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: “ ~ ! @ ^ & ( ) - ‘ _ + [ ] { } ; , . ` “
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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.
This value is used as an integrity check to verify that the ‘assetContent` has not changed after it was originally sent.
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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.
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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.
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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.
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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.
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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.
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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`).
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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.
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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`
2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 |
# File 'lib/aws-sdk-codeartifact/types.rb', line 2683 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 |