blib/lib/Paws/AppConfig/UpdateConfigurationProfile.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AppConfig::UpdateConfigurationProfile;
3 use Moose;
4 has ApplicationId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'ApplicationId', required => 1);
5 has ConfigurationProfileId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'ConfigurationProfileId', required => 1);
6 has Description => (is => 'ro', isa => 'Str');
7 has Name => (is => 'ro', isa => 'Str');
8 has RetrievalRoleArn => (is => 'ro', isa => 'Str');
9 has Validators => (is => 'ro', isa => 'ArrayRef[Paws::AppConfig::Validator]');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateConfigurationProfile');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppConfig::ConfigurationProfile');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::AppConfig::UpdateConfigurationProfile - Arguments for method UpdateConfigurationProfile on L<Paws::AppConfig>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method UpdateConfigurationProfile on the
28 L<Amazon AppConfig|Paws::AppConfig> service. Use the attributes of this class
29 as arguments to method UpdateConfigurationProfile.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateConfigurationProfile.
32  
33 =head1 SYNOPSIS
34  
35 my $appconfig = Paws->service('AppConfig');
36 my $ConfigurationProfile = $appconfig->UpdateConfigurationProfile(
37 ApplicationId => 'MyId',
38 ConfigurationProfileId => 'MyId',
39 Description => 'MyDescription', # OPTIONAL
40 Name => 'MyName', # OPTIONAL
41 RetrievalRoleArn => 'MyRoleArn', # OPTIONAL
42 Validators => [
43 {
44 Content => 'MyStringWithLengthBetween0And32768', # max: 32768
45 Type => 'JSON_SCHEMA', # values: JSON_SCHEMA, LAMBDA
46  
47 },
48 ...
49 ], # OPTIONAL
50 );
51  
52 # Results:
53 my $ApplicationId = $ConfigurationProfile->ApplicationId;
54 my $Description = $ConfigurationProfile->Description;
55 my $Id = $ConfigurationProfile->Id;
56 my $LocationUri = $ConfigurationProfile->LocationUri;
57 my $Name = $ConfigurationProfile->Name;
58 my $RetrievalRoleArn = $ConfigurationProfile->RetrievalRoleArn;
59 my $Validators = $ConfigurationProfile->Validators;
60  
61 # Returns a L<Paws::AppConfig::ConfigurationProfile> object.
62  
63 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.
64 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appconfig/UpdateConfigurationProfile>
65  
66 =head1 ATTRIBUTES
67  
68  
69 =head2 B<REQUIRED> ApplicationId => Str
70  
71 The application ID.
72  
73  
74  
75 =head2 B<REQUIRED> ConfigurationProfileId => Str
76  
77 The ID of the configuration profile.
78  
79  
80  
81 =head2 Description => Str
82  
83 A description of the configuration profile.
84  
85  
86  
87 =head2 Name => Str
88  
89 The name of the configuration profile.
90  
91  
92  
93 =head2 RetrievalRoleArn => Str
94  
95 The ARN of an IAM role with permission to access the configuration at
96 the specified LocationUri.
97  
98  
99  
100 =head2 Validators => ArrayRef[L<Paws::AppConfig::Validator>]
101  
102 A list of methods for validating the configuration.
103  
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, documenting arguments for method UpdateConfigurationProfile in L<Paws::AppConfig>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118