blib/lib/Paws/AppIntegrations.pm untested

filter: Statementstmt 0.0% 0 / 40 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 15 Podpod 0.0% 0 / 14 totaltotal 0.0% 0 / 69 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::AppIntegrations;
2 use Moose;
3 sub service { 'app-integrations' }
4 sub signing_name { 'app-integrations' }
5 sub version { '2020-07-29' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub CreateEventIntegration {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::AppIntegrations::CreateEventIntegration', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub DeleteEventIntegration {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::AppIntegrations::DeleteEventIntegration', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub GetEventIntegration {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::AppIntegrations::GetEventIntegration', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub ListEventIntegrationAssociations {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::AppIntegrations::ListEventIntegrationAssociations', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub ListEventIntegrations {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::AppIntegrations::ListEventIntegrations', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub ListTagsForResource {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::AppIntegrations::ListTagsForResource', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub TagResource {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::AppIntegrations::TagResource', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub UntagResource {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::AppIntegrations::UntagResource', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub UpdateEventIntegration {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::AppIntegrations::UpdateEventIntegration', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62
63  
64  
65 sub operations { qw/CreateEventIntegration DeleteEventIntegration GetEventIntegration ListEventIntegrationAssociations ListEventIntegrations ListTagsForResource TagResource UntagResource UpdateEventIntegration / }
66  
67 1;
68  
69 ### main pod documentation begin ###
70  
71 =head1 NAME
72  
73 Paws::AppIntegrations - Perl Interface to AWS Amazon AppIntegrations Service
74  
75 =head1 SYNOPSIS
76  
77 use Paws;
78  
79 my $obj = Paws->service('AppIntegrations');
80 my $res = $obj->Method(
81 Arg1 => $val1,
82 Arg2 => [ 'V1', 'V2' ],
83 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
84 # of the arguments type
85 Arg3 => { Att1 => 'Val1' },
86 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
87 # the constructor of the arguments type
88 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
89 );
90  
91 =head1 DESCRIPTION
92  
93 The Amazon AppIntegrations APIs are in preview release and are subject
94 to change.
95  
96 The Amazon AppIntegrations service enables you to configure and reuse
97 connections to external applications.
98  
99 For information about how you can use external applications with Amazon
100 Connect, see Set up pre-built integrations
101 (https://docs.aws.amazon.com/connect/latest/adminguide/crm.html) in the
102 I<Amazon Connect Administrator Guide>.
103  
104 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/app-integrations-2020-07-29>
105  
106  
107 =head1 METHODS
108  
109 =head2 CreateEventIntegration
110  
111 =over
112  
113 =item EventBridgeBus => Str
114  
115 =item EventFilter => L<Paws::AppIntegrations::EventFilter>
116  
117 =item Name => Str
118  
119 =item [ClientToken => Str]
120  
121 =item [Description => Str]
122  
123 =item [Tags => L<Paws::AppIntegrations::TagMap>]
124  
125  
126 =back
127  
128 Each argument is described in detail in: L<Paws::AppIntegrations::CreateEventIntegration>
129  
130 Returns: a L<Paws::AppIntegrations::CreateEventIntegrationResponse> instance
131  
132 The Amazon AppIntegrations APIs are in preview release and are subject
133 to change.
134  
135 Creates an EventIntegration, given a specified name, description, and a
136 reference to an Amazon Eventbridge bus in your account and a partner
137 event source that will push events to that bus. No objects are created
138 in the your account, only metadata that is persisted on the
139 EventIntegration control plane.
140  
141  
142 =head2 DeleteEventIntegration
143  
144 =over
145  
146 =item Name => Str
147  
148  
149 =back
150  
151 Each argument is described in detail in: L<Paws::AppIntegrations::DeleteEventIntegration>
152  
153 Returns: a L<Paws::AppIntegrations::DeleteEventIntegrationResponse> instance
154  
155 The Amazon AppIntegrations APIs are in preview release and are subject
156 to change.
157  
158 Deletes the specified existing event integration. If the event
159 integration is associated with clients, the request is rejected.
160  
161  
162 =head2 GetEventIntegration
163  
164 =over
165  
166 =item Name => Str
167  
168  
169 =back
170  
171 Each argument is described in detail in: L<Paws::AppIntegrations::GetEventIntegration>
172  
173 Returns: a L<Paws::AppIntegrations::GetEventIntegrationResponse> instance
174  
175 The Amazon AppIntegrations APIs are in preview release and are subject
176 to change.
177  
178 Return information about the event integration.
179  
180  
181 =head2 ListEventIntegrationAssociations
182  
183 =over
184  
185 =item EventIntegrationName => Str
186  
187 =item [MaxResults => Int]
188  
189 =item [NextToken => Str]
190  
191  
192 =back
193  
194 Each argument is described in detail in: L<Paws::AppIntegrations::ListEventIntegrationAssociations>
195  
196 Returns: a L<Paws::AppIntegrations::ListEventIntegrationAssociationsResponse> instance
197  
198 The Amazon AppIntegrations APIs are in preview release and are subject
199 to change.
200  
201 Returns a paginated list of event integration associations in the
202 account.
203  
204  
205 =head2 ListEventIntegrations
206  
207 =over
208  
209 =item [MaxResults => Int]
210  
211 =item [NextToken => Str]
212  
213  
214 =back
215  
216 Each argument is described in detail in: L<Paws::AppIntegrations::ListEventIntegrations>
217  
218 Returns: a L<Paws::AppIntegrations::ListEventIntegrationsResponse> instance
219  
220 The Amazon AppIntegrations APIs are in preview release and are subject
221 to change.
222  
223 Returns a paginated list of event integrations in the account.
224  
225  
226 =head2 ListTagsForResource
227  
228 =over
229  
230 =item ResourceArn => Str
231  
232  
233 =back
234  
235 Each argument is described in detail in: L<Paws::AppIntegrations::ListTagsForResource>
236  
237 Returns: a L<Paws::AppIntegrations::ListTagsForResourceResponse> instance
238  
239 The Amazon AppIntegrations APIs are in preview release and are subject
240 to change.
241  
242 Lists the tags for the specified resource.
243  
244  
245 =head2 TagResource
246  
247 =over
248  
249 =item ResourceArn => Str
250  
251 =item Tags => L<Paws::AppIntegrations::TagMap>
252  
253  
254 =back
255  
256 Each argument is described in detail in: L<Paws::AppIntegrations::TagResource>
257  
258 Returns: a L<Paws::AppIntegrations::TagResourceResponse> instance
259  
260 The Amazon AppIntegrations APIs are in preview release and are subject
261 to change.
262  
263 Adds the specified tags to the specified resource.
264  
265  
266 =head2 UntagResource
267  
268 =over
269  
270 =item ResourceArn => Str
271  
272 =item TagKeys => ArrayRef[Str|Undef]
273  
274  
275 =back
276  
277 Each argument is described in detail in: L<Paws::AppIntegrations::UntagResource>
278  
279 Returns: a L<Paws::AppIntegrations::UntagResourceResponse> instance
280  
281 The Amazon AppIntegrations APIs are in preview release and are subject
282 to change.
283  
284 Removes the specified tags from the specified resource.
285  
286  
287 =head2 UpdateEventIntegration
288  
289 =over
290  
291 =item Name => Str
292  
293 =item [Description => Str]
294  
295  
296 =back
297  
298 Each argument is described in detail in: L<Paws::AppIntegrations::UpdateEventIntegration>
299  
300 Returns: a L<Paws::AppIntegrations::UpdateEventIntegrationResponse> instance
301  
302 The Amazon AppIntegrations APIs are in preview release and are subject
303 to change.
304  
305 Updates the description of an event integration.
306  
307  
308  
309  
310 =head1 PAGINATORS
311  
312 Paginator methods are helpers that repetively call methods that return partial results
313  
314  
315  
316  
317 =head1 SEE ALSO
318  
319 This service class forms part of L<Paws>
320  
321 =head1 BUGS and CONTRIBUTIONS
322  
323 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
324  
325 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
326  
327 =cut
328