aws-sdk-mwaaserverless 1.9.0 → 1.10.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41349f038cbb2496aca3674d75d84f8447b3c96373c6f2e3dd1863a11ab02bb9
4
- data.tar.gz: 91a9957fc920931f20953dacc19f4b9f6270bb001146a28a2596a09c35f1e48e
3
+ metadata.gz: 5661622616bf343e8b7711d165ce43bf7ecae5099c4adf8b7fc3e4e15c3ac023
4
+ data.tar.gz: 9c7084208c33ec6a97fd82afc65bceead99992f570ec8991721513b053891b84
5
5
  SHA512:
6
- metadata.gz: d4c8af1c73eb9b4a2c3463ea943e45fa49a78d34405c523241bfdd572aaa51470b2025450460c6e972613ed344c31baaecacb93ad05fda8b218ce273682d3b86
7
- data.tar.gz: 775f6bf9908deaf4e0720217171a5bd84b5fa10e5730a6da19433555b3098953e161142b1d9952d00cfa2820bee6f3882c81694540bc5fb85027332829988758
6
+ metadata.gz: 5cb9bedbadd17ed7ab69ecf54fd1d25cea3ef3a8adcffcdd3fafe803de28a97cf9f487386896f08a2c2977eae713383df1633e35ef7e6cd491de6eb95ec7acad
7
+ data.tar.gz: 14d83e24cf5f8fb26f1c85675636b1314f043e21c1cad66e46cad40300f082189b52b0f771a54de51f90525456ba9e98504cce7bfa832d5f8b1a00cae6a4f472
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2026-08-14)
5
+ ------------------
6
+
7
+ * Feature - Adds support for Consuming code for MWAA Serverless
8
+
4
9
  1.9.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.10.0
@@ -518,6 +518,10 @@ module Aws::MWAAServerless
518
518
  # compatible with the Amazon Managed Workflows for Apache Airflow
519
519
  # Serverless execution environment.
520
520
  #
521
+ # @option params [Types::Code] :code
522
+ # The location of code artifacts in Amazon S3 for the workflow. The
523
+ # service copies the code from this location at the time of the request.
524
+ #
521
525
  # @option params [required, String] :role_arn
522
526
  # The Amazon Resource Name (ARN) of the IAM role that Amazon Managed
523
527
  # Workflows for Apache Airflow Serverless assumes when executing the
@@ -594,6 +598,13 @@ module Aws::MWAAServerless
594
598
  # object_key: "String", # required
595
599
  # version_id: "String",
596
600
  # },
601
+ # code: {
602
+ # s3_location: {
603
+ # bucket: "S3LocationBucketString", # required
604
+ # object_key: "S3LocationObjectKeyString", # required
605
+ # version_id: "S3LocationVersionIdString",
606
+ # },
607
+ # },
597
608
  # role_arn: "RoleARN", # required
598
609
  # description: "DescriptionString",
599
610
  # encryption_configuration: {
@@ -773,6 +784,8 @@ module Aws::MWAAServerless
773
784
  # * {Types::GetWorkflowResponse#engine_version #engine_version} => Integer
774
785
  # * {Types::GetWorkflowResponse#workflow_status #workflow_status} => String
775
786
  # * {Types::GetWorkflowResponse#definition_s3_location #definition_s3_location} => Types::DefinitionS3Location
787
+ # * {Types::GetWorkflowResponse#code #code} => Types::Code
788
+ # * {Types::GetWorkflowResponse#code_snapshotted_at #code_snapshotted_at} => Time
776
789
  # * {Types::GetWorkflowResponse#schedule_configuration #schedule_configuration} => Types::ScheduleConfiguration
777
790
  # * {Types::GetWorkflowResponse#role_arn #role_arn} => String
778
791
  # * {Types::GetWorkflowResponse#network_configuration #network_configuration} => Types::NetworkConfiguration
@@ -802,6 +815,10 @@ module Aws::MWAAServerless
802
815
  # resp.definition_s3_location.bucket #=> String
803
816
  # resp.definition_s3_location.object_key #=> String
804
817
  # resp.definition_s3_location.version_id #=> String
