aws-sdk-mwaa 1.10.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a15768d167a8e27ffc2fe9ea48002e80f6f5d84bf85049aa7d9899df16bebf7
4
- data.tar.gz: 05430b1399b9676dfb525f90ea0d5cdb27fb85f6648eb10542b9bc2385fce48b
3
+ metadata.gz: 51724396f55a05184d60cc4228c01b78d2fbcac16d9aca16ab730dc941c6366b
4
+ data.tar.gz: 2cccba20447cd1e6d38e14babe196889d34d5dffeb1b61d67c0fab611a9ba30a
5
5
  SHA512:
6
- metadata.gz: 9f05b7ecb4a3e7b9a58c7963d6b8a7157d51186096de5d85c80a99f60e6cd3b16ee522b3d5a25531a1df894e0e8235ea1c992cbb2b142ca97734a99f379a88d2
7
- data.tar.gz: 18cb6489e8e04434aa9eacff8f50165b686f622ad2ae5e20f84b89e53ffe7daf0b472fae6ff443ccefc8124511b33b07d9bfdcaf32b4c4120ad48a786a412cb1
6
+ metadata.gz: 1748383bb1a8e11cff59de6c7ee6e7123aa4d5fb8d3d9b88303744e088b4827da41bf99f8b2283b45491b075b01d3c271bb47294dc1a14eca41f575acb6ef2ed
7
+ data.tar.gz: 87b1bc86a713967a9c6849a35d43c14a0755851db7d0957799dad2cf4a3d7e10d934a20590c9eb7e141361acae0c28726ab3d67cc6968935e9263b29b2cd45db
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2022-02-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.13.0 (2022-01-06)
10
+ ------------------
11
+
12
+ * 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.
13
+
14
+ 1.12.0 (2021-12-21)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.11.0 (2021-11-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.10.0 (2021-11-04)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.14.0
@@ -27,6 +27,8 @@ 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'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::MWAA
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
82
 
@@ -119,7 +123,9 @@ module Aws::MWAA
119
123
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
124
  # are very aggressive. Construct and pass an instance of
121
125
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
126
+ # enable retries and extended timeouts. Instance profile credential
127
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
128
+ # to true.
123
129
  #
124
130
  # @option options [required, String] :region
125
131
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +179,10 @@ module Aws::MWAA
173
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
180
  # a clock skew correction and retry requests with skewed client clocks.
175
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
176
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
187
  # Set to true to disable SDK automatically adding host prefix
178
188
  # to default service endpoint when available.
@@ -295,7 +305,7 @@ module Aws::MWAA
295
305
  # seconds to wait when opening a HTTP session before raising a
296
306
  # `Timeout::Error`.
297
307
  #
298
- # @option options [Integer] :http_read_timeout (60) The default
308
+ # @option options [Float] :http_read_timeout (60) The default
299
309
  # number of seconds to wait for response data. This value can
300
310
  # safely be set per-request on the session.
301
311
  #
@@ -311,6 +321,9 @@ module Aws::MWAA
311
321
  # disables this behaviour. This value can safely be set per
312
322
  # request on the session.
313
323
  #
324
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
325
+ # in seconds.
326
+ #
314
327
  # @option options [Boolean] :http_wire_trace (false) When `true`,
315
328
  # HTTP debug output will be sent to the `:logger`.
316
329
  #
@@ -336,10 +349,16 @@ module Aws::MWAA
336
349
 
337
350
  # @!group API Operations
338
351
 
339
- # Create a CLI token to use Airflow CLI.
352
+ # Creates a CLI token for the Airflow CLI. To learn more, see [Creating
353
+ # an Apache Airflow CLI token][1].
354
+ #
355
+ #
356
+ #
357
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-cli.html
340
358
  #
341
359
  # @option params [required, String] :name
342
- # Create a CLI token request for a MWAA environment.
360
+ # The name of the Amazon MWAA environment. For example,
361
+ # `MyMWAAEnvironment`.
343
362
  #
344
363
  # @return [Types::CreateCliTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
345
364
  #
@@ -379,9 +398,14 @@ module Aws::MWAA
379
398
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html
380
399
  #
381
400
  # @option params [String] :airflow_version
382
- # The Apache Airflow version for your environment. For example,
383
- # `v1.10.12`. If no value is specified, defaults to the latest version.
384
- # Valid values: `v1.10.12`.
401
+ # The Apache Airflow version for your environment. If no value is
402
+ # specified, defaults to the latest version. Valid values: `1.10.12`,
403
+ # `2.0.2`. To learn more, see [Apache Airflow versions on Amazon Managed
404
+ # Workflows for Apache Airflow (MWAA)][1].
405
+ #
406
+ #
407
+ #
408
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html
385
409
  #
386
410
  # @option params [required, String] :dag_s3_path
387
411
  # The relative path to the DAGs folder on your Amazon S3 bucket. For
@@ -401,30 +425,28 @@ module Aws::MWAA
401
425
  #
402
426
  # @option params [required, String] :execution_role_arn
403
427
  # The Amazon Resource Name (ARN) of the execution role for your
404
- # environment. An execution role is an AWS Identity and Access
405
- # Management (IAM) role that grants MWAA permission to access AWS
406
- # services and resources used by your environment. For example,
407
- # `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
408
- # [Amazon MWAA Execution role][1].
428
+ # environment. An execution role is an Amazon Web Services Identity and
429
+ # Access Management (IAM) role that grants MWAA permission to access
430
+ # Amazon Web Services services and resources used by your environment.
431
+ # For example, `arn:aws:iam::123456789:role/my-execution-role`. To learn
432
+ # more, see [Amazon MWAA Execution role][1].
409
433
  #
410
434
  #
411
435
  #
412
436
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html
413
437
  #
414
438
  # @option params [String] :kms_key
415
- # The AWS Key Management Service (KMS) key to encrypt the data in your
416
- # environment. You can use an AWS owned CMK, or a Customer managed CMK
417
- # (advanced). To learn more, see [Get started with Amazon Managed
418
- # Workflows for Apache Airflow][1].
439
+ # The Amazon Web Services Key Management Service (KMS) key to encrypt
440
+ # the data in your environment. You can use an Amazon Web Services owned
441
+ # CMK, or a Customer managed CMK (advanced). To learn more, see [Create
442
+ # an Amazon MWAA environment][1].
419
443
  #
420
444
  #
421
445
  #
422
- # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/get-started.html
446
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/create-environment.html
423
447
  #
424
448
  # @option params [Types::LoggingConfigurationInput] :logging_configuration
425
- # Defines the Apache Airflow logs to send to CloudWatch Logs:
426
- # `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
427
- # `WorkerLogs`.
449
+ # Defines the Apache Airflow logs to send to CloudWatch Logs.
428
450
  #
429
451
  # @option params [Integer] :max_workers
430
452
  # The maximum number of workers that you want to run in your
@@ -448,8 +470,8 @@ module Aws::MWAA
448
470
  #
449
471
  # @option params [required, Types::NetworkConfiguration] :network_configuration
450
472
  # The VPC networking components used to secure and enable network
451
- # traffic between the AWS resources for your environment. To learn more,
452
- # see [About networking on Amazon MWAA][1].
473
+ # traffic between the Amazon Web Services resources for your
474
+ # environment. To learn more, see [About networking on Amazon MWAA][1].
453
475
  #
454
476
  #
455
477
  #
@@ -494,6 +516,11 @@ module Aws::MWAA
494
516
  #
495
517
  # @option params [Integer] :schedulers
496
518
  # The number of Apache Airflow schedulers to run in your environment.
519
+ # Valid values:
520
+ #
521
+ # * v2.0.2 - Accepts between 2 to 5. Defaults to 2.
522
+ #
523
+ # * v1.10.12 - Accepts 1.
497
524
  #
498
525
  # @option params [required, String] :source_bucket_arn
499
526
  # The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG
@@ -507,8 +534,8 @@ module Aws::MWAA
507
534
  #
508
535
  # @option params [Hash<String,String>] :tags
509
536
  # The key-value tag pairs you want to associate to your environment. For
510
- # example, `"Environment": "Staging"`. To learn more, see [Tagging AWS
511
- # resources][1].
537
+ # example, `"Environment": "Staging"`. To learn more, see [Tagging
538
+ # Amazon Web Services resources][1].
512
539
  #
513
540
  #
514
541
  #
@@ -523,14 +550,11 @@ module Aws::MWAA
523
550
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html
524
551
  #
525
552
  # @option params [String] :weekly_maintenance_window_start
526
- # The day and time of the week to start weekly maintenance updates of
527
- # your environment in the following format: `DAY:HH:MM`. For example:
553
+ # The day and time of the week in Coordinated Universal Time (UTC)
554
+ # 24-hour standard time to start weekly maintenance updates of your
555
+ # environment in the following format: `DAY:HH:MM`. For example:
528
556
  # `TUE:03:30`. You can specify a start time in 30 minute increments
529
- # only. Supported input includes the following:
530
- #
531
- # * MON\|TUE\|WED\|THU\|FRI\|SAT\|SUN:(\[01\]\\\\d\|2\[0-3\]):(00\|30)
532
- #
533
- # ^
557
+ # only.
534
558
  #
535
559
  # @return [Types::CreateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
536
560
  #
@@ -602,11 +626,16 @@ module Aws::MWAA
602
626
  req.send_request(options)
603
627
  end
604
628
 
605
- # Create a JWT token to be used to login to Airflow Web UI with claims
606
- # based Authentication.
629
+ # Creates a web login token for the Airflow Web UI. To learn more, see
630
+ # [Creating an Apache Airflow web login token][1].
631
+ #
632
+ #
633
+ #
634
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-web.html
607
635
  #
608
636
  # @option params [required, String] :name
609
- # Create an Airflow Web UI login token request for a MWAA environment.
637
+ # The name of the Amazon MWAA environment. For example,
638
+ # `MyMWAAEnvironment`.
610
639
  #
611
640
  # @return [Types::CreateWebLoginTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
612
641
  #
@@ -657,8 +686,8 @@ module Aws::MWAA
657
686
  req.send_request(options)
658
687
  end
659
688
 
660
- # Retrieves the details of an Amazon Managed Workflows for Apache
661
- # Airflow (MWAA) environment.
689
+ # Describes an Amazon Managed Workflows for Apache Airflow (MWAA)
690
+ # environment.
662
691
  #
663
692
  # @option params [required, String] :name
664
693
  # The name of the Amazon MWAA environment. For example,
@@ -688,6 +717,7 @@ module Aws::MWAA
688
717
  # resp.environment.last_update.created_at #=> Time
689
718
  # resp.environment.last_update.error.error_code #=> String
690
719
  # resp.environment.last_update.error.error_message #=> String
720
+ # resp.environment.last_update.source #=> String
691
721
  # resp.environment.last_update.status #=> String, one of "SUCCESS", "PENDING", "FAILED"
692
722
  # resp.environment.logging_configuration.dag_processing_logs.cloud_watch_log_group_arn #=> String
693
723
  # resp.environment.logging_configuration.dag_processing_logs.enabled #=> Boolean
@@ -806,15 +836,20 @@ module Aws::MWAA
806
836
  req.send_request(options)
807
837
  end
808
838
 
809
- # An operation for publishing metrics from the customers to the Ops
810
- # plane.
839
+ # **Internal only**. Publishes environment health metrics to Amazon
840
+ # CloudWatch.
811
841
  #
812
842
  # @option params [required, String] :environment_name
813
- # Publishes environment metric data to Amazon CloudWatch.
843
+ # **Internal only**. The name of the environment.
814
844
  #
815
845
  # @option params [required, Array<Types::MetricDatum>] :metric_data
816
- # Publishes metric data points to Amazon CloudWatch. CloudWatch
817
- # associates the data points with the specified metrica.
846
+ # **Internal only**. Publishes metrics to Amazon CloudWatch. To learn
847
+ # more about the metrics published to Amazon CloudWatch, see [Amazon
848
+ # MWAA performance metrics in Amazon CloudWatch][1].
849
+ #
850
+ #
851
+ #
852
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html
818
853
  #
819
854
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
820
855
  #
@@ -863,8 +898,8 @@ module Aws::MWAA
863
898
  #
864
899
  # @option params [required, Hash<String,String>] :tags
865
900
  # The key-value tag pairs you want to associate to your environment. For
866
- # example, `"Environment": "Staging"`. To learn more, see [Tagging AWS
867
- # resources][1].
901
+ # example, `"Environment": "Staging"`. To learn more, see [Tagging
902
+ # Amazon Web Services resources][1].
868
903
  #
869
904
  #
870
905
  #
@@ -934,9 +969,9 @@ module Aws::MWAA
934
969
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html
935
970
  #
936
971
  # @option params [String] :airflow_version
937
- # The Apache Airflow version for your environment. For example,
938
- # `v1.10.12`. If no value is specified, defaults to the latest version.
939
- # Valid values: `v1.10.12`.
972
+ # The Apache Airflow version for your environment. If no value is
973
+ # specified, defaults to the latest version. Valid values: `1.10.12`,
974
+ # `2.0.2`.
940
975
  #
941
976
  # @option params [String] :dag_s3_path
942
977
  # The relative path to the DAGs folder on your Amazon S3 bucket. For
@@ -956,7 +991,8 @@ module Aws::MWAA
956
991
  #
957
992
  # @option params [String] :execution_role_arn
958
993
  # The Amazon Resource Name (ARN) of the execution role in IAM that
959
- # allows MWAA to access AWS resources in your environment. For example,
994
+ # allows MWAA to access Amazon Web Services resources in your
995
+ # environment. For example,
960
996
  # `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
961
997
  # [Amazon MWAA Execution role][1].
962
998
  #
@@ -965,9 +1001,7 @@ module Aws::MWAA
965
1001
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html
966
1002
  #
967
1003
  # @option params [Types::LoggingConfigurationInput] :logging_configuration
968
- # Defines the Apache Airflow logs to send to CloudWatch Logs:
969
- # `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
970
- # `WorkerLogs`.
1004
+ # The Apache Airflow log types to send to CloudWatch Logs.
971
1005
  #
972
1006
  # @option params [Integer] :max_workers
973
1007
  # The maximum number of workers that you want to run in your
@@ -991,8 +1025,8 @@ module Aws::MWAA
991
1025
  #
992
1026
  # @option params [Types::UpdateNetworkConfigurationInput] :network_configuration
993
1027
  # The VPC networking components used to secure and enable network
994
- # traffic between the AWS resources for your environment. To learn more,
995
- # see [About networking on Amazon MWAA][1].
1028
+ # traffic between the Amazon Web Services resources for your
1029
+ # environment. To learn more, see [About networking on Amazon MWAA][1].
996
1030
  #
997
1031
  #
998
1032
  #
@@ -1058,14 +1092,11 @@ module Aws::MWAA
1058
1092
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html
1059
1093
  #
1060
1094
  # @option params [String] :weekly_maintenance_window_start
1061
- # The day and time of the week to start weekly maintenance updates of
1062
- # your environment in the following format: `DAY:HH:MM`. For example:
1095
+ # The day and time of the week in Coordinated Universal Time (UTC)
1096
+ # 24-hour standard time to start weekly maintenance updates of your
1097
+ # environment in the following format: `DAY:HH:MM`. For example:
1063
1098
  # `TUE:03:30`. You can specify a start time in 30 minute increments
1064
- # only. Supported input includes the following:
1065
- #
1066
- # * MON\|TUE\|WED\|THU\|FRI\|SAT\|SUN:(\[01\]\\\\d\|2\[0-3\]):(00\|30)
1067
- #
1068
- # ^
1099
+ # only.
1069
1100
  #
1070
1101
  # @return [Types::UpdateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1071
1102
  #
@@ -1145,7 +1176,7 @@ module Aws::MWAA
1145
1176
  params: params,
1146
1177
  config: config)
