line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::ServiceCatalog::CreateConstraint; |
3
|
1
|
|
|
1
|
|
531
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has AcceptLanguage => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has IdempotencyToken => (is => 'ro', isa => 'Str', required => 1); |
7
|
|
|
|
|
|
|
has Parameters => (is => 'ro', isa => 'Str', required => 1); |
8
|
|
|
|
|
|
|
has PortfolioId => (is => 'ro', isa => 'Str', required => 1); |
9
|
|
|
|
|
|
|
has ProductId => (is => 'ro', isa => 'Str', required => 1); |
10
|
|
|
|
|
|
|
has Type => (is => 'ro', isa => 'Str', required => 1); |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
6325
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateConstraint'); |
15
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ServiceCatalog::CreateConstraintOutput'); |
16
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
### main pod documentation begin ### |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Paws::ServiceCatalog::CreateConstraint - Arguments for method CreateConstraint on Paws::ServiceCatalog |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateConstraint on the |
28
|
|
|
|
|
|
|
AWS Service Catalog service. Use the attributes of this class |
29
|
|
|
|
|
|
|
as arguments to method CreateConstraint. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateConstraint. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
As an example: |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
$service_obj->CreateConstraint(Att1 => $value1, Att2 => $value2, ...); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
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. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 AcceptLanguage => Str |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
The language code to use for this operation. Supported language codes |
45
|
|
|
|
|
|
|
are as follows: |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
"en" (English) |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
"jp" (Japanese) |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
"zh" (Chinese) |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
If no code is specified, "en" is used as the default. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 Description => Str |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
The text description of the constraint. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 B<REQUIRED> IdempotencyToken => Str |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
A token to disambiguate duplicate requests. You can create multiple |
66
|
|
|
|
|
|
|
resources using the same input in multiple requests, provided that you |
67
|
|
|
|
|
|
|
also specify a different idempotency token for each request. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 B<REQUIRED> Parameters => Str |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The constraint parameters. Expected values vary depending on which |
74
|
|
|
|
|
|
|
B<Type> is specified. For examples, see the bottom of this topic. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
For Type C<LAUNCH>, the C<RoleArn> property is required. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
For Type C<NOTIFICATION>, the C<NotificationArns> property is required. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
For Type C<TEMPLATE>, the C<Rules> property is required. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 B<REQUIRED> PortfolioId => Str |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
The portfolio identifier. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 B<REQUIRED> ProductId => Str |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
The product identifier. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head2 B<REQUIRED> Type => Str |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
The type of the constraint. Case-sensitive valid values are: C<LAUNCH>, |
99
|
|
|
|
|
|
|
C<NOTIFICATION>, or C<TEMPLATE>. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head1 SEE ALSO |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateConstraint in L<Paws::ServiceCatalog> |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=cut |
115
|
|
|
|
|
|
|
|