aws-sdk-cloudwatchlogs 1.70.0 → 1.72.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ module Aws::CloudWatchLogs
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
17
  AccessPolicy = Shapes::StringShape.new(name: 'AccessPolicy')
17
18
  AccountId = Shapes::StringShape.new(name: 'AccountId')
18
19
  AccountIds = Shapes::ListShape.new(name: 'AccountIds')
@@ -24,6 +25,9 @@ module Aws::CloudWatchLogs
24
25
  AssociateKmsKeyRequest = Shapes::StructureShape.new(name: 'AssociateKmsKeyRequest')
25
26
  CancelExportTaskRequest = Shapes::StructureShape.new(name: 'CancelExportTaskRequest')
26
27
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
28
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
29
+ CreateDeliveryRequest = Shapes::StructureShape.new(name: 'CreateDeliveryRequest')
30
+ CreateDeliveryResponse = Shapes::StructureShape.new(name: 'CreateDeliveryResponse')
27
31
  CreateExportTaskRequest = Shapes::StructureShape.new(name: 'CreateExportTaskRequest')
28
32
  CreateExportTaskResponse = Shapes::StructureShape.new(name: 'CreateExportTaskResponse')
29
33
  CreateLogGroupRequest = Shapes::StructureShape.new(name: 'CreateLogGroupRequest')
@@ -35,6 +39,10 @@ module Aws::CloudWatchLogs
35
39
  DefaultValue = Shapes::FloatShape.new(name: 'DefaultValue')
36
40
  DeleteAccountPolicyRequest = Shapes::StructureShape.new(name: 'DeleteAccountPolicyRequest')
37
41
  DeleteDataProtectionPolicyRequest = Shapes::StructureShape.new(name: 'DeleteDataProtectionPolicyRequest')
42
+ DeleteDeliveryDestinationPolicyRequest = Shapes::StructureShape.new(name: 'DeleteDeliveryDestinationPolicyRequest')
43
+ DeleteDeliveryDestinationRequest = Shapes::StructureShape.new(name: 'DeleteDeliveryDestinationRequest')
44
+ DeleteDeliveryRequest = Shapes::StructureShape.new(name: 'DeleteDeliveryRequest')
45
+ DeleteDeliverySourceRequest = Shapes::StructureShape.new(name: 'DeleteDeliverySourceRequest')
38
46
  DeleteDestinationRequest = Shapes::StructureShape.new(name: 'DeleteDestinationRequest')
39
47
  DeleteLogGroupRequest = Shapes::StructureShape.new(name: 'DeleteLogGroupRequest')
40
48
  DeleteLogStreamRequest = Shapes::StructureShape.new(name: 'DeleteLogStreamRequest')
@@ -44,9 +52,27 @@ module Aws::CloudWatchLogs
44
52
  DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
45
53
  DeleteRetentionPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRetentionPolicyRequest')
46
54
  DeleteSubscriptionFilterRequest = Shapes::StructureShape.new(name: 'DeleteSubscriptionFilterRequest')
55
+ Deliveries = Shapes::ListShape.new(name: 'Deliveries')
56
+ Delivery = Shapes::StructureShape.new(name: 'Delivery')
57
+ DeliveryDestination = Shapes::StructureShape.new(name: 'DeliveryDestination')
58
+ DeliveryDestinationConfiguration = Shapes::StructureShape.new(name: 'DeliveryDestinationConfiguration')
59
+ DeliveryDestinationName = Shapes::StringShape.new(name: 'DeliveryDestinationName')
60
+ DeliveryDestinationPolicy = Shapes::StringShape.new(name: 'DeliveryDestinationPolicy')
61
+ DeliveryDestinationType = Shapes::StringShape.new(name: 'DeliveryDestinationType')
62
+ DeliveryDestinations = Shapes::ListShape.new(name: 'DeliveryDestinations')
63
+ DeliveryId = Shapes::StringShape.new(name: 'DeliveryId')
64
+ DeliverySource = Shapes::StructureShape.new(name: 'DeliverySource')
65
+ DeliverySourceName = Shapes::StringShape.new(name: 'DeliverySourceName')
66
+ DeliverySources = Shapes::ListShape.new(name: 'DeliverySources')
47
67
  Descending = Shapes::BooleanShape.new(name: 'Descending')
48
68
  DescribeAccountPoliciesRequest = Shapes::StructureShape.new(name: 'DescribeAccountPoliciesRequest')
49
69
  DescribeAccountPoliciesResponse = Shapes::StructureShape.new(name: 'DescribeAccountPoliciesResponse')
