blib/lib/Paws/ApplicationInsights/UpdateComponentConfiguration.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::UpdateComponentConfiguration;
3 use Moose;
4 has ComponentConfiguration => (is => 'ro', isa => 'Str');
5 has ComponentName => (is => 'ro', isa => 'Str', required => 1);
6 has Monitor => (is => 'ro', isa => 'Bool');
7 has ResourceGroupName => (is => 'ro', isa => 'Str', required => 1);
8 has Tier => (is => 'ro', isa => 'Str');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateComponentConfiguration');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApplicationInsights::UpdateComponentConfigurationResponse');
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::UpdateComponentConfiguration - Arguments for method UpdateComponentConfiguration on L<Paws::ApplicationInsights>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdateComponentConfiguration on the
26 L<Amazon CloudWatch Application Insights|Paws::ApplicationInsights> service. Use the attributes of this class
27 as arguments to method UpdateComponentConfiguration.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateComponentConfiguration.
30  
31 =head1 SYNOPSIS
32  
33 my $applicationinsights = Paws->service('ApplicationInsights');
34 my $UpdateComponentConfigurationResponse =
35 $applicationinsights->UpdateComponentConfiguration(
36 ComponentName => 'MyComponentName',
37 ResourceGroupName => 'MyResourceGroupName',
38 ComponentConfiguration => 'MyComponentConfiguration', # OPTIONAL
39 Monitor => 1, # OPTIONAL
40 Tier => 'CUSTOM', # 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/applicationinsights/UpdateComponentConfiguration>
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 ComponentConfiguration => Str
50  
51 The configuration settings of the component. The value is the escaped
52 JSON of the configuration. For more information about the JSON format,
53 see Working with JSON
54 (https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html).
55 You can send a request to
56 C<DescribeComponentConfigurationRecommendation> to see the recommended
57 configuration for a component. For the complete format of the component
58 configuration file, see Component Configuration
59 (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/component-config.html).
60  
61  
62  
63 =head2 B<REQUIRED> ComponentName => Str
64  
65 The name of the component.
66  
67  
68  
69 =head2 Monitor => Bool
70  
71 Indicates whether the application component is monitored.
72  
73  
74  
75 =head2 B<REQUIRED> ResourceGroupName => Str
76  
77 The name of the resource group.
78  
79  
80  
81 =head2 Tier => Str
82  
83 The tier of the application component. Supported tiers include
84 C<DOT_NET_WORKER>, C<DOT_NET_WEB>, C<DOT_NET_CORE>, C<SQL_SERVER>, and
85 C<DEFAULT>.
86  
87 Valid values are: C<"CUSTOM">, C<"DEFAULT">, C<"DOT_NET_CORE">, C<"DOT_NET_WORKER">, C<"DOT_NET_WEB_TIER">, C<"DOT_NET_WEB">, C<"SQL_SERVER">, C<"SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP">, C<"MYSQL">, C<"POSTGRESQL">, C<"JAVA_JMX">, C<"ORACLE">
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method UpdateComponentConfiguration 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