aws-sdk-mwaa 1.19.0 → 1.21.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: 0ef287a8f85efde37d57e9013fee6e6b36b5f21a0c1827994aa5ae60f73b213d
4
- data.tar.gz: 562c9acbbfeaf3159c245cf905f8bb53e54e2c225823ea11935066d525425358
3
+ metadata.gz: 7c4056123fd0eb59cfce8391fb4edb077b495c0e5797f109e40d9a7bca9ef8e9
4
+ data.tar.gz: df46ce54467904ac2b2c25af8e3d7ee028fe80c79c1c3adf738cb0ed1e054dcf
5
5
  SHA512:
6
- metadata.gz: 14ae6403bd14dc42f2cb286f7c6b4c2ecd2bbad3b7b61fe689185d9eee47a3597e53f1998b3d8da8cd02bff13653672f635752a84b99be1e0791bf9ee28c1da4
7
- data.tar.gz: 5e70a71808533d5e1afef4fa3db5068f6da0278c391f931cc7c7e27803cc240fb7bbc8bc0ae0a09e355ee2792c8671c7c193fc1edb64ec93a9717b966203bd12
6
+ metadata.gz: 3955a80d338c065a9b2e293ceafb39f9fb70cd779321b3fc211ed303499842663b29de379cdaa73d12eefe0b81c38bdf9d4a7a771d8660ef0a786ff38f338270
7
+ data.tar.gz: 89f6ae687cdaf061bfbd5e70f45df36bd7314146a472bb7ca78aac48239a0051cf5f86ee901c125b7bd79f8844a95c6ca1e075058ababd640b28c47d6f2f3ed3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.20.0 (2023-04-03)
10
+ ------------------
11
+
12
+ * Feature - This Amazon MWAA release adds the ability to customize the Apache Airflow environment by launching a shell script at startup. This shell script is hosted in your environment's Amazon S3 bucket. Amazon MWAA runs the script before installing requirements and initializing the Apache Airflow process.
13
+
4
14
  1.19.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.21.0
@@ -275,6 +275,11 @@ module Aws::MWAA
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -409,8 +414,8 @@ module Aws::MWAA
409
414
  #
410
415
  # @option params [Hash<String,String>] :airflow_configuration_options
411
416
  # A list of key-value pairs containing the Apache Airflow configuration
412
- # options you want to attach to your environment. To learn more, see
413
- # [Apache Airflow configuration options][1].
417
+ # options you want to attach to your environment. For more information,
418
+ # see [Apache Airflow configuration options][1].
414
419
  #
415
420
  #
416
421
  #
@@ -429,7 +434,8 @@ module Aws::MWAA
429
434
  #
430
435
  # @option params [required, String] :dag_s3_path
431
436
  # The relative path to the DAGs folder on your Amazon S3 bucket. For
432
- # example, `dags`. To learn more, see [Adding or updating DAGs][1].
437
+ # example, `dags`. For more information, see [Adding or updating
438
+ # DAGs][1].
433
439
  #
434
440
  #
435
441
  #
@@ -437,7 +443,8 @@ module Aws::MWAA
437
443
  #
438
444
  # @option params [String] :environment_class
439
445
  # The environment class type. Valid values: `mw1.small`, `mw1.medium`,
440
- # `mw1.large`. To learn more, see [Amazon MWAA environment class][1].
446
+ # `mw1.large`. For more information, see [Amazon MWAA environment
447
+ # class][1].
441
448
  #
442
449
  #
443
450
  #
@@ -448,8 +455,8 @@ module Aws::MWAA
448
455
  # environment. An execution role is an Amazon Web Services Identity and
449
456
  # Access Management (IAM) role that grants MWAA permission to access
450
457
  # Amazon Web Services services and resources used by your environment.
451
- # For example, `arn:aws:iam::123456789:role/my-execution-role`. To learn
452
- # more, see [Amazon MWAA Execution role][1].
458
+ # For example, `arn:aws:iam::123456789:role/my-execution-role`. For more
459
+ # information, see [Amazon MWAA Execution role][1].
453
460
  #
454
461
  #
455
462
  #
@@ -458,8 +465,8 @@ module Aws::MWAA
458
465
  # @option params [String] :kms_key
459
466
  # The Amazon Web Services Key Management Service (KMS) key to encrypt
460
467
  # the data in your environment. You can use an Amazon Web Services owned
461
- # CMK, or a Customer managed CMK (advanced). To learn more, see [Create
462
- # an Amazon MWAA environment][1].
468
+ # CMK, or a Customer managed CMK (advanced). For more information, see
469
+ # [Create an Amazon MWAA environment][1].
463
470
  #
464
471
  #
465
472
  #
@@ -491,16 +498,17 @@ module Aws::MWAA
491
498
  # @option params [required, Types::NetworkConfiguration] :network_configuration
492
499
  # The VPC networking components used to secure and enable network
493
500
  # traffic between the Amazon Web Services resources for your
494
- # environment. To learn more, see [About networking on Amazon MWAA][1].
501
+ # environment. For more information, see [About networking on Amazon
502
+ # MWAA][1].
495
503
  #
496
504
  #
497
505
  #
498
506
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
499
507
  #
500
508
  # @option params [String] :plugins_s3_object_version
501
- # The version of the plugins.zip file on your Amazon S3 bucket. A
502
- # version must be specified each time a plugins.zip file is updated. To
503
- # learn more, see [How S3 Versioning works][1].
509
+ # The version of the plugins.zip file on your Amazon S3 bucket. You must
510
+ # specify a version each time a plugins.zip file is updated. For more
511
+ # information, see [How S3 Versioning works][1].
504
512
  #
505
513
  #
506
514
  #
@@ -508,17 +516,18 @@ module Aws::MWAA
508
516
  #
509
517
  # @option params [String] :plugins_s3_path
510
518
  # The relative path to the `plugins.zip` file on your Amazon S3 bucket.
511
- # For example, `plugins.zip`. If specified, then the plugins.zip version
512
- # is required. To learn more, see [Installing custom plugins][1].
519
+ # For example, `plugins.zip`. If specified, then the `plugins.zip`
520
+ # version is required. For more information, see [Installing custom
521
+ # plugins][1].
513
522
  #
514
523
  #
515
524
  #
516
525
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html
517
526
  #
518
527
  # @option params [String] :requirements_s3_object_version
519
- # The version of the requirements.txt file on your Amazon S3 bucket. A
520
- # version must be specified each time a requirements.txt file is
521
- # updated. To learn more, see [How S3 Versioning works][1].
528
+ # The version of the `requirements.txt` file on your Amazon S3 bucket.
529
+ # You must specify a version each time a requirements.txt file is
530
+ # updated. For more information, see [How S3 Versioning works][1].
522
531
  #
