blib/lib/Paws/CloudWatchEvents/UpdateApiDestination.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudWatchEvents::UpdateApiDestination;
3 use Moose;
4 has ConnectionArn => (is => 'ro', isa => 'Str');
5 has Description => (is => 'ro', isa => 'Str');
6 has HttpMethod => (is => 'ro', isa => 'Str');
7 has InvocationEndpoint => (is => 'ro', isa => 'Str');
8 has InvocationRateLimitPerSecond => (is => 'ro', isa => 'Int');
9 has Name => (is => 'ro', isa => 'Str', required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateApiDestination');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudWatchEvents::UpdateApiDestinationResponse');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::CloudWatchEvents::UpdateApiDestination - Arguments for method UpdateApiDestination on L<Paws::CloudWatchEvents>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method UpdateApiDestination on the
27 L<Amazon EventBridge|Paws::CloudWatchEvents> service. Use the attributes of this class
28 as arguments to method UpdateApiDestination.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateApiDestination.
31  
32 =head1 SYNOPSIS
33  
34 my $events = Paws->service('CloudWatchEvents');
35 my $UpdateApiDestinationResponse = $events->UpdateApiDestination(
36 Name => 'MyApiDestinationName',
37 ConnectionArn => 'MyConnectionArn', # OPTIONAL
38 Description => 'MyApiDestinationDescription', # OPTIONAL
39 HttpMethod => 'POST', # OPTIONAL
40 InvocationEndpoint => 'MyHttpsEndpoint', # OPTIONAL
41 InvocationRateLimitPerSecond => 1, # OPTIONAL
42 );
43  
44 # Results:
45 my $ApiDestinationArn = $UpdateApiDestinationResponse->ApiDestinationArn;
46 my $ApiDestinationState =
47 $UpdateApiDestinationResponse->ApiDestinationState;
48 my $CreationTime = $UpdateApiDestinationResponse->CreationTime;
49 my $LastModifiedTime = $UpdateApiDestinationResponse->LastModifiedTime;
50  
51 # Returns a L<Paws::CloudWatchEvents::UpdateApiDestinationResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/events/UpdateApiDestination>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 ConnectionArn => Str
60  
61 The ARN of the connection to use for the API destination.
62  
63  
64  
65 =head2 Description => Str
66  
67 The name of the API destination to update.
68  
69  
70  
71 =head2 HttpMethod => Str
72  
73 The method to use for the API destination.
74  
75 Valid values are: C<"POST">, C<"GET">, C<"HEAD">, C<"OPTIONS">, C<"PUT">, C<"PATCH">, C<"DELETE">
76  
77 =head2 InvocationEndpoint => Str
78  
79 The URL to the endpoint to use for the API destination.
80  
81  
82  
83 =head2 InvocationRateLimitPerSecond => Int
84  
85 The maximum number of invocations per second to send to the API
86 destination.
87  
88  
89  
90 =head2 B<REQUIRED> Name => Str
91  
92 The name of the API destination to update.
93  
94  
95  
96  
97 =head1 SEE ALSO
98  
99 This class forms part of L<Paws>, documenting arguments for method UpdateApiDestination in L<Paws::CloudWatchEvents>
100  
101 =head1 BUGS and CONTRIBUTIONS
102  
103 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
104  
105 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
106  
107 =cut
108