aws-sdk-eks 1.14.0 → 1.15.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
  SHA1:
3
- metadata.gz: 7ae215d4f5408dc92a34264a8a70e37b4a5c1afe
4
- data.tar.gz: 61bb96b83ac2576723480461642ed732bf8ee384
3
+ metadata.gz: 364976502d73abb8b30869de82b5433b91169918
4
+ data.tar.gz: 24d363216107c6e1869c0296ee05a05887603ea7
5
5
  SHA512:
6
- metadata.gz: 323c507ec5f1cb2ee6bc26e3cb7f8d542ed44d17f5db05d62ab22283f51e15b742b1feb1c6d2df6234ba688328e6e89eab7d97aecd5e65ec65deefb948c96310
7
- data.tar.gz: 59f3bc5f098e1f8fb5e5d182085e53ed7aed59e7685cb6a09b21bdf5165ad7e6ea48ffc12b0c081d5b1774334b0f5f757199324a38a1fdaf66937230087c7ce1
6
+ metadata.gz: 63dbb6edc77790416db1c9f26b65d75a5067dc068c8658cad2188f144be40ed194242133c3e876a90d2e97fb2e8812ad8aba9b3eeca07ba04d1b1142e729d787
7
+ data.tar.gz: 9890be1ed783dd2cef5f778aa19ed2763f554e32e77bf6cfeba6bc7ab7f8227e6e1fbbc64a8606b5e15d13153b9a5f7b4b95d4baf74990138fa0b04ae3b27575
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-eks/customizations'
43
43
  # @service
44
44
  module Aws::EKS
45
45
 
46
- GEM_VERSION = '1.14.0'
46
+ GEM_VERSION = '1.15.0'
47
47
 
48
48
  end
@@ -199,6 +199,49 @@ module Aws::EKS
199
199
  # When `true`, request parameters are validated before
200
200
  # sending the request.
201
201
  #
202
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
203
+ # requests through. Formatted like 'http://proxy.com:123'.
204
+ #
205
+ # @option options [Float] :http_open_timeout (15) The number of
206
+ # seconds to wait when opening a HTTP session before rasing a
207
+ # `Timeout::Error`.
208
+ #
209
+ # @option options [Integer] :http_read_timeout (60) The default
210
+ # number of seconds to wait for response data. This value can
211
+ # safely be set
212
+ # per-request on the session yeidled by {#session_for}.
213
+ #
214
+ # @option options [Float] :http_idle_timeout (5) The number of
215
+ # seconds a connection is allowed to sit idble before it is
216
+ # considered stale. Stale connections are closed and removed
217
+ # from the pool before making a request.
218
+ #
219
+ # @option options [Float] :http_continue_timeout (1) The number of
220
+ # seconds to wait for a 100-continue response before sending the
221
+ # request body. This option has no effect unless the request has
222
+ # "Expect" header set to "100-continue". Defaults to `nil` which
223
+ # disables this behaviour. This value can safely be set per
224
+ # request on the session yeidled by {#session_for}.
225
+ #
226
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
227
+ # HTTP debug output will be sent to the `:logger`.
228
+ #
229
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
230
+ # SSL peer certificates are verified when establishing a
231
+ # connection.
232
+ #
233
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
234
+ # certificate authority bundle file that should be used when
235
+ # verifying peer certificates. If you do not pass
236
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
237
+ # will be used if available.
238
+ #
239
+ # @option options [String] :ssl_ca_directory Full path of the
240
+ # directory that contains the unbundled SSL certificate
241
+ # authority files for verifying peer certificates. If you do
242
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
243
+ # system default will be used if available.
244
+ #
202
245
  def initialize(*args)
203
246
  super
204
247
  end
@@ -210,11 +253,9 @@ module Aws::EKS
210
253
  # The Amazon EKS control plane consists of control plane instances that
211
254
  # run the Kubernetes software, like `etcd` and the API server. The
212
255
  # control plane runs in an account managed by AWS, and the Kubernetes
213
- # API is exposed via the Amazon EKS API server endpoint.
214
- #
215
- # Amazon EKS worker nodes run in your AWS account and connect to your
216
- # cluster's control plane via the Kubernetes API server endpoint and a
217
- # certificate file that is created for your cluster.
256
+ # API is exposed via the Amazon EKS API server endpoint. Each Amazon EKS
257
+ # cluster control plane is single-tenant and unique, and runs on its own
258
+ # set of Amazon EC2 instances.
218
259
  #
