aws-sdk-eks 1.151.0 → 1.152.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks/client.rb +496 -1
- data/lib/aws-sdk-eks/client_api.rb +248 -0
- data/lib/aws-sdk-eks/types.rb +846 -1
- data/lib/aws-sdk-eks.rb +1 -1
- data/sig/client.rbs +122 -1
- data/sig/types.rbs +187 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4fa338c6b0a36628a89cc9899ebfa62968e5f03aaac4db189eaefe6a962e40c
|
|
4
|
+
data.tar.gz: be47eeeadf2887c057d301cc8374d50af400d4cf1f6b2d0996b534635004288b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68693ea1c8f98fe4ee183a16aa817abb8f61742270ef7d90fb7bb54822a057816ecd4161e0a5617ff87f60be6540aee3fea26ff582726ca01031561b1d6a53ef
|
|
7
|
+
data.tar.gz: 3768368891491ec52cc88debb5bd2323e2204f491b4ed790c2d9d49d0505e7849ef03dd8569fcfef56deb5262386d0bce93219fad707a7deda17e71db15de70c
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.152.0
|
data/lib/aws-sdk-eks/client.rb
CHANGED
|
@@ -1011,6 +1011,198 @@ module Aws::EKS
|
|
|
1011
1011
|
req.send_request(options)
|
|
1012
1012
|
end
|
|
1013
1013
|
|
|
1014
|
+
# Creates a managed capability resource for an Amazon EKS cluster.
|
|
1015
|
+
#
|
|
1016
|
+
# Capabilities provide fully managed capabilities to build and scale
|
|
1017
|
+
# with Kubernetes. When you create a capability, Amazon EKSprovisions
|
|
1018
|
+
# and manages the infrastructure required to run the capability outside
|
|
1019
|
+
# of your cluster. This approach reduces operational overhead and
|
|
1020
|
+
# preserves cluster resources.
|
|
1021
|
+
#
|
|
1022
|
+
# You can only create one Capability of each type on a given Amazon EKS
|
|
1023
|
+
# cluster. Valid types are Argo CD for declarative GitOps deployment,
|
|
1024
|
+
# Amazon Web Services Controllers for Kubernetes (ACK) for resource
|
|
1025
|
+
# management, and Kube Resource Orchestrator (KRO) for Kubernetes custom
|
|
1026
|
+
# resource orchestration.
|
|
1027
|
+
#
|
|
1028
|
+
# For more information, see [EKS Capabilities][1] in the *Amazon EKS
|
|
1029
|
+
# User Guide*.
|
|
1030
|
+
#
|
|
1031
|
+
#
|
|
1032
|
+
#
|
|
1033
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/capabilities.html
|
|
1034
|
+
#
|
|
1035
|
+
# @option params [required, String] :capability_name
|
|
1036
|
+
# A unique name for the capability. The name must be unique within your
|
|
1037
|
+
# cluster and can contain alphanumeric characters, hyphens, and
|
|
1038
|
+
# underscores.
|
|
1039
|
+
#
|
|
1040
|
+
# @option params [required, String] :cluster_name
|
|
1041
|
+
# The name of the Amazon EKS cluster where you want to create the
|
|
1042
|
+
# capability.
|
|
1043
|
+
#
|
|
1044
|
+
# @option params [String] :client_request_token
|
|
1045
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
1046
|
+
# idempotency of the request. This token is valid for 24 hours after
|
|
1047
|
+
# creation. If you retry a request with the same client request token
|
|
1048
|
+
# and the same parameters after the original request has completed
|
|
1049
|
+
# successfully, the result of the original request is returned.
|
|
1050
|
+
#
|
|
1051
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1052
|
+
# not need to pass this option.**
|
|
1053
|
+
#
|
|
1054
|
+
# @option params [required, String] :type
|
|
1055
|
+
# The type of capability to create. Valid values are:
|
|
1056
|
+
#
|
|
1057
|
+
# * `ACK` – Amazon Web Services Controllers for Kubernetes (ACK), which
|
|
1058
|
+
# lets you manage resources directly from Kubernetes.
|
|
1059
|
+
#
|
|
1060
|
+
# * `ARGOCD` – Argo CD for GitOps-based continuous delivery.
|
|
1061
|
+
#
|
|
1062
|
+
# * `KRO` – Kube Resource Orchestrator (KRO) for composing and managing
|
|
1063
|
+
# custom Kubernetes resources.
|
|
1064
|
+
#
|
|
1065
|
+
# @option params [required, String] :role_arn
|
|
1066
|
+
# The Amazon Resource Name (ARN) of the IAM role that the capability
|
|
1067
|
+
# uses to interact with Amazon Web Services services. This role must
|
|
1068
|
+
# have a trust policy that allows the EKS service principal to assume
|
|
1069
|
+
# it, and it must have the necessary permissions for the capability type
|
|
1070
|
+
# you're creating.
|
|
1071
|
+
#
|
|
1072
|
+
# For ACK capabilities, the role needs permissions to manage the
|
|
1073
|
+
# resources you want to control through Kubernetes. For Argo CD
|
|
1074
|
+
# capabilities, the role needs permissions to access Git repositories
|
|
1075
|
+
# and Secrets Manager. For KRO capabilities, the role needs permissions
|
|
1076
|
+
# based on the resources you'll be orchestrating.
|
|
1077
|
+
#
|
|
1078
|
+
# @option params [Types::CapabilityConfigurationRequest] :configuration
|
|
1079
|
+
# The configuration settings for the capability. The structure of this
|
|
1080
|
+
# object varies depending on the capability type. For Argo CD
|
|
1081
|
+
# capabilities, you can configure IAM Identity CenterIAM; Identity
|
|
1082
|
+
# Center integration, RBAC role mappings, and network access settings.
|
|
1083
|
+
#
|
|
1084
|
+
# @option params [Hash<String,String>] :tags
|
|
1085
|
+
# The metadata that you apply to a resource to help you categorize and
|
|
1086
|
+
# organize them. Each tag consists of a key and an optional value. You
|
|
1087
|
+
# define them.
|
|
1088
|
+
#
|
|
1089
|
+
# The following basic restrictions apply to tags:
|
|
1090
|
+
#
|
|
1091
|
+
# * Maximum number of tags per resource – 50
|
|
1092
|
+
#
|
|
1093
|
+
# * For each resource, each tag key must be unique, and each tag key can
|
|
1094
|
+
# have only one value.
|
|
1095
|
+
#
|
|
1096
|
+
# * Maximum key length – 128 Unicode characters in UTF-8
|
|
1097
|
+
#
|
|
1098
|
+
# * Maximum value length – 256 Unicode characters in UTF-8
|
|
1099
|
+
#
|
|
1100
|
+
# * If your tagging schema is used across multiple services and
|
|
1101
|
+
# resources, remember that other services may have restrictions on
|
|
1102
|
+
# allowed characters. Generally allowed characters are: letters,
|
|
1103
|
+
# numbers, and spaces representable in UTF-8, and the following
|
|
1104
|
+
# characters: + - = . \_ : / @.
|
|
1105
|
+
#
|
|
1106
|
+
# * Tag keys and values are case-sensitive.
|
|
1107
|
+
#
|
|
1108
|
+
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
1109
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
1110
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
1111
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
1112
|
+
# your tags per resource limit.
|
|
1113
|
+
#
|
|
1114
|
+
# @option params [required, String] :delete_propagation_policy
|
|
1115
|
+
# Specifies how Kubernetes resources managed by the capability should be
|
|
1116
|
+
# handled when the capability is deleted. Currently, the only supported
|
|
1117
|
+
# value is `RETAIN` which retains all Kubernetes resources managed by
|
|
1118
|
+
# the capability when the capability is deleted.
|
|
1119
|
+
#
|
|
1120
|
+
# Because resources are retained, all Kubernetes resources created by
|
|
1121
|
+
# the capability should be deleted from the cluster before deleting the
|
|
1122
|
+
# capability itself. After the capability is deleted, these resources
|
|
1123
|
+
# become difficult to manage because the controller is no longer
|
|
1124
|
+
# available.
|
|
1125
|
+
#
|
|
1126
|
+
# @return [Types::CreateCapabilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1127
|
+
#
|
|
1128
|
+
# * {Types::CreateCapabilityResponse#capability #capability} => Types::Capability
|
|
1129
|
+
#
|
|
1130
|
+
# @example Request syntax with placeholder values
|
|
1131
|
+
#
|
|
1132
|
+
# resp = client.create_capability({
|
|
1133
|
+
# capability_name: "String", # required
|
|
1134
|
+
# cluster_name: "String", # required
|
|
1135
|
+
# client_request_token: "String",
|
|
1136
|
+
# type: "ACK", # required, accepts ACK, KRO, ARGOCD
|
|
1137
|
+
# role_arn: "String", # required
|
|
1138
|
+
# configuration: {
|
|
1139
|
+
# argo_cd: {
|
|
1140
|
+
# namespace: "String",
|
|
1141
|
+
# aws_idc: { # required
|
|
1142
|
+
# idc_instance_arn: "String", # required
|
|
1143
|
+
# idc_region: "String",
|
|
1144
|
+
# },
|
|
1145
|
+
# rbac_role_mappings: [
|
|
1146
|
+
# {
|
|
1147
|
+
# role: "ADMIN", # required, accepts ADMIN, EDITOR, VIEWER
|
|
1148
|
+
# identities: [ # required
|
|
1149
|
+
# {
|
|
1150
|
+
# id: "String", # required
|
|
1151
|
+
# type: "SSO_USER", # required, accepts SSO_USER, SSO_GROUP
|
|
1152
|
+
# },
|
|
1153
|
+
# ],
|
|
1154
|
+
# },
|
|
1155
|
+
# ],
|
|
1156
|
+
# network_access: {
|
|
1157
|
+
# vpce_ids: ["String"],
|
|
1158
|
+
# },
|
|
1159
|
+
# },
|
|
1160
|
+
# },
|
|
1161
|
+
# tags: {
|
|
1162
|
+
# "TagKey" => "TagValue",
|
|
1163
|
+
# },
|
|
1164
|
+
# delete_propagation_policy: "RETAIN", # required, accepts RETAIN
|
|
1165
|
+
# })
|
|
1166
|
+
#
|
|
1167
|
+
# @example Response structure
|
|
1168
|
+
#
|
|
1169
|
+
# resp.capability.capability_name #=> String
|
|
1170
|
+
# resp.capability.arn #=> String
|
|
1171
|
+
# resp.capability.cluster_name #=> String
|
|
1172
|
+
# resp.capability.type #=> String, one of "ACK", "KRO", "ARGOCD"
|
|
1173
|
+
# resp.capability.role_arn #=> String
|
|
1174
|
+
# resp.capability.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "ACTIVE", "DEGRADED"
|
|
1175
|
+
# resp.capability.version #=> String
|
|
1176
|
+
# resp.capability.configuration.argo_cd.namespace #=> String
|
|
1177
|
+
# resp.capability.configuration.argo_cd.aws_idc.idc_instance_arn #=> String
|
|
1178
|
+
# resp.capability.configuration.argo_cd.aws_idc.idc_region #=> String
|
|
1179
|
+
# resp.capability.configuration.argo_cd.aws_idc.idc_managed_application_arn #=> String
|
|
1180
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings #=> Array
|
|
1181
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].role #=> String, one of "ADMIN", "EDITOR", "VIEWER"
|
|
1182
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].identities #=> Array
|
|
1183
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].identities[0].id #=> String
|
|
1184
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].identities[0].type #=> String, one of "SSO_USER", "SSO_GROUP"
|
|
1185
|
+
# resp.capability.configuration.argo_cd.network_access.vpce_ids #=> Array
|
|
1186
|
+
# resp.capability.configuration.argo_cd.network_access.vpce_ids[0] #=> String
|
|
1187
|
+
# resp.capability.configuration.argo_cd.server_url #=> String
|
|
1188
|
+
# resp.capability.tags #=> Hash
|
|
1189
|
+
# resp.capability.tags["TagKey"] #=> String
|
|
1190
|
+
# resp.capability.health.issues #=> Array
|
|
1191
|
+
# resp.capability.health.issues[0].code #=> String, one of "AccessDenied", "ClusterUnreachable"
|
|
1192
|
+
# resp.capability.health.issues[0].message #=> String
|
|
1193
|
+
# resp.capability.created_at #=> Time
|
|
1194
|
+
# resp.capability.modified_at #=> Time
|
|
1195
|
+
# resp.capability.delete_propagation_policy #=> String, one of "RETAIN"
|
|
1196
|
+
#
|
|
1197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCapability AWS API Documentation
|
|
1198
|
+
#
|
|
1199
|
+
# @overload create_capability(params = {})
|
|
1200
|
+
# @param [Hash] params ({})
|
|
1201
|
+
def create_capability(params = {}, options = {})
|
|
1202
|
+
req = build_request(:create_capability, params)
|
|
1203
|
+
req.send_request(options)
|
|
1204
|
+
end
|
|
1205
|
+
|
|
1014
1206
|
# Creates an Amazon EKS control plane.
|
|
1015
1207
|
#
|
|
1016
1208
|
# The Amazon EKS control plane consists of control plane instances that
|
|
@@ -2283,6 +2475,74 @@ module Aws::EKS
|
|
|
2283
2475
|
req.send_request(options)
|
|
2284
2476
|
end
|
|
2285
2477
|
|
|
2478
|
+
# Deletes a managed capability from your Amazon EKS cluster. When you
|
|
2479
|
+
# delete a capability, Amazon EKS removes the capability infrastructure
|
|
2480
|
+
# but retains all resources that were managed by the capability.
|
|
2481
|
+
#
|
|
2482
|
+
# Before deleting a capability, you should delete all Kubernetes
|
|
2483
|
+
# resources that were created by the capability. After the capability is
|
|
2484
|
+
# deleted, these resources become difficult to manage because the
|
|
2485
|
+
# controller that managed them is no longer available. To delete
|
|
2486
|
+
# resources before removing the capability, use `kubectl delete` or
|
|
2487
|
+
# remove them through your GitOps workflow.
|
|
2488
|
+
#
|
|
2489
|
+
# @option params [required, String] :cluster_name
|
|
2490
|
+
# The name of the Amazon EKS cluster that contains the capability you
|
|
2491
|
+
# want to delete.
|
|
2492
|
+
#
|
|
2493
|
+
# @option params [required, String] :capability_name
|
|
2494
|
+
# The name of the capability to delete.
|
|
2495
|
+
#
|
|
2496
|
+
# @return [Types::DeleteCapabilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2497
|
+
#
|
|
2498
|
+
# * {Types::DeleteCapabilityResponse#capability #capability} => Types::Capability
|
|
2499
|
+
#
|
|
2500
|
+
# @example Request syntax with placeholder values
|
|
2501
|
+
#
|
|
2502
|
+
# resp = client.delete_capability({
|
|
2503
|
+
# cluster_name: "String", # required
|
|
2504
|
+
# capability_name: "String", # required
|
|
2505
|
+
# })
|
|
2506
|
+
#
|
|
2507
|
+
# @example Response structure
|
|
2508
|
+
#
|
|
2509
|
+
# resp.capability.capability_name #=> String
|
|
2510
|
+
# resp.capability.arn #=> String
|
|
2511
|
+
# resp.capability.cluster_name #=> String
|
|
2512
|
+
# resp.capability.type #=> String, one of "ACK", "KRO", "ARGOCD"
|
|
2513
|
+
# resp.capability.role_arn #=> String
|
|
2514
|
+
# resp.capability.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "ACTIVE", "DEGRADED"
|
|
2515
|
+
# resp.capability.version #=> String
|
|
2516
|
+
# resp.capability.configuration.argo_cd.namespace #=> String
|
|
2517
|
+
# resp.capability.configuration.argo_cd.aws_idc.idc_instance_arn #=> String
|
|
2518
|
+
# resp.capability.configuration.argo_cd.aws_idc.idc_region #=> String
|
|
2519
|
+
# resp.capability.configuration.argo_cd.aws_idc.idc_managed_application_arn #=> String
|
|
2520
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings #=> Array
|
|
2521
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].role #=> String, one of "ADMIN", "EDITOR", "VIEWER"
|
|
2522
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].identities #=> Array
|
|
2523
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].identities[0].id #=> String
|
|
2524
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].identities[0].type #=> String, one of "SSO_USER", "SSO_GROUP"
|
|
2525
|
+
# resp.capability.configuration.argo_cd.network_access.vpce_ids #=> Array
|
|
2526
|
+
# resp.capability.configuration.argo_cd.network_access.vpce_ids[0] #=> String
|
|
2527
|
+
# resp.capability.configuration.argo_cd.server_url #=> String
|
|
2528
|
+
# resp.capability.tags #=> Hash
|
|
2529
|
+
# resp.capability.tags["TagKey"] #=> String
|
|
2530
|
+
# resp.capability.health.issues #=> Array
|
|
2531
|
+
# resp.capability.health.issues[0].code #=> String, one of "AccessDenied", "ClusterUnreachable"
|
|
2532
|
+
# resp.capability.health.issues[0].message #=> String
|
|
2533
|
+
# resp.capability.created_at #=> Time
|
|
2534
|
+
# resp.capability.modified_at #=> Time
|
|
2535
|
+
# resp.capability.delete_propagation_policy #=> String, one of "RETAIN"
|
|
2536
|
+
#
|
|
2537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCapability AWS API Documentation
|
|
2538
|
+
#
|
|
2539
|
+
# @overload delete_capability(params = {})
|
|
2540
|
+
# @param [Hash] params ({})
|
|
2541
|
+
def delete_capability(params = {}, options = {})
|
|
2542
|
+
req = build_request(:delete_capability, params)
|
|
2543
|
+
req.send_request(options)
|
|
2544
|
+
end
|
|
2545
|
+
|
|
2286
2546
|
# Deletes an Amazon EKS cluster control plane.
|
|
2287
2547
|
#
|
|
2288
2548
|
# If you have active services in your cluster that are associated with a
|
|
@@ -3009,6 +3269,68 @@ module Aws::EKS
|
|
|
3009
3269
|
req.send_request(options)
|
|
3010
3270
|
end
|
|
3011
3271
|
|
|
3272
|
+
# Returns detailed information about a specific managed capability in
|
|
3273
|
+
# your Amazon EKS cluster, including its current status, configuration,
|
|
3274
|
+
# health information, and any issues that may be affecting its
|
|
3275
|
+
# operation.
|
|
3276
|
+
#
|
|
3277
|
+
# @option params [required, String] :cluster_name
|
|
3278
|
+
# The name of the Amazon EKS cluster that contains the capability you
|
|
3279
|
+
# want to describe.
|
|
3280
|
+
#
|
|
3281
|
+
# @option params [required, String] :capability_name
|
|
3282
|
+
# The name of the capability to describe.
|
|
3283
|
+
#
|
|
3284
|
+
# @return [Types::DescribeCapabilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3285
|
+
#
|
|
3286
|
+
# * {Types::DescribeCapabilityResponse#capability #capability} => Types::Capability
|
|
3287
|
+
#
|
|
3288
|
+
# @example Request syntax with placeholder values
|
|
3289
|
+
#
|
|
3290
|
+
# resp = client.describe_capability({
|
|
3291
|
+
# cluster_name: "String", # required
|
|
3292
|
+
# capability_name: "String", # required
|
|
3293
|
+
# })
|
|
3294
|
+
#
|
|
3295
|
+
# @example Response structure
|
|
3296
|
+
#
|
|
3297
|
+
# resp.capability.capability_name #=> String
|
|
3298
|
+
# resp.capability.arn #=> String
|
|
3299
|
+
# resp.capability.cluster_name #=> String
|
|
3300
|
+
# resp.capability.type #=> String, one of "ACK", "KRO", "ARGOCD"
|
|
3301
|
+
# resp.capability.role_arn #=> String
|
|
3302
|
+
# resp.capability.status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "ACTIVE", "DEGRADED"
|
|
3303
|
+
# resp.capability.version #=> String
|
|
3304
|
+
# resp.capability.configuration.argo_cd.namespace #=> String
|
|
3305
|
+
# resp.capability.configuration.argo_cd.aws_idc.idc_instance_arn #=> String
|
|
3306
|
+
# resp.capability.configuration.argo_cd.aws_idc.idc_region #=> String
|
|
3307
|
+
# resp.capability.configuration.argo_cd.aws_idc.idc_managed_application_arn #=> String
|
|
3308
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings #=> Array
|
|
3309
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].role #=> String, one of "ADMIN", "EDITOR", "VIEWER"
|
|
3310
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].identities #=> Array
|
|
3311
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].identities[0].id #=> String
|
|
3312
|
+
# resp.capability.configuration.argo_cd.rbac_role_mappings[0].identities[0].type #=> String, one of "SSO_USER", "SSO_GROUP"
|
|
3313
|
+
# resp.capability.configuration.argo_cd.network_access.vpce_ids #=> Array
|
|
3314
|
+
# resp.capability.configuration.argo_cd.network_access.vpce_ids[0] #=> String
|
|
3315
|
+
# resp.capability.configuration.argo_cd.server_url #=> String
|
|
3316
|
+
# resp.capability.tags #=> Hash
|
|
3317
|
+
# resp.capability.tags["TagKey"] #=> String
|
|
3318
|
+
# resp.capability.health.issues #=> Array
|
|
3319
|
+
# resp.capability.health.issues[0].code #=> String, one of "AccessDenied", "ClusterUnreachable"
|
|
3320
|
+
# resp.capability.health.issues[0].message #=> String
|
|
3321
|
+
# resp.capability.created_at #=> Time
|
|
3322
|
+
# resp.capability.modified_at #=> Time
|
|
3323
|
+
# resp.capability.delete_propagation_policy #=> String, one of "RETAIN"
|
|
3324
|
+
#
|
|
3325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeCapability AWS API Documentation
|
|
3326
|
+
#
|
|
3327
|
+
# @overload describe_capability(params = {})
|
|
3328
|
+
# @param [Hash] params ({})
|
|
3329
|
+
def describe_capability(params = {}, options = {})
|
|
3330
|
+
req = build_request(:describe_capability, params)
|
|
3331
|
+
req.send_request(options)
|
|
3332
|
+
end
|
|
3333
|
+
|
|
3012
3334
|
# Describes an Amazon EKS cluster.
|
|
3013
3335
|
#
|
|
3014
3336
|
# The API server endpoint and certificate authority data returned by
|
|
@@ -3644,6 +3966,9 @@ module Aws::EKS
|
|
|
3644
3966
|
#
|
|
3645
3967
|
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html
|
|
3646
3968
|
#
|
|
3969
|
+
# @option params [String] :capability_name
|
|
3970
|
+
# The name of the capability for which you want to describe updates.
|
|
3971
|
+
#
|
|
3647
3972
|
# @return [Types::DescribeUpdateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3648
3973
|
#
|
|
3649
3974
|
# * {Types::DescribeUpdateResponse#update #update} => Types::Update
|
|
@@ -3655,6 +3980,7 @@ module Aws::EKS
|
|
|
3655
3980
|
# update_id: "String", # required
|
|
3656
3981
|
# nodegroup_name: "String",
|
|
3657
3982
|
# addon_name: "String",
|
|
3983
|
+
# capability_name: "String",
|
|
3658
3984
|
# })
|
|
3659
3985
|
#
|
|
3660
3986
|
# @example Response structure
|
|
@@ -4014,6 +4340,62 @@ module Aws::EKS
|
|
|
4014
4340
|
req.send_request(options)
|
|
4015
4341
|
end
|
|
4016
4342
|
|
|
4343
|
+
# Lists all managed capabilities in your Amazon EKS cluster. You can use
|
|
4344
|
+
# this operation to get an overview of all capabilities and their
|
|
4345
|
+
# current status.
|
|
4346
|
+
#
|
|
4347
|
+
# @option params [required, String] :cluster_name
|
|
4348
|
+
# The name of the Amazon EKS cluster for which you want to list
|
|
4349
|
+
# capabilities.
|
|
4350
|
+
#
|
|
4351
|
+
# @option params [String] :next_token
|
|
4352
|
+
# The `nextToken` value returned from a previous paginated request,
|
|
4353
|
+
# where `maxResults` was used and the results exceeded the value of that
|
|
4354
|
+
# parameter. Pagination continues from the end of the previous results
|
|
4355
|
+
# that returned the `nextToken` value. This value is null when there are
|
|
4356
|
+
# no more results to return.
|
|
4357
|
+
#
|
|
4358
|
+
# @option params [Integer] :max_results
|
|
4359
|
+
# The maximum number of results to return in a single call. To retrieve
|
|
4360
|
+
# the remaining results, make another call with the returned `nextToken`
|
|
4361
|
+
# value. If you don't specify a value, the default is 100 results.
|
|
4362
|
+
#
|
|
4363
|
+
# @return [Types::ListCapabilitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4364
|
+
#
|
|
4365
|
+
# * {Types::ListCapabilitiesResponse#capabilities #capabilities} => Array<Types::CapabilitySummary>
|
|
4366
|
+
# * {Types::ListCapabilitiesResponse#next_token #next_token} => String
|
|
4367
|
+
#
|
|
4368
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
4369
|
+
#
|
|
4370
|
+
# @example Request syntax with placeholder values
|
|
4371
|
+
#
|
|
4372
|
+
# resp = client.list_capabilities({
|
|
4373
|
+
# cluster_name: "String", # required
|
|
4374
|
+
# next_token: "String",
|
|
4375
|
+
# max_results: 1,
|
|
4376
|
+
# })
|
|
4377
|
+
#
|
|
4378
|
+
# @example Response structure
|
|
4379
|
+
#
|
|
4380
|
+
# resp.capabilities #=> Array
|
|
4381
|
+
# resp.capabilities[0].capability_name #=> String
|
|
4382
|
+
# resp.capabilities[0].arn #=> String
|
|
4383
|
+
# resp.capabilities[0].type #=> String, one of "ACK", "KRO", "ARGOCD"
|
|
4384
|
+
# resp.capabilities[0].status #=> String, one of "CREATING", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "ACTIVE", "DEGRADED"
|
|
4385
|
+
# resp.capabilities[0].version #=> String
|
|
4386
|
+
# resp.capabilities[0].created_at #=> Time
|
|
4387
|
+
# resp.capabilities[0].modified_at #=> Time
|
|
4388
|
+
# resp.next_token #=> String
|
|
4389
|
+
#
|
|
4390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListCapabilities AWS API Documentation
|
|
4391
|
+
#
|
|
4392
|
+
# @overload list_capabilities(params = {})
|
|
4393
|
+
# @param [Hash] params ({})
|
|
4394
|
+
def list_capabilities(params = {}, options = {})
|
|
4395
|
+
req = build_request(:list_capabilities, params)
|
|
4396
|
+
req.send_request(options)
|
|
4397
|
+
end
|
|
4398
|
+
|
|
4017
4399
|
# Lists the Amazon EKS clusters in your Amazon Web Services account in
|
|
4018
4400
|
# the specified Amazon Web Services Region.
|
|
4019
4401
|
#
|
|
@@ -4558,6 +4940,9 @@ module Aws::EKS
|
|
|
4558
4940
|
# @option params [String] :addon_name
|
|
4559
4941
|
# The names of the installed add-ons that have available updates.
|
|
4560
4942
|
#
|
|
4943
|
+
# @option params [String] :capability_name
|
|
4944
|
+
# The name of the capability for which you want to list updates.
|
|
4945
|
+
#
|
|
4561
4946
|
# @option params [String] :next_token
|
|
4562
4947
|
# The `nextToken` value returned from a previous paginated request,
|
|
4563
4948
|
# where `maxResults` was used and the results exceeded the value of that
|
|
@@ -4593,6 +4978,7 @@ module Aws::EKS
|
|
|
4593
4978
|
# name: "String", # required
|
|
4594
4979
|
# nodegroup_name: "String",
|
|
4595
4980
|
# addon_name: "String",
|
|
4981
|
+
# capability_name: "String",
|
|
4596
4982
|
# next_token: "String",
|
|
4597
4983
|
# max_results: 1,
|
|
4598
4984
|
# })
|
|
@@ -5062,6 +5448,115 @@ module Aws::EKS
|
|
|
5062
5448
|
req.send_request(options)
|
|
5063
5449
|
end
|
|
5064
5450
|
|
|
5451
|
+
# Updates the configuration of a managed capability in your Amazon EKS
|
|
5452
|
+
# cluster. You can update the IAM role, configuration settings, and
|
|
5453
|
+
# delete propagation policy for a capability.
|
|
5454
|
+
#
|
|
5455
|
+
# When you update a capability, Amazon EKS applies the changes and may
|
|
5456
|
+
# restart capability components as needed. The capability remains
|
|
5457
|
+
# available during the update process, but some operations may be
|
|
5458
|
+
# temporarily unavailable.
|
|
5459
|
+
#
|
|
5460
|
+
# @option params [required, String] :cluster_name
|
|
5461
|
+
# The name of the Amazon EKS cluster that contains the capability you
|
|
5462
|
+
# want to update configuration for.
|
|
5463
|
+
#
|
|
5464
|
+
# @option params [required, String] :capability_name
|
|
5465
|
+
# The name of the capability to update configuration for.
|
|
5466
|
+
#
|
|
5467
|
+
# @option params [String] :role_arn
|
|
5468
|
+
# The Amazon Resource Name (ARN) of the IAM role that the capability
|
|
5469
|
+
# uses to interact with Amazon Web Services services. If you specify a
|
|
5470
|
+
# new role ARN, the capability will start using the new role for all
|
|
5471
|
+
# subsequent operations.
|
|
5472
|
+
#
|
|
5473
|
+
# @option params [Types::UpdateCapabilityConfiguration] :configuration
|
|
5474
|
+
# The updated configuration settings for the capability. You only need
|
|
5475
|
+
# to specify the configuration parameters you want to change. For Argo
|
|
5476
|
+
# CD capabilities, you can update RBAC role mappings and network access
|
|
5477
|
+
# settings.
|
|
5478
|
+
#
|
|
5479
|
+
# @option params [String] :client_request_token
|
|
5480
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
5481
|
+
# idempotency of the request. This token is valid for 24 hours after
|
|
5482
|
+
# creation.
|
|
5483
|
+
#
|
|
5484
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
5485
|
+
# not need to pass this option.**
|
|
5486
|
+
#
|
|
5487
|
+
# @option params [String] :delete_propagation_policy
|
|
5488
|
+
# The updated delete propagation policy for the capability. Currently,
|
|
5489
|
+
# the only supported value is `RETAIN`.
|
|
5490
|
+
#
|
|
5491
|
+
# @return [Types::UpdateCapabilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5492
|
+
#
|
|
5493
|
+
# * {Types::UpdateCapabilityResponse#update #update} => Types::Update
|
|
5494
|
+
#
|
|
5495
|
+
# @example Request syntax with placeholder values
|
|
5496
|
+
#
|
|
5497
|
+
# resp = client.update_capability({
|
|
5498
|
+
# cluster_name: "String", # required
|
|
5499
|
+
# capability_name: "String", # required
|
|
5500
|
+
# role_arn: "String",
|
|
5501
|
+
# configuration: {
|
|
5502
|
+
# argo_cd: {
|
|
5503
|
+
# rbac_role_mappings: {
|
|
5504
|
+
# add_or_update_role_mappings: [
|
|
5505
|
+
# {
|
|
5506
|
+
# role: "ADMIN", # required, accepts ADMIN, EDITOR, VIEWER
|
|
5507
|
+
# identities: [ # required
|
|
5508
|
+
# {
|
|
5509
|
+
# id: "String", # required
|
|
5510
|
+
# type: "SSO_USER", # required, accepts SSO_USER, SSO_GROUP
|
|
5511
|
+
# },
|
|
5512
|
+
# ],
|
|
5513
|
+
# },
|
|
5514
|
+
# ],
|
|
5515
|
+
# remove_role_mappings: [
|
|
5516
|
+
# {
|
|
5517
|
+
# role: "ADMIN", # required, accepts ADMIN, EDITOR, VIEWER
|
|
5518
|
+
# identities: [ # required
|
|
5519
|
+
# {
|
|
5520
|
+
# id: "String", # required
|
|
5521
|
+
# type: "SSO_USER", # required, accepts SSO_USER, SSO_GROUP
|
|
5522
|
+
# },
|
|
5523
|
+
# ],
|
|
5524
|
+
# },
|
|
5525
|
+
# ],
|
|
5526
|
+
# },
|
|
5527
|
+
# network_access: {
|
|
5528
|
+
# vpce_ids: ["String"],
|
|
5529
|
+
# },
|
|
5530
|
+
# },
|
|
5531
|
+
# },
|
|
5532
|
+
# client_request_token: "String",
|
|
5533
|
+
# delete_propagation_policy: "RETAIN", # accepts RETAIN
|
|
5534
|
+
# })
|
|
5535
|
+
#
|
|
5536
|
+
# @example Response structure
|
|
5537
|
+
#
|
|
5538
|
+
# resp.update.id #=> String
|
|
5539
|
+
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
|
5540
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "ControlPlaneScalingConfigUpdate"
|
|
5541
|
+
# resp.update.params #=> Array
|
|
5542
|
+
# resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts", "MaxUnavailable", "MaxUnavailablePercentage", "NodeRepairEnabled", "UpdateStrategy", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy", "ZonalShiftConfig", "ComputeConfig", "StorageConfig", "KubernetesNetworkConfig", "RemoteNetworkConfig", "DeletionProtection", "NodeRepairConfig", "UpdatedTier", "PreviousTier"
|
|
5543
|
+
# resp.update.params[0].value #=> String
|
|
5544
|
+
# resp.update.created_at #=> Time
|
|
5545
|
+
# resp.update.errors #=> Array
|
|
5546
|
+
# resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
|
|
5547
|
+
# resp.update.errors[0].error_message #=> String
|
|
5548
|
+
# resp.update.errors[0].resource_ids #=> Array
|
|
5549
|
+
# resp.update.errors[0].resource_ids[0] #=> String
|
|
5550
|
+
#
|
|
5551
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateCapability AWS API Documentation
|
|
5552
|
+
#
|
|
5553
|
+
# @overload update_capability(params = {})
|
|
5554
|
+
# @param [Hash] params ({})
|
|
5555
|
+
def update_capability(params = {}, options = {})
|
|
5556
|
+
req = build_request(:update_capability, params)
|
|
5557
|
+
req.send_request(options)
|
|
5558
|
+
end
|
|
5559
|
+
|
|
5065
5560
|
# Updates an Amazon EKS cluster configuration. Your cluster continues to
|
|
5066
5561
|
# function during the update. The response output includes an update ID
|
|
5067
5562
|
# that you can use to track the status of your cluster update with
|
|
@@ -5859,7 +6354,7 @@ module Aws::EKS
|
|
|
5859
6354
|
tracer: tracer
|
|
5860
6355
|
)
|
|
5861
6356
|
context[:gem_name] = 'aws-sdk-eks'
|
|
5862
|
-
context[:gem_version] = '1.
|
|
6357
|
+
context[:gem_version] = '1.152.0'
|
|
5863
6358
|
Seahorse::Client::Request.new(handlers, context)
|
|
5864
6359
|
end
|
|
5865
6360
|
|