aws-sdk-cloudwatchlogs 1.71.0 → 1.73.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,12 @@
10
10
  module Aws::CloudWatchLogs
11
11
  module Types
12
12
 
13
+ # You don't have sufficient permissions to perform this action.
14
+ #
15
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AccessDeniedException AWS API Documentation
16
+ #
17
+ class AccessDeniedException < Aws::EmptyStructure; end
18
+
13
19
  # A structure that contains information about one CloudWatch Logs
14
20
  # account policy.
15
21
  #
@@ -122,6 +128,54 @@ module Aws::CloudWatchLogs
122
128
  include Aws::Structure
123
129
  end
124
130
 
131
+ # This operation attempted to create a resource that already exists.
132
+ #
133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ConflictException AWS API Documentation
134
+ #
135
+ class ConflictException < Aws::EmptyStructure; end
136
+
137
+ # @!attribute [rw] delivery_source_name
138
+ # The name of the delivery source to use for this delivery.
139
+ # @return [String]
140
+ #
141
+ # @!attribute [rw] delivery_destination_arn
142
+ # The ARN of the delivery destination to use for this delivery.
143
+ # @return [String]
144
+ #
145
+ # @!attribute [rw] tags
146
+ # An optional list of key-value pairs to associate with the resource.
147
+ #
148
+ # For more information about tagging, see [Tagging Amazon Web Services
149
+ # resources][1]
150
+ #
151
+ #
152
+ #
153
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
154
+ # @return [Hash<String,String>]
155
+ #
156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateDeliveryRequest AWS API Documentation
157
+ #
158
+ class CreateDeliveryRequest < Struct.new(
159
+ :delivery_source_name,
160
+ :delivery_destination_arn,
161
+ :tags)
162
+ SENSITIVE = []
163
+ include Aws::Structure
164
+ end
165
+
166
+ # @!attribute [rw] delivery
167
+ # A structure that contains information about the delivery that you
168
+ # just created.
169
+ # @return [Types::Delivery]
170
+ #
171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateDeliveryResponse AWS API Documentation
172
+ #
173
+ class CreateDeliveryResponse < Struct.new(
174
+ :delivery)
175
+ SENSITIVE = []
176
+ include Aws::Structure
177
+ end
178
+
125
179
  # @!attribute [rw] task_name
126
180
  # The name of the export task.
127
181
  # @return [String]
@@ -292,6 +346,66 @@ module Aws::CloudWatchLogs
292
346
  include Aws::Structure
293
347
  end
294
348
 
349
+ # @!attribute [rw] delivery_destination_name
350
+ # The name of the delivery destination that you want to delete the
351
+ # policy for.
352
+ # @return [String]
353
+ #
354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDeliveryDestinationPolicyRequest AWS API Documentation
355
+ #
356
+ class DeleteDeliveryDestinationPolicyRequest < Struct.new(
357
+ :delivery_destination_name)
358
+ SENSITIVE = []
359
+ include Aws::Structure
360
+ end
361
+
362
+ # @!attribute [rw] name
363
+ # The name of the delivery destination that you want to delete. You
364
+ # can find a list of delivery destionation names by using the
365
+ # [DescribeDeliveryDestinations][1] operation.
366
+ #
367
+ #
368
+ #
369
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveryDestinations.html
370
+ # @return [String]
371
+ #
372
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDeliveryDestinationRequest AWS API Documentation
373
+ #
374
+ class DeleteDeliveryDestinationRequest < Struct.new(
375
+ :name)
376
+ SENSITIVE = []
377
+ include Aws::Structure
378
+ end
379
+
380
+ # @!attribute [rw] id
381
+ # The unique ID of the delivery to delete. You can find the ID of a
382
+ # delivery with the [DescribeDeliveries][1] operation.
383
+ #
384
+ #
385
+ #
386
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html
387
+ # @return [String]
388
+ #
389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDeliveryRequest AWS API Documentation
390
+ #
391
+ class DeleteDeliveryRequest < Struct.new(
392
+ :id)
393
+ SENSITIVE = []
394
+ include Aws::Structure
395
+ end
396
+
397
+ # @!attribute [rw] name
398
+ # The name of the delivery source that you want to delete.
399
+ # @return [String]
400
+ #
401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDeliverySourceRequest AWS API Documentation
402
+ #
403
+ class DeleteDeliverySourceRequest < Struct.new(
404
+ :name)
405
+ SENSITIVE = []
406
+ include Aws::Structure
407
+ end
408
+
295
409
  # @!attribute [rw] destination_name