219
260
  # The cluster control plane is provisioned across multiple Availability
220
261
  # Zones and fronted by an Elastic Load Balancing Network Load Balancer.
@@ -223,16 +264,43 @@ module Aws::EKS
223
264
  # the worker nodes (for example, to support `kubectl exec`, `logs`, and
224
265
  # `proxy` data flows).
225
266
  #
226
- # After you create an Amazon EKS cluster, you must configure your
227
- # Kubernetes tooling to communicate with the API server and launch
228
- # worker nodes into your cluster. For more information, see [Managing
229
- # Cluster Authentication][1] and [Launching Amazon EKS Worker
230
- # Nodes][2]in the *Amazon EKS User Guide*.
267
+ # Amazon EKS worker nodes run in your AWS account and connect to your
268
+ # cluster's control plane via the Kubernetes API server endpoint and a
269
+ # certificate file that is created for your cluster.
270
+ #
271
+ # You can use the `endpointPublicAccess` and `endpointPrivateAccess`
272
+ # parameters to enable or disable public and private access to your
273
+ # cluster's Kubernetes API server endpoint. By default, public access
274
+ # is enabled and private access is disabled. For more information, see
275
+ # [Amazon EKS Cluster Endpoint Access Control][1] in the <i> <i>Amazon
276
+ # EKS User Guide</i> </i>.
231
277
  #
278
+ # You can use the `logging` parameter to enable or disable exporting the
279
+ # Kubernetes control plane logs for your cluster to CloudWatch Logs. By
280
+ # default, cluster control plane logs are not exported to CloudWatch
281
+ # Logs. For more information, see [Amazon EKS Cluster Control Plane
282
+ # Logs][2] in the <i> <i>Amazon EKS User Guide</i> </i>.
232
283
  #
284
+ # <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
285
+ # apply to exported control plane logs. For more information, see
286
+ # [Amazon CloudWatch Pricing][3].
287
+ #
288
+ # </note>
289
+ #
290
+ # Cluster creation typically takes between 10 and 15 minutes. After you
291
+ # create an Amazon EKS cluster, you must configure your Kubernetes
292
+ # tooling to communicate with the API server and launch worker nodes
293
+ # into your cluster. For more information, see [Managing Cluster
294
+ # Authentication][4] and [Launching Amazon EKS Worker Nodes][5] in the
295
+ # *Amazon EKS User Guide*.
233
296
  #
234
- # [1]: https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html
235
- # [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html
297
+ #
298
+ #
299
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
300
+ # [2]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
301
+ # [3]: http://aws.amazon.com/cloudwatch/pricing/
302
+ # [4]: https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html
303
+ # [5]: https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html
236
304
  #
237
305
  # @option params [required, String] :name
238
306
  # The unique name to give to your cluster.
@@ -265,6 +333,24 @@ module Aws::EKS
265
333
  # [1]: https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html
266
334
  # [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
267
335
  #
336
+ # @option params [Types::Logging] :logging
337
+ # Enable or disable exporting the Kubernetes control plane logs for your
338
+ # cluster to CloudWatch Logs. By default, cluster control plane logs are
339
+ # not exported to CloudWatch Logs. For more information, see [Amazon EKS
340
+ # Cluster Control Plane Logs][1] in the <i> <i>Amazon EKS User Guide</i>
341
+ # </i>.
342
+ #
343
+ # <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
344
+ # apply to exported control plane logs. For more information, see
345
+ # [Amazon CloudWatch Pricing][2].
346
+ #
347
+ # </note>
348
+ #
349
+ #
350
+ #
351
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
352
+ # [2]: http://aws.amazon.com/cloudwatch/pricing/
353
+ #
268
354
  # @option params [String] :client_request_token
269
355
  # Unique, case-sensitive identifier that you provide to ensure the
270
356
  # idempotency of the request.
@@ -313,6 +399,14 @@ module Aws::EKS
313
399
  # endpoint_public_access: false,
314
400
  # endpoint_private_access: false,
315
401
  # },
402
+ # logging: {
403
+ # cluster_logging: [
404
+ # {
405
+ # types: ["api"], # accepts api, audit, authenticator, controllerManager, scheduler
406
+ # enabled: false,
407
+ # },
408
+ # ],
409
+ # },
316
410
  # client_request_token: "String",
317
411
  # })
318
412
  #
@@ -331,6 +425,10 @@ module Aws::EKS
331
425
  # resp.cluster.resources_vpc_config.vpc_id #=> String
