aws-sdk-mwaa 1.90.0 → 1.92.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mwaa/client.rb +62 -1
- data/lib/aws-sdk-mwaa/client_api.rb +31 -0
- data/lib/aws-sdk-mwaa/types.rb +181 -3
- data/lib/aws-sdk-mwaa.rb +1 -1
- data/sig/client.rbs +21 -2
- data/sig/types.rbs +24 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5c1cb209f79aa8923b413aad8236a72da684d05c39a966ef51078e6f9c79a7f
|
|
4
|
+
data.tar.gz: dd117a66bf63efb1cee3d23863f51285972757b0843af1d2f62059ce3f653359
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b9ff1e6c3017f8bdd8377227bf22bc89ab22f53f02a3eb575f8d0846ff71fd9e535c97279486fb20e15837701748b7585ff367abe2913ea5139419463488622
|
|
7
|
+
data.tar.gz: af05593b655fae27cb644b07e120e800a00315a07494fbc6f81363480032585230919c64f4a20afb20781d0956af65b706e0adece111e5373fbfa55ee8d625f7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.92.0 (2026-11-12)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon MWAA now supports Airflow environments with IAM Identity Center (IDC) integration and exposes OSS Airflow Multi-Team feature. Users can configure individual IDC-backed identities and fine-grained authorization, and define Dags on per-team basis.
|
|
8
|
+
|
|
9
|
+
1.91.0 (2026-11-11)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.90.0 (2026-11-10)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.92.0
|
data/lib/aws-sdk-mwaa/client.rb
CHANGED
|
@@ -778,6 +778,24 @@ module Aws::MWAA
|
|
|
778
778
|
# from `2` to `5`. Defaults to `2` for all environment sizes except
|
|
779
779
|
# mw1.micro, which defaults to `1`.
|
|
780
780
|
#
|
|
781
|
+
# @option params [Types::IdentityCenterConfiguration] :identity_center_configuration
|
|
782
|
+
# The Amazon Web Services IAM Identity Center configuration used to
|
|
783
|
+
# authenticate users to the Apache Airflow web UI for your environment.
|
|
784
|
+
#
|
|
785
|
+
# @option params [Hash<String,Types::TeamConfig>] :teams
|
|
786
|
+
# A map of teams to configure for Apache Airflow multi-team support on
|
|
787
|
+
# your Amazon MWAA environment. Each entry maps a team name to a object
|
|
788
|
+
# that defines the Amazon S3 location of that team's DAG code. The team
|
|
789
|
+
# name must match the display name of an Amazon Web Services IAM
|
|
790
|
+
# Identity Center group that you associate with your environment, so you
|
|
791
|
+
# must configure IAM Identity Center for the environment before you add
|
|
792
|
+
# teams. You can configure between `1` and `20` teams. For more
|
|
793
|
+
# information, refer to [Apache Airflow multi-team environments][1].
|
|
794
|
+
#
|
|
795
|
+
#
|
|
796
|
+
#
|
|
797
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/multi-team-environments.html
|
|
798
|
+
#
|
|
781
799
|
# @return [Types::CreateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
782
800
|
#
|
|
783
801
|
# * {Types::CreateEnvironmentOutput#arn #arn} => String
|
|
@@ -838,6 +856,16 @@ module Aws::MWAA
|
|
|
838
856
|
# endpoint_management: "CUSTOMER", # accepts CUSTOMER, SERVICE
|
|
839
857
|
# min_webservers: 1,
|
|
840
858
|
# max_webservers: 1,
|
|
859
|
+
# identity_center_configuration: {
|
|
860
|
+
# start_url: "IdentityCenterStartUrl",
|
|
861
|
+
# identity_store_id: "IdentityCenterIdentityStoreId",
|
|
862
|
+
# },
|
|
863
|
+
# teams: {
|
|
864
|
+
# "TeamNameString" => {
|
|
865
|
+
# source_bucket_arn: "S3BucketArn", # required
|
|
866
|
+
# dag_s3_path: "RelativePath", # required
|
|
867
|
+
# },
|
|
868
|
+
# },
|
|
841
869
|
# })
|
|
842
870
|
#
|
|
843
871
|
# @example Response structure
|
|
@@ -994,6 +1022,11 @@ module Aws::MWAA
|
|
|
994
1022
|
# resp.environment.endpoint_management #=> String, one of "CUSTOMER", "SERVICE"
|
|
995
1023
|
# resp.environment.min_webservers #=> Integer
|
|
996
1024
|
# resp.environment.max_webservers #=> Integer
|
|
1025
|
+
# resp.environment.identity_center_configuration.start_url #=> String
|
|
1026
|
+
# resp.environment.identity_center_configuration.identity_store_id #=> String
|
|
1027
|
+
# resp.environment.teams #=> Hash
|
|
1028
|
+
# resp.environment.teams["TeamNameString"].source_bucket_arn #=> String
|
|
1029
|
+
# resp.environment.teams["TeamNameString"].dag_s3_path #=> String
|
|
997
1030
|
#
|
|
998
1031
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/GetEnvironment AWS API Documentation
|
|
999
1032
|
#
|
|
@@ -1508,6 +1541,21 @@ module Aws::MWAA
|
|
|
1508
1541
|
# `TUE:03:30`. You can specify a start time in 30 minute increments
|
|
1509
1542
|
# only.
|
|
1510
1543
|
#
|
|
1544
|
+
# @option params [Types::IdentityCenterConfiguration] :identity_center_configuration
|
|
1545
|
+
# The Amazon Web Services IAM Identity Center configuration used to
|
|
1546
|
+
# authenticate users to the Apache Airflow web UI for your environment.
|
|
1547
|
+
#
|
|
1548
|
+
# @option params [Types::UpdateTeamsInput] :teams
|
|
1549
|
+
# Updates the teams configured for Apache Airflow multi-team support on
|
|
1550
|
+
# your Amazon MWAA environment. Use `AddOrUpdate` to add new teams or
|
|
1551
|
+
# change the configuration of existing teams, and `Remove` to remove
|
|
1552
|
+
# teams by name. For more information, refer to [Apache Airflow
|
|
1553
|
+
# multi-team environments][1].
|
|
1554
|
+
#
|
|
1555
|
+
#
|
|
1556
|
+
#
|
|
1557
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/multi-team-environments.html
|
|
1558
|
+
#
|
|
1511
1559
|
# @return [Types::UpdateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1512
1560
|
#
|
|
1513
1561
|
# * {Types::UpdateEnvironmentOutput#arn #arn} => String
|
|
@@ -1563,6 +1611,19 @@ module Aws::MWAA
|
|
|
1563
1611
|
# startup_script_s3_object_version: "S3ObjectVersion",
|
|
1564
1612
|
# webserver_access_mode: "PRIVATE_ONLY", # accepts PRIVATE_ONLY, PUBLIC_ONLY, PUBLIC_AND_PRIVATE
|
|
1565
1613
|
# weekly_maintenance_window_start: "WeeklyMaintenanceWindowStart",
|
|
1614
|
+
# identity_center_configuration: {
|
|
1615
|
+
# start_url: "IdentityCenterStartUrl",
|
|
1616
|
+
# identity_store_id: "IdentityCenterIdentityStoreId",
|
|
1617
|
+
# },
|
|
1618
|
+
# teams: {
|
|
1619
|
+
# add_or_update: {
|
|
1620
|
+
# "TeamNameString" => {
|
|
1621
|
+
# source_bucket_arn: "S3BucketArn", # required
|
|
1622
|
+
# dag_s3_path: "RelativePath", # required
|
|
1623
|
+
# },
|
|
1624
|
+
# },
|
|
1625
|
+
# remove: ["TeamNameString"],
|
|
1626
|
+
# },
|
|
1566
1627
|
# })
|
|
1567
1628
|
#
|
|
1568
1629
|
# @example Response structure
|
|
@@ -1596,7 +1657,7 @@ module Aws::MWAA
|
|
|
1596
1657
|
tracer: tracer
|
|
1597
1658
|
)
|
|
1598
1659
|
context[:gem_name] = 'aws-sdk-mwaa'
|
|
1599
|
-
context[:gem_version] = '1.
|
|
1660
|
+
context[:gem_version] = '1.92.0'
|
|
1600
1661
|
Seahorse::Client::Request.new(handlers, context)
|
|
1601
1662
|
end
|
|
1602
1663
|
|
|
@@ -49,6 +49,9 @@ module Aws::MWAA
|
|
|
49
49
|
Hostname = Shapes::StringShape.new(name: 'Hostname')
|
|
50
50
|
IamIdentity = Shapes::StringShape.new(name: 'IamIdentity')
|
|
51
51
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
|
52
|
+
IdentityCenterConfiguration = Shapes::StructureShape.new(name: 'IdentityCenterConfiguration')
|
|
53
|
+
IdentityCenterIdentityStoreId = Shapes::StringShape.new(name: 'IdentityCenterIdentityStoreId')
|
|
54
|
+
IdentityCenterStartUrl = Shapes::StringShape.new(name: 'IdentityCenterStartUrl')
|
|
52
55
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
53
56
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
54
57
|
InvokeRestApiRequest = Shapes::StructureShape.new(name: 'InvokeRestApiRequest')
|
|
@@ -100,6 +103,10 @@ module Aws::MWAA
|
|
|
100
103
|
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
|
101
104
|
TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
|
|
102
105
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
106
|
+
TeamConfig = Shapes::StructureShape.new(name: 'TeamConfig')
|
|
107
|
+
TeamMap = Shapes::MapShape.new(name: 'TeamMap')
|
|
108
|
+
TeamNameList = Shapes::ListShape.new(name: 'TeamNameList')
|
|
109
|
+
TeamNameString = Shapes::StringShape.new(name: 'TeamNameString')
|
|
103
110
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
104
111
|
Token = Shapes::StringShape.new(name: 'Token')
|
|
105
112
|
Unit = Shapes::StringShape.new(name: 'Unit')
|
|
@@ -112,6 +119,7 @@ module Aws::MWAA
|
|
|
112
119
|
UpdateNetworkConfigurationInput = Shapes::StructureShape.new(name: 'UpdateNetworkConfigurationInput')
|
|
113
120
|
UpdateSource = Shapes::StringShape.new(name: 'UpdateSource')
|
|
114
121
|
UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
|
|
122
|
+
UpdateTeamsInput = Shapes::StructureShape.new(name: 'UpdateTeamsInput')
|
|
115
123
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
116
124
|
VpcEndpointServiceName = Shapes::StringShape.new(name: 'VpcEndpointServiceName')
|
|
117
125
|
WebserverAccessMode = Shapes::StringShape.new(name: 'WebserverAccessMode')
|
|
@@ -157,6 +165,8 @@ module Aws::MWAA
|
|
|
157
165
|
CreateEnvironmentInput.add_member(:endpoint_management, Shapes::ShapeRef.new(shape: EndpointManagement, location_name: "EndpointManagement"))
|
|
158
166
|
CreateEnvironmentInput.add_member(:min_webservers, Shapes::ShapeRef.new(shape: MinWebservers, location_name: "MinWebservers"))
|
|
159
167
|
CreateEnvironmentInput.add_member(:max_webservers, Shapes::ShapeRef.new(shape: MaxWebservers, location_name: "MaxWebservers"))
|
|
168
|
+
CreateEnvironmentInput.add_member(:identity_center_configuration, Shapes::ShapeRef.new(shape: IdentityCenterConfiguration, location_name: "IdentityCenterConfiguration"))
|
|
169
|
+
CreateEnvironmentInput.add_member(:teams, Shapes::ShapeRef.new(shape: TeamMap, location_name: "Teams"))
|
|
160
170
|
CreateEnvironmentInput.struct_class = Types::CreateEnvironmentInput
|
|
161
171
|
|
|
162
172
|
CreateEnvironmentOutput.add_member(:arn, Shapes::ShapeRef.new(shape: EnvironmentArn, location_name: "Arn"))
|
|
@@ -216,6 +226,8 @@ module Aws::MWAA
|
|
|
216
226
|
Environment.add_member(:endpoint_management, Shapes::ShapeRef.new(shape: EndpointManagement, location_name: "EndpointManagement"))
|
|
217
227
|
Environment.add_member(:min_webservers, Shapes::ShapeRef.new(shape: MinWebservers, location_name: "MinWebservers"))
|
|
218
228
|
Environment.add_member(:max_webservers, Shapes::ShapeRef.new(shape: MaxWebservers, location_name: "MaxWebservers"))
|
|
229
|
+
Environment.add_member(:identity_center_configuration, Shapes::ShapeRef.new(shape: IdentityCenterConfiguration, location_name: "IdentityCenterConfiguration"))
|
|
230
|
+
Environment.add_member(:teams, Shapes::ShapeRef.new(shape: TeamMap, location_name: "Teams"))
|
|
219
231
|
Environment.struct_class = Types::Environment
|
|
220
232
|
|
|
221
233
|
EnvironmentList.member = Shapes::ShapeRef.new(shape: EnvironmentName)
|
|
@@ -226,6 +238,10 @@ module Aws::MWAA
|
|
|
226
238
|
GetEnvironmentOutput.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
|
|
227
239
|
GetEnvironmentOutput.struct_class = Types::GetEnvironmentOutput
|
|
228
240
|
|
|
241
|
+
IdentityCenterConfiguration.add_member(:start_url, Shapes::ShapeRef.new(shape: IdentityCenterStartUrl, location_name: "StartUrl"))
|
|
242
|
+
IdentityCenterConfiguration.add_member(:identity_store_id, Shapes::ShapeRef.new(shape: IdentityCenterIdentityStoreId, location_name: "IdentityStoreId"))
|
|
243
|
+
IdentityCenterConfiguration.struct_class = Types::IdentityCenterConfiguration
|
|
244
|
+
|
|
229
245
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
230
246
|
InternalServerException.struct_class = Types::InternalServerException
|
|
231
247
|
|
|
@@ -339,6 +355,15 @@ module Aws::MWAA
|
|
|
339
355
|
|
|
340
356
|
TagResourceOutput.struct_class = Types::TagResourceOutput
|
|
341
357
|
|
|
358
|
+
TeamConfig.add_member(:source_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "SourceBucketArn"))
|
|
359
|
+
TeamConfig.add_member(:dag_s3_path, Shapes::ShapeRef.new(shape: RelativePath, required: true, location_name: "DagS3Path"))
|
|
360
|
+
TeamConfig.struct_class = Types::TeamConfig
|
|
361
|
+
|
|
362
|
+
TeamMap.key = Shapes::ShapeRef.new(shape: TeamNameString)
|
|
363
|
+
TeamMap.value = Shapes::ShapeRef.new(shape: TeamConfig)
|
|
364
|
+
|
|
365
|
+
TeamNameList.member = Shapes::ShapeRef.new(shape: TeamNameString)
|
|
366
|
+
|
|
342
367
|
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: EnvironmentArn, required: true, location: "uri", location_name: "ResourceArn"))
|
|
343
368
|
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
|
344
369
|
UntagResourceInput.struct_class = Types::UntagResourceInput
|
|
@@ -368,6 +393,8 @@ module Aws::MWAA
|
|
|
368
393
|
UpdateEnvironmentInput.add_member(:startup_script_s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "StartupScriptS3ObjectVersion"))
|
|
369
394
|
UpdateEnvironmentInput.add_member(:webserver_access_mode, Shapes::ShapeRef.new(shape: WebserverAccessMode, location_name: "WebserverAccessMode"))
|
|
370
395
|
UpdateEnvironmentInput.add_member(:weekly_maintenance_window_start, Shapes::ShapeRef.new(shape: WeeklyMaintenanceWindowStart, location_name: "WeeklyMaintenanceWindowStart"))
|
|
396
|
+
UpdateEnvironmentInput.add_member(:identity_center_configuration, Shapes::ShapeRef.new(shape: IdentityCenterConfiguration, location_name: "IdentityCenterConfiguration"))
|
|
397
|
+
UpdateEnvironmentInput.add_member(:teams, Shapes::ShapeRef.new(shape: UpdateTeamsInput, location_name: "Teams"))
|
|
371
398
|
UpdateEnvironmentInput.struct_class = Types::UpdateEnvironmentInput
|
|
372
399
|
|
|
373
400
|
UpdateEnvironmentOutput.add_member(:arn, Shapes::ShapeRef.new(shape: EnvironmentArn, location_name: "Arn"))
|
|
@@ -380,6 +407,10 @@ module Aws::MWAA
|
|
|
380
407
|
UpdateNetworkConfigurationInput.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupList, required: true, location_name: "SecurityGroupIds"))
|
|
381
408
|
UpdateNetworkConfigurationInput.struct_class = Types::UpdateNetworkConfigurationInput
|
|
382
409
|
|
|
410
|
+
UpdateTeamsInput.add_member(:add_or_update, Shapes::ShapeRef.new(shape: TeamMap, location_name: "AddOrUpdate"))
|
|
411
|
+
UpdateTeamsInput.add_member(:remove, Shapes::ShapeRef.new(shape: TeamNameList, location_name: "Remove"))
|
|
412
|
+
UpdateTeamsInput.struct_class = Types::UpdateTeamsInput
|
|
413
|
+
|
|
383
414
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
384
415
|
ValidationException.struct_class = Types::ValidationException
|
|
385
416
|
|
data/lib/aws-sdk-mwaa/types.rb
CHANGED
|
@@ -354,6 +354,28 @@ module Aws::MWAA
|
|
|
354
354
|
# mw1.micro, which defaults to `1`.
|
|
355
355
|
# @return [Integer]
|
|
356
356
|
#
|
|
357
|
+
# @!attribute [rw] identity_center_configuration
|
|
358
|
+
# The Amazon Web Services IAM Identity Center configuration used to
|
|
359
|
+
# authenticate users to the Apache Airflow web UI for your
|
|
360
|
+
# environment.
|
|
361
|
+
# @return [Types::IdentityCenterConfiguration]
|
|
362
|
+
#
|
|
363
|
+
# @!attribute [rw] teams
|
|
364
|
+
# A map of teams to configure for Apache Airflow multi-team support on
|
|
365
|
+
# your Amazon MWAA environment. Each entry maps a team name to a
|
|
366
|
+
# object that defines the Amazon S3 location of that team's DAG code.
|
|
367
|
+
# The team name must match the display name of an Amazon Web Services
|
|
368
|
+
# IAM Identity Center group that you associate with your environment,
|
|
369
|
+
# so you must configure IAM Identity Center for the environment before
|
|
370
|
+
# you add teams. You can configure between `1` and `20` teams. For
|
|
371
|
+
# more information, refer to [Apache Airflow multi-team
|
|
372
|
+
# environments][1].
|
|
373
|
+
#
|
|
374
|
+
#
|
|
375
|
+
#
|
|
376
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/multi-team-environments.html
|
|
377
|
+
# @return [Hash<String,Types::TeamConfig>]
|
|
378
|
+
#
|
|
357
379
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateEnvironmentInput AWS API Documentation
|
|
358
380
|
#
|
|
359
381
|
class CreateEnvironmentInput < Struct.new(
|
|
@@ -381,7 +403,9 @@ module Aws::MWAA
|
|
|
381
403
|
:schedulers,
|
|
382
404
|
:endpoint_management,
|
|
383
405
|
:min_webservers,
|
|
384
|
-
:max_webservers
|
|
406
|
+
:max_webservers,
|
|
407
|
+
:identity_center_configuration,
|
|
408
|
+
:teams)
|
|
385
409
|
SENSITIVE = [:airflow_configuration_options]
|
|
386
410
|
include Aws::Structure
|
|
387
411
|
end
|
|
@@ -857,6 +881,26 @@ module Aws::MWAA
|
|
|
857
881
|
# mw1.micro, which defaults to `1`.
|
|
858
882
|
# @return [Integer]
|
|
859
883
|
#
|
|
884
|
+
# @!attribute [rw] identity_center_configuration
|
|
885
|
+
# The Amazon Web Services IAM Identity Center configuration used to
|
|
886
|
+
# authenticate users to the Apache Airflow web UI for your
|
|
887
|
+
# environment.
|
|
888
|
+
# @return [Types::IdentityCenterConfiguration]
|
|
889
|
+
#
|
|
890
|
+
# @!attribute [rw] teams
|
|
891
|
+
# The teams configured for Apache Airflow multi-team support on your
|
|
892
|
+
# Amazon MWAA environment. Each entry maps a team name to its
|
|
893
|
+
# settings, which define the Amazon S3 location of that team's DAG
|
|
894
|
+
# code. Each team name matches the display name of the Amazon Web
|
|
895
|
+
# Services IAM Identity Center group associated with the team. For
|
|
896
|
+
# more information, refer to [Apache Airflow multi-team
|
|
897
|
+
# environments][1].
|
|
898
|
+
#
|
|
899
|
+
#
|
|
900
|
+
#
|
|
901
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/multi-team-environments.html
|
|
902
|
+
# @return [Hash<String,Types::TeamConfig>]
|
|
903
|
+
#
|
|
860
904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/Environment AWS API Documentation
|
|
861
905
|
#
|
|
862
906
|
class Environment < Struct.new(
|
|
@@ -893,7 +937,9 @@ module Aws::MWAA
|
|
|
893
937
|
:celery_executor_queue,
|
|
894
938
|
:endpoint_management,
|
|
895
939
|
:min_webservers,
|
|
896
|
-
:max_webservers
|
|
940
|
+
:max_webservers,
|
|
941
|
+
:identity_center_configuration,
|
|
942
|
+
:teams)
|
|
897
943
|
SENSITIVE = [:airflow_configuration_options]
|
|
898
944
|
include Aws::Structure
|
|
899
945
|
end
|
|
@@ -923,6 +969,31 @@ module Aws::MWAA
|
|
|
923
969
|
include Aws::Structure
|
|
924
970
|
end
|
|
925
971
|
|
|
972
|
+
# Describes the Amazon Web Services IAM Identity Center configuration
|
|
973
|
+
# used to authenticate users to the Apache Airflow web UI for your
|
|
974
|
+
# Amazon MWAA environment.
|
|
975
|
+
#
|
|
976
|
+
# @!attribute [rw] start_url
|
|
977
|
+
# The Amazon Web Services access portal URL of the IAM Identity Center
|
|
978
|
+
# instance associated with your environment. For example,
|
|
979
|
+
# `https://my-portal.awsapps.com/start`.
|
|
980
|
+
# @return [String]
|
|
981
|
+
#
|
|
982
|
+
# @!attribute [rw] identity_store_id
|
|
983
|
+
# The identifier of the identity store associated with the IAM
|
|
984
|
+
# Identity Center instance for your environment. For example,
|
|
985
|
+
# `d-1234567890`.
|
|
986
|
+
# @return [String]
|
|
987
|
+
#
|
|
988
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/IdentityCenterConfiguration AWS API Documentation
|
|
989
|
+
#
|
|
990
|
+
class IdentityCenterConfiguration < Struct.new(
|
|
991
|
+
:start_url,
|
|
992
|
+
:identity_store_id)
|
|
993
|
+
SENSITIVE = []
|
|
994
|
+
include Aws::Structure
|
|
995
|
+
end
|
|
996
|
+
|
|
926
997
|
# InternalServerException: An internal error has occurred.
|
|
927
998
|
#
|
|
928
999
|
# @!attribute [rw] message
|
|
@@ -1468,6 +1539,64 @@ module Aws::MWAA
|
|
|
1468
1539
|
#
|
|
1469
1540
|
class TagResourceOutput < Aws::EmptyStructure; end
|
|
1470
1541
|
|
|
1542
|
+
# Describes the configuration for a single team in Apache Airflow
|
|
1543
|
+
# multi-team support on your Amazon MWAA environment. A team
|
|
1544
|
+
# configuration defines the Amazon S3 location of the DAG code for the
|
|
1545
|
+
# team. The team name that maps to this configuration must match the
|
|
1546
|
+
# display name of an Amazon Web Services IAM Identity Center group
|
|
1547
|
+
# associated with your environment. For more information, refer to
|
|
1548
|
+
# [Apache Airflow multi-team environments][1].
|
|
1549
|
+
#
|
|
1550
|
+
#
|
|
1551
|
+
#
|
|
1552
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/multi-team-environments.html
|
|
1553
|
+
#
|
|
1554
|
+
# @!attribute [rw] source_bucket_arn
|
|
1555
|
+
# The Amazon Resource Name (ARN) of the Amazon S3 bucket where the
|
|
1556
|
+
# team's DAG code and supporting files are stored. For example,
|
|
1557
|
+
# `arn:aws:s3:::my-airflow-bucket-unique-name`. For more information,
|
|
1558
|
+
# refer to [Create an Amazon S3 bucket for Amazon MWAA][1].
|
|
1559
|
+
#
|
|
1560
|
+
#
|
|
1561
|
+
#
|
|
1562
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html
|
|
1563
|
+
# @return [String]
|
|
1564
|
+
#
|
|
1565
|
+
# @!attribute [rw] dag_s3_path
|
|
1566
|
+
# The relative path to the DAGs folder for the team in the team's
|
|
1567
|
+
# Amazon S3 bucket. For example, `dags/team-a`. For more information,
|
|
1568
|
+
# refer to [Adding or updating DAGs][1].
|
|
1569
|
+
#
|
|
1570
|
+
# DAG folders can't overlap. A team folder can't be inside the
|
|
1571
|
+
# global folder or another team's folder, and the global folder
|
|
1572
|
+
# can't be inside a team folder. Amazon Managed Workflows for Apache
|
|
1573
|
+
# Airflow (Amazon MWAA) compares folder paths as Amazon S3 prefixes,
|
|
1574
|
+
# so the trailing slash matters:
|
|
1575
|
+
#
|
|
1576
|
+
# * `s3://amzn-s3-demo-bucket/dags/` and
|
|
1577
|
+
# `s3://amzn-s3-demo-bucket/dags/team-a/` overlap, because the first
|
|
1578
|
+
# path is a prefix of the second.
|
|
1579
|
+
#
|
|
1580
|
+
# * `s3://amzn-s3-demo-bucket/dags/` and
|
|
1581
|
+
# `s3://amzn-s3-demo-bucket/dags-team-a/` don't overlap.
|
|
1582
|
+
#
|
|
1583
|
+
# * `s3://amzn-s3-demo-bucket/teams/team-a/` and
|
|
1584
|
+
# `s3://amzn-s3-demo-bucket/teams/team-b/` don't overlap.
|
|
1585
|
+
#
|
|
1586
|
+
#
|
|
1587
|
+
#
|
|
1588
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html
|
|
1589
|
+
# @return [String]
|
|
1590
|
+
#
|
|
1591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/TeamConfig AWS API Documentation
|
|
1592
|
+
#
|
|
1593
|
+
class TeamConfig < Struct.new(
|
|
1594
|
+
:source_bucket_arn,
|
|
1595
|
+
:dag_s3_path)
|
|
1596
|
+
SENSITIVE = []
|
|
1597
|
+
include Aws::Structure
|
|
1598
|
+
end
|
|
1599
|
+
|
|
1471
1600
|
# @!attribute [rw] resource_arn
|
|
1472
1601
|
# The Amazon Resource Name (ARN) of the Amazon MWAA environment. For
|
|
1473
1602
|
# example,
|
|
@@ -1755,6 +1884,24 @@ module Aws::MWAA
|
|
|
1755
1884
|
# only.
|
|
1756
1885
|
# @return [String]
|
|
1757
1886
|
#
|
|
1887
|
+
# @!attribute [rw] identity_center_configuration
|
|
1888
|
+
# The Amazon Web Services IAM Identity Center configuration used to
|
|
1889
|
+
# authenticate users to the Apache Airflow web UI for your
|
|
1890
|
+
# environment.
|
|
1891
|
+
# @return [Types::IdentityCenterConfiguration]
|
|
1892
|
+
#
|
|
1893
|
+
# @!attribute [rw] teams
|
|
1894
|
+
# Updates the teams configured for Apache Airflow multi-team support
|
|
1895
|
+
# on your Amazon MWAA environment. Use `AddOrUpdate` to add new teams
|
|
1896
|
+
# or change the configuration of existing teams, and `Remove` to
|
|
1897
|
+
# remove teams by name. For more information, refer to [Apache Airflow
|
|
1898
|
+
# multi-team environments][1].
|
|
1899
|
+
#
|
|
1900
|
+
#
|
|
1901
|
+
#
|
|
1902
|
+
# [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/multi-team-environments.html
|
|
1903
|
+
# @return [Types::UpdateTeamsInput]
|
|
1904
|
+
#
|
|
1758
1905
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/UpdateEnvironmentInput AWS API Documentation
|
|
1759
1906
|
#
|
|
1760
1907
|
class UpdateEnvironmentInput < Struct.new(
|
|
@@ -1780,7 +1927,9 @@ module Aws::MWAA
|
|
|
1780
1927
|
:startup_script_s3_path,
|
|
1781
1928
|
:startup_script_s3_object_version,
|
|
1782
1929
|
:webserver_access_mode,
|
|
1783
|
-
:weekly_maintenance_window_start
|
|
1930
|
+
:weekly_maintenance_window_start,
|
|
1931
|
+
:identity_center_configuration,
|
|
1932
|
+
:teams)
|
|
1784
1933
|
SENSITIVE = [:airflow_configuration_options]
|
|
1785
1934
|
include Aws::Structure
|
|
1786
1935
|
end
|
|
@@ -1846,6 +1995,35 @@ module Aws::MWAA
|
|
|
1846
1995
|
include Aws::Structure
|
|
1847
1996
|
end
|
|
1848
1997
|
|
|
1998
|
+
# Defines the changes to the teams configured for Apache Airflow
|
|
1999
|
+
# multi-team support when you update your Amazon MWAA environment. Use
|
|
2000
|
+
# `AddOrUpdate` to add or modify teams, and `Remove` to remove teams by
|
|
2001
|
+
# name.
|
|
2002
|
+
#
|
|
2003
|
+
# @!attribute [rw] add_or_update
|
|
2004
|
+
# A map of teams to add to your environment, or to update if they
|
|
2005
|
+
# already exist. Each entry maps a team name to its settings. Each
|
|
2006
|
+
# team name must match the display name of an Amazon Web Services IAM
|
|
2007
|
+
# Identity Center group associated with your environment. You can
|
|
2008
|
+
# configure between `1` and `20` teams.
|
|
2009
|
+
# @return [Hash<String,Types::TeamConfig>]
|
|
2010
|
+
#
|
|
2011
|
+
# @!attribute [rw] remove
|
|
2012
|
+
# A list of team names to remove from your environment. For example,
|
|
2013
|
+
# `team-a`. You can remove between `1` and `20` teams in a single
|
|
2014
|
+
# update. Removing a team does not delete the team's DAG code from
|
|
2015
|
+
# Amazon S3.
|
|
2016
|
+
# @return [Array<String>]
|
|
2017
|
+
#
|
|
2018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/UpdateTeamsInput AWS API Documentation
|
|
2019
|
+
#
|
|
2020
|
+
class UpdateTeamsInput < Struct.new(
|
|
2021
|
+
:add_or_update,
|
|
2022
|
+
:remove)
|
|
2023
|
+
SENSITIVE = []
|
|
2024
|
+
include Aws::Structure
|
|
2025
|
+
end
|
|
2026
|
+
|
|
1849
2027
|
# ValidationException: The provided input is not valid.
|
|
1850
2028
|
#
|
|
1851
2029
|
# @!attribute [rw] message
|
data/lib/aws-sdk-mwaa.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -123,7 +123,15 @@ module Aws
|
|
|
123
123
|
?schedulers: ::Integer,
|
|
124
124
|
?endpoint_management: ("CUSTOMER" | "SERVICE"),
|
|
125
125
|
?min_webservers: ::Integer,
|
|
126
|
-
?max_webservers: ::Integer
|
|
126
|
+
?max_webservers: ::Integer,
|
|
127
|
+
?identity_center_configuration: {
|
|
128
|
+
start_url: ::String?,
|
|
129
|
+
identity_store_id: ::String?
|
|
130
|
+
},
|
|
131
|
+
?teams: Hash[::String, {
|
|
132
|
+
source_bucket_arn: ::String,
|
|
133
|
+
dag_s3_path: ::String
|
|
134
|
+
}]
|
|
127
135
|
) -> _CreateEnvironmentResponseSuccess
|
|
128
136
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEnvironmentResponseSuccess
|
|
129
137
|
|
|
@@ -277,7 +285,18 @@ module Aws
|
|
|
277
285
|
?startup_script_s3_path: ::String,
|
|
278
286
|
?startup_script_s3_object_version: ::String,
|
|
279
287
|
?webserver_access_mode: ("PRIVATE_ONLY" | "PUBLIC_ONLY" | "PUBLIC_AND_PRIVATE"),
|
|
280
|
-
?weekly_maintenance_window_start: ::String
|
|
288
|
+
?weekly_maintenance_window_start: ::String,
|
|
289
|
+
?identity_center_configuration: {
|
|
290
|
+
start_url: ::String?,
|
|
291
|
+
identity_store_id: ::String?
|
|
292
|
+
},
|
|
293
|
+
?teams: {
|
|
294
|
+
add_or_update: Hash[::String, {
|
|
295
|
+
source_bucket_arn: ::String,
|
|
296
|
+
dag_s3_path: ::String
|
|
297
|
+
}]?,
|
|
298
|
+
remove: Array[::String]?
|
|
299
|
+
}
|
|
281
300
|
) -> _UpdateEnvironmentResponseSuccess
|
|
282
301
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEnvironmentResponseSuccess
|
|
283
302
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -50,6 +50,8 @@ module Aws::MWAA
|
|
|
50
50
|
attr_accessor endpoint_management: ("CUSTOMER" | "SERVICE")
|
|
51
51
|
attr_accessor min_webservers: ::Integer
|
|
52
52
|
attr_accessor max_webservers: ::Integer
|
|
53
|
+
attr_accessor identity_center_configuration: Types::IdentityCenterConfiguration
|
|
54
|
+
attr_accessor teams: ::Hash[::String, Types::TeamConfig]
|
|
53
55
|
SENSITIVE: [:airflow_configuration_options]
|
|
54
56
|
end
|
|
55
57
|
|
|
@@ -120,6 +122,8 @@ module Aws::MWAA
|
|
|
120
122
|
attr_accessor endpoint_management: ("CUSTOMER" | "SERVICE")
|
|
121
123
|
attr_accessor min_webservers: ::Integer
|
|
122
124
|
attr_accessor max_webservers: ::Integer
|
|
125
|
+
attr_accessor identity_center_configuration: Types::IdentityCenterConfiguration
|
|
126
|
+
attr_accessor teams: ::Hash[::String, Types::TeamConfig]
|
|
123
127
|
SENSITIVE: [:airflow_configuration_options]
|
|
124
128
|
end
|
|
125
129
|
|
|
@@ -133,6 +137,12 @@ module Aws::MWAA
|
|
|
133
137
|
SENSITIVE: []
|
|
134
138
|
end
|
|
135
139
|
|
|
140
|
+
class IdentityCenterConfiguration
|
|
141
|
+
attr_accessor start_url: ::String
|
|
142
|
+
attr_accessor identity_store_id: ::String
|
|
143
|
+
SENSITIVE: []
|
|
144
|
+
end
|
|
145
|
+
|
|
136
146
|
class InternalServerException
|
|
137
147
|
attr_accessor message: ::String
|
|
138
148
|
SENSITIVE: []
|
|
@@ -279,6 +289,12 @@ module Aws::MWAA
|
|
|
279
289
|
class TagResourceOutput < Aws::EmptyStructure
|
|
280
290
|
end
|
|
281
291
|
|
|
292
|
+
class TeamConfig
|
|
293
|
+
attr_accessor source_bucket_arn: ::String
|
|
294
|
+
attr_accessor dag_s3_path: ::String
|
|
295
|
+
SENSITIVE: []
|
|
296
|
+
end
|
|
297
|
+
|
|
282
298
|
class UntagResourceInput
|
|
283
299
|
attr_accessor resource_arn: ::String
|
|
284
300
|
attr_accessor tag_keys: ::Array[::String]
|
|
@@ -312,6 +328,8 @@ module Aws::MWAA
|
|
|
312
328
|
attr_accessor startup_script_s3_object_version: ::String
|
|
313
329
|
attr_accessor webserver_access_mode: ("PRIVATE_ONLY" | "PUBLIC_ONLY" | "PUBLIC_AND_PRIVATE")
|
|
314
330
|
attr_accessor weekly_maintenance_window_start: ::String
|
|
331
|
+
attr_accessor identity_center_configuration: Types::IdentityCenterConfiguration
|
|
332
|
+
attr_accessor teams: Types::UpdateTeamsInput
|
|
315
333
|
SENSITIVE: [:airflow_configuration_options]
|
|
316
334
|
end
|
|
317
335
|
|
|
@@ -331,6 +349,12 @@ module Aws::MWAA
|
|
|
331
349
|
SENSITIVE: []
|
|
332
350
|
end
|
|
333
351
|
|
|
352
|
+
class UpdateTeamsInput
|
|
353
|
+
attr_accessor add_or_update: ::Hash[::String, Types::TeamConfig]
|
|
354
|
+
attr_accessor remove: ::Array[::String]
|
|
355
|
+
SENSITIVE: []
|
|
356
|
+
end
|
|
357
|
+
|
|
334
358
|
class ValidationException
|
|
335
359
|
attr_accessor message: ::String
|
|
336
360
|
SENSITIVE: []
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.92.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.268.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.268.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|