« blib/lib/Paws/CodeArtifact/GetPackageVersionReadmeResult.pm
↑ Summary
blib/lib/Paws/CodeArtifact/GetRepositoryEndpointResult.pm »
| 1 | |||
| 2 | package Paws::CodeArtifact::GetRepositoryEndpoint; | ||
| 3 | use Moose; | ||
| 4 | has Domain => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'domain', required => 1); | ||
| 5 | has DomainOwner => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'domain-owner'); | ||
| 6 | has Format => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'format', required => 1); | ||
| 7 | has Repository => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'repository', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetRepositoryEndpoint'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/repository/endpoint'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeArtifact::GetRepositoryEndpointResult'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::CodeArtifact::GetRepositoryEndpoint - Arguments for method GetRepositoryEndpoint on L<Paws::CodeArtifact> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method GetRepositoryEndpoint on the | ||
| 26 | L<CodeArtifact|Paws::CodeArtifact> service. Use the attributes of this class | ||
| 27 | as arguments to method GetRepositoryEndpoint. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetRepositoryEndpoint. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $codeartifact = Paws->service('CodeArtifact'); | ||
| 34 | my $GetRepositoryEndpointResult = $codeartifact->GetRepositoryEndpoint( | ||
| 35 | Domain => 'MyDomainName', | ||
| 36 | Format => 'npm', | ||
| 37 | Repository => 'MyRepositoryName', | ||
| 38 | DomainOwner => 'MyAccountId', # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $RepositoryEndpoint = $GetRepositoryEndpointResult->RepositoryEndpoint; | ||
| 43 | |||
| 44 | # Returns a L<Paws::CodeArtifact::GetRepositoryEndpointResult> object. | ||
| 45 | |||
| 46 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codeartifact/GetRepositoryEndpoint> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> Domain => Str | ||
| 53 | |||
| 54 | The name of the domain that contains the repository. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 DomainOwner => Str | ||
| 59 | |||
| 60 | The 12-digit account number of the AWS account that owns the domain | ||
| 61 | that contains the repository. It does not include dashes or spaces. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> Format => Str | ||
| 66 | |||
| 67 | Returns which endpoint of a repository to return. A repository has one | ||
| 68 | endpoint for each package format: | ||
| 69 | |||
| 70 | =over | ||
| 71 | |||
| 72 | =item * | ||
| 73 | |||
| 74 | C<npm> | ||
| 75 | |||
| 76 | =item * | ||
| 77 | |||
| 78 | C<pypi> | ||
| 79 | |||
| 80 | =item * | ||
| 81 | |||
| 82 | C<maven> | ||
| 83 | |||
| 84 | =back | ||
| 85 | |||
| 86 | |||
| 87 | Valid values are: C<"npm">, C<"pypi">, C<"maven">, C<"nuget"> | ||
| 88 | |||
| 89 | =head2 B<REQUIRED> Repository => Str | ||
| 90 | |||
| 91 | The name of the repository. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head1 SEE ALSO | ||
| 97 | |||
| 98 | This class forms part of L<Paws>, documenting arguments for method GetRepositoryEndpoint in L<Paws::CodeArtifact> | ||
| 99 | |||
| 100 | =head1 BUGS and CONTRIBUTIONS | ||
| 101 | |||
| 102 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 103 | |||
| 104 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 105 | |||
| 106 | =cut | ||
| 107 |