aws-sdk-mwaa 1.0.0 → 1.5.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: 108ed3431dc7f544b8a78547e1f872f52aa51f3a0c003437f174e4e0a06ab5a4
4
- data.tar.gz: 4a67e4c909277f0d48cf77cf9bf75544b6c2b3044786810f85cb08c2c37a95bc
3
+ metadata.gz: 55b11a7cf54ab08bec473a9c43ad6e243134c23519bd722fcc8d3186d8bab025
4
+ data.tar.gz: 567aae25ee16bf6edb766bf27ac7be1695e55dc14b46aaea9927368aaa7e36c5
5
5
  SHA512:
6
- metadata.gz: b48f9afaa615f1b5caa38e2d523233312bc7b65dce2ca592185e01984b7aa34e6a1b1db49b6aaa04777ffad7ff952492b5268a86a6ff9a53e3c6c36b6b9dbfbd
7
- data.tar.gz: b196d8d038df694201824e631cfa1e7ed2cc4f86a784785b423f3365c2e0d608b727152fb786c24696c2c5470ff168fd0a336d7f92fa6574b40a739ef357598a
6
+ metadata.gz: b930771b5b1eb81025b3864ec92771c807f5f65ff55d933ead24ae97909acf263b86cb9a5552630afb254f33991291219d0a68e027a57015a98dd6f7b74f867f
7
+ data.tar.gz: 2cb003c82b36d9c9ceece591df0a2ec395af6dafe01fe66060c1037bd1a5ab9ddfac2cf733e356b6e70cf75853b719c51f0cd842d0f8c228b22e9157223bf09b
data/CHANGELOG.md ADDED
@@ -0,0 +1,33 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.5.0 (2021-05-26)
5
+ ------------------
6
+
7
+ * Feature - Adds scheduler count selection for Environments using Airflow version 2.0.2 or later.
8
+
9
+ 1.4.0 (2021-03-16)
10
+ ------------------
11
+
12
+ * Feature - This release adds UPDATE_FAILED and UNAVAILABLE MWAA environment states.
13
+
14
+ 1.3.0 (2021-03-10)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.2.0 (2021-03-04)
20
+ ------------------
21
+
22
+ * Feature - This release introduces a new MinWorker parameter to the CreateEnvironment and UpdateEnvironment APIs. MinWorker allows the users to set a minimum worker count for worker auto-scaling operations.
23
+
24
+ 1.1.0 (2021-02-02)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.0.0 (2020-11-24)
30
+ ------------------
31
+
32
+ * Feature - Initial release of `aws-sdk-mwaa`.
33
+
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.5.0
data/lib/aws-sdk-mwaa.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.0.0'
51
+ GEM_VERSION = '1.5.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -357,133 +357,171 @@ module Aws::MWAA
357
357
  req.send_request(options)
358
358
  end
359
359
 
360
- # JSON blob that describes the environment to create.
360
+ # Creates an Amazon Managed Workflows for Apache Airflow (MWAA)
361
+ # environment.
361
362
  #
362
363
  # @option params [Hash<String,String>] :airflow_configuration_options
363
- # The Apache Airflow configuration setting you want to override in your
364
- # environment. For more information, see [Environment configuration][1].
364
+ # A list of key-value pairs containing the Apache Airflow configuration
365
+ # options you want to attach to your environment. To learn more, see
366
+ # [Apache Airflow configuration options][1].
365
367
  #
366
368
  #
367
369
  #
368
370
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html
369
371
  #
370
372
  # @option params [String] :airflow_version
371
- # The Apache Airflow version you want to use for your environment.
373
+ # The Apache Airflow version for your environment. For example,
374
+ # `v1.10.12`. If no value is specified, defaults to the latest version.
375
+ # Valid values: `v1.10.12`.
372
376
  #
373
377
  # @option params [required, String] :dag_s3_path
374
- # The relative path to the DAG folder on your Amazon S3 storage bucket.
375
- # For example, `dags`. For more information, see [Importing DAGs on
376
- # Amazon MWAA][1].
378
+ # The relative path to the DAGs folder on your Amazon S3 bucket. For
379
+ # example, `dags`. To learn more, see [Adding or updating DAGs][1].
377
380
  #
