blib/lib/Paws/EC2/CreateVpcEndpointConnectionNotification.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::EC2::CreateVpcEndpointConnectionNotification;
3 use Moose;
4 has ClientToken => (is => 'ro', isa => 'Str');
5 has ConnectionEvents => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
6 has ConnectionNotificationArn => (is => 'ro', isa => 'Str', required => 1);
7 has DryRun => (is => 'ro', isa => 'Bool');
8 has ServiceId => (is => 'ro', isa => 'Str');
9 has VpcEndpointId => (is => 'ro', isa => 'Str');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateVpcEndpointConnectionNotification');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::CreateVpcEndpointConnectionNotificationResult');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::EC2::CreateVpcEndpointConnectionNotification - Arguments for method CreateVpcEndpointConnectionNotification on L<Paws::EC2>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateVpcEndpointConnectionNotification on the
27 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
28 as arguments to method CreateVpcEndpointConnectionNotification.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateVpcEndpointConnectionNotification.
31  
32 =head1 SYNOPSIS
33  
34 my $ec2 = Paws->service('EC2');
35 my $CreateVpcEndpointConnectionNotificationResult =
36 $ec2->CreateVpcEndpointConnectionNotification(
37 ConnectionEvents => [ 'MyString', ... ],
38 ConnectionNotificationArn => 'MyString',
39 ClientToken => 'MyString', # OPTIONAL
40 DryRun => 1, # OPTIONAL
41 ServiceId => 'MyVpcEndpointServiceId', # OPTIONAL
42 VpcEndpointId => 'MyVpcEndpointId', # OPTIONAL
43 );
44  
45 # Results:
46 my $ClientToken =
47 $CreateVpcEndpointConnectionNotificationResult->ClientToken;
48 my $ConnectionNotification =
49 $CreateVpcEndpointConnectionNotificationResult->ConnectionNotification;
50  
51 # Returns a L<Paws::EC2::CreateVpcEndpointConnectionNotificationResult> 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/ec2/CreateVpcEndpointConnectionNotification>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 ClientToken => Str
60  
61 Unique, case-sensitive identifier that you provide to ensure the
62 idempotency of the request. For more information, see How to Ensure
63 Idempotency
64 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html).
65  
66  
67  
68 =head2 B<REQUIRED> ConnectionEvents => ArrayRef[Str|Undef]
69  
70 One or more endpoint events for which to receive notifications. Valid
71 values are C<Accept>, C<Connect>, C<Delete>, and C<Reject>.
72  
73  
74  
75 =head2 B<REQUIRED> ConnectionNotificationArn => Str
76  
77 The ARN of the SNS topic for the notifications.
78  
79  
80  
81 =head2 DryRun => Bool
82  
83 Checks whether you have the required permissions for the action,
84 without actually making the request, and provides an error response. If
85 you have the required permissions, the error response is
86 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
87  
88  
89  
90 =head2 ServiceId => Str
91  
92 The ID of the endpoint service.
93  
94  
95  
96 =head2 VpcEndpointId => Str
97  
98 The ID of the endpoint.
99  
100  
101  
102  
103 =head1 SEE ALSO
104  
105 This class forms part of L<Paws>, documenting arguments for method CreateVpcEndpointConnectionNotification in L<Paws::EC2>
106  
107 =head1 BUGS and CONTRIBUTIONS
108  
109 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
110  
111 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
112  
113 =cut
114