70
+ DescribeDeliveriesRequest = Shapes::StructureShape.new(name: 'DescribeDeliveriesRequest')
71
+ DescribeDeliveriesResponse = Shapes::StructureShape.new(name: 'DescribeDeliveriesResponse')
72
+ DescribeDeliveryDestinationsRequest = Shapes::StructureShape.new(name: 'DescribeDeliveryDestinationsRequest')
73
+ DescribeDeliveryDestinationsResponse = Shapes::StructureShape.new(name: 'DescribeDeliveryDestinationsResponse')
74
+ DescribeDeliverySourcesRequest = Shapes::StructureShape.new(name: 'DescribeDeliverySourcesRequest')
75
+ DescribeDeliverySourcesResponse = Shapes::StructureShape.new(name: 'DescribeDeliverySourcesResponse')
50
76
  DescribeDestinationsRequest = Shapes::StructureShape.new(name: 'DescribeDestinationsRequest')
51
77
  DescribeDestinationsResponse = Shapes::StructureShape.new(name: 'DescribeDestinationsResponse')
52
78
  DescribeExportTasksRequest = Shapes::StructureShape.new(name: 'DescribeExportTasksRequest')
@@ -103,6 +129,14 @@ module Aws::CloudWatchLogs
103
129
  ForceUpdate = Shapes::BooleanShape.new(name: 'ForceUpdate')
104
130
  GetDataProtectionPolicyRequest = Shapes::StructureShape.new(name: 'GetDataProtectionPolicyRequest')
105
131
  GetDataProtectionPolicyResponse = Shapes::StructureShape.new(name: 'GetDataProtectionPolicyResponse')
132
+ GetDeliveryDestinationPolicyRequest = Shapes::StructureShape.new(name: 'GetDeliveryDestinationPolicyRequest')
133
+ GetDeliveryDestinationPolicyResponse = Shapes::StructureShape.new(name: 'GetDeliveryDestinationPolicyResponse')
134
+ GetDeliveryDestinationRequest = Shapes::StructureShape.new(name: 'GetDeliveryDestinationRequest')
135
+ GetDeliveryDestinationResponse = Shapes::StructureShape.new(name: 'GetDeliveryDestinationResponse')
136
+ GetDeliveryRequest = Shapes::StructureShape.new(name: 'GetDeliveryRequest')
137
+ GetDeliveryResponse = Shapes::StructureShape.new(name: 'GetDeliveryResponse')
138
+ GetDeliverySourceRequest = Shapes::StructureShape.new(name: 'GetDeliverySourceRequest')
139
+ GetDeliverySourceResponse = Shapes::StructureShape.new(name: 'GetDeliverySourceResponse')
106
140
  GetLogEventsRequest = Shapes::StructureShape.new(name: 'GetLogEventsRequest')
107
141
  GetLogEventsResponse = Shapes::StructureShape.new(name: 'GetLogEventsResponse')
108
142
  GetLogGroupFieldsRequest = Shapes::StructureShape.new(name: 'GetLogGroupFieldsRequest')
@@ -143,6 +177,7 @@ module Aws::CloudWatchLogs
143
177
  LogStreamName = Shapes::StringShape.new(name: 'LogStreamName')
144
178
  LogStreamSearchedCompletely = Shapes::BooleanShape.new(name: 'LogStreamSearchedCompletely')
145
179
  LogStreams = Shapes::ListShape.new(name: 'LogStreams')
180
+ LogType = Shapes::StringShape.new(name: 'LogType')
146
181
  MalformedQueryException = Shapes::StructureShape.new(name: 'MalformedQueryException')
147
182
  Message = Shapes::StringShape.new(name: 'Message')
148
183
  MetricFilter = Shapes::StructureShape.new(name: 'MetricFilter')
@@ -157,9 +192,11 @@ module Aws::CloudWatchLogs
157
192
  NextToken = Shapes::StringShape.new(name: 'NextToken')
158
193
  OperationAbortedException = Shapes::StructureShape.new(name: 'OperationAbortedException')
159
194
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
195
+ OutputFormat = Shapes::StringShape.new(name: 'OutputFormat')
160
196
  OutputLogEvent = Shapes::StructureShape.new(name: 'OutputLogEvent')
161
197
  OutputLogEvents = Shapes::ListShape.new(name: 'OutputLogEvents')
162
198
  Percentage = Shapes::IntegerShape.new(name: 'Percentage')
199
+ Policy = Shapes::StructureShape.new(name: 'Policy')
163
200
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
164
201
  PolicyName = Shapes::StringShape.new(name: 'PolicyName')
165
202
  PolicyType = Shapes::StringShape.new(name: 'PolicyType')
@@ -167,6 +204,12 @@ module Aws::CloudWatchLogs
167
204
  PutAccountPolicyResponse = Shapes::StructureShape.new(name: 'PutAccountPolicyResponse')
168
205
  PutDataProtectionPolicyRequest = Shapes::StructureShape.new(name: 'PutDataProtectionPolicyRequest')
169
206
  PutDataProtectionPolicyResponse = Shapes::StructureShape.new(name: 'PutDataProtectionPolicyResponse')
