blib/lib/Paws/CloudFormation/DetectStackSetDrift.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudFormation::DetectStackSetDrift;
3 use Moose;
4 has CallAs => (is => 'ro', isa => 'Str');
5 has OperationId => (is => 'ro', isa => 'Str');
6 has OperationPreferences => (is => 'ro', isa => 'Paws::CloudFormation::StackSetOperationPreferences');
7 has StackSetName => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DetectStackSetDrift');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFormation::DetectStackSetDriftOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro', default => 'DetectStackSetDriftResult');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::CloudFormation::DetectStackSetDrift - Arguments for method DetectStackSetDrift on L<Paws::CloudFormation>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DetectStackSetDrift on the
25 L<AWS CloudFormation|Paws::CloudFormation> service. Use the attributes of this class
26 as arguments to method DetectStackSetDrift.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DetectStackSetDrift.
29  
30 =head1 SYNOPSIS
31  
32 my $cloudformation = Paws->service('CloudFormation');
33 my $DetectStackSetDriftOutput = $cloudformation->DetectStackSetDrift(
34 StackSetName => 'MyStackSetNameOrId',
35 CallAs => 'SELF', # OPTIONAL
36 OperationId => 'MyClientRequestToken', # OPTIONAL
37 OperationPreferences => {
38 FailureToleranceCount => 1, # OPTIONAL
39 FailureTolerancePercentage => 1, # max: 100; OPTIONAL
40 MaxConcurrentCount => 1, # min: 1; OPTIONAL
41 MaxConcurrentPercentage => 1, # min: 1, max: 100; OPTIONAL
42 RegionConcurrencyType =>
43 'SEQUENTIAL', # values: SEQUENTIAL, PARALLEL; OPTIONAL
44 RegionOrder => [ 'MyRegion', ... ], # OPTIONAL
45 }, # OPTIONAL
46 );
47  
48 # Results:
49 my $OperationId = $DetectStackSetDriftOutput->OperationId;
50  
51 # Returns a L<Paws::CloudFormation::DetectStackSetDriftOutput> 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/cloudformation/DetectStackSetDrift>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 CallAs => Str
60  
61 [Service-managed permissions] Specifies whether you are acting as an
62 account administrator in the organization's management account or as a
63 delegated administrator in a member account.
64  
65 By default, C<SELF> is specified. Use C<SELF> for stack sets with
66 self-managed permissions.
67  
68 =over
69  
70 =item *
71  
72 If you are signed in to the management account, specify C<SELF>.
73  
74 =item *
75  
76 If you are signed in to a delegated administrator account, specify
77 C<DELEGATED_ADMIN>.
78  
79 Your AWS account must be registered as a delegated administrator in the
80 management account. For more information, see Register a delegated
81 administrator
82 (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html)
83 in the I<AWS CloudFormation User Guide>.
84  
85 =back
86  
87  
88 Valid values are: C<"SELF">, C<"DELEGATED_ADMIN">
89  
90 =head2 OperationId => Str
91  
92 I<The ID of the stack set operation.>
93  
94  
95  
96 =head2 OperationPreferences => L<Paws::CloudFormation::StackSetOperationPreferences>
97  
98  
99  
100  
101  
102 =head2 B<REQUIRED> StackSetName => Str
103  
104 The name of the stack set on which to perform the drift detection
105 operation.
106  
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, documenting arguments for method DetectStackSetDrift in L<Paws::CloudFormation>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121