blib/lib/Paws/ApplicationInsights/UpdateApplication.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ApplicationInsights::UpdateApplication;
3 use Moose;
4 has CWEMonitorEnabled => (is => 'ro', isa => 'Bool');
5 has OpsCenterEnabled => (is => 'ro', isa => 'Bool');
6 has OpsItemSNSTopicArn => (is => 'ro', isa => 'Str');
7 has RemoveSNSTopic => (is => 'ro', isa => 'Bool');
8 has ResourceGroupName => (is => 'ro', isa => 'Str', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateApplication');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApplicationInsights::UpdateApplicationResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::ApplicationInsights::UpdateApplication - Arguments for method UpdateApplication on L<Paws::ApplicationInsights>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdateApplication on the
26 L<Amazon CloudWatch Application Insights|Paws::ApplicationInsights> service. Use the attributes of this class
27 as arguments to method UpdateApplication.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateApplication.
30  
31 =head1 SYNOPSIS
32  
33 my $applicationinsights = Paws->service('ApplicationInsights');
34 my $UpdateApplicationResponse = $applicationinsights->UpdateApplication(
35 ResourceGroupName => 'MyResourceGroupName',
36 CWEMonitorEnabled => 1, # OPTIONAL
37 OpsCenterEnabled => 1, # OPTIONAL
38 OpsItemSNSTopicArn => 'MyOpsItemSNSTopicArn', # OPTIONAL
39 RemoveSNSTopic => 1, # OPTIONAL
40 );
41  
42 # Results:
43 my $ApplicationInfo = $UpdateApplicationResponse->ApplicationInfo;
44  
45 # Returns a L<Paws::ApplicationInsights::UpdateApplicationResponse> object.
46  
47 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.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/applicationinsights/UpdateApplication>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 CWEMonitorEnabled => Bool
54  
55 Indicates whether Application Insights can listen to CloudWatch events
56 for the application resources, such as C<instance terminated>, C<failed
57 deployment>, and others.
58  
59  
60  
61 =head2 OpsCenterEnabled => Bool
62  
63 When set to C<true>, creates opsItems for any problems detected on an
64 application.
65  
66  
67  
68 =head2 OpsItemSNSTopicArn => Str
69  
70 The SNS topic provided to Application Insights that is associated to
71 the created opsItem. Allows you to receive notifications for updates to
72 the opsItem.
73  
74  
75  
76 =head2 RemoveSNSTopic => Bool
77  
78 Disassociates the SNS topic from the opsItem created for detected
79 problems.
80  
81  
82  
83 =head2 B<REQUIRED> ResourceGroupName => Str
84  
85 The name of the resource group.
86  
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method UpdateApplication in L<Paws::ApplicationInsights>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101