207
+ PutDeliveryDestinationPolicyRequest = Shapes::StructureShape.new(name: 'PutDeliveryDestinationPolicyRequest')
208
+ PutDeliveryDestinationPolicyResponse = Shapes::StructureShape.new(name: 'PutDeliveryDestinationPolicyResponse')
209
+ PutDeliveryDestinationRequest = Shapes::StructureShape.new(name: 'PutDeliveryDestinationRequest')
210
+ PutDeliveryDestinationResponse = Shapes::StructureShape.new(name: 'PutDeliveryDestinationResponse')
211
+ PutDeliverySourceRequest = Shapes::StructureShape.new(name: 'PutDeliverySourceRequest')
212
+ PutDeliverySourceResponse = Shapes::StructureShape.new(name: 'PutDeliverySourceResponse')
170
213
  PutDestinationPolicyRequest = Shapes::StructureShape.new(name: 'PutDestinationPolicyRequest')
171
214
  PutDestinationRequest = Shapes::StructureShape.new(name: 'PutDestinationRequest')
172
215
  PutDestinationResponse = Shapes::StructureShape.new(name: 'PutDestinationResponse')
@@ -196,6 +239,7 @@ module Aws::CloudWatchLogs
196
239
  QueryString = Shapes::StringShape.new(name: 'QueryString')
197
240
  RejectedLogEventsInfo = Shapes::StructureShape.new(name: 'RejectedLogEventsInfo')
198
241
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
242
+ ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
199
243
  ResourceIdentifier = Shapes::StringShape.new(name: 'ResourceIdentifier')
200
244
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
201
245
  ResourcePolicies = Shapes::ListShape.new(name: 'ResourcePolicies')
@@ -207,6 +251,8 @@ module Aws::CloudWatchLogs
207
251
  SearchedLogStream = Shapes::StructureShape.new(name: 'SearchedLogStream')
208
252
  SearchedLogStreams = Shapes::ListShape.new(name: 'SearchedLogStreams')
209
253
  SequenceToken = Shapes::StringShape.new(name: 'SequenceToken')
254
+ Service = Shapes::StringShape.new(name: 'Service')
255
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
210
256
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
211
257
  StandardUnit = Shapes::StringShape.new(name: 'StandardUnit')
212
258
  StartFromHead = Shapes::BooleanShape.new(name: 'StartFromHead')
@@ -230,6 +276,7 @@ module Aws::CloudWatchLogs
230
276
  TestEventMessages = Shapes::ListShape.new(name: 'TestEventMessages')
231
277
  TestMetricFilterRequest = Shapes::StructureShape.new(name: 'TestMetricFilterRequest')
232
278
  TestMetricFilterResponse = Shapes::StructureShape.new(name: 'TestMetricFilterResponse')
279
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
233
280
  Timestamp = Shapes::IntegerShape.new(name: 'Timestamp')
234
281
  Token = Shapes::StringShape.new(name: 'Token')
235
282
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
@@ -237,8 +284,11 @@ module Aws::CloudWatchLogs
237
284
  UnrecognizedClientException = Shapes::StructureShape.new(name: 'UnrecognizedClientException')
238
285
  UntagLogGroupRequest = Shapes::StructureShape.new(name: 'UntagLogGroupRequest')
239
286
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
287
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
240
288
  Value = Shapes::StringShape.new(name: 'Value')
241
289
 
290
+ AccessDeniedException.struct_class = Types::AccessDeniedException
291
+
242
292
  AccountIds.member = Shapes::ShapeRef.new(shape: AccountId)
243
293
 
244
294
  AccountPolicies.member = Shapes::ShapeRef.new(shape: AccountPolicy)
@@ -259,6 +309,16 @@ module Aws::CloudWatchLogs
259
309
  CancelExportTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: ExportTaskId, required: true, location_name: "taskId"))
260
310
  CancelExportTaskRequest.struct_class = Types::CancelExportTaskRequest
261
311
 
312
+ ConflictException.struct_class = Types::ConflictException
313
+
314
+ CreateDeliveryRequest.add_member(:delivery_source_name, Shapes::ShapeRef.new(shape: DeliverySourceName, required: true, location_name: "deliverySourceName"))
315
+ CreateDeliveryRequest.add_member(:delivery_destination_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "deliveryDestinationArn"))
316
+ CreateDeliveryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
317
+ CreateDeliveryRequest.struct_class = Types::CreateDeliveryRequest
318
+
319
+ CreateDeliveryResponse.add_member(:delivery, Shapes::ShapeRef.new(shape: Delivery, location_name: "delivery"))
320
+ CreateDeliveryResponse.struct_class = Types::CreateDeliveryResponse
321
+
262
322
  CreateExportTaskRequest.add_member(:task_name, Shapes::ShapeRef.new(shape: ExportTaskName, location_name: "taskName"))
263
323
  CreateExportTaskRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
264
324
  CreateExportTaskRequest.add_member(:log_stream_name_prefix, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamNamePrefix"))
@@ -290,6 +350,18 @@ module Aws::CloudWatchLogs
290
350
  DeleteDataProtectionPolicyRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, required: true, location_name: "logGroupIdentifier"))
