| 1 | |||
| 2 | package Paws::EKS::UpdateAddon; | ||
| 3 | use Moose; | ||
| 4 | has AddonName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'addonName', required => 1); | ||
| 5 | has AddonVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'addonVersion'); | ||
| 6 | has ClientRequestToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientRequestToken'); | ||
| 7 | has ClusterName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'name', required => 1); | ||
| 8 | has ResolveConflicts => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'resolveConflicts'); | ||
| 9 | has ServiceAccountRoleArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'serviceAccountRoleArn'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAddon'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/clusters/{name}/addons/{addonName}/update'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EKS::UpdateAddonResponse'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::EKS::UpdateAddon - Arguments for method UpdateAddon on L<Paws::EKS> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method UpdateAddon on the | ||
| 28 | L<Amazon Elastic Kubernetes Service|Paws::EKS> service. Use the attributes of this class | ||
| 29 | as arguments to method UpdateAddon. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAddon. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $eks = Paws->service('EKS'); | ||
| 36 | my $UpdateAddonResponse = $eks->UpdateAddon( | ||
| 37 | AddonName => 'MyString', | ||
| 38 | ClusterName => 'MyClusterName', | ||
| 39 | AddonVersion => 'MyString', # OPTIONAL | ||
| 40 | ClientRequestToken => 'MyString', # OPTIONAL | ||
| 41 | ResolveConflicts => 'OVERWRITE', # OPTIONAL | ||
| 42 | ServiceAccountRoleArn => 'MyRoleArn', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $Update = $UpdateAddonResponse->Update; | ||
| 47 | |||
| 48 | # Returns a L<Paws::EKS::UpdateAddonResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/eks/UpdateAddon> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> AddonName => Str | ||
| 57 | |||
| 58 | The name of the add-on. The name must match one of the names returned | ||
| 59 | by C<ListAddons> | ||
| 60 | (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html). | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 AddonVersion => Str | ||
| 65 | |||
| 66 | The version of the add-on. The version must match one of the versions | ||
| 67 | returned by C<DescribeAddonVersions> | ||
| 68 | (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html). | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 ClientRequestToken => Str | ||
| 73 | |||
| 74 | Unique, case-sensitive identifier that you provide to ensure the | ||
| 75 | idempotency of the request. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 B<REQUIRED> ClusterName => Str | ||
| 80 | |||
| 81 | The name of the cluster. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head2 ResolveConflicts => Str | ||
| 86 | |||
| 87 | How to resolve parameter value conflicts when applying the new version | ||
| 88 | of the add-on to the cluster. | ||
| 89 | |||
| 90 | Valid values are: C<"OVERWRITE">, C<"NONE"> | ||
| 91 | |||
| 92 | =head2 ServiceAccountRoleArn => Str | ||
| 93 | |||
| 94 | The Amazon Resource Name (ARN) of an existing IAM role to bind to the | ||
| 95 | add-on's service account. The role must be assigned the IAM permissions | ||
| 96 | required by the add-on. If you don't specify an existing IAM role, then | ||
| 97 | the add-on uses the permissions assigned to the node IAM role. For more | ||
| 98 | information, see Amazon EKS node IAM role | ||
| 99 | (https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) | ||
| 100 | in the I<Amazon EKS User Guide>. | ||
| 101 | |||
| 102 | To specify an existing IAM role, you must have an IAM OpenID Connect | ||
| 103 | (OIDC) provider created for your cluster. For more information, see | ||
| 104 | Enabling IAM roles for service accounts on your cluster | ||
| 105 | (https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) | ||
| 106 | in the I<Amazon EKS User Guide>. | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | =head1 SEE ALSO | ||
| 112 | |||
| 113 | This class forms part of L<Paws>, documenting arguments for method UpdateAddon in L<Paws::EKS> | ||
| 114 | |||
| 115 | =head1 BUGS and CONTRIBUTIONS | ||
| 116 | |||
| 117 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 118 | |||
| 119 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 120 | |||
| 121 | =cut | ||
| 122 |