296
410
  # The name of the destination.
297
411
  # @return [String]
@@ -422,6 +536,238 @@ module Aws::CloudWatchLogs
422
536
  include Aws::Structure
423
537
  end
424
538
 
539
+ # This structure contains information about one *delivery* in your
540
+ # account.
541
+ #
542
+ # A delivery is a connection between a logical *delivery source* and a
543
+ # logical *delivery destination*.
544
+ #
545
+ # For more information, see [CreateDelivery][1].
546
+ #
547
+ # You can't update an existing delivery. You can only create and delete
548
+ # deliveries.
549
+ #
550
+ #
551
+ #
552
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
553
+ #
554
+ # @!attribute [rw] id
555
+ # The unique ID that identifies this delivery in your account.
556
+ # @return [String]
557
+ #
558
+ # @!attribute [rw] arn
559
+ # The Amazon Resource Name (ARN) that uniquely identifies this
560
+ # delivery.
561
+ # @return [String]
562
+ #
563
+ # @!attribute [rw] delivery_source_name
564
+ # The name of the delivery source that is associated with this
565
+ # delivery.
566
+ # @return [String]
567
+ #
568
+ # @!attribute [rw] delivery_destination_arn
569
+ # The ARN of the delivery destination that is associated with this
570
+ # delivery.
571
+ # @return [String]
572
+ #
573
+ # @!attribute [rw] delivery_destination_type
574
+ # Displays whether the delivery destination associated with this
575
+ # delivery is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
576
+ # @return [String]
577
+ #
578
+ # @!attribute [rw] tags
579
+ # The tags that have been assigned to this delivery.
580
+ # @return [Hash<String,String>]
581
+ #
582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/Delivery AWS API Documentation
583
+ #
584
+ class Delivery < Struct.new(
585
+ :id,
586
+ :arn,
587
+ :delivery_source_name,
588
+ :delivery_destination_arn,
589
+ :delivery_destination_type,
590
+ :tags)
591
+ SENSITIVE = []
592
+ include Aws::Structure
593
+ end
594
+
595
+ # This structure contains information about one *delivery destination*
596
+ # in your account. A delivery destination is an Amazon Web Services
597
+ # resource that represents an shared id="AWS"/&gt; service that logs
598
+ # can be sent to. CloudWatch Logs, Amazon S3, are supported as Kinesis
599
+ # Data Firehose delivery destinations.
600
+ #
601
+ # To configure logs delivery between a supported Amazon Web Services
602
+ # service and a destination, you must do the following:
603
+ #
604
+ # * Create a delivery source, which is a logical object that represents
605
+ # the resource that is actually sending the logs. For more
606
+ # information, see [PutDeliverySource][1].
607
+ #
608
+ # * Create a *delivery destination*, which is a logical object that
609
+ # represents the actual delivery destination.
610
+ #
611
+ # * If you are delivering logs cross-account, you must use
612
+ # [PutDeliveryDestinationPolicy][2] in the destination account to
613
+ # assign an IAM policy to the destination. This policy allows delivery
614
+ # to that destination.
615
+ #
616
+ # * Create a *delivery* by pairing exactly one delivery source and one
617
+ # delivery destination. For more information, see [CreateDelivery][3].
618
+ #
619
+ # You can configure a single delivery source to send logs to multiple
620
+ # destinations by creating multiple deliveries. You can also create
621
+ # multiple deliveries to configure multiple delivery sources to send
622
+ # logs to the same delivery destination.
623
+ #
624
+ #
625
+ #
626
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html
627
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationolicy.html
628
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
629
+ #
630
+ # @!attribute [rw] name
631
+ # The name of this delivery destination.
632
+ # @return [String]
633
+ #
634
+ # @!attribute [rw] arn
635
+ # The Amazon Resource Name (ARN) that uniquely identifies this
636
+ # delivery destination.
637
+ # @return [String]
638
+ #
639
+ # @!attribute [rw] delivery_destination_type
640
+ # Displays whether this delivery destination is CloudWatch Logs,
641
+ # Amazon S3, or Kinesis Data Firehose.
642
+ # @return [String]
643
+ #
644
+ # @!attribute [rw] output_format
645
+ # The format of the logs that are sent to this delivery destination.
646
+ # @return [String]
647
+ #
648
+ # @!attribute [rw] delivery_destination_configuration
649
+ # A structure that contains the ARN of the Amazon Web Services
650
+ # resource that will receive the logs.
651
+ # @return [Types::DeliveryDestinationConfiguration]
652
+ #
653
+ # @!attribute [rw] tags
654
+ # The tags that have been assigned to this delivery destination.
655
+ # @return [Hash<String,String>]
656
+ #
657
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeliveryDestination AWS API Documentation
658
+ #
659
+ class DeliveryDestination < Struct.new(
660
+ :name,
661
+ :arn,
662
+ :delivery_destination_type,
663
+ :output_format,
664
+ :delivery_destination_configuration,
665
+ :tags)
666
+ SENSITIVE = []
667
+ include Aws::Structure
668
+ end
669
+
670
+ # A structure that contains information about one logs delivery
671
+ # destination.
672
+ #
673
+ # @!attribute [rw] destination_resource_arn
674
+ # The ARN of the Amazon Web Services destination that this delivery
675
+ # destination represents. That Amazon Web Services destination can be
676
+ # a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery
677
+ # stream in Kinesis Data Firehose.
678
+ # @return [String]
679
+ #
680
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeliveryDestinationConfiguration AWS API Documentation
681
+ #
682
+ class DeliveryDestinationConfiguration < Struct.new(
683
+ :destination_resource_arn)
684
+ SENSITIVE = []
685
+ include Aws::Structure
686
+ end
687
+
688
+ # This structure contains information about one *delivery source* in
689
+ # your account. A delivery source is an Amazon Web Services resource
690
+ # that sends logs to an Amazon Web Services destination. The destination
691
+ # can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
692
+ #
693
+ # Only some Amazon Web Services services support being configured as a
694
+ # delivery source. These services are listed as **Supported \[V2
695
+ # Permissions\]** in the table at [Enabling logging from Amazon Web
696
+ # Services services.][1]
697
+ #
698
+ # To configure logs delivery between a supported Amazon Web Services
699
+ # service and a destination, you must do the following:
700
+ #
701
+ # * Create a delivery source, which is a logical object that represents
702
+ # the resource that is actually sending the logs. For more
703
+ # information, see [PutDeliverySource][2].
704
+ #
705
+ # * Create a *delivery destination*, which is a logical object that
706
+ # represents the actual delivery destination. For more information,
707
+ # see [PutDeliveryDestination][3].
708
+ #
709
+ # * If you are delivering logs cross-account, you must use
710
+ # [PutDeliveryDestinationPolicy][4] in the destination account to
711
+ # assign an IAM policy to the destination. This policy allows delivery
712
+ # to that destination.
713
+ #
714
+ # * Create a *delivery* by pairing exactly one delivery source and one
715
+ # delivery destination. For more information, see [CreateDelivery][5].
716
+ #
717
+ # You can configure a single delivery source to send logs to multiple
718
+ # destinations by creating multiple deliveries. You can also create
719
+ # multiple deliveries to configure multiple delivery sources to send
720
+ # logs to the same delivery destination.
721
+ #
722
+ #
723
+ #
724
+ # [1]: https://docs.aws.amazon.com/ AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions
725
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html
726
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html
727
+ # [4]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationolicy.html
728
+ # [5]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html
729
+ #
730
+ # @!attribute [rw] name
731
+ # The unique name of the delivery source.
732
+ # @return [String]
733
+ #
734
+ # @!attribute [rw] arn
735
+ # The Amazon Resource Name (ARN) that uniquely identifies this
736
+ # delivery source.
737
+ # @return [String]
738
+ #
739
+ # @!attribute [rw] resource_arns
740
+ # This array contains the ARN of the Amazon Web Services resource that
741
+ # sends logs and is represented by this delivery source. Currently,
742
+ # only one ARN can be in the array.
743
+ # @return [Array<String>]
744
+ #
745
+ # @!attribute [rw] service
746
+ # The Amazon Web Services service that is sending logs.
747
+ # @return [String]
748
+ #
749
+ # @!attribute [rw] log_type
750
+ # The type of log that the source is sending. For valid values for
751
+ # this parameter, see the documentation for the source service.
752
+ # @return [String]
753
+ #
754
+ # @!attribute [rw] tags
755
+ # The tags that have been assigned to this delivery source.
756
+ # @return [Hash<String,String>]
757
+ #
758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeliverySource AWS API Documentation
759
+ #
760
+ class DeliverySource < Struct.new(
761
+ :name,
762
+ :arn,
763
+ :resource_arns,
764
+ :service,
765
+ :log_type,
766
+ :tags)
767
+ SENSITIVE = []
768
+ include Aws::Structure
769
+ end
770
+
425
771
  # @!attribute [rw] policy_type