818
+ # resp.code.s3_location.bucket #=> String
819
+ # resp.code.s3_location.object_key #=> String
820
+ # resp.code.s3_location.version_id #=> String
821
+ # resp.code_snapshotted_at #=> Time
805
822
  # resp.schedule_configuration.cron_expression #=> String
806
823
  # resp.role_arn #=> String
807
824
  # resp.network_configuration.security_group_ids #=> Array
@@ -1315,6 +1332,11 @@ module Aws::MWAAServerless
1315
1332
  # The Amazon S3 location where the updated workflow definition file is
1316
1333
  # stored.
1317
1334
  #
1335
+ # @option params [Types::Code] :code
1336
+ # The location of code artifacts in Amazon S3 for the updated workflow.
1337
+ # The service copies the code from this location at the time of the
1338
+ # request.
1339
+ #
1318
1340
  # @option params [required, String] :role_arn
1319
1341
  # The Amazon Resource Name (ARN) of the IAM role that Amazon Managed
1320
1342
  # Workflows for Apache Airflow Serverless assumes when it executes the
@@ -1352,6 +1374,13 @@ module Aws::MWAAServerless
1352
1374
  # object_key: "String", # required
1353
1375
  # version_id: "String",
1354
1376
  # },
1377
+ # code: {
1378
+ # s3_location: {
1379
+ # bucket: "S3LocationBucketString", # required
1380
+ # object_key: "S3LocationObjectKeyString", # required
1381
+ # version_id: "S3LocationVersionIdString",
1382
+ # },
1383
+ # },
1355
1384
  # role_arn: "RoleARN", # required
1356
1385
  # description: "DescriptionString",
1357
1386
  # logging_configuration: {
@@ -1400,7 +1429,7 @@ module Aws::MWAAServerless
1400
1429
  tracer: tracer
1401
1430
  )
1402
1431
  context[:gem_name] = 'aws-sdk-mwaaserverless'
1403
- context[:gem_version] = '1.9.0'
1432
+ context[:gem_version] = '1.10.0'
1404
1433
  Seahorse::Client::Request.new(handlers, context)
1405
1434
  end
1406
1435
 
@@ -15,6 +15,7 @@ module Aws::MWAAServerless
15
15
  include Seahorse::Model
16
16
 
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ Code = Shapes::UnionShape.new(name: 'Code')
18
19
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
19
20
  CreateWorkflowRequest = Shapes::StructureShape.new(name: 'CreateWorkflowRequest')
20
21
  CreateWorkflowResponse = Shapes::StructureShape.new(name: 'CreateWorkflowResponse')
@@ -63,6 +64,10 @@ module Aws::MWAAServerless
63
64
  RoleARN = Shapes::StringShape.new(name: 'RoleARN')
64
65
  RunDetailSummary = Shapes::StructureShape.new(name: 'RunDetailSummary')
65
66
  RunType = Shapes::StringShape.new(name: 'RunType')
67
+ S3Location = Shapes::StructureShape.new(name: 'S3Location')
68
+ S3LocationBucketString = Shapes::StringShape.new(name: 'S3LocationBucketString')
69
+ S3LocationObjectKeyString = Shapes::StringShape.new(name: 'S3LocationObjectKeyString')
70
+ S3LocationVersionIdString = Shapes::StringShape.new(name: 'S3LocationVersionIdString')
66
71
  ScheduleConfiguration = Shapes::StructureShape.new(name: 'ScheduleConfiguration')
67
72
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
68
73
  SecurityGroupString = Shapes::StringShape.new(name: 'SecurityGroupString')
@@ -112,6 +117,12 @@ module Aws::MWAAServerless
112
117
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
113
118
  AccessDeniedException.struct_class = Types::AccessDeniedException
114
119
 
120
+ Code.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "S3Location"))
121
+ Code.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
122
+ Code.add_member_subclass(:s3_location, Types::Code::S3Location)
123
+ Code.add_member_subclass(:unknown, Types::Code::Unknown)
124
+ Code.struct_class = Types::Code
125
+
115
126
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
116
127
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
117
128
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
@@ -120,6 +131,7 @@ module Aws::MWAAServerless
120
131
  CreateWorkflowRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
121
132
  CreateWorkflowRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyTokenString, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
122
133
  CreateWorkflowRequest.add_member(:definition_s3_location, Shapes::ShapeRef.new(shape: DefinitionS3Location, required: true, location_name: "DefinitionS3Location"))
134
+ CreateWorkflowRequest.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "Code"))
123
135
  CreateWorkflowRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleArn"))
124
136
  CreateWorkflowRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
125
137
  CreateWorkflowRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
@@ -196,6 +208,8 @@ module Aws::MWAAServerless
196
208
  GetWorkflowResponse.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "EngineVersion"))
197
209
  GetWorkflowResponse.add_member(:workflow_status, Shapes::ShapeRef.new(shape: WorkflowStatus, location_name: "WorkflowStatus"))
198
210
  GetWorkflowResponse.add_member(:definition_s3_location, Shapes::ShapeRef.new(shape: DefinitionS3Location, location_name: "DefinitionS3Location"))
211
+ GetWorkflowResponse.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "Code"))
212
+ GetWorkflowResponse.add_member(:code_snapshotted_at, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "CodeSnapshottedAt"))
199
213
  GetWorkflowResponse.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, location_name: "ScheduleConfiguration"))
200
214
  GetWorkflowResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleArn"))
201
215
  GetWorkflowResponse.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "NetworkConfiguration"))
@@ -286,6 +300,11 @@ module Aws::MWAAServerless
286
300
  RunDetailSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "EndedAt"))
287
301
  RunDetailSummary.struct_class = Types::RunDetailSummary
288
302
 
303
+ S3Location.add_member(:bucket, Shapes::ShapeRef.new(shape: S3LocationBucketString, required: true, location_name: "Bucket"))
304
+ S3Location.add_member(:object_key, Shapes::ShapeRef.new(shape: S3LocationObjectKeyString, required: true, location_name: "ObjectKey"))
305
+ S3Location.add_member(:version_id, Shapes::ShapeRef.new(shape: S3LocationVersionIdString, location_name: "VersionId"))
306
+ S3Location.struct_class = Types::S3Location
307
+
289
308
  ScheduleConfiguration.add_member(:cron_expression, Shapes::ShapeRef.new(shape: String, location_name: "CronExpression"))
290
309
  ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
291
310
 
@@ -359,6 +378,7 @@ module Aws::MWAAServerless
359
378
 
360
379
  UpdateWorkflowRequest.add_member(:workflow_arn, Shapes::ShapeRef.new(shape: WorkflowArn, required: true, location_name: "WorkflowArn"))
361
380
  UpdateWorkflowRequest.add_member(:definition_s3_location, Shapes::ShapeRef.new(shape: DefinitionS3Location, required: true, location_name: "DefinitionS3Location"))
381
+ UpdateWorkflowRequest.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "Code"))
362
382
  UpdateWorkflowRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleArn"))
363
383
  UpdateWorkflowRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
364
384
  UpdateWorkflowRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "LoggingConfiguration"))
@@ -23,6 +23,31 @@ module Aws::MWAAServerless
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
+ # Specifies the Amazon S3 location of code artifacts that workflows use
27
+ # during execution.
28
+ #
29
+ # @note Code is a union - when making an API calls you must set exactly one of the members.
30
+ #
31
+ # @note Code is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Code corresponding to the set member.
32
+ #
33
+ # @!attribute [rw] s3_location
34
+ # The Amazon S3 location of the code artifacts that your workflow
35
+ # tasks use during execution.
36
+ # @return [Types::S3Location]
37
+ #
38
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-serverless-2024-07-26/Code AWS API Documentation
39
+ #
40
+ class Code < Struct.new(
41
+ :s3_location,
42
+ :unknown)
43
+ SENSITIVE = []
44
+ include Aws::Structure
45
+ include Aws::Structure::Union
46
+
47
+ class S3Location < Code; end
48
+ class Unknown < Code; end
49
+ end
50
+
26
51
  # You cannot create a resource that already exists, or the resource is
27
52
  # in a state that prevents the requested operation.
28
53
  #
@@ -76,6 +101,12 @@ module Aws::MWAAServerless
76
101
  # Airflow Serverless execution environment.
77
102
  # @return [Types::DefinitionS3Location]
78
103
  #