378
381
  #
379
382
  #
380
- # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import.html
383
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html
381
384
  #
382
385
  # @option params [String] :environment_class
383
- # The environment class you want to use for your environment. The
384
- # environment class determines the size of the containers and database
385
- # used for your Apache Airflow services.
386
+ # The environment class type. Valid values: `mw1.small`, `mw1.medium`,
387
+ # `mw1.large`. To learn more, see [Amazon MWAA environment class][1].
388
+ #
389
+ #
390
+ #
391
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html
386
392
  #
387
393
  # @option params [required, String] :execution_role_arn
388
394
  # The Amazon Resource Name (ARN) of the execution role for your
389
395
  # environment. An execution role is an AWS Identity and Access
390
396
  # Management (IAM) role that grants MWAA permission to access AWS
391
397
  # services and resources used by your environment. For example,
392
- # `arn:aws:iam::123456789:role/my-execution-role`. For more information,
393
- # see [Managing access to Amazon Managed Workflows for Apache
394
- # Airflow][1].
398
+ # `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
399
+ # [Amazon MWAA Execution role][1].
395
400
  #
396
401
  #
397
402
  #
398
- # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/manage-access.html
403
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html
399
404
  #
400
405
  # @option params [String] :kms_key
401
- # The AWS Key Management Service (KMS) key to encrypt and decrypt the
402
- # data in your environment. You can use an AWS KMS key managed by MWAA,
403
- # or a custom KMS key (advanced). For more information, see [Customer
404
- # master keys (CMKs)][1] in the AWS KMS developer guide.
406
+ # The AWS Key Management Service (KMS) key to encrypt the data in your
407
+ # environment. You can use an AWS owned CMK, or a Customer managed CMK
408
+ # (advanced). To learn more, see [Get started with Amazon Managed
409
+ # Workflows for Apache Airflow][1].
405
410
  #
406
411
  #
407
412
  #
408
- # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html?icmpid=docs_console_unmapped#master_keys
413
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/get-started.html
409
414
  #
410
415
  # @option params [Types::LoggingConfigurationInput] :logging_configuration
411
- # The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
416
+ # Defines the Apache Airflow logs to send to CloudWatch Logs:
417
+ # `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
418
+ # `WorkerLogs`.
412
419
  #
413
420
  # @option params [Integer] :max_workers
414
421
  # The maximum number of workers that you want to run in your
415
- # environment. MWAA scales the number of Apache Airflow workers and the
416
- # Fargate containers that run your tasks up to the number you specify in
417
- # this field. When there are no more tasks running, and no more in the
418
- # queue, MWAA disposes of the extra containers leaving the one worker
419
- # that is included with your environment.
422
+ # environment. MWAA scales the number of Apache Airflow workers up to
423
+ # the number you specify in the `MaxWorkers` field. For example, `20`.
424
+ # When there are no more tasks running, and no more in the queue, MWAA
425
+ # disposes of the extra workers leaving the one worker that is included
426
+ # with your environment, or the number you specify in `MinWorkers`.
427
+ #
428
+ # @option params [Integer] :min_workers
429
+ # The minimum number of workers that you want to run in your
430
+ # environment. MWAA scales the number of Apache Airflow workers up to
431
+ # the number you specify in the `MaxWorkers` field. When there are no
432
+ # more tasks running, and no more in the queue, MWAA disposes of the
433
+ # extra workers leaving the worker count you specify in the `MinWorkers`
434
+ # field. For example, `2`.
420
435
  #
421
436
  # @option params [required, String] :name
422
- # The name of your MWAA environment.
437
+ # The name of the Amazon MWAA environment. For example,
438
+ # `MyMWAAEnvironment`.
423
439
  #
424
440
  # @option params [required, Types::NetworkConfiguration] :network_configuration
425
- # The VPC networking components you want to use for your environment. At
426
- # least two private subnet identifiers and one VPC security group
427
- # identifier are required to create an environment. For more
428
- # information, see [Creating the VPC network for a MWAA environment][1].
441
+ # The VPC networking components used to secure and enable network
442
+ # traffic between the AWS resources for your environment. To learn more,
443
+ # see [About networking on Amazon MWAA][1].
429
444
  #
