aws-sdk-eks 1.38.1 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-eks.rb +5 -2
- data/lib/aws-sdk-eks/client.rb +178 -38
- data/lib/aws-sdk-eks/client_api.rb +21 -0
- data/lib/aws-sdk-eks/errors.rb +2 -0
- data/lib/aws-sdk-eks/resource.rb +2 -0
- data/lib/aws-sdk-eks/types.rb +358 -52
- data/lib/aws-sdk-eks/waiters.rb +2 -0
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: e643aaeaf6fd2bd87ba886b74fdfe88f835a49e0a8a4c3b70d5154488db1a163
         | 
| 4 | 
            +
              data.tar.gz: 1d5772c7531bab316e3a6252578e18bce2ce916a88a9ace4cba5d69a3c7330aa
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 132b8a7b2eea84d79a9c00ce7d19ed6d616343ea523bc01124c8d211f738fa40d49b2577bf4302d8c7f6c89980bfa5a61b2655f7589899f3ca6154c77faaeb36
         | 
| 7 | 
            +
              data.tar.gz: 37562972e2b80cec7326408273befa35865a66565fead20d216ce00c183d77c819a7e586d6fc2b610be9f49ce3bd4e18022f5b1bedd41af161d83c9c19de53b2
         | 
    
        data/lib/aws-sdk-eks.rb
    CHANGED
    
    | @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -5,6 +7,7 @@ | |
| 5 7 | 
             
            #
         | 
| 6 8 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 7 9 |  | 
| 10 | 
            +
             | 
| 8 11 | 
             
            require 'aws-sdk-core'
         | 
| 9 12 | 
             
            require 'aws-sigv4'
         | 
| 10 13 |  | 
| @@ -43,9 +46,9 @@ require_relative 'aws-sdk-eks/customizations' | |
| 43 46 | 
             
            #
         | 
| 44 47 | 
             
            # See {Errors} for more information.
         | 
| 45 48 | 
             
            #
         | 
| 46 | 
            -
            #  | 
| 49 | 
            +
            # @!group service
         | 
| 47 50 | 
             
            module Aws::EKS
         | 
| 48 51 |  | 
| 49 | 
            -
              GEM_VERSION = '1. | 
| 52 | 
            +
              GEM_VERSION = '1.43.0'
         | 
| 50 53 |  | 
| 51 54 | 
             
            end
         | 
    
        data/lib/aws-sdk-eks/client.rb
    CHANGED
    
    | @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -83,13 +85,28 @@ module Aws::EKS | |
| 83 85 | 
             
                #     * `Aws::Credentials` - Used for configuring static, non-refreshing
         | 
| 84 86 | 
             
                #       credentials.
         | 
| 85 87 | 
             
                #
         | 
| 88 | 
            +
                #     * `Aws::SharedCredentials` - Used for loading static credentials from a
         | 
| 89 | 
            +
                #       shared file, such as `~/.aws/config`.
         | 
| 90 | 
            +
                #
         | 
| 91 | 
            +
                #     * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
         | 
| 92 | 
            +
                #
         | 
| 93 | 
            +
                #     * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
         | 
| 94 | 
            +
                #       assume a role after providing credentials via the web.
         | 
| 95 | 
            +
                #
         | 
| 96 | 
            +
                #     * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
         | 
| 97 | 
            +
                #       access token generated from `aws login`.
         | 
| 98 | 
            +
                #
         | 
| 99 | 
            +
                #     * `Aws::ProcessCredentials` - Used for loading credentials from a
         | 
| 100 | 
            +
                #       process that outputs to stdout.
         | 
| 101 | 
            +
                #
         | 
| 86 102 | 
             
                #     * `Aws::InstanceProfileCredentials` - Used for loading credentials
         | 
| 87 103 | 
             
                #       from an EC2 IMDS on an EC2 instance.
         | 
| 88 104 | 
             
                #
         | 
| 89 | 
            -
                #     * `Aws:: | 
| 90 | 
            -
                #        | 
| 105 | 
            +
                #     * `Aws::ECSCredentials` - Used for loading credentials from
         | 
| 106 | 
            +
                #       instances running in ECS.
         | 
| 91 107 | 
             
                #
         | 
| 92 | 
            -
                #     * `Aws:: | 
| 108 | 
            +
                #     * `Aws::CognitoIdentityCredentials` - Used for loading credentials
         | 
| 109 | 
            +
                #       from the Cognito Identity service.
         | 
