blib/lib/Paws/IoTSiteWise/UpdateDashboard.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoTSiteWise::UpdateDashboard;
3 use Moose;
4 has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken');
5 has DashboardDefinition => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'dashboardDefinition', required => 1);
6 has DashboardDescription => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'dashboardDescription');
7 has DashboardId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'dashboardId', required => 1);
8 has DashboardName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'dashboardName', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateDashboard');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/dashboards/{dashboardId}');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTSiteWise::UpdateDashboardResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::IoTSiteWise::UpdateDashboard - Arguments for method UpdateDashboard on L<Paws::IoTSiteWise>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method UpdateDashboard on the
27 L<AWS IoT SiteWise|Paws::IoTSiteWise> service. Use the attributes of this class
28 as arguments to method UpdateDashboard.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDashboard.
31  
32 =head1 SYNOPSIS
33  
34 my $iotsitewise = Paws->service('IoTSiteWise');
35 my $UpdateDashboardResponse = $iotsitewise->UpdateDashboard(
36 DashboardDefinition => 'MyDashboardDefinition',
37 DashboardId => 'MyID',
38 DashboardName => 'MyName',
39 ClientToken => 'MyClientToken', # OPTIONAL
40 DashboardDescription => 'MyDescription', # OPTIONAL
41 );
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/iotsitewise/UpdateDashboard>
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 ClientToken => Str
50  
51 A unique case-sensitive identifier that you can provide to ensure the
52 idempotency of the request. Don't reuse this client token if a new
53 idempotent request is required.
54  
55  
56  
57 =head2 B<REQUIRED> DashboardDefinition => Str
58  
59 The new dashboard definition, as specified in a JSON literal. For
60 detailed information, see Creating dashboards (CLI)
61 (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-dashboards-using-aws-cli.html)
62 in the I<AWS IoT SiteWise User Guide>.
63  
64  
65  
66 =head2 DashboardDescription => Str
67  
68 A new description for the dashboard.
69  
70  
71  
72 =head2 B<REQUIRED> DashboardId => Str
73  
74 The ID of the dashboard to update.
75  
76  
77  
78 =head2 B<REQUIRED> DashboardName => Str
79  
80 A new friendly name for the dashboard.
81  
82  
83  
84  
85 =head1 SEE ALSO
86  
87 This class forms part of L<Paws>, documenting arguments for method UpdateDashboard in L<Paws::IoTSiteWise>
88  
89 =head1 BUGS and CONTRIBUTIONS
90  
91 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
92  
93 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
94  
95 =cut
96