blib/lib/Paws/CustomerProfiles/PutIntegration.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CustomerProfiles::PutIntegration;
3 use Moose;
4 has DomainName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'DomainName', required => 1);
5 has FlowDefinition => (is => 'ro', isa => 'Paws::CustomerProfiles::FlowDefinition');
6 has ObjectTypeName => (is => 'ro', isa => 'Str', required => 1);
7 has Tags => (is => 'ro', isa => 'Paws::CustomerProfiles::TagMap');
8 has Uri => (is => 'ro', isa => 'Str');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutIntegration');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/domains/{DomainName}/integrations');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CustomerProfiles::PutIntegrationResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::CustomerProfiles::PutIntegration - Arguments for method PutIntegration on L<Paws::CustomerProfiles>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method PutIntegration on the
27 L<Amazon Connect Customer Profiles|Paws::CustomerProfiles> service. Use the attributes of this class
28 as arguments to method PutIntegration.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutIntegration.
31  
32 =head1 SYNOPSIS
33  
34 my $profile = Paws->service('CustomerProfiles');
35 my $PutIntegrationResponse = $profile->PutIntegration(
36 DomainName => 'Myname',
37 ObjectTypeName => 'MytypeName',
38 FlowDefinition => {
39 FlowName => 'MyFlowName', # max: 256
40 KmsArn => 'MyKmsArn', # min: 20, max: 2048
41 SourceFlowConfig => {
42 ConnectorType =>
43 'Salesforce', # values: Salesforce, Marketo, Zendesk, Servicenow, S3
44 SourceConnectorProperties => {
45 Marketo => {
46 Object => 'MyObject', # max: 512
47  
48 }, # OPTIONAL
49 S3 => {
50 BucketName => 'MyBucketName', # min: 3, max: 63
51 BucketPrefix => 'MyBucketPrefix', # max: 512; OPTIONAL
52 }, # OPTIONAL
53 Salesforce => {
54 Object => 'MyObject', # max: 512
55 EnableDynamicFieldUpdate => 1, # OPTIONAL
56 IncludeDeletedRecords => 1, # OPTIONAL
57 }, # OPTIONAL
58 ServiceNow => {
59 Object => 'MyObject', # max: 512
60  
61 }, # OPTIONAL
62 Zendesk => {
63 Object => 'MyObject', # max: 512
64  
65 }, # OPTIONAL
66 },
67 ConnectorProfileName => 'MyConnectorProfileName', # max: 256; OPTIONAL
68 IncrementalPullConfig => {
69 DatetimeTypeFieldName =>
70 'MyDatetimeTypeFieldName', # max: 256; OPTIONAL
71 }, # OPTIONAL
72 },
73 Tasks => [
74 {
75 SourceFields => [
76 'MystringTo2048', ... # max: 2048
77 ],
78 TaskType => 'Arithmetic'
79 , # values: Arithmetic, Filter, Map, Mask, Merge, Truncate, Validate
80 ConnectorOperator => {
81 Marketo => 'PROJECTION'
82 , # values: PROJECTION, LESS_THAN, GREATER_THAN, BETWEEN, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP; OPTIONAL
83 S3 => 'PROJECTION'
84 , # values: PROJECTION, LESS_THAN, GREATER_THAN, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP; OPTIONAL
85 Salesforce => 'PROJECTION'
86 , # values: PROJECTION, LESS_THAN, CONTAINS, GREATER_THAN, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP; OPTIONAL
87 ServiceNow => 'PROJECTION'
88 , # values: PROJECTION, CONTAINS, LESS_THAN, GREATER_THAN, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP; OPTIONAL
89 Zendesk => 'PROJECTION'
90 , # values: PROJECTION, GREATER_THAN, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP; OPTIONAL
91 }, # OPTIONAL
92 DestinationField => 'MyDestinationField', # max: 256; OPTIONAL
93 TaskProperties => {
94 'VALUE' => 'MyProperty'
95 , # key: values: VALUE, VALUES, DATA_TYPE, UPPER_BOUND, LOWER_BOUND, SOURCE_DATA_TYPE, DESTINATION_DATA_TYPE, VALIDATION_ACTION, MASK_VALUE, MASK_LENGTH, TRUNCATE_LENGTH, MATH_OPERATION_FIELDS_ORDER, CONCAT_FORMAT, SUBFIELD_CATEGORY_MAP, value: max: 2048
96 }, # OPTIONAL
97 },
98 ...
99 ],
100 TriggerConfig => {
101 TriggerType => 'Scheduled', # values: Scheduled, Event, OnDemand
102 TriggerProperties => {
103 Scheduled => {
104 ScheduleExpression => 'MyScheduleExpression', # max: 256
105 DataPullMode =>
106 'Incremental', # values: Incremental, Complete; OPTIONAL
107 FirstExecutionFrom => '1970-01-01T01:00:00', # OPTIONAL
108 ScheduleEndTime => '1970-01-01T01:00:00', # OPTIONAL
109 ScheduleOffset => 1, # max: 36000; OPTIONAL
110 ScheduleStartTime => '1970-01-01T01:00:00', # OPTIONAL
111 Timezone => 'MyTimezone', # max: 256; OPTIONAL
112 }, # OPTIONAL
113 }, # OPTIONAL
114 },
115 Description => 'MyFlowDescription', # max: 2048; OPTIONAL
116 }, # OPTIONAL
117 Tags => {
118 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
119 }, # OPTIONAL
120 Uri => 'Mystring1To255', # OPTIONAL
121 );
122  
123 # Results:
124 my $CreatedAt = $PutIntegrationResponse->CreatedAt;
125 my $DomainName = $PutIntegrationResponse->DomainName;
126 my $LastUpdatedAt = $PutIntegrationResponse->LastUpdatedAt;
127 my $ObjectTypeName = $PutIntegrationResponse->ObjectTypeName;
128 my $Tags = $PutIntegrationResponse->Tags;
129 my $Uri = $PutIntegrationResponse->Uri;
130  
131 # Returns a L<Paws::CustomerProfiles::PutIntegrationResponse> object.
132  
133 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.
134 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/profile/PutIntegration>
135  
136 =head1 ATTRIBUTES
137  
138  
139 =head2 B<REQUIRED> DomainName => Str
140  
141 The unique name of the domain.
142  
143  
144  
145 =head2 FlowDefinition => L<Paws::CustomerProfiles::FlowDefinition>
146  
147 The configuration that controls how Customer Profiles retrieves data
148 from the source.
149  
150  
151  
152 =head2 B<REQUIRED> ObjectTypeName => Str
153  
154 The name of the profile object type.
155  
156  
157  
158 =head2 Tags => L<Paws::CustomerProfiles::TagMap>
159  
160 The tags used to organize, track, or control access for this resource.
161  
162  
163  
164 =head2 Uri => Str
165  
166 The URI of the S3 bucket or any other type of data source.
167  
168  
169  
170  
171 =head1 SEE ALSO
172  
173 This class forms part of L<Paws>, documenting arguments for method PutIntegration in L<Paws::CustomerProfiles>
174  
175 =head1 BUGS and CONTRIBUTIONS
176  
177 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
178  
179 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
180  
181 =cut
182