1147
1178
  context[:gem_name] = 'aws-sdk-mwaa'
1148
- context[:gem_version] = '1.10.0'
1179
+ context[:gem_version] = '1.14.0'
1149
1180
  Seahorse::Client::Request.new(handlers, context)
1150
1181
  end
1151
1182
 
@@ -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
 
@@ -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 Denied. Please follow the
14
- # MWAA user guide to setup permissions to access the Web UI and CLI
15
- # functionality.
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
- # Create a CLI token request for a MWAA environment.
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
- # Create an Airflow CLI login token response for the provided JWT
49
- # token.
53
+ # An Airflow CLI login token.
50
54
  # @return [String]
51
55
  #
52
56
  # @!attribute [rw] web_server_hostname
53
- # Create an Airflow CLI login token response for the provided
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. For example,
141
- # `v1.10.12`. If no value is specified, defaults to the latest
142
- # version. Valid values: `v1.10.12`.
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 AWS Identity and Access
166
- # Management (IAM) role that grants MWAA permission to access AWS
167
- # services and resources used by your environment. For example,
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 AWS Key Management Service (KMS) key to encrypt the data in your
178
- # environment. You can use an AWS owned CMK, or a Customer managed CMK
179
- # (advanced). To learn more, see [Get started with Amazon Managed
180
- # Workflows for Apache Airflow][1].
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/get-started.html
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 AWS resources for your environment. To learn
220
- # more, see [About networking on Amazon MWAA][1].
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
- # AWS resources][1].
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 to start weekly maintenance updates of
305
- # your environment in the following format: `DAY:HH:MM`. For example:
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. Supported input includes the following:
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
- # Create an Airflow Web UI login token request for a MWAA environment.
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
- # Create an Airflow Web UI login token response for the provided
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
- # Create an Airflow Web UI login token response for the provided JWT
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 API.
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 API.
442
+ # **Internal only**. The name of the dimension.
428
443
  # @return [String]
