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.
@@ -40,6 +40,20 @@ module Aws::CloudWatchLogs
40
40
  end
41
41
  end
42
42
 
43
+ class CreateDelivery
44
+ def self.build(context)
45
+ unless context.config.regional_endpoint
46
+ endpoint = context.config.endpoint.to_s
47
+ end
48
+ Aws::CloudWatchLogs::EndpointParameters.new(
49
+ region: context.config.region,
50
+ use_dual_stack: context.config.use_dualstack_endpoint,
51
+ use_fips: context.config.use_fips_endpoint,
52
+ endpoint: endpoint,
53
+ )
54
+ end
55
+ end
56
+
43
57
  class CreateExportTask
44
58
  def self.build(context)
45
59
  unless context.config.regional_endpoint
@@ -110,6 +124,62 @@ module Aws::CloudWatchLogs
110
124
  end
111
125
  end
112
126
 
127
+ class DeleteDelivery
128
+ def self.build(context)
129
+ unless context.config.regional_endpoint
130
+ endpoint = context.config.endpoint.to_s
131
+ end
132
+ Aws::CloudWatchLogs::EndpointParameters.new(
133
+ region: context.config.region,
134
+ use_dual_stack: context.config.use_dualstack_endpoint,
135
+ use_fips: context.config.use_fips_endpoint,
136
+ endpoint: endpoint,
137
+ )
138
+ end
139
+ end
140
+
141
+ class DeleteDeliveryDestination
142
+ def self.build(context)
143
+ unless context.config.regional_endpoint
144
+ endpoint = context.config.endpoint.to_s
145
+ end
146
+ Aws::CloudWatchLogs::EndpointParameters.new(
147
+ region: context.config.region,
148
+ use_dual_stack: context.config.use_dualstack_endpoint,
149
+ use_fips: context.config.use_fips_endpoint,
150
+ endpoint: endpoint,
151
+ )
152
+ end
153
+ end
154
+
155
+ class DeleteDeliveryDestinationPolicy
156
+ def self.build(context)
157
+ unless context.config.regional_endpoint
158
+ endpoint = context.config.endpoint.to_s
159
+ end
160
+ Aws::CloudWatchLogs::EndpointParameters.new(
161
+ region: context.config.region,
162
+ use_dual_stack: context.config.use_dualstack_endpoint,
163
+ use_fips: context.config.use_fips_endpoint,
164
+ endpoint: endpoint,
165
+ )
166
+ end
167
+ end
168
+
169
+ class DeleteDeliverySource
170
+ def self.build(context)
171
+ unless context.config.regional_endpoint
172
+ endpoint = context.config.endpoint.to_s
173
+ end
174
+ Aws::CloudWatchLogs::EndpointParameters.new(
175
+ region: context.config.region,
176
+ use_dual_stack: context.config.use_dualstack_endpoint,
177
+ use_fips: context.config.use_fips_endpoint,
178
+ endpoint: endpoint,
179
+ )
180
+ end
181
+ end
182
+
113
183
  class DeleteDestination
114
184
  def self.build(context)
115
185
  unless context.config.regional_endpoint
@@ -236,6 +306,48 @@ module Aws::CloudWatchLogs
236
306
  end
237
307
  end
238
308
 
309
+ class DescribeDeliveries
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::CloudWatchLogs::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
323
+ class DescribeDeliveryDestinations
324
+ def self.build(context)
325
+ unless context.config.regional_endpoint
326
+ endpoint = context.config.endpoint.to_s
327
+ end
328
+ Aws::CloudWatchLogs::EndpointParameters.new(
329
+ region: context.config.region,
330
+ use_dual_stack: context.config.use_dualstack_endpoint,
331
+ use_fips: context.config.use_fips_endpoint,
332
+ endpoint: endpoint,
333
+ )
334
+ end
335
+ end
336
+
337
+ class DescribeDeliverySources
338
+ def self.build(context)
339
+ unless context.config.regional_endpoint
340
+ endpoint = context.config.endpoint.to_s
341
+ end
342
+ Aws::CloudWatchLogs::EndpointParameters.new(
343
+ region: context.config.region,
344
+ use_dual_stack: context.config.use_dualstack_endpoint,
345
+ use_fips: context.config.use_fips_endpoint,
346
+ endpoint: endpoint,
347
+ )
348
+ end
349
+ end
350
+
239
351
  class DescribeDestinations