426
772
  # Use this parameter to limit the returned policies to only the
427
773
  # policies that match the policy type that you specify. Currently, the
@@ -467,6 +813,120 @@ module Aws::CloudWatchLogs
467
813
  include Aws::Structure
468
814
  end
469
815
 
816
+ # @!attribute [rw] next_token
817
+ # The token for the next set of items to return. The token expires
818
+ # after 24 hours.
819
+ # @return [String]
820
+ #
821
+ # @!attribute [rw] limit
822
+ # Optionally specify the maximum number of deliveries to return in the
823
+ # response.
824
+ # @return [Integer]
825
+ #
826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDeliveriesRequest AWS API Documentation
827
+ #
828
+ class DescribeDeliveriesRequest < Struct.new(
829
+ :next_token,
830
+ :limit)
831
+ SENSITIVE = []
832
+ include Aws::Structure
833
+ end
834
+
835
+ # @!attribute [rw] deliveries
836
+ # An array of structures. Each structure contains information about
837
+ # one delivery in the account.
838
+ # @return [Array<Types::Delivery>]
839
+ #
840
+ # @!attribute [rw] next_token
841
+ # The token for the next set of items to return. The token expires
842
+ # after 24 hours.
843
+ # @return [String]
844
+ #
845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDeliveriesResponse AWS API Documentation
846
+ #
847
+ class DescribeDeliveriesResponse < Struct.new(
848
+ :deliveries,
849
+ :next_token)
850
+ SENSITIVE = []
851
+ include Aws::Structure
852
+ end
853
+
854
+ # @!attribute [rw] next_token
855
+ # The token for the next set of items to return. The token expires
856
+ # after 24 hours.
857
+ # @return [String]
858
+ #
859
+ # @!attribute [rw] limit
860
+ # Optionally specify the maximum number of delivery destinations to
861
+ # return in the response.
862
+ # @return [Integer]
863
+ #
864
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDeliveryDestinationsRequest AWS API Documentation
865
+ #
866
+ class DescribeDeliveryDestinationsRequest < Struct.new(
867
+ :next_token,
868
+ :limit)
869
+ SENSITIVE = []
870
+ include Aws::Structure
871
+ end
872
+
873
+ # @!attribute [rw] delivery_destinations
874
+ # An array of structures. Each structure contains information about
875
+ # one delivery destination in the account.
876
+ # @return [Array<Types::DeliveryDestination>]
877
+ #
878
+ # @!attribute [rw] next_token
879
+ # The token for the next set of items to return. The token expires
880
+ # after 24 hours.
881
+ # @return [String]
882
+ #
883
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDeliveryDestinationsResponse AWS API Documentation
884
+ #
885
+ class DescribeDeliveryDestinationsResponse < Struct.new(
886
+ :delivery_destinations,
887
+ :next_token)
888
+ SENSITIVE = []
889
+ include Aws::Structure
890
+ end
891
+
892
+ # @!attribute [rw] next_token
893
+ # The token for the next set of items to return. The token expires
894
+ # after 24 hours.
895
+ # @return [String]
896
+ #
897
+ # @!attribute [rw] limit
898
+ # Optionally specify the maximum number of delivery sources to return
899
+ # in the response.
900
+ # @return [Integer]
901
+ #
902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDeliverySourcesRequest AWS API Documentation
903
+ #
904
+ class DescribeDeliverySourcesRequest < Struct.new(
905
+ :next_token,
906
+ :limit)
907
+ SENSITIVE = []
908
+ include Aws::Structure
909
+ end
910
+
911
+ # @!attribute [rw] delivery_sources
912
+ # An array of structures. Each structure contains information about
913
+ # one delivery source in the account.
914
+ # @return [Array<Types::DeliverySource>]
915
+ #
916
+ # @!attribute [rw] next_token
917
+ # The token for the next set of items to return. The token expires
918
+ # after 24 hours.
919
+ # @return [String]
920
+ #
921
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDeliverySourcesResponse AWS API Documentation
922
+ #
923
+ class DescribeDeliverySourcesResponse < Struct.new(
924
+ :delivery_sources,
925
+ :next_token)
926
+ SENSITIVE = []
927
+ include Aws::Structure
928
+ end
929
+
470
930
  # @!attribute [rw] destination_name_prefix