| 93 110 | 
             
                #
         | 
| 94 111 | 
             
                #     When `:credentials` are not configured directly, the following
         | 
| 95 112 | 
             
                #     locations will be searched for credentials:
         | 
| @@ -99,10 +116,10 @@ module Aws::EKS | |
| 99 116 | 
             
                #     * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
         | 
| 100 117 | 
             
                #     * `~/.aws/credentials`
         | 
| 101 118 | 
             
                #     * `~/.aws/config`
         | 
| 102 | 
            -
                #     * EC2 IMDS instance profile - When used by default, the timeouts | 
| 103 | 
            -
                #       very aggressive. Construct and pass an instance of
         | 
| 104 | 
            -
                #       `Aws::InstanceProfileCredentails`  | 
| 105 | 
            -
                #       timeouts.
         | 
| 119 | 
            +
                #     * EC2/ECS IMDS instance profile - When used by default, the timeouts
         | 
| 120 | 
            +
                #       are very aggressive. Construct and pass an instance of
         | 
| 121 | 
            +
                #       `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
         | 
| 122 | 
            +
                #       enable retries and extended timeouts.
         | 
| 106 123 | 
             
                #
         | 
| 107 124 | 
             
                #   @option options [required, String] :region
         | 
| 108 125 | 
             
                #     The AWS region to connect to.  The configured `:region` is
         | 
| @@ -373,9 +390,9 @@ module Aws::EKS | |
| 373 390 | 
             
                #
         | 
| 374 391 | 
             
                # @option params [required, String] :role_arn
         | 
| 375 392 | 
             
                #   The Amazon Resource Name (ARN) of the IAM role that provides
         | 
| 376 | 
            -
                #   permissions for  | 
| 377 | 
            -
                #   on your behalf. For more information, see [Amazon EKS | 
| 378 | 
            -
                #   Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
         | 
| 393 | 
            +
                #   permissions for the Kubernetes control plane to make calls to AWS API
         | 
| 394 | 
            +
                #   operations on your behalf. For more information, see [Amazon EKS
         | 
| 395 | 
            +
                #   Service IAM Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
         | 
| 379 396 | 
             
                #
         | 
| 380 397 | 
             
                #
         | 
| 381 398 | 
             
                #
         | 
| @@ -395,6 +412,9 @@ module Aws::EKS | |
| 395 412 | 
             
                #   [1]: https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html
         | 
| 396 413 | 
             
                #   [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
         | 
| 397 414 | 
             
                #
         | 
| 415 | 
            +
                # @option params [Types::KubernetesNetworkConfigRequest] :kubernetes_network_config
         | 
| 416 | 
            +
                #   The Kubernetes network configuration for the cluster.
         | 
| 417 | 
            +
                #
         | 
| 398 418 | 
             
                # @option params [Types::Logging] :logging
         | 
| 399 419 | 
             
                #   Enable or disable exporting the Kubernetes control plane logs for your
         | 
| 400 420 | 
             
                #   cluster to CloudWatch Logs. By default, cluster control plane logs
         | 
| @@ -470,6 +490,9 @@ module Aws::EKS | |
| 470 490 | 
             
                #       endpoint_private_access: false,
         | 
| 471 491 | 
             
                #       public_access_cidrs: ["String"],
         | 
| 472 492 | 
             
                #     },
         | 
| 493 | 
            +
                #     kubernetes_network_config: {
         | 
| 494 | 
            +
                #       service_ipv_4_cidr: "String",
         | 
| 495 | 
            +
                #     },
         | 
| 473 496 | 
             
                #     logging: {
         | 
| 474 497 | 
             
                #       cluster_logging: [
         | 
| 475 498 | 
             
                #         {
         | 
| @@ -510,6 +533,7 @@ module Aws::EKS | |
| 510 533 | 
             
                #   resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
         | 
| 511 534 | 
             
                #   resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
         | 
| 512 535 | 
             
                #   resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
         | 
| 536 | 
            +
                #   resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
         | 
| 513 537 | 
             
                #   resp.cluster.logging.cluster_logging #=> Array
         | 
| 514 538 | 
             
                #   resp.cluster.logging.cluster_logging[0].types #=> Array
         | 
| 515 539 | 
             
                #   resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
         | 
| @@ -675,17 +699,20 @@ module Aws::EKS | |
| 675 699 | 
             
                # only create a node group for your cluster that is equal to the current
         | 
| 676 700 | 
             
                # Kubernetes version for the cluster. All node groups are created with
         | 