430
445
  #
431
446
  #
432
- # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-mwaa.html
447
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
433
448
  #
434
449
  # @option params [String] :plugins_s3_object_version
435
- # The `plugins.zip` file version you want to use.
450
+ # The version of the plugins.zip file on your Amazon S3 bucket. A
451
+ # version must be specified each time a plugins.zip file is updated. To
452
+ # learn more, see [How S3 Versioning works][1].
453
+ #
454
+ #
455
+ #
456
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
436
457
  #
437
458
  # @option params [String] :plugins_s3_path
438
- # The relative path to the `plugins.zip` file on your Amazon S3 storage
439
- # bucket. For example, `plugins.zip`. If a relative path is provided in
440
- # the request, then `PluginsS3ObjectVersion` is required. For more
441
- # information, see [Importing DAGs on Amazon MWAA][1].
459
+ # The relative path to the `plugins.zip` file on your Amazon S3 bucket.
460
+ # For example, `plugins.zip`. If specified, then the plugins.zip version
461
+ # is required. To learn more, see [Installing custom plugins][1].
442
462
  #
443
463
  #
444
464
  #
445
- # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import.html
465
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html
446
466
  #
447
467
  # @option params [String] :requirements_s3_object_version
448
- # The `requirements.txt` file version you want to use.
468
+ # The version of the requirements.txt file on your Amazon S3 bucket. A
469
+ # version must be specified each time a requirements.txt file is
470
+ # updated. To learn more, see [How S3 Versioning works][1].
471
+ #
472
+ #
473
+ #
474
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
449
475
  #
450
476
  # @option params [String] :requirements_s3_path
451
477
  # The relative path to the `requirements.txt` file on your Amazon S3
452
- # storage bucket. For example, `requirements.txt`. If a relative path is
453
- # provided in the request, then `RequirementsS3ObjectVersion` is
454
- # required. For more information, see [Importing DAGs on Amazon
455
- # MWAA][1].
478
+ # bucket. For example, `requirements.txt`. If specified, then a file
479
+ # version is required. To learn more, see [Installing Python
480
+ # dependencies][1].
481
+ #
456
482
  #
457
483
  #
484
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html
458
485
  #
459
- # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import.html
486
+ # @option params [Integer] :schedulers
487
+ # The number of Apache Airflow schedulers to run in your environment.
460
488
  #
461
489
  # @option params [required, String] :source_bucket_arn
462
- # The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For
463
- # example, `arn:aws:s3:::airflow-mybucketname`.
490
+ # The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG
491
+ # code and supporting files are stored. For example,
492
+ # `arn:aws:s3:::my-airflow-bucket-unique-name`. To learn more, see
493
+ # [Create an Amazon S3 bucket for Amazon MWAA][1].
494
+ #
495
+ #
496
+ #
497
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html
464
498
  #
465
499
  # @option params [Hash<String,String>] :tags
466
- # The metadata tags you want to attach to your environment. For more
467
- # information, see [Tagging AWS resources][1].
500
+ # The key-value tag pairs you want to associate to your environment. For
501
+ # example, `"Environment": "Staging"`. To learn more, see [Tagging AWS
502
+ # resources][1].
468
503
  #
469
504
  #
470
505
  #
471
506
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
472
507
  #
473
508
  # @option params [String] :webserver_access_mode
474
- # The networking access of your Apache Airflow web server. A public
475
- # network allows your Airflow UI to be accessed over the Internet by
476
- # users granted access in your IAM policy. A private network limits
477
- # access of your Airflow UI to users within your VPC. For more
478
- # information, see [Creating the VPC network for a MWAA environment][1].
509
+ # The Apache Airflow *Web server* access mode. To learn more, see
510
+ # [Apache Airflow access modes][1].
479
511
  #
480
512
  #
481
513
  #
482
- # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-mwaa.html
514
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html
483
515
  #
484
516
  # @option params [String] :weekly_maintenance_window_start
