aws-sdk-mwaa 1.17.0 → 1.19.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: 2df42004e1d39807fc0cf781adfd2866447feaf61ff1793dd59f805536b2e72b
4
- data.tar.gz: '09890f1f69fcc897654586aa8d4de6795b6ab4855ffd164d51425fdb279a55b0'
3
+ metadata.gz: 0ef287a8f85efde37d57e9013fee6e6b36b5f21a0c1827994aa5ae60f73b213d
4
+ data.tar.gz: 562c9acbbfeaf3159c245cf905f8bb53e54e2c225823ea11935066d525425358
5
5
  SHA512:
6
- metadata.gz: 15e63840e04d38db7e0ef2622eb398777fb017631a8891a437f30d428abd9719f43f0c9479884abf009b90b69de1b7aba3f584abae756c3c519bee891587b026
7
- data.tar.gz: 5471f02744331ab59037c87f0a52138c5e44003e9b3830a983b433cd0097207f352330c2f2e4cd28cb3bf6a034ae0ad963fbf32757d66cde28cc36efa1b9f2d0
6
+ metadata.gz: 14ae6403bd14dc42f2cb286f7c6b4c2ecd2bbad3b7b61fe689185d9eee47a3597e53f1998b3d8da8cd02bff13653672f635752a84b99be1e0791bf9ee28c1da4
7
+ data.tar.gz: 5e70a71808533d5e1afef4fa3db5068f6da0278c391f931cc7c7e27803cc240fb7bbc8bc0ae0a09e355ee2792c8671c7c193fc1edb64ec93a9717b966203bd12
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.18.0 (2023-01-05)
12
+ ------------------
13
+
14
+ * Feature - MWAA supports Apache Airflow version 2.4.3.
15
+
4
16
  1.17.0 (2022-10-25)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.19.0
@@ -419,8 +419,9 @@ module Aws::MWAA
419
419
  # @option params [String] :airflow_version
420
420
  # The Apache Airflow version for your environment. If no value is
421
421
  # specified, it defaults to the latest version. Valid values: `1.10.12`,
422
- # `2.0.2`, and `2.2.2`. To learn more, see [Apache Airflow versions on
423
- # Amazon Managed Workflows for Apache Airflow (MWAA)][1].
422
+ # `2.0.2`, `2.2.2`, and `2.4.3`. For more information, see [Apache
423
+ # Airflow versions on Amazon Managed Workflows for Apache Airflow
424
+ # (MWAA)][1].
424
425
  #
425
426
  #
426
427
  #
@@ -990,7 +991,7 @@ module Aws::MWAA
990
991
  # @option params [String] :airflow_version
991
992
  # The Apache Airflow version for your environment. If no value is
992
993
  # specified, defaults to the latest version. Valid values: `1.10.12`,
993
- # `2.0.2`, and `2.2.2`.
994
+ # `2.0.2`, `2.2.2`, and `2.4.3`.
994
995
  #
995
996
  # @option params [String] :dag_s3_path
996
997
  # The relative path to the DAGs folder on your Amazon S3 bucket. For
@@ -1195,7 +1196,7 @@ module Aws::MWAA
1195
1196
  params: params,
1196
1197
  config: config)
1197
1198
  context[:gem_name] = 'aws-sdk-mwaa'
1198
- context[:gem_version] = '1.17.0'
1199
+ context[:gem_version] = '1.19.0'
1199
1200
  Seahorse::Client::Request.new(handlers, context)
1200
1201
  end
1201
1202
 
@@ -50,6 +50,9 @@ 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
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::MWAA
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
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
33
+ 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"
38
+ end
39
+ 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: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://airflow.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
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LCJwcm9wZXJ0aWVzIjp7
107
- fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -29,13 +29,6 @@ module Aws::MWAA
29
29
  include Aws::Structure
30
30
  end
31
31
 
32
- # @note When making an API call, you may pass CreateCliTokenRequest
33
- # data as a hash:
34
- #
35
- # {
36
- # name: "EnvironmentName", # required
37
- # }
38
- #
39
32
  # @!attribute [rw] name
