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   669 use Moose;
  1         4  
  1         12  
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   9537 use MooseX::ClassAttribute;
  1         4  
  1         10  
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 to use for this operation. Supported language codes
44             are as follows:
45              
46             "en" (English)
47              
48             "jp" (Japanese)
49              
50             "zh" (Chinese)
51              
52             If no code is specified, "en" is used as the default.
53              
54              
55              
56             =head2 Description => Str
57              
58             The text description of the portfolio.
59              
60              
61              
62             =head2 B<REQUIRED> DisplayName => Str
63              
64             The name to use for display purposes.
65              
66              
67              
68             =head2 B<REQUIRED> IdempotencyToken => Str
69              
70             A token to disambiguate duplicate requests. You can create multiple
71             resources using the same input in multiple requests, provided that you
72             also specify a different idempotency token for each request.
73              
74              
75              
76             =head2 B<REQUIRED> ProviderName => Str
77              
78             The name of the portfolio provider.
79              
80              
81              
82             =head2 Tags => ArrayRef[L<Paws::ServiceCatalog::Tag>]
83              
84             Tags to associate with the new portfolio.
85              
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, documenting arguments for method CreatePortfolio in L<Paws::ServiceCatalog>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut
100