523
532
  #
524
533
  #
@@ -526,8 +535,8 @@ module Aws::MWAA
526
535
  #
527
536
  # @option params [String] :requirements_s3_path
528
537
  # The relative path to the `requirements.txt` file on your Amazon S3
529
- # bucket. For example, `requirements.txt`. If specified, then a file
530
- # version is required. To learn more, see [Installing Python
538
+ # bucket. For example, `requirements.txt`. If specified, then a version
539
+ # is required. For more information, see [Installing Python
531
540
  # dependencies][1].
532
541
  #
533
542
  #
@@ -545,24 +554,55 @@ module Aws::MWAA
545
554
  # @option params [required, String] :source_bucket_arn
546
555
  # The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG
547
556
  # code and supporting files are stored. For example,
548
- # `arn:aws:s3:::my-airflow-bucket-unique-name`. To learn more, see
549
- # [Create an Amazon S3 bucket for Amazon MWAA][1].
557
+ # `arn:aws:s3:::my-airflow-bucket-unique-name`. For more information,
558
+ # see [Create an Amazon S3 bucket for Amazon MWAA][1].
550
559
  #
551
560
  #
552
561
  #
553
562
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html
554
563
  #
564
+ # @option params [String] :startup_script_s3_object_version
565
+ # The version of the startup shell script in your Amazon S3 bucket. You
566
+ # must specify the [version ID][1] that Amazon S3 assigns to the file
567
+ # every time you update the script.
568
+ #
569
+ # Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that
570
+ # are no more than 1,024 bytes long. The following is an example:
571
+ #
572
+ # `3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo`
573
+ #
574
+ # For more information, see [Using a startup script][2].
575
+ #
576
+ #
577
+ #
578
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
579
+ # [2]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
580
+ #
581
+ # @option params [String] :startup_script_s3_path
582
+ # The relative path to the startup shell script in your Amazon S3
583
+ # bucket. For example, `s3://mwaa-environment/startup.sh`.
584
+ #
585
+ # Amazon MWAA runs the script as your environment starts, and before
586
+ # running the Apache Airflow process. You can use this script to install
587
+ # dependencies, modify Apache Airflow configuration options, and set
588
+ # environment variables. For more information, see [Using a startup
589
+ # script][1].
590
+ #
591
+ #
592
+ #
593
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
594
+ #
555
595
  # @option params [Hash<String,String>] :tags
556
596
  # The key-value tag pairs you want to associate to your environment. For
557
- # example, `"Environment": "Staging"`. To learn more, see [Tagging
558
- # Amazon Web Services resources][1].
597
+ # example, `"Environment": "Staging"`. For more information, see
598
+ # [Tagging Amazon Web Services resources][1].
559
599
  #
560
600
  #
561
601
  #
562
602
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
563
603
  #
564
604
  # @option params [String] :webserver_access_mode
565
- # The Apache Airflow *Web server* access mode. To learn more, see
605
+ # The Apache Airflow *Web server* access mode. For more information, see
566
606
  # [Apache Airflow access modes][1].
567
607
  #
568
608
  #
@@ -626,6 +666,8 @@ module Aws::MWAA
626
666
  # requirements_s3_path: "RelativePath",
627
667
  # schedulers: 1,
628
668
  # source_bucket_arn: "S3BucketArn", # required
669
+ # startup_script_s3_object_version: "S3ObjectVersion",
670
+ # startup_script_s3_path: "RelativePath",
629
671
  # tags: {
630
672
  # "TagKey" => "TagValue",
631
673
  # },
@@ -768,6 +810,8 @@ module Aws::MWAA
768
810
  # resp.environment.schedulers #=> Integer
769
811
  # resp.environment.service_role_arn #=> String
770
812
  # resp.environment.source_bucket_arn #=> String
813
+ # resp.environment.startup_script_s3_object_version #=> String
814
+ # resp.environment.startup_script_s3_path #=> String
771
815
  # resp.environment.status #=> String, one of "CREATING", "CREATE_FAILED", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "UNAVAILABLE", "UPDATE_FAILED"
772
816
  # resp.environment.tags #=> Hash
773
817
  # resp.environment.tags["TagKey"] #=> String
@@ -918,8 +962,8 @@ module Aws::MWAA
918
962
  #
919
963
  # @option params [required, Hash<String,String>] :tags
920
964
  # The key-value tag pairs you want to associate to your environment. For
921
- # example, `"Environment": "Staging"`. To learn more, see [Tagging
922
- # Amazon Web Services resources][1].
965
+ # example, `"Environment": "Staging"`. For more information, see
966
+ # [Tagging Amazon Web Services resources][1].
923
967
  #
924
968
  #
925
969
  #
@@ -981,8 +1025,8 @@ module Aws::MWAA
981
1025
  #
982
1026
  # @option params [Hash<String,String>] :airflow_configuration_options
983
1027
  # A list of key-value pairs containing the Apache Airflow configuration
984
- # options you want to attach to your environment. To learn more, see
985
- # [Apache Airflow configuration options][1].
1028
+ # options you want to attach to your environment. For more information,
1029
+ # see [Apache Airflow configuration options][1].
986
1030
  #
987
1031
  #
988
1032
  #
@@ -995,7 +1039,8 @@ module Aws::MWAA
995
1039
  #
996
1040
  # @option params [String] :dag_s3_path
997
1041
  # The relative path to the DAGs folder on your Amazon S3 bucket. For
998
- # example, `dags`. To learn more, see [Adding or updating DAGs][1].
1042
+ # example, `dags`. For more information, see [Adding or updating
1043
+ # DAGs][1].
999
1044
  #
1000
1045
  #
1001
1046
  #
@@ -1003,7 +1048,8 @@ module Aws::MWAA
1003
1048
  #
1004
1049
  # @option params [String] :environment_class
1005
1050
  # The environment class type. Valid values: `mw1.small`, `mw1.medium`,
1006
- # `mw1.large`. To learn more, see [Amazon MWAA environment class][1].
1051
+ # `mw1.large`. For more information, see [Amazon MWAA environment
1052
+ # class][1].
1007
1053
  #
1008
1054
  #
1009
1055
  #
@@ -1013,8 +1059,8 @@ module Aws::MWAA
1013
1059
  # The Amazon Resource Name (ARN) of the execution role in IAM that
1014
1060
  # allows MWAA to access Amazon Web Services resources in your