| 677 701 | 
             
                # the latest AMI release version for the respective minor Kubernetes
         | 
| 678 | 
            -
                # version of the cluster | 
| 702 | 
            +
                # version of the cluster, unless you deploy a custom AMI using a launch
         | 
| 703 | 
            +
                # template. For more information about using launch templates, see
         | 
| 704 | 
            +
                # [Launch template support][1].
         | 
| 679 705 | 
             
                #
         | 
| 680 706 | 
             
                # An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group
         | 
| 681 707 | 
             
                # and associated Amazon EC2 instances that are managed by AWS for an
         | 
| 682 708 | 
             
                # Amazon EKS cluster. Each node group uses a version of the Amazon
         | 
| 683 709 | 
             
                # EKS-optimized Amazon Linux 2 AMI. For more information, see [Managed
         | 
| 684 | 
            -
                # Node Groups][ | 
| 710 | 
            +
                # Node Groups][2] in the *Amazon EKS User Guide*.
         | 
| 685 711 | 
             
                #
         | 
| 686 712 | 
             
                #
         | 
| 687 713 | 
             
                #
         | 
| 688 | 
            -
                # [1]: https://docs.aws.amazon.com/eks/latest/userguide/ | 
| 714 | 
            +
                # [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 715 | 
            +
                # [2]: https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html
         | 
| 689 716 | 
             
                #
         | 
| 690 717 | 
             
                # @option params [required, String] :cluster_name
         | 
| 691 718 | 
             
                #   The name of the cluster to create the node group in.
         | 
| @@ -699,28 +726,68 @@ module Aws::EKS | |
| 699 726 | 
             
                #
         | 
| 700 727 | 
             
                # @option params [Integer] :disk_size
         | 
| 701 728 | 
             
                #   The root device disk size (in GiB) for your node group instances. The
         | 
| 702 | 
            -
                #   default disk size is 20 GiB.
         | 
| 729 | 
            +
                #   default disk size is 20 GiB. If you specify `launchTemplate`, then
         | 
| 730 | 
            +
                #   don't specify `diskSize`, or the node group deployment will fail. For
         | 
| 731 | 
            +
                #   more information about using launch templates with Amazon EKS, see
         | 
| 732 | 
            +
                #   [Launch template support][1] in the Amazon EKS User Guide.
         | 
| 733 | 
            +
                #
         | 
| 734 | 
            +
                #
         | 
| 735 | 
            +
                #
         | 
| 736 | 
            +
                #   [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 703 737 | 
             
                #
         | 
| 704 738 | 
             
                # @option params [required, Array<String>] :subnets
         | 
| 705 739 | 
             
                #   The subnets to use for the Auto Scaling group that is created for your
         | 
| 706 740 | 
             
                #   node group. These subnets must have the tag key
         | 
| 707 741 | 
             
                #   `kubernetes.io/cluster/CLUSTER_NAME` with a value of `shared`, where
         | 
| 708 | 
            -
                #   `CLUSTER_NAME` is replaced with the name of your cluster.
         | 
| 742 | 
            +
                #   `CLUSTER_NAME` is replaced with the name of your cluster. If you
         | 
| 743 | 
            +
                #   specify `launchTemplate`, then don't specify [ `SubnetId` ][1] in
         | 
| 744 | 
            +
                #   your launch template, or the node group deployment will fail. For more
         | 
| 745 | 
            +
                #   information about using launch templates with Amazon EKS, see [Launch
         | 
| 746 | 
            +
                #   template support][2] in the Amazon EKS User Guide.
         | 
| 747 | 
            +
                #
         | 
| 748 | 
            +
                #
         | 
| 749 | 
            +
                #
         | 
| 750 | 
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html
         | 
| 751 | 
            +
                #   [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 709 752 | 
             
                #
         | 
| 710 753 | 
             
                # @option params [Array<String>] :instance_types
         | 
| 711 | 
            -
                #   The instance type to use for your node group.  | 
| 712 | 
            -
                #    | 
| 713 | 
            -
                #    | 
| 714 | 
            -
                #    | 
| 754 | 
            +
                #   The instance type to use for your node group. You can specify a single
         | 
| 755 | 
            +
                #   instance type for a node group. The default value for `instanceTypes`
         | 
| 756 | 
            +
                #   is `t3.medium`. If you choose a GPU instance type, be sure to specify
         | 
| 757 | 
            +
                #   `AL2_x86_64_GPU` with the `amiType` parameter. If you specify
         | 