332
426
  # resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
333
427
  # resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
428
+ # resp.cluster.logging.cluster_logging #=> Array
429
+ # resp.cluster.logging.cluster_logging[0].types #=> Array
430
+ # resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
431
+ # resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
334
432
  # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED"
335
433
  # resp.cluster.certificate_authority.data #=> String
336
434
  # resp.cluster.client_request_token #=> String
@@ -401,6 +499,10 @@ module Aws::EKS
401
499
  # resp.cluster.resources_vpc_config.vpc_id #=> String
402
500
  # resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
403
501
  # resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
502
+ # resp.cluster.logging.cluster_logging #=> Array
503
+ # resp.cluster.logging.cluster_logging[0].types #=> Array
504
+ # resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
505
+ # resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
404
506
  # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED"
405
507
  # resp.cluster.certificate_authority.data #=> String
406
508
  # resp.cluster.client_request_token #=> String
@@ -494,6 +596,10 @@ module Aws::EKS
494
596
  # resp.cluster.resources_vpc_config.vpc_id #=> String
495
597
  # resp.cluster.resources_vpc_config.endpoint_public_access #=> Boolean
496
598
  # resp.cluster.resources_vpc_config.endpoint_private_access #=> Boolean
599
+ # resp.cluster.logging.cluster_logging #=> Array
600
+ # resp.cluster.logging.cluster_logging[0].types #=> Array
601
+ # resp.cluster.logging.cluster_logging[0].types[0] #=> String, one of "api", "audit", "authenticator", "controllerManager", "scheduler"
602
+ # resp.cluster.logging.cluster_logging[0].enabled #=> Boolean
497
603
  # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED"
498
604
  # resp.cluster.certificate_authority.data #=> String
499
605
  # resp.cluster.client_request_token #=> String
@@ -536,9 +642,9 @@ module Aws::EKS
536
642
  #
537
643
  # resp.update.id #=> String
538
644
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
539
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate"
645
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate"
540
646
  # resp.update.params #=> Array
541
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess"
647
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging"
542
648
  # resp.update.params[0].value #=> String
543
649
  # resp.update.created_at #=> Time
544
650
  # resp.update.errors #=> Array
@@ -679,10 +785,23 @@ module Aws::EKS
679
785
  # that you can use to track the status of your cluster update with the
680
786
  # DescribeUpdate API operation.
681
787
  #
682
- # Currently, the only cluster configuration changes supported are to
683
- # enable or disable Amazon EKS public and private API server endpoints.
684
- # For more information, see [Amazon EKS Cluster Endpoint Access
685
- # Control][1] in the <i> <i>Amazon EKS User Guide</i> </i>.
788
+ # You can use this API operation to enable or disable public and private
789
+ # access to your cluster's Kubernetes API server endpoint. By default,
790
+ # public access is enabled and private access is disabled. For more
791
+ # information, see [Amazon EKS Cluster Endpoint Access Control][1] in
792
+ # the <i> <i>Amazon EKS User Guide</i> </i>.
793
+ #
794
+ # You can also use this API operation to enable or disable exporting the
795
+ # Kubernetes control plane logs for your cluster to CloudWatch Logs. By
796
+ # default, cluster control plane logs are not exported to CloudWatch
797
+ # Logs. For more information, see [Amazon EKS Cluster Control Plane
798
+ # Logs][2] in the <i> <i>Amazon EKS User Guide</i> </i>.
799
+ #
800
+ # <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
801
+ # apply to exported control plane logs. For more information, see
802
+ # [Amazon CloudWatch Pricing][3].
803
+ #
804
+ # </note>
686
805
  #
687
806
  # Cluster updates are asynchronous, and they should finish within a few
688
807
  # minutes. During an update, the cluster status moves to `UPDATING`
@@ -693,13 +812,33 @@ module Aws::EKS
693
812
  #
694
813
  #
695
814
  # [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
815
+ # [2]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
816
+ # [3]: http://aws.amazon.com/cloudwatch/pricing/
696
817
  #
697
818
  # @option params [required, String] :name
698
819
  # The name of the Amazon EKS cluster to update.
699
820
  #
700
821
  # @option params [Types::VpcConfigRequest] :resources_vpc_config
701
- # An object representing an Amazon EKS cluster VPC configuration
702
- # request.
822
+ # An object representing the VPC configuration to use for an Amazon EKS
823
+ # cluster.
824
+ #
825
+ # @option params [Types::Logging] :logging
826
+ # Enable or disable exporting the Kubernetes control plane logs for your
827
+ # cluster to CloudWatch Logs. By default, cluster control plane logs are
828
+ # not exported to CloudWatch Logs. For more information, see [Amazon EKS
829
+ # Cluster Control Plane Logs][1] in the <i> <i>Amazon EKS User Guide</i>
830
+ # </i>.
831
+ #
832
+ # <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
833
+ # apply to exported control plane logs. For more information, see
834
+ # [Amazon CloudWatch Pricing][2].
835
+ #
836
+ # </note>
837
+ #
838
+ #
839
+ #
840
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
841
+ # [2]: http://aws.amazon.com/cloudwatch/pricing/
703
842
  #
704
843
  # @option params [String] :client_request_token
705
844
  # Unique, case-sensitive identifier that you provide to ensure the
@@ -722,6 +861,14 @@ module Aws::EKS
722
861
  # endpoint_public_access: false,
723
862
  # endpoint_private_access: false,
724
863
  # },
864
+ # logging: {
865
+ # cluster_logging: [
866
+ # {
867
+ # types: ["api"], # accepts api, audit, authenticator, controllerManager, scheduler
868
+ # enabled: false,
869
+ # },
870
+ # ],
871
+ # },
725
872
  # client_request_token: "String",
726
873
  # })
727
874
  #
@@ -729,9 +876,9 @@ module Aws::EKS
729
876
  #
730
877
  # resp.update.id #=> String
731
878
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
732
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate"
879
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate"
733
880
  # resp.update.params #=> Array
734
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess"
881
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging"
735
882
  # resp.update.params[0].value #=> String
736
883
  # resp.update.created_at #=> Time
737
884
  # resp.update.errors #=> Array
@@ -789,9 +936,9 @@ module Aws::EKS
789
936
  #
790
937
  # resp.update.id #=> String
791
938
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
792
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate"
939
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate"
793
940
  # resp.update.params #=> Array
794
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess"
941
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging"
795
942
  # resp.update.params[0].value #=> String
796
943
  # resp.update.created_at #=> Time
797
944
  # resp.update.errors #=> Array
@@ -822,7 +969,7 @@ module Aws::EKS
822
969
  params: params,
823
970
  config: config)
824
971
  context[:gem_name] = 'aws-sdk-eks'
825
- context[:gem_version] = '1.14.0'
972
+ context[:gem_version] = '1.15.0'
826
973
  Seahorse::Client::Request.new(handlers, context)
827
974
  end
828
975
 
@@ -37,6 +37,11 @@ module Aws::EKS
37
37
  ListUpdatesRequest = Shapes::StructureShape.new(name: 'ListUpdatesRequest')
38
38
  ListUpdatesRequestMaxResults = Shapes::IntegerShape.new(name: 'ListUpdatesRequestMaxResults')
39
39
  ListUpdatesResponse = Shapes::StructureShape.new(name: 'ListUpdatesResponse')
40
+ LogSetup = Shapes::StructureShape.new(name: 'LogSetup')
41
+ LogSetups = Shapes::ListShape.new(name: 'LogSetups')
42
+ LogType = Shapes::StringShape.new(name: 'LogType')
43
+ LogTypes = Shapes::ListShape.new(name: 'LogTypes')
44
+ Logging = Shapes::StructureShape.new(name: 'Logging')
40
45
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
41
46
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
42
47
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -69,6 +74,7 @@ module Aws::EKS
69
74
  Cluster.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
70
75
  Cluster.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
71
76
  Cluster.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigResponse, location_name: "resourcesVpcConfig"))
77
+ Cluster.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
72
78
  Cluster.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, location_name: "status"))
73
79
  Cluster.add_member(:certificate_authority, Shapes::ShapeRef.new(shape: Certificate, location_name: "certificateAuthority"))
74
80
  Cluster.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken"))
@@ -79,6 +85,7 @@ module Aws::EKS
79
85
  CreateClusterRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
80
86
  CreateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "roleArn"))
81
87
  CreateClusterRequest.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigRequest, required: true, location_name: "resourcesVpcConfig"))
88
+ CreateClusterRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
82
89
  CreateClusterRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
83
90
  CreateClusterRequest.struct_class = Types::CreateClusterRequest
84
91
 
@@ -128,6 +135,17 @@ module Aws::EKS
128
135
  ListUpdatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
129
136
  ListUpdatesResponse.struct_class = Types::ListUpdatesResponse
130
137
 
138
+ LogSetup.add_member(:types, Shapes::ShapeRef.new(shape: LogTypes, location_name: "types"))
139
+ LogSetup.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enabled"))
140
+ LogSetup.struct_class = Types::LogSetup
141
+
142
+ LogSetups.member = Shapes::ShapeRef.new(shape: LogSetup)
143
+
144
+ LogTypes.member = Shapes::ShapeRef.new(shape: LogType)
145
+
146
+ Logging.add_member(:cluster_logging, Shapes::ShapeRef.new(shape: LogSetups, location_name: "clusterLogging"))
147
+ Logging.struct_class = Types::Logging
148
+
131
149
  StringList.member = Shapes::ShapeRef.new(shape: String)
132
150
 
133
151
  Update.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
@@ -140,6 +158,7 @@ module Aws::EKS
140
158
 
141
159
  UpdateClusterConfigRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
142
160
  UpdateClusterConfigRequest.add_member(:resources_vpc_config, Shapes::ShapeRef.new(shape: VpcConfigRequest, location_name: "resourcesVpcConfig"))
161
+ UpdateClusterConfigRequest.add_member(:logging, Shapes::ShapeRef.new(shape: Logging, location_name: "logging"))
143
162
  UpdateClusterConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
144
163
  UpdateClusterConfigRequest.struct_class = Types::UpdateClusterConfigRequest
145
164
 
@@ -66,6 +66,10 @@ module Aws::EKS
66
66
  # [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
67
67
  # @return [Types::VpcConfigResponse]
68
68
  #
69
+ # @!attribute [rw] logging
70
+ # The logging configuration for your cluster.
71
+ # @return [Types::Logging]
72
+ #
69
73
  # @!attribute [rw] status
70
74
  # The current status of the cluster.
71
75
  # @return [String]
@@ -99,6 +103,7 @@ module Aws::EKS
99
103
  :endpoint,
100
104
  :role_arn,
101
105
  :resources_vpc_config,
106
+ :logging,
102
107
  :status,
103
108
  :certificate_authority,
104
109
  :client_request_token,
@@ -119,6 +124,14 @@ module Aws::EKS
119
124
  # endpoint_public_access: false,
120
125
  # endpoint_private_access: false,
121
126
  # },
127
+ # logging: {
128
+ # cluster_logging: [
129
+ # {
130
+ # types: ["api"], # accepts api, audit, authenticator, controllerManager, scheduler
131
+ # enabled: false,
132
+ # },
133
+ # ],
134
+ # },
122
135
  # client_request_token: "String",
123
136
  # }
124
137
  #
@@ -158,6 +171,25 @@ module Aws::EKS
158
171
  # [2]: https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html
159
172
  # @return [Types::VpcConfigRequest]
160
173
  #
174
+ # @!attribute [rw] logging
175
+ # Enable or disable exporting the Kubernetes control plane logs for
176
+ # your cluster to CloudWatch Logs. By default, cluster control plane
177
+ # logs are not exported to CloudWatch Logs. For more information, see
178
+ # [Amazon EKS Cluster Control Plane Logs][1] in the <i> <i>Amazon EKS
179
+ # User Guide</i> </i>.
180
+ #
181
+ # <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
182
+ # apply to exported control plane logs. For more information, see
183
+ # [Amazon CloudWatch Pricing][2].
184
+ #
185
+ # </note>
186
+ #
187
+ #
188
+ #
189
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
190
+ # [2]: http://aws.amazon.com/cloudwatch/pricing/
191
+ # @return [Types::Logging]
192
+ #
161
193
  # @!attribute [rw] client_request_token
162
194
  # Unique, case-sensitive identifier that you provide to ensure the
163
195
  # idempotency of the request.
@@ -173,6 +205,7 @@ module Aws::EKS
173
205
  :version,
174
206
  :role_arn,
175
207
  :resources_vpc_config,
208
+ :logging,
176
209
  :client_request_token)
177
210
  include Aws::Structure
178
211
  end
@@ -446,6 +479,62 @@ module Aws::EKS
446
479
  include Aws::Structure
447
480
  end
448
481
 
482
+ # An object representing the enabled or disabled Kubernetes control
483
+ # plane logs for your cluster.
484
+ #
485
+ # @note When making an API call, you may pass LogSetup
486
+ # data as a hash:
487
+ #
488
+ # {
489
+ # types: ["api"], # accepts api, audit, authenticator, controllerManager, scheduler
490
+ # enabled: false,
491
+ # }
492
+ #
493
+ # @!attribute [rw] types
494
+ # The available cluster control plane log types.
495
+ # @return [Array<String>]
496
+ #
497
+ # @!attribute [rw] enabled
498
+ # If a log type is enabled, then that log type exports its control
499
+ # plane logs to CloudWatch Logs. If a log type is not enabled, then
500
+ # that log type does not export its control plane logs. Each
501
+ # individual log type can be enabled or disabled independently.
502
+ # @return [Boolean]
503
+ #
504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/LogSetup AWS API Documentation
505
+ #
506
+ class LogSetup < Struct.new(
507
+ :types,
508
+ :enabled)
509
+ include Aws::Structure
510
+ end
511
+
512
+ # An object representing the logging configuration for resources in your
513
+ # cluster.
514
+ #
515
+ # @note When making an API call, you may pass Logging
516
+ # data as a hash:
517
+ #
518
+ # {
519
+ # cluster_logging: [
520
+ # {
521
+ # types: ["api"], # accepts api, audit, authenticator, controllerManager, scheduler
522
+ # enabled: false,
523
+ # },
524
+ # ],
525
+ # }
526
+ #
527
+ # @!attribute [rw] cluster_logging
528
+ # The cluster control plane logging configuration for your cluster.
529
+ # @return [Array<Types::LogSetup>]
530
+ #
531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Logging AWS API Documentation
532
+ #
533
+ class Logging < Struct.new(
534
+ :cluster_logging)
535
+ include Aws::Structure
536
+ end
537
+
449
538
  # An object representing an asynchronous update.
450
539
  #
451
540
  # @!attribute [rw] id
@@ -496,6 +585,14 @@ module Aws::EKS
496
585
  # endpoint_public_access: false,
497
586
  # endpoint_private_access: false,
498
587
  # },
588
+ # logging: {
589
+ # cluster_logging: [
590
+ # {
591
+ # types: ["api"], # accepts api, audit, authenticator, controllerManager, scheduler
592
+ # enabled: false,
593
+ # },
594
+ # ],
595
+ # },
499
596
  # client_request_token: "String",
500
597
  # }
501
598
  #
@@ -504,10 +601,29 @@ module Aws::EKS
504
601
  # @return [String]
505
602
  #
506
603
  # @!attribute [rw] resources_vpc_config
507
- # An object representing an Amazon EKS cluster VPC configuration
508
- # request.
604
+ # An object representing the VPC configuration to use for an Amazon
605
+ # EKS cluster.
509
606
  # @return [Types::VpcConfigRequest]
510
607
  #
608
+ # @!attribute [rw] logging
609
+ # Enable or disable exporting the Kubernetes control plane logs for
610
+ # your cluster to CloudWatch Logs. By default, cluster control plane
611
+ # logs are not exported to CloudWatch Logs. For more information, see
612
+ # [Amazon EKS Cluster Control Plane Logs][1] in the <i> <i>Amazon EKS
613
+ # User Guide</i> </i>.
614
+ #
615
+ # <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
616
+ # apply to exported control plane logs. For more information, see
617
+ # [Amazon CloudWatch Pricing][2].
618
+ #
619
+ # </note>
620
+ #
621
+ #
622
+ #
623
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
624
+ # [2]: http://aws.amazon.com/cloudwatch/pricing/
625
+ # @return [Types::Logging]
626
+ #
511
627
  # @!attribute [rw] client_request_token
512
628
  # Unique, case-sensitive identifier that you provide to ensure the
513
629
  # idempotency of the request.
@@ -521,6 +637,7 @@ module Aws::EKS
521
637
  class UpdateClusterConfigRequest < Struct.new(
522
638
  :name,
523
639
  :resources_vpc_config,
640
+ :logging,
524
641
  :client_request_token)
525
642
  include Aws::Structure
526
643
  end
@@ -599,8 +716,8 @@ module Aws::EKS
599
716
  include Aws::Structure
600
717
  end
601
718
 
602
- # An object representing an Amazon EKS cluster VPC configuration
603
- # request.
719
+ # An object representing the VPC configuration to use for an Amazon EKS
720
+ # cluster.
604
721
  #
605
722
  # @note When making an API call, you may pass VpcConfigRequest
606
723
  # data as a hash:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-eks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-22 00:00:00.000000000 Z
11
+ date: 2019-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core