240
352
  def self.build(context)
241
353
  unless context.config.regional_endpoint
@@ -404,6 +516,62 @@ module Aws::CloudWatchLogs
404
516
  end
405
517
  end
406
518
 
519
+ class GetDelivery
520
+ def self.build(context)
521
+ unless context.config.regional_endpoint
522
+ endpoint = context.config.endpoint.to_s
523
+ end
524
+ Aws::CloudWatchLogs::EndpointParameters.new(
525
+ region: context.config.region,
526
+ use_dual_stack: context.config.use_dualstack_endpoint,
527
+ use_fips: context.config.use_fips_endpoint,
528
+ endpoint: endpoint,
529
+ )
530
+ end
531
+ end
532
+
533
+ class GetDeliveryDestination
534
+ def self.build(context)
535
+ unless context.config.regional_endpoint
536
+ endpoint = context.config.endpoint.to_s
537
+ end
538
+ Aws::CloudWatchLogs::EndpointParameters.new(
539
+ region: context.config.region,
540
+ use_dual_stack: context.config.use_dualstack_endpoint,
541
+ use_fips: context.config.use_fips_endpoint,
542
+ endpoint: endpoint,
543
+ )
544
+ end
545
+ end
546
+
547
+ class GetDeliveryDestinationPolicy
548
+ def self.build(context)
549
+ unless context.config.regional_endpoint
550
+ endpoint = context.config.endpoint.to_s
551
+ end
552
+ Aws::CloudWatchLogs::EndpointParameters.new(
553
+ region: context.config.region,
554
+ use_dual_stack: context.config.use_dualstack_endpoint,
555
+ use_fips: context.config.use_fips_endpoint,
556
+ endpoint: endpoint,
557
+ )
558
+ end
559
+ end
560
+
561
+ class GetDeliverySource
562
+ def self.build(context)
563
+ unless context.config.regional_endpoint
564
+ endpoint = context.config.endpoint.to_s
565
+ end
566
+ Aws::CloudWatchLogs::EndpointParameters.new(
567
+ region: context.config.region,
568
+ use_dual_stack: context.config.use_dualstack_endpoint,
569
+ use_fips: context.config.use_fips_endpoint,
570
+ endpoint: endpoint,
571
+ )
572
+ end
573
+ end
574
+
407
575
  class GetLogEvents
408
576
  def self.build(context)
409
577
  unless context.config.regional_endpoint
@@ -516,6 +684,48 @@ module Aws::CloudWatchLogs
516
684
  end
517
685
  end
518
686
 
687
+ class PutDeliveryDestination
688
+ def self.build(context)
689
+ unless context.config.regional_endpoint
690
+ endpoint = context.config.endpoint.to_s
691
+ end
692
+ Aws::CloudWatchLogs::EndpointParameters.new(
693
+ region: context.config.region,
694
+ use_dual_stack: context.config.use_dualstack_endpoint,
695
+ use_fips: context.config.use_fips_endpoint,
696
+ endpoint: endpoint,
697
+ )
698
+ end
699
+ end
700
+
701
+ class PutDeliveryDestinationPolicy
702
+ def self.build(context)
703
+ unless context.config.regional_endpoint
704
+ endpoint = context.config.endpoint.to_s
705
+ end
706
+ Aws::CloudWatchLogs::EndpointParameters.new(
707
+ region: context.config.region,
708
+ use_dual_stack: context.config.use_dualstack_endpoint,
709
+ use_fips: context.config.use_fips_endpoint,
710
+ endpoint: endpoint,
711
+ )
712
+ end
713
+ end
714
+
715
+ class PutDeliverySource
716
+ def self.build(context)
717
+ unless context.config.regional_endpoint
718
+ endpoint = context.config.endpoint.to_s
719
+ end
720
+ Aws::CloudWatchLogs::EndpointParameters.new(
721
+ region: context.config.region,
722
+ use_dual_stack: context.config.use_dualstack_endpoint,
723
+ use_fips: context.config.use_fips_endpoint,
724
+ endpoint: endpoint,
725
+ )
726
+ end
727
+ end
728
+
519
729
  class PutDestination