1015
1061
  # environment. For example,
1016
- # `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
1017
- # [Amazon MWAA Execution role][1].
1062
+ # `arn:aws:iam::123456789:role/my-execution-role`. For more information,
1063
+ # see [Amazon MWAA Execution role][1].
1018
1064
  #
1019
1065
  #
1020
1066
  #
@@ -1046,16 +1092,17 @@ module Aws::MWAA
1046
1092
  # @option params [Types::UpdateNetworkConfigurationInput] :network_configuration
1047
1093
  # The VPC networking components used to secure and enable network
1048
1094
  # traffic between the Amazon Web Services resources for your
1049
- # environment. To learn more, see [About networking on Amazon MWAA][1].
1095
+ # environment. For more information, see [About networking on Amazon
1096
+ # MWAA][1].
1050
1097
  #
1051
1098
  #
1052
1099
  #
1053
1100
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
1054
1101
  #
1055
1102
  # @option params [String] :plugins_s3_object_version
1056
- # The version of the plugins.zip file on your Amazon S3 bucket. A
1057
- # version must be specified each time a plugins.zip file is updated. To
1058
- # learn more, see [How S3 Versioning works][1].
1103
+ # The version of the plugins.zip file on your Amazon S3 bucket. You must
1104
+ # specify a version each time a `plugins.zip` file is updated. For more
1105
+ # information, see [How S3 Versioning works][1].
1059
1106
  #
1060
1107
  #
1061
1108
  #
@@ -1064,16 +1111,16 @@ module Aws::MWAA
1064
1111
  # @option params [String] :plugins_s3_path
1065
1112
  # The relative path to the `plugins.zip` file on your Amazon S3 bucket.
1066
1113
  # For example, `plugins.zip`. If specified, then the plugins.zip version
1067
- # is required. To learn more, see [Installing custom plugins][1].
1114
+ # is required. For more information, see [Installing custom plugins][1].
1068
1115
  #
1069
1116
  #
1070
1117
  #
1071
1118
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html
1072
1119
  #
1073
1120
  # @option params [String] :requirements_s3_object_version
1074
- # The version of the requirements.txt file on your Amazon S3 bucket. A
1075
- # version must be specified each time a requirements.txt file is
1076
- # updated. To learn more, see [How S3 Versioning works][1].
1121
+ # The version of the requirements.txt file on your Amazon S3 bucket. You
1122
+ # must specify a version each time a `requirements.txt` file is updated.
1123
+ # For more information, see [How S3 Versioning works][1].
1077
1124
  #
1078
1125
  #
1079
1126
  #
@@ -1082,7 +1129,7 @@ module Aws::MWAA
1082
1129
  # @option params [String] :requirements_s3_path
1083
1130
  # The relative path to the `requirements.txt` file on your Amazon S3
1084
1131
  # bucket. For example, `requirements.txt`. If specified, then a file
1085
- # version is required. To learn more, see [Installing Python
1132
+ # version is required. For more information, see [Installing Python
1086
1133
  # dependencies][1].
1087
1134
  #
1088
1135
  #
@@ -1096,15 +1143,46 @@ module Aws::MWAA
1096
1143
  # @option params [String] :source_bucket_arn
1097
1144
  # The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG
1098
1145
  # code and supporting files are stored. For example,
1099
- # `arn:aws:s3:::my-airflow-bucket-unique-name`. To learn more, see
1100
- # [Create an Amazon S3 bucket for Amazon MWAA][1].
1146
+ # `arn:aws:s3:::my-airflow-bucket-unique-name`. For more information,
1147
+ # see [Create an Amazon S3 bucket for Amazon MWAA][1].
1101
1148
  #
1102
1149
  #
1103
1150
  #
1104
1151
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html
1105
1152
  #
1153
+ # @option params [String] :startup_script_s3_object_version
1154
+ # The version of the startup shell script in your Amazon S3 bucket. You
1155
+ # must specify the [version ID][1] that Amazon S3 assigns to the file
1156
+ # every time you update the script.
1157
+ #
1158
+ # Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that
1159
+ # are no more than 1,024 bytes long. The following is an example:
1160
+ #
1161
+ # `3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo`
1162
+ #
1163
+ # For more information, see [Using a startup script][2].
1164
+ #
1165
+ #
1166
+ #
1167
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
1168
+ # [2]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
1169
+ #
1170
+ # @option params [String] :startup_script_s3_path
1171
+ # The relative path to the startup shell script in your Amazon S3
1172
+ # bucket. For example, `s3://mwaa-environment/startup.sh`.
1173
+ #
1174
+ # Amazon MWAA runs the script as your environment starts, and before
1175
+ # running the Apache Airflow process. You can use this script to install
1176
+ # dependencies, modify Apache Airflow configuration options, and set
1177
+ # environment variables. For more information, see [Using a startup
1178
+ # script][1].
1179
+ #
1180
+ #
1181
+ #
1182
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
1183
+ #
1106
1184
  # @option params [String] :webserver_access_mode
1107
- # The Apache Airflow *Web server* access mode. To learn more, see
1185
+ # The Apache Airflow *Web server* access mode. For more information, see
1108
1186
  # [Apache Airflow access modes][1].
1109
1187
  #
1110
1188
  #
@@ -1166,6 +1244,8 @@ module Aws::MWAA
1166
1244
  # requirements_s3_path: "RelativePath",
1167
1245
  # schedulers: 1,
1168
1246
  # source_bucket_arn: "S3BucketArn",
1247
+ # startup_script_s3_object_version: "S3ObjectVersion",
1248
+ # startup_script_s3_path: "RelativePath",
1169
1249
  # webserver_access_mode: "PRIVATE_ONLY", # accepts PRIVATE_ONLY, PUBLIC_ONLY
1170
1250
  # weekly_maintenance_window_start: "WeeklyMaintenanceWindowStart",
1171
1251
  # })
@@ -1196,7 +1276,7 @@ module Aws::MWAA
1196
1276
  params: params,
1197
1277
  config: config)
1198
1278
  context[:gem_name] = 'aws-sdk-mwaa'
1199
- context[:gem_version] = '1.19.0'
1279
+ context[:gem_version] = '1.21.0'
1200
1280
  Seahorse::Client::Request.new(handlers, context)
1201
1281
  end
1202
1282
 
@@ -130,6 +130,8 @@ module Aws::MWAA
130
130
  CreateEnvironmentInput.add_member(:requirements_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "RequirementsS3Path"))
131
131
  CreateEnvironmentInput.add_member(:schedulers, Shapes::ShapeRef.new(shape: Schedulers, location_name: "Schedulers"))
132
132
  CreateEnvironmentInput.add_member(:source_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "SourceBucketArn"))
133
+ CreateEnvironmentInput.add_member(:startup_script_s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "StartupScriptS3ObjectVersion"))
134
+ CreateEnvironmentInput.add_member(:startup_script_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "StartupScriptS3Path"))
133
135
  CreateEnvironmentInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
134
136
  CreateEnvironmentInput.add_member(:webserver_access_mode, Shapes::ShapeRef.new(shape: WebserverAccessMode, location_name: "WebserverAccessMode"))
135
137
  CreateEnvironmentInput.add_member(:weekly_maintenance_window_start, Shapes::ShapeRef.new(shape: WeeklyMaintenanceWindowStart, location_name: "WeeklyMaintenanceWindowStart"))
@@ -177,6 +179,8 @@ module Aws::MWAA
177
179
  Environment.add_member(:schedulers, Shapes::ShapeRef.new(shape: Schedulers, location_name: "Schedulers"))
178
180
  Environment.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "ServiceRoleArn"))
179
181
  Environment.add_member(:source_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, location_name: "SourceBucketArn"))
182
+ Environment.add_member(:startup_script_s3_object_version, Shapes::ShapeRef.new(shape: String, location_name: "StartupScriptS3ObjectVersion"))
183
+ Environment.add_member(:startup_script_s3_path, Shapes::ShapeRef.new(shape: String, location_name: "StartupScriptS3Path"))
180
184
  Environment.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentStatus, location_name: "Status"))
181
185
  Environment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
182
186
  Environment.add_member(:webserver_access_mode, Shapes::ShapeRef.new(shape: WebserverAccessMode, location_name: "WebserverAccessMode"))
@@ -304,6 +308,8 @@ module Aws::MWAA
304
308
  UpdateEnvironmentInput.add_member(:requirements_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "RequirementsS3Path"))
305
309
  UpdateEnvironmentInput.add_member(:schedulers, Shapes::ShapeRef.new(shape: Schedulers, location_name: "Schedulers"))
306
310
  UpdateEnvironmentInput.add_member(:source_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, location_name: "SourceBucketArn"))
311
+ UpdateEnvironmentInput.add_member(:startup_script_s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "StartupScriptS3ObjectVersion"))
312
+ UpdateEnvironmentInput.add_member(:startup_script_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "StartupScriptS3Path"))
307
313
  UpdateEnvironmentInput.add_member(:webserver_access_mode, Shapes::ShapeRef.new(shape: WebserverAccessMode, location_name: "WebserverAccessMode"))
308
314
  UpdateEnvironmentInput.add_member(:weekly_maintenance_window_start, Shapes::ShapeRef.new(shape: WeeklyMaintenanceWindowStart, location_name: "WeeklyMaintenanceWindowStart"))
309
315
  UpdateEnvironmentInput.struct_class = Types::UpdateEnvironmentInput
@@ -50,9 +50,6 @@ module Aws::MWAA
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::MWAA
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://airflow-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://airflow-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://airflow.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://airflow-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://airflow-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://airflow.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://airflow.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://airflow.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -70,8 +70,8 @@ module Aws::MWAA
70
70
  #
71
71
  # @!attribute [rw] airflow_configuration_options
72
72
  # A list of key-value pairs containing the Apache Airflow
73
- # configuration options you want to attach to your environment. To
74
- # learn more, see [Apache Airflow configuration options][1].
73
+ # configuration options you want to attach to your environment. For
74
+ # more information, see [Apache Airflow configuration options][1].
75
75
  #
76
76
  #
77
77
  #
@@ -92,7 +92,8 @@ module Aws::MWAA
92
92
  #
93
93
  # @!attribute [rw] dag_s3_path
94
94
  # The relative path to the DAGs folder on your Amazon S3 bucket. For
95
- # example, `dags`. To learn more, see [Adding or updating DAGs][1].
95
+ # example, `dags`. For more information, see [Adding or updating
96
+ # DAGs][1].
96
97
  #
97
98
  #
98
99
  #
@@ -101,7 +102,8 @@ module Aws::MWAA
101
102
  #
102
103
  # @!attribute [rw] environment_class
103
104
  # The environment class type. Valid values: `mw1.small`, `mw1.medium`,
104
- # `mw1.large`. To learn more, see [Amazon MWAA environment class][1].
105
+ # `mw1.large`. For more information, see [Amazon MWAA environment
106
+ # class][1].
105
107
  #
106
108
  #
107
109
  #
@@ -114,8 +116,8 @@ module Aws::MWAA
114
116
  # and Access Management (IAM) role that grants MWAA permission to
115
117
  # access Amazon Web Services services and resources used by your
116
118
  # environment. For example,
117
- # `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
118
- # [Amazon MWAA Execution role][1].
119
+ # `arn:aws:iam::123456789:role/my-execution-role`. For more
120
+ # information, see [Amazon MWAA Execution role][1].
119
121
  #
120
122
  #
121
123
  #
@@ -125,8 +127,8 @@ module Aws::MWAA
125
127
  # @!attribute [rw] kms_key
126
128
  # The Amazon Web Services Key Management Service (KMS) key to encrypt
127
129
  # the data in your environment. You can use an Amazon Web Services
128
- # owned CMK, or a Customer managed CMK (advanced). To learn more, see
129
- # [Create an Amazon MWAA environment][1].
130
+ # owned CMK, or a Customer managed CMK (advanced). For more
131
+ # information, see [Create an Amazon MWAA environment][1].
130
132
  #
131
133
  #
132
134
  #
@@ -164,7 +166,7 @@ module Aws::MWAA
164
166
  # @!attribute [rw] network_configuration
165
167
  # The VPC networking components used to secure and enable network
166
168
  # traffic between the Amazon Web Services resources for your
167
- # environment. To learn more, see [About networking on Amazon
169
+ # environment. For more information, see [About networking on Amazon
168
170
  # MWAA][1].
169
171
  #
170
172
  #
@@ -173,9 +175,9 @@ module Aws::MWAA
173
175
  # @return [Types::NetworkConfiguration]
174
176
  #
175
177
  # @!attribute [rw] plugins_s3_object_version
176
- # The version of the plugins.zip file on your Amazon S3 bucket. A
177
- # version must be specified each time a plugins.zip file is updated.
178
- # To learn more, see [How S3 Versioning works][1].
178
+ # The version of the plugins.zip file on your Amazon S3 bucket. You
179
+ # must specify a version each time a plugins.zip file is updated. For
180
+ # more information, see [How S3 Versioning works][1].
179
181
  #
