blib/lib/Paws/SSM/CreateResourceDataSync.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::SSM::CreateResourceDataSync;
3 use Moose;
4 has S3Destination => (is => 'ro', isa => 'Paws::SSM::ResourceDataSyncS3Destination');
5 has SyncName => (is => 'ro', isa => 'Str', required => 1);
6 has SyncSource => (is => 'ro', isa => 'Paws::SSM::ResourceDataSyncSource');
7 has SyncType => (is => 'ro', isa => 'Str');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateResourceDataSync');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::CreateResourceDataSyncResult');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::SSM::CreateResourceDataSync - Arguments for method CreateResourceDataSync on L<Paws::SSM>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CreateResourceDataSync on the
25 L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class
26 as arguments to method CreateResourceDataSync.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateResourceDataSync.
29  
30 =head1 SYNOPSIS
31  
32 my $ssm = Paws->service('SSM');
33 my $CreateResourceDataSyncResult = $ssm->CreateResourceDataSync(
34 SyncName => 'MyResourceDataSyncName',
35 S3Destination => {
36 BucketName => 'MyResourceDataSyncS3BucketName', # min: 1, max: 2048
37 Region => 'MyResourceDataSyncS3Region', # min: 1, max: 64
38 SyncFormat => 'JsonSerDe', # values: JsonSerDe
39 AWSKMSKeyARN =>
40 'MyResourceDataSyncAWSKMSKeyARN', # min: 1, max: 512; OPTIONAL
41 DestinationDataSharing => {
42 DestinationDataSharingType =>
43 'MyResourceDataSyncDestinationDataSharingType'
44 , # min: 1, max: 64; OPTIONAL
45 }, # OPTIONAL
46 Prefix => 'MyResourceDataSyncS3Prefix', # min: 1, max: 256; OPTIONAL
47 }, # OPTIONAL
48 SyncSource => {
49 SourceRegions => [
50 'MyResourceDataSyncSourceRegion', ... # min: 1, max: 64
51 ],
52 SourceType => 'MyResourceDataSyncSourceType', # min: 1, max: 64
53 AwsOrganizationsSource => {
54 OrganizationSourceType =>
55 'MyResourceDataSyncOrganizationSourceType', # min: 1, max: 64
56 OrganizationalUnits => [
57 {
58 OrganizationalUnitId => 'MyResourceDataSyncOrganizationalUnitId'
59 , # min: 1, max: 128; OPTIONAL
60 },
61 ...
62 ], # min: 1, max: 1000; OPTIONAL
63 }, # OPTIONAL
64 EnableAllOpsDataSources => 1, # OPTIONAL
65 IncludeFutureRegions => 1, # OPTIONAL
66 }, # OPTIONAL
67 SyncType => 'MyResourceDataSyncType', # OPTIONAL
68 );
69  
70 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.
71 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/CreateResourceDataSync>
72  
73 =head1 ATTRIBUTES
74  
75  
76 =head2 S3Destination => L<Paws::SSM::ResourceDataSyncS3Destination>
77  
78 Amazon S3 configuration details for the sync. This parameter is
79 required if the C<SyncType> value is SyncToDestination.
80  
81  
82  
83 =head2 B<REQUIRED> SyncName => Str
84  
85 A name for the configuration.
86  
87  
88  
89 =head2 SyncSource => L<Paws::SSM::ResourceDataSyncSource>
90  
91 Specify information about the data sources to synchronize. This
92 parameter is required if the C<SyncType> value is SyncFromSource.
93  
94  
95  
96 =head2 SyncType => Str
97  
98 Specify C<SyncToDestination> to create a resource data sync that
99 synchronizes data to an S3 bucket for Inventory. If you specify
100 C<SyncToDestination>, you must provide a value for C<S3Destination>.
101 Specify C<SyncFromSource> to synchronize data from a single account and
102 multiple Regions, or multiple AWS accounts and Regions, as listed in
103 AWS Organizations for Explorer. If you specify C<SyncFromSource>, you
104 must provide a value for C<SyncSource>. The default value is
105 C<SyncToDestination>.
106  
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, documenting arguments for method CreateResourceDataSync in L<Paws::SSM>
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