blib/lib/Paws/RedShift/RevokeEndpointAccess.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RedShift::RevokeEndpointAccess;
3 use Moose;
4 has Account => (is => 'ro', isa => 'Str');
5 has ClusterIdentifier => (is => 'ro', isa => 'Str');
6 has Force => (is => 'ro', isa => 'Bool');
7 has VpcIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'RevokeEndpointAccess');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::EndpointAuthorization');
13 class_has _result_key => (isa => 'Str', is => 'ro', default => 'RevokeEndpointAccessResult');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::RedShift::RevokeEndpointAccess - Arguments for method RevokeEndpointAccess on L<Paws::RedShift>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method RevokeEndpointAccess on the
25 L<Amazon Redshift|Paws::RedShift> service. Use the attributes of this class
26 as arguments to method RevokeEndpointAccess.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RevokeEndpointAccess.
29  
30 =head1 SYNOPSIS
31  
32 my $redshift = Paws->service('RedShift');
33 my $EndpointAuthorization = $redshift->RevokeEndpointAccess(
34 Account => 'MyString', # OPTIONAL
35 ClusterIdentifier => 'MyString', # OPTIONAL
36 Force => 1, # OPTIONAL
37 VpcIds => [
38 'MyString', ... # max: 2147483647
39 ], # OPTIONAL
40 );
41  
42 # Results:
43 my $AllowedAllVPCs = $EndpointAuthorization->AllowedAllVPCs;
44 my $AllowedVPCs = $EndpointAuthorization->AllowedVPCs;
45 my $AuthorizeTime = $EndpointAuthorization->AuthorizeTime;
46 my $ClusterIdentifier = $EndpointAuthorization->ClusterIdentifier;
47 my $ClusterStatus = $EndpointAuthorization->ClusterStatus;
48 my $EndpointCount = $EndpointAuthorization->EndpointCount;
49 my $Grantee = $EndpointAuthorization->Grantee;
50 my $Grantor = $EndpointAuthorization->Grantor;
51 my $Status = $EndpointAuthorization->Status;
52  
53 # Returns a L<Paws::RedShift::EndpointAuthorization> object.
54  
55 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.
56 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/RevokeEndpointAccess>
57  
58 =head1 ATTRIBUTES
59  
60  
61 =head2 Account => Str
62  
63 The AWS account ID whose access is to be revoked.
64  
65  
66  
67 =head2 ClusterIdentifier => Str
68  
69 The cluster to revoke access from.
70  
71  
72  
73 =head2 Force => Bool
74  
75 Indicates whether to force the revoke action. If true, the
76 Redshift-managed VPC endpoints associated with the endpoint
77 authorization are also deleted.
78  
79  
80  
81 =head2 VpcIds => ArrayRef[Str|Undef]
82  
83 The virtual private cloud (VPC) identifiers for which access is to be
84 revoked.
85  
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, documenting arguments for method RevokeEndpointAccess in L<Paws::RedShift>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100