485
- # The day and time you want MWAA to start weekly maintenance updates on
486
- # your environment.
517
+ # The day and time of the week to start weekly maintenance updates of
518
+ # your environment in the following format: `DAY:HH:MM`. For example:
519
+ # `TUE:03:30`. You can specify a start time in 30 minute increments
520
+ # only. Supported input includes the following:
521
+ #
522
+ # * MON\|TUE\|WED\|THU\|FRI\|SAT\|SUN:(\[01\]\\\\d\|2\[0-3\]):(00\|30)
523
+ #
524
+ # ^
487
525
  #
488
526
  # @return [Types::CreateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
489
527
  #
@@ -523,6 +561,7 @@ module Aws::MWAA
523
561
  # },
524
562
  # },
525
563
  # max_workers: 1,
564
+ # min_workers: 1,
526
565
  # name: "EnvironmentName", # required
527
566
  # network_configuration: { # required
528
567
  # security_group_ids: ["SecurityGroupId"],
@@ -532,6 +571,7 @@ module Aws::MWAA
532
571
  # plugins_s3_path: "RelativePath",
533
572
  # requirements_s3_object_version: "S3ObjectVersion",
534
573
  # requirements_s3_path: "RelativePath",
574
+ # schedulers: 1,
535
575
  # source_bucket_arn: "S3BucketArn", # required
536
576
  # tags: {
537
577
  # "TagKey" => "TagValue",
@@ -584,10 +624,12 @@ module Aws::MWAA
584
624
  req.send_request(options)
585
625
  end
586
626
 
587
- # Delete an existing environment.
627
+ # Deletes an Amazon Managed Workflows for Apache Airflow (MWAA)
628
+ # environment.
588
629
  #
589
630
  # @option params [required, String] :name
590
- # The name of the environment to delete.
631
+ # The name of the Amazon MWAA environment. For example,
632
+ # `MyMWAAEnvironment`.
591
633
  #
592
634
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
593
635
  #
@@ -606,10 +648,12 @@ module Aws::MWAA
606
648
  req.send_request(options)
607
649
  end
608
650
 
609
- # Get details of an existing environment.
651
+ # Retrieves the details of an Amazon Managed Workflows for Apache
652
+ # Airflow (MWAA) environment.
610
653
  #
611
654
  # @option params [required, String] :name
612
- # The name of the environment to retrieve.
655
+ # The name of the Amazon MWAA environment. For example,
656
+ # `MyMWAAEnvironment`.
613
657
  #
614
658
  # @return [Types::GetEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
615
659
  #
@@ -652,6 +696,7 @@ module Aws::MWAA
652
696
  # resp.environment.logging_configuration.worker_logs.enabled #=> Boolean
653
697
  # resp.environment.logging_configuration.worker_logs.log_level #=> String, one of "CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG"
654
698
  # resp.environment.max_workers #=> Integer
699
+ # resp.environment.min_workers #=> Integer
655
700
  # resp.environment.name #=> String
656
701
  # resp.environment.network_configuration.security_group_ids #=> Array
657
702
  # resp.environment.network_configuration.security_group_ids[0] #=> String
@@ -661,9 +706,10 @@ module Aws::MWAA
661
706
  # resp.environment.plugins_s3_path #=> String
662
707
  # resp.environment.requirements_s3_object_version #=> String
663
708
  # resp.environment.requirements_s3_path #=> String
709
+ # resp.environment.schedulers #=> Integer
664
710
  # resp.environment.service_role_arn #=> String
665
711
  # resp.environment.source_bucket_arn #=> String
666
- # resp.environment.status #=> String, one of "CREATING", "CREATE_FAILED", "AVAILABLE", "UPDATING", "DELETING", "DELETED"
712
+ # resp.environment.status #=> String, one of "CREATING", "CREATE_FAILED", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "UNAVAILABLE", "UPDATE_FAILED"
667
713
  # resp.environment.tags #=> Hash
668
714
  # resp.environment.tags["TagKey"] #=> String
669
715
  # resp.environment.webserver_access_mode #=> String, one of "PRIVATE_ONLY", "PUBLIC_ONLY"
@@ -679,13 +725,15 @@ module Aws::MWAA
679
725
  req.send_request(options)
680
726
  end
681
727
 
682
- # List Amazon MWAA Environments.
728
+ # Lists the Amazon Managed Workflows for Apache Airflow (MWAA)
729
+ # environments.
683
730
  #
684
731
  # @option params [Integer] :max_results
685
- # The maximum results when listing MWAA environments.
732
+ # The maximum number of results to retrieve per page. For example, `5`
733
+ # environments per page.
686
734
  #
687
735
  # @option params [String] :next_token
688
- # The Next Token when listing MWAA environments.
736
+ # Retrieves the next page of the results.
689
737
  #
690
738
  # @return [Types::ListEnvironmentsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
691
739
  #
@@ -716,10 +764,14 @@ module Aws::MWAA
716
764
  req.send_request(options)
717
765
  end
718
766
 
719
- # List the tags for MWAA environments.
767
+ # Lists the key-value tag pairs associated to the Amazon Managed
768
+ # Workflows for Apache Airflow (MWAA) environment. For example,
769
+ # `"Environment": "Staging"`.
720
770
  #
721
771
  # @option params [required, String] :resource_arn
722
- # The ARN of the MWAA environment.
772
+ # The Amazon Resource Name (ARN) of the Amazon MWAA environment. For
773
+ # example,
774
+ # `arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment`.
723
775
  #
724
776
  # @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
725
777
  #
@@ -792,13 +844,22 @@ module Aws::MWAA
792
844
  req.send_request(options)
793
845
  end
794
846
 
795
- # Add tag to the MWAA environments.
847
+ # Associates key-value tag pairs to your Amazon Managed Workflows for
848
+ # Apache Airflow (MWAA) environment.
796
849
  #
797
850
  # @option params [required, String] :resource_arn
798
- # The tag resource ARN of the MWAA environments.
851
+ # The Amazon Resource Name (ARN) of the Amazon MWAA environment. For
852
+ # example,
853
+ # `arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment`.
799
854
  #
800
855
  # @option params [required, Hash<String,String>] :tags
801
- # The tag resource tag of the MWAA environments.
856
+ # The key-value tag pairs you want to associate to your environment. For
857
+ # example, `"Environment": "Staging"`. To learn more, see [Tagging AWS
858
+ # resources][1].
859
+ #
860
+ #
861
+ #
862
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
802
863
  #
803
864
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
804
865
  #
@@ -820,13 +881,18 @@ module Aws::MWAA
820
881
  req.send_request(options)
821
882
  end
822
883
 
823
- # Remove a tag from the MWAA environments.
884
+ # Removes key-value tag pairs associated to your Amazon Managed
885
+ # Workflows for Apache Airflow (MWAA) environment. For example,
886
+ # `"Environment": "Staging"`.
824
887
  #
825
888
  # @option params [required, String] :resource_arn
826
- # The tag resource ARN of the MWAA environments.
889
+ # The Amazon Resource Name (ARN) of the Amazon MWAA environment. For
890
+ # example,
891
+ # `arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment`.
827
892
  #
828
893
  # @option params [required, Array<String>] :tag_keys
829
- # The tag resource key of the MWAA environments.
894
+ # The key-value tag pair you want to remove. For example,
895
+ # `"Environment": "Staging"`.
830
896
  #
831
897
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
832
898
  #
@@ -846,60 +912,151 @@ module Aws::MWAA
846
912
  req.send_request(options)
847
913
  end
848
914
 
849
- # Update an MWAA environment.
915
+ # Updates an Amazon Managed Workflows for Apache Airflow (MWAA)
916
+ # environment.
850
917
  #
851
918
  # @option params [Hash<String,String>] :airflow_configuration_options
852
- # The Airflow Configuration Options to update of your Amazon MWAA
853
- # environment.
919
+ # A list of key-value pairs containing the Apache Airflow configuration
920
+ # options you want to attach to your environment. To learn more, see
921
+ # [Apache Airflow configuration options][1].
922
+ #
923
+ #
924
+ #
925
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html
854
926
  #
855
927
  # @option params [String] :airflow_version