291
351
  DeleteDataProtectionPolicyRequest.struct_class = Types::DeleteDataProtectionPolicyRequest
292
352
 
353
+ DeleteDeliveryDestinationPolicyRequest.add_member(:delivery_destination_name, Shapes::ShapeRef.new(shape: DeliveryDestinationName, required: true, location_name: "deliveryDestinationName"))
354
+ DeleteDeliveryDestinationPolicyRequest.struct_class = Types::DeleteDeliveryDestinationPolicyRequest
355
+
356
+ DeleteDeliveryDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: DeliveryDestinationName, required: true, location_name: "name"))
357
+ DeleteDeliveryDestinationRequest.struct_class = Types::DeleteDeliveryDestinationRequest
358
+
359
+ DeleteDeliveryRequest.add_member(:id, Shapes::ShapeRef.new(shape: DeliveryId, required: true, location_name: "id"))
360
+ DeleteDeliveryRequest.struct_class = Types::DeleteDeliveryRequest
361
+
362
+ DeleteDeliverySourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DeliverySourceName, required: true, location_name: "name"))
363
+ DeleteDeliverySourceRequest.struct_class = Types::DeleteDeliverySourceRequest
364
+
293
365
  DeleteDestinationRequest.add_member(:destination_name, Shapes::ShapeRef.new(shape: DestinationName, required: true, location_name: "destinationName"))
294
366
  DeleteDestinationRequest.struct_class = Types::DeleteDestinationRequest
295
367
 
@@ -320,6 +392,39 @@ module Aws::CloudWatchLogs
320
392
  DeleteSubscriptionFilterRequest.add_member(:filter_name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "filterName"))
321
393
  DeleteSubscriptionFilterRequest.struct_class = Types::DeleteSubscriptionFilterRequest
322
394
 
395
+ Deliveries.member = Shapes::ShapeRef.new(shape: Delivery)
396
+
397
+ Delivery.add_member(:id, Shapes::ShapeRef.new(shape: DeliveryId, location_name: "id"))
398
+ Delivery.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
399
+ Delivery.add_member(:delivery_source_name, Shapes::ShapeRef.new(shape: DeliverySourceName, location_name: "deliverySourceName"))
400
+ Delivery.add_member(:delivery_destination_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "deliveryDestinationArn"))
401
+ Delivery.add_member(:delivery_destination_type, Shapes::ShapeRef.new(shape: DeliveryDestinationType, location_name: "deliveryDestinationType"))
402
+ Delivery.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
403
+ Delivery.struct_class = Types::Delivery
404
+
405
+ DeliveryDestination.add_member(:name, Shapes::ShapeRef.new(shape: DeliveryDestinationName, location_name: "name"))
406
+ DeliveryDestination.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
407
+ DeliveryDestination.add_member(:delivery_destination_type, Shapes::ShapeRef.new(shape: DeliveryDestinationType, location_name: "deliveryDestinationType"))
408
+ DeliveryDestination.add_member(:output_format, Shapes::ShapeRef.new(shape: OutputFormat, location_name: "outputFormat"))
409
+ DeliveryDestination.add_member(:delivery_destination_configuration, Shapes::ShapeRef.new(shape: DeliveryDestinationConfiguration, location_name: "deliveryDestinationConfiguration"))
410
+ DeliveryDestination.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
411
+ DeliveryDestination.struct_class = Types::DeliveryDestination
412
+
413
+ DeliveryDestinationConfiguration.add_member(:destination_resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "destinationResourceArn"))
414
+ DeliveryDestinationConfiguration.struct_class = Types::DeliveryDestinationConfiguration
415
+
416
+ DeliveryDestinations.member = Shapes::ShapeRef.new(shape: DeliveryDestination)
417
+
418
+ DeliverySource.add_member(:name, Shapes::ShapeRef.new(shape: DeliverySourceName, location_name: "name"))
419
+ DeliverySource.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
420
+ DeliverySource.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArns, location_name: "resourceArns"))
421
+ DeliverySource.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
422
+ DeliverySource.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, location_name: "logType"))
423
+ DeliverySource.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
424
+ DeliverySource.struct_class = Types::DeliverySource
425
+
426
+ DeliverySources.member = Shapes::ShapeRef.new(shape: DeliverySource)
427
+
323
428
  DescribeAccountPoliciesRequest.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
324
429
  DescribeAccountPoliciesRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