| 758 | 
            +
                #   `launchTemplate`, then don't specify `instanceTypes`, or the node
         | 
| 759 | 
            +
                #   group deployment will fail. For more information about using launch
         | 
| 760 | 
            +
                #   templates with Amazon EKS, see [Launch template support][1] in the
         | 
| 761 | 
            +
                #   Amazon EKS User Guide.
         | 
| 762 | 
            +
                #
         | 
| 763 | 
            +
                #
         | 
| 764 | 
            +
                #
         | 
| 765 | 
            +
                #   [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 715 766 | 
             
                #
         | 
| 716 767 | 
             
                # @option params [String] :ami_type
         | 
| 717 768 | 
             
                #   The AMI type for your node group. GPU instance types should use the
         | 
| 718 | 
            -
                #   `AL2_x86_64_GPU` AMI type | 
| 719 | 
            -
                #   AMI  | 
| 720 | 
            -
                #    | 
| 769 | 
            +
                #   `AL2_x86_64_GPU` AMI type. Non-GPU instances should use the
         | 
| 770 | 
            +
                #   `AL2_x86_64` AMI type. Arm instances should use the `AL2_ARM_64` AMI
         | 
| 771 | 
            +
                #   type. All types use the Amazon EKS-optimized Amazon Linux 2 AMI. If
         | 
| 772 | 
            +
                #   you specify `launchTemplate`, and your launch template uses a custom
         | 
| 773 | 
            +
                #   AMI, then don't specify `amiType`, or the node group deployment will
         | 
| 774 | 
            +
                #   fail. For more information about using launch templates with Amazon
         | 
| 775 | 
            +
                #   EKS, see [Launch template support][1] in the Amazon EKS User Guide.
         | 
| 776 | 
            +
                #
         | 
| 777 | 
            +
                #
         | 
| 778 | 
            +
                #
         | 
| 779 | 
            +
                #   [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 721 780 | 
             
                #
         | 
| 722 781 | 
             
                # @option params [Types::RemoteAccessConfig] :remote_access
         | 
| 723 | 
            -
                #   The remote access (SSH) configuration to use with your node group.
         | 
| 782 | 
            +
                #   The remote access (SSH) configuration to use with your node group. If
         | 
| 783 | 
            +
                #   you specify `launchTemplate`, then don't specify `remoteAccess`, or
         | 
| 784 | 
            +
                #   the node group deployment will fail. For more information about using
         | 
| 785 | 
            +
                #   launch templates with Amazon EKS, see [Launch template support][1] in
         | 
| 786 | 
            +
                #   the Amazon EKS User Guide.
         | 
| 787 | 
            +
                #
         | 
| 788 | 
            +
                #
         | 
| 789 | 
            +
                #
         | 
| 790 | 
            +
                #   [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 724 791 | 
             
                #
         | 
| 725 792 | 
             
                # @option params [required, String] :node_role
         | 
| 726 793 | 
             
                #   The Amazon Resource Name (ARN) of the IAM role to associate with your
         | 
| @@ -730,11 +797,17 @@ module Aws::EKS | |
| 730 797 | 
             
                #   Before you can launch worker nodes and register them into a cluster,
         | 
| 731 798 | 
             
                #   you must create an IAM role for those worker nodes to use when they
         | 
| 732 799 | 
             
                #   are launched. For more information, see [Amazon EKS Worker Node IAM
         | 
| 733 | 
            -
                #   Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
         | 
| 800 | 
            +
                #   Role][1] in the <i> <i>Amazon EKS User Guide</i> </i>. If you specify
         | 
| 801 | 
            +
                #   `launchTemplate`, then don't specify [ `IamInstanceProfile` ][2] in
         | 
| 802 | 
            +
                #   your launch template, or the node group deployment will fail. For more
         | 
| 803 | 
            +
                #   information about using launch templates with Amazon EKS, see [Launch
         | 
| 804 | 
            +
                #   template support][3] in the Amazon EKS User Guide.
         | 
| 734 805 | 
             
                #
         | 
| 735 806 | 
             
                #
         | 
| 736 807 | 
             
                #
         | 
| 737 808 | 
             
                #   [1]: https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html
         | 
| 809 | 
            +
                #   [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html
         | 
| 810 | 
            +
                #   [3]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 738 811 | 
             
                #
         | 
| 739 812 | 
             
                # @option params [Hash<String,String>] :labels
         | 
