aws-sdk-mwaa 1.16.0 → 1.18.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: 30a514a002277dc751dde05cea0d9d98d9c120c758baaac5adf1423de907f150
4
- data.tar.gz: 6069b5e02e2729f28b430e21098df9a15d16121ea53a89f7324a3fdb57687ed0
3
+ metadata.gz: 874b3c5eb6aa6a993a3be7c88b3eb47fd0ef9c484bb8a1f86509f9bf8368021b
4
+ data.tar.gz: 5062e15ce41555da0acf2c2de5104d9c4cc7b0a216e993232dea4f377316c856
5
5
  SHA512:
6
- metadata.gz: 4a65c091b2b75352c98d91998210f17560295fb47445f14c9d3c0b77348ee45006291b32316729d718a1d9d787848d585ad60fa950b71efb9e20a4a18bf2775b
7
- data.tar.gz: 92d0379577d9d11ec5af813b151d38f216690692a032d18b1f0a33669bb6f41b911f5aaeedad03d3d9d85e6e931ca77e40cc1aa692a583f8afccf774b1af102d
6
+ metadata.gz: c6a18d002563f0908a76df27c0847b6a9eba6576a9748c461152c1bd018dd20fa64cf6037a2e2c3b885308c9b7f034b66954bde2260571623155316a0682c612
7
+ data.tar.gz: d56b35202a62e091a2d59cb1480c6dfad20b99ab45b6d04b081fce0d350b404cd0e9fc9032cfbde13ed5496587644ddbc9be1d8c80d227051aba12e4505a6f31
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2023-01-05)
5
+ ------------------
6
+
7
+ * Feature - MWAA supports Apache Airflow version 2.4.3.
8
+
9
+ 1.17.0 (2022-10-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.16.0 (2022-06-30)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.18.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:mwaa)
@@ -79,8 +79,9 @@ module Aws::MWAA
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::MWAA::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::MWAA
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::MWAA
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::MWAA::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::MWAA::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -402,8 +419,9 @@ module Aws::MWAA
402
419
  # @option params [String] :airflow_version
403
420
  # The Apache Airflow version for your environment. If no value is
404
421
  # specified, it defaults to the latest version. Valid values: `1.10.12`,
405
- # `2.0.2`, and `2.2.2`. To learn more, see [Apache Airflow versions on
406
- # 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].
407
425
  #
408
426
  #
409
427
  #
@@ -973,7 +991,7 @@ module Aws::MWAA
973
991
  # @option params [String] :airflow_version
974
992
  # The Apache Airflow version for your environment. If no value is
975
993
  # specified, defaults to the latest version. Valid values: `1.10.12`,
976
- # `2.0.2`, and `2.2.2`.
994
+ # `2.0.2`, `2.2.2`, and `2.4.3`.
977
995
  #
978
996
  # @option params [String] :dag_s3_path
979
997
  # The relative path to the DAGs folder on your Amazon S3 bucket. For
@@ -1178,7 +1196,7 @@ module Aws::MWAA
1178
1196
  params: params,
1179
1197
  config: config)
1180
1198
  context[:gem_name] = 'aws-sdk-mwaa'
1181
- context[:gem_version] = '1.16.0'
1199
+ context[:gem_version] = '1.18.0'
1182
1200
  Seahorse::Client::Request.new(handlers, context)
1183
1201
  end