325
430
  DescribeAccountPoliciesRequest.add_member(:account_identifiers, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIdentifiers"))
@@ -328,6 +433,30 @@ module Aws::CloudWatchLogs
328
433
  DescribeAccountPoliciesResponse.add_member(:account_policies, Shapes::ShapeRef.new(shape: AccountPolicies, location_name: "accountPolicies"))
329
434
  DescribeAccountPoliciesResponse.struct_class = Types::DescribeAccountPoliciesResponse
330
435
 
436
+ DescribeDeliveriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
437
+ DescribeDeliveriesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
438
+ DescribeDeliveriesRequest.struct_class = Types::DescribeDeliveriesRequest
439
+
440
+ DescribeDeliveriesResponse.add_member(:deliveries, Shapes::ShapeRef.new(shape: Deliveries, location_name: "deliveries"))
441
+ DescribeDeliveriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
442
+ DescribeDeliveriesResponse.struct_class = Types::DescribeDeliveriesResponse
443
+
444
+ DescribeDeliveryDestinationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
445
+ DescribeDeliveryDestinationsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
446
+ DescribeDeliveryDestinationsRequest.struct_class = Types::DescribeDeliveryDestinationsRequest
447
+
448
+ DescribeDeliveryDestinationsResponse.add_member(:delivery_destinations, Shapes::ShapeRef.new(shape: DeliveryDestinations, location_name: "deliveryDestinations"))
449
+ DescribeDeliveryDestinationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
450
+ DescribeDeliveryDestinationsResponse.struct_class = Types::DescribeDeliveryDestinationsResponse
451
+
452
+ DescribeDeliverySourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
453
+ DescribeDeliverySourcesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
454
+ DescribeDeliverySourcesRequest.struct_class = Types::DescribeDeliverySourcesRequest
455
+
456
+ DescribeDeliverySourcesResponse.add_member(:delivery_sources, Shapes::ShapeRef.new(shape: DeliverySources, location_name: "deliverySources"))
457
+ DescribeDeliverySourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
458
+ DescribeDeliverySourcesResponse.struct_class = Types::DescribeDeliverySourcesResponse
459
+
331
460
  DescribeDestinationsRequest.add_member(:destination_name_prefix, Shapes::ShapeRef.new(shape: DestinationName, location_name: "DestinationNamePrefix"))
332
461
  DescribeDestinationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
333
462
  DescribeDestinationsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
@@ -497,6 +626,30 @@ module Aws::CloudWatchLogs
497
626
  GetDataProtectionPolicyResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
498
627
  GetDataProtectionPolicyResponse.struct_class = Types::GetDataProtectionPolicyResponse
499
628
 
629
+ GetDeliveryDestinationPolicyRequest.add_member(:delivery_destination_name, Shapes::ShapeRef.new(shape: DeliveryDestinationName, required: true, location_name: "deliveryDestinationName"))
630
+ GetDeliveryDestinationPolicyRequest.struct_class = Types::GetDeliveryDestinationPolicyRequest
631
+
632
+ GetDeliveryDestinationPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "policy"))
633
+ GetDeliveryDestinationPolicyResponse.struct_class = Types::GetDeliveryDestinationPolicyResponse
634
+
635
+ GetDeliveryDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: DeliveryDestinationName, required: true, location_name: "name"))
636
+ GetDeliveryDestinationRequest.struct_class = Types::GetDeliveryDestinationRequest
637
+
638
+ GetDeliveryDestinationResponse.add_member(:delivery_destination, Shapes::ShapeRef.new(shape: DeliveryDestination, location_name: "deliveryDestination"))
639
+ GetDeliveryDestinationResponse.struct_class = Types::GetDeliveryDestinationResponse
640
+
641
+ GetDeliveryRequest.add_member(:id, Shapes::ShapeRef.new(shape: DeliveryId, required: true, location_name: "id"))
642
+ GetDeliveryRequest.struct_class = Types::GetDeliveryRequest
643
+
644
+ GetDeliveryResponse.add_member(:delivery, Shapes::ShapeRef.new(shape: Delivery, location_name: "delivery"))
645
+ GetDeliveryResponse.struct_class = Types::GetDeliveryResponse
646
+
647
+ GetDeliverySourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DeliverySourceName, required: true, location_name: "name"))
648
+ GetDeliverySourceRequest.struct_class = Types::GetDeliverySourceRequest
649
+
650
+ GetDeliverySourceResponse.add_member(:delivery_source, Shapes::ShapeRef.new(shape: DeliverySource, location_name: "deliverySource"))
651
+ GetDeliverySourceResponse.struct_class = Types::GetDeliverySourceResponse
652
+
500
653
  GetLogEventsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
501
654
  GetLogEventsRequest.add_member(:log_group_identifier, Shapes::ShapeRef.new(shape: LogGroupIdentifier, location_name: "logGroupIdentifier"))
502
655
  GetLogEventsRequest.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, required: true, location_name: "logStreamName"))
@@ -644,6 +797,9 @@ module Aws::CloudWatchLogs
644
797
 
645
798
  OutputLogEvents.member = Shapes::ShapeRef.new(shape: OutputLogEvent)
646
799
 
800
+ Policy.add_member(:delivery_destination_policy, Shapes::ShapeRef.new(shape: DeliveryDestinationPolicy, location_name: "deliveryDestinationPolicy"))
801
+ Policy.struct_class = Types::Policy
802
+
647
803
  PutAccountPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "policyName"))
648
804
  PutAccountPolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: AccountPolicyDocument, required: true, location_name: "policyDocument"))
649
805
  PutAccountPolicyRequest.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
