aws-sdk-cloudwatchlogs 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,789 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudWatchLogs
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ AccessPolicy = Shapes::StringShape.new(name: 'AccessPolicy')
16
+ Arn = Shapes::StringShape.new(name: 'Arn')
17
+ CancelExportTaskRequest = Shapes::StructureShape.new(name: 'CancelExportTaskRequest')
18
+ CreateExportTaskRequest = Shapes::StructureShape.new(name: 'CreateExportTaskRequest')
19
+ CreateExportTaskResponse = Shapes::StructureShape.new(name: 'CreateExportTaskResponse')
20
+ CreateLogGroupRequest = Shapes::StructureShape.new(name: 'CreateLogGroupRequest')
21
+ CreateLogStreamRequest = Shapes::StructureShape.new(name: 'CreateLogStreamRequest')
22
+ DataAlreadyAcceptedException = Shapes::StructureShape.new(name: 'DataAlreadyAcceptedException')
23
+ Days = Shapes::IntegerShape.new(name: 'Days')
24
+ DefaultValue = Shapes::FloatShape.new(name: 'DefaultValue')
25
+ DeleteDestinationRequest = Shapes::StructureShape.new(name: 'DeleteDestinationRequest')
26
+ DeleteLogGroupRequest = Shapes::StructureShape.new(name: 'DeleteLogGroupRequest')
27
+ DeleteLogStreamRequest = Shapes::StructureShape.new(name: 'DeleteLogStreamRequest')
28
+ DeleteMetricFilterRequest = Shapes::StructureShape.new(name: 'DeleteMetricFilterRequest')
29
+ DeleteRetentionPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRetentionPolicyRequest')
30
+ DeleteSubscriptionFilterRequest = Shapes::StructureShape.new(name: 'DeleteSubscriptionFilterRequest')
31
+ Descending = Shapes::BooleanShape.new(name: 'Descending')
32
+ DescribeDestinationsRequest = Shapes::StructureShape.new(name: 'DescribeDestinationsRequest')
33
+ DescribeDestinationsResponse = Shapes::StructureShape.new(name: 'DescribeDestinationsResponse')
34
+ DescribeExportTasksRequest = Shapes::StructureShape.new(name: 'DescribeExportTasksRequest')
35
+ DescribeExportTasksResponse = Shapes::StructureShape.new(name: 'DescribeExportTasksResponse')
36
+ DescribeLimit = Shapes::IntegerShape.new(name: 'DescribeLimit')
37
+ DescribeLogGroupsRequest = Shapes::StructureShape.new(name: 'DescribeLogGroupsRequest')
38
+ DescribeLogGroupsResponse = Shapes::StructureShape.new(name: 'DescribeLogGroupsResponse')
39
+ DescribeLogStreamsRequest = Shapes::StructureShape.new(name: 'DescribeLogStreamsRequest')
40
+ DescribeLogStreamsResponse = Shapes::StructureShape.new(name: 'DescribeLogStreamsResponse')
41
+ DescribeMetricFiltersRequest = Shapes::StructureShape.new(name: 'DescribeMetricFiltersRequest')
42
+ DescribeMetricFiltersResponse = Shapes::StructureShape.new(name: 'DescribeMetricFiltersResponse')
43
+ DescribeSubscriptionFiltersRequest = Shapes::StructureShape.new(name: 'DescribeSubscriptionFiltersRequest')
44
+ DescribeSubscriptionFiltersResponse = Shapes::StructureShape.new(name: 'DescribeSubscriptionFiltersResponse')
45
+ Destination = Shapes::StructureShape.new(name: 'Destination')
46
+ DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
47
+ DestinationName = Shapes::StringShape.new(name: 'DestinationName')
48
+ Destinations = Shapes::ListShape.new(name: 'Destinations')
49
+ EventId = Shapes::StringShape.new(name: 'EventId')
50
+ EventMessage = Shapes::StringShape.new(name: 'EventMessage')
51
+ EventNumber = Shapes::IntegerShape.new(name: 'EventNumber')
52
+ EventsLimit = Shapes::IntegerShape.new(name: 'EventsLimit')
53
+ ExportDestinationBucket = Shapes::StringShape.new(name: 'ExportDestinationBucket')
54
+ ExportDestinationPrefix = Shapes::StringShape.new(name: 'ExportDestinationPrefix')
55
+ ExportTask = Shapes::StructureShape.new(name: 'ExportTask')
56
+ ExportTaskExecutionInfo = Shapes::StructureShape.new(name: 'ExportTaskExecutionInfo')
57
+ ExportTaskId = Shapes::StringShape.new(name: 'ExportTaskId')
58
+ ExportTaskName = Shapes::StringShape.new(name: 'ExportTaskName')
59
+ ExportTaskStatus = Shapes::StructureShape.new(name: 'ExportTaskStatus')
60
+ ExportTaskStatusCode = Shapes::StringShape.new(name: 'ExportTaskStatusCode')
61
+ ExportTaskStatusMessage = Shapes::StringShape.new(name: 'ExportTaskStatusMessage')
62
+ ExportTasks = Shapes::ListShape.new(name: 'ExportTasks')
63
+ ExtractedValues = Shapes::MapShape.new(name: 'ExtractedValues')
64
+ FilterCount = Shapes::IntegerShape.new(name: 'FilterCount')
65
+ FilterLogEventsRequest = Shapes::StructureShape.new(name: 'FilterLogEventsRequest')
66
+ FilterLogEventsResponse = Shapes::StructureShape.new(name: 'FilterLogEventsResponse')
67
+ FilterName = Shapes::StringShape.new(name: 'FilterName')
68
+ FilterPattern = Shapes::StringShape.new(name: 'FilterPattern')
69
+ FilteredLogEvent = Shapes::StructureShape.new(name: 'FilteredLogEvent')
70
+ FilteredLogEvents = Shapes::ListShape.new(name: 'FilteredLogEvents')
71
+ GetLogEventsRequest = Shapes::StructureShape.new(name: 'GetLogEventsRequest')
72
+ GetLogEventsResponse = Shapes::StructureShape.new(name: 'GetLogEventsResponse')
73
+ InputLogEvent = Shapes::StructureShape.new(name: 'InputLogEvent')
74
+ InputLogEvents = Shapes::ListShape.new(name: 'InputLogEvents')
75
+ InputLogStreamNames = Shapes::ListShape.new(name: 'InputLogStreamNames')
76
+ Interleaved = Shapes::BooleanShape.new(name: 'Interleaved')
77
+ InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
78
+ InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
79
+ InvalidSequenceTokenException = Shapes::StructureShape.new(name: 'InvalidSequenceTokenException')
80
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
81
+ LogEventIndex = Shapes::IntegerShape.new(name: 'LogEventIndex')
82
+ LogGroup = Shapes::StructureShape.new(name: 'LogGroup')
83
+ LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
84
+ LogGroups = Shapes::ListShape.new(name: 'LogGroups')
85
+ LogStream = Shapes::StructureShape.new(name: 'LogStream')
86
+ LogStreamName = Shapes::StringShape.new(name: 'LogStreamName')
87
+ LogStreamSearchedCompletely = Shapes::BooleanShape.new(name: 'LogStreamSearchedCompletely')
88
+ LogStreams = Shapes::ListShape.new(name: 'LogStreams')
89
+ MetricFilter = Shapes::StructureShape.new(name: 'MetricFilter')
90
+ MetricFilterMatchRecord = Shapes::StructureShape.new(name: 'MetricFilterMatchRecord')
91
+ MetricFilterMatches = Shapes::ListShape.new(name: 'MetricFilterMatches')
92
+ MetricFilters = Shapes::ListShape.new(name: 'MetricFilters')
93
+ MetricName = Shapes::StringShape.new(name: 'MetricName')
94
+ MetricNamespace = Shapes::StringShape.new(name: 'MetricNamespace')
95
+ MetricTransformation = Shapes::StructureShape.new(name: 'MetricTransformation')
96
+ MetricTransformations = Shapes::ListShape.new(name: 'MetricTransformations')
97
+ MetricValue = Shapes::StringShape.new(name: 'MetricValue')
98
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
99
+ OperationAbortedException = Shapes::StructureShape.new(name: 'OperationAbortedException')
100
+ OrderBy = Shapes::StringShape.new(name: 'OrderBy')
101
+ OutputLogEvent = Shapes::StructureShape.new(name: 'OutputLogEvent')
102
+ OutputLogEvents = Shapes::ListShape.new(name: 'OutputLogEvents')
103
+ PutDestinationPolicyRequest = Shapes::StructureShape.new(name: 'PutDestinationPolicyRequest')
104
+ PutDestinationRequest = Shapes::StructureShape.new(name: 'PutDestinationRequest')
105
+ PutDestinationResponse = Shapes::StructureShape.new(name: 'PutDestinationResponse')
106
+ PutLogEventsRequest = Shapes::StructureShape.new(name: 'PutLogEventsRequest')
107
+ PutLogEventsResponse = Shapes::StructureShape.new(name: 'PutLogEventsResponse')
108
+ PutMetricFilterRequest = Shapes::StructureShape.new(name: 'PutMetricFilterRequest')
109
+ PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
110
+ PutSubscriptionFilterRequest = Shapes::StructureShape.new(name: 'PutSubscriptionFilterRequest')
111
+ RejectedLogEventsInfo = Shapes::StructureShape.new(name: 'RejectedLogEventsInfo')
112
+ ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
113
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
114
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
115
+ SearchedLogStream = Shapes::StructureShape.new(name: 'SearchedLogStream')
116
+ SearchedLogStreams = Shapes::ListShape.new(name: 'SearchedLogStreams')
117
+ SequenceToken = Shapes::StringShape.new(name: 'SequenceToken')
118
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
119
+ StartFromHead = Shapes::BooleanShape.new(name: 'StartFromHead')
120
+ StoredBytes = Shapes::IntegerShape.new(name: 'StoredBytes')
121
+ SubscriptionFilter = Shapes::StructureShape.new(name: 'SubscriptionFilter')
122
+ SubscriptionFilters = Shapes::ListShape.new(name: 'SubscriptionFilters')
123
+ TargetArn = Shapes::StringShape.new(name: 'TargetArn')
124
+ TestEventMessages = Shapes::ListShape.new(name: 'TestEventMessages')
125
+ TestMetricFilterRequest = Shapes::StructureShape.new(name: 'TestMetricFilterRequest')
126
+ TestMetricFilterResponse = Shapes::StructureShape.new(name: 'TestMetricFilterResponse')
127
+ Timestamp = Shapes::IntegerShape.new(name: 'Timestamp')
128
+ Token = Shapes::StringShape.new(name: 'Token')
129
+ Value = Shapes::StringShape.new(name: 'Value')
130
+
131
+ CancelExportTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: ExportTaskId, required: true, location_name: "taskId"))
132
+ CancelExportTaskRequest.struct_class = Types::CancelExportTaskRequest
133
+
134
+ CreateExportTaskRequest.add_member(:task_name, Shapes::ShapeRef.new(shape: ExportTaskName, location_name: "taskName"))
135
+ CreateExportTaskRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
136
+ CreateExportTaskRequest.add_member(:log_stream_name_prefix, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamNamePrefix"))
137
+ CreateExportTaskRequest.add_member(:from, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "from"))
138
+ CreateExportTaskRequest.add_member(:to, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "to"))
139
+ CreateExportTaskRequest.add_member(:destination, Shapes::ShapeRef.new(shape: ExportDestinationBucket, required: true, location_name: "destination"))
140
+ CreateExportTaskRequest.add_member(:destination_prefix, Shapes::ShapeRef.new(shape: ExportDestinationPrefix, location_name: "destinationPrefix"))
141
+ CreateExportTaskRequest.struct_class = Types::CreateExportTaskRequest
142
+
143
+ CreateExportTaskResponse.add_member(:task_id, Shapes::ShapeRef.new(shape: ExportTaskId, location_name: "taskId"))
144
+ CreateExportTaskResponse.struct_class = Types::CreateExportTaskResponse
145
+
146
+ CreateLogGroupRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
147
+ CreateLogGroupRequest.struct_class = Types::CreateLogGroupRequest
148
+
149
+ CreateLogStreamRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
150
+ CreateLogStreamRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
151
+ CreateLogStreamRequest.struct_class = Types::CreateLogStreamRequest
152
+
153
+ DeleteDestinationRequest.add_member(:destination_name, Shapes::ShapeRef.new(shape: DestinationName, required: true, location_name: "destinationName"))
154
+ DeleteDestinationRequest.struct_class = Types::DeleteDestinationRequest
155
+
156
+ DeleteLogGroupRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
157
+ DeleteLogGroupRequest.struct_class = Types::DeleteLogGroupRequest
158
+
159
+ DeleteLogStreamRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
160
+ DeleteLogStreamRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
161
+ DeleteLogStreamRequest.struct_class = Types::DeleteLogStreamRequest
162
+
163
+ DeleteMetricFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
164
+ DeleteMetricFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
165
+ DeleteMetricFilterRequest.struct_class = Types::DeleteMetricFilterRequest
166
+
167
+ DeleteRetentionPolicyRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
168
+ DeleteRetentionPolicyRequest.struct_class = Types::DeleteRetentionPolicyRequest
169
+
170
+ DeleteSubscriptionFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
171
+ DeleteSubscriptionFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
172
+ DeleteSubscriptionFilterRequest.struct_class = Types::DeleteSubscriptionFilterRequest
173
+
174
+ DescribeDestinationsRequest.add_member(:destination_name_prefix, Shapes::ShapeRef.new(shape: DestinationName, location_name: "DestinationNamePrefix"))
175
+ DescribeDestinationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
176
+ DescribeDestinationsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
177
+ DescribeDestinationsRequest.struct_class = Types::DescribeDestinationsRequest
178
+
179
+ DescribeDestinationsResponse.add_member(:destinations, Shapes::ShapeRef.new(shape: Destinations, location_name: "destinations"))
180
+ DescribeDestinationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
181
+ DescribeDestinationsResponse.struct_class = Types::DescribeDestinationsResponse
182
+
183
+ DescribeExportTasksRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: ExportTaskId, location_name: "taskId"))
184
+ DescribeExportTasksRequest.add_member(:status_code, Shapes::ShapeRef.new(shape: ExportTaskStatusCode, location_name: "statusCode"))
185
+ DescribeExportTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
186
+ DescribeExportTasksRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
187
+ DescribeExportTasksRequest.struct_class = Types::DescribeExportTasksRequest
188
+
189
+ DescribeExportTasksResponse.add_member(:export_tasks, Shapes::ShapeRef.new(shape: ExportTasks, location_name: "exportTasks"))
190
+ DescribeExportTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
191
+ DescribeExportTasksResponse.struct_class = Types::DescribeExportTasksResponse
192
+
193
+ DescribeLogGroupsRequest.add_member(:log_group_name_prefix, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupNamePrefix"))
194
+ DescribeLogGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
195
+ DescribeLogGroupsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
196
+ DescribeLogGroupsRequest.struct_class = Types::DescribeLogGroupsRequest
197
+
198
+ DescribeLogGroupsResponse.add_member(:log_groups, Shapes::ShapeRef.new(shape: LogGroups, location_name: "logGroups"))
199
+ DescribeLogGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
200
+ DescribeLogGroupsResponse.struct_class = Types::DescribeLogGroupsResponse
201
+
202
+ DescribeLogStreamsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
203
+ DescribeLogStreamsRequest.add_member(:log_stream_name_prefix, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamNamePrefix"))
204
+ DescribeLogStreamsRequest.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
205
+ DescribeLogStreamsRequest.add_member(:descending, Shapes::ShapeRef.new(shape: Descending, location_name: "descending"))
206
+ DescribeLogStreamsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
207
+ DescribeLogStreamsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
208
+ DescribeLogStreamsRequest.struct_class = Types::DescribeLogStreamsRequest
209
+
210
+ DescribeLogStreamsResponse.add_member(:log_streams, Shapes::ShapeRef.new(shape: LogStreams, location_name: "logStreams"))
211
+ DescribeLogStreamsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
212
+ DescribeLogStreamsResponse.struct_class = Types::DescribeLogStreamsResponse
213
+
214
+ DescribeMetricFiltersRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
215
+ DescribeMetricFiltersRequest.add_member(:filter_name_prefix, Shapes::ShapeRef.new(shape: FilterName, location_name: "filterNamePrefix"))
216
+ DescribeMetricFiltersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
217
+ DescribeMetricFiltersRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
218
+ DescribeMetricFiltersRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "metricName"))
219
+ DescribeMetricFiltersRequest.add_member(:metric_namespace, Shapes::ShapeRef.new(shape: MetricNamespace, location_name: "metricNamespace"))
220
+ DescribeMetricFiltersRequest.struct_class = Types::DescribeMetricFiltersRequest
221
+
222
+ DescribeMetricFiltersResponse.add_member(:metric_filters, Shapes::ShapeRef.new(shape: MetricFilters, location_name: "metricFilters"))
223
+ DescribeMetricFiltersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
224
+ DescribeMetricFiltersResponse.struct_class = Types::DescribeMetricFiltersResponse
225
+
226
+ DescribeSubscriptionFiltersRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
227
+ DescribeSubscriptionFiltersRequest.add_member(:filter_name_prefix, Shapes::ShapeRef.new(shape: FilterName, location_name: "filterNamePrefix"))
228
+ DescribeSubscriptionFiltersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
229
+ DescribeSubscriptionFiltersRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
230
+ DescribeSubscriptionFiltersRequest.struct_class = Types::DescribeSubscriptionFiltersRequest
231
+
232
+ DescribeSubscriptionFiltersResponse.add_member(:subscription_filters, Shapes::ShapeRef.new(shape: SubscriptionFilters, location_name: "subscriptionFilters"))
233
+ DescribeSubscriptionFiltersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
234
+ DescribeSubscriptionFiltersResponse.struct_class = Types::DescribeSubscriptionFiltersResponse
235
+
236
+ Destination.add_member(:destination_name, Shapes::ShapeRef.new(shape: DestinationName, location_name: "destinationName"))
237
+ Destination.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "targetArn"))
238
+ Destination.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
239
+ Destination.add_member(:access_policy, Shapes::ShapeRef.new(shape: AccessPolicy, location_name: "accessPolicy"))
240
+ Destination.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
241
+ Destination.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
242
+ Destination.struct_class = Types::Destination
243
+
244
+ Destinations.member = Shapes::ShapeRef.new(shape: Destination)
245
+
246
+ ExportTask.add_member(:task_id, Shapes::ShapeRef.new(shape: ExportTaskId, location_name: "taskId"))
247
+ ExportTask.add_member(:task_name, Shapes::ShapeRef.new(shape: ExportTaskName, location_name: "taskName"))
248
+ ExportTask.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
249
+ ExportTask.add_member(:from, Shapes::ShapeRef.new(shape: Timestamp, location_name: "from"))
250
+ ExportTask.add_member(:to, Shapes::ShapeRef.new(shape: Timestamp, location_name: "to"))
251
+ ExportTask.add_member(:destination, Shapes::ShapeRef.new(shape: ExportDestinationBucket, location_name: "destination"))
252
+ ExportTask.add_member(:destination_prefix, Shapes::ShapeRef.new(shape: ExportDestinationPrefix, location_name: "destinationPrefix"))
253
+ ExportTask.add_member(:status, Shapes::ShapeRef.new(shape: ExportTaskStatus, location_name: "status"))
254
+ ExportTask.add_member(:execution_info, Shapes::ShapeRef.new(shape: ExportTaskExecutionInfo, location_name: "executionInfo"))
255
+ ExportTask.struct_class = Types::ExportTask
256
+
257
+ ExportTaskExecutionInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
258
+ ExportTaskExecutionInfo.add_member(:completion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completionTime"))
259
+ ExportTaskExecutionInfo.struct_class = Types::ExportTaskExecutionInfo
260
+
261
+ ExportTaskStatus.add_member(:code, Shapes::ShapeRef.new(shape: ExportTaskStatusCode, location_name: "code"))
262
+ ExportTaskStatus.add_member(:message, Shapes::ShapeRef.new(shape: ExportTaskStatusMessage, location_name: "message"))
263
+ ExportTaskStatus.struct_class = Types::ExportTaskStatus
264
+
265
+ ExportTasks.member = Shapes::ShapeRef.new(shape: ExportTask)
266
+
267
+ ExtractedValues.key = Shapes::ShapeRef.new(shape: Token)
268
+ ExtractedValues.value = Shapes::ShapeRef.new(shape: Value)
269
+
270
+ FilterLogEventsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
271
+ FilterLogEventsRequest.add_member(:log_stream_names, Shapes::ShapeRef.new(shape: InputLogStreamNames, location_name: "logStreamNames"))
272
+ FilterLogEventsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
273
+ FilterLogEventsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
274
+ FilterLogEventsRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
275
+ FilterLogEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
276
+ FilterLogEventsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: EventsLimit, location_name: "limit"))
277
+ FilterLogEventsRequest.add_member(:interleaved, Shapes::ShapeRef.new(shape: Interleaved, location_name: "interleaved"))
278
+ FilterLogEventsRequest.struct_class = Types::FilterLogEventsRequest
279
+
280
+ FilterLogEventsResponse.add_member(:events, Shapes::ShapeRef.new(shape: FilteredLogEvents, location_name: "events"))
281
+ FilterLogEventsResponse.add_member(:searched_log_streams, Shapes::ShapeRef.new(shape: SearchedLogStreams, location_name: "searchedLogStreams"))
282
+ FilterLogEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
283
+ FilterLogEventsResponse.struct_class = Types::FilterLogEventsResponse
284
+
285
+ FilteredLogEvent.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamName"))
286
+ FilteredLogEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
287
+ FilteredLogEvent.add_member(:message, Shapes::ShapeRef.new(shape: EventMessage, location_name: "message"))
288
+ FilteredLogEvent.add_member(:ingestion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ingestionTime"))
289
+ FilteredLogEvent.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "eventId"))
290
+ FilteredLogEvent.struct_class = Types::FilteredLogEvent
291
+
292
+ FilteredLogEvents.member = Shapes::ShapeRef.new(shape: FilteredLogEvent)
293
+
294
+ GetLogEventsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
295
+ GetLogEventsRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
296
+ GetLogEventsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
297
+ GetLogEventsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
298
+ GetLogEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
299
+ GetLogEventsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: EventsLimit, location_name: "limit"))
300
+ GetLogEventsRequest.add_member(:start_from_head, Shapes::ShapeRef.new(shape: StartFromHead, location_name: "startFromHead"))
301
+ GetLogEventsRequest.struct_class = Types::GetLogEventsRequest
302
+
303
+ GetLogEventsResponse.add_member(:events, Shapes::ShapeRef.new(shape: OutputLogEvents, location_name: "events"))
304
+ GetLogEventsResponse.add_member(:next_forward_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextForwardToken"))
305
+ GetLogEventsResponse.add_member(:next_backward_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextBackwardToken"))
306
+ GetLogEventsResponse.struct_class = Types::GetLogEventsResponse
307
+
308
+ InputLogEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
309
+ InputLogEvent.add_member(:message, Shapes::ShapeRef.new(shape: EventMessage, required: true, location_name: "message"))
310
+ InputLogEvent.struct_class = Types::InputLogEvent
311
+
312
+ InputLogEvents.member = Shapes::ShapeRef.new(shape: InputLogEvent)
313
+
314
+ InputLogStreamNames.member = Shapes::ShapeRef.new(shape: LogStreamName)
315
+
316
+ LogGroup.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
317
+ LogGroup.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
318
+ LogGroup.add_member(:retention_in_days, Shapes::ShapeRef.new(shape: Days, location_name: "retentionInDays"))
319
+ LogGroup.add_member(:metric_filter_count, Shapes::ShapeRef.new(shape: FilterCount, location_name: "metricFilterCount"))
320
+ LogGroup.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
321
+ LogGroup.add_member(:stored_bytes, Shapes::ShapeRef.new(shape: StoredBytes, location_name: "storedBytes"))
322
+ LogGroup.struct_class = Types::LogGroup
323
+
324
+ LogGroups.member = Shapes::ShapeRef.new(shape: LogGroup)
325
+
326
+ LogStream.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamName"))
327
+ LogStream.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
328
+ LogStream.add_member(:first_event_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "firstEventTimestamp"))
329
+ LogStream.add_member(:last_event_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastEventTimestamp"))
330
+ LogStream.add_member(:last_ingestion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastIngestionTime"))
331
+ LogStream.add_member(:upload_sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "uploadSequenceToken"))
332
+ LogStream.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
333
+ LogStream.add_member(:stored_bytes, Shapes::ShapeRef.new(shape: StoredBytes, location_name: "storedBytes"))
334
+ LogStream.struct_class = Types::LogStream
335
+
336
+ LogStreams.member = Shapes::ShapeRef.new(shape: LogStream)
337
+
338
+ MetricFilter.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, location_name: "filterName"))
339
+ MetricFilter.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
340
+ MetricFilter.add_member(:metric_transformations, Shapes::ShapeRef.new(shape: MetricTransformations, location_name: "metricTransformations"))
341
+ MetricFilter.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
342
+ MetricFilter.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
343
+ MetricFilter.struct_class = Types::MetricFilter
344
+
345
+ MetricFilterMatchRecord.add_member(:event_number, Shapes::ShapeRef.new(shape: EventNumber, location_name: "eventNumber"))
346
+ MetricFilterMatchRecord.add_member(:event_message, Shapes::ShapeRef.new(shape: EventMessage, location_name: "eventMessage"))
347
+ MetricFilterMatchRecord.add_member(:extracted_values, Shapes::ShapeRef.new(shape: ExtractedValues, location_name: "extractedValues"))
348
+ MetricFilterMatchRecord.struct_class = Types::MetricFilterMatchRecord
349
+
350
+ MetricFilterMatches.member = Shapes::ShapeRef.new(shape: MetricFilterMatchRecord)
351
+
352
+ MetricFilters.member = Shapes::ShapeRef.new(shape: MetricFilter)
353
+
354
+ MetricTransformation.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "metricName"))
355
+ MetricTransformation.add_member(:metric_namespace, Shapes::ShapeRef.new(shape: MetricNamespace, required: true, location_name: "metricNamespace"))
356
+ MetricTransformation.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, required: true, location_name: "metricValue"))
357
+ MetricTransformation.add_member(:default_value, Shapes::ShapeRef.new(shape: DefaultValue, location_name: "defaultValue"))
358
+ MetricTransformation.struct_class = Types::MetricTransformation
359
+
360
+ MetricTransformations.member = Shapes::ShapeRef.new(shape: MetricTransformation)
361
+
362
+ OutputLogEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
363
+ OutputLogEvent.add_member(:message, Shapes::ShapeRef.new(shape: EventMessage, location_name: "message"))
364
+ OutputLogEvent.add_member(:ingestion_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ingestionTime"))
365
+ OutputLogEvent.struct_class = Types::OutputLogEvent
366
+
367
+ OutputLogEvents.member = Shapes::ShapeRef.new(shape: OutputLogEvent)
368
+
369
+ PutDestinationPolicyRequest.add_member(:destination_name, Shapes::ShapeRef.new(shape: DestinationName, required: true, location_name: "destinationName"))
370
+ PutDestinationPolicyRequest.add_member(:access_policy, Shapes::ShapeRef.new(shape: AccessPolicy, required: true, location_name: "accessPolicy"))
371
+ PutDestinationPolicyRequest.struct_class = Types::PutDestinationPolicyRequest
372
+
373
+ PutDestinationRequest.add_member(:destination_name, Shapes::ShapeRef.new(shape: DestinationName, required: true, location_name: "destinationName"))
374
+ PutDestinationRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "targetArn"))
375
+ PutDestinationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
376
+ PutDestinationRequest.struct_class = Types::PutDestinationRequest
377
+
378
+ PutDestinationResponse.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, location_name: "destination"))
379
+ PutDestinationResponse.struct_class = Types::PutDestinationResponse
380
+
381
+ PutLogEventsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
382
+ PutLogEventsRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
383
+ PutLogEventsRequest.add_member(:log_events, Shapes::ShapeRef.new(shape: InputLogEvents, required: true, location_name: "logEvents"))
384
+ PutLogEventsRequest.add_member(:sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "sequenceToken"))
385
+ PutLogEventsRequest.struct_class = Types::PutLogEventsRequest
386
+
387
+ PutLogEventsResponse.add_member(:next_sequence_token, Shapes::ShapeRef.new(shape: SequenceToken, location_name: "nextSequenceToken"))
388
+ PutLogEventsResponse.add_member(:rejected_log_events_info, Shapes::ShapeRef.new(shape: RejectedLogEventsInfo, location_name: "rejectedLogEventsInfo"))
389
+ PutLogEventsResponse.struct_class = Types::PutLogEventsResponse
390
+
391
+ PutMetricFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
392
+ PutMetricFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
393
+ PutMetricFilterRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, required: true, location_name: "filterPattern"))
394
+ PutMetricFilterRequest.add_member(:metric_transformations, Shapes::ShapeRef.new(shape: MetricTransformations, required: true, location_name: "metricTransformations"))
395
+ PutMetricFilterRequest.struct_class = Types::PutMetricFilterRequest
396
+
397
+ PutRetentionPolicyRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
398
+ PutRetentionPolicyRequest.add_member(:retention_in_days, Shapes::ShapeRef.new(shape: Days, required: true, location_name: "retentionInDays"))
399
+ PutRetentionPolicyRequest.struct_class = Types::PutRetentionPolicyRequest
400
+
401
+ PutSubscriptionFilterRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
402
+ PutSubscriptionFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
403
+ PutSubscriptionFilterRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, required: true, location_name: "filterPattern"))
404
+ PutSubscriptionFilterRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, required: true, location_name: "destinationArn"))
405
+ PutSubscriptionFilterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
406
+ PutSubscriptionFilterRequest.struct_class = Types::PutSubscriptionFilterRequest
407
+
408
+ RejectedLogEventsInfo.add_member(:too_new_log_event_start_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "tooNewLogEventStartIndex"))
409
+ RejectedLogEventsInfo.add_member(:too_old_log_event_end_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "tooOldLogEventEndIndex"))
410
+ RejectedLogEventsInfo.add_member(:expired_log_event_end_index, Shapes::ShapeRef.new(shape: LogEventIndex, location_name: "expiredLogEventEndIndex"))
411
+ RejectedLogEventsInfo.struct_class = Types::RejectedLogEventsInfo
412
+
413
+ SearchedLogStream.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamName"))
414
+ SearchedLogStream.add_member(:searched_completely, Shapes::ShapeRef.new(shape: LogStreamSearchedCompletely, location_name: "searchedCompletely"))
415
+ SearchedLogStream.struct_class = Types::SearchedLogStream
416
+
417
+ SearchedLogStreams.member = Shapes::ShapeRef.new(shape: SearchedLogStream)
418
+
419
+ SubscriptionFilter.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, location_name: "filterName"))
420
+ SubscriptionFilter.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
421
+ SubscriptionFilter.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, location_name: "filterPattern"))
422
+ SubscriptionFilter.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArn, location_name: "destinationArn"))
423
+ SubscriptionFilter.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
424
+ SubscriptionFilter.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
425
+ SubscriptionFilter.struct_class = Types::SubscriptionFilter
426
+
427
+ SubscriptionFilters.member = Shapes::ShapeRef.new(shape: SubscriptionFilter)
428
+
429
+ TestEventMessages.member = Shapes::ShapeRef.new(shape: EventMessage)
430
+
431
+ TestMetricFilterRequest.add_member(:filter_pattern, Shapes::ShapeRef.new(shape: FilterPattern, required: true, location_name: "filterPattern"))
432
+ TestMetricFilterRequest.add_member(:log_event_messages, Shapes::ShapeRef.new(shape: TestEventMessages, required: true, location_name: "logEventMessages"))
433
+ TestMetricFilterRequest.struct_class = Types::TestMetricFilterRequest
434
+
435
+ TestMetricFilterResponse.add_member(:matches, Shapes::ShapeRef.new(shape: MetricFilterMatches, location_name: "matches"))
436
+ TestMetricFilterResponse.struct_class = Types::TestMetricFilterResponse
437
+
438
+
439
+ # @api private
440
+ API = Seahorse::Model::Api.new.tap do |api|
441
+
442
+ api.version = "2014-03-28"
443
+
444
+ api.metadata = {
445
+ "endpointPrefix" => "logs",
446
+ "jsonVersion" => "1.1",
447
+ "protocol" => "json",
448
+ "serviceFullName" => "Amazon CloudWatch Logs",
449
+ "signatureVersion" => "v4",
450
+ "targetPrefix" => "Logs_20140328",
451
+ }
452
+
453
+ api.add_operation(:cancel_export_task, Seahorse::Model::Operation.new.tap do |o|
454
+ o.name = "CancelExportTask"
455
+ o.http_method = "POST"
456
+ o.http_request_uri = "/"
457
+ o.input = Shapes::ShapeRef.new(shape: CancelExportTaskRequest)
458
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
459
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
460
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
461
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
462
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
463
+ end)
464
+
465
+ api.add_operation(:create_export_task, Seahorse::Model::Operation.new.tap do |o|
466
+ o.name = "CreateExportTask"
467
+ o.http_method = "POST"
468
+ o.http_request_uri = "/"
469
+ o.input = Shapes::ShapeRef.new(shape: CreateExportTaskRequest)
470
+ o.output = Shapes::ShapeRef.new(shape: CreateExportTaskResponse)
471
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
472
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
473
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
474
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
475
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
476
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
477
+ end)
478
+
479
+ api.add_operation(:create_log_group, Seahorse::Model::Operation.new.tap do |o|
480
+ o.name = "CreateLogGroup"
481
+ o.http_method = "POST"
482
+ o.http_request_uri = "/"
483
+ o.input = Shapes::ShapeRef.new(shape: CreateLogGroupRequest)
484
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
485
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
486
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
487
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
488
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
489
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
490
+ end)
491
+
492
+ api.add_operation(:create_log_stream, Seahorse::Model::Operation.new.tap do |o|
493
+ o.name = "CreateLogStream"
494
+ o.http_method = "POST"
495
+ o.http_request_uri = "/"
496
+ o.input = Shapes::ShapeRef.new(shape: CreateLogStreamRequest)
497
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
498
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
499
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
500
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
501
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
502
+ end)
503
+
504
+ api.add_operation(:delete_destination, Seahorse::Model::Operation.new.tap do |o|
505
+ o.name = "DeleteDestination"
506
+ o.http_method = "POST"
507
+ o.http_request_uri = "/"
508
+ o.input = Shapes::ShapeRef.new(shape: DeleteDestinationRequest)
509
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
510
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
511
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
512
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
513
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
514
+ end)
515
+
516
+ api.add_operation(:delete_log_group, Seahorse::Model::Operation.new.tap do |o|
517
+ o.name = "DeleteLogGroup"
518
+ o.http_method = "POST"
519
+ o.http_request_uri = "/"
520
+ o.input = Shapes::ShapeRef.new(shape: DeleteLogGroupRequest)
521
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
522
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
523
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
524
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
525
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
526
+ end)
527
+
528
+ api.add_operation(:delete_log_stream, Seahorse::Model::Operation.new.tap do |o|
529
+ o.name = "DeleteLogStream"
530
+ o.http_method = "POST"
531
+ o.http_request_uri = "/"
532
+ o.input = Shapes::ShapeRef.new(shape: DeleteLogStreamRequest)
533
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
534
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
535
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
536
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
537
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
538
+ end)
539
+
540
+ api.add_operation(:delete_metric_filter, Seahorse::Model::Operation.new.tap do |o|
541
+ o.name = "DeleteMetricFilter"
542
+ o.http_method = "POST"
543
+ o.http_request_uri = "/"
544
+ o.input = Shapes::ShapeRef.new(shape: DeleteMetricFilterRequest)
545
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
546
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
547
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
548
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
549
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
550
+ end)
551
+
552
+ api.add_operation(:delete_retention_policy, Seahorse::Model::Operation.new.tap do |o|
553
+ o.name = "DeleteRetentionPolicy"
554
+ o.http_method = "POST"
555
+ o.http_request_uri = "/"
556
+ o.input = Shapes::ShapeRef.new(shape: DeleteRetentionPolicyRequest)
557
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
558
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
559
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
560
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
561
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
562
+ end)
563
+
564
+ api.add_operation(:delete_subscription_filter, Seahorse::Model::Operation.new.tap do |o|
565
+ o.name = "DeleteSubscriptionFilter"
566
+ o.http_method = "POST"
567
+ o.http_request_uri = "/"
568
+ o.input = Shapes::ShapeRef.new(shape: DeleteSubscriptionFilterRequest)
569
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
570
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
571
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
572
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
573
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
574
+ end)
575
+
576
+ api.add_operation(:describe_destinations, Seahorse::Model::Operation.new.tap do |o|
577
+ o.name = "DescribeDestinations"
578
+ o.http_method = "POST"
579
+ o.http_request_uri = "/"
580
+ o.input = Shapes::ShapeRef.new(shape: DescribeDestinationsRequest)
581
+ o.output = Shapes::ShapeRef.new(shape: DescribeDestinationsResponse)
582
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
583
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
584
+ o[:pager] = Aws::Pager.new(
585
+ limit_key: "limit",
586
+ tokens: {
587
+ "next_token" => "next_token"
588
+ }
589
+ )
590
+ end)
591
+
592
+ api.add_operation(:describe_export_tasks, Seahorse::Model::Operation.new.tap do |o|
593
+ o.name = "DescribeExportTasks"
594
+ o.http_method = "POST"
595
+ o.http_request_uri = "/"
596
+ o.input = Shapes::ShapeRef.new(shape: DescribeExportTasksRequest)
597
+ o.output = Shapes::ShapeRef.new(shape: DescribeExportTasksResponse)
598
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
599
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
600
+ end)
601
+
602
+ api.add_operation(:describe_log_groups, Seahorse::Model::Operation.new.tap do |o|
603
+ o.name = "DescribeLogGroups"
604
+ o.http_method = "POST"
605
+ o.http_request_uri = "/"
606
+ o.input = Shapes::ShapeRef.new(shape: DescribeLogGroupsRequest)
607
+ o.output = Shapes::ShapeRef.new(shape: DescribeLogGroupsResponse)
608
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
610
+ o[:pager] = Aws::Pager.new(
611
+ limit_key: "limit",
612
+ tokens: {
613
+ "next_token" => "next_token"
614
+ }
615
+ )
616
+ end)
617
+
618
+ api.add_operation(:describe_log_streams, Seahorse::Model::Operation.new.tap do |o|
619
+ o.name = "DescribeLogStreams"
620
+ o.http_method = "POST"
621
+ o.http_request_uri = "/"
622
+ o.input = Shapes::ShapeRef.new(shape: DescribeLogStreamsRequest)
623
+ o.output = Shapes::ShapeRef.new(shape: DescribeLogStreamsResponse)
624
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
625
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
626
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
627
+ o[:pager] = Aws::Pager.new(
628
+ limit_key: "limit",
629
+ tokens: {
630
+ "next_token" => "next_token"
631
+ }
632
+ )
633
+ end)
634
+
635
+ api.add_operation(:describe_metric_filters, Seahorse::Model::Operation.new.tap do |o|
636
+ o.name = "DescribeMetricFilters"
637
+ o.http_method = "POST"
638
+ o.http_request_uri = "/"
639
+ o.input = Shapes::ShapeRef.new(shape: DescribeMetricFiltersRequest)
640
+ o.output = Shapes::ShapeRef.new(shape: DescribeMetricFiltersResponse)
641
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
642
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
643
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
644
+ o[:pager] = Aws::Pager.new(
645
+ limit_key: "limit",
646
+ tokens: {
647
+ "next_token" => "next_token"
648
+ }
649
+ )
650
+ end)
651
+
652
+ api.add_operation(:describe_subscription_filters, Seahorse::Model::Operation.new.tap do |o|
653
+ o.name = "DescribeSubscriptionFilters"
654
+ o.http_method = "POST"
655
+ o.http_request_uri = "/"
656
+ o.input = Shapes::ShapeRef.new(shape: DescribeSubscriptionFiltersRequest)
657
+ o.output = Shapes::ShapeRef.new(shape: DescribeSubscriptionFiltersResponse)
658
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
659
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
660
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
661
+ o[:pager] = Aws::Pager.new(
662
+ limit_key: "limit",
663
+ tokens: {
664
+ "next_token" => "next_token"
665
+ }
666
+ )
667
+ end)
668
+
669
+ api.add_operation(:filter_log_events, Seahorse::Model::Operation.new.tap do |o|
670
+ o.name = "FilterLogEvents"
671
+ o.http_method = "POST"
672
+ o.http_request_uri = "/"
673
+ o.input = Shapes::ShapeRef.new(shape: FilterLogEventsRequest)
674
+ o.output = Shapes::ShapeRef.new(shape: FilterLogEventsResponse)
675
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
676
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
677
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
678
+ o[:pager] = Aws::Pager.new(
679
+ limit_key: "limit",
680
+ tokens: {
681
+ "next_token" => "next_token"
682
+ }
683
+ )
684
+ end)
685
+
686
+ api.add_operation(:get_log_events, Seahorse::Model::Operation.new.tap do |o|
687
+ o.name = "GetLogEvents"
688
+ o.http_method = "POST"
689
+ o.http_request_uri = "/"
690
+ o.input = Shapes::ShapeRef.new(shape: GetLogEventsRequest)
691
+ o.output = Shapes::ShapeRef.new(shape: GetLogEventsResponse)
692
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
693
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
694
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
695
+ o[:pager] = Aws::Pager.new(
696
+ limit_key: "limit",
697
+ tokens: {
698
+ "next_forward_token" => "next_token"
699
+ }
700
+ )
701
+ end)
702
+
703
+ api.add_operation(:put_destination, Seahorse::Model::Operation.new.tap do |o|
704
+ o.name = "PutDestination"
705
+ o.http_method = "POST"
706
+ o.http_request_uri = "/"
707
+ o.input = Shapes::ShapeRef.new(shape: PutDestinationRequest)
708
+ o.output = Shapes::ShapeRef.new(shape: PutDestinationResponse)
709
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
710
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
711
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
712
+ end)
713
+
714
+ api.add_operation(:put_destination_policy, Seahorse::Model::Operation.new.tap do |o|
715
+ o.name = "PutDestinationPolicy"
716
+ o.http_method = "POST"
717
+ o.http_request_uri = "/"
718
+ o.input = Shapes::ShapeRef.new(shape: PutDestinationPolicyRequest)
719
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
720
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
721
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
722
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
723
+ end)
724
+
725
+ api.add_operation(:put_log_events, Seahorse::Model::Operation.new.tap do |o|
726
+ o.name = "PutLogEvents"
727
+ o.http_method = "POST"
728
+ o.http_request_uri = "/"
729
+ o.input = Shapes::ShapeRef.new(shape: PutLogEventsRequest)
730
+ o.output = Shapes::ShapeRef.new(shape: PutLogEventsResponse)
731
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
732
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSequenceTokenException)
733
+ o.errors << Shapes::ShapeRef.new(shape: DataAlreadyAcceptedException)
734
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
735
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
736
+ end)
737
+
738
+ api.add_operation(:put_metric_filter, Seahorse::Model::Operation.new.tap do |o|
739
+ o.name = "PutMetricFilter"
740
+ o.http_method = "POST"
741
+ o.http_request_uri = "/"
742
+ o.input = Shapes::ShapeRef.new(shape: PutMetricFilterRequest)
743
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
744
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
745
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
746
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
747
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
748
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
749
+ end)
750
+
751
+ api.add_operation(:put_retention_policy, Seahorse::Model::Operation.new.tap do |o|
752
+ o.name = "PutRetentionPolicy"
753
+ o.http_method = "POST"
754
+ o.http_request_uri = "/"
755
+ o.input = Shapes::ShapeRef.new(shape: PutRetentionPolicyRequest)
756
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
757
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
758
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
759
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
760
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
761
+ end)
762
+
763
+ api.add_operation(:put_subscription_filter, Seahorse::Model::Operation.new.tap do |o|
764
+ o.name = "PutSubscriptionFilter"
765
+ o.http_method = "POST"
766
+ o.http_request_uri = "/"
767
+ o.input = Shapes::ShapeRef.new(shape: PutSubscriptionFilterRequest)
768
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
769
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
770
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
771
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
772
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
773
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
774
+ end)
775
+
776
+ api.add_operation(:test_metric_filter, Seahorse::Model::Operation.new.tap do |o|
777
+ o.name = "TestMetricFilter"
778
+ o.http_method = "POST"
779
+ o.http_request_uri = "/"
780
+ o.input = Shapes::ShapeRef.new(shape: TestMetricFilterRequest)
781
+ o.output = Shapes::ShapeRef.new(shape: TestMetricFilterResponse)
782
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
783
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
784
+ end)
785
+ end
786
+
787
+ end
788
+ end
789
+ end