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.
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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_name ⇒ String
The name of the asset to publish. Asset names can include Unicode letters and numbers, and the following special characters: “ ~ ! @ ^ & ( ) - ‘ _ + [ ] { } ; , . ` “
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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_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
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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 ⇒ String
The name of the domain that contains the repository that contains the package version to publish.
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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_owner ⇒ String
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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 | 
#format ⇒ String
A format that specifies the type of the package version with the requested asset file.
The only supported value is ‘generic`.
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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 | 
#namespace ⇒ String
The namespace of the package version to publish.
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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 ⇒ String
The name of the package version to publish.
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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_version ⇒ String
The package version to publish (for example, ‘3.5.2`).
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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 | 
#repository ⇒ String
The name of the repository that the package version will be published to.
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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 | 
#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
| 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 | # File '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 |