471
931
  # The prefix to match. If you don't specify a value, no prefix filter
472
932
  # is applied.
@@ -1372,6 +1832,103 @@ module Aws::CloudWatchLogs
1372
1832
  include Aws::Structure
1373
1833
  end
1374
1834
 
1835
+ # @!attribute [rw] delivery_destination_name
1836
+ # The name of the delivery destination that you want to retrieve the
1837
+ # policy of.
1838
+ # @return [String]
1839
+ #
1840
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetDeliveryDestinationPolicyRequest AWS API Documentation
1841
+ #
1842
+ class GetDeliveryDestinationPolicyRequest < Struct.new(
1843
+ :delivery_destination_name)
1844
+ SENSITIVE = []
1845
+ include Aws::Structure
1846
+ end
1847
+
1848
+ # @!attribute [rw] policy
1849
+ # The IAM policy for this delivery destination.
1850
+ # @return [Types::Policy]
1851
+ #
1852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetDeliveryDestinationPolicyResponse AWS API Documentation
1853
+ #
1854
+ class GetDeliveryDestinationPolicyResponse < Struct.new(
1855
+ :policy)
1856
+ SENSITIVE = []
1857
+ include Aws::Structure
1858
+ end
1859
+
1860
+ # @!attribute [rw] name
1861
+ # The name of the delivery destination that you want to retrieve.
1862
+ # @return [String]
1863
+ #
1864
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetDeliveryDestinationRequest AWS API Documentation
1865
+ #
1866
+ class GetDeliveryDestinationRequest < Struct.new(
1867
+ :name)
1868
+ SENSITIVE = []
1869
+ include Aws::Structure
1870
+ end
1871
+
1872
+ # @!attribute [rw] delivery_destination
1873
+ # A structure containing information about the delivery destination.
1874
+ # @return [Types::DeliveryDestination]
1875
+ #
1876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetDeliveryDestinationResponse AWS API Documentation
1877
+ #
1878
+ class GetDeliveryDestinationResponse < Struct.new(
1879
+ :delivery_destination)
1880
+ SENSITIVE = []
1881
+ include Aws::Structure
1882
+ end
1883
+
1884
+ # @!attribute [rw] id
1885
+ # The ID of the delivery that you want to retrieve.
1886
+ # @return [String]
1887
+ #
1888
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetDeliveryRequest AWS API Documentation
1889
+ #
1890
+ class GetDeliveryRequest < Struct.new(
1891
+ :id)
1892
+ SENSITIVE = []
1893
+ include Aws::Structure
1894
+ end
1895
+
1896
+ # @!attribute [rw] delivery
1897
+ # A structure that contains information about the delivery.
1898
+ # @return [Types::Delivery]
1899
+ #
1900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetDeliveryResponse AWS API Documentation
1901
+ #
1902
+ class GetDeliveryResponse < Struct.new(
1903
+ :delivery)
1904
+ SENSITIVE = []
1905
+ include Aws::Structure
1906
+ end
1907
+
1908
+ # @!attribute [rw] name
1909
+ # The name of the delivery source that you want to retrieve.
1910
+ # @return [String]
1911
+ #
1912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetDeliverySourceRequest AWS API Documentation
1913
+ #
1914
+ class GetDeliverySourceRequest < Struct.new(
1915
+ :name)
1916
+ SENSITIVE = []
1917
+ include Aws::Structure
1918
+ end
1919
+
1920
+ # @!attribute [rw] delivery_source
1921
+ # A structure containing information about the delivery source.
1922
+ # @return [Types::DeliverySource]
1923
+ #
1924
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetDeliverySourceResponse AWS API Documentation
1925
+ #
1926
+ class GetDeliverySourceResponse < Struct.new(
1927
+ :delivery_source)
1928
+ SENSITIVE = []
1929
+ include Aws::Structure
1930
+ end
1931
+
1375
1932
  # @!attribute [rw] log_group_name
