aws-sdk-eks 1.91.0 → 1.92.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: c65c82d4005cf9cfcd467818c4fa7ac0e448cd4e5f4bdca31f57a8e5ab7bbacb
4
- data.tar.gz: 28a1db110c190733c868e9937ea269fa8f508bdb307197e3943be1a841b2f4ea
3
+ metadata.gz: b00acfdfd6cd4796c401729931e9f25727e710d32224169e314864e7b1fb8067
4
+ data.tar.gz: '0593bcaa245fb859f497c17e2a1e890ed9e1f8460da59042a1028397cbaaacdd'
5
5
  SHA512:
6
- metadata.gz: 15bd230454320ee2a9c365cb12842bb8b2db7ed4c469e0d6159e65cfeb8535a4dac5bea2b6d0217cf564cc7dacf0780862122432e62b6479f76144b9110dacfe
7
- data.tar.gz: 1345b5763e612194e26445d89d4d92e29700a32309b732582895308af9ac721c5f866ade026303aa1ff8f62a9afe71fd51c91d2b84e754a636bb54bb523cfb15
6
+ metadata.gz: 546d39fb5ca7b8c0b44a933a90e68d4233d3bf820af6c3a6acd27d197f97a2af76d0220e751328420dde6bbf809dfe5e79453835496ae17a24f86b2b1f417cea
7
+ data.tar.gz: fbd73fe425a06698938e9001b0d33fa0f1e0c6646a996bfaf159ea8ae97f7202539d85aea272c1f031ed866bb615bde287dcfa64fdd4a7404795cbe7541b1abb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.92.0 (2023-11-09)
5
+ ------------------
6
+
7
+ * Feature - Adding EKS Anywhere subscription related operations.
8
+
4
9
  1.91.0 (2023-10-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.91.0
1
+ 1.92.0
@@ -601,8 +601,12 @@ module Aws::EKS
601
601
  # different than the existing value, Amazon EKS changes the value to
602
602
  # the Amazon EKS default value.
603
603
  #
604
- # * **Preserve** – Not supported. You can set this value when updating
605
- # an add-on though. For more information, see [UpdateAddon][1].
604
+ # * **Preserve** – This is similar to the NONE option. If the
605
+ # self-managed version of the add-on is installed on your cluster
606
+ # Amazon EKS doesn't change the add-on resource properties. Creation
607
+ # of the add-on might fail if conflicts are detected. This option
608
+ # works differently during the update operation. For more information,
609
+ # see [UpdateAddon][1].
606
610
  #
607
611
  # If you don't currently have the self-managed version of the add-on
608
612
  # installed on your cluster, the Amazon EKS add-on is installed. Amazon
@@ -937,6 +941,101 @@ module Aws::EKS
937
941
  req.send_request(options)
938
942
  end
939
943
 
944
+ # Creates an EKS Anywhere subscription. When a subscription is created,
945
+ # it is a contract agreement for the length of the term specified in the
946
+ # request. Licenses that are used to validate support are provisioned in
947
+ # Amazon Web Services License Manager and the caller account is granted
948
+ # access to EKS Anywhere Curated Packages.
949
+ #
950
+ # @option params [required, String] :name
951
+ # The unique name for your subscription. It must be unique in your
952
+ # Amazon Web Services account in the Amazon Web Services Region you're
953
+ # creating the subscription in. The name can contain only alphanumeric
954
+ # characters (case-sensitive), hyphens, and underscores. It must start
955
+ # with an alphabetic character and can't be longer than 100 characters.
956
+ #
957
+ # @option params [required, Types::EksAnywhereSubscriptionTerm] :term
958
+ # An object representing the term duration and term unit type of your
959
+ # subscription. This determines the term length of your subscription.
960
+ # Valid values are MONTHS for term unit and 12 or 36 for term duration,
961
+ # indicating a 12 month or 36 month subscription. This value cannot be
962
+ # changed after creating the subscription.
963
+ #
964
+ # @option params [Integer] :license_quantity
965
+ # 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.
968
+ #
969
+ # @option params [String] :license_type
970
+ # The license type for all licenses in the subscription. Valid value is
971
+ # CLUSTER. With the CLUSTER license type, each license covers support
972
+ # for a single EKS Anywhere cluster.
973
+ #
974
+ # @option params [Boolean] :auto_renew
975
+ # A boolean indicating whether the subscription auto renews at the end
976
+ # of the term.
977
+ #
978
+ # @option params [String] :client_request_token
979
+ # Unique, case-sensitive identifier that you provide to ensure the
980
+ # idempotency of the request.
981
+ #
982
+ # **A suitable default value is auto-generated.** You should normally
983
+ # not need to pass this option.**
984
+ #
985
+ # @option params [Hash<String,String>] :tags
986
+ # The metadata for a subscription to assist with categorization and
987
+ # organization. Each tag consists of a key and an optional value.
988
+ # Subscription tags do not propagate to any other resources associated
989
+ # with the subscription.
990
+ #
991
+ # @return [Types::CreateEksAnywhereSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
992
+ #
993
+ # * {Types::CreateEksAnywhereSubscriptionResponse#subscription #subscription} => Types::EksAnywhereSubscription
994
+ #
995
+ # @example Request syntax with placeholder values
996
+ #
997
+ # resp = client.create_eks_anywhere_subscription({
998
+ # name: "EksAnywhereSubscriptionName", # required
999
+ # term: { # required
1000
+ # duration: 1,
1001
+ # unit: "MONTHS", # accepts MONTHS
1002
+ # },
1003
+ # license_quantity: 1,
1004
+ # license_type: "Cluster", # accepts Cluster
1005
+ # auto_renew: false,
1006
+ # client_request_token: "String",
1007
+ # tags: {
1008
+ # "TagKey" => "TagValue",
1009
+ # },
1010
+ # })
1011
+ #
1012
+ # @example Response structure
1013
+ #
1014
+ # resp.subscription.id #=> String
1015
+ # resp.subscription.arn #=> String
1016
+ # resp.subscription.created_at #=> Time
1017
+ # resp.subscription.effective_date #=> Time
1018
+ # resp.subscription.expiration_date #=> Time
1019
+ # resp.subscription.license_quantity #=> Integer
1020
+ # resp.subscription.license_type #=> String, one of "Cluster"
1021
+ # resp.subscription.term.duration #=> Integer
1022
+ # resp.subscription.term.unit #=> String, one of "MONTHS"
1023
+ # resp.subscription.status #=> String
1024
+ # resp.subscription.auto_renew #=> Boolean
1025
+ # resp.subscription.license_arns #=> Array
1026
+ # resp.subscription.license_arns[0] #=> String
1027
+ # resp.subscription.tags #=> Hash
1028
+ # resp.subscription.tags["TagKey"] #=> String
1029
+ #
1030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateEksAnywhereSubscription AWS API Documentation
1031
+ #
1032
+ # @overload create_eks_anywhere_subscription(params = {})
1033
+ # @param [Hash] params ({})
1034
+ def create_eks_anywhere_subscription(params = {}, options = {})
1035
+ req = build_request(:create_eks_anywhere_subscription, params)
1036
+ req.send_request(options)
1037
+ end
1038
+
940
1039
  # Creates an Fargate profile for your Amazon EKS cluster. You must have
941
1040
  # at least one Fargate profile in a cluster to be able to run pods on
942
1041
  # Fargate.
@@ -974,7 +1073,7 @@ module Aws::EKS
974
1073
  #
975
1074
  #
976
1075
  #
977
- # [1]: https://kubernetes.io/docs/admin/authorization/rbac/
1076
+ # [1]: https://kubernetes.io/docs/reference/access-authn-authz/rbac/
978
1077
  # [2]: https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html
979
1078
  # [3]: https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html
980
1079
  #
@@ -1075,16 +1174,12 @@ module Aws::EKS
1075
1174
 
1076
1175
  # Creates a managed node group for an Amazon EKS cluster. You can only
1077
1176
  # create a node group for your cluster that is equal to the current
1078
- # Kubernetes version for the cluster. All node groups are created with
1079
- # the latest AMI release version for the respective minor Kubernetes
1080
- # version of the cluster, unless you deploy a custom AMI using a launch
1081
- # template. For more information about using launch templates, see
1082
- # [Launch template support][1].
1177
+ # Kubernetes version for the cluster.
1083
1178
  #
1084
1179
  # An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group
1085
1180
  # and associated Amazon EC2 instances that are managed by Amazon Web
1086
1181
  # Services for an Amazon EKS cluster. For more information, see [Managed
1087
- # node groups][2] in the *Amazon EKS User Guide*.
1182
+ # node groups][1] in the *Amazon EKS User Guide*.
1088
1183
  #
1089
1184
  # <note markdown="1"> Windows AMI types are only supported for commercial Regions that
1090
1185
  # support Windows Amazon EKS.
@@ -1093,8 +1188,7 @@ module Aws::EKS
1093
1188
  #
1094
1189
  #
1095
1190
  #
1096
- # [1]: https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
1097
- # [2]: https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html
1191
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html
1098
1192
  #
1099
1193
  # @option params [required, String] :cluster_name
1100
1194
  # The name of the cluster to create the node group in.
@@ -1545,6 +1639,52 @@ module Aws::EKS
1545
1639
  req.send_request(options)
1546
1640
  end
1547
1641
 
1642
+ # Deletes an expired / inactive subscription. Deleting inactive
1643
+ # subscriptions removes them from the Amazon Web Services Management
1644
+ # Console view and from list/describe API responses. Subscriptions can
1645
+ # only be cancelled within 7 days of creation, and are cancelled by
1646
+ # creating a ticket in the Amazon Web Services Support Center.
1647
+ #
1648
+ # @option params [required, String] :id
1649
+ # The ID of the subscription.
1650
+ #
1651
+ # @return [Types::DeleteEksAnywhereSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1652
+ #
1653
+ # * {Types::DeleteEksAnywhereSubscriptionResponse#subscription #subscription} => Types::EksAnywhereSubscription
1654
+ #
1655
+ # @example Request syntax with placeholder values
1656
+ #
1657
+ # resp = client.delete_eks_anywhere_subscription({
1658
+ # id: "String", # required
1659
+ # })
1660
+ #
1661
+ # @example Response structure
1662
+ #
1663
+ # resp.subscription.id #=> String
1664
+ # resp.subscription.arn #=> String
1665
+ # resp.subscription.created_at #=> Time
1666
+ # resp.subscription.effective_date #=> Time
1667
+ # resp.subscription.expiration_date #=> Time
1668
+ # resp.subscription.license_quantity #=> Integer
1669
+ # resp.subscription.license_type #=> String, one of "Cluster"
1670
+ # resp.subscription.term.duration #=> Integer
1671
+ # resp.subscription.term.unit #=> String, one of "MONTHS"
1672
+ # resp.subscription.status #=> String
1673
+ # resp.subscription.auto_renew #=> Boolean
1674
+ # resp.subscription.license_arns #=> Array
1675
+ # resp.subscription.license_arns[0] #=> String
1676
+ # resp.subscription.tags #=> Hash
1677
+ # resp.subscription.tags["TagKey"] #=> String
1678
+ #
1679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteEksAnywhereSubscription AWS API Documentation
1680
+ #
1681
+ # @overload delete_eks_anywhere_subscription(params = {})
1682
+ # @param [Hash] params ({})
1683
+ def delete_eks_anywhere_subscription(params = {}, options = {})
1684
+ req = build_request(:delete_eks_anywhere_subscription, params)
1685
+ req.send_request(options)
1686
+ end
1687
+
1548
1688
  # Deletes an Fargate profile.
1549
1689
  #
1550
1690
  # When you delete a Fargate profile, any pods running on Fargate that
@@ -2084,6 +2224,48 @@ module Aws::EKS
2084
2224
  req.send_request(options)
2085
2225
  end
2086
2226
 
2227
+ # Returns descriptive information about a subscription.
2228
+ #
2229
+ # @option params [required, String] :id
2230
+ # The ID of the subscription.
2231
+ #
2232
+ # @return [Types::DescribeEksAnywhereSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2233
+ #
2234
+ # * {Types::DescribeEksAnywhereSubscriptionResponse#subscription #subscription} => Types::EksAnywhereSubscription
2235
+ #
2236
+ # @example Request syntax with placeholder values
2237
+ #
2238
+ # resp = client.describe_eks_anywhere_subscription({
2239
+ # id: "String", # required
2240
+ # })
2241
+ #
2242
+ # @example Response structure
2243
+ #
2244
+ # resp.subscription.id #=> String
2245
+ # resp.subscription.arn #=> String
2246
+ # resp.subscription.created_at #=> Time
2247
+ # resp.subscription.effective_date #=> Time
2248
+ # resp.subscription.expiration_date #=> Time
2249
+ # resp.subscription.license_quantity #=> Integer
2250
+ # resp.subscription.license_type #=> String, one of "Cluster"
2251
+ # resp.subscription.term.duration #=> Integer
2252
+ # resp.subscription.term.unit #=> String, one of "MONTHS"
2253
+ # resp.subscription.status #=> String
2254
+ # resp.subscription.auto_renew #=> Boolean
2255
+ # resp.subscription.license_arns #=> Array
2256
+ # resp.subscription.license_arns[0] #=> String
2257
+ # resp.subscription.tags #=> Hash
2258
+ # resp.subscription.tags["TagKey"] #=> String
2259
+ #
2260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeEksAnywhereSubscription AWS API Documentation
2261
+ #
2262
+ # @overload describe_eks_anywhere_subscription(params = {})
2263
+ # @param [Hash] params ({})
2264
+ def describe_eks_anywhere_subscription(params = {}, options = {})
2265
+ req = build_request(:describe_eks_anywhere_subscription, params)
2266
+ req.send_request(options)
2267
+ end
2268
+
2087
2269
  # Returns descriptive information about an Fargate profile.
2088
2270
  #
2089
2271
  # @option params [required, String] :cluster_name
@@ -2332,7 +2514,11 @@ module Aws::EKS
2332
2514
  # Disassociates an identity provider configuration from a cluster. If
2333
2515
  # you disassociate an identity provider from your cluster, users
2334
2516
  # included in the provider can no longer access the cluster. However,
2335
- # you can still access the cluster with Amazon Web Services IAM users.
2517
+ # you can still access the cluster with [IAM principals][1].
2518
+ #
2519
+ #
2520
+ #
2521
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html
2336
2522
  #
2337
2523
  # @option params [required, String] :cluster_name
2338
2524
  # The name of the cluster to disassociate an identity provider from.
@@ -2386,7 +2572,7 @@ module Aws::EKS
2386
2572
  req.send_request(options)
2387
2573
  end
2388
2574
 
2389
- # Lists the available add-ons.
2575
+ # Lists the installed add-ons.
2390
2576
  #
2391
2577
  # @option params [required, String] :cluster_name
2392
2578
  # The name of the cluster.
@@ -2520,6 +2706,71 @@ module Aws::EKS
2520
2706
  req.send_request(options)
2521
2707
  end
2522
2708
 
2709
+ # Displays the full description of the subscription.
2710
+ #
2711
+ # @option params [Integer] :max_results
2712
+ # The maximum number of cluster results returned by
2713
+ # ListEksAnywhereSubscriptions in paginated output. When you use this
2714
+ # parameter, ListEksAnywhereSubscriptions returns only maxResults
2715
+ # results in a single page along with a nextToken response element. You
2716
+ # can see the remaining results of the initial request by sending
2717
+ # another ListEksAnywhereSubscriptions request with the returned
2718
+ # nextToken value. This value can be between 1 and 100. If you don't
2719
+ # use this parameter, ListEksAnywhereSubscriptions returns up to 10
2720
+ # results and a nextToken value if applicable.
2721
+ #
2722
+ # @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.
2728
+ #
2729
+ # @option params [Array<String>] :include_status
2730
+ # An array of subscription statuses to filter on.
2731
+ #
2732
+ # @return [Types::ListEksAnywhereSubscriptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2733
+ #
2734
+ # * {Types::ListEksAnywhereSubscriptionsResponse#subscriptions #subscriptions} => Array&lt;Types::EksAnywhereSubscription&gt;
2735
+ # * {Types::ListEksAnywhereSubscriptionsResponse#next_token #next_token} => String
2736
+ #
2737
+ # @example Request syntax with placeholder values
2738
+ #
2739
+ # resp = client.list_eks_anywhere_subscriptions({
2740
+ # max_results: 1,
2741
+ # next_token: "String",
2742
+ # include_status: ["CREATING"], # accepts CREATING, ACTIVE, UPDATING, EXPIRING, EXPIRED, DELETING
2743
+ # })
2744
+ #
2745
+ # @example Response structure
2746
+ #
2747
+ # resp.subscriptions #=> Array
2748
+ # resp.subscriptions[0].id #=> String
2749
+ # resp.subscriptions[0].arn #=> String
2750
+ # resp.subscriptions[0].created_at #=> Time
2751
+ # resp.subscriptions[0].effective_date #=> Time
2752
+ # resp.subscriptions[0].expiration_date #=> Time
2753
+ # resp.subscriptions[0].license_quantity #=> Integer
2754
+ # resp.subscriptions[0].license_type #=> String, one of "Cluster"
2755
+ # resp.subscriptions[0].term.duration #=> Integer
2756
+ # resp.subscriptions[0].term.unit #=> String, one of "MONTHS"
2757
+ # resp.subscriptions[0].status #=> String
2758
+ # resp.subscriptions[0].auto_renew #=> Boolean
2759
+ # resp.subscriptions[0].license_arns #=> Array
2760
+ # resp.subscriptions[0].license_arns[0] #=> String
2761
+ # resp.subscriptions[0].tags #=> Hash
2762
+ # resp.subscriptions[0].tags["TagKey"] #=> String
2763
+ # resp.next_token #=> String
2764
+ #
2765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListEksAnywhereSubscriptions AWS API Documentation
2766
+ #
2767
+ # @overload list_eks_anywhere_subscriptions(params = {})
2768
+ # @param [Hash] params ({})
2769
+ def list_eks_anywhere_subscriptions(params = {}, options = {})
2770
+ req = build_request(:list_eks_anywhere_subscriptions, params)
2771
+ req.send_request(options)
2772
+ end
2773
+
2523
2774
  # Lists the Fargate profiles associated with the specified cluster in
2524
2775
  # your Amazon Web Services account in the specified Region.
2525
2776
  #
@@ -3274,6 +3525,61 @@ module Aws::EKS
3274
3525
  req.send_request(options)
3275
3526
  end
3276
3527
 
3528
+ # Update an EKS Anywhere Subscription. Only auto renewal and tags can be
3529
+ # updated after subscription creation.
3530
+ #
3531
+ # @option params [required, String] :id
3532
+ #
3533
+ # @option params [required, Boolean] :auto_renew
3534
+ # A boolean indicating whether or not to automatically renew the
3535
+ # subscription.
3536
+ #
3537
+ # @option params [String] :client_request_token
3538
+ # Unique, case-sensitive identifier to ensure the idempotency of the
3539
+ # request.
3540
+ #
3541
+ # **A suitable default value is auto-generated.** You should normally
3542
+ # not need to pass this option.**
3543
+ #
3544
+ # @return [Types::UpdateEksAnywhereSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3545
+ #
3546
+ # * {Types::UpdateEksAnywhereSubscriptionResponse#subscription #subscription} => Types::EksAnywhereSubscription
3547
+ #
3548
+ # @example Request syntax with placeholder values
3549
+ #
3550
+ # resp = client.update_eks_anywhere_subscription({
3551
+ # id: "String", # required
3552
+ # auto_renew: false, # required
3553
+ # client_request_token: "String",
3554
+ # })
3555
+ #
3556
+ # @example Response structure
3557
+ #
3558
+ # resp.subscription.id #=> String
3559
+ # resp.subscription.arn #=> String
3560
+ # resp.subscription.created_at #=> Time
3561
+ # resp.subscription.effective_date #=> Time
3562
+ # resp.subscription.expiration_date #=> Time
3563
+ # resp.subscription.license_quantity #=> Integer
3564
+ # resp.subscription.license_type #=> String, one of "Cluster"
3565
+ # resp.subscription.term.duration #=> Integer
3566
+ # resp.subscription.term.unit #=> String, one of "MONTHS"
3567
+ # resp.subscription.status #=> String
3568
+ # resp.subscription.auto_renew #=> Boolean
3569
+ # resp.subscription.license_arns #=> Array
3570
+ # resp.subscription.license_arns[0] #=> String
3571
+ # resp.subscription.tags #=> Hash
3572
+ # resp.subscription.tags["TagKey"] #=> String
3573
+ #
3574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateEksAnywhereSubscription AWS API Documentation
3575
+ #
3576
+ # @overload update_eks_anywhere_subscription(params = {})
3577
+ # @param [Hash] params ({})
3578
+ def update_eks_anywhere_subscription(params = {}, options = {})
3579
+ req = build_request(:update_eks_anywhere_subscription, params)
3580
+ req.send_request(options)
3581
+ end
3582
+
3277
3583
  # Updates an Amazon EKS managed node group configuration. Your node
3278
3584
  # group continues to function during the update. The response output
3279
3585
  # includes an update ID that you can use to track the status of your
@@ -3535,7 +3841,7 @@ module Aws::EKS
3535
3841
  params: params,
3536
3842
  config: config)
3537
3843
  context[:gem_name] = 'aws-sdk-eks'
3538
- context[:gem_version] = '1.91.0'
3844
+ context[:gem_version] = '1.92.0'
3539
3845
  Seahorse::Client::Request.new(handlers, context)
3540
3846
  end
3541
3847