blib/lib/Paws/CloudFront/UpdateFieldLevelEncryptionConfig.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudFront::UpdateFieldLevelEncryptionConfig;
3 use Moose;
4 has FieldLevelEncryptionConfig => (is => 'ro', isa => 'Paws::CloudFront::FieldLevelEncryptionConfig', traits => ['ParamInBody'], required => 1);
5 has Id => (is => 'ro', isa => 'Str', uri_name => 'Id', traits => ['ParamInURI'], required => 1);
6 has IfMatch => (is => 'ro', isa => 'Str', header_name => 'If-Match', traits => ['ParamInHeader']);
7  
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateFieldLevelEncryptionConfig');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2020-05-31/field-level-encryption/{Id}/config');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFront::UpdateFieldLevelEncryptionConfigResult');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16
17
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::CloudFront::UpdateFieldLevelEncryptionConfig - Arguments for method UpdateFieldLevelEncryptionConfig on L<Paws::CloudFront>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method UpdateFieldLevelEncryptionConfig2020_05_31 on the
29 L<Amazon CloudFront|Paws::CloudFront> service. Use the attributes of this class
30 as arguments to method UpdateFieldLevelEncryptionConfig2020_05_31.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFieldLevelEncryptionConfig2020_05_31.
33  
34 =head1 SYNOPSIS
35  
36 my $cloudfront = Paws->service('CloudFront');
37 my $UpdateFieldLevelEncryptionConfigResult =
38 $cloudfront->UpdateFieldLevelEncryptionConfig(
39 FieldLevelEncryptionConfig => {
40 CallerReference => 'Mystring',
41 Comment => 'Mystring',
42 ContentTypeProfileConfig => {
43 ForwardWhenContentTypeIsUnknown => 1,
44 ContentTypeProfiles => {
45 Quantity => 1,
46 Items => [
47 {
48 ContentType => 'Mystring',
49 Format => 'URLEncoded', # values: URLEncoded
50 ProfileId => 'Mystring',
51 },
52 ...
53 ], # OPTIONAL
54 }, # OPTIONAL
55 }, # OPTIONAL
56 QueryArgProfileConfig => {
57 ForwardWhenQueryArgProfileIsUnknown => 1,
58 QueryArgProfiles => {
59 Quantity => 1,
60 Items => [
61 {
62 ProfileId => 'Mystring',
63 QueryArg => 'Mystring',
64  
65 },
66 ...
67 ], # OPTIONAL
68 }, # OPTIONAL
69 }, # OPTIONAL
70 },
71 Id => 'Mystring',
72 IfMatch => 'Mystring', # OPTIONAL
73 );
74  
75 # Results:
76 my $ETag = $UpdateFieldLevelEncryptionConfigResult->ETag;
77 my $FieldLevelEncryption =
78 $UpdateFieldLevelEncryptionConfigResult->FieldLevelEncryption;
79  
80 # Returns a L<Paws::CloudFront::UpdateFieldLevelEncryptionConfigResult> object.
81  
82 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.
83 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudfront/UpdateFieldLevelEncryptionConfig>
84  
85 =head1 ATTRIBUTES
86  
87  
88 =head2 B<REQUIRED> FieldLevelEncryptionConfig => L<Paws::CloudFront::FieldLevelEncryptionConfig>
89  
90 Request to update a field-level encryption configuration.
91  
92  
93  
94 =head2 B<REQUIRED> Id => Str
95  
96 The ID of the configuration you want to update.
97  
98  
99  
100 =head2 IfMatch => Str
101  
102 The value of the C<ETag> header that you received when retrieving the
103 configuration identity to update. For example: C<E2QWRUHAPOMQZL>.
104  
105  
106  
107  
108 =head1 SEE ALSO
109  
110 This class forms part of L<Paws>, documenting arguments for method UpdateFieldLevelEncryptionConfig2020_05_31 in L<Paws::CloudFront>
111  
112 =head1 BUGS and CONTRIBUTIONS
113  
114 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
115  
116 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
117  
118 =cut
119