1376
1933
  # The name of the log group.
1377
1934
  #
@@ -2106,6 +2663,21 @@ module Aws::CloudWatchLogs
2106
2663
  include Aws::Structure
2107
2664
  end
2108
2665
 
2666
+ # A structure that contains information about one delivery destination
2667
+ # policy.
2668
+ #
2669
+ # @!attribute [rw] delivery_destination_policy
2670
+ # The contents of the delivery destination policy.
2671
+ # @return [String]
2672
+ #
2673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/Policy AWS API Documentation
2674
+ #
2675
+ class Policy < Struct.new(
2676
+ :delivery_destination_policy)
2677
+ SENSITIVE = []
2678
+ include Aws::Structure
2679
+ end
2680
+
2109
2681
  # @!attribute [rw] policy_name
2110
2682
  # A name for the policy. This must be unique within the account.
2111
2683
  # @return [String]
@@ -2273,6 +2845,135 @@ module Aws::CloudWatchLogs
2273
2845
  include Aws::Structure
2274
2846
  end
2275
2847
 
2848
+ # @!attribute [rw] delivery_destination_name
2849
+ # The name of the delivery destination to assign this policy to.
2850
+ # @return [String]
2851
+ #
2852
+ # @!attribute [rw] delivery_destination_policy
2853
+ # The contents of the policy.
2854
+ # @return [String]
2855
+ #
2856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDeliveryDestinationPolicyRequest AWS API Documentation
2857
+ #
2858
+ class PutDeliveryDestinationPolicyRequest < Struct.new(
2859
+ :delivery_destination_name,
2860
+ :delivery_destination_policy)
2861
+ SENSITIVE = []
2862
+ include Aws::Structure
2863
+ end
2864
+
2865
+ # @!attribute [rw] policy
2866
+ # The contents of the policy that you just created.
2867
+ # @return [Types::Policy]
2868
+ #
2869
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDeliveryDestinationPolicyResponse AWS API Documentation
2870
+ #
2871
+ class PutDeliveryDestinationPolicyResponse < Struct.new(
2872
+ :policy)
2873
+ SENSITIVE = []
2874
+ include Aws::Structure
2875
+ end
2876
+
2877
+ # @!attribute [rw] name
2878
+ # A name for this delivery destination. This name must be unique for
2879
+ # all delivery destinations in your account.
2880
+ # @return [String]
2881
+ #
2882
+ # @!attribute [rw] output_format
2883
+ # The format for the logs that this delivery destination will receive.
2884
+ # @return [String]
2885
+ #
2886
+ # @!attribute [rw] delivery_destination_configuration
2887
+ # A structure that contains the ARN of the Amazon Web Services
2888
+ # resource that will receive the logs.
2889
+ # @return [Types::DeliveryDestinationConfiguration]
2890
+ #
2891
+ # @!attribute [rw] tags
2892
+ # An optional list of key-value pairs to associate with the resource.
2893
+ #
2894
+ # For more information about tagging, see [Tagging Amazon Web Services
2895
+ # resources][1]
2896
+ #
2897
+ #
2898
+ #
2899
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
2900
+ # @return [Hash<String,String>]
2901
+ #
2902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDeliveryDestinationRequest AWS API Documentation
2903
+ #
2904
+ class PutDeliveryDestinationRequest < Struct.new(
2905
+ :name,
2906
+ :output_format,
2907
+ :delivery_destination_configuration,
2908
+ :tags)
2909
+ SENSITIVE = []
2910
+ include Aws::Structure
2911
+ end
2912
+
2913
+ # @!attribute [rw] delivery_destination
2914
+ # A structure containing information about the delivery destination
2915
+ # that you just created or updated.
2916
+ # @return [Types::DeliveryDestination]
2917
+ #
2918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDeliveryDestinationResponse AWS API Documentation
2919
+ #
2920
+ class PutDeliveryDestinationResponse < Struct.new(
2921
+ :delivery_destination)
2922
+ SENSITIVE = []
2923
+ include Aws::Structure
2924
+ end
2925
+
2926
+ # @!attribute [rw] name
2927
+ # A name for this delivery source. This name must be unique for all
2928
+ # delivery sources in your account.
2929
+ # @return [String]
2930
+ #
2931
+ # @!attribute [rw] resource_arn
2932
+ # The ARN of the Amazon Web Services resource that is generating and
2933
+ # sending logs. For example,
2934
+ # `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`
2935
+ # @return [String]
2936
+ #
2937
+ # @!attribute [rw] log_type
2938
+ # Defines the type of log that the source is sending. For valid values
2939
+ # for this parameter, see the documentation for the source service.
2940
+ # @return [String]
2941
+ #
2942
+ # @!attribute [rw] tags
2943
+ # An optional list of key-value pairs to associate with the resource.
2944
+ #
2945
+ # For more information about tagging, see [Tagging Amazon Web Services
2946
+ # resources][1]
2947
+ #
2948
+ #
2949
+ #
2950
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
2951
+ # @return [Hash<String,String>]
2952
+ #
2953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDeliverySourceRequest AWS API Documentation
2954
+ #
2955
+ class PutDeliverySourceRequest < Struct.new(
2956
+ :name,
2957
+ :resource_arn,
2958
+ :log_type,
2959
+ :tags)
2960
+ SENSITIVE = []
2961
+ include Aws::Structure
2962
+ end
2963
+
2964
+ # @!attribute [rw] delivery_source
2965
+ # A structure containing information about the delivery source that
2966
+ # was just created or updated.
2967
+ # @return [Types::DeliverySource]
2968
+ #
2969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDeliverySourceResponse AWS API Documentation
2970
+ #
2971
+ class PutDeliverySourceResponse < Struct.new(
2972
+ :delivery_source)
2973
+ SENSITIVE = []
2974
+ include Aws::Structure
2975
+ end
2976
+
2276
2977
  # @!attribute [rw] destination_name