@@ -662,6 +818,31 @@ module Aws::CloudWatchLogs
662
818
  PutDataProtectionPolicyResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
663
819
  PutDataProtectionPolicyResponse.struct_class = Types::PutDataProtectionPolicyResponse
664
820
 
821
+ PutDeliveryDestinationPolicyRequest.add_member(:delivery_destination_name, Shapes::ShapeRef.new(shape: DeliveryDestinationName, required: true, location_name: "deliveryDestinationName"))
822
+ PutDeliveryDestinationPolicyRequest.add_member(:delivery_destination_policy, Shapes::ShapeRef.new(shape: DeliveryDestinationPolicy, required: true, location_name: "deliveryDestinationPolicy"))
823
+ PutDeliveryDestinationPolicyRequest.struct_class = Types::PutDeliveryDestinationPolicyRequest
824
+
825
+ PutDeliveryDestinationPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "policy"))
826
+ PutDeliveryDestinationPolicyResponse.struct_class = Types::PutDeliveryDestinationPolicyResponse
827
+
828
+ PutDeliveryDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: DeliveryDestinationName, required: true, location_name: "name"))
829
+ PutDeliveryDestinationRequest.add_member(:output_format, Shapes::ShapeRef.new(shape: OutputFormat, location_name: "outputFormat"))
830
+ PutDeliveryDestinationRequest.add_member(:delivery_destination_configuration, Shapes::ShapeRef.new(shape: DeliveryDestinationConfiguration, required: true, location_name: "deliveryDestinationConfiguration"))
831
+ PutDeliveryDestinationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
832
+ PutDeliveryDestinationRequest.struct_class = Types::PutDeliveryDestinationRequest
833
+
834
+ PutDeliveryDestinationResponse.add_member(:delivery_destination, Shapes::ShapeRef.new(shape: DeliveryDestination, location_name: "deliveryDestination"))
835
+ PutDeliveryDestinationResponse.struct_class = Types::PutDeliveryDestinationResponse
836
+
837
+ PutDeliverySourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DeliverySourceName, required: true, location_name: "name"))
838
+ PutDeliverySourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
839
+ PutDeliverySourceRequest.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, required: true, location_name: "logType"))
840
+ PutDeliverySourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
841
+ PutDeliverySourceRequest.struct_class = Types::PutDeliverySourceRequest
842
+
843
+ PutDeliverySourceResponse.add_member(:delivery_source, Shapes::ShapeRef.new(shape: DeliverySource, location_name: "deliverySource"))
844
+ PutDeliverySourceResponse.struct_class = Types::PutDeliverySourceResponse
845
+
665
846
  PutDestinationPolicyRequest.add_member(:destination_name, Shapes::ShapeRef.new(shape: DestinationName, required: true, location_name: "destinationName"))
666
847
  PutDestinationPolicyRequest.add_member(:access_policy, Shapes::ShapeRef.new(shape: AccessPolicy, required: true, location_name: "accessPolicy"))
667
848
  PutDestinationPolicyRequest.add_member(:force_update, Shapes::ShapeRef.new(shape: ForceUpdate, location_name: "forceUpdate"))
@@ -761,6 +942,8 @@ module Aws::CloudWatchLogs
761
942
 
762
943
  ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
763
944
 
945
+ ResourceArns.member = Shapes::ShapeRef.new(shape: Arn)
946
+
764
947
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
765
948
 
766
949
  ResourcePolicies.member = Shapes::ShapeRef.new(shape: ResourcePolicy)
@@ -782,6 +965,8 @@ module Aws::CloudWatchLogs
782
965
 
783
966
  SearchedLogStreams.member = Shapes::ShapeRef.new(shape: SearchedLogStream)
784
967
 
968
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
969
+
785
970
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
786
971
 
787
972
  StartQueryRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
@@ -837,6 +1022,8 @@ module Aws::CloudWatchLogs
837
1022
  TestMetricFilterResponse.add_member(:matches, Shapes::ShapeRef.new(shape: MetricFilterMatches, location_name: "matches"))
838
1023
  TestMetricFilterResponse.struct_class = Types::TestMetricFilterResponse
839
1024
 
1025
+ ThrottlingException.struct_class = Types::ThrottlingException
1026
+
840
1027
  TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
841
1028
  TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceName"))
842
1029
  TooManyTagsException.struct_class = Types::TooManyTagsException
@@ -851,6 +1038,8 @@ module Aws::CloudWatchLogs
851
1038
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
852
1039
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
853
1040
 
1041
+ ValidationException.struct_class = Types::ValidationException
1042
+
854
1043
 
855
1044
  # @api private
856
1045
  API = Seahorse::Model::Api.new.tap do |api|
@@ -893,6 +1082,21 @@ module Aws::CloudWatchLogs
893
1082
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
894
1083
  end)
895
1084
 
