aws-sdk-mwaa 1.31.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fea3fd6f8f99182a8963c5c04b12e775eb71b952cbf2f1921968f075a4c9d3ef
4
- data.tar.gz: 55abcd580d8defad40de3a529389226d275d6ad2710b6974cde9d764c87d1a53
3
+ metadata.gz: 1fe53d8e0eb4639f10c1e5c8621240a623c1b3c8db79d1a9c6dca3cb1a3b3d8a
4
+ data.tar.gz: f86ed69cc2519bf1715655d50b57ec7b37ad2e19817ccb9efacb81b8aba63e5d
5
5
  SHA512:
6
- metadata.gz: 6aa9c60b42a61ab8d7ddbf9cba195e1247bd2c7651ccb8f13f50e1ffbc501a3f3f22aabbdd2df6869ef9d5badadd43c4666e0aa3e321f8ca80dafa42f77db509
7
- data.tar.gz: d3ceef8ad34a38f0c62a16a8da9bfe2bf71f290d4c22e64cc6bb95dc95300825146cf20ee3a69926121d76e2234578926a741512047851050db977d82b1ac140
6
+ metadata.gz: e036ecbc6771eb4f7049b23986de446f11a252218ddb36ed2b69c12b3929bae0b9cd279c5cb15162ed1bb6d83d95d341d548ed645da4669c815eb0e42bf4b907
7
+ data.tar.gz: 4a7aef126ddb569d85393cfadacbedf54cbe07401b7a21935386d3446b949f2ec7c0bd32d499ddb0a3105fb26101e1eb28ea5579599d1345f9dadaa89f0a6728
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.32.0 (2024-01-12)
10
+ ------------------
11
+
12
+ * Feature - This Amazon MWAA feature release includes new fields in CreateWebLoginToken response model. The new fields IamIdentity and AirflowIdentity will let you match identifications, as the Airflow identity length is currently hashed to 64 characters.
13
+
4
14
  1.31.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.33.0
@@ -732,6 +732,8 @@ module Aws::MWAA
732
732
  #
733
733
  # @return [Types::CreateWebLoginTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
734
734
  #
735
+ # * {Types::CreateWebLoginTokenResponse#airflow_identity #airflow_identity} => String
736
+ # * {Types::CreateWebLoginTokenResponse#iam_identity #iam_identity} => String
735
737
  # * {Types::CreateWebLoginTokenResponse#web_server_hostname #web_server_hostname} => String
736
738
  # * {Types::CreateWebLoginTokenResponse#web_token #web_token} => String
737
739
  #
@@ -743,6 +745,8 @@ module Aws::MWAA
743
745
  #
744
746
  # @example Response structure
745
747
  #
748
+ # resp.airflow_identity #=> String
749
+ # resp.iam_identity #=> String
746
750
  # resp.web_server_hostname #=> String
747
751
  # resp.web_token #=> String
748
752
  #
@@ -1324,7 +1328,7 @@ module Aws::MWAA
1324
1328
  params: params,
1325
1329
  config: config)
1326
1330
  context[:gem_name] = 'aws-sdk-mwaa'
1327
- context[:gem_version] = '1.31.0'
1331
+ context[:gem_version] = '1.33.0'
1328
1332
  Seahorse::Client::Request.new(handlers, context)
1329
1333
  end
1330
1334
 
@@ -15,6 +15,7 @@ module Aws::MWAA
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  AirflowConfigurationOptions = Shapes::MapShape.new(name: 'AirflowConfigurationOptions')
18
+ AirflowIdentity = Shapes::StringShape.new(name: 'AirflowIdentity')
18
19
  AirflowVersion = Shapes::StringShape.new(name: 'AirflowVersion')
19
20
  CeleryExecutorQueue = Shapes::StringShape.new(name: 'CeleryExecutorQueue')
20
21
  CloudWatchLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogGroupArn')
@@ -44,6 +45,7 @@ module Aws::MWAA
44
45
  GetEnvironmentInput = Shapes::StructureShape.new(name: 'GetEnvironmentInput')
45
46
  GetEnvironmentOutput = Shapes::StructureShape.new(name: 'GetEnvironmentOutput')
46
47
  Hostname = Shapes::StringShape.new(name: 'Hostname')
48
+ IamIdentity = Shapes::StringShape.new(name: 'IamIdentity')
47
49
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
48
50
  Integer = Shapes::IntegerShape.new(name: 'Integer')
