« blib/lib/Paws/ApiGateway/CreateUsagePlanKey.pm
↑ Summary
blib/lib/Paws/ApiGateway/DeleteApiKey.pm »
| 1 | |||
| 2 | package Paws::ApiGateway::CreateVpcLink; | ||
| 3 | use Moose; | ||
| 4 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); | ||
| 5 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1); | ||
| 6 | has Tags => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToString', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 7 | has TargetArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'targetArns', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateVpcLink'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/vpclinks'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::VpcLink'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::ApiGateway::CreateVpcLink - Arguments for method CreateVpcLink on L<Paws::ApiGateway> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method CreateVpcLink on the | ||
| 26 | L<Amazon API Gateway|Paws::ApiGateway> service. Use the attributes of this class | ||
| 27 | as arguments to method CreateVpcLink. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateVpcLink. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $apigateway = Paws->service('ApiGateway'); | ||
| 34 | my $VpcLink = $apigateway->CreateVpcLink( | ||
| 35 | Name => 'MyString', | ||
| 36 | TargetArns => [ 'MyString', ... ], | ||
| 37 | Description => 'MyString', # OPTIONAL | ||
| 38 | Tags => { 'MyString' => 'MyString', }, # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $Description = $VpcLink->Description; | ||
| 43 | my $Id = $VpcLink->Id; | ||
| 44 | my $Name = $VpcLink->Name; | ||
| 45 | my $Status = $VpcLink->Status; | ||
| 46 | my $StatusMessage = $VpcLink->StatusMessage; | ||
| 47 | my $Tags = $VpcLink->Tags; | ||
| 48 | my $TargetArns = $VpcLink->TargetArns; | ||
| 49 | |||
| 50 | # Returns a L<Paws::ApiGateway::VpcLink> object. | ||
| 51 | |||
| 52 | 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. | ||
| 53 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/CreateVpcLink> | ||
| 54 | |||
| 55 | =head1 ATTRIBUTES | ||
| 56 | |||
| 57 | |||
| 58 | =head2 Description => Str | ||
| 59 | |||
| 60 | The description of the VPC link. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> Name => Str | ||
| 65 | |||
| 66 | [Required] The name used to label and identify the VPC link. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 Tags => L<Paws::ApiGateway::MapOfStringToString> | ||
| 71 | |||
| 72 | The key-value map of strings. The valid character set is | ||
| 73 | [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not | ||
| 74 | start with C<aws:>. The tag value can be up to 256 characters. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> TargetArns => ArrayRef[Str|Undef] | ||
| 79 | |||
| 80 | [Required] The ARN of the network load balancer of the VPC targeted by | ||
| 81 | the VPC link. The network load balancer must be owned by the same AWS | ||
| 82 | account of the API owner. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head1 SEE ALSO | ||
| 88 | |||
| 89 | This class forms part of L<Paws>, documenting arguments for method CreateVpcLink in L<Paws::ApiGateway> | ||
| 90 | |||
| 91 | =head1 BUGS and CONTRIBUTIONS | ||
| 92 | |||
| 93 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 94 | |||
| 95 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 96 | |||
| 97 | =cut | ||
| 98 |