| 740 813 | 
             
                #   The Kubernetes labels to be applied to the nodes in the node group
         | 
| @@ -754,21 +827,40 @@ module Aws::EKS | |
| 754 827 | 
             
                #   **A suitable default value is auto-generated.** You should normally
         | 
| 755 828 | 
             
                #   not need to pass this option.**
         | 
| 756 829 | 
             
                #
         | 
| 830 | 
            +
                # @option params [Types::LaunchTemplateSpecification] :launch_template
         | 
| 831 | 
            +
                #   An object representing a node group's launch template specification.
         | 
| 832 | 
            +
                #   If specified, then do not specify `instanceTypes`, `diskSize`, or
         | 
| 833 | 
            +
                #   `remoteAccess` and make sure that the launch template meets the
         | 
| 834 | 
            +
                #   requirements in `launchTemplateSpecification`.
         | 
| 835 | 
            +
                #
         | 
| 757 836 | 
             
                # @option params [String] :version
         | 
| 758 837 | 
             
                #   The Kubernetes version to use for your managed nodes. By default, the
         | 
| 759 838 | 
             
                #   Kubernetes version of the cluster is used, and this is the only
         | 
| 760 | 
            -
                #   accepted specified value.
         | 
| 839 | 
            +
                #   accepted specified value. If you specify `launchTemplate`, and your
         | 
| 840 | 
            +
                #   launch template uses a custom AMI, then don't specify `version`, or
         | 
| 841 | 
            +
                #   the node group deployment will fail. For more information about using
         | 
| 842 | 
            +
                #   launch templates with Amazon EKS, see [Launch template support][1] in
         | 
| 843 | 
            +
                #   the Amazon EKS User Guide.
         | 
| 844 | 
            +
                #
         | 
| 845 | 
            +
                #
         | 
| 846 | 
            +
                #
         | 
| 847 | 
            +
                #   [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 761 848 | 
             
                #
         | 
| 762 849 | 
             
                # @option params [String] :release_version
         | 
| 763 850 | 
             
                #   The AMI version of the Amazon EKS-optimized AMI to use with your node
         | 
| 764 851 | 
             
                #   group. By default, the latest available AMI version for the node
         | 
| 765 852 | 
             
                #   group's current Kubernetes version is used. For more information, see
         | 
| 766 853 | 
             
                #   [Amazon EKS-Optimized Linux AMI Versions][1] in the *Amazon EKS User
         | 
| 767 | 
            -
                #   Guide*.
         | 
| 854 | 
            +
                #   Guide*. If you specify `launchTemplate`, and your launch template uses
         | 
| 855 | 
            +
                #   a custom AMI, then don't specify `releaseVersion`, or the node group
         | 
| 856 | 
            +
                #   deployment will fail. For more information about using launch
         | 
| 857 | 
            +
                #   templates with Amazon EKS, see [Launch template support][2] in the
         | 
| 858 | 
            +
                #   Amazon EKS User Guide.
         | 
| 768 859 | 
             
                #
         | 
| 769 860 | 
             
                #
         | 
| 770 861 | 
             
                #
         | 
| 771 862 | 
             
                #   [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
         | 
| 863 | 
            +
                #   [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 772 864 | 
             
                #
         | 
| 773 865 | 
             
                # @return [Types::CreateNodegroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 774 866 | 
             
                #
         | 
| @@ -787,7 +879,7 @@ module Aws::EKS | |
| 787 879 | 
             
                #     disk_size: 1,
         | 
| 788 880 | 
             
                #     subnets: ["String"], # required
         | 
| 789 881 | 
             
                #     instance_types: ["String"],
         | 
| 790 | 
            -
                #     ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU
         | 
| 882 | 
            +
                #     ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64
         | 
| 791 883 | 
             
                #     remote_access: {
         | 
| 792 884 | 
             
                #       ec2_ssh_key: "String",
         | 
| 793 885 | 
             
                #       source_security_groups: ["String"],
         | 
| @@ -800,6 +892,11 @@ module Aws::EKS | |
| 800 892 | 
             
                #       "TagKey" => "TagValue",
         | 
| 801 893 | 
             
                #     },
         | 
| 802 894 | 
             
                #     client_request_token: "String",
         | 
| 895 | 
            +
                #     launch_template: {
         | 
| 896 | 
            +
                #       name: "String",
         | 
| 897 | 
            +
                #       version: "String",
         | 
| 898 | 
            +
                #       id: "String",
         | 
| 899 | 
            +
                #     },
         | 
| 803 900 | 
             
                #     version: "String",
         | 
| 804 901 | 
             
                #     release_version: "String",
         | 
| 805 902 | 
             
                #   })
         | 
| @@ -824,7 +921,7 @@ module Aws::EKS | |
| 824 921 | 
             
                #   resp.nodegroup.remote_access.ec2_ssh_key #=> String
         | 
| 825 922 | 
             
                #   resp.nodegroup.remote_access.source_security_groups #=> Array
         | 
| 826 923 | 
             
                #   resp.nodegroup.remote_access.source_security_groups[0] #=> String
         | 
| 827 | 
            -
                #   resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU"
         | 
| 924 | 
            +
                #   resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64"
         | 
| 828 925 | 
             
                #   resp.nodegroup.node_role #=> String
         | 
| 829 926 | 
             
                #   resp.nodegroup.labels #=> Hash
         | 
| 830 927 | 
             
                #   resp.nodegroup.labels["labelKey"] #=> String
         | 
| @@ -837,6 +934,9 @@ module Aws::EKS | |
| 837 934 | 
             
                #   resp.nodegroup.health.issues[0].message #=> String
         | 
| 838 935 | 
             
                #   resp.nodegroup.health.issues[0].resource_ids #=> Array
         | 
| 839 936 | 
             
                #   resp.nodegroup.health.issues[0].resource_ids[0] #=> String
         | 
| 937 | 
            +
                #   resp.nodegroup.launch_template.name #=> String
         | 
| 938 | 
            +
                #   resp.nodegroup.launch_template.version #=> String
         | 
| 939 | 
            +
                #   resp.nodegroup.launch_template.id #=> String
         | 
| 840 940 | 
             
                #   resp.nodegroup.tags #=> Hash
         | 
| 841 941 | 
             
                #   resp.nodegroup.tags["TagKey"] #=> String
         | 
| 842 942 | 
             
                #
         | 
| @@ -910,6 +1010,7 @@ module Aws::EKS | |
| 910 1010 | 
             
                #   resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
         | 
| 911 1011 | 
             
                #   resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
         | 
| 912 1012 | 
             
                #   resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
         | 
| 1013 | 
            +
                #   resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
         | 
| 913 1014 | 
             
                #   resp.cluster.logging.cluster_logging #=> Array
         | 
| 914 1015 | 
             
                #   resp.cluster.logging.cluster_logging[0].types #=> Array
         | 
| 915 1016 | 
             
                #   resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
         | 
| @@ -1031,7 +1132,7 @@ module Aws::EKS | |
| 1031 1132 | 
             
                #   resp.nodegroup.remote_access.ec2_ssh_key #=> String
         | 
| 1032 1133 | 
             
                #   resp.nodegroup.remote_access.source_security_groups #=> Array
         | 
| 1033 1134 | 
             
                #   resp.nodegroup.remote_access.source_security_groups[0] #=> String
         | 
| 1034 | 
            -
                #   resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU"
         | 
| 1135 | 
            +
                #   resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64"
         | 
| 1035 1136 | 
             
                #   resp.nodegroup.node_role #=> String
         | 
| 1036 1137 | 
             
                #   resp.nodegroup.labels #=> Hash
         | 
| 1037 1138 | 
             
                #   resp.nodegroup.labels["labelKey"] #=> String
         | 
| @@ -1044,6 +1145,9 @@ module Aws::EKS | |
| 1044 1145 | 
             
                #   resp.nodegroup.health.issues[0].message #=> String
         | 
| 1045 1146 | 
             
                #   resp.nodegroup.health.issues[0].resource_ids #=> Array
         | 
| 1046 1147 | 
             
                #   resp.nodegroup.health.issues[0].resource_ids[0] #=> String
         | 
| 1148 | 
            +
                #   resp.nodegroup.launch_template.name #=> String
         | 
| 1149 | 
            +
                #   resp.nodegroup.launch_template.version #=> String
         | 
| 1150 | 
            +
                #   resp.nodegroup.launch_template.id #=> String
         | 
| 1047 1151 | 
             
                #   resp.nodegroup.tags #=> Hash
         | 
| 1048 1152 | 
             
                #   resp.nodegroup.tags["TagKey"] #=> String
         | 
| 1049 1153 | 
             
                #
         | 
| @@ -1138,6 +1242,7 @@ module Aws::EKS | |
| 1138 1242 | 
             
                #   resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
         | 