856
- # The Airflow Version to update of your Amazon MWAA environment.
928
+ # The Apache Airflow version for your environment. For example,
929
+ # `v1.10.12`. If no value is specified, defaults to the latest version.
930
+ # Valid values: `v1.10.12`.
857
931
  #
858
932
  # @option params [String] :dag_s3_path
859
- # The Dags folder S3 Path to update of your Amazon MWAA environment.
933
+ # The relative path to the DAGs folder on your Amazon S3 bucket. For
934
+ # example, `dags`. To learn more, see [Adding or updating DAGs][1].
935
+ #
936
+ #
937
+ #
938
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html
860
939
  #
861
940
  # @option params [String] :environment_class
862
- # The Environment Class to update of your Amazon MWAA environment.
941
+ # The environment class type. Valid values: `mw1.small`, `mw1.medium`,
942
+ # `mw1.large`. To learn more, see [Amazon MWAA environment class][1].
943
+ #
944
+ #
945
+ #
946
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html
863
947
  #
864
948
  # @option params [String] :execution_role_arn
865
- # The Executio Role ARN to update of your Amazon MWAA environment.
949
+ # The Amazon Resource Name (ARN) of the execution role in IAM that
950
+ # allows MWAA to access AWS resources in your environment. For example,
951
+ # `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
952
+ # [Amazon MWAA Execution role][1].
953
+ #
954
+ #
955
+ #
956
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html
866
957
  #
867
958
  # @option params [Types::LoggingConfigurationInput] :logging_configuration
868
- # The Logging Configuration to update of your Amazon MWAA environment.
959
+ # Defines the Apache Airflow logs to send to CloudWatch Logs:
960
+ # `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
961
+ # `WorkerLogs`.
869
962
  #
870
963
  # @option params [Integer] :max_workers
871
- # The Maximum Workers to update of your Amazon MWAA environment.
964
+ # The maximum number of workers that you want to run in your
965
+ # environment. MWAA scales the number of Apache Airflow workers up to
966
+ # the number you specify in the `MaxWorkers` field. For example, `20`.
967
+ # When there are no more tasks running, and no more in the queue, MWAA
968
+ # disposes of the extra workers leaving the one worker that is included
969
+ # with your environment, or the number you specify in `MinWorkers`.
970
+ #
971
+ # @option params [Integer] :min_workers
972
+ # The minimum number of workers that you want to run in your
973
+ # environment. MWAA scales the number of Apache Airflow workers up to
974
+ # the number you specify in the `MaxWorkers` field. When there are no
975
+ # more tasks running, and no more in the queue, MWAA disposes of the
976
+ # extra workers leaving the worker count you specify in the `MinWorkers`
977
+ # field. For example, `2`.
872
978
  #
873
979
  # @option params [required, String] :name
874
- # The name of your Amazon MWAA environment that you wish to update.
980
+ # The name of your Amazon MWAA environment. For example,
981
+ # `MyMWAAEnvironment`.
875
982
  #
876
983
  # @option params [Types::UpdateNetworkConfigurationInput] :network_configuration
877
- # The Network Configuration to update of your Amazon MWAA environment.
984
+ # The VPC networking components used to secure and enable network
985
+ # traffic between the AWS resources for your environment. To learn more,
986
+ # see [About networking on Amazon MWAA][1].
987
+ #
988
+ #
989
+ #
990
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
878
991
  #
879
992
  # @option params [String] :plugins_s3_object_version
880
- # The Plugins.zip S3 Object Version to update of your Amazon MWAA
881
- # environment.
993
+ # The version of the plugins.zip file on your Amazon S3 bucket. A
994
+ # version must be specified each time a plugins.zip file is updated. To
995
+ # learn more, see [How S3 Versioning works][1].
996
+ #
997
+ #
998
+ #
999
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
882
1000
  #
883
1001
  # @option params [String] :plugins_s3_path
884
- # The Plugins.zip S3 Path to update of your Amazon MWAA environment.
1002
+ # The relative path to the `plugins.zip` file on your Amazon S3 bucket.
1003
+ # For example, `plugins.zip`. If specified, then the plugins.zip version
1004
+ # is required. To learn more, see [Installing custom plugins][1].
1005
+ #
1006
+ #
1007
+ #
1008
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html
885
1009
  #
886
1010
  # @option params [String] :requirements_s3_object_version
887
- # The Requirements.txt S3 ObjectV ersion to update of your Amazon MWAA
888
- # environment.
1011
+ # The version of the requirements.txt file on your Amazon S3 bucket. A
1012
+ # version must be specified each time a requirements.txt file is
1013
+ # updated. To learn more, see [How S3 Versioning works][1].
1014
+ #
1015
+ #
1016
+ #
1017
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
889
1018
  #
890
1019
  # @option params [String] :requirements_s3_path
891
- # The Requirements.txt S3 Path to update of your Amazon MWAA
1020
+ # The relative path to the `requirements.txt` file on your Amazon S3
1021
+ # bucket. For example, `requirements.txt`. If specified, then a file
1022
+ # version is required. To learn more, see [Installing Python
1023
+ # dependencies][1].
1024
+ #
1025
+ #
1026
+ #
1027
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html
1028
+ #
1029
+ # @option params [Integer] :schedulers
1030
+ # The number of Apache Airflow schedulers to run in your Amazon MWAA
892
1031
  # environment.
893
1032
  #
894
1033
  # @option params [String] :source_bucket_arn
895
- # The S3 Source Bucket ARN to update of your Amazon MWAA environment.
1034
+ # The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG
1035
+ # code and supporting files are stored. For example,
1036
+ # `arn:aws:s3:::my-airflow-bucket-unique-name`. To learn more, see
1037
+ # [Create an Amazon S3 bucket for Amazon MWAA][1].
1038
+ #
1039
+ #
1040
+ #
1041
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html
896
1042
  #
897
1043
  # @option params [String] :webserver_access_mode
898
- # The Webserver Access Mode to update of your Amazon MWAA environment.
1044
+ # The Apache Airflow *Web server* access mode. To learn more, see
1045
+ # [Apache Airflow access modes][1].
1046
+ #
1047
+ #
1048
+ #
1049
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html
899
1050
  #
900
1051
  # @option params [String] :weekly_maintenance_window_start
901
- # The Weekly Maintenance Window Start to update of your Amazon MWAA
902
- # environment.
1052
+ # The day and time of the week to start weekly maintenance updates of
1053
+ # your environment in the following format: `DAY:HH:MM`. For example:
1054
+ # `TUE:03:30`. You can specify a start time in 30 minute increments
1055
+ # only. Supported input includes the following:
1056
+ #
1057
+ # * MON\|TUE\|WED\|THU\|FRI\|SAT\|SUN:(\[01\]\\\\d\|2\[0-3\]):(00\|30)
1058
+ #
1059
+ # ^
903
1060
  #
904
1061
  # @return [Types::UpdateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
905
1062
  #
@@ -938,6 +1095,7 @@ module Aws::MWAA
938
1095
  # },
939
1096
  # },
940
1097
  # max_workers: 1,
1098
+ # min_workers: 1,
941
1099
  # name: "EnvironmentName", # required
942
1100
  # network_configuration: {
943
1101
  # security_group_ids: ["SecurityGroupId"], # required
@@ -946,6 +1104,7 @@ module Aws::MWAA
946
1104
  # plugins_s3_path: "RelativePath",
947
1105
  # requirements_s3_object_version: "S3ObjectVersion",
948
1106
  # requirements_s3_path: "RelativePath",
1107
+ # schedulers: 1,
949
1108
  # source_bucket_arn: "S3BucketArn",
950
1109
  # webserver_access_mode: "PRIVATE_ONLY", # accepts PRIVATE_ONLY, PUBLIC_ONLY
951
1110
  # weekly_maintenance_window_start: "WeeklyMaintenanceWindowStart",
@@ -977,7 +1136,7 @@ module Aws::MWAA
977
1136
  params: params,
978
1137
  config: config)
979
1138
  context[:gem_name] = 'aws-sdk-mwaa'
980
- context[:gem_version] = '1.0.0'
1139
+ context[:gem_version] = '1.5.0'
981
1140
  Seahorse::Client::Request.new(handlers, context)
982
1141
  end
983
1142