49
51
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -147,6 +149,8 @@ module Aws::MWAA
147
149
  CreateWebLoginTokenRequest.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location: "uri", location_name: "Name"))
148
150
  CreateWebLoginTokenRequest.struct_class = Types::CreateWebLoginTokenRequest
149
151
 
152
+ CreateWebLoginTokenResponse.add_member(:airflow_identity, Shapes::ShapeRef.new(shape: AirflowIdentity, location_name: "AirflowIdentity"))
153
+ CreateWebLoginTokenResponse.add_member(:iam_identity, Shapes::ShapeRef.new(shape: IamIdentity, location_name: "IamIdentity"))
150
154
  CreateWebLoginTokenResponse.add_member(:web_server_hostname, Shapes::ShapeRef.new(shape: Hostname, location_name: "WebServerHostname"))
151
155
  CreateWebLoginTokenResponse.add_member(:web_token, Shapes::ShapeRef.new(shape: Token, location_name: "WebToken"))
152
156
  CreateWebLoginTokenResponse.struct_class = Types::CreateWebLoginTokenResponse
@@ -14,6 +14,7 @@ module Aws::MWAA
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::MWAA::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -368,6 +368,17 @@ module Aws::MWAA
368
368
  include Aws::Structure
369
369
  end
370
370
 
371
+ # @!attribute [rw] airflow_identity
372
+ # The user name of the Apache Airflow identity creating the web login
373
+ # token.
374
+ # @return [String]
375
+ #
376
+ # @!attribute [rw] iam_identity
377
+ # The name of the IAM identity creating the web login token. This
378
+ # might be an IAM user, or an assumed or federated identity. For
379
+ # example, `assumed-role/Admin/your-name`.
380
+ # @return [String]
381
+ #
371
382
  # @!attribute [rw] web_server_hostname
372
383
  # The Airflow web server hostname for the environment.
373
384
  # @return [String]
@@ -379,6 +390,8 @@ module Aws::MWAA
379
390
  # @see http://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateWebLoginTokenResponse AWS API Documentation
380
391
  #
381
392
  class CreateWebLoginTokenResponse < Struct.new(
393
+ :airflow_identity,
394
+ :iam_identity,
382
395
  :web_server_hostname,
383
396
  :web_token)
