blib/lib/Paws/CloudWatch/PutDashboard.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudWatch::PutDashboard;
3 use Moose;
4 has DashboardBody => (is => 'ro', isa => 'Str', required => 1);
5 has DashboardName => (is => 'ro', isa => 'Str', required => 1);
6  
7 use MooseX::ClassAttribute;
8  
9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutDashboard');
10 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudWatch::PutDashboardOutput');
11 class_has _result_key => (isa => 'Str', is => 'ro', default => 'PutDashboardResult');
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CloudWatch::PutDashboard - Arguments for method PutDashboard on L<Paws::CloudWatch>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method PutDashboard on the
23 L<Amazon CloudWatch|Paws::CloudWatch> service. Use the attributes of this class
24 as arguments to method PutDashboard.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutDashboard.
27  
28 =head1 SYNOPSIS
29  
30 my $monitoring = Paws->service('CloudWatch');
31 my $PutDashboardOutput = $monitoring->PutDashboard(
32 DashboardBody => 'MyDashboardBody',
33 DashboardName => 'MyDashboardName',
34  
35 );
36  
37 # Results:
38 my $DashboardValidationMessages =
39 $PutDashboardOutput->DashboardValidationMessages;
40  
41 # Returns a L<Paws::CloudWatch::PutDashboardOutput> object.
42  
43 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.
44 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/monitoring/PutDashboard>
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 B<REQUIRED> DashboardBody => Str
50  
51 The detailed information about the dashboard in JSON format, including
52 the widgets to include and their location on the dashboard. This
53 parameter is required.
54  
55 For more information about the syntax, see Dashboard Body Structure and
56 Syntax
57 (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html).
58  
59  
60  
61 =head2 B<REQUIRED> DashboardName => Str
62  
63 The name of the dashboard. If a dashboard with this name already
64 exists, this call modifies that dashboard, replacing its current
65 contents. Otherwise, a new dashboard is created. The maximum length is
66 255, and valid characters are A-Z, a-z, 0-9, "-", and "_". This
67 parameter is required.
68  
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, documenting arguments for method PutDashboard in L<Paws::CloudWatch>
75  
76 =head1 BUGS and CONTRIBUTIONS
77  
78 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
79  
80 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
81  
82 =cut
83