429
444
  #
430
445
  # @!attribute [rw] value
431
- # Internal only API.
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
- # The Amazon Managed Workflows for Apache Airflow (MWAA) environment.
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. For example,
457
- # `v1.10.12`.
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 AWS resources in your environment. For
489
- # example, `arn:aws:iam::123456789:role/my-execution-role`. To learn
490
- # more, see [Amazon MWAA Execution role][1].
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 used to encrypt the
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, and any errors
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 being sent to CloudWatch 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
- # The VPC networking components used to secure and enable network
530
- # traffic between the AWS resources for your environment. To learn
531
- # more, see [About networking on Amazon MWAA][1].
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 AWS
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 that weekly maintenance updates are
670
- # scheduled. For example: `TUE:03:30`.
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
- # The status of the last update on the environment, and any errors that
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. Valid values:
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 the list of Amazon MWAA environments.
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 AWS resources][1].
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
- # Defines the Apache Airflow logs to send to CloudWatch Logs:
860
- # `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
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
- # Defines the type of logs to send for the Apache Airflow log type
865
- # (e.g. `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
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
- # Defines the type of logs to send for the Apache Airflow log type
871
- # (e.g. `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
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
- # Defines the type of logs to send for the Apache Airflow log type
877
- # (e.g. `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
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
- # Defines the type of logs to send for the Apache Airflow log type
883
- # (e.g. `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
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
- # Defines the type of logs to send for the Apache Airflow log type
889
- # (e.g. `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
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 logs to send to CloudWatch Logs:
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
- # Defines the type of logs to send for the Apache Airflow log type
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
- # Defines the type of logs to send for the Apache Airflow log type
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
- # Defines the type of logs to send for the Apache Airflow log type
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
- # Defines the type of logs to send for the Apache Airflow log type
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
- # Defines the type of logs to send for the Apache Airflow log type
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 API.
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 API.
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 API.
1015
+ # **Internal only**. The name of the metric.
1007
1016
  # @return [String]