| 1139 1243 | 
             
                #   resp.cluster.resources_vpc_config.public_access_cidrs #=> Array
         | 
| 1140 1244 | 
             
                #   resp.cluster.resources_vpc_config.public_access_cidrs[0] #=> String
         | 
| 1245 | 
            +
                #   resp.cluster.kubernetes_network_config.service_ipv_4_cidr #=> String
         | 
| 1141 1246 | 
             
                #   resp.cluster.logging.cluster_logging #=> Array
         | 
| 1142 1247 | 
             
                #   resp.cluster.logging.cluster_logging[0].types #=> Array
         | 
| 1143 1248 | 
             
                #   resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
         | 
| @@ -1254,7 +1359,7 @@ module Aws::EKS | |
| 1254 1359 | 
             
                #   resp.nodegroup.remote_access.ec2_ssh_key #=> String
         | 
| 1255 1360 | 
             
                #   resp.nodegroup.remote_access.source_security_groups #=> Array
         | 
| 1256 1361 | 
             
                #   resp.nodegroup.remote_access.source_security_groups[0] #=> String
         | 
| 1257 | 
            -
                #   resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU"
         | 
| 1362 | 
            +
                #   resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64"
         | 
| 1258 1363 | 
             
                #   resp.nodegroup.node_role #=> String
         | 
| 1259 1364 | 
             
                #   resp.nodegroup.labels #=> Hash
         | 
| 1260 1365 | 
             
                #   resp.nodegroup.labels["labelKey"] #=> String
         | 
| @@ -1267,6 +1372,9 @@ module Aws::EKS | |
| 1267 1372 | 
             
                #   resp.nodegroup.health.issues[0].message #=> String
         | 
| 1268 1373 | 
             
                #   resp.nodegroup.health.issues[0].resource_ids #=> Array
         | 
| 1269 1374 | 
             
                #   resp.nodegroup.health.issues[0].resource_ids[0] #=> String
         | 
| 1375 | 
            +
                #   resp.nodegroup.launch_template.name #=> String
         | 
| 1376 | 
            +
                #   resp.nodegroup.launch_template.version #=> String
         | 
| 1377 | 
            +
                #   resp.nodegroup.launch_template.id #=> String
         | 
| 1270 1378 | 
             
                #   resp.nodegroup.tags #=> Hash
         | 
| 1271 1379 | 
             
                #   resp.nodegroup.tags["TagKey"] #=> String
         | 
| 1272 1380 | 
             
                #
         | 
| @@ -1947,12 +2055,20 @@ module Aws::EKS | |
| 1947 2055 | 
             
                # Updates the Kubernetes version or AMI version of an Amazon EKS managed
         | 
| 1948 2056 | 
             
                # node group.
         | 
| 1949 2057 | 
             
                #
         | 
| 1950 | 
            -
                # You can update  | 
| 1951 | 
            -
                #  | 
| 1952 | 
            -
                #  | 
| 1953 | 
            -
                #  | 
| 1954 | 
            -
                #  | 
| 1955 | 
            -
                #  | 
| 2058 | 
            +
                # You can update a node group using a launch template only if the node
         | 
| 2059 | 
            +
                # group was originally deployed with a launch template. If you need to
         | 
| 2060 | 
            +
                # update a custom AMI in a node group that was deployed with a launch
         | 
| 2061 | 
            +
                # template, then update your custom AMI, specify the new ID in a new
         | 
| 2062 | 
            +
                # version of the launch template, and then update the node group to the
         | 
| 2063 | 
            +
                # new version of the launch template.
         | 
| 2064 | 
            +
                #
         | 
| 2065 | 
            +
                # If you update without a launch template, then you can update to the
         | 
| 2066 | 
            +
                # latest available AMI version of a node group's current Kubernetes
         | 
| 2067 | 
            +
                # version by not specifying a Kubernetes version in the request. You can
         | 
| 2068 | 
            +
                # update to the latest AMI version of your cluster's current Kubernetes
         | 
| 2069 | 
            +
                # version by specifying your cluster's Kubernetes version in the
         | 
| 2070 | 
            +
                # request. For more information, see [Amazon EKS-Optimized Linux AMI
         | 
| 2071 | 
            +
                # Versions][1] in the *Amazon EKS User Guide*.
         | 
| 1956 2072 | 
             
                #
         | 
| 1957 2073 | 
             
                # You cannot roll back a node group to an earlier Kubernetes version or
         | 
| 1958 2074 | 
             
                # AMI version.
         | 