40
33
  # The name of the Amazon MWAA environment. For example,
41
34
  # `MyMWAAEnvironment`.
@@ -75,60 +68,6 @@ module Aws::MWAA
75
68
  #
76
69
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/get-started.html
77
70
  #
78
- # @note When making an API call, you may pass CreateEnvironmentInput
79
- # data as a hash:
80
- #
81
- # {
82
- # airflow_configuration_options: {
83
- # "ConfigKey" => "ConfigValue",
84
- # },
85
- # airflow_version: "AirflowVersion",
86
- # dag_s3_path: "RelativePath", # required
87
- # environment_class: "EnvironmentClass",
88
- # execution_role_arn: "IamRoleArn", # required
89
- # kms_key: "KmsKey",
90
- # logging_configuration: {
91
- # dag_processing_logs: {
92
- # enabled: false, # required
93
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
94
- # },
95
- # scheduler_logs: {
96
- # enabled: false, # required
97
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
98
- # },
99
- # task_logs: {
100
- # enabled: false, # required
101
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
102
- # },
103
- # webserver_logs: {
104
- # enabled: false, # required
105
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
106
- # },
107
- # worker_logs: {
108
- # enabled: false, # required
109
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
110
- # },
111
- # },
112
- # max_workers: 1,
113
- # min_workers: 1,
114
- # name: "EnvironmentName", # required
115
- # network_configuration: { # required
116
- # security_group_ids: ["SecurityGroupId"],
117
- # subnet_ids: ["SubnetId"],
118
- # },
119
- # plugins_s3_object_version: "S3ObjectVersion",
120
- # plugins_s3_path: "RelativePath",
121
- # requirements_s3_object_version: "S3ObjectVersion",
122
- # requirements_s3_path: "RelativePath",
123
- # schedulers: 1,
124
- # source_bucket_arn: "S3BucketArn", # required
125
- # tags: {
126
- # "TagKey" => "TagValue",
127
- # },
128
- # webserver_access_mode: "PRIVATE_ONLY", # accepts PRIVATE_ONLY, PUBLIC_ONLY
129
- # weekly_maintenance_window_start: "WeeklyMaintenanceWindowStart",
130
- # }
131
- #
132
71
  # @!attribute [rw] airflow_configuration_options
133
72
  # A list of key-value pairs containing the Apache Airflow
134
73
  # configuration options you want to attach to your environment. To
@@ -142,8 +81,9 @@ module Aws::MWAA
142
81
  # @!attribute [rw] airflow_version
143
82
  # The Apache Airflow version for your environment. If no value is
144
83
  # specified, it defaults to the latest version. Valid values:
145
- # `1.10.12`, `2.0.2`, and `2.2.2`. To learn more, see [Apache Airflow
146
- # versions on Amazon Managed Workflows for Apache Airflow (MWAA)][1].
84
+ # `1.10.12`, `2.0.2`, `2.2.2`, and `2.4.3`. For more information, see
85
+ # [Apache Airflow versions on Amazon Managed Workflows for Apache
86
+ # Airflow (MWAA)][1].
147
87
  #
148
88
  #
149
89
  #
@@ -361,13 +301,6 @@ module Aws::MWAA
361
301
  include Aws::Structure
362
302
  end
363
303
 
364
- # @note When making an API call, you may pass CreateWebLoginTokenRequest
365
- # data as a hash:
366
- #
367
- # {
368
- # name: "EnvironmentName", # required
369
- # }
370
- #
371
304
  # @!attribute [rw] name
372
305
  # The name of the Amazon MWAA environment. For example,
373
306
  # `MyMWAAEnvironment`.
@@ -398,13 +331,6 @@ module Aws::MWAA
398
331
  include Aws::Structure
399
332
  end
400
333
 
401
- # @note When making an API call, you may pass DeleteEnvironmentInput
402
- # data as a hash:
403
- #
404
- # {
405
- # name: "EnvironmentName", # required
406
- # }
407
- #
408
334
  # @!attribute [rw] name
409
335
  # The name of the Amazon MWAA environment. For example,
410
336
  # `MyMWAAEnvironment`.