1008
1017
  #
1009
1018
  # @!attribute [rw] statistic_values
1010
- # Internal only API.
1019
+ # **Internal only**. The statistical values for the metric.
1011
1020
  # @return [Types::StatisticSet]
1012
1021
  #
1013
1022
  # @!attribute [rw] timestamp
1014
- # Internal only API.
1023
+ # **Internal only**. The time the metric data was received.
1015
1024
  # @return [Time]
1016
1025
  #
1017
1026
  # @!attribute [rw] unit
1018
- # Unit
1027
+ # **Internal only**. The unit used to store the metric.
1019
1028
  # @return [String]
1020
1029
  #
1021
1030
  # @!attribute [rw] value
1022
- # Internal only API.
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
- # Defines the type of logs to send for the Apache Airflow log type (e.g.
1039
- # `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
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 to enable the Apache Airflow log type (e.g.
1051
- # `DagProcessingLogs`) in CloudWatch Logs.
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
- # Defines the Apache Airflow logs to send for the log type (e.g.
1056
- # `DagProcessingLogs`) to CloudWatch Logs. Valid values: `CRITICAL`,
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
- # Defines the type of logs to send for the Apache Airflow log type (e.g.
1071
- # `DagProcessingLogs`). Valid values: `CloudWatchLogGroupArn`,
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`) in CloudWatch Logs.
1090
+ # `DagProcessingLogs`).
1085
1091
  # @return [Boolean]
1086
1092
  #
1087
1093
  # @!attribute [rw] log_level
1088
- # Defines the Apache Airflow logs to send for the log type (e.g.
1089
- # `DagProcessingLogs`) to CloudWatch Logs. Valid values: `CRITICAL`,
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
- # The VPC networking components used to secure and enable network
1103
- # traffic between the AWS resources for your environment. To learn more,
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 1 or more security group IDs. Accepts up to 5 security
1120
- # group IDs. A security group must be attached to the same VPC as the
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 2 subnet IDs. **Required** to create an environment. Must
1131
- # be private subnets in two different availability zones. A subnet
1132
- # must be attached to the same VPC as the security group.
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
- # Publishes environment metric data to Amazon CloudWatch.
1178
+ # **Internal only**. The name of the environment.
1173
1179
  # @return [String]
1174
1180
  #
1175
1181
  # @!attribute [rw] metric_data
1176
- # Publishes metric data points to Amazon CloudWatch. CloudWatch
1177
- # associates the data points with the specified metrica.
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 API.
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 API.
1237
+ # **Internal only**. The maximum value of the sample set.
1220
1238
  # @return [Float]
1221
1239
  #
1222
1240
  # @!attribute [rw] minimum
1223
- # Internal only API.
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 API.
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 API.
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
- # AWS resources][1].
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. For example,
1377
- # `v1.10.12`. If no value is specified, defaults to the latest
1378
- # version. Valid values: `v1.10.12`.
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 AWS resources in your environment. For
1402
- # example, `arn:aws:iam::123456789:role/my-execution-role`. To learn
1403
- # more, see [Amazon MWAA Execution role][1].
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
- # Defines the Apache Airflow logs to send to CloudWatch Logs:
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 AWS resources for your environment. To learn
1443
- # more, see [About networking on Amazon MWAA][1].
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 to start weekly maintenance updates of
1519
- # your environment in the following format: `DAY:HH:MM`. For example:
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. Supported input includes the following:
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
- # An object containing the error encountered with the last update:
1568
- # `ErrorCode`, `ErrorMessage`.
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
- # The VPC networking components used to secure and enable network
1588
- # traffic between the AWS resources for your environment. To learn more,
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 1 or more security group IDs. Accepts up to 5 security
1604
- # group IDs. A security group must be attached to the same VPC as the
1605
- # subnets. To learn more, see [Security in your VPC on Amazon
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
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-mwaa/customizations'
48
48
  # @!group service
49
49
  module Aws::MWAA
50
50
 
51
- GEM_VERSION = '1.10.0'
51
+ GEM_VERSION = '1.14.0'
52
52
 
53
53
  end
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.10.0
4
+ version: 1.14.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: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2022-02-03 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.122.0
22
+ version: 3.126.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.122.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement