aws-sdk-mwaa 1.9.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mwaa/client.rb +98 -60
- data/lib/aws-sdk-mwaa/client_api.rb +2 -0
- data/lib/aws-sdk-mwaa/types.rb +184 -170
- data/lib/aws-sdk-mwaa.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0cad4adf0374cfbdd572fbed39b751e0adbb8a0d0497c5d114eeb0d2c5fd403
|
4
|
+
data.tar.gz: 27135422b86ed32db6ba4c8e83f6e4bbf7c5949cde0083d2a44be49216983146
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68fc5d66e9e64b6179836dbcdab92febac4e4cabe6f844499c8f8aec7a45935d6c18cf583004981744ac28ad6c192197bd915780943429f238d077bd24bf95a4
|
7
|
+
data.tar.gz: d32a8aad36230215b070cd64915edbe6011843d846d5d11ec28af3a52f95e77ba32df21161c06dc63740b72fe5f85cd12b2f29d8d61426aad2f2daf7f3f2449e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.13.0 (2022-01-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a "Source" field that provides the initiator of an update, such as due to an automated patch from AWS or due to modification via Console or API.
|
8
|
+
|
9
|
+
1.12.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.11.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.10.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.9.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
data/lib/aws-sdk-mwaa/client.rb
CHANGED
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::MWAA
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::MWAA
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::MWAA
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -275,6 +283,15 @@ module Aws::MWAA
|
|
275
283
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
284
|
# requests are made, and retries are disabled.
|
277
285
|
#
|
286
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
287
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
288
|
+
# will be used if available.
|
289
|
+
#
|
290
|
+
# @option options [Boolean] :use_fips_endpoint
|
291
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
292
|
+
# When a `fips` region is used, the region is normalized and this config
|
293
|
+
# is set to `true`.
|
294
|
+
#
|
278
295
|
# @option options [Boolean] :validate_params (true)
|
279
296
|
# When `true`, request parameters are validated before
|
280
297
|
# sending the request.
|
@@ -286,7 +303,7 @@ module Aws::MWAA
|
|
286
303
|
# seconds to wait when opening a HTTP session before raising a
|
287
304
|
# `Timeout::Error`.
|
288
305
|
#
|
289
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
290
307
|
# number of seconds to wait for response data. This value can
|
291
308
|
# safely be set per-request on the session.
|
292
309
|
#
|
@@ -302,6 +319,9 @@ module Aws::MWAA
|
|
302
319
|
# disables this behaviour. This value can safely be set per
|
303
320
|
# request on the session.
|
304
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
305
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
306
326
|
# HTTP debug output will be sent to the `:logger`.
|
307
327
|
#
|
@@ -327,10 +347,16 @@ module Aws::MWAA
|
|
327
347
|
|
328
348
|
# @!group API Operations
|
329
349
|
|
330
|
-
#
|
350
|
+
# Creates a CLI token for the Airflow CLI. To learn more, see [Creating
|
351
|
+
# an Apache Airflow CLI token][1].
|
352
|
+
#
|
353
|
+
#
|
354
|
+
#
|
355
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-cli.html
|
331
356
|
#
|
332
357
|
# @option params [required, String] :name
|
333
|
-
#
|
358
|
+
# The name of the Amazon MWAA environment. For example,
|
359
|
+
# `MyMWAAEnvironment`.
|
334
360
|
#
|
335
361
|
# @return [Types::CreateCliTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
336
362
|
#
|
@@ -370,9 +396,14 @@ module Aws::MWAA
|
|
370
396
|
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html
|
371
397
|
#
|
372
398
|
# @option params [String] :airflow_version
|
373
|
-
# The Apache Airflow version for your environment.
|
374
|
-
#
|
375
|
-
#
|
399
|
+
# The Apache Airflow version for your environment. If no value is
|
400
|
+
# specified, defaults to the latest version. Valid values: `1.10.12`,
|
401
|
+
# `2.0.2`. To learn more, see [Apache Airflow versions on Amazon Managed
|
402
|
+
# Workflows for Apache Airflow (MWAA)][1].
|
403
|
+
#
|
404
|
+
#
|
405
|
+
#
|
406
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html
|
376
407
|
#
|
377
408
|
# @option params [required, String] :dag_s3_path
|
378
409
|
# The relative path to the DAGs folder on your Amazon S3 bucket. For
|
@@ -392,30 +423,28 @@ module Aws::MWAA
|
|
392
423
|
#
|
393
424
|
# @option params [required, String] :execution_role_arn
|
394
425
|
# The Amazon Resource Name (ARN) of the execution role for your
|
395
|
-
# environment. An execution role is an
|
396
|
-
# Management (IAM) role that grants MWAA permission to access
|
397
|
-
# services and resources used by your environment.
|
398
|
-
# `arn:aws:iam::123456789:role/my-execution-role`. To learn
|
399
|
-
# [Amazon MWAA Execution role][1].
|
426
|
+
# environment. An execution role is an Amazon Web Services Identity and
|
427
|
+
# Access Management (IAM) role that grants MWAA permission to access
|
428
|
+
# Amazon Web Services services and resources used by your environment.
|
429
|
+
# For example, `arn:aws:iam::123456789:role/my-execution-role`. To learn
|
430
|
+
# more, see [Amazon MWAA Execution role][1].
|
400
431
|
#
|
401
432
|
#
|
402
433
|
#
|
403
434
|
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html
|
404
435
|
#
|
405
436
|
# @option params [String] :kms_key
|
406
|
-
# The
|
407
|
-
# environment. You can use an
|
408
|
-
# (advanced). To learn more, see [
|
409
|
-
#
|
437
|
+
# The Amazon Web Services Key Management Service (KMS) key to encrypt
|
438
|
+
# the data in your environment. You can use an Amazon Web Services owned
|
439
|
+
# CMK, or a Customer managed CMK (advanced). To learn more, see [Create
|
440
|
+
# an Amazon MWAA environment][1].
|
410
441
|
#
|
411
442
|
#
|
412
443
|
#
|
413
|
-
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/
|
444
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/create-environment.html
|
414
445
|
#
|
415
446
|
# @option params [Types::LoggingConfigurationInput] :logging_configuration
|
416
|
-
# Defines the Apache Airflow logs to send to CloudWatch Logs
|
417
|
-
# `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
|
418
|
-
# `WorkerLogs`.
|
447
|
+
# Defines the Apache Airflow logs to send to CloudWatch Logs.
|
419
448
|
#
|
420
449
|
# @option params [Integer] :max_workers
|
421
450
|
# The maximum number of workers that you want to run in your
|
@@ -439,8 +468,8 @@ module Aws::MWAA
|
|
439
468
|
#
|
440
469
|
# @option params [required, Types::NetworkConfiguration] :network_configuration
|
441
470
|
# The VPC networking components used to secure and enable network
|
442
|
-
# traffic between the
|
443
|
-
# see [About networking on Amazon MWAA][1].
|
471
|
+
# traffic between the Amazon Web Services resources for your
|
472
|
+
# environment. To learn more, see [About networking on Amazon MWAA][1].
|
444
473
|
#
|
445
474
|
#
|
446
475
|
#
|
@@ -485,6 +514,11 @@ module Aws::MWAA
|
|
485
514
|
#
|
486
515
|
# @option params [Integer] :schedulers
|
487
516
|
# The number of Apache Airflow schedulers to run in your environment.
|
517
|
+
# Valid values:
|
518
|
+
#
|
519
|
+
# * v2.0.2 - Accepts between 2 to 5. Defaults to 2.
|
520
|
+
#
|
521
|
+
# * v1.10.12 - Accepts 1.
|
488
522
|
#
|
489
523
|
# @option params [required, String] :source_bucket_arn
|
490
524
|
# The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG
|
@@ -498,8 +532,8 @@ module Aws::MWAA
|
|
498
532
|
#
|
499
533
|
# @option params [Hash<String,String>] :tags
|
500
534
|
# The key-value tag pairs you want to associate to your environment. For
|
501
|
-
# example, `"Environment": "Staging"`. To learn more, see [Tagging
|
502
|
-
# resources][1].
|
535
|
+
# example, `"Environment": "Staging"`. To learn more, see [Tagging
|
536
|
+
# Amazon Web Services resources][1].
|
503
537
|
#
|
504
538
|
#
|
505
539
|
#
|
@@ -514,14 +548,11 @@ module Aws::MWAA
|
|
514
548
|
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html
|
515
549
|
#
|
516
550
|
# @option params [String] :weekly_maintenance_window_start
|
517
|
-
# The day and time of the week
|
518
|
-
#
|
551
|
+
# The day and time of the week in Coordinated Universal Time (UTC)
|
552
|
+
# 24-hour standard time to start weekly maintenance updates of your
|
553
|
+
# environment in the following format: `DAY:HH:MM`. For example:
|
519
554
|
# `TUE:03:30`. You can specify a start time in 30 minute increments
|
520
|
-
# only.
|
521
|
-
#
|
522
|
-
# * MON\|TUE\|WED\|THU\|FRI\|SAT\|SUN:(\[01\]\\\\d\|2\[0-3\]):(00\|30)
|
523
|
-
#
|
524
|
-
# ^
|
555
|
+
# only.
|
525
556
|
#
|
526
557
|
# @return [Types::CreateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
527
558
|
#
|
@@ -593,11 +624,16 @@ module Aws::MWAA
|
|
593
624
|
req.send_request(options)
|
594
625
|
end
|
595
626
|
|
596
|
-
#
|
597
|
-
#
|
627
|
+
# Creates a web login token for the Airflow Web UI. To learn more, see
|
628
|
+
# [Creating an Apache Airflow web login token][1].
|
629
|
+
#
|
630
|
+
#
|
631
|
+
#
|
632
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-web.html
|
598
633
|
#
|
599
634
|
# @option params [required, String] :name
|
600
|
-
#
|
635
|
+
# The name of the Amazon MWAA environment. For example,
|
636
|
+
# `MyMWAAEnvironment`.
|
601
637
|
#
|
602
638
|
# @return [Types::CreateWebLoginTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
603
639
|
#
|
@@ -648,8 +684,8 @@ module Aws::MWAA
|
|
648
684
|
req.send_request(options)
|
649
685
|
end
|
650
686
|
|
651
|
-
#
|
652
|
-
#
|
687
|
+
# Describes an Amazon Managed Workflows for Apache Airflow (MWAA)
|
688
|
+
# environment.
|
653
689
|
#
|
654
690
|
# @option params [required, String] :name
|
655
691
|
# The name of the Amazon MWAA environment. For example,
|
@@ -679,6 +715,7 @@ module Aws::MWAA
|
|
679
715
|
# resp.environment.last_update.created_at #=> Time
|
680
716
|
# resp.environment.last_update.error.error_code #=> String
|
681
717
|
# resp.environment.last_update.error.error_message #=> String
|
718
|
+
# resp.environment.last_update.source #=> String
|
682
719
|
# resp.environment.last_update.status #=> String, one of "SUCCESS", "PENDING", "FAILED"
|
683
720
|
# resp.environment.logging_configuration.dag_processing_logs.cloud_watch_log_group_arn #=> String
|
684
721
|
# resp.environment.logging_configuration.dag_processing_logs.enabled #=> Boolean
|
@@ -797,15 +834,20 @@ module Aws::MWAA
|
|
797
834
|
req.send_request(options)
|
798
835
|
end
|
799
836
|
|
800
|
-
#
|
801
|
-
#
|
837
|
+
# **Internal only**. Publishes environment health metrics to Amazon
|
838
|
+
# CloudWatch.
|
802
839
|
#
|
803
840
|
# @option params [required, String] :environment_name
|
804
|
-
#
|
841
|
+
# **Internal only**. The name of the environment.
|
805
842
|
#
|
806
843
|
# @option params [required, Array<Types::MetricDatum>] :metric_data
|
807
|
-
#
|
808
|
-
#
|
844
|
+
# **Internal only**. Publishes metrics to Amazon CloudWatch. To learn
|
845
|
+
# more about the metrics published to Amazon CloudWatch, see [Amazon
|
846
|
+
# MWAA performance metrics in Amazon CloudWatch][1].
|
847
|
+
#
|
848
|
+
#
|
849
|
+
#
|
850
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html
|
809
851
|
#
|
810
852
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
811
853
|
#
|
@@ -854,8 +896,8 @@ module Aws::MWAA
|
|
854
896
|
#
|
855
897
|
# @option params [required, Hash<String,String>] :tags
|
856
898
|
# The key-value tag pairs you want to associate to your environment. For
|
857
|
-
# example, `"Environment": "Staging"`. To learn more, see [Tagging
|
858
|
-
# resources][1].
|
899
|
+
# example, `"Environment": "Staging"`. To learn more, see [Tagging
|
900
|
+
# Amazon Web Services resources][1].
|
859
901
|
#
|
860
902
|
#
|
861
903
|
#
|
@@ -925,9 +967,9 @@ module Aws::MWAA
|
|
925
967
|
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html
|
926
968
|
#
|
927
969
|
# @option params [String] :airflow_version
|
928
|
-
# The Apache Airflow version for your environment.
|
929
|
-
#
|
930
|
-
#
|
970
|
+
# The Apache Airflow version for your environment. If no value is
|
971
|
+
# specified, defaults to the latest version. Valid values: `1.10.12`,
|
972
|
+
# `2.0.2`.
|
931
973
|
#
|
932
974
|
# @option params [String] :dag_s3_path
|
933
975
|
# The relative path to the DAGs folder on your Amazon S3 bucket. For
|
@@ -947,7 +989,8 @@ module Aws::MWAA
|
|
947
989
|
#
|
948
990
|
# @option params [String] :execution_role_arn
|
949
991
|
# The Amazon Resource Name (ARN) of the execution role in IAM that
|
950
|
-
# allows MWAA to access
|
992
|
+
# allows MWAA to access Amazon Web Services resources in your
|
993
|
+
# environment. For example,
|
951
994
|
# `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
|
952
995
|
# [Amazon MWAA Execution role][1].
|
953
996
|
#
|
@@ -956,9 +999,7 @@ module Aws::MWAA
|
|
956
999
|
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html
|
957
1000
|
#
|
958
1001
|
# @option params [Types::LoggingConfigurationInput] :logging_configuration
|
959
|
-
#
|
960
|
-
# `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
|
961
|
-
# `WorkerLogs`.
|
1002
|
+
# The Apache Airflow log types to send to CloudWatch Logs.
|
962
1003
|
#
|
963
1004
|
# @option params [Integer] :max_workers
|
964
1005
|
# The maximum number of workers that you want to run in your
|
@@ -982,8 +1023,8 @@ module Aws::MWAA
|
|
982
1023
|
#
|
983
1024
|
# @option params [Types::UpdateNetworkConfigurationInput] :network_configuration
|
984
1025
|
# The VPC networking components used to secure and enable network
|
985
|
-
# traffic between the
|
986
|
-
# see [About networking on Amazon MWAA][1].
|
1026
|
+
# traffic between the Amazon Web Services resources for your
|
1027
|
+
# environment. To learn more, see [About networking on Amazon MWAA][1].
|
987
1028
|
#
|
988
1029
|
#
|
989
1030
|
#
|
@@ -1049,14 +1090,11 @@ module Aws::MWAA
|
|
1049
1090
|
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html
|
1050
1091
|
#
|
1051
1092
|
# @option params [String] :weekly_maintenance_window_start
|
1052
|
-
# The day and time of the week
|
1053
|
-
#
|
1093
|
+
# The day and time of the week in Coordinated Universal Time (UTC)
|
1094
|
+
# 24-hour standard time to start weekly maintenance updates of your
|
1095
|
+
# environment in the following format: `DAY:HH:MM`. For example:
|
1054
1096
|
# `TUE:03:30`. You can specify a start time in 30 minute increments
|
1055
|
-
# only.
|
1056
|
-
#
|
1057
|
-
# * MON\|TUE\|WED\|THU\|FRI\|SAT\|SUN:(\[01\]\\\\d\|2\[0-3\]):(00\|30)
|
1058
|
-
#
|
1059
|
-
# ^
|
1097
|
+
# only.
|
1060
1098
|
#
|
1061
1099
|
# @return [Types::UpdateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1062
1100
|
#
|
@@ -1136,7 +1174,7 @@ module Aws::MWAA
|
|
1136
1174
|
params: params,
|
1137
1175
|
config: config)
|
1138
1176
|
context[:gem_name] = 'aws-sdk-mwaa'
|
1139
|
-
context[:gem_version] = '1.
|
1177
|
+
context[:gem_version] = '1.13.0'
|
1140
1178
|
Seahorse::Client::Request.new(handlers, context)
|
1141
1179
|
end
|
1142
1180
|
|
@@ -96,6 +96,7 @@ module Aws::MWAA
|
|
96
96
|
UpdateEnvironmentOutput = Shapes::StructureShape.new(name: 'UpdateEnvironmentOutput')
|
97
97
|
UpdateError = Shapes::StructureShape.new(name: 'UpdateError')
|
98
98
|
UpdateNetworkConfigurationInput = Shapes::StructureShape.new(name: 'UpdateNetworkConfigurationInput')
|
99
|
+
UpdateSource = Shapes::StringShape.new(name: 'UpdateSource')
|
99
100
|
UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
|
100
101
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
101
102
|
WebserverAccessMode = Shapes::StringShape.new(name: 'WebserverAccessMode')
|
@@ -199,6 +200,7 @@ module Aws::MWAA
|
|
199
200
|
|
200
201
|
LastUpdate.add_member(:created_at, Shapes::ShapeRef.new(shape: UpdateCreatedAt, location_name: "CreatedAt"))
|
201
202
|
LastUpdate.add_member(:error, Shapes::ShapeRef.new(shape: UpdateError, location_name: "Error"))
|
203
|
+
LastUpdate.add_member(:source, Shapes::ShapeRef.new(shape: UpdateSource, location_name: "Source"))
|
202
204
|
LastUpdate.add_member(:status, Shapes::ShapeRef.new(shape: UpdateStatus, location_name: "Status"))
|
203
205
|
LastUpdate.struct_class = Types::LastUpdate
|
204
206
|
|
data/lib/aws-sdk-mwaa/types.rb
CHANGED
@@ -10,9 +10,13 @@
|
|
10
10
|
module Aws::MWAA
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# Access to the Airflow Web UI or CLI has been
|
14
|
-
#
|
15
|
-
#
|
13
|
+
# Access to the Apache Airflow Web UI or CLI has been denied due to
|
14
|
+
# insufficient permissions. To learn more, see [Accessing an Amazon MWAA
|
15
|
+
# environment][1].
|
16
|
+
#
|
17
|
+
#
|
18
|
+
#
|
19
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/access-policies.html
|
16
20
|
#
|
17
21
|
# @!attribute [rw] message
|
18
22
|
# @return [String]
|
@@ -33,7 +37,8 @@ module Aws::MWAA
|
|
33
37
|
# }
|
34
38
|
#
|
35
39
|
# @!attribute [rw] name
|
36
|
-
#
|
40
|
+
# The name of the Amazon MWAA environment. For example,
|
41
|
+
# `MyMWAAEnvironment`.
|
37
42
|
# @return [String]
|
38
43
|
#
|
39
44
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateCliTokenRequest AWS API Documentation
|
@@ -45,13 +50,11 @@ module Aws::MWAA
|
|
45
50
|
end
|
46
51
|
|
47
52
|
# @!attribute [rw] cli_token
|
48
|
-
#
|
49
|
-
# token.
|
53
|
+
# An Airflow CLI login token.
|
50
54
|
# @return [String]
|
51
55
|
#
|
52
56
|
# @!attribute [rw] web_server_hostname
|
53
|
-
#
|
54
|
-
# webserver hostname.
|
57
|
+
# The Airflow web server hostname for the environment.
|
55
58
|
# @return [String]
|
56
59
|
#
|
57
60
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateCliTokenResponse AWS API Documentation
|
@@ -137,9 +140,14 @@ module Aws::MWAA
|
|
137
140
|
# @return [Hash<String,String>]
|
138
141
|
#
|
139
142
|
# @!attribute [rw] airflow_version
|
140
|
-
# The Apache Airflow version for your environment.
|
141
|
-
#
|
142
|
-
#
|
143
|
+
# The Apache Airflow version for your environment. If no value is
|
144
|
+
# specified, defaults to the latest version. Valid values: `1.10.12`,
|
145
|
+
# `2.0.2`. To learn more, see [Apache Airflow versions on Amazon
|
146
|
+
# Managed Workflows for Apache Airflow (MWAA)][1].
|
147
|
+
#
|
148
|
+
#
|
149
|
+
#
|
150
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html
|
143
151
|
# @return [String]
|
144
152
|
#
|
145
153
|
# @!attribute [rw] dag_s3_path
|
@@ -162,9 +170,10 @@ module Aws::MWAA
|
|
162
170
|
#
|
163
171
|
# @!attribute [rw] execution_role_arn
|
164
172
|
# The Amazon Resource Name (ARN) of the execution role for your
|
165
|
-
# environment. An execution role is an
|
166
|
-
# Management (IAM) role that grants MWAA permission to
|
167
|
-
# services and resources used by your
|
173
|
+
# environment. An execution role is an Amazon Web Services Identity
|
174
|
+
# and Access Management (IAM) role that grants MWAA permission to
|
175
|
+
# access Amazon Web Services services and resources used by your
|
176
|
+
# environment. For example,
|
168
177
|
# `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
|
169
178
|
# [Amazon MWAA Execution role][1].
|
170
179
|
#
|
@@ -174,20 +183,18 @@ module Aws::MWAA
|
|
174
183
|
# @return [String]
|
175
184
|
#
|
176
185
|
# @!attribute [rw] kms_key
|
177
|
-
# The
|
178
|
-
# environment. You can use an
|
179
|
-
# (advanced). To learn more, see
|
180
|
-
#
|
186
|
+
# The Amazon Web Services Key Management Service (KMS) key to encrypt
|
187
|
+
# the data in your environment. You can use an Amazon Web Services
|
188
|
+
# owned CMK, or a Customer managed CMK (advanced). To learn more, see
|
189
|
+
# [Create an Amazon MWAA environment][1].
|
181
190
|
#
|
182
191
|
#
|
183
192
|
#
|
184
|
-
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/
|
193
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/create-environment.html
|
185
194
|
# @return [String]
|
186
195
|
#
|
187
196
|
# @!attribute [rw] logging_configuration
|
188
|
-
# Defines the Apache Airflow logs to send to CloudWatch Logs
|
189
|
-
# `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
|
190
|
-
# `WorkerLogs`.
|
197
|
+
# Defines the Apache Airflow logs to send to CloudWatch Logs.
|
191
198
|
# @return [Types::LoggingConfigurationInput]
|
192
199
|
#
|
193
200
|
# @!attribute [rw] max_workers
|
@@ -216,8 +223,9 @@ module Aws::MWAA
|
|
216
223
|
#
|
217
224
|
# @!attribute [rw] network_configuration
|
218
225
|
# The VPC networking components used to secure and enable network
|
219
|
-
# traffic between the
|
220
|
-
# more, see [About networking on Amazon
|
226
|
+
# traffic between the Amazon Web Services resources for your
|
227
|
+
# environment. To learn more, see [About networking on Amazon
|
228
|
+
# MWAA][1].
|
221
229
|
#
|
222
230
|
#
|
223
231
|
#
|
@@ -268,6 +276,11 @@ module Aws::MWAA
|
|
268
276
|
#
|
269
277
|
# @!attribute [rw] schedulers
|
270
278
|
# The number of Apache Airflow schedulers to run in your environment.
|
279
|
+
# Valid values:
|
280
|
+
#
|
281
|
+
# * v2.0.2 - Accepts between 2 to 5. Defaults to 2.
|
282
|
+
#
|
283
|
+
# * v1.10.12 - Accepts 1.
|
271
284
|
# @return [Integer]
|
272
285
|
#
|
273
286
|
# @!attribute [rw] source_bucket_arn
|
@@ -284,7 +297,7 @@ module Aws::MWAA
|
|
284
297
|
# @!attribute [rw] tags
|
285
298
|
# The key-value tag pairs you want to associate to your environment.
|
286
299
|
# For example, `"Environment": "Staging"`. To learn more, see [Tagging
|
287
|
-
#
|
300
|
+
# Amazon Web Services resources][1].
|
288
301
|
#
|
289
302
|
#
|
290
303
|
#
|
@@ -301,14 +314,11 @@ module Aws::MWAA
|
|
301
314
|
# @return [String]
|
302
315
|
#
|
303
316
|
# @!attribute [rw] weekly_maintenance_window_start
|
304
|
-
# The day and time of the week
|
305
|
-
#
|
317
|
+
# The day and time of the week in Coordinated Universal Time (UTC)
|
318
|
+
# 24-hour standard time to start weekly maintenance updates of your
|
319
|
+
# environment in the following format: `DAY:HH:MM`. For example:
|
306
320
|
# `TUE:03:30`. You can specify a start time in 30 minute increments
|
307
|
-
# only.
|
308
|
-
#
|
309
|
-
# * MON\|TUE\|WED\|THU\|FRI\|SAT\|SUN:(\[01\]\\\\d\|2\[0-3\]):(00\|30)
|
310
|
-
#
|
311
|
-
# ^
|
321
|
+
# only.
|
312
322
|
# @return [String]
|
313
323
|
#
|
314
324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateEnvironmentInput AWS API Documentation
|
@@ -359,7 +369,8 @@ module Aws::MWAA
|
|
359
369
|
# }
|
360
370
|
#
|
361
371
|
# @!attribute [rw] name
|
362
|
-
#
|
372
|
+
# The name of the Amazon MWAA environment. For example,
|
373
|
+
# `MyMWAAEnvironment`.
|
363
374
|
# @return [String]
|
364
375
|
#
|
365
376
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateWebLoginTokenRequest AWS API Documentation
|
@@ -371,13 +382,11 @@ module Aws::MWAA
|
|
371
382
|
end
|
372
383
|
|
373
384
|
# @!attribute [rw] web_server_hostname
|
374
|
-
#
|
375
|
-
# webserver hostname.
|
385
|
+
# The Airflow web server hostname for the environment.
|
376
386
|
# @return [String]
|
377
387
|
#
|
378
388
|
# @!attribute [rw] web_token
|
379
|
-
#
|
380
|
-
# token.
|
389
|
+
# An Airflow web server login token.
|
381
390
|
# @return [String]
|
382
391
|
#
|
383
392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateWebLoginTokenResponse AWS API Documentation
|
@@ -413,7 +422,13 @@ module Aws::MWAA
|
|
413
422
|
#
|
414
423
|
class DeleteEnvironmentOutput < Aws::EmptyStructure; end
|
415
424
|
|
416
|
-
# Internal only
|
425
|
+
# **Internal only**. Represents the dimensions of a metric. To learn
|
426
|
+
# more about the metrics published to Amazon CloudWatch, see [Amazon
|
427
|
+
# MWAA performance metrics in Amazon CloudWatch][1].
|
428
|
+
#
|
429
|
+
#
|
430
|
+
#
|
431
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html
|
417
432
|
#
|
418
433
|
# @note When making an API call, you may pass Dimension
|
419
434
|
# data as a hash:
|
@@ -424,11 +439,11 @@ module Aws::MWAA
|
|
424
439
|
# }
|
425
440
|
#
|
426
441
|
# @!attribute [rw] name
|
427
|
-
# Internal only
|
442
|
+
# **Internal only**. The name of the dimension.
|
428
443
|
# @return [String]
|
429
444
|
#
|
430
445
|
# @!attribute [rw] value
|
431
|
-
# Internal only
|
446
|
+
# **Internal only**. The value of the dimension.
|
432
447
|
# @return [String]
|
433
448
|
#
|
434
449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/Dimension AWS API Documentation
|
@@ -440,7 +455,8 @@ module Aws::MWAA
|
|
440
455
|
include Aws::Structure
|
441
456
|
end
|
442
457
|
|
443
|
-
#
|
458
|
+
# Describes an Amazon Managed Workflows for Apache Airflow (MWAA)
|
459
|
+
# environment.
|
444
460
|
#
|
445
461
|
# @!attribute [rw] airflow_configuration_options
|
446
462
|
# A list of key-value pairs containing the Apache Airflow
|
@@ -453,8 +469,8 @@ module Aws::MWAA
|
|
453
469
|
# @return [Hash<String,String>]
|
454
470
|
#
|
455
471
|
# @!attribute [rw] airflow_version
|
456
|
-
# The Apache Airflow version on your environment.
|
457
|
-
# `
|
472
|
+
# The Apache Airflow version on your environment. Valid values:
|
473
|
+
# `1.10.12`, `2.0.2`.
|
458
474
|
# @return [String]
|
459
475
|
#
|
460
476
|
# @!attribute [rw] arn
|
@@ -485,9 +501,10 @@ module Aws::MWAA
|
|
485
501
|
#
|
486
502
|
# @!attribute [rw] execution_role_arn
|
487
503
|
# The Amazon Resource Name (ARN) of the execution role in IAM that
|
488
|
-
# allows MWAA to access
|
489
|
-
# example,
|
490
|
-
# more, see
|
504
|
+
# allows MWAA to access Amazon Web Services resources in your
|
505
|
+
# environment. For example,
|
506
|
+
# `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
|
507
|
+
# [Amazon MWAA Execution role][1].
|
491
508
|
#
|
492
509
|
#
|
493
510
|
#
|
@@ -495,19 +512,16 @@ module Aws::MWAA
|
|
495
512
|
# @return [String]
|
496
513
|
#
|
497
514
|
# @!attribute [rw] kms_key
|
498
|
-
# The Key Management Service (KMS) encryption key
|
499
|
-
# data in your environment.
|
515
|
+
# The Amazon Web Services Key Management Service (KMS) encryption key
|
516
|
+
# used to encrypt the data in your environment.
|
500
517
|
# @return [String]
|
501
518
|
#
|
502
519
|
# @!attribute [rw] last_update
|
503
|
-
# The status of the last update on the environment
|
504
|
-
# that were encountered.
|
520
|
+
# The status of the last update on the environment.
|
505
521
|
# @return [Types::LastUpdate]
|
506
522
|
#
|
507
523
|
# @!attribute [rw] logging_configuration
|
508
|
-
# The Apache Airflow logs
|
509
|
-
# `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
|
510
|
-
# `WorkerLogs`.
|
524
|
+
# The Apache Airflow logs published to CloudWatch Logs.
|
511
525
|
# @return [Types::LoggingConfiguration]
|
512
526
|
#
|
513
527
|
# @!attribute [rw] max_workers
|
@@ -526,9 +540,10 @@ module Aws::MWAA
|
|
526
540
|
# @return [String]
|
527
541
|
#
|
528
542
|
# @!attribute [rw] network_configuration
|
529
|
-
#
|
530
|
-
# traffic between the
|
531
|
-
# more, see [About networking on Amazon
|
543
|
+
# Describes the VPC networking components used to secure and enable
|
544
|
+
# network traffic between the Amazon Web Services resources for your
|
545
|
+
# environment. To learn more, see [About networking on Amazon
|
546
|
+
# MWAA][1].
|
532
547
|
#
|
533
548
|
#
|
534
549
|
#
|
@@ -638,8 +653,8 @@ module Aws::MWAA
|
|
638
653
|
#
|
639
654
|
# @!attribute [rw] tags
|
640
655
|
# The key-value tag pairs associated to your environment. For example,
|
641
|
-
# `"Environment": "Staging"`. To learn more, see [Tagging
|
642
|
-
# resources][1].
|
656
|
+
# `"Environment": "Staging"`. To learn more, see [Tagging Amazon Web
|
657
|
+
# Services resources][1].
|
643
658
|
#
|
644
659
|
#
|
645
660
|
#
|
@@ -666,8 +681,9 @@ module Aws::MWAA
|
|
666
681
|
# @return [String]
|
667
682
|
#
|
668
683
|
# @!attribute [rw] weekly_maintenance_window_start
|
669
|
-
# The day and time of the week
|
670
|
-
#
|
684
|
+
# The day and time of the week in Coordinated Universal Time (UTC)
|
685
|
+
# 24-hour standard time that weekly maintenance updates are scheduled.
|
686
|
+
# For example: `TUE:03:30`.
|
671
687
|
# @return [String]
|
672
688
|
#
|
673
689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/Environment AWS API Documentation
|
@@ -748,8 +764,8 @@ module Aws::MWAA
|
|
748
764
|
include Aws::Structure
|
749
765
|
end
|
750
766
|
|
751
|
-
#
|
752
|
-
# were encountered.
|
767
|
+
# Describes the status of the last update on the environment, and any
|
768
|
+
# errors that were encountered.
|
753
769
|
#
|
754
770
|
# @!attribute [rw] created_at
|
755
771
|
# The day and time of the last update on the environment.
|
@@ -760,9 +776,13 @@ module Aws::MWAA
|
|
760
776
|
# environment.
|
761
777
|
# @return [Types::UpdateError]
|
762
778
|
#
|
779
|
+
# @!attribute [rw] source
|
780
|
+
# The source of the last update to the environment. Includes internal
|
781
|
+
# processes by Amazon MWAA, such as an environment maintenance update.
|
782
|
+
# @return [String]
|
783
|
+
#
|
763
784
|
# @!attribute [rw] status
|
764
|
-
# The status of the last update on the environment.
|
765
|
-
# `SUCCESS`, `PENDING`, `FAILED`.
|
785
|
+
# The status of the last update on the environment.
|
766
786
|
# @return [String]
|
767
787
|
#
|
768
788
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/LastUpdate AWS API Documentation
|
@@ -770,6 +790,7 @@ module Aws::MWAA
|
|
770
790
|
class LastUpdate < Struct.new(
|
771
791
|
:created_at,
|
772
792
|
:error,
|
793
|
+
:source,
|
773
794
|
:status)
|
774
795
|
SENSITIVE = []
|
775
796
|
include Aws::Structure
|
@@ -802,7 +823,7 @@ module Aws::MWAA
|
|
802
823
|
end
|
803
824
|
|
804
825
|
# @!attribute [rw] environments
|
805
|
-
# Returns
|
826
|
+
# Returns a list of Amazon MWAA environments.
|
806
827
|
# @return [Array<String>]
|
807
828
|
#
|
808
829
|
# @!attribute [rw] next_token
|
@@ -841,7 +862,7 @@ module Aws::MWAA
|
|
841
862
|
|
842
863
|
# @!attribute [rw] tags
|
843
864
|
# The key-value tag pairs associated to your environment. To learn
|
844
|
-
# more, see [Tagging
|
865
|
+
# more, see [Tagging Amazon Web Services resources][1].
|
845
866
|
#
|
846
867
|
#
|
847
868
|
#
|
@@ -856,38 +877,32 @@ module Aws::MWAA
|
|
856
877
|
include Aws::Structure
|
857
878
|
end
|
858
879
|
|
859
|
-
#
|
860
|
-
#
|
861
|
-
# `WorkerLogs`.
|
880
|
+
# Describes the Apache Airflow log types that are published to
|
881
|
+
# CloudWatch Logs.
|
862
882
|
#
|
863
883
|
# @!attribute [rw] dag_processing_logs
|
864
|
-
#
|
865
|
-
#
|
866
|
-
# `Enabled`, `LogLevel`.
|
884
|
+
# The Airflow DAG processing logs published to CloudWatch Logs and the
|
885
|
+
# log level.
|
867
886
|
# @return [Types::ModuleLoggingConfiguration]
|
868
887
|
#
|
869
888
|
# @!attribute [rw] scheduler_logs
|
870
|
-
#
|
871
|
-
#
|
872
|
-
# `Enabled`, `LogLevel`.
|
889
|
+
# The Airflow scheduler logs published to CloudWatch Logs and the log
|
890
|
+
# level.
|
873
891
|
# @return [Types::ModuleLoggingConfiguration]
|
874
892
|
#
|
875
893
|
# @!attribute [rw] task_logs
|
876
|
-
#
|
877
|
-
#
|
878
|
-
# `Enabled`, `LogLevel`.
|
894
|
+
# The Airflow task logs published to CloudWatch Logs and the log
|
895
|
+
# level.
|
879
896
|
# @return [Types::ModuleLoggingConfiguration]
|
880
897
|
#
|
881
898
|
# @!attribute [rw] webserver_logs
|
882
|
-
#
|
883
|
-
#
|
884
|
-
# `Enabled`, `LogLevel`.
|
899
|
+
# The Airflow web server logs published to CloudWatch Logs and the log
|
900
|
+
# level.
|
885
901
|
# @return [Types::ModuleLoggingConfiguration]
|
886
902
|
#
|
887
903
|
# @!attribute [rw] worker_logs
|
888
|
-
#
|
889
|
-
#
|
890
|
-
# `Enabled`, `LogLevel`.
|
904
|
+
# The Airflow worker logs published to CloudWatch Logs and the log
|
905
|
+
# level.
|
891
906
|
# @return [Types::ModuleLoggingConfiguration]
|
892
907
|
#
|
893
908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/LoggingConfiguration AWS API Documentation
|
@@ -902,9 +917,7 @@ module Aws::MWAA
|
|
902
917
|
include Aws::Structure
|
903
918
|
end
|
904
919
|
|
905
|
-
# Defines the Apache Airflow
|
906
|
-
# `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
|
907
|
-
# `WorkerLogs`.
|
920
|
+
# Defines the Apache Airflow log types to send to CloudWatch Logs.
|
908
921
|
#
|
909
922
|
# @note When making an API call, you may pass LoggingConfigurationInput
|
910
923
|
# data as a hash:
|
@@ -933,33 +946,23 @@ module Aws::MWAA
|
|
933
946
|
# }
|
934
947
|
#
|
935
948
|
# @!attribute [rw] dag_processing_logs
|
936
|
-
#
|
937
|
-
# (e.g. `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
|
938
|
-
# `Enabled`, `LogLevel`.
|
949
|
+
# Publishes Airflow DAG processing logs to CloudWatch Logs.
|
939
950
|
# @return [Types::ModuleLoggingConfigurationInput]
|
940
951
|
#
|
941
952
|
# @!attribute [rw] scheduler_logs
|
942
|
-
#
|
943
|
-
# (e.g. `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
|
944
|
-
# `Enabled`, `LogLevel`.
|
953
|
+
# Publishes Airflow scheduler logs to CloudWatch Logs.
|
945
954
|
# @return [Types::ModuleLoggingConfigurationInput]
|
946
955
|
#
|
947
956
|
# @!attribute [rw] task_logs
|
948
|
-
#
|
949
|
-
# (e.g. `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
|
950
|
-
# `Enabled`, `LogLevel`.
|
957
|
+
# Publishes Airflow task logs to CloudWatch Logs.
|
951
958
|
# @return [Types::ModuleLoggingConfigurationInput]
|
952
959
|
#
|
953
960
|
# @!attribute [rw] webserver_logs
|
954
|
-
#
|
955
|
-
# (e.g. `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
|
956
|
-
# `Enabled`, `LogLevel`.
|
961
|
+
# Publishes Airflow web server logs to CloudWatch Logs.
|
957
962
|
# @return [Types::ModuleLoggingConfigurationInput]
|
958
963
|
#
|
959
964
|
# @!attribute [rw] worker_logs
|
960
|
-
#
|
961
|
-
# (e.g. `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
|
962
|
-
# `Enabled`, `LogLevel`.
|
965
|
+
# Publishes Airflow worker logs to CloudWatch Logs.
|
963
966
|
# @return [Types::ModuleLoggingConfigurationInput]
|
964
967
|
#
|
965
968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/LoggingConfigurationInput AWS API Documentation
|
@@ -974,7 +977,13 @@ module Aws::MWAA
|
|
974
977
|
include Aws::Structure
|
975
978
|
end
|
976
979
|
|
977
|
-
# Internal only
|
980
|
+
# **Internal only**. Collects Apache Airflow metrics. To learn more
|
981
|
+
# about the metrics published to Amazon CloudWatch, see [Amazon MWAA
|
982
|
+
# performance metrics in Amazon CloudWatch][1].
|
983
|
+
#
|
984
|
+
#
|
985
|
+
#
|
986
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html
|
978
987
|
#
|
979
988
|
# @note When making an API call, you may pass MetricDatum
|
980
989
|
# data as a hash:
|
@@ -999,27 +1008,27 @@ module Aws::MWAA
|
|
999
1008
|
# }
|
1000
1009
|
#
|
1001
1010
|
# @!attribute [rw] dimensions
|
1002
|
-
# Internal only
|
1011
|
+
# **Internal only**. The dimensions associated with the metric.
|
1003
1012
|
# @return [Array<Types::Dimension>]
|
1004
1013
|
#
|
1005
1014
|
# @!attribute [rw] metric_name
|
1006
|
-
# Internal only
|
1015
|
+
# **Internal only**. The name of the metric.
|
1007
1016
|
# @return [String]
|
1008
1017
|
#
|
1009
1018
|
# @!attribute [rw] statistic_values
|
1010
|
-
# Internal only
|
1019
|
+
# **Internal only**. The statistical values for the metric.
|
1011
1020
|
# @return [Types::StatisticSet]
|
1012
1021
|
#
|
1013
1022
|
# @!attribute [rw] timestamp
|
1014
|
-
# Internal only
|
1023
|
+
# **Internal only**. The time the metric data was received.
|
1015
1024
|
# @return [Time]
|
1016
1025
|
#
|
1017
1026
|
# @!attribute [rw] unit
|
1018
|
-
#
|
1027
|
+
# **Internal only**. The unit used to store the metric.
|
1019
1028
|
# @return [String]
|
1020
1029
|
#
|
1021
1030
|
# @!attribute [rw] value
|
1022
|
-
# Internal only
|
1031
|
+
# **Internal only**. The value for the metric.
|
1023
1032
|
# @return [Float]
|
1024
1033
|
#
|
1025
1034
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/MetricDatum AWS API Documentation
|
@@ -1035,9 +1044,8 @@ module Aws::MWAA
|
|
1035
1044
|
include Aws::Structure
|
1036
1045
|
end
|
1037
1046
|
|
1038
|
-
#
|
1039
|
-
# `DagProcessingLogs`).
|
1040
|
-
# `Enabled`, `LogLevel`.
|
1047
|
+
# Describes the Apache Airflow log details for the log type (e.g.
|
1048
|
+
# `DagProcessingLogs`).
|
1041
1049
|
#
|
1042
1050
|
# @!attribute [rw] cloud_watch_log_group_arn
|
1043
1051
|
# The Amazon Resource Name (ARN) for the CloudWatch Logs group where
|
@@ -1047,14 +1055,13 @@ module Aws::MWAA
|
|
1047
1055
|
# @return [String]
|
1048
1056
|
#
|
1049
1057
|
# @!attribute [rw] enabled
|
1050
|
-
# Indicates whether
|
1051
|
-
# `DagProcessingLogs`)
|
1058
|
+
# Indicates whether the Apache Airflow log type (e.g.
|
1059
|
+
# `DagProcessingLogs`) is enabled.
|
1052
1060
|
# @return [Boolean]
|
1053
1061
|
#
|
1054
1062
|
# @!attribute [rw] log_level
|
1055
|
-
#
|
1056
|
-
# `DagProcessingLogs`)
|
1057
|
-
# `ERROR`, `WARNING`, `INFO`.
|
1063
|
+
# The Apache Airflow log level for the log type (e.g.
|
1064
|
+
# `DagProcessingLogs`).
|
1058
1065
|
# @return [String]
|
1059
1066
|
#
|
1060
1067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/ModuleLoggingConfiguration AWS API Documentation
|
@@ -1067,9 +1074,8 @@ module Aws::MWAA
|
|
1067
1074
|
include Aws::Structure
|
1068
1075
|
end
|
1069
1076
|
|
1070
|
-
#
|
1071
|
-
# `
|
1072
|
-
# `Enabled`, `LogLevel`.
|
1077
|
+
# Enables the Apache Airflow log type (e.g. `DagProcessingLogs`) and
|
1078
|
+
# defines the log level to send to CloudWatch Logs (e.g. `INFO`).
|
1073
1079
|
#
|
1074
1080
|
# @note When making an API call, you may pass ModuleLoggingConfigurationInput
|
1075
1081
|
# data as a hash:
|
@@ -1081,13 +1087,12 @@ module Aws::MWAA
|
|
1081
1087
|
#
|
1082
1088
|
# @!attribute [rw] enabled
|
1083
1089
|
# Indicates whether to enable the Apache Airflow log type (e.g.
|
1084
|
-
# `DagProcessingLogs`)
|
1090
|
+
# `DagProcessingLogs`).
|
1085
1091
|
# @return [Boolean]
|
1086
1092
|
#
|
1087
1093
|
# @!attribute [rw] log_level
|
1088
|
-
# Defines the Apache Airflow
|
1089
|
-
#
|
1090
|
-
# `ERROR`, `WARNING`, `INFO`.
|
1094
|
+
# Defines the Apache Airflow log level (e.g. `INFO`) to send to
|
1095
|
+
# CloudWatch Logs.
|
1091
1096
|
# @return [String]
|
1092
1097
|
#
|
1093
1098
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/ModuleLoggingConfigurationInput AWS API Documentation
|
@@ -1099,9 +1104,9 @@ module Aws::MWAA
|
|
1099
1104
|
include Aws::Structure
|
1100
1105
|
end
|
1101
1106
|
|
1102
|
-
#
|
1103
|
-
# traffic between the
|
1104
|
-
# see [About networking on Amazon MWAA][1].
|
1107
|
+
# Describes the VPC networking components used to secure and enable
|
1108
|
+
# network traffic between the Amazon Web Services resources for your
|
1109
|
+
# environment. To learn more, see [About networking on Amazon MWAA][1].
|
1105
1110
|
#
|
1106
1111
|
#
|
1107
1112
|
#
|
@@ -1116,10 +1121,8 @@ module Aws::MWAA
|
|
1116
1121
|
# }
|
1117
1122
|
#
|
1118
1123
|
# @!attribute [rw] security_group_ids
|
1119
|
-
# A list of
|
1120
|
-
#
|
1121
|
-
# subnets. To learn more, see [Security in your VPC on Amazon
|
1122
|
-
# MWAA][1].
|
1124
|
+
# A list of security group IDs. To learn more, see [Security in your
|
1125
|
+
# VPC on Amazon MWAA][1].
|
1123
1126
|
#
|
1124
1127
|
#
|
1125
1128
|
#
|
@@ -1127,9 +1130,12 @@ module Aws::MWAA
|
|
1127
1130
|
# @return [Array<String>]
|
1128
1131
|
#
|
1129
1132
|
# @!attribute [rw] subnet_ids
|
1130
|
-
# A list of
|
1131
|
-
#
|
1132
|
-
#
|
1133
|
+
# A list of subnet IDs. To learn more, see [About networking on Amazon
|
1134
|
+
# MWAA][1].
|
1135
|
+
#
|
1136
|
+
#
|
1137
|
+
#
|
1138
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
|
1133
1139
|
# @return [Array<String>]
|
1134
1140
|
#
|
1135
1141
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/NetworkConfiguration AWS API Documentation
|
@@ -1169,12 +1175,17 @@ module Aws::MWAA
|
|
1169
1175
|
# }
|
1170
1176
|
#
|
1171
1177
|
# @!attribute [rw] environment_name
|
1172
|
-
#
|
1178
|
+
# **Internal only**. The name of the environment.
|
1173
1179
|
# @return [String]
|
1174
1180
|
#
|
1175
1181
|
# @!attribute [rw] metric_data
|
1176
|
-
#
|
1177
|
-
#
|
1182
|
+
# **Internal only**. Publishes metrics to Amazon CloudWatch. To learn
|
1183
|
+
# more about the metrics published to Amazon CloudWatch, see [Amazon
|
1184
|
+
# MWAA performance metrics in Amazon CloudWatch][1].
|
1185
|
+
#
|
1186
|
+
#
|
1187
|
+
#
|
1188
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html
|
1178
1189
|
# @return [Array<Types::MetricDatum>]
|
1179
1190
|
#
|
1180
1191
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/PublishMetricsInput AWS API Documentation
|
@@ -1203,7 +1214,14 @@ module Aws::MWAA
|
|
1203
1214
|
include Aws::Structure
|
1204
1215
|
end
|
1205
1216
|
|
1206
|
-
# Internal only
|
1217
|
+
# **Internal only**. Represents a set of statistics that describe a
|
1218
|
+
# specific metric. To learn more about the metrics published to Amazon
|
1219
|
+
# CloudWatch, see [Amazon MWAA performance metrics in Amazon
|
1220
|
+
# CloudWatch][1].
|
1221
|
+
#
|
1222
|
+
#
|
1223
|
+
#
|
1224
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html
|
1207
1225
|
#
|
1208
1226
|
# @note When making an API call, you may pass StatisticSet
|
1209
1227
|
# data as a hash:
|
@@ -1216,19 +1234,19 @@ module Aws::MWAA
|
|
1216
1234
|
# }
|
1217
1235
|
#
|
1218
1236
|
# @!attribute [rw] maximum
|
1219
|
-
# Internal only
|
1237
|
+
# **Internal only**. The maximum value of the sample set.
|
1220
1238
|
# @return [Float]
|
1221
1239
|
#
|
1222
1240
|
# @!attribute [rw] minimum
|
1223
|
-
# Internal only
|
1241
|
+
# **Internal only**. The minimum value of the sample set.
|
1224
1242
|
# @return [Float]
|
1225
1243
|
#
|
1226
1244
|
# @!attribute [rw] sample_count
|
1227
|
-
# Internal only
|
1245
|
+
# **Internal only**. The number of samples used for the statistic set.
|
1228
1246
|
# @return [Integer]
|
1229
1247
|
#
|
1230
1248
|
# @!attribute [rw] sum
|
1231
|
-
# Internal only
|
1249
|
+
# **Internal only**. The sum of values for the sample set.
|
1232
1250
|
# @return [Float]
|
1233
1251
|
#
|
1234
1252
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/StatisticSet AWS API Documentation
|
@@ -1261,7 +1279,7 @@ module Aws::MWAA
|
|
1261
1279
|
# @!attribute [rw] tags
|
1262
1280
|
# The key-value tag pairs you want to associate to your environment.
|
1263
1281
|
# For example, `"Environment": "Staging"`. To learn more, see [Tagging
|
1264
|
-
#
|
1282
|
+
# Amazon Web Services resources][1].
|
1265
1283
|
#
|
1266
1284
|
#
|
1267
1285
|
#
|
@@ -1373,9 +1391,9 @@ module Aws::MWAA
|
|
1373
1391
|
# @return [Hash<String,String>]
|
1374
1392
|
#
|
1375
1393
|
# @!attribute [rw] airflow_version
|
1376
|
-
# The Apache Airflow version for your environment.
|
1377
|
-
#
|
1378
|
-
#
|
1394
|
+
# The Apache Airflow version for your environment. If no value is
|
1395
|
+
# specified, defaults to the latest version. Valid values: `1.10.12`,
|
1396
|
+
# `2.0.2`.
|
1379
1397
|
# @return [String]
|
1380
1398
|
#
|
1381
1399
|
# @!attribute [rw] dag_s3_path
|
@@ -1398,9 +1416,10 @@ module Aws::MWAA
|
|
1398
1416
|
#
|
1399
1417
|
# @!attribute [rw] execution_role_arn
|
1400
1418
|
# The Amazon Resource Name (ARN) of the execution role in IAM that
|
1401
|
-
# allows MWAA to access
|
1402
|
-
# example,
|
1403
|
-
# more, see
|
1419
|
+
# allows MWAA to access Amazon Web Services resources in your
|
1420
|
+
# environment. For example,
|
1421
|
+
# `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
|
1422
|
+
# [Amazon MWAA Execution role][1].
|
1404
1423
|
#
|
1405
1424
|
#
|
1406
1425
|
#
|
@@ -1408,9 +1427,7 @@ module Aws::MWAA
|
|
1408
1427
|
# @return [String]
|
1409
1428
|
#
|
1410
1429
|
# @!attribute [rw] logging_configuration
|
1411
|
-
#
|
1412
|
-
# `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
|
1413
|
-
# `WorkerLogs`.
|
1430
|
+
# The Apache Airflow log types to send to CloudWatch Logs.
|
1414
1431
|
# @return [Types::LoggingConfigurationInput]
|
1415
1432
|
#
|
1416
1433
|
# @!attribute [rw] max_workers
|
@@ -1439,8 +1456,9 @@ module Aws::MWAA
|
|
1439
1456
|
#
|
1440
1457
|
# @!attribute [rw] network_configuration
|
1441
1458
|
# The VPC networking components used to secure and enable network
|
1442
|
-
# traffic between the
|
1443
|
-
# more, see [About networking on Amazon
|
1459
|
+
# traffic between the Amazon Web Services resources for your
|
1460
|
+
# environment. To learn more, see [About networking on Amazon
|
1461
|
+
# MWAA][1].
|
1444
1462
|
#
|
1445
1463
|
#
|
1446
1464
|
#
|
@@ -1515,14 +1533,11 @@ module Aws::MWAA
|
|
1515
1533
|
# @return [String]
|
1516
1534
|
#
|
1517
1535
|
# @!attribute [rw] weekly_maintenance_window_start
|
1518
|
-
# The day and time of the week
|
1519
|
-
#
|
1536
|
+
# The day and time of the week in Coordinated Universal Time (UTC)
|
1537
|
+
# 24-hour standard time to start weekly maintenance updates of your
|
1538
|
+
# environment in the following format: `DAY:HH:MM`. For example:
|
1520
1539
|
# `TUE:03:30`. You can specify a start time in 30 minute increments
|
1521
|
-
# only.
|
1522
|
-
#
|
1523
|
-
# * MON\|TUE\|WED\|THU\|FRI\|SAT\|SUN:(\[01\]\\\\d\|2\[0-3\]):(00\|30)
|
1524
|
-
#
|
1525
|
-
# ^
|
1540
|
+
# only.
|
1526
1541
|
# @return [String]
|
1527
1542
|
#
|
1528
1543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/UpdateEnvironmentInput AWS API Documentation
|
@@ -1564,8 +1579,8 @@ module Aws::MWAA
|
|
1564
1579
|
include Aws::Structure
|
1565
1580
|
end
|
1566
1581
|
|
1567
|
-
#
|
1568
|
-
#
|
1582
|
+
# Describes the error(s) encountered with the last update of the
|
1583
|
+
# environment.
|
1569
1584
|
#
|
1570
1585
|
# @!attribute [rw] error_code
|
1571
1586
|
# The error code that corresponds to the error with the last update.
|
@@ -1584,9 +1599,9 @@ module Aws::MWAA
|
|
1584
1599
|
include Aws::Structure
|
1585
1600
|
end
|
1586
1601
|
|
1587
|
-
#
|
1588
|
-
# traffic between the
|
1589
|
-
# see [About networking on Amazon MWAA][1].
|
1602
|
+
# Defines the VPC networking components used to secure and enable
|
1603
|
+
# network traffic between the Amazon Web Services resources for your
|
1604
|
+
# environment. To learn more, see [About networking on Amazon MWAA][1].
|
1590
1605
|
#
|
1591
1606
|
#
|
1592
1607
|
#
|
@@ -1600,10 +1615,9 @@ module Aws::MWAA
|
|
1600
1615
|
# }
|
1601
1616
|
#
|
1602
1617
|
# @!attribute [rw] security_group_ids
|
1603
|
-
# A list of
|
1604
|
-
#
|
1605
|
-
#
|
1606
|
-
# MWAA][1].
|
1618
|
+
# A list of security group IDs. A security group must be attached to
|
1619
|
+
# the same VPC as the subnets. To learn more, see [Security in your
|
1620
|
+
# VPC on Amazon MWAA][1].
|
1607
1621
|
#
|
1608
1622
|
#
|
1609
1623
|
#
|
data/lib/aws-sdk-mwaa.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mwaa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.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:
|
11
|
+
date: 2022-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.125.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|