1085
+ api.add_operation(:create_delivery, Seahorse::Model::Operation.new.tap do |o|
1086
+ o.name = "CreateDelivery"
1087
+ o.http_method = "POST"
1088
+ o.http_request_uri = "/"
1089
+ o.input = Shapes::ShapeRef.new(shape: CreateDeliveryRequest)
1090
+ o.output = Shapes::ShapeRef.new(shape: CreateDeliveryResponse)
1091
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1092
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1093
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1094
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1095
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1096
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1097
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1098
+ end)
1099
+
896
1100
  api.add_operation(:create_export_task, Seahorse::Model::Operation.new.tap do |o|
897
1101
  o.name = "CreateExportTask"
898
1102
  o.http_method = "POST"
@@ -956,6 +1160,60 @@ module Aws::CloudWatchLogs
956
1160
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
957
1161
  end)
958
1162
 
1163
+ api.add_operation(:delete_delivery, Seahorse::Model::Operation.new.tap do |o|
1164
+ o.name = "DeleteDelivery"
1165
+ o.http_method = "POST"
1166
+ o.http_request_uri = "/"
1167
+ o.input = Shapes::ShapeRef.new(shape: DeleteDeliveryRequest)
1168
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1169
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1170
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1171
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1172
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1173
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1174
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1175
+ end)
1176
+
1177
+ api.add_operation(:delete_delivery_destination, Seahorse::Model::Operation.new.tap do |o|
1178
+ o.name = "DeleteDeliveryDestination"
1179
+ o.http_method = "POST"
1180
+ o.http_request_uri = "/"
1181
+ o.input = Shapes::ShapeRef.new(shape: DeleteDeliveryDestinationRequest)
1182
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1183
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1184
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1185
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1186
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1187
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1188
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1189
+ end)
1190
+
1191
+ api.add_operation(:delete_delivery_destination_policy, Seahorse::Model::Operation.new.tap do |o|
1192
+ o.name = "DeleteDeliveryDestinationPolicy"
1193
+ o.http_method = "POST"
1194
+ o.http_request_uri = "/"
1195
+ o.input = Shapes::ShapeRef.new(shape: DeleteDeliveryDestinationPolicyRequest)
1196
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1197
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1198
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1199
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1200
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1201
+ end)
1202
+
1203
+ api.add_operation(:delete_delivery_source, Seahorse::Model::Operation.new.tap do |o|
1204
+ o.name = "DeleteDeliverySource"
1205
+ o.http_method = "POST"
1206
+ o.http_request_uri = "/"
1207
+ o.input = Shapes::ShapeRef.new(shape: DeleteDeliverySourceRequest)
1208
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1209
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1210
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1211
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1212
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1213
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1214
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1215
+ end)
1216
+
959
1217
  api.add_operation(:delete_destination, Seahorse::Model::Operation.new.tap do |o|
960
1218
  o.name = "DeleteDestination"
961
1219
  o.http_method = "POST"
@@ -1062,6 +1320,60 @@ module Aws::CloudWatchLogs
1062
1320
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1063
1321
  end)
1064
1322
 
1323
+ api.add_operation(:describe_deliveries, Seahorse::Model::Operation.new.tap do |o|
1324
+ o.name = "DescribeDeliveries"
1325
+ o.http_method = "POST"
1326
+ o.http_request_uri = "/"
1327
+ o.input = Shapes::ShapeRef.new(shape: DescribeDeliveriesRequest)
1328
+ o.output = Shapes::ShapeRef.new(shape: DescribeDeliveriesResponse)
1329
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1330
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1331
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1332
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1333
+ o[:pager] = Aws::Pager.new(
1334
+ limit_key: "limit",
1335
+ tokens: {
1336
+ "next_token" => "next_token"
1337
+ }
1338
+ )
1339
+ end)
1340
+
1341
+ api.add_operation(:describe_delivery_destinations, Seahorse::Model::Operation.new.tap do |o|
1342
+ o.name = "DescribeDeliveryDestinations"
1343
+ o.http_method = "POST"
1344
+ o.http_request_uri = "/"
1345
+ o.input = Shapes::ShapeRef.new(shape: DescribeDeliveryDestinationsRequest)
1346
+ o.output = Shapes::ShapeRef.new(shape: DescribeDeliveryDestinationsResponse)
1347
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1348
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1351
+ o[:pager] = Aws::Pager.new(
1352
+ limit_key: "limit",
1353
+ tokens: {
1354
+ "next_token" => "next_token"
1355
+ }
1356
+ )
1357
+ end)
1358
+
1359
+ api.add_operation(:describe_delivery_sources, Seahorse::Model::Operation.new.tap do |o|
1360
+ o.name = "DescribeDeliverySources"
1361
+ o.http_method = "POST"
1362
+ o.http_request_uri = "/"
1363
+ o.input = Shapes::ShapeRef.new(shape: DescribeDeliverySourcesRequest)
1364
+ o.output = Shapes::ShapeRef.new(shape: DescribeDeliverySourcesResponse)
1365
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1366
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1367
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1368
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1369
+ o[:pager] = Aws::Pager.new(
1370
+ limit_key: "limit",
1371
+ tokens: {
1372
+ "next_token" => "next_token"
1373
+ }
1374
+ )
1375
+ end)
1376
+
1065
1377
  api.add_operation(:describe_destinations, Seahorse::Model::Operation.new.tap do |o|
1066
1378
  o.name = "DescribeDestinations"
1067
1379
  o.http_method = "POST"
@@ -1227,6 +1539,56 @@ module Aws::CloudWatchLogs
1227
1539
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1228
1540
  end)
