File Coverage

blib/lib/Paws/ServiceCatalog/CreatePortfolio.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::ServiceCatalog::CreatePortfolio;
3 1     1   1467 use Moose;
  1         5  
  1         11  
4             has AcceptLanguage => (is => 'ro', isa => 'Str');
5             has Description => (is => 'ro', isa => 'Str');
6             has DisplayName => (is => 'ro', isa => 'Str', required => 1);
7             has IdempotencyToken => (is => 'ro', isa => 'Str', required => 1);
8             has ProviderName => (is => 'ro', isa => 'Str', required => 1);
9             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::ServiceCatalog::Tag]');
10              
11 1     1   13370 use MooseX::ClassAttribute;
  1         5  
  1         14  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreatePortfolio');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ServiceCatalog::CreatePortfolioOutput');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::ServiceCatalog::CreatePortfolio - Arguments for method CreatePortfolio on Paws::ServiceCatalog
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method CreatePortfolio on the
27             AWS Service Catalog service. Use the attributes of this class
28             as arguments to method CreatePortfolio.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePortfolio.
31              
32             As an example:
33              
34             $service_obj->CreatePortfolio(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 AcceptLanguage => Str
42              
43             The language code.
44              
45             =over
46              
47             =item *
48              
49             C<en> - English (default)
50              
51             =item *
52              
53             C<jp> - Japanese
54              
55             =item *
56              
57             C<zh> - Chinese
58              
59             =back
60              
61              
62              
63              
64             =head2 Description => Str
65              
66             The text description of the portfolio.
67              
68              
69              
70             =head2 B<REQUIRED> DisplayName => Str
71              
72             The name to use for display purposes.
73              
74              
75              
76             =head2 B<REQUIRED> IdempotencyToken => Str
77              
78             A token to disambiguate duplicate requests. You can use the same input
79             in multiple requests, provided that you also specify a different
80             idempotency token for each request.
81              
82              
83              
84             =head2 B<REQUIRED> ProviderName => Str
85              
86             The name of the portfolio provider.
87              
88              
89              
90             =head2 Tags => ArrayRef[L<Paws::ServiceCatalog::Tag>]
91              
92             Tags to associate with the new portfolio.
93              
94              
95              
96              
97             =head1 SEE ALSO
98              
99             This class forms part of L<Paws>, documenting arguments for method CreatePortfolio in L<Paws::ServiceCatalog>
100              
101             =head1 BUGS and CONTRIBUTIONS
102              
103             The source code is located here: https://github.com/pplu/aws-sdk-perl
104              
105             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
106              
107             =cut
108