180
182
  #
181
183
  #
@@ -185,8 +187,8 @@ module Aws::MWAA
185
187
  # @!attribute [rw] plugins_s3_path
186
188
  # The relative path to the `plugins.zip` file on your Amazon S3
187
189
  # bucket. For example, `plugins.zip`. If specified, then the
188
- # plugins.zip version is required. To learn more, see [Installing
189
- # custom plugins][1].
190
+ # `plugins.zip` version is required. For more information, see
191
+ # [Installing custom plugins][1].
190
192
  #
191
193
  #
192
194
  #
@@ -194,9 +196,9 @@ module Aws::MWAA
194
196
  # @return [String]
195
197
  #
196
198
  # @!attribute [rw] requirements_s3_object_version
197
- # The version of the requirements.txt file on your Amazon S3 bucket. A
198
- # version must be specified each time a requirements.txt file is
199
- # updated. To learn more, see [How S3 Versioning works][1].
199
+ # The version of the `requirements.txt` file on your Amazon S3 bucket.
200
+ # You must specify a version each time a requirements.txt file is
201
+ # updated. For more information, see [How S3 Versioning works][1].
200
202
  #
201
203
  #
202
204
  #
@@ -205,8 +207,8 @@ module Aws::MWAA
205
207
  #
206
208
  # @!attribute [rw] requirements_s3_path
207
209
  # The relative path to the `requirements.txt` file on your Amazon S3
208
- # bucket. For example, `requirements.txt`. If specified, then a file
209
- # version is required. To learn more, see [Installing Python
210
+ # bucket. For example, `requirements.txt`. If specified, then a
211
+ # version is required. For more information, see [Installing Python
210
212
  # dependencies][1].
211
213
  #
212
214
  #
@@ -226,18 +228,51 @@ module Aws::MWAA
226
228
  # @!attribute [rw] source_bucket_arn
227
229
  # The Amazon Resource Name (ARN) of the Amazon S3 bucket where your
228
230
  # DAG code and supporting files are stored. For example,
229
- # `arn:aws:s3:::my-airflow-bucket-unique-name`. To learn more, see
230
- # [Create an Amazon S3 bucket for Amazon MWAA][1].
231
+ # `arn:aws:s3:::my-airflow-bucket-unique-name`. For more information,
232
+ # see [Create an Amazon S3 bucket for Amazon MWAA][1].
231
233
  #
232
234
  #
233
235
  #
234
236
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html
235
237
  # @return [String]
236
238
  #
239
+ # @!attribute [rw] startup_script_s3_object_version
240
+ # The version of the startup shell script in your Amazon S3 bucket.
241
+ # You must specify the [version ID][1] that Amazon S3 assigns to the
242
+ # file every time you update the script.
243
+ #
244
+ # Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings
245
+ # that are no more than 1,024 bytes long. The following is an example:
246
+ #
247
+ # `3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo`
248
+ #
249
+ # For more information, see [Using a startup script][2].
250
+ #
251
+ #
252
+ #
253
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
254
+ # [2]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
255
+ # @return [String]
256
+ #
257
+ # @!attribute [rw] startup_script_s3_path
258
+ # The relative path to the startup shell script in your Amazon S3
259
+ # bucket. For example, `s3://mwaa-environment/startup.sh`.
260
+ #
261
+ # Amazon MWAA runs the script as your environment starts, and before
262
+ # running the Apache Airflow process. You can use this script to
263
+ # install dependencies, modify Apache Airflow configuration options,
264
+ # and set environment variables. For more information, see [Using a
265
+ # startup script][1].
266
+ #
267
+ #
268
+ #
269
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
270
+ # @return [String]
271
+ #
237
272
  # @!attribute [rw] tags
238
273
  # The key-value tag pairs you want to associate to your environment.
239
- # For example, `"Environment": "Staging"`. To learn more, see [Tagging
240
- # Amazon Web Services resources][1].
274
+ # For example, `"Environment": "Staging"`. For more information, see
275
+ # [Tagging Amazon Web Services resources][1].
241
276
  #
242
277
  #
243
278
  #
@@ -245,8 +280,8 @@ module Aws::MWAA
245
280
  # @return [Hash<String,String>]
246
281
  #
247
282
  # @!attribute [rw] webserver_access_mode
248
- # The Apache Airflow *Web server* access mode. To learn more, see
249
- # [Apache Airflow access modes][1].
283
+ # The Apache Airflow *Web server* access mode. For more information,
284
+ # see [Apache Airflow access modes][1].
250
285
  #
251
286
  #
252
287
  #
@@ -281,6 +316,8 @@ module Aws::MWAA
281
316
  :requirements_s3_path,
282
317
  :schedulers,
283
318
  :source_bucket_arn,
319
+ :startup_script_s3_object_version,
320
+ :startup_script_s3_path,
284
321
  :tags,
285
322
  :webserver_access_mode,
286
323
  :weekly_maintenance_window_start)
@@ -378,8 +415,8 @@ module Aws::MWAA
378
415
  #
379
416
  # @!attribute [rw] airflow_configuration_options
380
417
  # A list of key-value pairs containing the Apache Airflow
381
- # configuration options attached to your environment. To learn more,
382
- # see [Apache Airflow configuration options][1].
418
+ # configuration options attached to your environment. For more
419
+ # information, see [Apache Airflow configuration options][1].
383
420
  #
384
421
  #
385
422
  #
@@ -400,8 +437,9 @@ module Aws::MWAA
400
437
  # @return [Time]
401
438
  #
402
439
  # @!attribute [rw] dag_s3_path
403
- # The relative path to the DAGs folder on your Amazon S3 bucket. For
404
- # example, `dags`. To learn more, see [Adding or updating DAGs][1].
440
+ # The relative path to the DAGs folder in your Amazon S3 bucket. For
441
+ # example, `s3://mwaa-environment/dags`. For more information, see
442
+ # [Adding or updating DAGs][1].
405
443
  #
406
444
  #
407
445
  #
@@ -410,7 +448,8 @@ module Aws::MWAA
410
448
  #
411
449
  # @!attribute [rw] environment_class
412
450
  # The environment class type. Valid values: `mw1.small`, `mw1.medium`,
413
- # `mw1.large`. To learn more, see [Amazon MWAA environment class][1].
451
+ # `mw1.large`. For more information, see [Amazon MWAA environment
452
+ # class][1].
414
453
  #
415
454
  #
416
455
  #
@@ -421,8 +460,8 @@ module Aws::MWAA
421
460
  # The Amazon Resource Name (ARN) of the execution role in IAM that