@@ -430,14 +356,6 @@ module Aws::MWAA
430
356
  #
431
357
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html
432
358
  #
433
- # @note When making an API call, you may pass Dimension
434
- # data as a hash:
435
- #
436
- # {
437
- # name: "String", # required
438
- # value: "String", # required
439
- # }
440
- #
441
359
  # @!attribute [rw] name
442
360
  # **Internal only**. The name of the dimension.
443
361
  # @return [String]
@@ -470,7 +388,7 @@ module Aws::MWAA
470
388
  #
471
389
  # @!attribute [rw] airflow_version
472
390
  # The Apache Airflow version on your environment. Valid values:
473
- # `1.10.12`, `2.0.2`, and `2.2.2`.
391
+ # `1.10.12`, `2.0.2`, `2.2.2`, and `2.4.3`.
474
392
  # @return [String]
475
393
  #
476
394
  # @!attribute [rw] arn
@@ -719,13 +637,6 @@ module Aws::MWAA
719
637
  include Aws::Structure
720
638
  end
721
639
 
722
- # @note When making an API call, you may pass GetEnvironmentInput
723
- # data as a hash:
724
- #
725
- # {
726
- # name: "EnvironmentName", # required
727
- # }
728
- #
729
640
  # @!attribute [rw] name
730
641
  # The name of the Amazon MWAA environment. For example,
731
642
  # `MyMWAAEnvironment`.
@@ -796,14 +707,6 @@ module Aws::MWAA
796
707
  include Aws::Structure
797
708
  end
798
709
 
799
- # @note When making an API call, you may pass ListEnvironmentsInput
800
- # data as a hash:
801
- #
802
- # {
803
- # max_results: 1,
804
- # next_token: "NextToken",
805
- # }
806
- #
807
710
  # @!attribute [rw] max_results
808
711
  # The maximum number of results to retrieve per page. For example, `5`
809
712
  # environments per page.
@@ -839,13 +742,6 @@ module Aws::MWAA
839
742
  include Aws::Structure
840
743
  end
841
744
 
842
- # @note When making an API call, you may pass ListTagsForResourceInput
843
- # data as a hash:
844
- #
845
- # {
846
- # resource_arn: "EnvironmentArn", # required
847
- # }
848
- #
849
745
  # @!attribute [rw] resource_arn
850
746
  # The Amazon Resource Name (ARN) of the Amazon MWAA environment. For
851
747
  # example,
@@ -919,32 +815,6 @@ module Aws::MWAA
919
815
 
920
816
  # Defines the Apache Airflow log types to send to CloudWatch Logs.
921
817
  #
922
- # @note When making an API call, you may pass LoggingConfigurationInput
923
- # data as a hash:
924
- #
925
- # {
926
- # dag_processing_logs: {
927
- # enabled: false, # required
928
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
929
- # },
930
- # scheduler_logs: {
931
- # enabled: false, # required
932
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
933
- # },
934
- # task_logs: {
935
- # enabled: false, # required
936
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
937
- # },
938
- # webserver_logs: {
939
- # enabled: false, # required
940
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
941
- # },
942
- # worker_logs: {
943
- # enabled: false, # required
944
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
945
- # },
946
- # }
947
- #
948
818
  # @!attribute [rw] dag_processing_logs
949
819
  # Publishes Airflow DAG processing logs to CloudWatch Logs.
950
820
  # @return [Types::ModuleLoggingConfigurationInput]
@@ -985,28 +855,6 @@ module Aws::MWAA
985
855
  #
986
856
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html
987
857
  #
988
- # @note When making an API call, you may pass MetricDatum
989
- # data as a hash:
990
- #
991
- # {
992
- # dimensions: [
993
- # {
994
- # name: "String", # required
995
- # value: "String", # required
996
- # },
997
- # ],
998
- # metric_name: "String", # required
999
- # statistic_values: {
1000
- # maximum: 1.0,
1001
- # minimum: 1.0,
1002
- # sample_count: 1,
1003
- # sum: 1.0,
1004
- # },
1005
- # timestamp: Time.now, # required
1006
- # unit: "Seconds", # accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
1007
- # value: 1.0,
1008
- # }
1009
- #
1010
858
  # @!attribute [rw] dimensions
