aws-sdk-cloudwatchlogs 1.0.0.rc1 → 1.0.0.rc2

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