blib/lib/Paws/CustomerProfiles/UpdateDomain.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::CustomerProfiles::UpdateDomain;
3 use Moose;
4 has DeadLetterQueueUrl => (is => 'ro', isa => 'Str');
5 has DefaultEncryptionKey => (is => 'ro', isa => 'Str');
6 has DefaultExpirationDays => (is => 'ro', isa => 'Int');
7 has DomainName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'DomainName', required => 1);
8 has Matching => (is => 'ro', isa => 'Paws::CustomerProfiles::MatchingRequest');
9 has Tags => (is => 'ro', isa => 'Paws::CustomerProfiles::TagMap');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateDomain');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/domains/{DomainName}');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CustomerProfiles::UpdateDomainResponse');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::CustomerProfiles::UpdateDomain - Arguments for method UpdateDomain on L<Paws::CustomerProfiles>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method UpdateDomain on the
28 L<Amazon Connect Customer Profiles|Paws::CustomerProfiles> service. Use the attributes of this class
29 as arguments to method UpdateDomain.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDomain.
32  
33 =head1 SYNOPSIS
34  
35 my $profile = Paws->service('CustomerProfiles');
36 my $UpdateDomainResponse = $profile->UpdateDomain(
37 DomainName => 'Myname',
38 DeadLetterQueueUrl => 'MysqsQueueUrl', # OPTIONAL
39 DefaultEncryptionKey => 'MyencryptionKey', # OPTIONAL
40 DefaultExpirationDays => 1, # OPTIONAL
41 Matching => {
42 Enabled => 1,
43  
44 }, # OPTIONAL
45 Tags => {
46 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
47 }, # OPTIONAL
48 );
49  
50 # Results:
51 my $CreatedAt = $UpdateDomainResponse->CreatedAt;
52 my $DeadLetterQueueUrl = $UpdateDomainResponse->DeadLetterQueueUrl;
53 my $DefaultEncryptionKey = $UpdateDomainResponse->DefaultEncryptionKey;
54 my $DefaultExpirationDays = $UpdateDomainResponse->DefaultExpirationDays;
55 my $DomainName = $UpdateDomainResponse->DomainName;
56 my $LastUpdatedAt = $UpdateDomainResponse->LastUpdatedAt;
57 my $Matching = $UpdateDomainResponse->Matching;
58 my $Tags = $UpdateDomainResponse->Tags;
59  
60 # Returns a L<Paws::CustomerProfiles::UpdateDomainResponse> object.
61  
62 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.
63 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/profile/UpdateDomain>
64  
65 =head1 ATTRIBUTES
66  
67  
68 =head2 DeadLetterQueueUrl => Str
69  
70 The URL of the SQS dead letter queue, which is used for reporting
71 errors associated with ingesting data from third party applications. If
72 specified as an empty string, it will clear any existing value. You
73 must set up a policy on the DeadLetterQueue for the SendMessage
74 operation to enable Amazon Connect Customer Profiles to send messages
75 to the DeadLetterQueue.
76  
77  
78  
79 =head2 DefaultEncryptionKey => Str
80  
81 The default encryption key, which is an AWS managed key, is used when
82 no specific type of encryption key is specified. It is used to encrypt
83 all data before it is placed in permanent or semi-permanent storage. If
84 specified as an empty string, it will clear any existing value.
85  
86  
87  
88 =head2 DefaultExpirationDays => Int
89  
90 The default number of days until the data within the domain expires.
91  
92  
93  
94 =head2 B<REQUIRED> DomainName => Str
95  
96 The unique name of the domain.
97  
98  
99  
100 =head2 Matching => L<Paws::CustomerProfiles::MatchingRequest>
101  
102 The process of matching duplicate profiles. This process runs every
103 Saturday at 12AM.
104  
105  
106  
107 =head2 Tags => L<Paws::CustomerProfiles::TagMap>
108  
109 The tags used to organize, track, or control access for this resource.
110  
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, documenting arguments for method UpdateDomain in L<Paws::CustomerProfiles>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut
125