| @@ -1978,17 +2094,36 @@ module Aws::EKS | |
| 1978 2094 | 
             
                #   The Kubernetes version to update to. If no version is specified, then
         | 
| 1979 2095 | 
             
                #   the Kubernetes version of the node group does not change. You can
         | 
| 1980 2096 | 
             
                #   specify the Kubernetes version of the cluster to update the node group
         | 
| 1981 | 
            -
                #   to the latest AMI version of the cluster's Kubernetes version.
         | 
| 2097 | 
            +
                #   to the latest AMI version of the cluster's Kubernetes version. If you
         | 
| 2098 | 
            +
                #   specify `launchTemplate`, and your launch template uses a custom AMI,
         | 
| 2099 | 
            +
                #   then don't specify `version`, or the node group update will fail. For
         | 
| 2100 | 
            +
                #   more information about using launch templates with Amazon EKS, see
         | 
| 2101 | 
            +
                #   [Launch template support][1] in the Amazon EKS User Guide.
         | 
| 2102 | 
            +
                #
         | 
| 2103 | 
            +
                #
         | 
| 2104 | 
            +
                #
         | 
| 2105 | 
            +
                #   [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 1982 2106 | 
             
                #
         | 
| 1983 2107 | 
             
                # @option params [String] :release_version
         | 
| 1984 2108 | 
             
                #   The AMI version of the Amazon EKS-optimized AMI to use for the update.
         | 
| 1985 2109 | 
             
                #   By default, the latest available AMI version for the node group's
         | 
| 1986 2110 | 
             
                #   Kubernetes version is used. For more information, see [Amazon
         | 
| 1987 2111 | 
             
                #   EKS-Optimized Linux AMI Versions ][1] in the *Amazon EKS User Guide*.
         | 
| 2112 | 
            +
                #   If you specify `launchTemplate`, and your launch template uses a
         | 
| 2113 | 
            +
                #   custom AMI, then don't specify `releaseVersion`, or the node group
         | 
| 2114 | 
            +
                #   update will fail. For more information about using launch templates
         | 
| 2115 | 
            +
                #   with Amazon EKS, see [Launch template support][2] in the Amazon EKS
         | 
| 2116 | 
            +
                #   User Guide.
         | 
| 1988 2117 | 
             
                #
         | 
| 1989 2118 | 
             
                #
         | 
| 1990 2119 | 
             
                #
         | 
| 1991 2120 | 
             
                #   [1]: https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
         | 
| 2121 | 
            +
                #   [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
         | 
| 2122 | 
            +
                #
         | 
| 2123 | 
            +
                # @option params [Types::LaunchTemplateSpecification] :launch_template
         | 
| 2124 | 
            +
                #   An object representing a node group's launch template specification.
         | 
| 2125 | 
            +
                #   You can only update a node group using a launch template if the node
         | 
| 2126 | 
            +
                #   group was originally deployed with a launch template.
         | 
| 1992 2127 | 
             
                #
         | 
| 1993 2128 | 
             
                # @option params [Boolean] :force
         | 
| 1994 2129 | 
             
                #   Force the update if the existing node group's pods are unable to be
         | 
| @@ -2015,6 +2150,11 @@ module Aws::EKS | |
| 2015 2150 | 
             
                #     nodegroup_name: "String", # required
         | 
| 2016 2151 | 
             
                #     version: "String",
         | 
| 2017 2152 | 
             
                #     release_version: "String",
         | 
| 2153 | 
            +
                #     launch_template: {
         | 
| 2154 | 
            +
                #       name: "String",
         | 
| 2155 | 
            +
                #       version: "String",
         | 
| 2156 | 
            +
                #       id: "String",
         | 
| 2157 | 
            +
                #     },
         | 
| 2018 2158 | 
             
                #     force: false,
         | 
| 2019 2159 | 
             
                #     client_request_token: "String",
         | 
| 2020 2160 | 
             
                #   })
         | 
| @@ -2056,7 +2196,7 @@ module Aws::EKS | |
| 2056 2196 | 
             
                    params: params,
         | 
| 2057 2197 | 
             
                    config: config)
         | 
| 2058 2198 | 
             
                  context[:gem_name] = 'aws-sdk-eks'
         | 
| 2059 | 
            -
                  context[:gem_version] = '1. | 
| 2199 | 
            +
                  context[:gem_version] = '1.43.0'
         | 
| 2060 2200 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 2061 2201 | 
             
                end
         | 
| 2062 2202 |  |