104
+ # @!attribute [rw] code
105
+ # The location of code artifacts in Amazon S3 for the workflow. The
106
+ # service copies the code from this location at the time of the
107
+ # request.
108
+ # @return [Types::Code]
109
+ #
79
110
  # @!attribute [rw] role_arn
80
111
  # The Amazon Resource Name (ARN) of the IAM role that Amazon Managed
81
112
  # Workflows for Apache Airflow Serverless assumes when executing the
@@ -147,6 +178,7 @@ module Aws::MWAAServerless
147
178
  :name,
148
179
  :client_token,
149
180
  :definition_s3_location,
181
+ :code,
150
182
  :role_arn,
151
183
  :description,
152
184
  :encryption_configuration,
@@ -495,6 +527,16 @@ module Aws::MWAAServerless
495
527
  # The Amazon S3 location of the workflow definition file.
496
528
  # @return [Types::DefinitionS3Location]
497
529
  #
530
+ # @!attribute [rw] code
531
+ # The Amazon S3 location of the code artifacts provided during
532
+ # workflow creation or update.
533
+ # @return [Types::Code]
534
+ #
535
+ # @!attribute [rw] code_snapshotted_at
536
+ # The time at which the code artifacts were copied for this workflow,
537
+ # in ISO 8601 date-time format.
538
+ # @return [Time]
539
+ #
498
540
  # @!attribute [rw] schedule_configuration
499
541
  # The schedule configuration for the workflow, including cron
500
542
  # expressions for automated execution. Amazon Managed Workflows for
@@ -537,6 +579,8 @@ module Aws::MWAAServerless
537
579
  :engine_version,
538
580
  :workflow_status,
539
581
  :definition_s3_location,
582
+ :code,
583
+ :code_snapshotted_at,
540
584
  :schedule_configuration,
541
585
  :role_arn,
542
586
  :network_configuration,
@@ -949,6 +993,32 @@ module Aws::MWAAServerless
949
993
  include Aws::Structure
950
994
  end
951
995
 
996
+ # Specifies the Amazon S3 location of code artifacts that workflows use
997
+ # during execution.
998
+ #
999
+ # @!attribute [rw] bucket
1000
+ # The name of the Amazon S3 bucket.
1001
+ # @return [String]
1002
+ #
1003
+ # @!attribute [rw] object_key
1004
+ # The key of the code artifact within the Amazon S3 bucket.
1005
+ # @return [String]
1006
+ #
1007
+ # @!attribute [rw] version_id
1008
+ # The version ID of the object in Amazon S3. If not specified, the
1009
+ # latest version is used.
1010
+ # @return [String]
1011
+ #
1012
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-serverless-2024-07-26/S3Location AWS API Documentation
1013
+ #
1014
+ class S3Location < Struct.new(
1015
+ :bucket,
1016
+ :object_key,
1017
+ :version_id)
1018
+ SENSITIVE = []
1019
+ include Aws::Structure
1020
+ end
1021
+
952
1022
  # The configuration to use to schedule automated workflow execution
953
1023
  # using cron expressions. Amazon Managed Workflows for Apache Airflow
954
1024
  # Serverless integrates with EventBridge Scheduler to provide
@@ -1260,6 +1330,12 @@ module Aws::MWAAServerless
1260
1330
  # stored.
1261
1331
  # @return [Types::DefinitionS3Location]
1262
1332
  #
1333
+ # @!attribute [rw] code
1334
+ # The location of code artifacts in Amazon S3 for the updated
1335
+ # workflow. The service copies the code from this location at the time
1336
+ # of the request.
1337
+ # @return [Types::Code]
1338
+ #
1263
1339
  # @!attribute [rw] role_arn
1264
1340
  # The Amazon Resource Name (ARN) of the IAM role that Amazon Managed
1265
1341
  # Workflows for Apache Airflow Serverless assumes when it executes the
@@ -1293,6 +1369,7 @@ module Aws::MWAAServerless
1293
1369
  class UpdateWorkflowRequest < Struct.new(
1294
1370
  :workflow_arn,
1295
1371
  :definition_s3_location,
1372
+ :code,
1296
1373
  :role_arn,
1297
1374
  :description,
1298
1375
  :logging_configuration,
@@ -55,7 +55,7 @@ module Aws::MWAAServerless
55
55
  autoload :EndpointProvider, 'aws-sdk-mwaaserverless/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-mwaaserverless/endpoints'
57
57
 
58
- GEM_VERSION = '1.9.0'
58
+ GEM_VERSION = '1.10.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -98,6 +98,13 @@ module Aws
98
98
  object_key: ::String,
99
99
  version_id: ::String?
100
100
  },
101
+ ?code: {
102
+ s3_location: {
103
+ bucket: ::String,
104
+ object_key: ::String,
105
+ version_id: ::String?
106
+ }?
107
+ },
101
108
  role_arn: ::String,
102
109
  ?description: ::String,
103
110
  ?encryption_configuration: {
@@ -168,6 +175,8 @@ module Aws
168
175
  def engine_version: () -> ::Integer
169
176
  def workflow_status: () -> ("READY" | "DELETING")
170
177
  def definition_s3_location: () -> Types::DefinitionS3Location
178
+ def code: () -> Types::Code
179
+ def code_snapshotted_at: () -> ::Time
171
180
  def schedule_configuration: () -> Types::ScheduleConfiguration
172
181
  def role_arn: () -> ::String
173
182
  def network_configuration: () -> Types::NetworkConfiguration
@@ -325,6 +334,13 @@ module Aws
325
334
  object_key: ::String,
326
335
  version_id: ::String?
327
336
  },
337
+ ?code: {
338
+ s3_location: {
339
+ bucket: ::String,
340
+ object_key: ::String,
341
+ version_id: ::String?
342
+ }?
343
+ },
328
344
  role_arn: ::String,
329
345
  ?description: ::String,
330
346
  ?logging_configuration: {
data/sig/types.rbs CHANGED
@@ -13,6 +13,17 @@ module Aws::MWAAServerless
13
13
  SENSITIVE: []
14
14
  end
15
15
 
16
+ class Code
17
+ attr_accessor s3_location: Types::S3Location
18
+ attr_accessor unknown: untyped
19
+ SENSITIVE: []
20
+
21
+ class S3Location < Code
22
+ end
23
+ class Unknown < Code
24
+ end
25
+ end
26
+
16
27
  class ConflictException
17
28
  attr_accessor message: ::String
18
29
  attr_accessor resource_id: ::String
@@ -24,6 +35,7 @@ module Aws::MWAAServerless
24
35
  attr_accessor name: ::String
25
36
  attr_accessor client_token: ::String
26
37
  attr_accessor definition_s3_location: Types::DefinitionS3Location
38
+ attr_accessor code: Types::Code
27
39
  attr_accessor role_arn: ::String
28
40
  attr_accessor description: ::String
29
41
  attr_accessor encryption_configuration: Types::EncryptionConfiguration
@@ -115,6 +127,8 @@ module Aws::MWAAServerless
115
127
  attr_accessor engine_version: ::Integer
116
128
  attr_accessor workflow_status: ("READY" | "DELETING")
117
129
  attr_accessor definition_s3_location: Types::DefinitionS3Location
130
+ attr_accessor code: Types::Code
131
+ attr_accessor code_snapshotted_at: ::Time
118
132
  attr_accessor schedule_configuration: Types::ScheduleConfiguration
119
133
  attr_accessor role_arn: ::String
120
134
  attr_accessor network_configuration: Types::NetworkConfiguration
@@ -239,6 +253,13 @@ module Aws::MWAAServerless
239
253
  SENSITIVE: []
240
254
  end
241
255
 
256
+ class S3Location
257
+ attr_accessor bucket: ::String
258
+ attr_accessor object_key: ::String
259
+ attr_accessor version_id: ::String
260
+ SENSITIVE: []
261
+ end
262
+
242
263
  class ScheduleConfiguration
243
264
  attr_accessor cron_expression: ::String
244
265
  SENSITIVE: []
@@ -322,6 +343,7 @@ module Aws::MWAAServerless
322
343
  class UpdateWorkflowRequest
323
344
  attr_accessor workflow_arn: ::String
324
345
  attr_accessor definition_s3_location: Types::DefinitionS3Location
346
+ attr_accessor code: Types::Code
325
347
  attr_accessor role_arn: ::String
326
348
  attr_accessor description: ::String
327
349
  attr_accessor logging_configuration: Types::LoggingConfiguration
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mwaaserverless
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services