aws-sdk-cloudwatchlogs 1.78.0 → 1.79.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3650741ac61989533f0c4da21d9f25349a93c5eed823ad5cd309d118d2b9596
4
- data.tar.gz: 37101c00e49dbf99e69e91b449d681b3d41fb7e67cf1c4b1b7d90a791a5834d3
3
+ metadata.gz: 4410a18c6d11ef7163f799e49d08da4badbbd80662a5947c2ae9087d54812210
4
+ data.tar.gz: a9003066dc1616d0bed560cd03ee7b3c2b9e6c41d96269fb52831f439b2e4caa
5
5
  SHA512:
6
- metadata.gz: f5343b73f4728d1e0f9a9346c0117f715fe8b9614a9142c0e054a78a1b58244b8cb00d5e0d3f4631d364b41930ab9eab9645d7b2682f3f47c242eeebd899f919
7
- data.tar.gz: 24f9b2b77d40ec020a908eb5aa49c295e04328701ef6a7d13457897d851a437f868fbc300fa3dbd51430254f782f2d404cc8eb26295a8bdbb15329bbd4cf1d52
6
+ metadata.gz: 7d8d88aba78dd18b7564c8d9ed9867bb0f00d9ec1e6089d521fcbf725fde8ccb8012adaebfda772d8997967155265cfd050e029084d7e756e7779ad78ddeded0
7
+ data.tar.gz: 9cda1ffae9dc2377d9019304099bae61c02de922484e95f2c58699a58c226be6176fa113843ebc8b05d85cec16dfe638bad2e83d53a5ddc1e251cb82a21a1671
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.79.0 (2024-02-06)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action.
8
+
4
9
  1.78.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.78.0
1
+ 1.79.0
@@ -889,6 +889,8 @@ module Aws::CloudWatchLogs
889
889
  # '\_' (underscore), '-' (hyphen), '/' (forward slash), '.'
890
890
  # (period), and '#' (number sign)
891
891
  #
892
+ # * Log group names can't start with the string `aws/`
893
+ #
892
894
  # When you create a log group, by default the log events in the log
893
895
  # group do not expire. To set a retention policy so that events expire
894
896
  # and are deleted after a specified time, use [PutRetentionPolicy][1].
@@ -1519,6 +1521,22 @@ module Aws::CloudWatchLogs
1519
1521
  # Retrieves a list of the deliveries that have been created in the
1520
1522
  # account.
1521
1523
  #
1524
+ # A *delivery* is a connection between a [ *delivery source* ][1] and a
1525
+ # [ *delivery destination* ][2].
1526
+ #
1527
+ # A delivery source represents an Amazon Web Services resource that
1528
+ # sends logs to an logs delivery destination. The destination can be
1529
+ # CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. Only some Amazon
1530
+ # Web Services services support being configured as a delivery source.
1531
+ # These services are listed in [Enable logging from Amazon Web Services
1532
+ # services.][3]
1533
+ #
1534
+ #
1535
+ #
1536
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html
1537
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html
1538
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html
1539
+ #
1522
1540
  # @option params [String] :next_token
1523
1541
  # The token for the next set of items to return. The token expires after
1524
1542
  # 24 hours.
@@ -1879,6 +1897,7 @@ module Aws::CloudWatchLogs
1879
1897
  # resp.log_groups[0].inherited_properties #=> Array
1880
1898
  # resp.log_groups[0].inherited_properties[0] #=> String, one of "ACCOUNT_DATA_PROTECTION"
1881
1899
  # resp.log_groups[0].log_group_class #=> String, one of "STANDARD", "INFREQUENT_ACCESS"
1900
+ # resp.log_groups[0].log_group_arn #=> String
1882
1901
  # resp.next_token #=> String
1883
1902
  #
1884
1903
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups AWS API Documentation
@@ -2548,17 +2567,27 @@ module Aws::CloudWatchLogs
2548
2567
  req.send_request(options)
2549
2568
  end
2550
2569
 
2551
- # Returns complete information about one *delivery*. A delivery is a
2552
- # connection between a logical *delivery source* and a logical *delivery
2553
- # destination*
2570
+ # Returns complete information about one logical *delivery*. A delivery
2571
+ # is a connection between a [ *delivery source* ][1] and a [ *delivery
2572
+ # destination* ][2].
2573
+ #
2574
+ # A delivery source represents an Amazon Web Services resource that
2575
+ # sends logs to an logs delivery destination. The destination can be
2576
+ # CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. Only some Amazon
2577
+ # Web Services services support being configured as a delivery source.
2578
+ # These services are listed in [Enable logging from Amazon Web Services
2579
+ # services.][3]
2554
2580
  #
2555
2581
  # You need to specify the delivery `id` in this operation. You can find
2556
2582
  # the IDs of the deliveries in your account with the
2557
- # [DescribeDeliveries][1] operation.
2583
+ # [DescribeDeliveries][4] operation.
2558
2584
  #
2559
2585
  #
2560
2586
  #
2561
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html
2587
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html
2588
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html
2589
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html
2590
+ # [4]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDeliveries.html
2562
2591
  #
2563
2592
  # @option params [required, String] :id
2564
2593
  # The ID of the delivery that you want to retrieve.
@@ -3837,8 +3866,8 @@ module Aws::CloudWatchLogs
3837
3866
  # `arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234`
3838
3867
  #
3839
3868
  # @option params [required, String] :log_type
