aws-sdk-mwaa 1.28.0 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mwaa/client.rb +23 -5
- data/lib/aws-sdk-mwaa/client_api.rb +8 -0
- data/lib/aws-sdk-mwaa/types.rb +58 -5
- data/lib/aws-sdk-mwaa.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d734a32da3bc453dd1ede9a037b3144b2497e17b37aad353b03c85fc305b6be3
|
4
|
+
data.tar.gz: 376f968cbb2127ce8ab2e853743ddaaa77068a881a7c8bcc5d983117807c3d20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9880425c966ccc36084b1cdaed314ef3e0d5ed37937e233c4abbf91c372a218cceb3fcd2a40311429b2fc58ab75a41bfdcb8b962485814535d4fe1c6541ef03f
|
7
|
+
data.tar.gz: 020574e9146385d0c7f97e0a2cc21dc962dad5a9b4df0c9a83b730896660948cf9c4f214ed73193508aa8d197569a37759740c0f789a67da8f3648637c0a5280
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.29.0 (2023-11-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This Amazon MWAA release adds support for customer-managed VPC endpoints. This lets you choose whether to create, and manage your environment's VPC endpoints, or to have Amazon MWAA create, and manage them for you.
|
8
|
+
|
4
9
|
1.28.0 (2023-11-06)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.29.0
|
data/lib/aws-sdk-mwaa/client.rb
CHANGED
@@ -443,7 +443,7 @@ module Aws::MWAA
|
|
443
443
|
# Airflow (MWAA)][1].
|
444
444
|
#
|
445
445
|
# Valid values: `1.10.12`, `2.0.2`, `2.2.2`, `2.4.3`, `2.5.1`, `2.6.3`,
|
446
|
-
# `2.7.2
|
446
|
+
# `2.7.2`
|
447
447
|
#
|
448
448
|
#
|
449
449
|
#
|
@@ -458,6 +458,19 @@ module Aws::MWAA
|
|
458
458
|
#
|
459
459
|
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html
|
460
460
|
#
|
461
|
+
# @option params [String] :endpoint_management
|
462
|
+
# Defines whether the VPC endpoints configured for the environment are
|
463
|
+
# created, and managed, by the customer or by Amazon MWAA. If set to
|
464
|
+
# `SERVICE`, Amazon MWAA will create and manage the required VPC
|
465
|
+
# endpoints in your VPC. If set to `CUSTOMER`, you must create, and
|
466
|
+
# manage, the VPC endpoints for your VPC. If you choose to create an
|
467
|
+
# environment in a shared VPC, you must set this value to `CUSTOMER`. In
|
468
|
+
# a shared VPC deployment, the environment will remain in `PENDING`
|
469
|
+
# status until you create the VPC endpoints. If you do not take action
|
470
|
+
# to create the endpoints within 72 hours, the status will change to
|
471
|
+
# `CREATE_FAILED`. You can delete the failed environment and create a
|
472
|
+
# new one.
|
473
|
+
#
|
461
474
|
# @option params [String] :environment_class
|
462
475
|
# The environment class type. Valid values: `mw1.small`, `mw1.medium`,
|
463
476
|
# `mw1.large`. For more information, see [Amazon MWAA environment
|
@@ -619,8 +632,8 @@ module Aws::MWAA
|
|
619
632
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
620
633
|
#
|
621
634
|
# @option params [String] :webserver_access_mode
|
622
|
-
#
|
623
|
-
# [Apache Airflow access modes][1].
|
635
|
+
# Defines the access mode for the Apache Airflow *web server*. For more
|
636
|
+
# information, see [Apache Airflow access modes][1].
|
624
637
|
#
|
625
638
|
#
|
626
639
|
#
|
@@ -645,6 +658,7 @@ module Aws::MWAA
|
|
645
658
|
# },
|
646
659
|
# airflow_version: "AirflowVersion",
|
647
660
|
# dag_s3_path: "RelativePath", # required
|
661
|
+
# endpoint_management: "CUSTOMER", # accepts CUSTOMER, SERVICE
|
648
662
|
# environment_class: "EnvironmentClass",
|
649
663
|
# execution_role_arn: "IamRoleArn", # required
|
650
664
|
# kms_key: "KmsKey",
|
@@ -788,8 +802,11 @@ module Aws::MWAA
|
|
788
802
|
# resp.environment.airflow_configuration_options["ConfigKey"] #=> String
|
789
803
|
# resp.environment.airflow_version #=> String
|
790
804
|
# resp.environment.arn #=> String
|
805
|
+
# resp.environment.celery_executor_queue #=> String
|
791
806
|
# resp.environment.created_at #=> Time
|
792
807
|
# resp.environment.dag_s3_path #=> String
|
808
|
+
# resp.environment.database_vpc_endpoint_service #=> String
|
809
|
+
# resp.environment.endpoint_management #=> String, one of "CUSTOMER", "SERVICE"
|
793
810
|
# resp.environment.environment_class #=> String
|
794
811
|
# resp.environment.execution_role_arn #=> String
|
795
812
|
# resp.environment.kms_key #=> String
|
@@ -829,11 +846,12 @@ module Aws::MWAA
|
|
829
846
|
# resp.environment.source_bucket_arn #=> String
|
830
847
|
# resp.environment.startup_script_s3_object_version #=> String
|
831
848
|
# resp.environment.startup_script_s3_path #=> String
|
832
|
-
# resp.environment.status #=> String, one of "CREATING", "CREATE_FAILED", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "UNAVAILABLE", "UPDATE_FAILED", "ROLLING_BACK", "CREATING_SNAPSHOT"
|
849
|
+
# resp.environment.status #=> String, one of "CREATING", "CREATE_FAILED", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "UNAVAILABLE", "UPDATE_FAILED", "ROLLING_BACK", "CREATING_SNAPSHOT", "PENDING"
|
833
850
|
# resp.environment.tags #=> Hash
|
834
851
|
# resp.environment.tags["TagKey"] #=> String
|
835
852
|
# resp.environment.webserver_access_mode #=> String, one of "PRIVATE_ONLY", "PUBLIC_ONLY"
|
836
853
|
# resp.environment.webserver_url #=> String
|
854
|
+
# resp.environment.webserver_vpc_endpoint_service #=> String
|
837
855
|
# resp.environment.weekly_maintenance_window_start #=> String
|
838
856
|
#
|
839
857
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/GetEnvironment AWS API Documentation
|
@@ -1306,7 +1324,7 @@ module Aws::MWAA
|
|
1306
1324
|
params: params,
|
1307
1325
|
config: config)
|
1308
1326
|
context[:gem_name] = 'aws-sdk-mwaa'
|
1309
|
-
context[:gem_version] = '1.
|
1327
|
+
context[:gem_version] = '1.29.0'
|
1310
1328
|
Seahorse::Client::Request.new(handlers, context)
|
1311
1329
|
end
|
1312
1330
|
|
@@ -16,6 +16,7 @@ module Aws::MWAA
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
AirflowConfigurationOptions = Shapes::MapShape.new(name: 'AirflowConfigurationOptions')
|
18
18
|
AirflowVersion = Shapes::StringShape.new(name: 'AirflowVersion')
|
19
|
+
CeleryExecutorQueue = Shapes::StringShape.new(name: 'CeleryExecutorQueue')
|
19
20
|
CloudWatchLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogGroupArn')
|
20
21
|
ConfigKey = Shapes::StringShape.new(name: 'ConfigKey')
|
21
22
|
ConfigValue = Shapes::StringShape.new(name: 'ConfigValue')
|
@@ -31,6 +32,7 @@ module Aws::MWAA
|
|
31
32
|
Dimension = Shapes::StructureShape.new(name: 'Dimension')
|
32
33
|
Dimensions = Shapes::ListShape.new(name: 'Dimensions')
|
33
34
|
Double = Shapes::FloatShape.new(name: 'Double')
|
35
|
+
EndpointManagement = Shapes::StringShape.new(name: 'EndpointManagement')
|
34
36
|
Environment = Shapes::StructureShape.new(name: 'Environment')
|
35
37
|
EnvironmentArn = Shapes::StringShape.new(name: 'EnvironmentArn')
|
36
38
|
EnvironmentClass = Shapes::StringShape.new(name: 'EnvironmentClass')
|
@@ -96,6 +98,7 @@ module Aws::MWAA
|
|
96
98
|
UpdateSource = Shapes::StringShape.new(name: 'UpdateSource')
|
97
99
|
UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
|
98
100
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
101
|
+
VpcEndpointServiceName = Shapes::StringShape.new(name: 'VpcEndpointServiceName')
|
99
102
|
WebserverAccessMode = Shapes::StringShape.new(name: 'WebserverAccessMode')
|
100
103
|
WebserverUrl = Shapes::StringShape.new(name: 'WebserverUrl')
|
101
104
|
WeeklyMaintenanceWindowStart = Shapes::StringShape.new(name: 'WeeklyMaintenanceWindowStart')
|
@@ -116,6 +119,7 @@ module Aws::MWAA
|
|
116
119
|
CreateEnvironmentInput.add_member(:airflow_configuration_options, Shapes::ShapeRef.new(shape: AirflowConfigurationOptions, location_name: "AirflowConfigurationOptions"))
|
117
120
|
CreateEnvironmentInput.add_member(:airflow_version, Shapes::ShapeRef.new(shape: AirflowVersion, location_name: "AirflowVersion"))
|
118
121
|
CreateEnvironmentInput.add_member(:dag_s3_path, Shapes::ShapeRef.new(shape: RelativePath, required: true, location_name: "DagS3Path"))
|
122
|
+
CreateEnvironmentInput.add_member(:endpoint_management, Shapes::ShapeRef.new(shape: EndpointManagement, location_name: "EndpointManagement"))
|
119
123
|
CreateEnvironmentInput.add_member(:environment_class, Shapes::ShapeRef.new(shape: EnvironmentClass, location_name: "EnvironmentClass"))
|
120
124
|
CreateEnvironmentInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "ExecutionRoleArn"))
|
121
125
|
CreateEnvironmentInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKey"))
|
@@ -161,8 +165,11 @@ module Aws::MWAA
|
|
161
165
|
Environment.add_member(:airflow_configuration_options, Shapes::ShapeRef.new(shape: AirflowConfigurationOptions, location_name: "AirflowConfigurationOptions"))
|
162
166
|
Environment.add_member(:airflow_version, Shapes::ShapeRef.new(shape: AirflowVersion, location_name: "AirflowVersion"))
|
163
167
|
Environment.add_member(:arn, Shapes::ShapeRef.new(shape: EnvironmentArn, location_name: "Arn"))
|
168
|
+
Environment.add_member(:celery_executor_queue, Shapes::ShapeRef.new(shape: CeleryExecutorQueue, location_name: "CeleryExecutorQueue"))
|
164
169
|
Environment.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
|
165
170
|
Environment.add_member(:dag_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "DagS3Path"))
|
171
|
+
Environment.add_member(:database_vpc_endpoint_service, Shapes::ShapeRef.new(shape: VpcEndpointServiceName, location_name: "DatabaseVpcEndpointService"))
|
172
|
+
Environment.add_member(:endpoint_management, Shapes::ShapeRef.new(shape: EndpointManagement, location_name: "EndpointManagement"))
|
166
173
|
Environment.add_member(:environment_class, Shapes::ShapeRef.new(shape: EnvironmentClass, location_name: "EnvironmentClass"))
|
167
174
|
Environment.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "ExecutionRoleArn"))
|
168
175
|
Environment.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKey"))
|
@@ -185,6 +192,7 @@ module Aws::MWAA
|
|
185
192
|
Environment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
186
193
|
Environment.add_member(:webserver_access_mode, Shapes::ShapeRef.new(shape: WebserverAccessMode, location_name: "WebserverAccessMode"))
|
187
194
|
Environment.add_member(:webserver_url, Shapes::ShapeRef.new(shape: WebserverUrl, location_name: "WebserverUrl"))
|
195
|
+
Environment.add_member(:webserver_vpc_endpoint_service, Shapes::ShapeRef.new(shape: VpcEndpointServiceName, location_name: "WebserverVpcEndpointService"))
|
188
196
|
Environment.add_member(:weekly_maintenance_window_start, Shapes::ShapeRef.new(shape: WeeklyMaintenanceWindowStart, location_name: "WeeklyMaintenanceWindowStart"))
|
189
197
|
Environment.struct_class = Types::Environment
|
190
198
|
|
data/lib/aws-sdk-mwaa/types.rb
CHANGED
@@ -85,7 +85,7 @@ module Aws::MWAA
|
|
85
85
|
# Airflow (MWAA)][1].
|
86
86
|
#
|
87
87
|
# Valid values: `1.10.12`, `2.0.2`, `2.2.2`, `2.4.3`, `2.5.1`,
|
88
|
-
# `2.6.3`, `2.7.2
|
88
|
+
# `2.6.3`, `2.7.2`
|
89
89
|
#
|
90
90
|
#
|
91
91
|
#
|
@@ -102,6 +102,20 @@ module Aws::MWAA
|
|
102
102
|
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html
|
103
103
|
# @return [String]
|
104
104
|
#
|
105
|
+
# @!attribute [rw] endpoint_management
|
106
|
+
# Defines whether the VPC endpoints configured for the environment are
|
107
|
+
# created, and managed, by the customer or by Amazon MWAA. If set to
|
108
|
+
# `SERVICE`, Amazon MWAA will create and manage the required VPC
|
109
|
+
# endpoints in your VPC. If set to `CUSTOMER`, you must create, and
|
110
|
+
# manage, the VPC endpoints for your VPC. If you choose to create an
|
111
|
+
# environment in a shared VPC, you must set this value to `CUSTOMER`.
|
112
|
+
# In a shared VPC deployment, the environment will remain in `PENDING`
|
113
|
+
# status until you create the VPC endpoints. If you do not take action
|
114
|
+
# to create the endpoints within 72 hours, the status will change to
|
115
|
+
# `CREATE_FAILED`. You can delete the failed environment and create a
|
116
|
+
# new one.
|
117
|
+
# @return [String]
|
118
|
+
#
|
105
119
|
# @!attribute [rw] environment_class
|
106
120
|
# The environment class type. Valid values: `mw1.small`, `mw1.medium`,
|
107
121
|
# `mw1.large`. For more information, see [Amazon MWAA environment
|
@@ -282,8 +296,8 @@ module Aws::MWAA
|
|
282
296
|
# @return [Hash<String,String>]
|
283
297
|
#
|
284
298
|
# @!attribute [rw] webserver_access_mode
|
285
|
-
#
|
286
|
-
# see [Apache Airflow access modes][1].
|
299
|
+
# Defines the access mode for the Apache Airflow *web server*. For
|
300
|
+
# more information, see [Apache Airflow access modes][1].
|
287
301
|
#
|
288
302
|
#
|
289
303
|
#
|
@@ -304,6 +318,7 @@ module Aws::MWAA
|
|
304
318
|
:airflow_configuration_options,
|
305
319
|
:airflow_version,
|
306
320
|
:dag_s3_path,
|
321
|
+
:endpoint_management,
|
307
322
|
:environment_class,
|
308
323
|
:execution_role_arn,
|
309
324
|
:kms_key,
|
@@ -436,6 +451,17 @@ module Aws::MWAA
|
|
436
451
|
# The Amazon Resource Name (ARN) of the Amazon MWAA environment.
|
437
452
|
# @return [String]
|
438
453
|
#
|
454
|
+
# @!attribute [rw] celery_executor_queue
|
455
|
+
# The queue ARN for the environment's [Celery Executor][1]. Amazon
|
456
|
+
# MWAA uses a Celery Executor to distribute tasks across multiple
|
457
|
+
# workers. When you create an environment in a shared VPC, you must
|
458
|
+
# provide access to the Celery Executor queue from your VPC.
|
459
|
+
#
|
460
|
+
#
|
461
|
+
#
|
462
|
+
# [1]: https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/executor/celery.html
|
463
|
+
# @return [String]
|
464
|
+
#
|
439
465
|
# @!attribute [rw] created_at
|
440
466
|
# The day and time the environment was created.
|
441
467
|
# @return [Time]
|
@@ -450,6 +476,18 @@ module Aws::MWAA
|
|
450
476
|
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html
|
451
477
|
# @return [String]
|
452
478
|
#
|
479
|
+
# @!attribute [rw] database_vpc_endpoint_service
|
480
|
+
# The VPC endpoint for the environment's Amazon RDS database.
|
481
|
+
# @return [String]
|
482
|
+
#
|
483
|
+
# @!attribute [rw] endpoint_management
|
484
|
+
# Defines whether the VPC endpoints configured for the environment are
|
485
|
+
# created, and managed, by the customer or by Amazon MWAA. If set to
|
486
|
+
# `SERVICE`, Amazon MWAA will create and manage the required VPC
|
487
|
+
# endpoints in your VPC. If set to `CUSTOMER`, you must create, and
|
488
|
+
# manage, the VPC endpoints in your VPC.
|
489
|
+
# @return [String]
|
490
|
+
#
|
453
491
|
# @!attribute [rw] environment_class
|
454
492
|
# The environment class type. Valid values: `mw1.small`, `mw1.medium`,
|
455
493
|
# `mw1.large`. For more information, see [Amazon MWAA environment
|
@@ -626,7 +664,9 @@ module Aws::MWAA
|
|
626
664
|
# @return [String]
|
627
665
|
#
|
628
666
|
# @!attribute [rw] status
|
629
|
-
# The status of the Amazon MWAA environment.
|
667
|
+
# The status of the Amazon MWAA environment.
|
668
|
+
#
|
669
|
+
# Valid values:
|
630
670
|
#
|
631
671
|
# * `CREATING` - Indicates the request to create the environment is in
|
632
672
|
# progress.
|
@@ -645,6 +685,11 @@ module Aws::MWAA
|
|
645
685
|
# * `AVAILABLE` - Indicates the request was successful and the
|
646
686
|
# environment is ready to use.
|
647
687
|
#
|
688
|
+
# * `PENDING` - Indicates the request was successful, but the process
|
689
|
+
# to create the environment is paused until you create the required
|
690
|
+
# VPC endpoints in your VPC. After you create the VPC endpoints, the
|
691
|
+
# process resumes.
|
692
|
+
#
|
648
693
|
# * `UPDATING` - Indicates the request to update the environment is in
|
649
694
|
# progress.
|
650
695
|
#
|
@@ -686,7 +731,7 @@ module Aws::MWAA
|
|
686
731
|
# @return [Hash<String,String>]
|
687
732
|
#
|
688
733
|
# @!attribute [rw] webserver_access_mode
|
689
|
-
# The Apache Airflow *
|
734
|
+
# The Apache Airflow *web server* access mode. For more information,
|
690
735
|
# see [Apache Airflow access modes][1].
|
691
736
|
#
|
692
737
|
#
|
@@ -704,6 +749,10 @@ module Aws::MWAA
|
|
704
749
|
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html
|
705
750
|
# @return [String]
|
706
751
|
#
|
752
|
+
# @!attribute [rw] webserver_vpc_endpoint_service
|
753
|
+
# The VPC endpoint for the environment's web server.
|
754
|
+
# @return [String]
|
755
|
+
#
|
707
756
|
# @!attribute [rw] weekly_maintenance_window_start
|
708
757
|
# The day and time of the week in Coordinated Universal Time (UTC)
|
709
758
|
# 24-hour standard time that weekly maintenance updates are scheduled.
|
@@ -716,8 +765,11 @@ module Aws::MWAA
|
|
716
765
|
:airflow_configuration_options,
|
717
766
|
:airflow_version,
|
718
767
|
:arn,
|
768
|
+
:celery_executor_queue,
|
719
769
|
:created_at,
|
720
770
|
:dag_s3_path,
|
771
|
+
:database_vpc_endpoint_service,
|
772
|
+
:endpoint_management,
|
721
773
|
:environment_class,
|
722
774
|
:execution_role_arn,
|
723
775
|
:kms_key,
|
@@ -740,6 +792,7 @@ module Aws::MWAA
|
|
740
792
|
:tags,
|
741
793
|
:webserver_access_mode,
|
742
794
|
:webserver_url,
|
795
|
+
:webserver_vpc_endpoint_service,
|
743
796
|
:weekly_maintenance_window_start)
|
744
797
|
SENSITIVE = [:airflow_configuration_options]
|
745
798
|
include Aws::Structure
|
data/lib/aws-sdk-mwaa.rb
CHANGED
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.
|
4
|
+
version: 1.29.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-11-
|
11
|
+
date: 2023-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|