aws-sdk-eks 1.173.0 → 1.174.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 +411 -33
- data/lib/aws-sdk-eks/client_api.rb +168 -0
- data/lib/aws-sdk-eks/types.rb +449 -0
- data/lib/aws-sdk-eks/waiters.rb +61 -10
- data/lib/aws-sdk-eks.rb +2 -2
- data/sig/client.rbs +70 -0
- data/sig/types.rbs +109 -2
- data/sig/waiters.rbs +14 -0
- metadata +1 -1
data/lib/aws-sdk-eks/types.rb
CHANGED
|
@@ -183,6 +183,76 @@ module Aws::EKS
|
|
|
183
183
|
include Aws::Structure
|
|
184
184
|
end
|
|
185
185
|
|
|
186
|
+
# @!attribute [rw] cluster_name
|
|
187
|
+
# The name of your cluster.
|
|
188
|
+
# @return [String]
|
|
189
|
+
#
|
|
190
|
+
# @!attribute [rw] certificate_authority_id
|
|
191
|
+
# The ID of the certificate authority to activate as the cluster's
|
|
192
|
+
# signing certificate authority. This certificate authority must
|
|
193
|
+
# already exist on the cluster and have a `distributionStatus` of
|
|
194
|
+
# `COMPLETE`.
|
|
195
|
+
# @return [String]
|
|
196
|
+
#
|
|
197
|
+
# @!attribute [rw] client_request_token
|
|
198
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
199
|
+
# idempotency of the request.
|
|
200
|
+
#
|
|
201
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
202
|
+
# not need to pass this option.
|
|
203
|
+
# @return [String]
|
|
204
|
+
#
|
|
205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ActivateCertificateAuthorityRequest AWS API Documentation
|
|
206
|
+
#
|
|
207
|
+
class ActivateCertificateAuthorityRequest < Struct.new(
|
|
208
|
+
:cluster_name,
|
|
209
|
+
:certificate_authority_id,
|
|
210
|
+
:client_request_token)
|
|
211
|
+
SENSITIVE = []
|
|
212
|
+
include Aws::Structure
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
# @!attribute [rw] update
|
|
216
|
+
# An object representing the asynchronous update that promotes the
|
|
217
|
+
# certificate authority to be the cluster's signer.
|
|
218
|
+
# @return [Types::Update]
|
|
219
|
+
#
|
|
220
|
+
# @!attribute [rw] certificate_authority
|
|
221
|
+
# Summary information about the certificate authority that is being
|
|
222
|
+
# activated.
|
|
223
|
+
# @return [Types::CertificateAuthoritySummary]
|
|
224
|
+
#
|
|
225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ActivateCertificateAuthorityResponse AWS API Documentation
|
|
226
|
+
#
|
|
227
|
+
class ActivateCertificateAuthorityResponse < Struct.new(
|
|
228
|
+
:update,
|
|
229
|
+
:certificate_authority)
|
|
230
|
+
SENSITIVE = []
|
|
231
|
+
include Aws::Structure
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
# Identifies the certificate authority that is currently signing
|
|
235
|
+
# certificates for the cluster.
|
|
236
|
+
#
|
|
237
|
+
# @!attribute [rw] id
|
|
238
|
+
# The unique identifier of the certificate authority that is currently
|
|
239
|
+
# signing certificates for the cluster.
|
|
240
|
+
# @return [String]
|
|
241
|
+
#
|
|
242
|
+
# @!attribute [rw] activated_by
|
|
243
|
+
# The entity that activated the current signing certificate authority,
|
|
244
|
+
# either `CUSTOMER` or `EKS`.
|
|
245
|
+
# @return [String]
|
|
246
|
+
#
|
|
247
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ActiveCertificateAuthority AWS API Documentation
|
|
248
|
+
#
|
|
249
|
+
class ActiveCertificateAuthority < Struct.new(
|
|
250
|
+
:id,
|
|
251
|
+
:activated_by)
|
|
252
|
+
SENSITIVE = []
|
|
253
|
+
include Aws::Structure
|
|
254
|
+
end
|
|
255
|
+
|
|
186
256
|
# An Amazon EKS add-on. For more information, see [Amazon EKS
|
|
187
257
|
# add-ons][1] in the *Amazon EKS User Guide*.
|
|
188
258
|
#
|
|
@@ -1275,14 +1345,211 @@ module Aws::EKS
|
|
|
1275
1345
|
# of the `kubeconfig` file for your cluster.
|
|
1276
1346
|
# @return [String]
|
|
1277
1347
|
#
|
|
1348
|
+
# @!attribute [rw] active
|
|
1349
|
+
# An object identifying the certificate authority that is currently
|
|
1350
|
+
# signing certificates for the cluster.
|
|
1351
|
+
# @return [Types::ActiveCertificateAuthority]
|
|
1352
|
+
#
|
|
1278
1353
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Certificate AWS API Documentation
|
|
1279
1354
|
#
|
|
1280
1355
|
class Certificate < Struct.new(
|
|
1356
|
+
:data,
|
|
1357
|
+
:active)
|
|
1358
|
+
SENSITIVE = []
|
|
1359
|
+
include Aws::Structure
|
|
1360
|
+
end
|
|
1361
|
+
|
|
1362
|
+
# An object representing a certificate authority (CA) for an Amazon EKS
|
|
1363
|
+
# cluster.
|
|
1364
|
+
#
|
|
1365
|
+
# @!attribute [rw] id
|
|
1366
|
+
# The unique identifier of the certificate authority.
|
|
1367
|
+
# @return [String]
|
|
1368
|
+
#
|
|
1369
|
+
# @!attribute [rw] created_at
|
|
1370
|
+
# The Unix epoch timestamp in seconds for when the certificate
|
|
1371
|
+
# authority was created.
|
|
1372
|
+
# @return [Time]
|
|
1373
|
+
#
|
|
1374
|
+
# @!attribute [rw] created_by
|
|
1375
|
+
# The entity that created the certificate authority. Certificate
|
|
1376
|
+
# authorities that you create are `CUSTOMER`; those that Amazon EKS
|
|
1377
|
+
# provisions on your behalf, such as a cluster's initial certificate
|
|
1378
|
+
# authority, are `EKS`.
|
|
1379
|
+
# @return [String]
|
|
1380
|
+
#
|
|
1381
|
+
# @!attribute [rw] activated_at
|
|
1382
|
+
# The Unix epoch timestamp in seconds for when the certificate
|
|
1383
|
+
# authority was last activated as the cluster's signer. This value is
|
|
1384
|
+
# absent if the certificate authority has never been activated.
|
|
1385
|
+
# @return [Time]
|
|
1386
|
+
#
|
|
1387
|
+
# @!attribute [rw] activated_by
|
|
1388
|
+
# The entity that most recently activated the certificate authority. A
|
|
1389
|
+
# value of `EKS` indicates that Amazon EKS activated it automatically;
|
|
1390
|
+
# `CUSTOMER` indicates that you activated it.
|
|
1391
|
+
# @return [String]
|
|
1392
|
+
#
|
|
1393
|
+
# @!attribute [rw] signing_status
|
|
1394
|
+
# The signing status of the certificate authority. `IN_USE` means the
|
|
1395
|
+
# certificate authority is currently signing certificates for the
|
|
1396
|
+
# cluster, `ACTIVATING` means it's being promoted to the signer, and
|
|
1397
|
+
# `NOT_USED` means it's trusted by the cluster (for example, a
|
|
1398
|
+
# successor CA during a rotation, or a retired outgoing CA) but isn't
|
|
1399
|
+
# the signer.
|
|
1400
|
+
# @return [String]
|
|
1401
|
+
#
|
|
1402
|
+
# @!attribute [rw] distribution_status
|
|
1403
|
+
# The distribution status of the certificate authority, which tracks
|
|
1404
|
+
# whether Amazon EKS has distributed its trust to the Amazon Web
|
|
1405
|
+
# Services managed components in your cluster (the control plane,
|
|
1406
|
+
# Amazon EKS Auto Mode instances, and Amazon Web Services Fargate
|
|
1407
|
+
# nodes). Valid values are `IN_PROGRESS`, `COMPLETE`, `FAILED`, and
|
|
1408
|
+
# `DELETING`. A successor CA can only be activated after its
|
|
1409
|
+
# distribution status is `COMPLETE`.
|
|
1410
|
+
# @return [String]
|
|
1411
|
+
#
|
|
1412
|
+
# @!attribute [rw] validity
|
|
1413
|
+
# The validity period of the certificate authority's certificate.
|
|
1414
|
+
# @return [Types::CertificateAuthorityValidity]
|
|
1415
|
+
#
|
|
1416
|
+
# @!attribute [rw] scheduled_events
|
|
1417
|
+
# The scheduled auto-activation events for the certificate authority,
|
|
1418
|
+
# computed from its validity period.
|
|
1419
|
+
# @return [Types::CertificateAuthorityScheduledEvents]
|
|
1420
|
+
#
|
|
1421
|
+
# @!attribute [rw] rollback_available
|
|
1422
|
+
# Indicates whether CA rollback is still available for this
|
|
1423
|
+
# certificate authority. After you activate a successor CA, rollback
|
|
1424
|
+
# lets you revert to the outgoing CA for a limited period while you
|
|
1425
|
+
# finish updating any worker nodes or clients that were missed.
|
|
1426
|
+
# @return [Boolean]
|
|
1427
|
+
#
|
|
1428
|
+
# @!attribute [rw] data
|
|
1429
|
+
# The Base64-encoded public certificate of the certificate authority.
|
|
1430
|
+
# @return [String]
|
|
1431
|
+
#
|
|
1432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CertificateAuthority AWS API Documentation
|
|
1433
|
+
#
|
|
1434
|
+
class CertificateAuthority < Struct.new(
|
|
1435
|
+
:id,
|
|
1436
|
+
:created_at,
|
|
1437
|
+
:created_by,
|
|
1438
|
+
:activated_at,
|
|
1439
|
+
:activated_by,
|
|
1440
|
+
:signing_status,
|
|
1441
|
+
:distribution_status,
|
|
1442
|
+
:validity,
|
|
1443
|
+
:scheduled_events,
|
|
1444
|
+
:rollback_available,
|
|
1281
1445
|
:data)
|
|
1282
1446
|
SENSITIVE = []
|
|
1283
1447
|
include Aws::Structure
|
|
1284
1448
|
end
|
|
1285
1449
|
|
|
1450
|
+
# The scheduled events during which Amazon EKS may automatically
|
|
1451
|
+
# activate a certificate authority, computed from its validity period.
|
|
1452
|
+
# These events help ensure that a cluster's signing certificate
|
|
1453
|
+
# authority is rotated before its certificate expires.
|
|
1454
|
+
#
|
|
1455
|
+
# @!attribute [rw] first_auto_activation
|
|
1456
|
+
# The earliest Unix epoch timestamp in seconds at which Amazon EKS may
|
|
1457
|
+
# automatically activate this certificate authority.
|
|
1458
|
+
# @return [Time]
|
|
1459
|
+
#
|
|
1460
|
+
# @!attribute [rw] final_auto_activation
|
|
1461
|
+
# The Unix epoch timestamp in seconds by which Amazon EKS will
|
|
1462
|
+
# automatically activate this certificate authority if you haven't
|
|
1463
|
+
# already activated it.
|
|
1464
|
+
# @return [Time]
|
|
1465
|
+
#
|
|
1466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CertificateAuthorityScheduledEvents AWS API Documentation
|
|
1467
|
+
#
|
|
1468
|
+
class CertificateAuthorityScheduledEvents < Struct.new(
|
|
1469
|
+
:first_auto_activation,
|
|
1470
|
+
:final_auto_activation)
|
|
1471
|
+
SENSITIVE = []
|
|
1472
|
+
include Aws::Structure
|
|
1473
|
+
end
|
|
1474
|
+
|
|
1475
|
+
# Summary information about a certificate authority (CA) for an Amazon
|
|
1476
|
+
# EKS cluster, returned by [ `ListCertificateAuthorities` ][1] and the
|
|
1477
|
+
# certificate-authority write operations.
|
|
1478
|
+
#
|
|
1479
|
+
#
|
|
1480
|
+
#
|
|
1481
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_ListCertificateAuthorities.html
|
|
1482
|
+
#
|
|
1483
|
+
# @!attribute [rw] id
|
|
1484
|
+
# The unique identifier of the certificate authority.
|
|
1485
|
+
# @return [String]
|
|
1486
|
+
#
|
|
1487
|
+
# @!attribute [rw] created_at
|
|
1488
|
+
# The Unix epoch timestamp in seconds for when the certificate
|
|
1489
|
+
# authority was created.
|
|
1490
|
+
# @return [Time]
|
|
1491
|
+
#
|
|
1492
|
+
# @!attribute [rw] created_by
|
|
1493
|
+
# The entity that created the certificate authority, either `CUSTOMER`
|
|
1494
|
+
# or `EKS`.
|
|
1495
|
+
# @return [String]
|
|
1496
|
+
#
|
|
1497
|
+
# @!attribute [rw] activated_at
|
|
1498
|
+
# The Unix epoch timestamp in seconds for when the certificate
|
|
1499
|
+
# authority was last activated. This value is absent if the
|
|
1500
|
+
# certificate authority has never been activated.
|
|
1501
|
+
# @return [Time]
|
|
1502
|
+
#
|
|
1503
|
+
# @!attribute [rw] activated_by
|
|
1504
|
+
# The entity that most recently activated the certificate authority,
|
|
1505
|
+
# either `CUSTOMER` or `EKS`.
|
|
1506
|
+
# @return [String]
|
|
1507
|
+
#
|
|
1508
|
+
# @!attribute [rw] signing_status
|
|
1509
|
+
# The signing status of the certificate authority: `IN_USE`,
|
|
1510
|
+
# `ACTIVATING`, or `NOT_USED`.
|
|
1511
|
+
# @return [String]
|
|
1512
|
+
#
|
|
1513
|
+
# @!attribute [rw] distribution_status
|
|
1514
|
+
# The distribution status of the certificate authority: `IN_PROGRESS`,
|
|
1515
|
+
# `COMPLETE`, `FAILED`, or `DELETING`.
|
|
1516
|
+
# @return [String]
|
|
1517
|
+
#
|
|
1518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CertificateAuthoritySummary AWS API Documentation
|
|
1519
|
+
#
|
|
1520
|
+
class CertificateAuthoritySummary < Struct.new(
|
|
1521
|
+
:id,
|
|
1522
|
+
:created_at,
|
|
1523
|
+
:created_by,
|
|
1524
|
+
:activated_at,
|
|
1525
|
+
:activated_by,
|
|
1526
|
+
:signing_status,
|
|
1527
|
+
:distribution_status)
|
|
1528
|
+
SENSITIVE = []
|
|
1529
|
+
include Aws::Structure
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1532
|
+
# The validity period of a certificate authority's certificate.
|
|
1533
|
+
#
|
|
1534
|
+
# @!attribute [rw] not_before
|
|
1535
|
+
# The Unix epoch timestamp in seconds for the start of the certificate
|
|
1536
|
+
# authority's validity period.
|
|
1537
|
+
# @return [Time]
|
|
1538
|
+
#
|
|
1539
|
+
# @!attribute [rw] not_after
|
|
1540
|
+
# The Unix epoch timestamp in seconds for the end of the certificate
|
|
1541
|
+
# authority's validity period.
|
|
1542
|
+
# @return [Time]
|
|
1543
|
+
#
|
|
1544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CertificateAuthorityValidity AWS API Documentation
|
|
1545
|
+
#
|
|
1546
|
+
class CertificateAuthorityValidity < Struct.new(
|
|
1547
|
+
:not_before,
|
|
1548
|
+
:not_after)
|
|
1549
|
+
SENSITIVE = []
|
|
1550
|
+
include Aws::Structure
|
|
1551
|
+
end
|
|
1552
|
+
|
|
1286
1553
|
# These errors are usually caused by a client action. Actions can
|
|
1287
1554
|
# include using an action or resource on behalf of an [IAM principal][1]
|
|
1288
1555
|
# that doesn't have permissions to use the action or resource or
|
|
@@ -2398,6 +2665,47 @@ module Aws::EKS
|
|
|
2398
2665
|
include Aws::Structure
|
|
2399
2666
|
end
|
|
2400
2667
|
|
|
2668
|
+
# @!attribute [rw] cluster_name
|
|
2669
|
+
# The name of your cluster.
|
|
2670
|
+
# @return [String]
|
|
2671
|
+
#
|
|
2672
|
+
# @!attribute [rw] client_request_token
|
|
2673
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
2674
|
+
# idempotency of the request.
|
|
2675
|
+
#
|
|
2676
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2677
|
+
# not need to pass this option.
|
|
2678
|
+
# @return [String]
|
|
2679
|
+
#
|
|
2680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCertificateAuthorityRequest AWS API Documentation
|
|
2681
|
+
#
|
|
2682
|
+
class CreateCertificateAuthorityRequest < Struct.new(
|
|
2683
|
+
:cluster_name,
|
|
2684
|
+
:client_request_token)
|
|
2685
|
+
SENSITIVE = []
|
|
2686
|
+
include Aws::Structure
|
|
2687
|
+
end
|
|
2688
|
+
|
|
2689
|
+
# @!attribute [rw] update
|
|
2690
|
+
# An object representing the asynchronous update that adds the
|
|
2691
|
+
# certificate authority to the cluster's trust bundle.
|
|
2692
|
+
# @return [Types::Update]
|
|
2693
|
+
#
|
|
2694
|
+
# @!attribute [rw] certificate_authority
|
|
2695
|
+
# Summary information about the certificate authority that was
|
|
2696
|
+
# created, including its ID and initial signing and distribution
|
|
2697
|
+
# status.
|
|
2698
|
+
# @return [Types::CertificateAuthoritySummary]
|
|
2699
|
+
#
|
|
2700
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCertificateAuthorityResponse AWS API Documentation
|
|
2701
|
+
#
|
|
2702
|
+
class CreateCertificateAuthorityResponse < Struct.new(
|
|
2703
|
+
:update,
|
|
2704
|
+
:certificate_authority)
|
|
2705
|
+
SENSITIVE = []
|
|
2706
|
+
include Aws::Structure
|
|
2707
|
+
end
|
|
2708
|
+
|
|
2401
2709
|
# @!attribute [rw] name
|
|
2402
2710
|
# The unique name to give to your cluster. The name can contain only
|
|
2403
2711
|
# alphanumeric characters (case-sensitive), hyphens, and underscores.
|
|
@@ -3292,6 +3600,53 @@ module Aws::EKS
|
|
|
3292
3600
|
include Aws::Structure
|
|
3293
3601
|
end
|
|
3294
3602
|
|
|
3603
|
+
# @!attribute [rw] cluster_name
|
|
3604
|
+
# The name of your cluster.
|
|
3605
|
+
# @return [String]
|
|
3606
|
+
#
|
|
3607
|
+
# @!attribute [rw] certificate_authority_id
|
|
3608
|
+
# The ID of the certificate authority to delete. You can't delete the
|
|
3609
|
+
# certificate authority that's currently signing certificates for the
|
|
3610
|
+
# cluster.
|
|
3611
|
+
# @return [String]
|
|
3612
|
+
#
|
|
3613
|
+
# @!attribute [rw] client_request_token
|
|
3614
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
3615
|
+
# idempotency of the request.
|
|
3616
|
+
#
|
|
3617
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3618
|
+
# not need to pass this option.
|
|
3619
|
+
# @return [String]
|
|
3620
|
+
#
|
|
3621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCertificateAuthorityRequest AWS API Documentation
|
|
3622
|
+
#
|
|
3623
|
+
class DeleteCertificateAuthorityRequest < Struct.new(
|
|
3624
|
+
:cluster_name,
|
|
3625
|
+
:certificate_authority_id,
|
|
3626
|
+
:client_request_token)
|
|
3627
|
+
SENSITIVE = []
|
|
3628
|
+
include Aws::Structure
|
|
3629
|
+
end
|
|
3630
|
+
|
|
3631
|
+
# @!attribute [rw] update
|
|
3632
|
+
# An object representing the asynchronous update that removes the
|
|
3633
|
+
# certificate authority from the cluster's trust bundle.
|
|
3634
|
+
# @return [Types::Update]
|
|
3635
|
+
#
|
|
3636
|
+
# @!attribute [rw] certificate_authority
|
|
3637
|
+
# Summary information about the certificate authority that is being
|
|
3638
|
+
# deleted.
|
|
3639
|
+
# @return [Types::CertificateAuthoritySummary]
|
|
3640
|
+
#
|
|
3641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCertificateAuthorityResponse AWS API Documentation
|
|
3642
|
+
#
|
|
3643
|
+
class DeleteCertificateAuthorityResponse < Struct.new(
|
|
3644
|
+
:update,
|
|
3645
|
+
:certificate_authority)
|
|
3646
|
+
SENSITIVE = []
|
|
3647
|
+
include Aws::Structure
|
|
3648
|
+
end
|
|
3649
|
+
|
|
3295
3650
|
# @!attribute [rw] name
|
|
3296
3651
|
# The name of the cluster to delete.
|
|
3297
3652
|
# @return [String]
|
|
@@ -3742,6 +4097,36 @@ module Aws::EKS
|
|
|
3742
4097
|
include Aws::Structure
|
|
3743
4098
|
end
|
|
3744
4099
|
|
|
4100
|
+
# @!attribute [rw] cluster_name
|
|
4101
|
+
# The name of your cluster.
|
|
4102
|
+
# @return [String]
|
|
4103
|
+
#
|
|
4104
|
+
# @!attribute [rw] certificate_authority_id
|
|
4105
|
+
# The ID of the certificate authority to describe.
|
|
4106
|
+
# @return [String]
|
|
4107
|
+
#
|
|
4108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeCertificateAuthorityRequest AWS API Documentation
|
|
4109
|
+
#
|
|
4110
|
+
class DescribeCertificateAuthorityRequest < Struct.new(
|
|
4111
|
+
:cluster_name,
|
|
4112
|
+
:certificate_authority_id)
|
|
4113
|
+
SENSITIVE = []
|
|
4114
|
+
include Aws::Structure
|
|
4115
|
+
end
|
|
4116
|
+
|
|
4117
|
+
# @!attribute [rw] certificate_authority
|
|
4118
|
+
# An object containing detailed information about the certificate
|
|
4119
|
+
# authority.
|
|
4120
|
+
# @return [Types::CertificateAuthority]
|
|
4121
|
+
#
|
|
4122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeCertificateAuthorityResponse AWS API Documentation
|
|
4123
|
+
#
|
|
4124
|
+
class DescribeCertificateAuthorityResponse < Struct.new(
|
|
4125
|
+
:certificate_authority)
|
|
4126
|
+
SENSITIVE = []
|
|
4127
|
+
include Aws::Structure
|
|
4128
|
+
end
|
|
4129
|
+
|
|
3745
4130
|
# @!attribute [rw] name
|
|
3746
4131
|
# The name of your cluster.
|
|
3747
4132
|
# @return [String]
|
|
@@ -5800,6 +6185,70 @@ module Aws::EKS
|
|
|
5800
6185
|
include Aws::Structure
|
|
5801
6186
|
end
|
|
5802
6187
|
|
|
6188
|
+
# @!attribute [rw] cluster_name
|
|
6189
|
+
# The name of your cluster.
|
|
6190
|
+
# @return [String]
|
|
6191
|
+
#
|
|
6192
|
+
# @!attribute [rw] max_results
|
|
6193
|
+
# The maximum number of results to return in a single call. To
|
|
6194
|
+
# retrieve the remaining results, make another call with the returned
|
|
6195
|
+
# `nextToken` value. If you don't specify a value, the default is 100
|
|
6196
|
+
# results.
|
|
6197
|
+
# @return [Integer]
|
|
6198
|
+
#
|
|
6199
|
+
# @!attribute [rw] next_token
|
|
6200
|
+
# The `nextToken` value returned from a previous paginated request,
|
|
6201
|
+
# where `maxResults` was used and the results exceeded the value of
|
|
6202
|
+
# that parameter. Pagination continues from the end of the previous
|
|
6203
|
+
# results that returned the `nextToken` value. This value is null when
|
|
6204
|
+
# there are no more results to return.
|
|
6205
|
+
#
|
|
6206
|
+
# <note markdown="1"> This token should be treated as an opaque identifier that is used
|
|
6207
|
+
# only to retrieve the next items in a list and not for other
|
|
6208
|
+
# programmatic purposes.
|
|
6209
|
+
#
|
|
6210
|
+
# </note>
|
|
6211
|
+
# @return [String]
|
|
6212
|
+
#
|
|
6213
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListCertificateAuthoritiesRequest AWS API Documentation
|
|
6214
|
+
#
|
|
6215
|
+
class ListCertificateAuthoritiesRequest < Struct.new(
|
|
6216
|
+
:cluster_name,
|
|
6217
|
+
:max_results,
|
|
6218
|
+
:next_token)
|
|
6219
|
+
SENSITIVE = []
|
|
6220
|
+
include Aws::Structure
|
|
6221
|
+
end
|
|
6222
|
+
|
|
6223
|
+
# @!attribute [rw] certificate_authorities
|
|
6224
|
+
# A list of certificate authority summary objects, each containing
|
|
6225
|
+
# basic information about a certificate authority, including its ID,
|
|
6226
|
+
# signing status, and distribution status.
|
|
6227
|
+
# @return [Array<Types::CertificateAuthoritySummary>]
|
|
6228
|
+
#
|
|
6229
|
+
# @!attribute [rw] next_token
|
|
6230
|
+
# The `nextToken` value to include in a future
|
|
6231
|
+
# `ListCertificateAuthorities` request. When the results of a
|
|
6232
|
+
# `ListCertificateAuthorities` request exceed `maxResults`, you can
|
|
6233
|
+
# use this value to retrieve the next page of results. This value is
|
|
6234
|
+
# null when there are no more results to return.
|
|
6235
|
+
#
|
|
6236
|
+
# <note markdown="1"> This token should be treated as an opaque identifier that is used
|
|
6237
|
+
# only to retrieve the next items in a list and not for other
|
|
6238
|
+
# programmatic purposes.
|
|
6239
|
+
#
|
|
6240
|
+
# </note>
|
|
6241
|
+
# @return [String]
|
|
6242
|
+
#
|
|
6243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListCertificateAuthoritiesResponse AWS API Documentation
|
|
6244
|
+
#
|
|
6245
|
+
class ListCertificateAuthoritiesResponse < Struct.new(
|
|
6246
|
+
:certificate_authorities,
|
|
6247
|
+
:next_token)
|
|
6248
|
+
SENSITIVE = []
|
|
6249
|
+
include Aws::Structure
|
|
6250
|
+
end
|
|
6251
|
+
|
|
5803
6252
|
# @!attribute [rw] max_results
|
|
5804
6253
|
# The maximum number of results, returned in paginated output. You
|
|
5805
6254
|
# receive `maxResults` in a single page, along with a `nextToken`
|
data/lib/aws-sdk-eks/waiters.rb
CHANGED
|
@@ -67,16 +67,17 @@ module Aws::EKS
|
|
|
67
67
|
# The following table lists the valid waiter names, the operations they call,
|
|
68
68
|
# and the default `:delay` and `:max_attempts` values.
|
|
69
69
|
#
|
|
70
|
-
# | waiter_name
|
|
71
|
-
# |
|
|
72
|
-
# | addon_active
|
|
73
|
-
# | addon_deleted
|
|
74
|
-
# |
|
|
75
|
-
# |
|
|
76
|
-
# |
|
|
77
|
-
# |
|
|
78
|
-
# |
|
|
79
|
-
# |
|
|
70
|
+
# | waiter_name | params | :delay | :max_attempts |
|
|
71
|
+
# | ------------------------------------- | --------------------------------- | -------- | ------------- |
|
|
72
|
+
# | addon_active | {Client#describe_addon} | 10 | 60 |
|
|
73
|
+
# | addon_deleted | {Client#describe_addon} | 10 | 60 |
|
|
74
|
+
# | certificate_authority_update_complete | {Client#describe_update} | 30 | 40 |
|
|
75
|
+
# | cluster_active | {Client#describe_cluster} | 30 | 40 |
|
|
76
|
+
# | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
|
|
77
|
+
# | fargate_profile_active | {Client#describe_fargate_profile} | 10 | 60 |
|
|
78
|
+
# | fargate_profile_deleted | {Client#describe_fargate_profile} | 30 | 60 |
|
|
79
|
+
# | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
|
|
80
|
+
# | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
|
|
80
81
|
#
|
|
81
82
|
module Waiters
|
|
82
83
|
|
|
@@ -173,6 +174,56 @@ module Aws::EKS
|
|
|
173
174
|
|
|
174
175
|
end
|
|
175
176
|
|
|
177
|
+
class CertificateAuthorityUpdateComplete
|
|
178
|
+
|
|
179
|
+
# @param [Hash] options
|
|
180
|
+
# @option options [required, Client] :client
|
|
181
|
+
# @option options [Integer] :max_attempts (40)
|
|
182
|
+
# @option options [Integer] :delay (30)
|
|
183
|
+
# @option options [Proc] :before_attempt
|
|
184
|
+
# @option options [Proc] :before_wait
|
|
185
|
+
def initialize(options)
|
|
186
|
+
@client = options.fetch(:client)
|
|
187
|
+
@waiter = Aws::Waiters::Waiter.new({
|
|
188
|
+
max_attempts: 40,
|
|
189
|
+
delay: 30,
|
|
190
|
+
poller: Aws::Waiters::Poller.new(
|
|
191
|
+
operation_name: :describe_update,
|
|
192
|
+
acceptors: [
|
|
193
|
+
{
|
|
194
|
+
"expected" => "Failed",
|
|
195
|
+
"matcher" => "path",
|
|
196
|
+
"state" => "failure",
|
|
197
|
+
"argument" => "update.status"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"expected" => "Cancelled",
|
|
201
|
+
"matcher" => "path",
|
|
202
|
+
"state" => "failure",
|
|
203
|
+
"argument" => "update.status"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"expected" => "Successful",
|
|
207
|
+
"matcher" => "path",
|
|
208
|
+
"state" => "success",
|
|
209
|
+
"argument" => "update.status"
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
)
|
|
213
|
+
}.merge(options))
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
# @option (see Client#describe_update)
|
|
217
|
+
# @return (see Client#describe_update)
|
|
218
|
+
def wait(params = {})
|
|
219
|
+
@waiter.wait(client: @client, params: params)
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# @api private
|
|
223
|
+
attr_reader :waiter
|
|
224
|
+
|
|
225
|
+
end
|
|
226
|
+
|
|
176
227
|
class ClusterActive
|
|
177
228
|
|
|
178
229
|
# @param [Hash] options
|
data/lib/aws-sdk-eks.rb
CHANGED
|
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:eks)
|
|
|
23
23
|
# structure.
|
|
24
24
|
#
|
|
25
25
|
# eks = Aws::EKS::Client.new
|
|
26
|
-
# resp = eks.
|
|
26
|
+
# resp = eks.activate_certificate_authority(params)
|
|
27
27
|
#
|
|
28
28
|
# See {Client} for more information.
|
|
29
29
|
#
|
|
@@ -55,7 +55,7 @@ module Aws::EKS
|
|
|
55
55
|
autoload :EndpointProvider, 'aws-sdk-eks/endpoint_provider'
|
|
56
56
|
autoload :Endpoints, 'aws-sdk-eks/endpoints'
|
|
57
57
|
|
|
58
|
-
GEM_VERSION = '1.
|
|
58
|
+
GEM_VERSION = '1.174.0'
|
|
59
59
|
|
|
60
60
|
end
|
|
61
61
|
|