1011
859
  # **Internal only**. The dimensions associated with the metric.
1012
860
  # @return [Array<Types::Dimension>]
@@ -1077,14 +925,6 @@ module Aws::MWAA
1077
925
  # Enables the Apache Airflow log type (e.g. `DagProcessingLogs`) and
1078
926
  # defines the log level to send to CloudWatch Logs (e.g. `INFO`).
1079
927
  #
1080
- # @note When making an API call, you may pass ModuleLoggingConfigurationInput
1081
- # data as a hash:
1082
- #
1083
- # {
1084
- # enabled: false, # required
1085
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
1086
- # }
1087
- #
1088
928
  # @!attribute [rw] enabled
1089
929
  # Indicates whether to enable the Apache Airflow log type (e.g.
1090
930
  # `DagProcessingLogs`).
@@ -1112,14 +952,6 @@ module Aws::MWAA
1112
952
  #
1113
953
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
1114
954
  #
1115
- # @note When making an API call, you may pass NetworkConfiguration
1116
- # data as a hash:
1117
- #
1118
- # {
1119
- # security_group_ids: ["SecurityGroupId"],
1120
- # subnet_ids: ["SubnetId"],
1121
- # }
1122
- #
1123
955
  # @!attribute [rw] security_group_ids
1124
956
  # A list of security group IDs. To learn more, see [Security in your
1125
957
  # VPC on Amazon MWAA][1].
@@ -1147,33 +979,6 @@ module Aws::MWAA
1147
979
  include Aws::Structure
1148
980
  end
1149
981
 
1150
- # @note When making an API call, you may pass PublishMetricsInput
1151
- # data as a hash:
1152
- #
1153
- # {
1154
- # environment_name: "EnvironmentName", # required
1155
- # metric_data: [ # required
1156
- # {
1157
- # dimensions: [
1158
- # {
1159
- # name: "String", # required
1160
- # value: "String", # required
1161
- # },
1162
- # ],
1163
- # metric_name: "String", # required
1164
- # statistic_values: {
1165
- # maximum: 1.0,
1166
- # minimum: 1.0,
1167
- # sample_count: 1,
1168
- # sum: 1.0,
1169
- # },
1170
- # timestamp: Time.now, # required
1171
- # unit: "Seconds", # accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
1172
- # value: 1.0,
1173
- # },
1174
- # ],
1175
- # }
1176
- #
1177
982
  # @!attribute [rw] environment_name
1178
983
  # **Internal only**. The name of the environment.
1179
984
  # @return [String]
@@ -1223,16 +1028,6 @@ module Aws::MWAA
1223
1028
  #
1224
1029
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html
1225
1030
  #
1226
- # @note When making an API call, you may pass StatisticSet
1227
- # data as a hash:
1228
- #
1229
- # {
1230
- # maximum: 1.0,
1231
- # minimum: 1.0,
1232
- # sample_count: 1,
1233
- # sum: 1.0,
1234
- # }
1235
- #
1236
1031
  # @!attribute [rw] maximum
1237
1032
  # **Internal only**. The maximum value of the sample set.
1238
1033
  # @return [Float]
@@ -1260,16 +1055,6 @@ module Aws::MWAA
1260
1055
  include Aws::Structure
1261
1056
  end
1262
1057
 
1263
- # @note When making an API call, you may pass TagResourceInput
1264
- # data as a hash:
1265
- #
1266
- # {
1267
- # resource_arn: "EnvironmentArn", # required
1268
- # tags: { # required
1269
- # "TagKey" => "TagValue",
1270
- # },
1271
- # }
1272
- #
1273
1058
  # @!attribute [rw] resource_arn
1274
1059
  # The Amazon Resource Name (ARN) of the Amazon MWAA environment. For
1275
1060
  # example,
@@ -1299,14 +1084,6 @@ module Aws::MWAA
1299
1084
  #
1300
1085
  class TagResourceOutput < Aws::EmptyStructure; end
1301
1086
 
