blib/lib/Paws/SSM/ResourceDataSyncSource.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SSM::ResourceDataSyncSource;
3 use Moose;
4 has AwsOrganizationsSource => (is => 'ro', isa => 'Paws::SSM::ResourceDataSyncAwsOrganizationsSource');
5 has EnableAllOpsDataSources => (is => 'ro', isa => 'Bool');
6 has IncludeFutureRegions => (is => 'ro', isa => 'Bool');
7 has SourceRegions => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
8 has SourceType => (is => 'ro', isa => 'Str', required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::SSM::ResourceDataSyncSource
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::SSM::ResourceDataSyncSource object:
28  
29 $service_obj->Method(Att1 => { AwsOrganizationsSource => $value, ..., SourceType => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::ResourceDataSyncSource object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->AwsOrganizationsSource
37  
38 =head1 DESCRIPTION
39  
40 Information about the source of the data included in the resource data
41 sync.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 AwsOrganizationsSource => L<Paws::SSM::ResourceDataSyncAwsOrganizationsSource>
47  
48 Information about the AwsOrganizationsSource resource data sync source.
49 A sync source of this type can synchronize data from AWS Organizations.
50  
51  
52 =head2 EnableAllOpsDataSources => Bool
53  
54 When you create a resource data sync, if you choose one of the AWS
55 Organizations options, then Systems Manager automatically enables all
56 OpsData sources in the selected AWS Regions for all AWS accounts in
57 your organization (or in the selected organization units). For more
58 information, see About multiple account and Region resource data syncs
59 (https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resouce-data-sync-multiple-accounts-and-regions.html)
60 in the I<AWS Systems Manager User Guide>.
61  
62  
63 =head2 IncludeFutureRegions => Bool
64  
65 Whether to automatically synchronize and aggregate data from new AWS
66 Regions when those Regions come online.
67  
68  
69 =head2 B<REQUIRED> SourceRegions => ArrayRef[Str|Undef]
70  
71 The C<SyncSource> AWS Regions included in the resource data sync.
72  
73  
74 =head2 B<REQUIRED> SourceType => Str
75  
76 The type of data source for the resource data sync. C<SourceType> is
77 either C<AwsOrganizations> (if an organization is present in AWS
78 Organizations) or C<SingleAccountMultiRegions>.
79  
80  
81  
82 =head1 SEE ALSO
83  
84 This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
85  
86 =head1 BUGS and CONTRIBUTIONS
87  
88 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
89  
90 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
91  
92 =cut
93