aws-sdk-mwaa 1.4.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: db584a78e00c3e7268d3d9474dc9e823786e2e492e0cf324c87d5b3c0f3d9861
4
- data.tar.gz: d9819f56997d97383f29da6c466c6d83dbab5a705a576b3c806ddfcbd32225ef
3
+ metadata.gz: 55b11a7cf54ab08bec473a9c43ad6e243134c23519bd722fcc8d3186d8bab025
4
+ data.tar.gz: 567aae25ee16bf6edb766bf27ac7be1695e55dc14b46aaea9927368aaa7e36c5
5
5
  SHA512:
6
- metadata.gz: 0b124bedc7081d3fbd3a02a1935bd308526390c524b09a0c98817a52f0d91dddaffd424eacf566e4c3b7afcca62534f1648a1780dc689f1740aa7df370ac132a
7
- data.tar.gz: c64902412dc939d31c576dfbe8a5ad81a46c4ca76e431f8af23f286fa6e466b655ca1c34e0ea3b3ca32f0bc2351fbb2ace12eae3feed3f220619931d9f517f34
6
+ metadata.gz: b930771b5b1eb81025b3864ec92771c807f5f65ff55d933ead24ae97909acf263b86cb9a5552630afb254f33991291219d0a68e027a57015a98dd6f7b74f867f
7
+ data.tar.gz: 2cb003c82b36d9c9ceece591df0a2ec395af6dafe01fe66060c1037bd1a5ab9ddfac2cf733e356b6e70cf75853b719c51f0cd842d0f8c228b22e9157223bf09b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
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
+
4
9
  1.4.0 (2021-03-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.5.0
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.4.0'
51
+ GEM_VERSION = '1.5.0'
52
52
 
53
53
  end
@@ -357,141 +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`.
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 and the
424
- # Fargate containers that run your tasks up to the number you specify in
425
- # the `MaxWorkers` field. When there are no more tasks running, and no
426
- # more in the queue, MWAA disposes of the extra containers leaving the
427
- # worker count you specify in the `MinWorkers` field.
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 your MWAA environment.
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 you want to use for your environment. At
434
- # least two private subnet identifiers and one VPC security group
435
- # identifier are required to create an environment. For more
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/vpc-mwaa.html
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 `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
444
457
  #
445
458
  # @option params [String] :plugins_s3_path
446
- # The relative path to the `plugins.zip` file on your Amazon S3 storage
447
- # bucket. For example, `plugins.zip`. If a relative path is provided in
448
- # the request, then `PluginsS3ObjectVersion` is required. For more
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 `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
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
- # storage bucket. For example, `requirements.txt`. If a relative path is
461
- # provided in the request, then `RequirementsS3ObjectVersion` is
462
- # required. For more information, see [Importing DAGs on Amazon
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/configuring-dag-import.html
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 your Amazon S3 storage bucket. For
471
- # 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
472
498
  #
473
499
  # @option params [Hash<String,String>] :tags
474
- # The metadata tags you want to attach to your environment. For more
475
- # 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].
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 networking access of your Apache Airflow web server. A public
483
- # network allows your Airflow UI to be accessed over the Internet by
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/vpc-mwaa.html
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 you want MWAA to start weekly maintenance updates on
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
- # Delete an existing environment.
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 to delete.
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
- # Get details of an existing environment.
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 to retrieve.
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
- # List Amazon MWAA Environments.
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 when listing MWAA environments.
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
- # The Next Token when listing MWAA environments.
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
- # 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"`.
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
- # Add tag to the MWAA environments.
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 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`.
809
854
  #
810
855
  # @option params [required, Hash<String,String>] :tags
811
- # 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
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
- # 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"`.
834
887
  #
835
888
  # @option params [required, String] :resource_arn
836
- # 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`.
837
892
  #
838
893
  # @option params [required, Array<String>] :tag_keys
839
- # The tag resource key of the MWAA environments.
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
- # Update an MWAA environment.
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
- # The Airflow Configuration Options to update of your Amazon MWAA
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 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`.
867
931
  #
868
932
  # @option params [String] :dag_s3_path
869
- # 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
870
939
  #
871
940
  # @option params [String] :environment_class
872
- # 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
873
947
  #
874
948
  # @option params [String] :execution_role_arn
875
- # 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
876
957
  #
877
958
  # @option params [Types::LoggingConfigurationInput] :logging_configuration
878
- # 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`.
879
962
  #
880
963
  # @option params [Integer] :max_workers
881
- # The maximum number of workers to update of your Amazon MWAA
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 update of your Amazon MWAA
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 that you wish to update.
980
+ # The name of your Amazon MWAA environment. For example,
981
+ # `MyMWAAEnvironment`.
890
982
  #
891
983
  # @option params [Types::UpdateNetworkConfigurationInput] :network_configuration
892
- # 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
893
991
  #
894
992
  # @option params [String] :plugins_s3_object_version
895
- # The Plugins.zip S3 Object Version to update of your Amazon MWAA
896
- # 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
897
1000
  #
898
1001
  # @option params [String] :plugins_s3_path
899
- # 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
900
1009
  #
901
1010
  # @option params [String] :requirements_s3_object_version
902
- # The Requirements.txt S3 ObjectV ersion to update of your Amazon MWAA
903
- # 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
904
1018
  #
905
1019
  # @option params [String] :requirements_s3_path
906
- # 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
907
1031
  # environment.
908
1032
  #
909
1033
  # @option params [String] :source_bucket_arn
910
- # 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
911
1042
  #
912
1043
  # @option params [String] :webserver_access_mode
913
- # 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
914
1050
  #
915
1051
  # @option params [String] :weekly_maintenance_window_start
916
- # The Weekly Maintenance Window Start to update of your Amazon MWAA
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.4.0'
1139
+ context[:gem_version] = '1.5.0'
997
1140
  Seahorse::Client::Request.new(handlers, context)
998
1141
  end
999
1142