1229
1541
 
1542
+ api.add_operation(:get_delivery, Seahorse::Model::Operation.new.tap do |o|
1543
+ o.name = "GetDelivery"
1544
+ o.http_method = "POST"
1545
+ o.http_request_uri = "/"
1546
+ o.input = Shapes::ShapeRef.new(shape: GetDeliveryRequest)
1547
+ o.output = Shapes::ShapeRef.new(shape: GetDeliveryResponse)
1548
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1549
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1550
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1551
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1552
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1553
+ end)
1554
+
1555
+ api.add_operation(:get_delivery_destination, Seahorse::Model::Operation.new.tap do |o|
1556
+ o.name = "GetDeliveryDestination"
1557
+ o.http_method = "POST"
1558
+ o.http_request_uri = "/"
1559
+ o.input = Shapes::ShapeRef.new(shape: GetDeliveryDestinationRequest)
1560
+ o.output = Shapes::ShapeRef.new(shape: GetDeliveryDestinationResponse)
1561
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1562
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1563
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1564
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1565
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1566
+ end)
1567
+
1568
+ api.add_operation(:get_delivery_destination_policy, Seahorse::Model::Operation.new.tap do |o|
1569
+ o.name = "GetDeliveryDestinationPolicy"
1570
+ o.http_method = "POST"
1571
+ o.http_request_uri = "/"
1572
+ o.input = Shapes::ShapeRef.new(shape: GetDeliveryDestinationPolicyRequest)
1573
+ o.output = Shapes::ShapeRef.new(shape: GetDeliveryDestinationPolicyResponse)
1574
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1575
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1576
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1577
+ end)
1578
+
1579
+ api.add_operation(:get_delivery_source, Seahorse::Model::Operation.new.tap do |o|
1580
+ o.name = "GetDeliverySource"
1581
+ o.http_method = "POST"
1582
+ o.http_request_uri = "/"
1583
+ o.input = Shapes::ShapeRef.new(shape: GetDeliverySourceRequest)
1584
+ o.output = Shapes::ShapeRef.new(shape: GetDeliverySourceResponse)
1585
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1586
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1587
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1588
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1589
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1590
+ end)
1591
+
1230
1592
  api.add_operation(:get_log_events, Seahorse::Model::Operation.new.tap do |o|
1231
1593
  o.name = "GetLogEvents"
1232
1594
  o.http_method = "POST"
@@ -1326,6 +1688,46 @@ module Aws::CloudWatchLogs
1326
1688
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1327
1689
  end)
1328
1690
 
1691
+ api.add_operation(:put_delivery_destination, Seahorse::Model::Operation.new.tap do |o|
1692
+ o.name = "PutDeliveryDestination"
1693
+ o.http_method = "POST"
1694
+ o.http_request_uri = "/"
1695
+ o.input = Shapes::ShapeRef.new(shape: PutDeliveryDestinationRequest)
1696
+ o.output = Shapes::ShapeRef.new(shape: PutDeliveryDestinationResponse)
1697
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1698
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1699
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1700
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1701
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1702
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1703
+ end)
1704
+
1705
+ api.add_operation(:put_delivery_destination_policy, Seahorse::Model::Operation.new.tap do |o|
1706
+ o.name = "PutDeliveryDestinationPolicy"
1707
+ o.http_method = "POST"
1708
+ o.http_request_uri = "/"
1709
+ o.input = Shapes::ShapeRef.new(shape: PutDeliveryDestinationPolicyRequest)
1710
+ o.output = Shapes::ShapeRef.new(shape: PutDeliveryDestinationPolicyResponse)
1711
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1712
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1713
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1714
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1715
+ end)
1716
+
1717
+ api.add_operation(:put_delivery_source, Seahorse::Model::Operation.new.tap do |o|
1718
+ o.name = "PutDeliverySource"
1719
+ o.http_method = "POST"
1720
+ o.http_request_uri = "/"
1721
+ o.input = Shapes::ShapeRef.new(shape: PutDeliverySourceRequest)
1722
+ o.output = Shapes::ShapeRef.new(shape: PutDeliverySourceResponse)
1723
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1724
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1725
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1726
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1727
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1728
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1729
+ end)
1730
+
1329
1731
  api.add_operation(:put_destination, Seahorse::Model::Operation.new.tap do |o|
1330
1732
  o.name = "PutDestination"
1331
1733
  o.http_method = "POST"
@@ -32,7 +32,7 @@ module Aws::CloudWatchLogs
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://logs.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
38
38
  end