1184
1202
 
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::MWAA
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
56
+ self[:use_dual_stack] = options[:use_dual_stack]
57
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
+ if self[:use_dual_stack].nil?
59
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
60
+ end
61
+ self[:use_fips] = options[:use_fips]
62
+ self[:use_fips] = false if self[:use_fips].nil?
63
+ if self[:use_fips].nil?
64
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
65
+ end
66
+ self[:endpoint] = options[:endpoint]
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,110 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::MWAA
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
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
+ YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
+ ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
+ aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
+ ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
+ IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
+ bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
+ aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
40
+ IkJvb2xlYW4ifSwiVXNlRklQUyI6e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lwZSI6ImVuZHBvaW50In1dfV19
107
+
108
+ JSON
109
+ end
110
+ end
@@ -0,0 +1,169 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::MWAA
12
+ module Endpoints
13
+
14
+ class CreateCliToken
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::MWAA::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class CreateEnvironment
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::MWAA::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class CreateWebLoginToken
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::MWAA::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class DeleteEnvironment
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::MWAA::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class GetEnvironment
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::MWAA::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class ListEnvironments
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::MWAA::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class ListTagsForResource
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::MWAA::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class PublishMetrics
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::MWAA::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class TagResource
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::MWAA::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class UntagResource
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::MWAA::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class UpdateEnvironment
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::MWAA::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ end
169
+ end
@@ -0,0 +1,90 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::MWAA
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::MWAA::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::MWAA::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::MWAA::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_cli_token
60
+ Aws::MWAA::Endpoints::CreateCliToken.build(context)
61
+ when :create_environment
62
+ Aws::MWAA::Endpoints::CreateEnvironment.build(context)
63
+ when :create_web_login_token
64
+ Aws::MWAA::Endpoints::CreateWebLoginToken.build(context)
65
+ when :delete_environment
66
+ Aws::MWAA::Endpoints::DeleteEnvironment.build(context)
67
+ when :get_environment
68
+ Aws::MWAA::Endpoints::GetEnvironment.build(context)
69
+ when :list_environments
70
+ Aws::MWAA::Endpoints::ListEnvironments.build(context)
71
+ when :list_tags_for_resource
72
+ Aws::MWAA::Endpoints::ListTagsForResource.build(context)
73
+ when :publish_metrics
74
+ Aws::MWAA::Endpoints::PublishMetrics.build(context)
75
+ when :tag_resource
76
+ Aws::MWAA::Endpoints::TagResource.build(context)
77
+ when :untag_resource
78
+ Aws::MWAA::Endpoints::UntagResource.build(context)
79
+ when :update_environment
80
+ Aws::MWAA::Endpoints::UpdateEnvironment.build(context)
81
+ end
82
+ end
83
+ end
84
+
85
+ def add_handlers(handlers, _config)
86
+ handlers.add(Handler, step: :build, priority: 75)
87
+ end
88
+ end
89
+ end
90
+ 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
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-mwaa/types'
15
15
  require_relative 'aws-sdk-mwaa/client_api'
16
+ require_relative 'aws-sdk-mwaa/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-mwaa/client'
17
18
  require_relative 'aws-sdk-mwaa/errors'
18
19
  require_relative 'aws-sdk-mwaa/resource'
20
+ require_relative 'aws-sdk-mwaa/endpoint_parameters'
21
+ require_relative 'aws-sdk-mwaa/endpoint_provider'
22
+ require_relative 'aws-sdk-mwaa/endpoints'
19
23
  require_relative 'aws-sdk-mwaa/customizations'
20
24
 
21
25
  # This module provides support for AmazonMWAA. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-mwaa/customizations'
48
52
  # @!group service
49
53
  module Aws::MWAA
50
54
 
51
- GEM_VERSION = '1.16.0'
55
+ GEM_VERSION = '1.18.0'
52
56
 
53
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.16.0
4
+ version: 1.18.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-06-30 00:00:00.000000000 Z
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-mwaa/client.rb
60
60
  - lib/aws-sdk-mwaa/client_api.rb
61
61
  - lib/aws-sdk-mwaa/customizations.rb
62
+ - lib/aws-sdk-mwaa/endpoint_parameters.rb
63
+ - lib/aws-sdk-mwaa/endpoint_provider.rb
64
+ - lib/aws-sdk-mwaa/endpoints.rb
62
65
  - lib/aws-sdk-mwaa/errors.rb
66
+ - lib/aws-sdk-mwaa/plugins/endpoints.rb
63
67
  - lib/aws-sdk-mwaa/resource.rb
64
68
  - lib/aws-sdk-mwaa/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby