blib/lib/Paws/Route53/CreateVPCAssociationAuthorization.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Route53::CreateVPCAssociationAuthorization;
3 use Moose;
4 has HostedZoneId => (is => 'ro', isa => 'Str', uri_name => 'Id', traits => ['ParamInURI'], required => 1);
5 has VPC => (is => 'ro', isa => 'Paws::Route53::VPC', required => 1);
6  
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateVPCAssociationAuthorization');
11 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/hostedzone/{Id}/authorizevpcassociation');
12 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::CreateVPCAssociationAuthorizationResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 class_has _top_level_element => (isa => 'Str', is => 'ro', default => 'CreateVPCAssociationAuthorizationRequest');
16 class_has _top_level_namespace => (isa => 'Str', is => 'ro', default => 'https://route53.amazonaws.com/doc/2013-04-01/');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::Route53::CreateVPCAssociationAuthorization - Arguments for method CreateVPCAssociationAuthorization on L<Paws::Route53>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method CreateVPCAssociationAuthorization on the
28 L<Amazon Route 53|Paws::Route53> service. Use the attributes of this class
29 as arguments to method CreateVPCAssociationAuthorization.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateVPCAssociationAuthorization.
32  
33 =head1 SYNOPSIS
34  
35 my $route53 = Paws->service('Route53');
36 my $CreateVPCAssociationAuthorizationResponse =
37 $route53->CreateVPCAssociationAuthorization(
38 HostedZoneId => 'MyResourceId',
39 VPC => {
40 VPCId => 'MyVPCId', # max: 1024; OPTIONAL
41 VPCRegion => 'us-east-1'
42 , # values: us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ap-east-1, me-south-1, us-gov-west-1, us-gov-east-1, us-iso-east-1, us-isob-east-1, ap-southeast-1, ap-southeast-2, ap-south-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, eu-north-1, sa-east-1, ca-central-1, cn-north-1, af-south-1, eu-south-1min: 1, max: 64; OPTIONAL
43 },
44  
45 );
46  
47 # Results:
48 my $HostedZoneId = $CreateVPCAssociationAuthorizationResponse->HostedZoneId;
49 my $VPC = $CreateVPCAssociationAuthorizationResponse->VPC;
50  
51 # Returns a L<Paws::Route53::CreateVPCAssociationAuthorizationResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53/CreateVPCAssociationAuthorization>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> HostedZoneId => Str
60  
61 The ID of the private hosted zone that you want to authorize
62 associating a VPC with.
63  
64  
65  
66 =head2 B<REQUIRED> VPC => L<Paws::Route53::VPC>
67  
68 A complex type that contains the VPC ID and region for the VPC that you
69 want to authorize associating with your hosted zone.
70  
71  
72  
73  
74 =head1 SEE ALSO
75  
76 This class forms part of L<Paws>, documenting arguments for method CreateVPCAssociationAuthorization in L<Paws::Route53>
77  
78 =head1 BUGS and CONTRIBUTIONS
79  
80 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
81  
82 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
83  
84 =cut
85