2277
2978
  # A name for an existing destination.
2278
2979
  # @return [String]
@@ -2933,6 +3634,12 @@ module Aws::CloudWatchLogs
2933
3634
  include Aws::Structure
2934
3635
  end
2935
3636
 
3637
+ # This request exceeds a service quota.
3638
+ #
3639
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ServiceQuotaExceededException AWS API Documentation
3640
+ #
3641
+ class ServiceQuotaExceededException < Aws::EmptyStructure; end
3642
+
2936
3643
  # The service cannot complete the request.
2937
3644
  #
2938
3645
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ServiceUnavailableException AWS API Documentation
@@ -3182,6 +3889,12 @@ module Aws::CloudWatchLogs
3182
3889
  include Aws::Structure
3183
3890
  end
3184
3891
 
3892
+ # The request was throttled because of quota limits.
3893
+ #
3894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ThrottlingException AWS API Documentation
3895
+ #
3896
+ class ThrottlingException < Aws::EmptyStructure; end
3897
+
3185
3898
  # A resource can have no more than 50 tags.
3186
3899
  #
3187
3900
  # @!attribute [rw] message
@@ -3255,5 +3968,11 @@ module Aws::CloudWatchLogs
3255
3968
  include Aws::Structure
3256
3969
  end
3257
3970
 
3971
+ # One of the parameters for the request is not valid.
3972
+ #
3973
+ # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ValidationException AWS API Documentation
3974
+ #
3975
+ class ValidationException < Aws::EmptyStructure; end
3976
+
3258
3977
  end
3259
3978
  end