aws-sdk-eks 1.93.0 → 1.95.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f23e607855b80603163e71c95c32ec1013f37511426d590d63ba89640e563177
4
- data.tar.gz: 642bbb67584a260b7715ff484412eacb1a1f6b3ea385e12d137752cee0cbba6e
3
+ metadata.gz: '0519cab8f2198e376da1b95cf54f0d811079c1b3c8f9dcb75960736efb152192'
4
+ data.tar.gz: 70cda89c987763bbd8625b3c3b2e9bf9656192edd39ec57cc01b348a8890d7e3
5
5
  SHA512:
6
- metadata.gz: 59a1210dded8bbf8dbb4c45018b8f4746ac38ca8dc105234e141776b8a78c57d9f7fab0d40108a11d4c83f616ef500eeb8635c880d460aa09027055392a6d990
7
- data.tar.gz: 50c743f46d7c1f21ef0f1e965bc966c898fce83a4b4da2c68dda15e396f59ef810261a3409ce500f0481198e5027d904fbd24dfcb854e28ddd9dfa1db90bfa5e
6
+ metadata.gz: 3beaf0555243a80e5461fdb7ddf2e93a63d5164f034236fd784c4f153031a74650e483afb134e24726edf98462f90a5a4a0358a3c35fbbacf0fd7f88e8143964
7
+ data.tar.gz: 3ef57d5647a82e2bd9fdbeaacf65264f40847defe48dc6aa4a3514d6108e70861429a9e1021f337443c47345b25d00ad87f9530a5b2ee4ba659dfe5d8a5e1361
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.95.0 (2023-11-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.94.0 (2023-11-27)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for EKS Pod Identity feature. EKS Pod Identity makes it easy for customers to obtain IAM permissions for the applications running in their EKS clusters.
13
+
4
14
  1.93.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.93.0
1
+ 1.95.0
@@ -709,17 +709,39 @@ module Aws::EKS
709
709
  # to your cluster's control plane over the Kubernetes API server
710
710
  # endpoint and a certificate file that is created for your cluster.
711
711
  #
712
+ # You can use the `endpointPublicAccess` and `endpointPrivateAccess`
713
+ # parameters to enable or disable public and private access to your
714
+ # cluster's Kubernetes API server endpoint. By default, public access
715
+ # is enabled, and private access is disabled. For more information, see
716
+ # [Amazon EKS Cluster Endpoint Access Control][1] in the <i> <i>Amazon
717
+ # EKS User Guide</i> </i>.
718
+ #
719
+ # You can use the `logging` parameter to enable or disable exporting the
720
+ # Kubernetes control plane logs for your cluster to CloudWatch Logs. By
721
+ # default, cluster control plane logs aren't exported to CloudWatch
722
+ # Logs. For more information, see [Amazon EKS Cluster Control Plane
723
+ # Logs][2] in the <i> <i>Amazon EKS User Guide</i> </i>.
724
+ #
725
+ # <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
726
+ # apply to exported control plane logs. For more information, see
727
+ # [CloudWatch Pricing][3].
728
+ #
729
+ # </note>
730
+ #
712
731
  # In most cases, it takes several minutes to create a cluster. After you
713
732
  # create an Amazon EKS cluster, you must configure your Kubernetes
714
733
  # tooling to communicate with the API server and launch nodes into your
715
734
  # cluster. For more information, see [Managing Cluster
716
- # Authentication][1] and [Launching Amazon EKS nodes][2] in the *Amazon
735
+ # Authentication][4] and [Launching Amazon EKS nodes][5] in the *Amazon
717
736
  # EKS User Guide*.
718
737
  #
719
738
  #
720
739
  #
721
- # [1]: https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html
722
- # [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html
740
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
741
+ # [2]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
742
+ # [3]: http://aws.amazon.com/cloudwatch/pricing/
743
+ # [4]: https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html
744
+ # [5]: https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html
723
745
  #
724
746
  # @option params [required, String] :name
725
747
  # The unique name to give to your cluster.
@@ -963,8 +985,8 @@ module Aws::EKS
963
985
  #
964
986
  # @option params [Integer] :license_quantity
965
987
  # The number of licenses to purchase with the subscription. Valid values
966
- # are between 1 and 1000. This value cannot be changed after creating
967
- # the subscription.
988
+ # are between 1 and 100. This value can't be changed after creating the
989
+ # subscription.
968
990
  #
969
991
  # @option params [String] :license_type
970
992
  # The license type for all licenses in the subscription. Valid value is
@@ -985,7 +1007,7 @@ module Aws::EKS
985
1007
  # @option params [Hash<String,String>] :tags
986
1008
  # The metadata for a subscription to assist with categorization and
987
1009
  # organization. Each tag consists of a key and an optional value.
988
- # Subscription tags do not propagate to any other resources associated
1010
+ # Subscription tags don't propagate to any other resources associated
989
1011
  # with the subscription.
990
1012
  #
991
1013
  # @return [Types::CreateEksAnywhereSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1469,6 +1491,120 @@ module Aws::EKS
1469
1491
  req.send_request(options)
1470
1492
  end
1471
1493
 
1494
+ # Creates an EKS Pod Identity association between a service account in
1495
+ # an Amazon EKS cluster and an IAM role with *EKS Pod Identity*. Use EKS
1496
+ # Pod Identity to give temporary IAM credentials to pods and the
1497
+ # credentials are rotated automatically.
1498
+ #
1499
+ # Amazon EKS Pod Identity associations provide the ability to manage
1500
+ # credentials for your applications, similar to the way that 7EC2l
1501
+ # instance profiles provide credentials to Amazon EC2 instances.
1502
+ #
1503
+ # If a pod uses a service account that has an association, Amazon EKS
1504
+ # sets environment variables in the containers of the pod. The
1505
+ # environment variables configure the Amazon Web Services SDKs,
1506
+ # including the Command Line Interface, to use the EKS Pod Identity
1507
+ # credentials.
1508
+ #
1509
+ # Pod Identity is a simpler method than *IAM roles for service
1510
+ # accounts*, as this method doesn't use OIDC identity providers.
1511
+ # Additionally, you can configure a role for Pod Identity once, and
1512
+ # reuse it across clusters.
1513
+ #
1514
+ # @option params [required, String] :cluster_name
1515
+ # The name of the cluster to create the association in.
1516
+ #
1517
+ # @option params [required, String] :namespace
1518
+ # The name of the Kubernetes namespace inside the cluster to create the
1519
+ # association in. The service account and the pods that use the service
1520
+ # account must be in this namespace.
1521
+ #
1522
+ # @option params [required, String] :service_account
1523
+ # The name of the Kubernetes service account inside the cluster to
1524
+ # associate the IAM credentials with.
1525
+ #
1526
+ # @option params [required, String] :role_arn
1527
+ # The Amazon Resource Name (ARN) of the IAM role to associate with the
1528
+ # service account. The EKS Pod Identity agent manages credentials to
1529
+ # assume this role for applications in the containers in the pods that
1530
+ # use this service account.
1531
+ #
1532
+ # @option params [String] :client_request_token
1533
+ # Unique, case-sensitive identifier that you provide to ensure the
1534
+ # idempotency of the request.
1535
+ #
1536
+ # **A suitable default value is auto-generated.** You should normally
1537
+ # not need to pass this option.**
1538
+ #
1539
+ # @option params [Hash<String,String>] :tags
1540
+ # The metadata that you apply to a resource to assist with
1541
+ # categorization and organization. Each tag consists of a key and an
1542
+ # optional value. You define both.
1543
+ #
1544
+ # The following basic restrictions apply to tags:
1545
+ #
1546
+ # * Maximum number of tags per resource – 50
1547
+ #
1548
+ # * For each resource, each tag key must be unique, and each tag key can
1549
+ # have only one value.
1550
+ #
1551
+ # * Maximum key length – 128 Unicode characters in UTF-8
1552
+ #
1553
+ # * Maximum value length – 256 Unicode characters in UTF-8
1554
+ #
1555
+ # * If your tagging schema is used across multiple services and
1556
+ # resources, remember that other services may have restrictions on
1557
+ # allowed characters. Generally allowed characters are: letters,
1558
+ # numbers, and spaces representable in UTF-8, and the following
1559
+ # characters: + - = . \_ : / @.
1560
+ #
1561
+ # * Tag keys and values are case-sensitive.
1562
+ #
1563
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
1564
+ # such as a prefix for either keys or values as it is reserved for
1565
+ # Amazon Web Services use. You cannot edit or delete tag keys or
1566
+ # values with this prefix. Tags with this prefix do not count against
1567
+ # your tags per resource limit.
1568
+ #
1569
+ # @return [Types::CreatePodIdentityAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1570
+ #
1571
+ # * {Types::CreatePodIdentityAssociationResponse#association #association} => Types::PodIdentityAssociation
1572
+ #
1573
+ # @example Request syntax with placeholder values
1574
+ #
1575
+ # resp = client.create_pod_identity_association({
1576
+ # cluster_name: "String", # required
1577
+ # namespace: "String", # required
1578
+ # service_account: "String", # required
1579
+ # role_arn: "String", # required
1580
+ # client_request_token: "String",
1581
+ # tags: {
1582
+ # "TagKey" => "TagValue",
1583
+ # },
1584
+ # })
1585
+ #
1586
+ # @example Response structure
1587
+ #
1588
+ # resp.association.cluster_name #=> String
1589
+ # resp.association.namespace #=> String
1590
+ # resp.association.service_account #=> String
1591
+ # resp.association.role_arn #=> String
1592
+ # resp.association.association_arn #=> String
1593
+ # resp.association.association_id #=> String
1594
+ # resp.association.tags #=> Hash
1595
+ # resp.association.tags["TagKey"] #=> String
1596
+ # resp.association.created_at #=> Time
1597
+ # resp.association.modified_at #=> Time
1598
+ #
1599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreatePodIdentityAssociation AWS API Documentation
1600
+ #
1601
+ # @overload create_pod_identity_association(params = {})
1602
+ # @param [Hash] params ({})
1603
+ def create_pod_identity_association(params = {}, options = {})
1604
+ req = build_request(:create_pod_identity_association, params)
1605
+ req.send_request(options)
1606
+ end
1607
+
1472
1608
  # Delete an Amazon EKS add-on.
1473
1609
  #
1474
1610
  # When you remove the add-on, it will also be deleted from the cluster.
@@ -1639,10 +1775,10 @@ module Aws::EKS
1639
1775
  req.send_request(options)
1640
1776
  end
1641
1777
 
1642
- # Deletes an expired / inactive subscription. Deleting inactive
1778
+ # Deletes an expired or inactive subscription. Deleting inactive
1643
1779
  # subscriptions removes them from the Amazon Web Services Management
1644
1780
  # Console view and from list/describe API responses. Subscriptions can
1645
- # only be cancelled within 7 days of creation, and are cancelled by
1781
+ # only be cancelled within 7 days of creation and are cancelled by
1646
1782
  # creating a ticket in the Amazon Web Services Support Center.
1647
1783
  #
1648
1784
  # @option params [required, String] :id
@@ -1816,6 +1952,52 @@ module Aws::EKS
1816
1952
  req.send_request(options)
1817
1953
  end
1818
1954
 
1955
+ # Deletes a EKS Pod Identity association.
1956
+ #
1957
+ # The temporary Amazon Web Services credentials from the previous IAM
1958
+ # role session might still be valid until the session expiry. If you
1959
+ # need to immediately revoke the temporary session credentials, then go
1960
+ # to the role in the IAM console.
1961
+ #
1962
+ # @option params [required, String] :cluster_name
1963
+ # The cluster name that
1964
+ #
1965
+ # @option params [required, String] :association_id
1966
+ # The ID of the association to be deleted.
1967
+ #
1968
+ # @return [Types::DeletePodIdentityAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1969
+ #
1970
+ # * {Types::DeletePodIdentityAssociationResponse#association #association} => Types::PodIdentityAssociation
1971
+ #
1972
+ # @example Request syntax with placeholder values
1973
+ #
1974
+ # resp = client.delete_pod_identity_association({
1975
+ # cluster_name: "String", # required
1976
+ # association_id: "String", # required
1977
+ # })
1978
+ #
1979
+ # @example Response structure
1980
+ #
1981
+ # resp.association.cluster_name #=> String
1982
+ # resp.association.namespace #=> String
1983
+ # resp.association.service_account #=> String
1984
+ # resp.association.role_arn #=> String
1985
+ # resp.association.association_arn #=> String
1986
+ # resp.association.association_id #=> String
1987
+ # resp.association.tags #=> Hash
1988
+ # resp.association.tags["TagKey"] #=> String
1989
+ # resp.association.created_at #=> Time
1990
+ # resp.association.modified_at #=> Time
1991
+ #
1992
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeletePodIdentityAssociation AWS API Documentation
1993
+ #
1994
+ # @overload delete_pod_identity_association(params = {})
1995
+ # @param [Hash] params ({})
1996
+ def delete_pod_identity_association(params = {}, options = {})
1997
+ req = build_request(:delete_pod_identity_association, params)
1998
+ req.send_request(options)
1999
+ end
2000
+
1819
2001
  # Deregisters a connected cluster to remove it from the Amazon EKS
1820
2002
  # control plane.
1821
2003
  #
@@ -2448,6 +2630,53 @@ module Aws::EKS
2448
2630
  req.send_request(options)
2449
2631
  end
2450
2632
 
2633
+ # Returns descriptive information about an EKS Pod Identity association.
2634
+ #
2635
+ # This action requires the ID of the association. You can get the ID
2636
+ # from the response to the `CreatePodIdentityAssocation` for newly
2637
+ # created associations. Or, you can list the IDs for associations with
2638
+ # `ListPodIdentityAssociations` and filter the list by namespace or
2639
+ # service account.
2640
+ #
2641
+ # @option params [required, String] :cluster_name
2642
+ # The name of the cluster that the association is in.
2643
+ #
2644
+ # @option params [required, String] :association_id
2645
+ # The ID of the association that you want the description of.
2646
+ #
2647
+ # @return [Types::DescribePodIdentityAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2648
+ #
2649
+ # * {Types::DescribePodIdentityAssociationResponse#association #association} => Types::PodIdentityAssociation
2650
+ #
2651
+ # @example Request syntax with placeholder values
2652
+ #
2653
+ # resp = client.describe_pod_identity_association({
2654
+ # cluster_name: "String", # required
2655
+ # association_id: "String", # required
2656
+ # })
2657
+ #
2658
+ # @example Response structure
2659
+ #
2660
+ # resp.association.cluster_name #=> String
2661
+ # resp.association.namespace #=> String
2662
+ # resp.association.service_account #=> String
2663
+ # resp.association.role_arn #=> String
2664
+ # resp.association.association_arn #=> String
2665
+ # resp.association.association_id #=> String
2666
+ # resp.association.tags #=> Hash
2667
+ # resp.association.tags["TagKey"] #=> String
2668
+ # resp.association.created_at #=> Time
2669
+ # resp.association.modified_at #=> Time
2670
+ #
2671
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribePodIdentityAssociation AWS API Documentation
2672
+ #
2673
+ # @overload describe_pod_identity_association(params = {})
2674
+ # @param [Hash] params ({})
2675
+ def describe_pod_identity_association(params = {}, options = {})
2676
+ req = build_request(:describe_pod_identity_association, params)
2677
+ req.send_request(options)
2678
+ end
2679
+
2451
2680
  # Returns descriptive information about an update against your Amazon
2452
2681
  # EKS cluster or associated managed node group or Amazon EKS add-on.
2453
2682
  #
@@ -2720,11 +2949,11 @@ module Aws::EKS
2720
2949
  # results and a nextToken value if applicable.
2721
2950
  #
2722
2951
  # @option params [String] :next_token
2723
- # The nextToken value to include in a future
2724
- # ListEksAnywhereSubscriptions request. When the results of a
2725
- # ListEksAnywhereSubscriptions request exceed maxResults, you can use
2726
- # this value to retrieve the next page of results. This value is null
2727
- # when there are no more results to return.
2952
+ # The `nextToken` value returned from a previous paginated
2953
+ # `ListEksAnywhereSubscriptions` request where `maxResults` was used and
2954
+ # the results exceeded the value of that parameter. Pagination continues
2955
+ # from the end of the previous results that returned the `nextToken`
2956
+ # value.
2728
2957
  #
2729
2958
  # @option params [Array<String>] :include_status
2730
2959
  # An array of subscription statuses to filter on.
@@ -2734,6 +2963,8 @@ module Aws::EKS
2734
2963
  # * {Types::ListEksAnywhereSubscriptionsResponse#subscriptions #subscriptions} => Array&lt;Types::EksAnywhereSubscription&gt;
2735
2964
  # * {Types::ListEksAnywhereSubscriptionsResponse#next_token #next_token} => String
2736
2965
  #
2966
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2967
+ #
2737
2968
  # @example Request syntax with placeholder values
2738
2969
  #
2739
2970
  # resp = client.list_eks_anywhere_subscriptions({
@@ -2935,6 +3166,79 @@ module Aws::EKS
2935
3166
  req.send_request(options)
2936
3167
  end
2937
3168
 
3169
+ # List the EKS Pod Identity associations in a cluster. You can filter
3170
+ # the list by the namespace that the association is in or the service
3171
+ # account that the association uses.
3172
+ #
3173
+ # @option params [required, String] :cluster_name
3174
+ # The name of the cluster that the associations are in.
3175
+ #
3176
+ # @option params [String] :namespace
3177
+ # The name of the Kubernetes namespace inside the cluster that the
3178
+ # associations are in.
3179
+ #
3180
+ # @option params [String] :service_account
3181
+ # The name of the Kubernetes service account that the associations use.
3182
+ #
3183
+ # @option params [Integer] :max_results
3184
+ # The maximum number of EKS Pod Identity association results returned by
3185
+ # `ListPodIdentityAssociations` in paginated output. When you use this
3186
+ # parameter, `ListPodIdentityAssociations` returns only `maxResults`
3187
+ # results in a single page along with a `nextToken` response element.
3188
+ # You can see the remaining results of the initial request by sending
3189
+ # another `ListPodIdentityAssociations` request with the returned
3190
+ # `nextToken` value. This value can be between 1 and 100. If you don't
3191
+ # use this parameter, `ListPodIdentityAssociations` returns up to 100
3192
+ # results and a `nextToken` value if applicable.
3193
+ #
3194
+ # @option params [String] :next_token
3195
+ # The `nextToken` value returned from a previous paginated `ListUpdates`
3196
+ # request where `maxResults` was used and the results exceeded the value
3197
+ # of that parameter. Pagination continues from the end of the previous
3198
+ # results that returned the `nextToken` value.
3199
+ #
3200
+ # <note markdown="1"> This token should be treated as an opaque identifier that is used only
3201
+ # to retrieve the next items in a list and not for other programmatic
3202
+ # purposes.
3203
+ #
3204
+ # </note>
3205
+ #
3206
+ # @return [Types::ListPodIdentityAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3207
+ #
3208
+ # * {Types::ListPodIdentityAssociationsResponse#associations #associations} => Array&lt;Types::PodIdentityAssociationSummary&gt;
3209
+ # * {Types::ListPodIdentityAssociationsResponse#next_token #next_token} => String
3210
+ #
3211
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3212
+ #
3213
+ # @example Request syntax with placeholder values
3214
+ #
3215
+ # resp = client.list_pod_identity_associations({
3216
+ # cluster_name: "String", # required
3217
+ # namespace: "String",
3218
+ # service_account: "String",
3219
+ # max_results: 1,
3220
+ # next_token: "String",
3221
+ # })
3222
+ #
3223
+ # @example Response structure
3224
+ #
3225
+ # resp.associations #=> Array
3226
+ # resp.associations[0].cluster_name #=> String
3227
+ # resp.associations[0].namespace #=> String
3228
+ # resp.associations[0].service_account #=> String
3229
+ # resp.associations[0].association_arn #=> String
3230
+ # resp.associations[0].association_id #=> String
3231
+ # resp.next_token #=> String
3232
+ #
3233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListPodIdentityAssociations AWS API Documentation
3234
+ #
3235
+ # @overload list_pod_identity_associations(params = {})
3236
+ # @param [Hash] params ({})
3237
+ def list_pod_identity_associations(params = {}, options = {})
3238
+ req = build_request(:list_pod_identity_associations, params)
3239
+ req.send_request(options)
3240
+ end
3241
+
2938
3242
  # List the tags for an Amazon EKS resource.
2939
3243
  #
2940
3244
  # @option params [required, String] :resource_arn
@@ -3364,8 +3668,14 @@ module Aws::EKS
3364
3668
  # more information, see [Amazon EKS cluster endpoint access control][3]
3365
3669
  # in the <i> <i>Amazon EKS User Guide</i> </i>.
3366
3670
  #
3367
- # You can't update the subnets or security group IDs for an existing
3368
- # cluster.
3671
+ # You can also use this API operation to choose different subnets and
3672
+ # security groups for the cluster. You must specify at least two subnets
3673
+ # that are in different Availability Zones. You can't change which VPC
3674
+ # the subnets are from, the subnets must be in the same VPC as the
3675
+ # subnets that the cluster was created with. For more information about
3676
+ # the VPC requirements, see
3677
+ # [https://docs.aws.amazon.com/eks/latest/userguide/network\_reqs.html][4]
3678
+ # in the <i> <i>Amazon EKS User Guide</i> </i>.
3369
3679
  #
3370
3680
  # Cluster updates are asynchronous, and they should finish within a few
3371
3681
  # minutes. During an update, the cluster status moves to `UPDATING`
@@ -3378,6 +3688,7 @@ module Aws::EKS
3378
3688
  # [1]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
3379
3689
  # [2]: http://aws.amazon.com/cloudwatch/pricing/
3380
3690
  # [3]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
3691
+ # [4]: https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html
3381
3692
  #
3382
3693
  # @option params [required, String] :name
3383
3694
  # The name of the Amazon EKS cluster to update.
@@ -3529,6 +3840,7 @@ module Aws::EKS
3529
3840
  # updated after subscription creation.
3530
3841
  #
3531
3842
  # @option params [required, String] :id
3843
+ # The ID of the subscription.
3532
3844
  #
3533
3845
  # @option params [required, Boolean] :auto_renew
3534
3846
  # A boolean indicating whether or not to automatically renew the
@@ -3828,6 +4140,63 @@ module Aws::EKS
3828
4140
  req.send_request(options)
3829
4141
  end
3830
4142
 
4143
+ # Updates a EKS Pod Identity association. Only the IAM role can be
4144
+ # changed; an association can't be moved between clusters, namespaces,
4145
+ # or service accounts. If you need to edit the namespace or service
4146
+ # account, you need to remove the association and then create a new
4147
+ # association with your desired settings.
4148
+ #
4149
+ # @option params [required, String] :cluster_name
4150
+ # The name of the cluster that you want to update the association in.
4151
+ #
4152
+ # @option params [required, String] :association_id
4153
+ # The ID of the association to be updated.
4154
+ #
4155
+ # @option params [String] :role_arn
4156
+ # The new IAM role to change the
4157
+ #
4158
+ # @option params [String] :client_request_token
4159
+ # Unique, case-sensitive identifier that you provide to ensure the
4160
+ # idempotency of the request.
4161
+ #
4162
+ # **A suitable default value is auto-generated.** You should normally
4163
+ # not need to pass this option.**
4164
+ #
4165
+ # @return [Types::UpdatePodIdentityAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4166
+ #
4167
+ # * {Types::UpdatePodIdentityAssociationResponse#association #association} => Types::PodIdentityAssociation
4168
+ #
4169
+ # @example Request syntax with placeholder values
4170
+ #
4171
+ # resp = client.update_pod_identity_association({
4172
+ # cluster_name: "String", # required
4173
+ # association_id: "String", # required
4174
+ # role_arn: "String",
4175
+ # client_request_token: "String",
4176
+ # })
4177
+ #
4178
+ # @example Response structure
4179
+ #
4180
+ # resp.association.cluster_name #=> String
4181
+ # resp.association.namespace #=> String
4182
+ # resp.association.service_account #=> String
4183
+ # resp.association.role_arn #=> String
4184
+ # resp.association.association_arn #=> String
4185
+ # resp.association.association_id #=> String
4186
+ # resp.association.tags #=> Hash
4187
+ # resp.association.tags["TagKey"] #=> String
4188
+ # resp.association.created_at #=> Time
4189
+ # resp.association.modified_at #=> Time
4190
+ #
4191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdatePodIdentityAssociation AWS API Documentation
4192
+ #
4193
+ # @overload update_pod_identity_association(params = {})
4194
+ # @param [Hash] params ({})
4195
+ def update_pod_identity_association(params = {}, options = {})
4196
+ req = build_request(:update_pod_identity_association, params)
4197
+ req.send_request(options)
4198
+ end
4199
+
3831
4200
  # @!endgroup
3832
4201
 
3833
4202
  # @param params ({})
@@ -3841,7 +4210,7 @@ module Aws::EKS
3841
4210
  params: params,
3842
4211
  config: config)
3843
4212
  context[:gem_name] = 'aws-sdk-eks'
3844
- context[:gem_version] = '1.93.0'
4213
+ context[:gem_version] = '1.95.0'
3845
4214
  Seahorse::Client::Request.new(handlers, context)
3846
4215
  end
3847
4216