« blib/lib/Paws/CloudFront/UpdateFieldLevelEncryptionConfigResult.pm
↑ Summary
blib/lib/Paws/CloudFront/UpdateFieldLevelEncryptionProfileResult.pm »
| 1 | |||
| 2 | package Paws::CloudFront::UpdateFieldLevelEncryptionProfile; | ||
| 3 | use Moose; | ||
| 4 | has FieldLevelEncryptionProfileConfig => (is => 'ro', isa => 'Paws::CloudFront::FieldLevelEncryptionProfileConfig', 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 => 'UpdateFieldLevelEncryptionProfile'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2020-05-31/field-level-encryption-profile/{Id}/config'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFront::UpdateFieldLevelEncryptionProfileResult'); | ||
| 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::UpdateFieldLevelEncryptionProfile - Arguments for method UpdateFieldLevelEncryptionProfile on L<Paws::CloudFront> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method UpdateFieldLevelEncryptionProfile2020_05_31 on the | ||
| 29 | L<Amazon CloudFront|Paws::CloudFront> service. Use the attributes of this class | ||
| 30 | as arguments to method UpdateFieldLevelEncryptionProfile2020_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 UpdateFieldLevelEncryptionProfile2020_05_31. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $cloudfront = Paws->service('CloudFront'); | ||
| 37 | my $UpdateFieldLevelEncryptionProfileResult = | ||
| 38 | $cloudfront->UpdateFieldLevelEncryptionProfile( | ||
| 39 | FieldLevelEncryptionProfileConfig => { | ||
| 40 | CallerReference => 'Mystring', | ||
| 41 | EncryptionEntities => { | ||
| 42 | Quantity => 1, | ||
| 43 | Items => [ | ||
| 44 | { | ||
| 45 | FieldPatterns => { | ||
| 46 | Quantity => 1, | ||
| 47 | Items => [ 'Mystring', ... ], # OPTIONAL | ||
| 48 | }, | ||
| 49 | ProviderId => 'Mystring', | ||
| 50 | PublicKeyId => 'Mystring', | ||
| 51 | |||
| 52 | }, | ||
| 53 | ... | ||
| 54 | ], # OPTIONAL | ||
| 55 | }, | ||
| 56 | Name => 'Mystring', | ||
| 57 | Comment => 'Mystring', | ||
| 58 | }, | ||
| 59 | Id => 'Mystring', | ||
| 60 | IfMatch => 'Mystring', # OPTIONAL | ||
| 61 | ); | ||
| 62 | |||
| 63 | # Results: | ||
| 64 | my $ETag = $UpdateFieldLevelEncryptionProfileResult->ETag; | ||
| 65 | my $FieldLevelEncryptionProfile = | ||
| 66 | $UpdateFieldLevelEncryptionProfileResult->FieldLevelEncryptionProfile; | ||
| 67 | |||
| 68 | # Returns a L<Paws::CloudFront::UpdateFieldLevelEncryptionProfileResult> object. | ||
| 69 | |||
| 70 | 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. | ||
| 71 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudfront/UpdateFieldLevelEncryptionProfile> | ||
| 72 | |||
| 73 | =head1 ATTRIBUTES | ||
| 74 | |||
| 75 | |||
| 76 | =head2 B<REQUIRED> FieldLevelEncryptionProfileConfig => L<Paws::CloudFront::FieldLevelEncryptionProfileConfig> | ||
| 77 | |||
| 78 | Request to update a field-level encryption profile. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head2 B<REQUIRED> Id => Str | ||
| 83 | |||
| 84 | The ID of the field-level encryption profile request. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 IfMatch => Str | ||
| 89 | |||
| 90 | The value of the C<ETag> header that you received when retrieving the | ||
| 91 | profile identity to update. For example: C<E2QWRUHAPOMQZL>. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head1 SEE ALSO | ||
| 97 | |||
| 98 | This class forms part of L<Paws>, documenting arguments for method UpdateFieldLevelEncryptionProfile2020_05_31 in L<Paws::CloudFront> | ||
| 99 | |||
| 100 | =head1 BUGS and CONTRIBUTIONS | ||
| 101 | |||
| 102 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 103 | |||
| 104 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 105 | |||
| 106 | =cut | ||
| 107 |