blib/lib/Paws/EKS/UpdateClusterConfig.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EKS::UpdateClusterConfig;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientRequestToken');
5 has Logging => (is => 'ro', isa => 'Paws::EKS::Logging', traits => ['NameInRequest'], request_name => 'logging');
6 has Name => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'name', required => 1);
7 has ResourcesVpcConfig => (is => 'ro', isa => 'Paws::EKS::VpcConfigRequest', traits => ['NameInRequest'], request_name => 'resourcesVpcConfig');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateClusterConfig');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/clusters/{name}/update-config');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EKS::UpdateClusterConfigResponse');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::EKS::UpdateClusterConfig - Arguments for method UpdateClusterConfig on L<Paws::EKS>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdateClusterConfig on the
26 L<Amazon Elastic Kubernetes Service|Paws::EKS> service. Use the attributes of this class
27 as arguments to method UpdateClusterConfig.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateClusterConfig.
30  
31 =head1 SYNOPSIS
32  
33 my $eks = Paws->service('EKS');
34 my $UpdateClusterConfigResponse = $eks->UpdateClusterConfig(
35 Name => 'MyString',
36 ClientRequestToken => 'MyString', # OPTIONAL
37 Logging => {
38 ClusterLogging => [
39 {
40 Enabled => 1, # OPTIONAL
41 Types => [
42 'api',
43 ... # values: api, audit, authenticator, controllerManager, scheduler
44 ], # OPTIONAL
45 },
46 ...
47 ], # OPTIONAL
48 }, # OPTIONAL
49 ResourcesVpcConfig => {
50 EndpointPrivateAccess => 1, # OPTIONAL
51 EndpointPublicAccess => 1, # OPTIONAL
52 PublicAccessCidrs => [ 'MyString', ... ], # OPTIONAL
53 SecurityGroupIds => [ 'MyString', ... ], # OPTIONAL
54 SubnetIds => [ 'MyString', ... ], # OPTIONAL
55 }, # OPTIONAL
56 );
57  
58 # Results:
59 my $Update = $UpdateClusterConfigResponse->Update;
60  
61 # Returns a L<Paws::EKS::UpdateClusterConfigResponse> object.
62  
63 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.
64 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/eks/UpdateClusterConfig>
65  
66 =head1 ATTRIBUTES
67  
68  
69 =head2 ClientRequestToken => Str
70  
71 Unique, case-sensitive identifier that you provide to ensure the
72 idempotency of the request.
73  
74  
75  
76 =head2 Logging => L<Paws::EKS::Logging>
77  
78 Enable or disable exporting the Kubernetes control plane logs for your
79 cluster to CloudWatch Logs. By default, cluster control plane logs
80 aren't exported to CloudWatch Logs. For more information, see Amazon
81 EKS Cluster Control Plane Logs
82 (https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html)
83 in the I< I<Amazon EKS User Guide> >.
84  
85 CloudWatch Logs ingestion, archive storage, and data scanning rates
86 apply to exported control plane logs. For more information, see Amazon
87 CloudWatch Pricing (http://aws.amazon.com/cloudwatch/pricing/).
88  
89  
90  
91 =head2 B<REQUIRED> Name => Str
92  
93 The name of the Amazon EKS cluster to update.
94  
95  
96  
97 =head2 ResourcesVpcConfig => L<Paws::EKS::VpcConfigRequest>
98  
99  
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method UpdateClusterConfig in L<Paws::EKS>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115