« blib/lib/Paws/CodeArtifact/ListTagsForResourceResult.pm
↑ Summary
blib/lib/Paws/CodeArtifact/PackageSummary.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CodeArtifact::PackageDependency; | ||
| 3 | use Moose; | ||
| 4 | has DependencyType => (is => 'ro', isa => 'Str', request_name => 'dependencyType', traits => ['NameInRequest']); | ||
| 5 | has Namespace => (is => 'ro', isa => 'Str', request_name => 'namespace', traits => ['NameInRequest']); | ||
| 6 | has Package => (is => 'ro', isa => 'Str', request_name => 'package', traits => ['NameInRequest']); | ||
| 7 | has VersionRequirement => (is => 'ro', isa => 'Str', request_name => 'versionRequirement', traits => ['NameInRequest']); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::CodeArtifact::PackageDependency | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::CodeArtifact::PackageDependency object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { DependencyType => $value, ..., VersionRequirement => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::CodeArtifact::PackageDependency object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->DependencyType | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Details about a package dependency. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 DependencyType => Str | ||
| 45 | |||
| 46 | The type of a package dependency. The possible values depend on the | ||
| 47 | package type. Example types are C<compile>, C<runtime>, and C<test> for | ||
| 48 | Maven packages, and C<dev>, C<prod>, and C<optional> for npm packages. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 Namespace => Str | ||
| 52 | |||
| 53 | The namespace of the package. The package component that specifies its | ||
| 54 | namespace depends on its type. For example: | ||
| 55 | |||
| 56 | =over | ||
| 57 | |||
| 58 | =item * | ||
| 59 | |||
| 60 | The namespace of a Maven package is its C<groupId>. | ||
| 61 | |||
| 62 | =item * | ||
| 63 | |||
| 64 | The namespace of an npm package is its C<scope>. | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | A Python package does not contain a corresponding component, so Python | ||
| 69 | packages do not have a namespace. | ||
| 70 | |||
| 71 | =back | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 Package => Str | ||
| 76 | |||
| 77 | The name of the package that this package depends on. | ||
| 78 | |||
| 79 | |||
| 80 | =head2 VersionRequirement => Str | ||
| 81 | |||
| 82 | The required version, or version range, of the package that this | ||
| 83 | package depends on. The version format is specific to the package type. | ||
| 84 | For example, the following are possible valid required versions: | ||
| 85 | C<1.2.3>, C<^2.3.4>, or C<4.x>. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head1 SEE ALSO | ||
| 90 | |||
| 91 | This class forms part of L<Paws>, describing an object used in L<Paws::CodeArtifact> | ||
| 92 | |||
| 93 | =head1 BUGS and CONTRIBUTIONS | ||
| 94 | |||
| 95 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 96 | |||
| 97 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 98 | |||
| 99 | =cut | ||
| 100 |