520
730
  def self.build(context)
521
731
  unless context.config.regional_endpoint
@@ -27,6 +27,8 @@ module Aws::CloudWatchLogs
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
31
+ # * {ConflictException}
30
32
  # * {DataAlreadyAcceptedException}
31
33
  # * {InvalidOperationException}
32
34
  # * {InvalidParameterException}
@@ -36,9 +38,12 @@ module Aws::CloudWatchLogs
36
38
  # * {OperationAbortedException}
37
39
  # * {ResourceAlreadyExistsException}
38
40
  # * {ResourceNotFoundException}
41
+ # * {ServiceQuotaExceededException}
39
42
  # * {ServiceUnavailableException}
43
+ # * {ThrottlingException}
40
44
  # * {TooManyTagsException}
41
45
  # * {UnrecognizedClientException}
46
+ # * {ValidationException}
42
47
  #
43
48
  # Additionally, error classes are dynamically generated for service errors based on the error code
44
49
  # if they are not defined above.
@@ -46,6 +51,26 @@ module Aws::CloudWatchLogs
46
51
 
47
52
  extend Aws::Errors::DynamicErrors
48
53
 
54
+ class AccessDeniedException < ServiceError
55
+
56
+ # @param [Seahorse::Client::RequestContext] context
57
+ # @param [String] message
58
+ # @param [Aws::CloudWatchLogs::Types::AccessDeniedException] data
59
+ def initialize(context, message, data = Aws::EmptyStructure.new)
60
+ super(context, message, data)
61
+ end
62
+ end
63
+
64
+ class ConflictException < ServiceError
65
+
66
+ # @param [Seahorse::Client::RequestContext] context
67
+ # @param [String] message
68
+ # @param [Aws::CloudWatchLogs::Types::ConflictException] data
69
+ def initialize(context, message, data = Aws::EmptyStructure.new)
70
+ super(context, message, data)
71
+ end
72
+ end
73
+
49
74
  class DataAlreadyAcceptedException < ServiceError
50
75
 
51
76
  # @param [Seahorse::Client::RequestContext] context
@@ -151,6 +176,16 @@ module Aws::CloudWatchLogs
151
176
  end
152
177
  end
153
178
 
179
+ class ServiceQuotaExceededException < ServiceError
180
+
181
+ # @param [Seahorse::Client::RequestContext] context
182
+ # @param [String] message
183
+ # @param [Aws::CloudWatchLogs::Types::ServiceQuotaExceededException] data
184
+ def initialize(context, message, data = Aws::EmptyStructure.new)
185
+ super(context, message, data)
186
+ end
187
+ end
188
+
154
189
  class ServiceUnavailableException < ServiceError
155
190
 
156
191
  # @param [Seahorse::Client::RequestContext] context
@@ -161,6 +196,16 @@ module Aws::CloudWatchLogs
161
196
  end
162
197
  end
163
198
 
199
+ class ThrottlingException < ServiceError
200
+
201
+ # @param [Seahorse::Client::RequestContext] context
202
+ # @param [String] message
203
+ # @param [Aws::CloudWatchLogs::Types::ThrottlingException] data
204
+ def initialize(context, message, data = Aws::EmptyStructure.new)
205
+ super(context, message, data)
206
+ end
207
+ end
208
+
164
209
  class TooManyTagsException < ServiceError
165
210
 
166
211
  # @param [Seahorse::Client::RequestContext] context
@@ -191,5 +236,15 @@ module Aws::CloudWatchLogs
191
236
  end
192
237
  end
193
238
 
239
+ class ValidationException < ServiceError
240
+
241
+ # @param [Seahorse::Client::RequestContext] context
242
+ # @param [String] message
243
+ # @param [Aws::CloudWatchLogs::Types::ValidationException] data
244
+ def initialize(context, message, data = Aws::EmptyStructure.new)
245
+ super(context, message, data)
246
+ end
247
+ end
248
+
194
249
  end
195
250
  end
@@ -60,6 +60,8 @@ module Aws::CloudWatchLogs
60
60
  Aws::CloudWatchLogs::Endpoints::AssociateKmsKey.build(context)
61
61
  when :cancel_export_task
62
62
  Aws::CloudWatchLogs::Endpoints::CancelExportTask.build(context)
