Class: Aws::CodeArtifact::Types::PackageSummary
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::CodeArtifact::Types::PackageSummary
 
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codeartifact/types.rb
Overview
Details about a package, including its format, namespace, and name.
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #format  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The format of the package. 
- 
  
    
      #namespace  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The namespace of the package. 
- 
  
    
      #origin_configuration  ⇒ Types::PackageOriginConfiguration 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A [PackageOriginConfiguration] object that contains a [PackageOriginRestrictions] object that contains information about the upstream and publish package origin restrictions. 
- 
  
    
      #package  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the package. 
Instance Attribute Details
#format ⇒ String
The format of the package.
| 3275 3276 3277 3278 3279 3280 3281 3282 | # File 'lib/aws-sdk-codeartifact/types.rb', line 3275 class PackageSummary < Struct.new( :format, :namespace, :package, :origin_configuration) SENSITIVE = [] include Aws::Structure end | 
#namespace ⇒ String
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
- 
The namespace of a Maven package version is its ‘groupId`. 
- 
The namespace of an npm or Swift package version is its ‘scope`. 
- 
The namespace of a generic package is its ‘namespace`. 
- 
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace. 
| 3275 3276 3277 3278 3279 3280 3281 3282 | # File 'lib/aws-sdk-codeartifact/types.rb', line 3275 class PackageSummary < Struct.new( :format, :namespace, :package, :origin_configuration) SENSITIVE = [] include Aws::Structure end | 
#origin_configuration ⇒ Types::PackageOriginConfiguration
A [PackageOriginConfiguration] object that contains a
- PackageOriginRestrictions][2
- 
object that contains information 
about the upstream and publish package origin restrictions.
[1]: docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html [2]: docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
| 3275 3276 3277 3278 3279 3280 3281 3282 | # File 'lib/aws-sdk-codeartifact/types.rb', line 3275 class PackageSummary < Struct.new( :format, :namespace, :package, :origin_configuration) SENSITIVE = [] include Aws::Structure end | 
#package ⇒ String
The name of the package.
| 3275 3276 3277 3278 3279 3280 3281 3282 | # File 'lib/aws-sdk-codeartifact/types.rb', line 3275 class PackageSummary < Struct.new( :format, :namespace, :package, :origin_configuration) SENSITIVE = [] include Aws::Structure end |