aws-sdk-mwaa 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,499 @@
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/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::MWAA
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AirflowConfigurationOptions = Shapes::MapShape.new(name: 'AirflowConfigurationOptions')
18
+ AirflowVersion = Shapes::StringShape.new(name: 'AirflowVersion')
19
+ CloudWatchLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogGroupArn')
20
+ ConfigKey = Shapes::StringShape.new(name: 'ConfigKey')
21
+ ConfigValue = Shapes::StringShape.new(name: 'ConfigValue')
22
+ CreateCliTokenRequest = Shapes::StructureShape.new(name: 'CreateCliTokenRequest')
23
+ CreateCliTokenResponse = Shapes::StructureShape.new(name: 'CreateCliTokenResponse')
24
+ CreateEnvironmentInput = Shapes::StructureShape.new(name: 'CreateEnvironmentInput')
25
+ CreateEnvironmentOutput = Shapes::StructureShape.new(name: 'CreateEnvironmentOutput')
26
+ CreateWebLoginTokenRequest = Shapes::StructureShape.new(name: 'CreateWebLoginTokenRequest')
27
+ CreateWebLoginTokenResponse = Shapes::StructureShape.new(name: 'CreateWebLoginTokenResponse')
28
+ CreatedAt = Shapes::TimestampShape.new(name: 'CreatedAt')
29
+ DeleteEnvironmentInput = Shapes::StructureShape.new(name: 'DeleteEnvironmentInput')
30
+ DeleteEnvironmentOutput = Shapes::StructureShape.new(name: 'DeleteEnvironmentOutput')
31
+ Dimension = Shapes::StructureShape.new(name: 'Dimension')
32
+ Dimensions = Shapes::ListShape.new(name: 'Dimensions')
33
+ Double = Shapes::FloatShape.new(name: 'Double')
34
+ Environment = Shapes::StructureShape.new(name: 'Environment')
35
+ EnvironmentArn = Shapes::StringShape.new(name: 'EnvironmentArn')
36
+ EnvironmentClass = Shapes::StringShape.new(name: 'EnvironmentClass')
37
+ EnvironmentList = Shapes::ListShape.new(name: 'EnvironmentList')
38
+ EnvironmentName = Shapes::StringShape.new(name: 'EnvironmentName')
39
+ EnvironmentStatus = Shapes::StringShape.new(name: 'EnvironmentStatus')
40
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
41
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
42
+ GetEnvironmentInput = Shapes::StructureShape.new(name: 'GetEnvironmentInput')
43
+ GetEnvironmentOutput = Shapes::StructureShape.new(name: 'GetEnvironmentOutput')
44
+ Hostname = Shapes::StringShape.new(name: 'Hostname')
45
+ IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
46
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
47
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
48
+ KmsKey = Shapes::StringShape.new(name: 'KmsKey')
49
+ LastUpdate = Shapes::StructureShape.new(name: 'LastUpdate')
50
+ ListEnvironmentsInput = Shapes::StructureShape.new(name: 'ListEnvironmentsInput')
51
+ ListEnvironmentsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListEnvironmentsInputMaxResultsInteger')
52
+ ListEnvironmentsOutput = Shapes::StructureShape.new(name: 'ListEnvironmentsOutput')
53
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
54
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
55
+ LoggingConfiguration = Shapes::StructureShape.new(name: 'LoggingConfiguration')
56
+ LoggingConfigurationInput = Shapes::StructureShape.new(name: 'LoggingConfigurationInput')
57
+ LoggingEnabled = Shapes::BooleanShape.new(name: 'LoggingEnabled')
58
+ LoggingLevel = Shapes::StringShape.new(name: 'LoggingLevel')
59
+ MaxWorkers = Shapes::IntegerShape.new(name: 'MaxWorkers')
60
+ MetricData = Shapes::ListShape.new(name: 'MetricData')
61
+ MetricDatum = Shapes::StructureShape.new(name: 'MetricDatum')
62
+ ModuleLoggingConfiguration = Shapes::StructureShape.new(name: 'ModuleLoggingConfiguration')
63
+ ModuleLoggingConfigurationInput = Shapes::StructureShape.new(name: 'ModuleLoggingConfigurationInput')
64
+ NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
65
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
66
+ PublishMetricsInput = Shapes::StructureShape.new(name: 'PublishMetricsInput')
67
+ PublishMetricsOutput = Shapes::StructureShape.new(name: 'PublishMetricsOutput')
68
+ RelativePath = Shapes::StringShape.new(name: 'RelativePath')
69
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
70
+ S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
71
+ S3ObjectVersion = Shapes::StringShape.new(name: 'S3ObjectVersion')
72
+ SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
73
+ SecurityGroupList = Shapes::ListShape.new(name: 'SecurityGroupList')
74
+ StatisticSet = Shapes::StructureShape.new(name: 'StatisticSet')
75
+ String = Shapes::StringShape.new(name: 'String')
76
+ SubnetId = Shapes::StringShape.new(name: 'SubnetId')
77
+ SubnetList = Shapes::ListShape.new(name: 'SubnetList')
78
+ SyntheticCreateCliTokenResponseToken = Shapes::StringShape.new(name: 'SyntheticCreateCliTokenResponseToken')
79
+ SyntheticCreateEnvironmentInputAirflowConfigurationOptions = Shapes::MapShape.new(name: 'SyntheticCreateEnvironmentInputAirflowConfigurationOptions')
80
+ SyntheticCreateWebLoginTokenResponseToken = Shapes::StringShape.new(name: 'SyntheticCreateWebLoginTokenResponseToken')
81
+ SyntheticUpdateEnvironmentInputAirflowConfigurationOptions = Shapes::MapShape.new(name: 'SyntheticUpdateEnvironmentInputAirflowConfigurationOptions')
82
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
83
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
84
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
85
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
86
+ TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
87
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
88
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
89
+ Unit = Shapes::StringShape.new(name: 'Unit')
90
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
91
+ UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
92
+ UpdateCreatedAt = Shapes::TimestampShape.new(name: 'UpdateCreatedAt')
93
+ UpdateEnvironmentInput = Shapes::StructureShape.new(name: 'UpdateEnvironmentInput')
94
+ UpdateEnvironmentOutput = Shapes::StructureShape.new(name: 'UpdateEnvironmentOutput')
95
+ UpdateError = Shapes::StructureShape.new(name: 'UpdateError')
96
+ UpdateNetworkConfigurationInput = Shapes::StructureShape.new(name: 'UpdateNetworkConfigurationInput')
97
+ UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
98
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
99
+ WebserverAccessMode = Shapes::StringShape.new(name: 'WebserverAccessMode')
100
+ WebserverUrl = Shapes::StringShape.new(name: 'WebserverUrl')
101
+ WeeklyMaintenanceWindowStart = Shapes::StringShape.new(name: 'WeeklyMaintenanceWindowStart')
102
+
103
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
104
+ AccessDeniedException.struct_class = Types::AccessDeniedException
105
+
106
+ AirflowConfigurationOptions.key = Shapes::ShapeRef.new(shape: ConfigKey)
107
+ AirflowConfigurationOptions.value = Shapes::ShapeRef.new(shape: ConfigValue)
108
+
109
+ CreateCliTokenRequest.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location: "uri", location_name: "Name"))
110
+ CreateCliTokenRequest.struct_class = Types::CreateCliTokenRequest
111
+
112
+ CreateCliTokenResponse.add_member(:cli_token, Shapes::ShapeRef.new(shape: SyntheticCreateCliTokenResponseToken, location_name: "CliToken"))
113
+ CreateCliTokenResponse.add_member(:web_server_hostname, Shapes::ShapeRef.new(shape: Hostname, location_name: "WebServerHostname"))
114
+ CreateCliTokenResponse.struct_class = Types::CreateCliTokenResponse
115
+
116
+ CreateEnvironmentInput.add_member(:airflow_configuration_options, Shapes::ShapeRef.new(shape: SyntheticCreateEnvironmentInputAirflowConfigurationOptions, location_name: "AirflowConfigurationOptions"))
117
+ CreateEnvironmentInput.add_member(:airflow_version, Shapes::ShapeRef.new(shape: AirflowVersion, location_name: "AirflowVersion"))
118
+ CreateEnvironmentInput.add_member(:dag_s3_path, Shapes::ShapeRef.new(shape: RelativePath, required: true, location_name: "DagS3Path"))
119
+ CreateEnvironmentInput.add_member(:environment_class, Shapes::ShapeRef.new(shape: EnvironmentClass, location_name: "EnvironmentClass"))
120
+ CreateEnvironmentInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "ExecutionRoleArn"))
121
+ CreateEnvironmentInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKey"))
122
+ CreateEnvironmentInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfigurationInput, location_name: "LoggingConfiguration"))
123
+ CreateEnvironmentInput.add_member(:max_workers, Shapes::ShapeRef.new(shape: MaxWorkers, location_name: "MaxWorkers"))
124
+ CreateEnvironmentInput.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location: "uri", location_name: "Name"))
125
+ CreateEnvironmentInput.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, required: true, location_name: "NetworkConfiguration"))
126
+ CreateEnvironmentInput.add_member(:plugins_s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "PluginsS3ObjectVersion"))
127
+ CreateEnvironmentInput.add_member(:plugins_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "PluginsS3Path"))
128
+ CreateEnvironmentInput.add_member(:requirements_s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "RequirementsS3ObjectVersion"))
129
+ CreateEnvironmentInput.add_member(:requirements_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "RequirementsS3Path"))
130
+ CreateEnvironmentInput.add_member(:source_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "SourceBucketArn"))
131
+ CreateEnvironmentInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
132
+ CreateEnvironmentInput.add_member(:webserver_access_mode, Shapes::ShapeRef.new(shape: WebserverAccessMode, location_name: "WebserverAccessMode"))
133
+ CreateEnvironmentInput.add_member(:weekly_maintenance_window_start, Shapes::ShapeRef.new(shape: WeeklyMaintenanceWindowStart, location_name: "WeeklyMaintenanceWindowStart"))
134
+ CreateEnvironmentInput.struct_class = Types::CreateEnvironmentInput
135
+
136
+ CreateEnvironmentOutput.add_member(:arn, Shapes::ShapeRef.new(shape: EnvironmentArn, location_name: "Arn"))
137
+ CreateEnvironmentOutput.struct_class = Types::CreateEnvironmentOutput
138
+
139
+ CreateWebLoginTokenRequest.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location: "uri", location_name: "Name"))
140
+ CreateWebLoginTokenRequest.struct_class = Types::CreateWebLoginTokenRequest
141
+
142
+ CreateWebLoginTokenResponse.add_member(:web_server_hostname, Shapes::ShapeRef.new(shape: Hostname, location_name: "WebServerHostname"))
143
+ CreateWebLoginTokenResponse.add_member(:web_token, Shapes::ShapeRef.new(shape: SyntheticCreateWebLoginTokenResponseToken, location_name: "WebToken"))
144
+ CreateWebLoginTokenResponse.struct_class = Types::CreateWebLoginTokenResponse
145
+
146
+ DeleteEnvironmentInput.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location: "uri", location_name: "Name"))
147
+ DeleteEnvironmentInput.struct_class = Types::DeleteEnvironmentInput
148
+
149
+ DeleteEnvironmentOutput.struct_class = Types::DeleteEnvironmentOutput
150
+
151
+ Dimension.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
152
+ Dimension.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
153
+ Dimension.struct_class = Types::Dimension
154
+
155
+ Dimensions.member = Shapes::ShapeRef.new(shape: Dimension)
156
+
157
+ Environment.add_member(:airflow_configuration_options, Shapes::ShapeRef.new(shape: AirflowConfigurationOptions, location_name: "AirflowConfigurationOptions"))
158
+ Environment.add_member(:airflow_version, Shapes::ShapeRef.new(shape: AirflowVersion, location_name: "AirflowVersion"))
159
+ Environment.add_member(:arn, Shapes::ShapeRef.new(shape: EnvironmentArn, location_name: "Arn"))
160
+ Environment.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
161
+ Environment.add_member(:dag_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "DagS3Path"))
162
+ Environment.add_member(:environment_class, Shapes::ShapeRef.new(shape: EnvironmentClass, location_name: "EnvironmentClass"))
163
+ Environment.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "ExecutionRoleArn"))
164
+ Environment.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKey"))
165
+ Environment.add_member(:last_update, Shapes::ShapeRef.new(shape: LastUpdate, location_name: "LastUpdate"))
166
+ Environment.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "LoggingConfiguration"))
167
+ Environment.add_member(:max_workers, Shapes::ShapeRef.new(shape: MaxWorkers, location_name: "MaxWorkers"))
168
+ Environment.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "Name"))
169
+ Environment.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "NetworkConfiguration"))
170
+ Environment.add_member(:plugins_s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "PluginsS3ObjectVersion"))
171
+ Environment.add_member(:plugins_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "PluginsS3Path"))
172
+ Environment.add_member(:requirements_s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "RequirementsS3ObjectVersion"))
173
+ Environment.add_member(:requirements_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "RequirementsS3Path"))
174
+ Environment.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "ServiceRoleArn"))
175
+ Environment.add_member(:source_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, location_name: "SourceBucketArn"))
176
+ Environment.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentStatus, location_name: "Status"))
177
+ Environment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
178
+ Environment.add_member(:webserver_access_mode, Shapes::ShapeRef.new(shape: WebserverAccessMode, location_name: "WebserverAccessMode"))
179
+ Environment.add_member(:webserver_url, Shapes::ShapeRef.new(shape: WebserverUrl, location_name: "WebserverUrl"))
180
+ Environment.add_member(:weekly_maintenance_window_start, Shapes::ShapeRef.new(shape: WeeklyMaintenanceWindowStart, location_name: "WeeklyMaintenanceWindowStart"))
181
+ Environment.struct_class = Types::Environment
182
+
183
+ EnvironmentList.member = Shapes::ShapeRef.new(shape: EnvironmentName)
184
+
185
+ GetEnvironmentInput.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location: "uri", location_name: "Name"))
186
+ GetEnvironmentInput.struct_class = Types::GetEnvironmentInput
187
+
188
+ GetEnvironmentOutput.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "Environment"))
189
+ GetEnvironmentOutput.struct_class = Types::GetEnvironmentOutput
190
+
191
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
192
+ InternalServerException.struct_class = Types::InternalServerException
193
+
194
+ LastUpdate.add_member(:created_at, Shapes::ShapeRef.new(shape: UpdateCreatedAt, location_name: "CreatedAt"))
195
+ LastUpdate.add_member(:error, Shapes::ShapeRef.new(shape: UpdateError, location_name: "Error"))
196
+ LastUpdate.add_member(:status, Shapes::ShapeRef.new(shape: UpdateStatus, location_name: "Status"))
197
+ LastUpdate.struct_class = Types::LastUpdate
198
+
199
+ ListEnvironmentsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEnvironmentsInputMaxResultsInteger, location: "querystring", location_name: "MaxResults"))
200
+ ListEnvironmentsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
201
+ ListEnvironmentsInput.struct_class = Types::ListEnvironmentsInput
202
+
203
+ ListEnvironmentsOutput.add_member(:environments, Shapes::ShapeRef.new(shape: EnvironmentList, required: true, location_name: "Environments"))
204
+ ListEnvironmentsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
205
+ ListEnvironmentsOutput.struct_class = Types::ListEnvironmentsOutput
206
+
207
+ ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: EnvironmentArn, required: true, location: "uri", location_name: "ResourceArn"))
208
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
209
+
210
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
211
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
212
+
213
+ LoggingConfiguration.add_member(:dag_processing_logs, Shapes::ShapeRef.new(shape: ModuleLoggingConfiguration, location_name: "DagProcessingLogs"))
214
+ LoggingConfiguration.add_member(:scheduler_logs, Shapes::ShapeRef.new(shape: ModuleLoggingConfiguration, location_name: "SchedulerLogs"))
215
+ LoggingConfiguration.add_member(:task_logs, Shapes::ShapeRef.new(shape: ModuleLoggingConfiguration, location_name: "TaskLogs"))
216
+ LoggingConfiguration.add_member(:webserver_logs, Shapes::ShapeRef.new(shape: ModuleLoggingConfiguration, location_name: "WebserverLogs"))
217
+ LoggingConfiguration.add_member(:worker_logs, Shapes::ShapeRef.new(shape: ModuleLoggingConfiguration, location_name: "WorkerLogs"))
218
+ LoggingConfiguration.struct_class = Types::LoggingConfiguration
219
+
220
+ LoggingConfigurationInput.add_member(:dag_processing_logs, Shapes::ShapeRef.new(shape: ModuleLoggingConfigurationInput, location_name: "DagProcessingLogs"))
221
+ LoggingConfigurationInput.add_member(:scheduler_logs, Shapes::ShapeRef.new(shape: ModuleLoggingConfigurationInput, location_name: "SchedulerLogs"))
222
+ LoggingConfigurationInput.add_member(:task_logs, Shapes::ShapeRef.new(shape: ModuleLoggingConfigurationInput, location_name: "TaskLogs"))
223
+ LoggingConfigurationInput.add_member(:webserver_logs, Shapes::ShapeRef.new(shape: ModuleLoggingConfigurationInput, location_name: "WebserverLogs"))
224
+ LoggingConfigurationInput.add_member(:worker_logs, Shapes::ShapeRef.new(shape: ModuleLoggingConfigurationInput, location_name: "WorkerLogs"))
225
+ LoggingConfigurationInput.struct_class = Types::LoggingConfigurationInput
226
+
227
+ MetricData.member = Shapes::ShapeRef.new(shape: MetricDatum)
228
+
229
+ MetricDatum.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "Dimensions"))
230
+ MetricDatum.add_member(:metric_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MetricName"))
231
+ MetricDatum.add_member(:statistic_values, Shapes::ShapeRef.new(shape: StatisticSet, location_name: "StatisticValues"))
232
+ MetricDatum.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp"))
233
+ MetricDatum.add_member(:unit, Shapes::ShapeRef.new(shape: Unit, location_name: "Unit"))
234
+ MetricDatum.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "Value"))
235
+ MetricDatum.struct_class = Types::MetricDatum
236
+
237
+ ModuleLoggingConfiguration.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupArn, location_name: "CloudWatchLogGroupArn"))
238
+ ModuleLoggingConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: LoggingEnabled, location_name: "Enabled"))
239
+ ModuleLoggingConfiguration.add_member(:log_level, Shapes::ShapeRef.new(shape: LoggingLevel, location_name: "LogLevel"))
240
+ ModuleLoggingConfiguration.struct_class = Types::ModuleLoggingConfiguration
241
+
242
+ ModuleLoggingConfigurationInput.add_member(:enabled, Shapes::ShapeRef.new(shape: LoggingEnabled, required: true, location_name: "Enabled"))
243
+ ModuleLoggingConfigurationInput.add_member(:log_level, Shapes::ShapeRef.new(shape: LoggingLevel, required: true, location_name: "LogLevel"))
244
+ ModuleLoggingConfigurationInput.struct_class = Types::ModuleLoggingConfigurationInput
245
+
246
+ NetworkConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupList, location_name: "SecurityGroupIds"))
247
+ NetworkConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetList, location_name: "SubnetIds"))
248
+ NetworkConfiguration.struct_class = Types::NetworkConfiguration
249
+
250
+ PublishMetricsInput.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location: "uri", location_name: "EnvironmentName"))
251
+ PublishMetricsInput.add_member(:metric_data, Shapes::ShapeRef.new(shape: MetricData, required: true, location_name: "MetricData"))
252
+ PublishMetricsInput.struct_class = Types::PublishMetricsInput
253
+
254
+ PublishMetricsOutput.struct_class = Types::PublishMetricsOutput
255
+
256
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
257
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
258
+
259
+ SecurityGroupList.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
260
+
261
+ StatisticSet.add_member(:maximum, Shapes::ShapeRef.new(shape: Double, location_name: "Maximum"))
262
+ StatisticSet.add_member(:minimum, Shapes::ShapeRef.new(shape: Double, location_name: "Minimum"))
263
+ StatisticSet.add_member(:sample_count, Shapes::ShapeRef.new(shape: Integer, location_name: "SampleCount"))
264
+ StatisticSet.add_member(:sum, Shapes::ShapeRef.new(shape: Double, location_name: "Sum"))
265
+ StatisticSet.struct_class = Types::StatisticSet
266
+
267
+ SubnetList.member = Shapes::ShapeRef.new(shape: SubnetId)
268
+
269
+ SyntheticCreateEnvironmentInputAirflowConfigurationOptions.key = Shapes::ShapeRef.new(shape: ConfigKey)
270
+ SyntheticCreateEnvironmentInputAirflowConfigurationOptions.value = Shapes::ShapeRef.new(shape: ConfigValue)
271
+
272
+ SyntheticUpdateEnvironmentInputAirflowConfigurationOptions.key = Shapes::ShapeRef.new(shape: ConfigKey)
273
+ SyntheticUpdateEnvironmentInputAirflowConfigurationOptions.value = Shapes::ShapeRef.new(shape: ConfigValue)
274
+
275
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
276
+
277
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
278
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
279
+
280
+ TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: EnvironmentArn, required: true, location: "uri", location_name: "ResourceArn"))
281
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
282
+ TagResourceInput.struct_class = Types::TagResourceInput
283
+
284
+ TagResourceOutput.struct_class = Types::TagResourceOutput
285
+
286
+ UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: EnvironmentArn, required: true, location: "uri", location_name: "ResourceArn"))
287
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
288
+ UntagResourceInput.struct_class = Types::UntagResourceInput
289
+
290
+ UntagResourceOutput.struct_class = Types::UntagResourceOutput
291
+
292
+ UpdateEnvironmentInput.add_member(:airflow_configuration_options, Shapes::ShapeRef.new(shape: SyntheticUpdateEnvironmentInputAirflowConfigurationOptions, location_name: "AirflowConfigurationOptions"))
293
+ UpdateEnvironmentInput.add_member(:airflow_version, Shapes::ShapeRef.new(shape: AirflowVersion, location_name: "AirflowVersion"))
294
+ UpdateEnvironmentInput.add_member(:dag_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "DagS3Path"))
295
+ UpdateEnvironmentInput.add_member(:environment_class, Shapes::ShapeRef.new(shape: EnvironmentClass, location_name: "EnvironmentClass"))
296
+ UpdateEnvironmentInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "ExecutionRoleArn"))
297
+ UpdateEnvironmentInput.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfigurationInput, location_name: "LoggingConfiguration"))
298
+ UpdateEnvironmentInput.add_member(:max_workers, Shapes::ShapeRef.new(shape: MaxWorkers, location_name: "MaxWorkers"))
299
+ UpdateEnvironmentInput.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location: "uri", location_name: "Name"))
300
+ UpdateEnvironmentInput.add_member(:network_configuration, Shapes::ShapeRef.new(shape: UpdateNetworkConfigurationInput, location_name: "NetworkConfiguration"))
301
+ UpdateEnvironmentInput.add_member(:plugins_s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "PluginsS3ObjectVersion"))
302
+ UpdateEnvironmentInput.add_member(:plugins_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "PluginsS3Path"))
303
+ UpdateEnvironmentInput.add_member(:requirements_s3_object_version, Shapes::ShapeRef.new(shape: S3ObjectVersion, location_name: "RequirementsS3ObjectVersion"))
304
+ UpdateEnvironmentInput.add_member(:requirements_s3_path, Shapes::ShapeRef.new(shape: RelativePath, location_name: "RequirementsS3Path"))
305
+ UpdateEnvironmentInput.add_member(:source_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, location_name: "SourceBucketArn"))
306
+ UpdateEnvironmentInput.add_member(:webserver_access_mode, Shapes::ShapeRef.new(shape: WebserverAccessMode, location_name: "WebserverAccessMode"))
307
+ UpdateEnvironmentInput.add_member(:weekly_maintenance_window_start, Shapes::ShapeRef.new(shape: WeeklyMaintenanceWindowStart, location_name: "WeeklyMaintenanceWindowStart"))
308
+ UpdateEnvironmentInput.struct_class = Types::UpdateEnvironmentInput
309
+
310
+ UpdateEnvironmentOutput.add_member(:arn, Shapes::ShapeRef.new(shape: EnvironmentArn, location_name: "Arn"))
311
+ UpdateEnvironmentOutput.struct_class = Types::UpdateEnvironmentOutput
312
+
313
+ UpdateError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
314
+ UpdateError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
315
+ UpdateError.struct_class = Types::UpdateError
316
+
317
+ UpdateNetworkConfigurationInput.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupList, required: true, location_name: "SecurityGroupIds"))
318
+ UpdateNetworkConfigurationInput.struct_class = Types::UpdateNetworkConfigurationInput
319
+
320
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
321
+ ValidationException.struct_class = Types::ValidationException
322
+
323
+
324
+ # @api private
325
+ API = Seahorse::Model::Api.new.tap do |api|
326
+
327
+ api.version = "2020-07-01"
328
+
329
+ api.metadata = {
330
+ "apiVersion" => "2020-07-01",
331
+ "endpointPrefix" => "airflow",
332
+ "jsonVersion" => "1.1",
333
+ "protocol" => "rest-json",
334
+ "serviceFullName" => "AmazonMWAA",
335
+ "serviceId" => "MWAA",
336
+ "signatureVersion" => "v4",
337
+ "signingName" => "airflow",
338
+ "uid" => "mwaa-2020-07-01",
339
+ }
340
+
341
+ api.add_operation(:create_cli_token, Seahorse::Model::Operation.new.tap do |o|
342
+ o.name = "CreateCliToken"
343
+ o.http_method = "POST"
344
+ o.http_request_uri = "/clitoken/{Name}"
345
+ o.endpoint_pattern = {
346
+ "hostPrefix" => "env.",
347
+ }
348
+ o.input = Shapes::ShapeRef.new(shape: CreateCliTokenRequest)
349
+ o.output = Shapes::ShapeRef.new(shape: CreateCliTokenResponse)
350
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
351
+ end)
352
+
353
+ api.add_operation(:create_environment, Seahorse::Model::Operation.new.tap do |o|
354
+ o.name = "CreateEnvironment"
355
+ o.http_method = "PUT"
356
+ o.http_request_uri = "/environments/{Name}"
357
+ o.endpoint_pattern = {
358
+ "hostPrefix" => "api.",
359
+ }
360
+ o.input = Shapes::ShapeRef.new(shape: CreateEnvironmentInput)
361
+ o.output = Shapes::ShapeRef.new(shape: CreateEnvironmentOutput)
362
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
363
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
364
+ end)
365
+
366
+ api.add_operation(:create_web_login_token, Seahorse::Model::Operation.new.tap do |o|
367
+ o.name = "CreateWebLoginToken"
368
+ o.http_method = "POST"
369
+ o.http_request_uri = "/webtoken/{Name}"
370
+ o.endpoint_pattern = {
371
+ "hostPrefix" => "env.",
372
+ }
373
+ o.input = Shapes::ShapeRef.new(shape: CreateWebLoginTokenRequest)
374
+ o.output = Shapes::ShapeRef.new(shape: CreateWebLoginTokenResponse)
375
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
376
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
377
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
378
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
379
+ end)
380
+
381
+ api.add_operation(:delete_environment, Seahorse::Model::Operation.new.tap do |o|
382
+ o.name = "DeleteEnvironment"
383
+ o.http_method = "DELETE"
384
+ o.http_request_uri = "/environments/{Name}"
385
+ o.endpoint_pattern = {
386
+ "hostPrefix" => "api.",
387
+ }
388
+ o.input = Shapes::ShapeRef.new(shape: DeleteEnvironmentInput)
389
+ o.output = Shapes::ShapeRef.new(shape: DeleteEnvironmentOutput)
390
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
391
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
392
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
393
+ end)
394
+
395
+ api.add_operation(:get_environment, Seahorse::Model::Operation.new.tap do |o|
396
+ o.name = "GetEnvironment"
397
+ o.http_method = "GET"
398
+ o.http_request_uri = "/environments/{Name}"
399
+ o.endpoint_pattern = {
400
+ "hostPrefix" => "api.",
401
+ }
402
+ o.input = Shapes::ShapeRef.new(shape: GetEnvironmentInput)
403
+ o.output = Shapes::ShapeRef.new(shape: GetEnvironmentOutput)
404
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
405
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
406
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
407
+ end)
408
+
409
+ api.add_operation(:list_environments, Seahorse::Model::Operation.new.tap do |o|
410
+ o.name = "ListEnvironments"
411
+ o.http_method = "GET"
412
+ o.http_request_uri = "/environments"
413
+ o.endpoint_pattern = {
414
+ "hostPrefix" => "api.",
415
+ }
416
+ o.input = Shapes::ShapeRef.new(shape: ListEnvironmentsInput)
417
+ o.output = Shapes::ShapeRef.new(shape: ListEnvironmentsOutput)
418
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
419
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
420
+ o[:pager] = Aws::Pager.new(
421
+ limit_key: "max_results",
422
+ tokens: {
423
+ "next_token" => "next_token"
424
+ }
425
+ )
426
+ end)
427
+
428
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
429
+ o.name = "ListTagsForResource"
430
+ o.http_method = "GET"
431
+ o.http_request_uri = "/tags/{ResourceArn}"
432
+ o.endpoint_pattern = {
433
+ "hostPrefix" => "api.",
434
+ }
435
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
436
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
437
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
438
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
439
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
440
+ end)
441
+
442
+ api.add_operation(:publish_metrics, Seahorse::Model::Operation.new.tap do |o|
443
+ o.name = "PublishMetrics"
444
+ o.http_method = "POST"
445
+ o.http_request_uri = "/metrics/environments/{EnvironmentName}"
446
+ o.endpoint_pattern = {
447
+ "hostPrefix" => "ops.",
448
+ }
449
+ o.input = Shapes::ShapeRef.new(shape: PublishMetricsInput)
450
+ o.output = Shapes::ShapeRef.new(shape: PublishMetricsOutput)
451
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
452
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
453
+ end)
454
+
455
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
456
+ o.name = "TagResource"
457
+ o.http_method = "POST"
458
+ o.http_request_uri = "/tags/{ResourceArn}"
459
+ o.endpoint_pattern = {
460
+ "hostPrefix" => "api.",
461
+ }
462
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
463
+ o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
464
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
465
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
466
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
467
+ end)
468
+
469
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
470
+ o.name = "UntagResource"
471
+ o.http_method = "DELETE"
472
+ o.http_request_uri = "/tags/{ResourceArn}"
473
+ o.endpoint_pattern = {
474
+ "hostPrefix" => "api.",
475
+ }
476
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
477
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
478
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
479
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
480
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
481
+ end)
482
+
483
+ api.add_operation(:update_environment, Seahorse::Model::Operation.new.tap do |o|
484
+ o.name = "UpdateEnvironment"
485
+ o.http_method = "PATCH"
486
+ o.http_request_uri = "/environments/{Name}"
487
+ o.endpoint_pattern = {
488
+ "hostPrefix" => "api.",
489
+ }
490
+ o.input = Shapes::ShapeRef.new(shape: UpdateEnvironmentInput)
491
+ o.output = Shapes::ShapeRef.new(shape: UpdateEnvironmentOutput)
492
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
493
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
494
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
495
+ end)
496
+ end
497
+
498
+ end
499
+ end