1302
- # @note When making an API call, you may pass UntagResourceInput
1303
- # data as a hash:
1304
- #
1305
- # {
1306
- # resource_arn: "EnvironmentArn", # required
1307
- # tag_keys: ["TagKey"], # required
1308
- # }
1309
- #
1310
1087
  # @!attribute [rw] resource_arn
1311
1088
  # The Amazon Resource Name (ARN) of the Amazon MWAA environment. For
1312
1089
  # example,
@@ -1331,55 +1108,6 @@ module Aws::MWAA
1331
1108
  #
1332
1109
  class UntagResourceOutput < Aws::EmptyStructure; end
1333
1110
 
1334
- # @note When making an API call, you may pass UpdateEnvironmentInput
1335
- # data as a hash:
1336
- #
1337
- # {
1338
- # airflow_configuration_options: {
1339
- # "ConfigKey" => "ConfigValue",
1340
- # },
1341
- # airflow_version: "AirflowVersion",
1342
- # dag_s3_path: "RelativePath",
1343
- # environment_class: "EnvironmentClass",
1344
- # execution_role_arn: "IamRoleArn",
1345
- # logging_configuration: {
1346
- # dag_processing_logs: {
1347
- # enabled: false, # required
1348
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
1349
- # },
1350
- # scheduler_logs: {
1351
- # enabled: false, # required
1352
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
1353
- # },
1354
- # task_logs: {
1355
- # enabled: false, # required
1356
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
1357
- # },
1358
- # webserver_logs: {
1359
- # enabled: false, # required
1360
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
1361
- # },
1362
- # worker_logs: {
1363
- # enabled: false, # required
1364
- # log_level: "CRITICAL", # required, accepts CRITICAL, ERROR, WARNING, INFO, DEBUG
1365
- # },
1366
- # },
1367
- # max_workers: 1,
1368
- # min_workers: 1,
1369
- # name: "EnvironmentName", # required
1370
- # network_configuration: {
1371
- # security_group_ids: ["SecurityGroupId"], # required
1372
- # },
1373
- # plugins_s3_object_version: "S3ObjectVersion",
1374
- # plugins_s3_path: "RelativePath",
1375
- # requirements_s3_object_version: "S3ObjectVersion",
1376
- # requirements_s3_path: "RelativePath",
1377
- # schedulers: 1,
1378
- # source_bucket_arn: "S3BucketArn",
1379
- # webserver_access_mode: "PRIVATE_ONLY", # accepts PRIVATE_ONLY, PUBLIC_ONLY
1380
- # weekly_maintenance_window_start: "WeeklyMaintenanceWindowStart",
1381
- # }
1382
- #
1383
1111
  # @!attribute [rw] airflow_configuration_options
1384
1112
  # A list of key-value pairs containing the Apache Airflow
1385
1113
  # configuration options you want to attach to your environment. To
@@ -1393,7 +1121,7 @@ module Aws::MWAA
1393
1121
  # @!attribute [rw] airflow_version
1394
1122
  # The Apache Airflow version for your environment. If no value is
1395
1123
  # specified, defaults to the latest version. Valid values: `1.10.12`,
1396
- # `2.0.2`, and `2.2.2`.
1124
+ # `2.0.2`, `2.2.2`, and `2.4.3`.
1397
1125
  # @return [String]
1398
1126
  #
1399
1127
  # @!attribute [rw] dag_s3_path
@@ -1607,13 +1335,6 @@ module Aws::MWAA
1607
1335
  #
1608
1336
  # [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html
1609
1337
  #
1610
- # @note When making an API call, you may pass UpdateNetworkConfigurationInput
1611
- # data as a hash:
1612
- #
1613
- # {
1614
- # security_group_ids: ["SecurityGroupId"], # required
1615
- # }
1616
- #
1617
1338
  # @!attribute [rw] security_group_ids
1618
1339
  # A list of security group IDs. A security group must be attached to
1619
1340
  # the same VPC as the subnets. To learn more, see [Security in your
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.17.0'
55
+ GEM_VERSION = '1.19.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.17.0
4
+ version: 1.19.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core