422
461
  # allows MWAA to access Amazon Web Services resources in your
423
462
  # environment. For example,
424
- # `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
425
- # [Amazon MWAA Execution role][1].
463
+ # `arn:aws:iam::123456789:role/my-execution-role`. For more
464
+ # information, see [Amazon MWAA Execution role][1].
426
465
  #
427
466
  #
428
467
  #
@@ -460,7 +499,7 @@ module Aws::MWAA
460
499
  # @!attribute [rw] network_configuration
461
500
  # Describes the VPC networking components used to secure and enable
462
501
  # network traffic between the Amazon Web Services resources for your
463
- # environment. To learn more, see [About networking on Amazon
502
+ # environment. For more information, see [About networking on Amazon
464
503
  # MWAA][1].
465
504
  #
466
505
  #
@@ -469,18 +508,26 @@ module Aws::MWAA
469
508
  # @return [Types::NetworkConfiguration]
470
509
  #
471
510
  # @!attribute [rw] plugins_s3_object_version
472
- # The version of the plugins.zip file on your Amazon S3 bucket. To
473
- # learn more, see [Installing custom plugins][1].
511
+ # The version of the `plugins.zip` file in your Amazon S3 bucket. You
512
+ # must specify the [version ID][1] that Amazon S3 assigns to the file.
474
513
  #
514
+ # Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings
515
+ # that are no more than 1,024 bytes long. The following is an example:
475
516
  #
517
+ # `3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo`
476
518
  #
477
- # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html
519
+ # For more information, see [Installing custom plugins][2].
520
+ #
521
+ #
522
+ #
523
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
524
+ # [2]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html
478
525
  # @return [String]
479
526
  #
480
527
  # @!attribute [rw] plugins_s3_path
481
- # The relative path to the `plugins.zip` file on your Amazon S3
482
- # bucket. For example, `plugins.zip`. To learn more, see [Installing
483
- # custom plugins][1].
528
+ # The relative path to the file in your Amazon S3 bucket. For example,
529
+ # `s3://mwaa-environment/plugins.zip`. For more information, see
530
+ # [Installing custom plugins][1].
484
531
  #
485
532
  #
486
533
  #
@@ -488,18 +535,27 @@ module Aws::MWAA
488
535
  # @return [String]
489
536
  #
490
537
  # @!attribute [rw] requirements_s3_object_version
491
- # The version of the requirements.txt file on your Amazon S3 bucket.
492
- # To learn more, see [Installing Python dependencies][1].
538
+ # The version of the `requirements.txt ` file on your Amazon S3
539
+ # bucket. You must specify the [version ID][1] that Amazon S3 assigns
540
+ # to the file.
493
541
  #
542
+ # Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings
543
+ # that are no more than 1,024 bytes long. The following is an example:
494
544
  #
545
+ # `3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo`
495
546
  #
496
- # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html
547
+ # For more information, see [Installing Python dependencies][2].
548
+ #
549
+ #
550
+ #
551
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
552
+ # [2]: https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html
497
553
  # @return [String]
498
554
  #
499
555
  # @!attribute [rw] requirements_s3_path
500
- # The relative path to the `requirements.txt` file on your Amazon S3
501
- # bucket. For example, `requirements.txt`. To learn more, see
502
- # [Installing Python dependencies][1].
556
+ # The relative path to the `requirements.txt` file in your Amazon S3
557
+ # bucket. For example, `s3://mwaa-environment/requirements.txt`. For
558
+ # more information, see [Installing Python dependencies][1].
503
559
  #
504
560
  #
505
561
  #
@@ -513,7 +569,7 @@ module Aws::MWAA
513
569
  #
514
570
  # @!attribute [rw] service_role_arn
515
571
  # The Amazon Resource Name (ARN) for the service-linked role of the
516
- # environment. To learn more, see [Amazon MWAA Service-linked
572
+ # environment. For more information, see [Amazon MWAA Service-linked
517
573
  # role][1].
518
574
  #
519
575
  #
@@ -524,14 +580,47 @@ module Aws::MWAA
524
580
  # @!attribute [rw] source_bucket_arn
525
581
  # The Amazon Resource Name (ARN) of the Amazon S3 bucket where your
526
582
  # DAG code and supporting files are stored. For example,
527
- # `arn:aws:s3:::my-airflow-bucket-unique-name`. To learn more, see
528
- # [Create an Amazon S3 bucket for Amazon MWAA][1].
583
+ # `arn:aws:s3:::my-airflow-bucket-unique-name`. For more information,
584
+ # see [Create an Amazon S3 bucket for Amazon MWAA][1].
529
585
  #
530
586
  #
531
587
  #
532
588
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html
533
589
  # @return [String]
534
590
  #
591
+ # @!attribute [rw] startup_script_s3_object_version
592
+ # The version of the startup shell script in your Amazon S3 bucket.
593
+ # You must specify the [version ID][1] that Amazon S3 assigns to the
594
+ # file.
595
+ #
596
+ # Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings
597
+ # that are no more than 1,024 bytes long. The following is an example:
598
+ #
599
+ # `3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo`
600
+ #
601
+ # For more information, see [Using a startup script][2].
602
+ #
603
+ #
604
+ #
605
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
606
+ # [2]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
607
+ # @return [String]
608
+ #
609
+ # @!attribute [rw] startup_script_s3_path
610
+ # The relative path to the startup shell script in your Amazon S3
611
+ # bucket. For example, `s3://mwaa-environment/startup.sh`.
612
+ #
613
+ # Amazon MWAA runs the script as your environment starts, and before
614
+ # running the Apache Airflow process. You can use this script to
615
+ # install dependencies, modify Apache Airflow configuration options,
616
+ # and set environment variables. For more information, see [Using a
617
+ # startup script][1].
618
+ #
619
+ #
620
+ #
621
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
622
+ # @return [String]
623
+ #
535
624
  # @!attribute [rw] status
536
625
  # The status of the Amazon MWAA environment. Valid values:
537
626
  #
@@ -561,8 +650,8 @@ module Aws::MWAA
561
650
  # ready to use.
562
651
  #
563
652
  # We recommend reviewing our troubleshooting guide for a list of
564
- # common errors and their solutions. To learn more, see [Amazon MWAA
565
- # troubleshooting][1].
653
+ # common errors and their solutions. For more information, see [Amazon
654
+ # MWAA troubleshooting][1].
566
655
  #
567
656
  #
568
657
  #
@@ -571,8 +660,8 @@ module Aws::MWAA
571
660
  #