3840
- # Defines the type of log that the source is sending. For valid values
3841
- # for this parameter, see the documentation for the source service.
3869
+ # Defines the type of log that the source is sending. For Amazon
3870
+ # CodeWhisperer, the valid value is `EVENT_LOGS`.
3842
3871
  #
3843
3872
  # @option params [Hash<String,String>] :tags
3844
3873
  # An optional list of key-value pairs to associate with the resource.
@@ -5320,7 +5349,7 @@ module Aws::CloudWatchLogs
5320
5349
  params: params,
5321
5350
  config: config)
5322
5351
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
5323
- context[:gem_version] = '1.78.0'
5352
+ context[:gem_version] = '1.79.0'
5324
5353
  Seahorse::Client::Request.new(handlers, context)
5325
5354
  end
5326
5355
 
@@ -914,6 +914,7 @@ module Aws::CloudWatchLogs
914
914
  LogGroup.add_member(:data_protection_status, Shapes::ShapeRef.new(shape: DataProtectionStatus, location_name: "dataProtectionStatus"))
915
915
  LogGroup.add_member(:inherited_properties, Shapes::ShapeRef.new(shape: InheritedProperties, location_name: "inheritedProperties"))
916
916
  LogGroup.add_member(:log_group_class, Shapes::ShapeRef.new(shape: LogGroupClass, location_name: "logGroupClass"))
917
+ LogGroup.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "logGroupArn"))
917
918
  LogGroup.struct_class = Types::LogGroup
918
919
 
919
920
  LogGroupArnList.member = Shapes::ShapeRef.new(shape: LogGroupArn)
@@ -3036,7 +3036,20 @@ module Aws::CloudWatchLogs
3036
3036
  # @return [Integer]
3037
3037
  #
3038
3038
  # @!attribute [rw] arn
3039
- # The Amazon Resource Name (ARN) of the log group.
3039
+ # The Amazon Resource Name (ARN) of the log group. This version of the
3040
+ # ARN includes a trailing `:*` after the log group name.
3041
+ #
3042
+ # Use this version to refer to the ARN in IAM policies when specifying
3043
+ # permissions for most API actions. The exception is when specifying
3044
+ # permissions for [TagResource][1], [UntagResource][2], and
3045
+ # [ListTagsForResource][3]. The permissions for those three actions
3046
+ # require the ARN version that doesn't include a trailing `:*`.
3047
+ #
3048
+ #
3049
+ #
3050
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html
3051
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html
3052
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html
3040
3053
  # @return [String]
3041
3054
  #
3042
3055
  # @!attribute [rw] stored_bytes
@@ -3080,6 +3093,27 @@ module Aws::CloudWatchLogs
3080
3093
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html
3081
3094
  # @return [String]
3082
3095
  #
3096
+ # @!attribute [rw] log_group_arn
3097
+ # The Amazon Resource Name (ARN) of the log group. This version of the
3098
+ # ARN doesn't include a trailing `:*` after the log group name.
3099
+ #
3100
+ # Use this version to refer to the ARN in the following situations:
3101
+ #
3102
+ # * In the `logGroupIdentifier` input field in many CloudWatch Logs
3103
+ # APIs.
3104
+ #
3105
+ # * In the `resourceArn` field in tagging APIs
3106
+ #
3107
+ # * In IAM policies, when specifying permissions for [TagResource][1],
3108
+ # [UntagResource][2], and [ListTagsForResource][3].
3109
+ #
3110
+ #
3111
+ #
3112
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html
3113
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UntagResource.html
3114
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListTagsForResource.html
3115
+ # @return [String]
3116
+ #
3083
3117
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogGroup AWS API Documentation
3084
3118
  #
3085
3119
  class LogGroup < Struct.new(
@@ -3092,7 +3126,8 @@ module Aws::CloudWatchLogs
3092
3126
  :kms_key_id,
3093
3127
  :data_protection_status,
3094
3128
  :inherited_properties,
3095
- :log_group_class)
3129
+ :log_group_class,
3130
+ :log_group_arn)
3096
3131
  SENSITIVE = []
3097
3132
  include Aws::Structure
3098
3133
  end
@@ -3751,8 +3786,8 @@ module Aws::CloudWatchLogs
3751
3786
  # @return [String]
3752
3787
  #
3753
3788
  # @!attribute [rw] log_type
3754
- # Defines the type of log that the source is sending. For valid values
3755
- # for this parameter, see the documentation for the source service.
3789
+ # Defines the type of log that the source is sending. For Amazon
3790
+ # CodeWhisperer, the valid value is `EVENT_LOGS`.
3756
3791
  # @return [String]
3757
3792
  #
3758
3793
  # @!attribute [rw] tags
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-cloudwatchlogs/event_streams'
53
53
  # @!group service
54
54
  module Aws::CloudWatchLogs
55
55
 
56
- GEM_VERSION = '1.78.0'
56
+ GEM_VERSION = '1.79.0'
57
57
 
58
58
  end
data/sig/types.rbs CHANGED
@@ -742,6 +742,7 @@ module Aws::CloudWatchLogs
742
742
  attr_accessor data_protection_status: ("ACTIVATED" | "DELETED" | "ARCHIVED" | "DISABLED")
743
743
  attr_accessor inherited_properties: ::Array[("ACCOUNT_DATA_PROTECTION")]
744
744
  attr_accessor log_group_class: ("STANDARD" | "INFREQUENT_ACCESS")
745
+ attr_accessor log_group_arn: ::String
745
746
  SENSITIVE: []
746
747
  end
747
748
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.78.0
4
+ version: 1.79.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core