384
397
  SENSITIVE = [:web_token]
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.31.0'
55
+ GEM_VERSION = '1.33.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,299 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module MWAA
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateCliTokenResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCliTokenResponse]
77
+ def cli_token: () -> ::String
78
+ def web_server_hostname: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#create_cli_token-instance_method
81
+ def create_cli_token: (
82
+ name: ::String
83
+ ) -> _CreateCliTokenResponseSuccess
84
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCliTokenResponseSuccess
85
+
86
+ interface _CreateEnvironmentResponseSuccess
87
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateEnvironmentOutput]
88
+ def arn: () -> ::String
89
+ end
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#create_environment-instance_method
91
+ def create_environment: (
92
+ ?airflow_configuration_options: Hash[::String, ::String],
93
+ ?airflow_version: ::String,
94
+ dag_s3_path: ::String,
95
+ ?endpoint_management: ("CUSTOMER" | "SERVICE"),
96
+ ?environment_class: ::String,
97
+ execution_role_arn: ::String,
98
+ ?kms_key: ::String,
99
+ ?logging_configuration: {
100
+ dag_processing_logs: {
101
+ enabled: bool,
102
+ log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
103
+ }?,
104
+ scheduler_logs: {
105
+ enabled: bool,
106
+ log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
107
+ }?,
108
+ task_logs: {
109
+ enabled: bool,
110
+ log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
111
+ }?,
112
+ webserver_logs: {
113
+ enabled: bool,
114
+ log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
115
+ }?,
116
+ worker_logs: {
117
+ enabled: bool,
118
+ log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
119
+ }?
120
+ },
121
+ ?max_workers: ::Integer,
122
+ ?min_workers: ::Integer,
123
+ name: ::String,
124
+ network_configuration: {
125
+ security_group_ids: Array[::String]?,
126
+ subnet_ids: Array[::String]?
127
+ },
128
+ ?plugins_s3_object_version: ::String,
129
+ ?plugins_s3_path: ::String,
130
+ ?requirements_s3_object_version: ::String,
131
+ ?requirements_s3_path: ::String,
132
+ ?schedulers: ::Integer,
133
+ source_bucket_arn: ::String,
134
+ ?startup_script_s3_object_version: ::String,
135
+ ?startup_script_s3_path: ::String,
136
+ ?tags: Hash[::String, ::String],
137
+ ?webserver_access_mode: ("PRIVATE_ONLY" | "PUBLIC_ONLY"),
138
+ ?weekly_maintenance_window_start: ::String
139
+ ) -> _CreateEnvironmentResponseSuccess
140
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEnvironmentResponseSuccess
141
+
142
+ interface _CreateWebLoginTokenResponseSuccess
143
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateWebLoginTokenResponse]
144
+ def airflow_identity: () -> ::String
145
+ def iam_identity: () -> ::String
146
+ def web_server_hostname: () -> ::String
147
+ def web_token: () -> ::String
148
+ end
149
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#create_web_login_token-instance_method
150
+ def create_web_login_token: (
151
+ name: ::String
152
+ ) -> _CreateWebLoginTokenResponseSuccess
153
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebLoginTokenResponseSuccess
154
+
155
+ interface _DeleteEnvironmentResponseSuccess
156
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEnvironmentOutput]
157
+ end
158
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#delete_environment-instance_method
159
+ def delete_environment: (
160
+ name: ::String
161
+ ) -> _DeleteEnvironmentResponseSuccess
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEnvironmentResponseSuccess
163
+
164
+ interface _GetEnvironmentResponseSuccess
165
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEnvironmentOutput]
166
+ def environment: () -> Types::Environment
167
+ end
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#get_environment-instance_method
169
+ def get_environment: (
170
+ name: ::String
171
+ ) -> _GetEnvironmentResponseSuccess
172
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnvironmentResponseSuccess
173
+
174
+ interface _ListEnvironmentsResponseSuccess
175
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEnvironmentsOutput]
176
+ def environments: () -> ::Array[::String]
177
+ def next_token: () -> ::String
178
+ end
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#list_environments-instance_method
180
+ def list_environments: (
181
+ ?max_results: ::Integer,
182
+ ?next_token: ::String
183
+ ) -> _ListEnvironmentsResponseSuccess
184
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnvironmentsResponseSuccess
185
+
186
+ interface _ListTagsForResourceResponseSuccess
187
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
188
+ def tags: () -> ::Hash[::String, ::String]
189
+ end
190
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#list_tags_for_resource-instance_method
191
+ def list_tags_for_resource: (
192
+ resource_arn: ::String
193
+ ) -> _ListTagsForResourceResponseSuccess
194
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
195
+
196
+ interface _PublishMetricsResponseSuccess
197
+ include ::Seahorse::Client::_ResponseSuccess[Types::PublishMetricsOutput]
198
+ end
199
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#publish_metrics-instance_method
200
+ def publish_metrics: (
201
+ environment_name: ::String,
202
+ metric_data: Array[
203
+ {
204
+ dimensions: Array[
205
+ {
206
+ name: ::String,
207
+ value: ::String
208
+ },
209
+ ]?,
210
+ metric_name: ::String,
211
+ statistic_values: {
212
+ maximum: ::Float?,
213
+ minimum: ::Float?,
214
+ sample_count: ::Integer?,
215
+ sum: ::Float?
216
+ }?,
217
+ timestamp: ::Time,
218
+ unit: ("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")?,
219
+ value: ::Float?
220
+ },
221
+ ]
222
+ ) -> _PublishMetricsResponseSuccess
223
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishMetricsResponseSuccess
224
+
225
+ interface _TagResourceResponseSuccess
226
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
227
+ end
228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#tag_resource-instance_method
229
+ def tag_resource: (
230
+ resource_arn: ::String,
231
+ tags: Hash[::String, ::String]
232
+ ) -> _TagResourceResponseSuccess
233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
234
+
235
+ interface _UntagResourceResponseSuccess
236
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
237
+ end
238
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#untag_resource-instance_method
239
+ def untag_resource: (
240
+ resource_arn: ::String,
241
+ tag_keys: Array[::String]
242
+ ) -> _UntagResourceResponseSuccess
243
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
244
+
245
+ interface _UpdateEnvironmentResponseSuccess
246
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEnvironmentOutput]
247
+ def arn: () -> ::String
248
+ end
249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Client.html#update_environment-instance_method
250
+ def update_environment: (
251
+ ?airflow_configuration_options: Hash[::String, ::String],
252
+ ?airflow_version: ::String,
253
+ ?dag_s3_path: ::String,
254
+ ?environment_class: ::String,
255
+ ?execution_role_arn: ::String,
256
+ ?logging_configuration: {
257
+ dag_processing_logs: {
258
+ enabled: bool,
259
+ log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
260
+ }?,
261
+ scheduler_logs: {
262
+ enabled: bool,
263
+ log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
264
+ }?,
265
+ task_logs: {
266
+ enabled: bool,
267
+ log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
268
+ }?,
269
+ webserver_logs: {
270
+ enabled: bool,
271
+ log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
272
+ }?,
273
+ worker_logs: {
274
+ enabled: bool,
275
+ log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
276
+ }?
277
+ },
278
+ ?max_workers: ::Integer,
279
+ ?min_workers: ::Integer,
280
+ name: ::String,
281
+ ?network_configuration: {
282
+ security_group_ids: Array[::String]
283
+ },
284
+ ?plugins_s3_object_version: ::String,
285
+ ?plugins_s3_path: ::String,
286
+ ?requirements_s3_object_version: ::String,
287
+ ?requirements_s3_path: ::String,
288
+ ?schedulers: ::Integer,
289
+ ?source_bucket_arn: ::String,
290
+ ?startup_script_s3_object_version: ::String,
291
+ ?startup_script_s3_path: ::String,
292
+ ?webserver_access_mode: ("PRIVATE_ONLY" | "PUBLIC_ONLY"),
293
+ ?weekly_maintenance_window_start: ::String
294
+ ) -> _UpdateEnvironmentResponseSuccess
295
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEnvironmentResponseSuccess
296
+ end
297
+ end
298
+ end
299
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,28 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module MWAA
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalServerException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ValidationException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ end
27
+ end
28
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module MWAA
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MWAA/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,299 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::MWAA
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class CreateCliTokenRequest
17
+ attr_accessor name: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class CreateCliTokenResponse
22
+ attr_accessor cli_token: ::String
23
+ attr_accessor web_server_hostname: ::String
24
+ SENSITIVE: [:cli_token]
25
+ end
26
+
27
+ class CreateEnvironmentInput
28
+ attr_accessor airflow_configuration_options: ::Hash[::String, ::String]
29
+ attr_accessor airflow_version: ::String
30
+ attr_accessor dag_s3_path: ::String
31
+ attr_accessor endpoint_management: ("CUSTOMER" | "SERVICE")
32
+ attr_accessor environment_class: ::String
33
+ attr_accessor execution_role_arn: ::String
34
+ attr_accessor kms_key: ::String
35
+ attr_accessor logging_configuration: Types::LoggingConfigurationInput
36
+ attr_accessor max_workers: ::Integer
37
+ attr_accessor min_workers: ::Integer
38
+ attr_accessor name: ::String
39
+ attr_accessor network_configuration: Types::NetworkConfiguration
40
+ attr_accessor plugins_s3_object_version: ::String
41
+ attr_accessor plugins_s3_path: ::String
42
+ attr_accessor requirements_s3_object_version: ::String
43
+ attr_accessor requirements_s3_path: ::String
44
+ attr_accessor schedulers: ::Integer
45
+ attr_accessor source_bucket_arn: ::String
46
+ attr_accessor startup_script_s3_object_version: ::String
47
+ attr_accessor startup_script_s3_path: ::String
48
+ attr_accessor tags: ::Hash[::String, ::String]
49
+ attr_accessor webserver_access_mode: ("PRIVATE_ONLY" | "PUBLIC_ONLY")
50
+ attr_accessor weekly_maintenance_window_start: ::String
51
+ SENSITIVE: [:airflow_configuration_options]
52
+ end
53
+
54
+ class CreateEnvironmentOutput
55
+ attr_accessor arn: ::String
56
+ SENSITIVE: []
57
+ end
58
+
59
+ class CreateWebLoginTokenRequest
60
+ attr_accessor name: ::String
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class CreateWebLoginTokenResponse
65
+ attr_accessor airflow_identity: ::String
66
+ attr_accessor iam_identity: ::String
67
+ attr_accessor web_server_hostname: ::String
68
+ attr_accessor web_token: ::String
69
+ SENSITIVE: [:web_token]
70
+ end
71
+
72
+ class DeleteEnvironmentInput
73
+ attr_accessor name: ::String
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class DeleteEnvironmentOutput < Aws::EmptyStructure
78
+ end
79
+
80
+ class Dimension
81
+ attr_accessor name: ::String
82
+ attr_accessor value: ::String
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class Environment
87
+ attr_accessor airflow_configuration_options: ::Hash[::String, ::String]
88
+ attr_accessor airflow_version: ::String
89
+ attr_accessor arn: ::String
90
+ attr_accessor celery_executor_queue: ::String
91
+ attr_accessor created_at: ::Time
92
+ attr_accessor dag_s3_path: ::String
93
+ attr_accessor database_vpc_endpoint_service: ::String
94
+ attr_accessor endpoint_management: ("CUSTOMER" | "SERVICE")
95
+ attr_accessor environment_class: ::String
96
+ attr_accessor execution_role_arn: ::String
97
+ attr_accessor kms_key: ::String
98
+ attr_accessor last_update: Types::LastUpdate
99
+ attr_accessor logging_configuration: Types::LoggingConfiguration
100
+ attr_accessor max_workers: ::Integer
101
+ attr_accessor min_workers: ::Integer
102
+ attr_accessor name: ::String
103
+ attr_accessor network_configuration: Types::NetworkConfiguration
104
+ attr_accessor plugins_s3_object_version: ::String
105
+ attr_accessor plugins_s3_path: ::String
106
+ attr_accessor requirements_s3_object_version: ::String
107
+ attr_accessor requirements_s3_path: ::String
108
+ attr_accessor schedulers: ::Integer
109
+ attr_accessor service_role_arn: ::String
110
+ attr_accessor source_bucket_arn: ::String
111
+ attr_accessor startup_script_s3_object_version: ::String
112
+ attr_accessor startup_script_s3_path: ::String
113
+ attr_accessor status: ("CREATING" | "CREATE_FAILED" | "AVAILABLE" | "UPDATING" | "DELETING" | "DELETED" | "UNAVAILABLE" | "UPDATE_FAILED" | "ROLLING_BACK" | "CREATING_SNAPSHOT" | "PENDING")
114
+ attr_accessor tags: ::Hash[::String, ::String]
115
+ attr_accessor webserver_access_mode: ("PRIVATE_ONLY" | "PUBLIC_ONLY")
116
+ attr_accessor webserver_url: ::String
117
+ attr_accessor webserver_vpc_endpoint_service: ::String
118
+ attr_accessor weekly_maintenance_window_start: ::String
119
+ SENSITIVE: [:airflow_configuration_options]
120
+ end
121
+
122
+ class GetEnvironmentInput
123
+ attr_accessor name: ::String
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class GetEnvironmentOutput
128
+ attr_accessor environment: Types::Environment
129
+ SENSITIVE: []
130
+ end
131
+
132
+ class InternalServerException
133
+ attr_accessor message: ::String
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class LastUpdate
138
+ attr_accessor created_at: ::Time
139
+ attr_accessor error: Types::UpdateError
140
+ attr_accessor source: ::String
141
+ attr_accessor status: ("SUCCESS" | "PENDING" | "FAILED")
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class ListEnvironmentsInput
146
+ attr_accessor max_results: ::Integer
147
+ attr_accessor next_token: ::String
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class ListEnvironmentsOutput
152
+ attr_accessor environments: ::Array[::String]
153
+ attr_accessor next_token: ::String
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class ListTagsForResourceInput
158
+ attr_accessor resource_arn: ::String
159
+ SENSITIVE: []
160
+ end
161
+
162
+ class ListTagsForResourceOutput
163
+ attr_accessor tags: ::Hash[::String, ::String]
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class LoggingConfiguration
168
+ attr_accessor dag_processing_logs: Types::ModuleLoggingConfiguration
169
+ attr_accessor scheduler_logs: Types::ModuleLoggingConfiguration
170
+ attr_accessor task_logs: Types::ModuleLoggingConfiguration
171
+ attr_accessor webserver_logs: Types::ModuleLoggingConfiguration
172
+ attr_accessor worker_logs: Types::ModuleLoggingConfiguration
173
+ SENSITIVE: []
174
+ end
175
+
176
+ class LoggingConfigurationInput
177
+ attr_accessor dag_processing_logs: Types::ModuleLoggingConfigurationInput
178
+ attr_accessor scheduler_logs: Types::ModuleLoggingConfigurationInput
179
+ attr_accessor task_logs: Types::ModuleLoggingConfigurationInput
180
+ attr_accessor webserver_logs: Types::ModuleLoggingConfigurationInput
181
+ attr_accessor worker_logs: Types::ModuleLoggingConfigurationInput
182
+ SENSITIVE: []
183
+ end
184
+
185
+ class MetricDatum
186
+ attr_accessor dimensions: ::Array[Types::Dimension]
187
+ attr_accessor metric_name: ::String
188
+ attr_accessor statistic_values: Types::StatisticSet
189
+ attr_accessor timestamp: ::Time
190
+ attr_accessor unit: ("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")
191
+ attr_accessor value: ::Float
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class ModuleLoggingConfiguration
196
+ attr_accessor cloud_watch_log_group_arn: ::String
197
+ attr_accessor enabled: bool
198
+ attr_accessor log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
199
+ SENSITIVE: []
200
+ end
201
+
202
+ class ModuleLoggingConfigurationInput
203
+ attr_accessor enabled: bool
204
+ attr_accessor log_level: ("CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG")
205
+ SENSITIVE: []
206
+ end
207
+
208
+ class NetworkConfiguration
209
+ attr_accessor security_group_ids: ::Array[::String]
210
+ attr_accessor subnet_ids: ::Array[::String]
211
+ SENSITIVE: []
212
+ end
213
+
214
+ class PublishMetricsInput
215
+ attr_accessor environment_name: ::String
216
+ attr_accessor metric_data: ::Array[Types::MetricDatum]
217
+ SENSITIVE: []
218
+ end
219
+
220
+ class PublishMetricsOutput < Aws::EmptyStructure
221
+ end
222
+
223
+ class ResourceNotFoundException
224
+ attr_accessor message: ::String
225
+ SENSITIVE: []
226
+ end
227
+
228
+ class StatisticSet
229
+ attr_accessor maximum: ::Float
230
+ attr_accessor minimum: ::Float
231
+ attr_accessor sample_count: ::Integer
232
+ attr_accessor sum: ::Float
233
+ SENSITIVE: []
234
+ end
235
+
236
+ class TagResourceInput
237
+ attr_accessor resource_arn: ::String
238
+ attr_accessor tags: ::Hash[::String, ::String]
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class TagResourceOutput < Aws::EmptyStructure
243
+ end
244
+
245
+ class UntagResourceInput
246
+ attr_accessor resource_arn: ::String
247
+ attr_accessor tag_keys: ::Array[::String]
248
+ SENSITIVE: []
249
+ end
250
+
251
+ class UntagResourceOutput < Aws::EmptyStructure
252
+ end
253
+
254
+ class UpdateEnvironmentInput
255
+ attr_accessor airflow_configuration_options: ::Hash[::String, ::String]
256
+ attr_accessor airflow_version: ::String
257
+ attr_accessor dag_s3_path: ::String
258
+ attr_accessor environment_class: ::String
259
+ attr_accessor execution_role_arn: ::String
260
+ attr_accessor logging_configuration: Types::LoggingConfigurationInput
261
+ attr_accessor max_workers: ::Integer
262
+ attr_accessor min_workers: ::Integer
263
+ attr_accessor name: ::String
264
+ attr_accessor network_configuration: Types::UpdateNetworkConfigurationInput
265
+ attr_accessor plugins_s3_object_version: ::String
266
+ attr_accessor plugins_s3_path: ::String
267
+ attr_accessor requirements_s3_object_version: ::String
268
+ attr_accessor requirements_s3_path: ::String
269
+ attr_accessor schedulers: ::Integer
270
+ attr_accessor source_bucket_arn: ::String
271
+ attr_accessor startup_script_s3_object_version: ::String
272
+ attr_accessor startup_script_s3_path: ::String
273
+ attr_accessor webserver_access_mode: ("PRIVATE_ONLY" | "PUBLIC_ONLY")
274
+ attr_accessor weekly_maintenance_window_start: ::String
275
+ SENSITIVE: [:airflow_configuration_options]
276
+ end
277
+
278
+ class UpdateEnvironmentOutput
279
+ attr_accessor arn: ::String
280
+ SENSITIVE: []
281
+ end
282
+
283
+ class UpdateError
284
+ attr_accessor error_code: ::String
285
+ attr_accessor error_message: ::String
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class UpdateNetworkConfigurationInput
290
+ attr_accessor security_group_ids: ::Array[::String]
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class ValidationException
295
+ attr_accessor message: ::String
296
+ SENSITIVE: []
297
+ end
298
+ end
299
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module MWAA
10
+ module Waiters
11
+ end
12
+ end
13
+ 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.31.0
4
+ version: 1.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-mwaa/plugins/endpoints.rb
67
67
  - lib/aws-sdk-mwaa/resource.rb
68
68
  - lib/aws-sdk-mwaa/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mwaa
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mwaa/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - AmazonMWAA
94
99
  test_files: []