572
661
  # @!attribute [rw] tags
573
662
  # The key-value tag pairs associated to your environment. For example,
574
- # `"Environment": "Staging"`. To learn more, see [Tagging Amazon Web
575
- # Services resources][1].
663
+ # `"Environment": "Staging"`. For more information, see [Tagging
664
+ # Amazon Web Services resources][1].
576
665
  #
577
666
  #
578
667
  #
@@ -580,8 +669,8 @@ module Aws::MWAA
580
669
  # @return [Hash<String,String>]
581
670
  #
582
671
  # @!attribute [rw] webserver_access_mode
583
- # The Apache Airflow *Web server* access mode. To learn more, see
584
- # [Apache Airflow access modes][1].
672
+ # The Apache Airflow *Web server* access mode. For more information,
673
+ # see [Apache Airflow access modes][1].
585
674
  #
586
675
  #
587
676
  #
@@ -590,7 +679,7 @@ module Aws::MWAA
590
679
  #
591
680
  # @!attribute [rw] webserver_url
592
681
  # The Apache Airflow *Web server* host name for the Amazon MWAA
593
- # environment. To learn more, see [Accessing the Apache Airflow
682
+ # environment. For more information, see [Accessing the Apache Airflow
594
683
  # UI][1].
595
684
  #
596
685
  #
@@ -628,6 +717,8 @@ module Aws::MWAA
628
717
  :schedulers,
629
718
  :service_role_arn,
630
719
  :source_bucket_arn,
720
+ :startup_script_s3_object_version,
721
+ :startup_script_s3_path,
631
722
  :status,
632
723
  :tags,
633
724
  :webserver_access_mode,
@@ -757,8 +848,8 @@ module Aws::MWAA
757
848
  end
758
849
 
759
850
  # @!attribute [rw] tags
760
- # The key-value tag pairs associated to your environment. To learn
761
- # more, see [Tagging Amazon Web Services resources][1].
851
+ # The key-value tag pairs associated to your environment. For more
852
+ # information, see [Tagging Amazon Web Services resources][1].
762
853
  #
763
854
  #
764
855
  #
@@ -946,15 +1037,16 @@ module Aws::MWAA
946
1037
 
947
1038
  # Describes the VPC networking components used to secure and enable
948
1039
  # network traffic between the Amazon Web Services resources for your
949
- # environment. To learn more, see [About networking on Amazon MWAA][1].
1040
+ # environment. For more information, see [About networking on Amazon
1041
+ # MWAA][1].
950
1042
  #
951
1043
  #
952
1044
  #
953
1045
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
954
1046
  #
955
1047
  # @!attribute [rw] security_group_ids
956
- # A list of security group IDs. To learn more, see [Security in your
957
- # VPC on Amazon MWAA][1].
1048
+ # A list of security group IDs. For more information, see [Security in
1049
+ # your VPC on Amazon MWAA][1].
958
1050
  #
959
1051
  #
960
1052
  #
@@ -962,8 +1054,8 @@ module Aws::MWAA
962
1054
  # @return [Array<String>]
963
1055
  #
964
1056
  # @!attribute [rw] subnet_ids
965
- # A list of subnet IDs. To learn more, see [About networking on Amazon
966
- # MWAA][1].
1057
+ # A list of subnet IDs. For more information, see [About networking on
1058
+ # Amazon MWAA][1].
967
1059
  #
968
1060
  #
969
1061
  #
@@ -1063,8 +1155,8 @@ module Aws::MWAA
1063
1155
  #
1064
1156
  # @!attribute [rw] tags
1065
1157
  # The key-value tag pairs you want to associate to your environment.
1066
- # For example, `"Environment": "Staging"`. To learn more, see [Tagging
1067
- # Amazon Web Services resources][1].
1158
+ # For example, `"Environment": "Staging"`. For more information, see
1159
+ # [Tagging Amazon Web Services resources][1].
1068
1160
  #
1069
1161
  #
1070
1162
  #
@@ -1110,8 +1202,8 @@ module Aws::MWAA
1110
1202
 
1111
1203
  # @!attribute [rw] airflow_configuration_options
1112
1204
  # A list of key-value pairs containing the Apache Airflow
1113
- # configuration options you want to attach to your environment. To
1114
- # learn more, see [Apache Airflow configuration options][1].
1205
+ # configuration options you want to attach to your environment. For
1206
+ # more information, see [Apache Airflow configuration options][1].
1115
1207
  #
1116
1208
  #
1117
1209
  #
@@ -1126,7 +1218,8 @@ module Aws::MWAA
1126
1218
  #
1127
1219
  # @!attribute [rw] dag_s3_path
1128
1220
  # The relative path to the DAGs folder on your Amazon S3 bucket. For
1129
- # example, `dags`. To learn more, see [Adding or updating DAGs][1].
1221
+ # example, `dags`. For more information, see [Adding or updating
1222
+ # DAGs][1].
1130
1223
  #
1131
1224
  #
1132
1225
  #
@@ -1135,7 +1228,8 @@ module Aws::MWAA
1135
1228
  #
1136
1229
  # @!attribute [rw] environment_class
1137
1230
  # The environment class type. Valid values: `mw1.small`, `mw1.medium`,
1138
- # `mw1.large`. To learn more, see [Amazon MWAA environment class][1].
1231
+ # `mw1.large`. For more information, see [Amazon MWAA environment
1232
+ # class][1].
1139
1233
  #
1140
1234
  #
1141
1235
  #
@@ -1146,8 +1240,8 @@ module Aws::MWAA
1146
1240
  # The Amazon Resource Name (ARN) of the execution role in IAM that
1147
1241
  # allows MWAA to access Amazon Web Services resources in your
1148
1242
  # environment. For example,
1149
- # `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see
1150
- # [Amazon MWAA Execution role][1].
1243
+ # `arn:aws:iam::123456789:role/my-execution-role`. For more
1244
+ # information, see [Amazon MWAA Execution role][1].
1151
1245
  #
1152
1246
  #
1153
1247
  #
@@ -1185,7 +1279,7 @@ module Aws::MWAA
1185
1279
  # @!attribute [rw] network_configuration
1186
1280
  # The VPC networking components used to secure and enable network
1187
1281
  # traffic between the Amazon Web Services resources for your
1188
- # environment. To learn more, see [About networking on Amazon
1282
+ # environment. For more information, see [About networking on Amazon
1189
1283
  # MWAA][1].
1190
1284
  #
1191
1285
  #
@@ -1194,9 +1288,9 @@ module Aws::MWAA
1194
1288
  # @return [Types::UpdateNetworkConfigurationInput]
1195
1289
  #
1196
1290
  # @!attribute [rw] plugins_s3_object_version
1197
- # The version of the plugins.zip file on your Amazon S3 bucket. A
1198
- # version must be specified each time a plugins.zip file is updated.
1199
- # To learn more, see [How S3 Versioning works][1].
1291
+ # The version of the plugins.zip file on your Amazon S3 bucket. You
1292
+ # must specify a version each time a `plugins.zip` file is updated.
1293
+ # For more information, see [How S3 Versioning works][1].
1200
1294
  #
1201
1295
  #
1202
1296
  #
@@ -1206,8 +1300,8 @@ module Aws::MWAA
1206
1300
  # @!attribute [rw] plugins_s3_path
1207
1301
  # The relative path to the `plugins.zip` file on your Amazon S3
1208
1302
  # bucket. For example, `plugins.zip`. If specified, then the
1209
- # plugins.zip version is required. To learn more, see [Installing
1210
- # custom plugins][1].
1303
+ # plugins.zip version is required. For more information, see
1304
+ # [Installing custom plugins][1].
1211
1305
  #
1212
1306
  #
1213
1307
  #
@@ -1215,9 +1309,9 @@ module Aws::MWAA
1215
1309
  # @return [String]
1216
1310
  #
1217
1311
  # @!attribute [rw] requirements_s3_object_version
1218
- # The version of the requirements.txt file on your Amazon S3 bucket. A
1219
- # version must be specified each time a requirements.txt file is
1220
- # updated. To learn more, see [How S3 Versioning works][1].
1312
+ # The version of the requirements.txt file on your Amazon S3 bucket.
1313
+ # You must specify a version each time a `requirements.txt` file is
1314
+ # updated. For more information, see [How S3 Versioning works][1].
1221
1315
  #
1222
1316
  #
1223
1317
  #
@@ -1227,7 +1321,7 @@ module Aws::MWAA
1227
1321
  # @!attribute [rw] requirements_s3_path
1228
1322
  # The relative path to the `requirements.txt` file on your Amazon S3
1229
1323
  # bucket. For example, `requirements.txt`. If specified, then a file
1230
- # version is required. To learn more, see [Installing Python
1324
+ # version is required. For more information, see [Installing Python
1231
1325
  # dependencies][1].
1232
1326
  #
1233
1327
  #
@@ -1243,17 +1337,50 @@ module Aws::MWAA
1243
1337
  # @!attribute [rw] source_bucket_arn
1244
1338
  # The Amazon Resource Name (ARN) of the Amazon S3 bucket where your
1245
1339
  # DAG code and supporting files are stored. For example,
1246
- # `arn:aws:s3:::my-airflow-bucket-unique-name`. To learn more, see
1247
- # [Create an Amazon S3 bucket for Amazon MWAA][1].
1340
+ # `arn:aws:s3:::my-airflow-bucket-unique-name`. For more information,
1341
+ # see [Create an Amazon S3 bucket for Amazon MWAA][1].
1248
1342
  #
1249
1343
  #
1250
1344
  #
1251
1345
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html
1252
1346
  # @return [String]
1253
1347
  #
1348
+ # @!attribute [rw] startup_script_s3_object_version
1349
+ # The version of the startup shell script in your Amazon S3 bucket.
1350
+ # You must specify the [version ID][1] that Amazon S3 assigns to the
1351
+ # file every time you update the script.
1352
+ #
1353
+ # Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings
1354
+ # that are no more than 1,024 bytes long. The following is an example:
1355
+ #
1356
+ # `3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo`
1357
+ #
1358
+ # For more information, see [Using a startup script][2].
1359
+ #
1360
+ #
1361
+ #
1362
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html
1363
+ # [2]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
1364
+ # @return [String]
1365
+ #
1366
+ # @!attribute [rw] startup_script_s3_path
1367
+ # The relative path to the startup shell script in your Amazon S3
1368
+ # bucket. For example, `s3://mwaa-environment/startup.sh`.
1369
+ #
1370
+ # Amazon MWAA runs the script as your environment starts, and before
1371
+ # running the Apache Airflow process. You can use this script to
1372
+ # install dependencies, modify Apache Airflow configuration options,
1373
+ # and set environment variables. For more information, see [Using a
1374
+ # startup script][1].
1375
+ #
1376
+ #
1377
+ #
1378
+ # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html
1379
+ # @return [String]
1380
+ #
1254
1381
  # @!attribute [rw] webserver_access_mode
1255
- # The Apache Airflow *Web server* access mode. To learn more, see
1256
- # [Apache Airflow access modes][1].
1382
+ # The Apache Airflow *Web server* access mode. For more information,
1383
+ # see [Apache Airflow access modes][1].
1257
1384
  #
1258
1385
  #
1259
1386
  #
@@ -1287,6 +1414,8 @@ module Aws::MWAA
1287
1414
  :requirements_s3_path,
1288
1415
  :schedulers,
1289
1416
  :source_bucket_arn,
1417
+ :startup_script_s3_object_version,
1418
+ :startup_script_s3_path,
1290
1419
  :webserver_access_mode,
1291
1420
  :weekly_maintenance_window_start)
1292
1421
  SENSITIVE = [:airflow_configuration_options]
@@ -1329,7 +1458,8 @@ module Aws::MWAA
1329
1458
 
1330
1459
  # Defines the VPC networking components used to secure and enable
1331
1460
  # network traffic between the Amazon Web Services resources for your
1332
- # environment. To learn more, see [About networking on Amazon MWAA][1].
1461
+ # environment. For more information, see [About networking on Amazon
1462
+ # MWAA][1].
1333
1463
  #
1334
1464
  #
1335
1465
  #
@@ -1337,8 +1467,8 @@ module Aws::MWAA
1337
1467
  #
1338
1468
  # @!attribute [rw] security_group_ids
1339
1469
  # A list of security group IDs. A security group must be attached to
1340
- # the same VPC as the subnets. To learn more, see [Security in your
1341
- # VPC on Amazon MWAA][1].
1470
+ # the same VPC as the subnets. For more information, see [Security in
1471
+ # your VPC on Amazon MWAA][1].
1342
1472
  #
1343
1473
  #
1344
1474
  #
data/lib/aws-sdk-mwaa.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-mwaa/customizations'
52
52
  # @!group service
53
53
  module Aws::MWAA
54
54
 
55
- GEM_VERSION = '1.19.0'
55
+ GEM_VERSION = '1.21.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mwaa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.165.0
22
+ version: 3.174.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement