aws-sdk-mwaa 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mwaa.rb +1 -1
- data/lib/aws-sdk-mwaa/client.rb +244 -101
- data/lib/aws-sdk-mwaa/client_api.rb +4 -0
- data/lib/aws-sdk-mwaa/types.rb +501 -196
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55b11a7cf54ab08bec473a9c43ad6e243134c23519bd722fcc8d3186d8bab025
|
4
|
+
data.tar.gz: 567aae25ee16bf6edb766bf27ac7be1695e55dc14b46aaea9927368aaa7e36c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b930771b5b1eb81025b3864ec92771c807f5f65ff55d933ead24ae97909acf263b86cb9a5552630afb254f33991291219d0a68e027a57015a98dd6f7b74f867f
|
7
|
+
data.tar.gz: 2cb003c82b36d9c9ceece591df0a2ec395af6dafe01fe66060c1037bd1a5ab9ddfac2cf733e356b6e70cf75853b719c51f0cd842d0f8c228b22e9157223bf09b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
data/lib/aws-sdk-mwaa.rb
CHANGED
data/lib/aws-sdk-mwaa/client.rb
CHANGED
@@ -357,141 +357,171 @@ module Aws::MWAA
|
|
357
357
|
req.send_request(options)
|
358
358
|
end
|
359
359
|
|
360
|
-
#
|
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
|
-
#
|
364
|
-
# environment.
|
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
|
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
|
375
|
-
#
|
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-
|
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
|
384
|
-
#
|
385
|
-
#
|
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`.
|
393
|
-
#
|
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/
|
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
|
402
|
-
#
|
403
|
-
#
|
404
|
-
#
|
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/
|
413
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/get-started.html
|
409
414
|
#
|
410
415
|
# @option params [Types::LoggingConfigurationInput] :logging_configuration
|
411
|
-
#
|
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
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
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`.
|
420
427
|
#
|
421
428
|
# @option params [Integer] :min_workers
|
422
429
|
# The minimum number of workers that you want to run in your
|
423
|
-
# environment. MWAA scales the number of Apache Airflow workers
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
427
|
-
#
|
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`.
|
428
435
|
#
|
429
436
|
# @option params [required, String] :name
|
430
|
-
# The name of
|
437
|
+
# The name of the Amazon MWAA environment. For example,
|
438
|
+
# `MyMWAAEnvironment`.
|
431
439
|
#
|
432
440
|
# @option params [required, Types::NetworkConfiguration] :network_configuration
|
433
|
-
# The VPC networking components
|
434
|
-
#
|
435
|
-
#
|
436
|
-
# 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].
|
437
444
|
#
|
438
445
|
#
|
439
446
|
#
|
440
|
-
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/
|
447
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
|
441
448
|
#
|
442
449
|
# @option params [String] :plugins_s3_object_version
|
443
|
-
# The
|
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
|
444
457
|
#
|
445
458
|
# @option params [String] :plugins_s3_path
|
446
|
-
# The relative path to the `plugins.zip` file on your Amazon S3
|
447
|
-
#
|
448
|
-
#
|
449
|
-
# 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].
|
450
462
|
#
|
451
463
|
#
|
452
464
|
#
|
453
|
-
# [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
|
454
466
|
#
|
455
467
|
# @option params [String] :requirements_s3_object_version
|
456
|
-
# The
|
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
|
457
475
|
#
|
458
476
|
# @option params [String] :requirements_s3_path
|
459
477
|
# The relative path to the `requirements.txt` file on your Amazon S3
|
460
|
-
#
|
461
|
-
#
|
462
|
-
#
|
463
|
-
# 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].
|
464
481
|
#
|
465
482
|
#
|
466
483
|
#
|
467
|
-
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/
|
484
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html
|
485
|
+
#
|
486
|
+
# @option params [Integer] :schedulers
|
487
|
+
# The number of Apache Airflow schedulers to run in your environment.
|
468
488
|
#
|
469
489
|
# @option params [required, String] :source_bucket_arn
|
470
|
-
# The Amazon Resource Name (ARN) of
|
471
|
-
# example,
|
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
|
472
498
|
#
|
473
499
|
# @option params [Hash<String,String>] :tags
|
474
|
-
# The
|
475
|
-
#
|
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].
|
476
503
|
#
|
477
504
|
#
|
478
505
|
#
|
479
506
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
480
507
|
#
|
481
508
|
# @option params [String] :webserver_access_mode
|
482
|
-
# The
|
483
|
-
#
|
484
|
-
# users granted access in your IAM policy. A private network limits
|
485
|
-
# access of your Airflow UI to users within your VPC. For more
|
486
|
-
# 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].
|
487
511
|
#
|
488
512
|
#
|
489
513
|
#
|
490
|
-
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/
|
514
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html
|
491
515
|
#
|
492
516
|
# @option params [String] :weekly_maintenance_window_start
|
493
|
-
# The day and time
|
494
|
-
# 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
|
+
# ^
|
495
525
|
#
|
496
526
|
# @return [Types::CreateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
497
527
|
#
|
@@ -541,6 +571,7 @@ module Aws::MWAA
|
|
541
571
|
# plugins_s3_path: "RelativePath",
|
542
572
|
# requirements_s3_object_version: "S3ObjectVersion",
|
543
573
|
# requirements_s3_path: "RelativePath",
|
574
|
+
# schedulers: 1,
|
544
575
|
# source_bucket_arn: "S3BucketArn", # required
|
545
576
|
# tags: {
|
546
577
|
# "TagKey" => "TagValue",
|
@@ -593,10 +624,12 @@ module Aws::MWAA
|
|
593
624
|
req.send_request(options)
|
594
625
|
end
|
595
626
|
|
596
|
-
#
|
627
|
+
# Deletes an Amazon Managed Workflows for Apache Airflow (MWAA)
|
628
|
+
# environment.
|
597
629
|
#
|
598
630
|
# @option params [required, String] :name
|
599
|
-
# The name of the environment
|
631
|
+
# The name of the Amazon MWAA environment. For example,
|
632
|
+
# `MyMWAAEnvironment`.
|
600
633
|
#
|
601
634
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
602
635
|
#
|
@@ -615,10 +648,12 @@ module Aws::MWAA
|
|
615
648
|
req.send_request(options)
|
616
649
|
end
|
617
650
|
|
618
|
-
#
|
651
|
+
# Retrieves the details of an Amazon Managed Workflows for Apache
|
652
|
+
# Airflow (MWAA) environment.
|
619
653
|
#
|
620
654
|
# @option params [required, String] :name
|
621
|
-
# The name of the environment
|
655
|
+
# The name of the Amazon MWAA environment. For example,
|
656
|
+
# `MyMWAAEnvironment`.
|
622
657
|
#
|
623
658
|
# @return [Types::GetEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
624
659
|
#
|
@@ -671,6 +706,7 @@ module Aws::MWAA
|
|
671
706
|
# resp.environment.plugins_s3_path #=> String
|
672
707
|
# resp.environment.requirements_s3_object_version #=> String
|
673
708
|
# resp.environment.requirements_s3_path #=> String
|
709
|
+
# resp.environment.schedulers #=> Integer
|
674
710
|
# resp.environment.service_role_arn #=> String
|
675
711
|
# resp.environment.source_bucket_arn #=> String
|
676
712
|
# resp.environment.status #=> String, one of "CREATING", "CREATE_FAILED", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "UNAVAILABLE", "UPDATE_FAILED"
|
@@ -689,13 +725,15 @@ module Aws::MWAA
|
|
689
725
|
req.send_request(options)
|
690
726
|
end
|
691
727
|
|
692
|
-
#
|
728
|
+
# Lists the Amazon Managed Workflows for Apache Airflow (MWAA)
|
729
|
+
# environments.
|
693
730
|
#
|
694
731
|
# @option params [Integer] :max_results
|
695
|
-
# The maximum results
|
732
|
+
# The maximum number of results to retrieve per page. For example, `5`
|
733
|
+
# environments per page.
|
696
734
|
#
|
697
735
|
# @option params [String] :next_token
|
698
|
-
#
|
736
|
+
# Retrieves the next page of the results.
|
699
737
|
#
|
700
738
|
# @return [Types::ListEnvironmentsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
701
739
|
#
|
@@ -726,10 +764,14 @@ module Aws::MWAA
|
|
726
764
|
req.send_request(options)
|
727
765
|
end
|
728
766
|
|
729
|
-
#
|
767
|
+
# Lists the key-value tag pairs associated to the Amazon Managed
|
768
|
+
# Workflows for Apache Airflow (MWAA) environment. For example,
|
769
|
+
# `"Environment": "Staging"`.
|
730
770
|
#
|
731
771
|
# @option params [required, String] :resource_arn
|
732
|
-
# 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`.
|
733
775
|
#
|
734
776
|
# @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
735
777
|
#
|
@@ -802,13 +844,22 @@ module Aws::MWAA
|
|
802
844
|
req.send_request(options)
|
803
845
|
end
|
804
846
|
|
805
|
-
#
|
847
|
+
# Associates key-value tag pairs to your Amazon Managed Workflows for
|
848
|
+
# Apache Airflow (MWAA) environment.
|
806
849
|
#
|
807
850
|
# @option params [required, String] :resource_arn
|
808
|
-
# The
|
851
|
+
# The Amazon Resource Name (ARN) of the Amazon MWAA environment. For
|
852
|
+
# example,
|
853
|
+
# `arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment`.
|
809
854
|
#
|
810
855
|
# @option params [required, Hash<String,String>] :tags
|
811
|
-
# The tag
|
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
|
812
863
|
#
|
813
864
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
814
865
|
#
|
@@ -830,13 +881,18 @@ module Aws::MWAA
|
|
830
881
|
req.send_request(options)
|
831
882
|
end
|
832
883
|
|
833
|
-
#
|
884
|
+
# Removes key-value tag pairs associated to your Amazon Managed
|
885
|
+
# Workflows for Apache Airflow (MWAA) environment. For example,
|
886
|
+
# `"Environment": "Staging"`.
|
834
887
|
#
|
835
888
|
# @option params [required, String] :resource_arn
|
836
|
-
# The
|
889
|
+
# The Amazon Resource Name (ARN) of the Amazon MWAA environment. For
|
890
|
+
# example,
|
891
|
+
# `arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment`.
|
837
892
|
#
|
838
893
|
# @option params [required, Array<String>] :tag_keys
|
839
|
-
# The tag
|
894
|
+
# The key-value tag pair you want to remove. For example,
|
895
|
+
# `"Environment": "Staging"`.
|
840
896
|
#
|
841
897
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
842
898
|
#
|
@@ -856,65 +912,151 @@ module Aws::MWAA
|
|
856
912
|
req.send_request(options)
|
857
913
|
end
|
858
914
|
|
859
|
-
#
|
915
|
+
# Updates an Amazon Managed Workflows for Apache Airflow (MWAA)
|
916
|
+
# environment.
|
860
917
|
#
|
861
918
|
# @option params [Hash<String,String>] :airflow_configuration_options
|
862
|
-
#
|
863
|
-
# 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
|
864
926
|
#
|
865
927
|
# @option params [String] :airflow_version
|
866
|
-
# The Airflow
|
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`.
|
867
931
|
#
|
868
932
|
# @option params [String] :dag_s3_path
|
869
|
-
# The
|
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
|
870
939
|
#
|
871
940
|
# @option params [String] :environment_class
|
872
|
-
# The
|
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
|
873
947
|
#
|
874
948
|
# @option params [String] :execution_role_arn
|
875
|
-
# The
|
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
|
876
957
|
#
|
877
958
|
# @option params [Types::LoggingConfigurationInput] :logging_configuration
|
878
|
-
#
|
959
|
+
# Defines the Apache Airflow logs to send to CloudWatch Logs:
|
960
|
+
# `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`,
|
961
|
+
# `WorkerLogs`.
|
879
962
|
#
|
880
963
|
# @option params [Integer] :max_workers
|
881
|
-
# The maximum number of workers to
|
882
|
-
# 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`.
|
883
970
|
#
|
884
971
|
# @option params [Integer] :min_workers
|
885
|
-
# The minimum number of workers to
|
886
|
-
# environment.
|
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`.
|
887
978
|
#
|
888
979
|
# @option params [required, String] :name
|
889
|
-
# The name of your Amazon MWAA environment
|
980
|
+
# The name of your Amazon MWAA environment. For example,
|
981
|
+
# `MyMWAAEnvironment`.
|
890
982
|
#
|
891
983
|
# @option params [Types::UpdateNetworkConfigurationInput] :network_configuration
|
892
|
-
# The
|
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
|
893
991
|
#
|
894
992
|
# @option params [String] :plugins_s3_object_version
|
895
|
-
# The
|
896
|
-
#
|
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
|
897
1000
|
#
|
898
1001
|
# @option params [String] :plugins_s3_path
|
899
|
-
# The
|
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
|
900
1009
|
#
|
901
1010
|
# @option params [String] :requirements_s3_object_version
|
902
|
-
# The
|
903
|
-
#
|
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
|
904
1018
|
#
|
905
1019
|
# @option params [String] :requirements_s3_path
|
906
|
-
# The
|
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
|
907
1031
|
# environment.
|
908
1032
|
#
|
909
1033
|
# @option params [String] :source_bucket_arn
|
910
|
-
# The
|
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
|
911
1042
|
#
|
912
1043
|
# @option params [String] :webserver_access_mode
|
913
|
-
# The
|
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
|
914
1050
|
#
|
915
1051
|
# @option params [String] :weekly_maintenance_window_start
|
916
|
-
# The
|
917
|
-
# 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
|
+
# ^
|
918
1060
|
#
|
919
1061
|
# @return [Types::UpdateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
920
1062
|
#
|
@@ -962,6 +1104,7 @@ module Aws::MWAA
|
|
962
1104
|
# plugins_s3_path: "RelativePath",
|
963
1105
|
# requirements_s3_object_version: "S3ObjectVersion",
|
964
1106
|
# requirements_s3_path: "RelativePath",
|
1107
|
+
# schedulers: 1,
|
965
1108
|
# source_bucket_arn: "S3BucketArn",
|
966
1109
|
# webserver_access_mode: "PRIVATE_ONLY", # accepts PRIVATE_ONLY, PUBLIC_ONLY
|
967
1110
|
# weekly_maintenance_window_start: "WeeklyMaintenanceWindowStart",
|
@@ -993,7 +1136,7 @@ module Aws::MWAA
|
|
993
1136
|
params: params,
|
994
1137
|
config: config)
|
995
1138
|
context[:gem_name] = 'aws-sdk-mwaa'
|
996
|
-
context[:gem_version] = '1.
|
1139
|
+
context[:gem_version] = '1.5.0'
|
997
1140
|
Seahorse::Client::Request.new(handlers, context)
|
998
1141
|
end
|
999
1142
|
|