63
+ when :create_delivery
64
+ Aws::CloudWatchLogs::Endpoints::CreateDelivery.build(context)
63
65
  when :create_export_task
64
66
  Aws::CloudWatchLogs::Endpoints::CreateExportTask.build(context)
65
67
  when :create_log_group
@@ -70,6 +72,14 @@ module Aws::CloudWatchLogs
70
72
  Aws::CloudWatchLogs::Endpoints::DeleteAccountPolicy.build(context)
71
73
  when :delete_data_protection_policy
72
74
  Aws::CloudWatchLogs::Endpoints::DeleteDataProtectionPolicy.build(context)
75
+ when :delete_delivery
76
+ Aws::CloudWatchLogs::Endpoints::DeleteDelivery.build(context)
77
+ when :delete_delivery_destination
78
+ Aws::CloudWatchLogs::Endpoints::DeleteDeliveryDestination.build(context)
79
+ when :delete_delivery_destination_policy
80
+ Aws::CloudWatchLogs::Endpoints::DeleteDeliveryDestinationPolicy.build(context)
81
+ when :delete_delivery_source
82
+ Aws::CloudWatchLogs::Endpoints::DeleteDeliverySource.build(context)
73
83
  when :delete_destination
74
84
  Aws::CloudWatchLogs::Endpoints::DeleteDestination.build(context)
75
85
  when :delete_log_group
@@ -88,6 +98,12 @@ module Aws::CloudWatchLogs
88
98
  Aws::CloudWatchLogs::Endpoints::DeleteSubscriptionFilter.build(context)
89
99
  when :describe_account_policies
90
100
  Aws::CloudWatchLogs::Endpoints::DescribeAccountPolicies.build(context)
101
+ when :describe_deliveries
102
+ Aws::CloudWatchLogs::Endpoints::DescribeDeliveries.build(context)
103
+ when :describe_delivery_destinations
104
+ Aws::CloudWatchLogs::Endpoints::DescribeDeliveryDestinations.build(context)
105
+ when :describe_delivery_sources
106
+ Aws::CloudWatchLogs::Endpoints::DescribeDeliverySources.build(context)
91
107
  when :describe_destinations
92
108
  Aws::CloudWatchLogs::Endpoints::DescribeDestinations.build(context)
93
109
  when :describe_export_tasks
@@ -112,6 +128,14 @@ module Aws::CloudWatchLogs
112
128
  Aws::CloudWatchLogs::Endpoints::FilterLogEvents.build(context)
113
129
  when :get_data_protection_policy
114
130
  Aws::CloudWatchLogs::Endpoints::GetDataProtectionPolicy.build(context)
131
+ when :get_delivery
132
+ Aws::CloudWatchLogs::Endpoints::GetDelivery.build(context)
133
+ when :get_delivery_destination
134
+ Aws::CloudWatchLogs::Endpoints::GetDeliveryDestination.build(context)
135
+ when :get_delivery_destination_policy
136
+ Aws::CloudWatchLogs::Endpoints::GetDeliveryDestinationPolicy.build(context)
137
+ when :get_delivery_source
138
+ Aws::CloudWatchLogs::Endpoints::GetDeliverySource.build(context)
115
139
  when :get_log_events
116
140
  Aws::CloudWatchLogs::Endpoints::GetLogEvents.build(context)
117
141
  when :get_log_group_fields
@@ -128,6 +152,12 @@ module Aws::CloudWatchLogs
128
152
  Aws::CloudWatchLogs::Endpoints::PutAccountPolicy.build(context)
129
153
  when :put_data_protection_policy
130
154
  Aws::CloudWatchLogs::Endpoints::PutDataProtectionPolicy.build(context)
155
+ when :put_delivery_destination
156
+ Aws::CloudWatchLogs::Endpoints::PutDeliveryDestination.build(context)
157
+ when :put_delivery_destination_policy
158
+ Aws::CloudWatchLogs::Endpoints::PutDeliveryDestinationPolicy.build(context)
159
+ when :put_delivery_source
160
+ Aws::CloudWatchLogs::Endpoints::PutDeliverySource.build(context)
131
161
  when :put_destination
132
162
  Aws::CloudWatchLogs::Endpoints::PutDestination.build(context)
133
163
  when :put_destination_policy