aws-sdk-cloudwatchlogs 1.119.0 → 1.120.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: 94aff2096923bd9783dfe82f24d55417156674fde099b106b93f4e668fd6e490
4
- data.tar.gz: c5786e465cce6434ca4d4a6aef86762d95459cc147f958e5ac6c598c1f44e1b7
3
+ metadata.gz: b548ec7798101ff85512a1011bfed913b96a1551c84c40bf9d0c3b3a3dea52a5
4
+ data.tar.gz: d4467d8dde0382024c593dd1d3738e061fd486e71e2ef3c3947e05e4cbcfa82d
5
5
  SHA512:
6
- metadata.gz: f374efc0b48e248392a234fe7752597ed6af29bcb8d0bcc528a68daa86c8b9d0eeae62667f3acefd94b33763a9378d388d08e5994ac397dbd1a1fe4a1a760255
7
- data.tar.gz: 7acac48bfaaa354bb25d5c5253b87b6ff75eb8b5ec5c16902fd0333c4e9de938bf621db3caba5e76a5dbce94cb9ebba7248d944ca723be3411434d1c9f18bab6
6
+ metadata.gz: 88695fa0001ecc33b3e11f1f20fd4b22bc2a44e440847d224cba14bbb1fa38770d869905545150d33f32154750d6f3bf6516b3cc6fe614637128b75677fb13fe
7
+ data.tar.gz: 44521b55eedf6cf0e392bc330c203247a599206e99015cc12adb1ff19e61ee011b9018328ab40e10da94f3a9b4fd4a75746968de3b09bf7f8789443fce615505
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.120.0 (2025-07-16)
5
+ ------------------
6
+
7
+ * Feature - CloudWatch Logs updates: Added X-Ray tracing for Amazon Bedrock Agent resources. Logs introduced Log Group level resource policies (managed through Put/Delete/Describe Resource Policy APIs). For more information, see CloudWatch Logs API documentation.
8
+
4
9
  1.119.0 (2025-06-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.119.0
1
+ 1.120.0
@@ -648,7 +648,7 @@ module Aws::CloudWatchLogs
648
648
  # from Amazon Web Services services.][1]
649
649
  #
650
650
  # A delivery destination can represent a log group in CloudWatch Logs,
651
- # an Amazon S3 bucket, or a delivery stream in Firehose.
651
+ # an Amazon S3 bucket, a delivery stream in Firehose, or X-Ray.
652
652
  #
653
653
  # To configure logs delivery between a supported Amazon Web Services
654
654
  # service and a destination, you must do the following:
@@ -740,7 +740,7 @@ module Aws::CloudWatchLogs
740
740
  # resp.delivery.arn #=> String
741
741
  # resp.delivery.delivery_source_name #=> String
742
742
  # resp.delivery.delivery_destination_arn #=> String
743
- # resp.delivery.delivery_destination_type #=> String, one of "S3", "CWL", "FH"
743
+ # resp.delivery.delivery_destination_type #=> String, one of "S3", "CWL", "FH", "XRAY"
744
744
  # resp.delivery.record_fields #=> Array
745
745
  # resp.delivery.record_fields[0] #=> String
746
746
  # resp.delivery.field_delimiter #=> String
@@ -1273,7 +1273,7 @@ module Aws::CloudWatchLogs
1273
1273
  #
1274
1274
  # @option params [required, String] :name
1275
1275
  # The name of the delivery destination that you want to delete. You can
1276
- # find a list of delivery destionation names by using the
1276
+ # find a list of delivery destination names by using the
1277
1277
  # [DescribeDeliveryDestinations][1] operation.
1278
1278
  #
1279
1279
  #
@@ -1610,12 +1610,22 @@ module Aws::CloudWatchLogs
1610
1610
  # @option params [String] :policy_name
1611
1611
  # The name of the policy to be revoked. This parameter is required.
1612
1612
  #
1613
+ # @option params [String] :resource_arn
1614
+ # The ARN of the CloudWatch Logs resource for which the resource policy
1615
+ # needs to be deleted
1616
+ #
1617
+ # @option params [String] :expected_revision_id
1618
+ # The expected revision ID of the resource policy. Required when
1619
+ # deleting a resource-scoped policy to prevent concurrent modifications.
1620
+ #
1613
1621
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1614
1622
  #
1615
1623
  # @example Request syntax with placeholder values
1616
1624
  #
1617
1625
  # resp = client.delete_resource_policy({
1618
1626
  # policy_name: "PolicyName",
1627
+ # resource_arn: "Arn",
1628
+ # expected_revision_id: "ExpectedRevisionId",
1619
1629
  # })
1620
1630
  #
1621
1631
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicy AWS API Documentation
@@ -1839,7 +1849,7 @@ module Aws::CloudWatchLogs
1839
1849
  # service: "Service",
1840
1850
  # log_types: ["LogType"],
1841
1851
  # resource_types: ["ResourceType"],
1842
- # delivery_destination_types: ["S3"], # accepts S3, CWL, FH
1852
+ # delivery_destination_types: ["S3"], # accepts S3, CWL, FH, XRAY
1843
1853
  # next_token: "NextToken",
1844
1854
  # limit: 1,
1845
1855
  # })
@@ -1850,7 +1860,7 @@ module Aws::CloudWatchLogs
1850
1860
  # resp.configuration_templates[0].service #=> String
1851
1861
  # resp.configuration_templates[0].log_type #=> String
1852
1862
  # resp.configuration_templates[0].resource_type #=> String
1853
- # resp.configuration_templates[0].delivery_destination_type #=> String, one of "S3", "CWL", "FH"
1863
+ # resp.configuration_templates[0].delivery_destination_type #=> String, one of "S3", "CWL", "FH", "XRAY"
1854
1864
  # resp.configuration_templates[0].default_delivery_config_values.record_fields #=> Array
1855
1865
  # resp.configuration_templates[0].default_delivery_config_values.record_fields[0] #=> String
1856
1866
  # resp.configuration_templates[0].default_delivery_config_values.field_delimiter #=> String
@@ -1885,9 +1895,10 @@ module Aws::CloudWatchLogs
1885
1895
  #
1886
1896
  # A delivery source represents an Amazon Web Services resource that
1887
1897
  # sends logs to an logs delivery destination. The destination can be
1888
- # CloudWatch Logs, Amazon S3, or Firehose. Only some Amazon Web Services
1889
- # services support being configured as a delivery source. These services
1890
- # are listed in [Enable logging from Amazon Web Services services.][3]
1898
+ # CloudWatch Logs, Amazon S3, Firehose or X-Ray. Only some Amazon Web
1899
+ # Services services support being configured as a delivery source. These
1900
+ # services are listed in [Enable logging from Amazon Web Services
1901
+ # services.][3]
1891
1902
  #
1892
1903
  #
1893
1904
  #
@@ -1924,7 +1935,7 @@ module Aws::CloudWatchLogs
1924
1935
  # resp.deliveries[0].arn #=> String
1925
1936
  # resp.deliveries[0].delivery_source_name #=> String
1926
1937
  # resp.deliveries[0].delivery_destination_arn #=> String
1927
- # resp.deliveries[0].delivery_destination_type #=> String, one of "S3", "CWL", "FH"
1938
+ # resp.deliveries[0].delivery_destination_type #=> String, one of "S3", "CWL", "FH", "XRAY"
1928
1939
  # resp.deliveries[0].record_fields #=> Array
1929
1940
  # resp.deliveries[0].record_fields[0] #=> String
1930
1941
  # resp.deliveries[0].field_delimiter #=> String
@@ -1973,7 +1984,7 @@ module Aws::CloudWatchLogs
1973
1984
  # resp.delivery_destinations #=> Array
1974
1985
  # resp.delivery_destinations[0].name #=> String
1975
1986
  # resp.delivery_destinations[0].arn #=> String
1976
- # resp.delivery_destinations[0].delivery_destination_type #=> String, one of "S3", "CWL", "FH"
1987
+ # resp.delivery_destinations[0].delivery_destination_type #=> String, one of "S3", "CWL", "FH", "XRAY"
1977
1988
  # resp.delivery_destinations[0].output_format #=> String, one of "json", "plain", "w3c", "raw", "parquet"
1978
1989
  # resp.delivery_destinations[0].delivery_destination_configuration.destination_resource_arn #=> String
1979
1990
  # resp.delivery_destinations[0].tags #=> Hash
@@ -2285,9 +2296,10 @@ module Aws::CloudWatchLogs
2285
2296
  # @option params [String] :log_group_name_pattern
2286
2297
  # If you specify a string for this parameter, the operation returns only
2287
2298
  # log groups that have names that match the string based on a
2288
- # case-sensitive substring search. For example, if you specify `Foo`,
2289
- # log groups named `FooBar`, `aws/Foo`, and `GroupFoo` would match, but
2290
- # `foo`, `F/o/o` and `Froo` would not match.
2299
+ # case-sensitive substring search. For example, if you specify
2300
+ # `DataLogs`, log groups named `DataLogs`, `aws/DataLogs`, and
2301
+ # `GroupDataLogs` would match, but `datalogs`, `Data/log/s` and
2302
+ # `Groupdata` would not match.
2291
2303
  #
2292
2304
  # If you specify `logGroupNamePattern` in your request, then only `arn`,
2293
2305
  # `creationTime`, and `logGroupName` are included in the response.
@@ -2720,6 +2732,14 @@ module Aws::CloudWatchLogs
2720
2732
  # The maximum number of resource policies to be displayed with one call
2721
2733
  # of this API.
2722
2734
  #
2735
+ # @option params [String] :resource_arn
2736
+ # The ARN of the CloudWatch Logs resource for which to query the
2737
+ # resource policy.
2738
+ #
2739
+ # @option params [String] :policy_scope
2740
+ # Specifies the scope of the resource policy. Valid values are `ACCOUNT`
2741
+ # or `RESOURCE`. When not specified, defaults to `ACCOUNT`.
2742
+ #
2723
2743
  # @return [Types::DescribeResourcePoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2724
2744
  #
2725
2745
  # * {Types::DescribeResourcePoliciesResponse#resource_policies #resource_policies} => Array<Types::ResourcePolicy>
@@ -2730,6 +2750,8 @@ module Aws::CloudWatchLogs
2730
2750
  # resp = client.describe_resource_policies({
2731
2751
  # next_token: "NextToken",
2732
2752
  # limit: 1,
2753
+ # resource_arn: "Arn",
2754
+ # policy_scope: "ACCOUNT", # accepts ACCOUNT, RESOURCE
2733
2755
  # })
2734
2756
  #
2735
2757
  # @example Response structure
@@ -2738,6 +2760,9 @@ module Aws::CloudWatchLogs
2738
2760
  # resp.resource_policies[0].policy_name #=> String
2739
2761
  # resp.resource_policies[0].policy_document #=> String
2740
2762
  # resp.resource_policies[0].last_updated_time #=> Integer
2763
+ # resp.resource_policies[0].policy_scope #=> String, one of "ACCOUNT", "RESOURCE"
2764
+ # resp.resource_policies[0].resource_arn #=> String
2765
+ # resp.resource_policies[0].revision_id #=> String
2741
2766
  # resp.next_token #=> String
2742
2767
  #
2743
2768
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePolicies AWS API Documentation
@@ -3141,7 +3166,7 @@ module Aws::CloudWatchLogs
3141
3166
  # resp.delivery.arn #=> String
3142
3167
  # resp.delivery.delivery_source_name #=> String
3143
3168
  # resp.delivery.delivery_destination_arn #=> String
3144
- # resp.delivery.delivery_destination_type #=> String, one of "S3", "CWL", "FH"
3169
+ # resp.delivery.delivery_destination_type #=> String, one of "S3", "CWL", "FH", "XRAY"
3145
3170
  # resp.delivery.record_fields #=> Array
3146
3171
  # resp.delivery.record_fields[0] #=> String
3147
3172
  # resp.delivery.field_delimiter #=> String
@@ -3178,7 +3203,7 @@ module Aws::CloudWatchLogs
3178
3203
  #
3179
3204
  # resp.delivery_destination.name #=> String
3180
3205
  # resp.delivery_destination.arn #=> String
3181
- # resp.delivery_destination.delivery_destination_type #=> String, one of "S3", "CWL", "FH"
3206
+ # resp.delivery_destination.delivery_destination_type #=> String, one of "S3", "CWL", "FH", "XRAY"
3182
3207
  # resp.delivery_destination.output_format #=> String, one of "json", "plain", "w3c", "raw", "parquet"
3183
3208
  # resp.delivery_destination.delivery_destination_configuration.destination_resource_arn #=> String
3184
3209
  # resp.delivery_destination.tags #=> Hash
@@ -4270,7 +4295,8 @@ module Aws::CloudWatchLogs
4270
4295
  # permissions.
4271
4296
  #
4272
4297
  # * To create a subscription filter policy, you must have the
4273
- # `logs:PutSubscriptionFilter` and `logs:PutccountPolicy` permissions.
4298
+ # `logs:PutSubscriptionFilter` and `logs:PutAccountPolicy`
4299
+ # permissions.
4274
4300
  #
4275
4301
  # * To create a transformer policy, you must have the
4276
4302
  # `logs:PutTransformer` and `logs:PutAccountPolicy` permissions.
@@ -4746,7 +4772,8 @@ module Aws::CloudWatchLogs
4746
4772
  # Creates or updates a logical *delivery destination*. A delivery
4747
4773
  # destination is an Amazon Web Services resource that represents an
4748
4774
  # Amazon Web Services service that logs can be sent to. CloudWatch Logs,
4749
- # Amazon S3, and Firehose are supported as logs delivery destinations.
4775
+ # Amazon S3, and Firehose are supported as logs delivery destinations
4776
+ # and X-Ray as the trace delivery destination.
4750
4777
  #
4751
4778
  # To configure logs delivery between a supported Amazon Web Services
4752
4779
  # service and a destination, you must do the following:
@@ -4797,10 +4824,34 @@ module Aws::CloudWatchLogs
4797
4824
  # @option params [String] :output_format
4798
4825
  # The format for the logs that this delivery destination will receive.
4799
4826
  #
4800
- # @option params [required, Types::DeliveryDestinationConfiguration] :delivery_destination_configuration
4827
+ # @option params [Types::DeliveryDestinationConfiguration] :delivery_destination_configuration
4801
4828
  # A structure that contains the ARN of the Amazon Web Services resource
4802
4829
  # that will receive the logs.
4803
4830
  #
4831
+ # <note markdown="1"> `deliveryDestinationConfiguration` is required for CloudWatch Logs,
4832
+ # Amazon S3, Firehose log delivery destinations and not required for
4833
+ # X-Ray trace delivery destinations. `deliveryDestinationType` is needed
4834
+ # for X-Ray trace delivery destinations but not required for other logs
4835
+ # delivery destinations.
4836
+ #
4837
+ # </note>
4838
+ #
4839
+ # @option params [String] :delivery_destination_type
4840
+ # The type of delivery destination. This parameter specifies the target
4841
+ # service where log data will be delivered. Valid values include:
4842
+ #
4843
+ # * `S3` - Amazon S3 for long-term storage and analytics
4844
+ #
4845
+ # * `CWL` - CloudWatch Logs for centralized log management
4846
+ #
4847
+ # * `FH` - Amazon Kinesis Data Firehose for real-time data streaming
4848
+ #
4849
+ # * `XRAY` - Amazon Web Services X-Ray for distributed tracing and
4850
+ # application monitoring
4851
+ #
4852
+ # The delivery destination type determines the format and configuration
4853
+ # options available for log delivery.
4854
+ #
4804
4855
  # @option params [Hash<String,String>] :tags
4805
4856
  # An optional list of key-value pairs to associate with the resource.
4806
4857
  #
@@ -4820,9 +4871,10 @@ module Aws::CloudWatchLogs
4820
4871
  # resp = client.put_delivery_destination({
4821
4872
  # name: "DeliveryDestinationName", # required
4822
4873
  # output_format: "json", # accepts json, plain, w3c, raw, parquet
4823
- # delivery_destination_configuration: { # required
4874
+ # delivery_destination_configuration: {
4824
4875
  # destination_resource_arn: "Arn", # required
4825
4876
  # },
4877
+ # delivery_destination_type: "S3", # accepts S3, CWL, FH, XRAY
4826
4878
  # tags: {
4827
4879
  # "TagKey" => "TagValue",
4828
4880
  # },
@@ -4832,7 +4884,7 @@ module Aws::CloudWatchLogs
4832
4884
  #
4833
4885
  # resp.delivery_destination.name #=> String
4834
4886
  # resp.delivery_destination.arn #=> String
4835
- # resp.delivery_destination.delivery_destination_type #=> String, one of "S3", "CWL", "FH"
4887
+ # resp.delivery_destination.delivery_destination_type #=> String, one of "S3", "CWL", "FH", "XRAY"
4836
4888
  # resp.delivery_destination.output_format #=> String, one of "json", "plain", "w3c", "raw", "parquet"
4837
4889
  # resp.delivery_destination.delivery_destination_configuration.destination_resource_arn #=> String
4838
4890
  # resp.delivery_destination.tags #=> Hash
@@ -4917,7 +4969,7 @@ module Aws::CloudWatchLogs
4917
4969
  # Creates or updates a logical *delivery source*. A delivery source
4918
4970
  # represents an Amazon Web Services resource that sends logs to an logs
4919
4971
  # delivery destination. The destination can be CloudWatch Logs, Amazon
4920
- # S3, or Firehose.
4972
+ # S3, Firehose or X-Ray for sending traces.
4921
4973
  #
4922
4974
  # To configure logs delivery between a delivery destination and an
4923
4975
  # Amazon Web Services service that is supported as a delivery source,
@@ -4973,7 +5025,8 @@ module Aws::CloudWatchLogs
4973
5025
  # @option params [required, String] :log_type
4974
5026
  # Defines the type of log that the source is sending.
4975
5027
  #
4976
- # * For Amazon Bedrock, the valid value is `APPLICATION_LOGS`.
5028
+ # * For Amazon Bedrock, the valid value is `APPLICATION_LOGS` and
5029
+ # `TRACES`.
4977
5030
  #
4978
5031
  # * For CloudFront, the valid value is `ACCESS_LOGS`.
4979
5032
  #
@@ -4990,6 +5043,9 @@ module Aws::CloudWatchLogs
4990
5043
  #
4991
5044
  # * For IAM Identity Center, the valid value is `ERROR_LOGS`.
4992
5045
  #
5046
+ # * For PCS, the valid values are `PCS_SCHEDULER_LOGS` and
5047
+ # `PCS_JOBCOMP_LOGS`.
5048
+ #
4993
5049
  # * For Amazon Q, the valid value is `EVENT_LOGS`.
4994
5050
  #
4995
5051
  # * For Amazon SES mail manager, the valid values are `APPLICATION_LOG`
@@ -5000,6 +5056,8 @@ module Aws::CloudWatchLogs
5000
5056
  # `WORKMAIL_MAILBOX_ACCESS_LOGS`, and
5001
5057
  # `WORKMAIL_PERSONAL_ACCESS_TOKEN_LOGS`.
5002
5058
  #
5059
+ # * For Amazon VPC Route Server, the valid value is `EVENT_LOGS`.
5060
+ #
5003
5061
  # @option params [Hash<String,String>] :tags
5004
5062
  # An optional list of key-value pairs to associate with the resource.
5005
5063
  #
@@ -5696,15 +5754,27 @@ module Aws::CloudWatchLogs
5696
5754
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourcearn
5697
5755
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourceaccount
5698
5756
  #
5757
+ # @option params [String] :resource_arn
5758
+ # The ARN of the CloudWatch Logs resource to which the resource policy
5759
+ # needs to be added or attached. Currently only supports LogGroup ARN.
5760
+ #
5761
+ # @option params [String] :expected_revision_id
5762
+ # The expected revision ID of the resource policy. Required when
5763
+ # `resourceArn` is provided to prevent concurrent modifications. Use
5764
+ # `null` when creating a resource policy for the first time.
5765
+ #
5699
5766
  # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5700
5767
  #
5701
5768
  # * {Types::PutResourcePolicyResponse#resource_policy #resource_policy} => Types::ResourcePolicy
5769
+ # * {Types::PutResourcePolicyResponse#revision_id #revision_id} => String
5702
5770
  #
5703
5771
  # @example Request syntax with placeholder values
5704
5772
  #
5705
5773
  # resp = client.put_resource_policy({
5706
5774
  # policy_name: "PolicyName",
5707
5775
  # policy_document: "PolicyDocument",
5776
+ # resource_arn: "Arn",
5777
+ # expected_revision_id: "ExpectedRevisionId",
5708
5778
  # })
5709
5779
  #
5710
5780
  # @example Response structure
@@ -5712,6 +5782,10 @@ module Aws::CloudWatchLogs
5712
5782
  # resp.resource_policy.policy_name #=> String
5713
5783
  # resp.resource_policy.policy_document #=> String
5714
5784
  # resp.resource_policy.last_updated_time #=> Integer
5785
+ # resp.resource_policy.policy_scope #=> String, one of "ACCOUNT", "RESOURCE"
5786
+ # resp.resource_policy.resource_arn #=> String
5787
+ # resp.resource_policy.revision_id #=> String
5788
+ # resp.revision_id #=> String
5715
5789
  #
5716
5790
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicy AWS API Documentation
5717
5791
  #
@@ -7217,7 +7291,7 @@ module Aws::CloudWatchLogs
7217
7291
  tracer: tracer
7218
7292
  )
7219
7293
  context[:gem_name] = 'aws-sdk-cloudwatchlogs'
7220
- context[:gem_version] = '1.119.0'
7294
+ context[:gem_version] = '1.120.0'
7221
7295
  Seahorse::Client::Request.new(handlers, context)
7222
7296
  end
7223
7297
 
@@ -178,6 +178,7 @@ module Aws::CloudWatchLogs
178
178
  EventNumber = Shapes::IntegerShape.new(name: 'EventNumber')
179
179
  EventSource = Shapes::StringShape.new(name: 'EventSource')
180
180
  EventsLimit = Shapes::IntegerShape.new(name: 'EventsLimit')
181
+ ExpectedRevisionId = Shapes::StringShape.new(name: 'ExpectedRevisionId')
181
182
  ExportDestinationBucket = Shapes::StringShape.new(name: 'ExportDestinationBucket')
182
183
  ExportDestinationPrefix = Shapes::StringShape.new(name: 'ExportDestinationPrefix')
183
184
  ExportTask = Shapes::StructureShape.new(name: 'ExportTask')
@@ -378,6 +379,7 @@ module Aws::CloudWatchLogs
378
379
  Policy = Shapes::StructureShape.new(name: 'Policy')
379
380
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
380
381
  PolicyName = Shapes::StringShape.new(name: 'PolicyName')
382
+ PolicyScope = Shapes::StringShape.new(name: 'PolicyScope')
381
383
  PolicyType = Shapes::StringShape.new(name: 'PolicyType')
382
384
  Priority = Shapes::StringShape.new(name: 'Priority')
383
385
  Processor = Shapes::StructureShape.new(name: 'Processor')
@@ -765,6 +767,8 @@ module Aws::CloudWatchLogs
765
767
  DeleteQueryDefinitionResponse.struct_class = Types::DeleteQueryDefinitionResponse
766
768
 
767
769
  DeleteResourcePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
770
+ DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
771
+ DeleteResourcePolicyRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: ExpectedRevisionId, location_name: "expectedRevisionId"))
768
772
  DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
769
773
 
770
774
  DeleteRetentionPolicyRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
@@ -966,6 +970,8 @@ module Aws::CloudWatchLogs
966
970
 
967
971
  DescribeResourcePoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
968
972
  DescribeResourcePoliciesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeLimit, location_name: "limit"))
973
+ DescribeResourcePoliciesRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
974
+ DescribeResourcePoliciesRequest.add_member(:policy_scope, Shapes::ShapeRef.new(shape: PolicyScope, location_name: "policyScope"))
969
975
  DescribeResourcePoliciesRequest.struct_class = Types::DescribeResourcePoliciesRequest
970
976
 
971
977
  DescribeResourcePoliciesResponse.add_member(:resource_policies, Shapes::ShapeRef.new(shape: ResourcePolicies, location_name: "resourcePolicies"))
@@ -1588,7 +1594,8 @@ module Aws::CloudWatchLogs
1588
1594
 
1589
1595
  PutDeliveryDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: DeliveryDestinationName, required: true, location_name: "name"))
1590
1596
  PutDeliveryDestinationRequest.add_member(:output_format, Shapes::ShapeRef.new(shape: OutputFormat, location_name: "outputFormat"))
1591
- PutDeliveryDestinationRequest.add_member(:delivery_destination_configuration, Shapes::ShapeRef.new(shape: DeliveryDestinationConfiguration, required: true, location_name: "deliveryDestinationConfiguration"))
1597
+ PutDeliveryDestinationRequest.add_member(:delivery_destination_configuration, Shapes::ShapeRef.new(shape: DeliveryDestinationConfiguration, location_name: "deliveryDestinationConfiguration"))
1598
+ PutDeliveryDestinationRequest.add_member(:delivery_destination_type, Shapes::ShapeRef.new(shape: DeliveryDestinationType, location_name: "deliveryDestinationType"))
1592
1599
  PutDeliveryDestinationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1593
1600
  PutDeliveryDestinationRequest.struct_class = Types::PutDeliveryDestinationRequest
1594
1601
 
@@ -1666,9 +1673,12 @@ module Aws::CloudWatchLogs
1666
1673
 
1667
1674
  PutResourcePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
1668
1675
  PutResourcePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
1676
+ PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
1677
+ PutResourcePolicyRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: ExpectedRevisionId, location_name: "expectedRevisionId"))
1669
1678
  PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
1670
1679
 
1671
1680
  PutResourcePolicyResponse.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "resourcePolicy"))
1681
+ PutResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: ExpectedRevisionId, location_name: "revisionId"))
1672
1682
  PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
1673
1683
 
1674
1684
  PutRetentionPolicyRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
@@ -1767,6 +1777,9 @@ module Aws::CloudWatchLogs
1767
1777
  ResourcePolicy.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
1768
1778
  ResourcePolicy.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
1769
1779
  ResourcePolicy.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
1780
+ ResourcePolicy.add_member(:policy_scope, Shapes::ShapeRef.new(shape: PolicyScope, location_name: "policyScope"))
1781
+ ResourcePolicy.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
1782
+ ResourcePolicy.add_member(:revision_id, Shapes::ShapeRef.new(shape: ExpectedRevisionId, location_name: "revisionId"))
1770
1783
  ResourcePolicy.struct_class = Types::ResourcePolicy
1771
1784
 
1772
1785
  ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
@@ -2259,6 +2272,7 @@ module Aws::CloudWatchLogs
2259
2272
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2260
2273
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2261
2274
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2275
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
2262
2276
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2263
2277
  end)
2264
2278
 
@@ -2967,6 +2981,8 @@ module Aws::CloudWatchLogs
2967
2981
  o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
2968
2982
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2969
2983
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2984
+ o.errors << Shapes::ShapeRef.new(shape: OperationAbortedException)
2985
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2970
2986
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2971
2987
  end)
2972
2988
 
@@ -1079,7 +1079,7 @@ module Aws::CloudWatchLogs
1079
1079
 
1080
1080
  # @!attribute [rw] name
1081
1081
  # The name of the delivery destination that you want to delete. You
1082
- # can find a list of delivery destionation names by using the
1082
+ # can find a list of delivery destination names by using the
1083
1083
  # [DescribeDeliveryDestinations][1] operation.
1084
1084
  #
1085
1085
  #
@@ -1303,10 +1303,23 @@ module Aws::CloudWatchLogs
1303
1303
  # The name of the policy to be revoked. This parameter is required.
1304
1304
  # @return [String]
1305
1305
  #
1306
+ # @!attribute [rw] resource_arn
1307
+ # The ARN of the CloudWatch Logs resource for which the resource
1308
+ # policy needs to be deleted
1309
+ # @return [String]
1310
+ #
1311
+ # @!attribute [rw] expected_revision_id
1312
+ # The expected revision ID of the resource policy. Required when
1313
+ # deleting a resource-scoped policy to prevent concurrent
1314
+ # modifications.
1315
+ # @return [String]
1316
+ #
1306
1317
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicyRequest AWS API Documentation
1307
1318
  #
1308
1319
  class DeleteResourcePolicyRequest < Struct.new(
1309
- :policy_name)
1320
+ :policy_name,
1321
+ :resource_arn,
1322
+ :expected_revision_id)
1310
1323
  SENSITIVE = []
1311
1324
  include Aws::Structure
1312
1325
  end
@@ -1391,7 +1404,7 @@ module Aws::CloudWatchLogs
1391
1404
  #
1392
1405
  # @!attribute [rw] delivery_destination_type
1393
1406
  # Displays whether the delivery destination associated with this
1394
- # delivery is CloudWatch Logs, Amazon S3, or Firehose.
1407
+ # delivery is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
1395
1408
  # @return [String]
1396
1409
  #
1397
1410
  # @!attribute [rw] record_fields
@@ -1432,8 +1445,8 @@ module Aws::CloudWatchLogs
1432
1445
  # This structure contains information about one *delivery destination*
1433
1446
  # in your account. A delivery destination is an Amazon Web Services
1434
1447
  # resource that represents an Amazon Web Services service that logs can
1435
- # be sent to. CloudWatch Logs, Amazon S3, are supported as Firehose
1436
- # delivery destinations.
1448
+ # be sent to. CloudWatch Logs, Amazon S3, Firehose, and X-Ray are
1449
+ # supported as delivery destinations.
1437
1450
  #
1438
1451
  # To configure logs delivery between a supported Amazon Web Services
1439
1452
  # service and a destination, you must do the following:
@@ -1475,7 +1488,7 @@ module Aws::CloudWatchLogs
1475
1488
  #
1476
1489
  # @!attribute [rw] delivery_destination_type
1477
1490
  # Displays whether this delivery destination is CloudWatch Logs,
1478
- # Amazon S3, or Firehose.
1491
+ # Amazon S3, Firehose, or X-Ray.
1479
1492
  # @return [String]
1480
1493
  #
1481
1494
  # @!attribute [rw] output_format
@@ -2025,9 +2038,10 @@ module Aws::CloudWatchLogs
2025
2038
  # @!attribute [rw] log_group_name_pattern
2026
2039
  # If you specify a string for this parameter, the operation returns
2027
2040
  # only log groups that have names that match the string based on a
2028
- # case-sensitive substring search. For example, if you specify `Foo`,
2029
- # log groups named `FooBar`, `aws/Foo`, and `GroupFoo` would match,
2030
- # but `foo`, `F/o/o` and `Froo` would not match.
2041
+ # case-sensitive substring search. For example, if you specify
2042
+ # `DataLogs`, log groups named `DataLogs`, `aws/DataLogs`, and
2043
+ # `GroupDataLogs` would match, but `datalogs`, `Data/log/s` and
2044
+ # `Groupdata` would not match.
2031
2045
  #
2032
2046
  # If you specify `logGroupNamePattern` in your request, then only
2033
2047
  # `arn`, `creationTime`, and `logGroupName` are included in the
@@ -2407,11 +2421,23 @@ module Aws::CloudWatchLogs
2407
2421
  # call of this API.
2408
2422
  # @return [Integer]
2409
2423
  #
2424
+ # @!attribute [rw] resource_arn
2425
+ # The ARN of the CloudWatch Logs resource for which to query the
2426
+ # resource policy.
2427
+ # @return [String]
2428
+ #
2429
+ # @!attribute [rw] policy_scope
2430
+ # Specifies the scope of the resource policy. Valid values are
2431
+ # `ACCOUNT` or `RESOURCE`. When not specified, defaults to `ACCOUNT`.
2432
+ # @return [String]
2433
+ #
2410
2434
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePoliciesRequest AWS API Documentation
2411
2435
  #
2412
2436
  class DescribeResourcePoliciesRequest < Struct.new(
2413
2437
  :next_token,
2414
- :limit)
2438
+ :limit,
2439
+ :resource_arn,
2440
+ :policy_scope)
2415
2441
  SENSITIVE = []
2416
2442
  include Aws::Structure
2417
2443
  end
@@ -5715,8 +5741,8 @@ module Aws::CloudWatchLogs
5715
5741
  # @return [Types::ParseRoute53]
5716
5742
  #
5717
5743
  # @!attribute [rw] parse_to_ocsf
5718
- # Use this processor to convert logs into Open Cybersecurity Schema
5719
- # Framework (OCSF) format
5744
+ # Use this parameter to convert logs into Open Cybersecurity Schema
5745
+ # (OCSF) format.
5720
5746
  # @return [Types::ParseToOCSF]
5721
5747
  #
5722
5748
  # @!attribute [rw] parse_postgres
@@ -6132,8 +6158,34 @@ module Aws::CloudWatchLogs
6132
6158
  # @!attribute [rw] delivery_destination_configuration
6133
6159
  # A structure that contains the ARN of the Amazon Web Services
6134
6160
  # resource that will receive the logs.
6161
+ #
6162
+ # <note markdown="1"> `deliveryDestinationConfiguration` is required for CloudWatch Logs,
6163
+ # Amazon S3, Firehose log delivery destinations and not required for
6164
+ # X-Ray trace delivery destinations. `deliveryDestinationType` is
6165
+ # needed for X-Ray trace delivery destinations but not required for
6166
+ # other logs delivery destinations.
6167
+ #
6168
+ # </note>
6135
6169
  # @return [Types::DeliveryDestinationConfiguration]
6136
6170
  #
6171
+ # @!attribute [rw] delivery_destination_type
6172
+ # The type of delivery destination. This parameter specifies the
6173
+ # target service where log data will be delivered. Valid values
6174
+ # include:
6175
+ #
6176
+ # * `S3` - Amazon S3 for long-term storage and analytics
6177
+ #
6178
+ # * `CWL` - CloudWatch Logs for centralized log management
6179
+ #
6180
+ # * `FH` - Amazon Kinesis Data Firehose for real-time data streaming
6181
+ #
6182
+ # * `XRAY` - Amazon Web Services X-Ray for distributed tracing and
6183
+ # application monitoring
6184
+ #
6185
+ # The delivery destination type determines the format and
6186
+ # configuration options available for log delivery.
6187
+ # @return [String]
6188
+ #
6137
6189
  # @!attribute [rw] tags
6138
6190
  # An optional list of key-value pairs to associate with the resource.
6139
6191
  #
@@ -6151,6 +6203,7 @@ module Aws::CloudWatchLogs
6151
6203
  :name,
6152
6204
  :output_format,
6153
6205
  :delivery_destination_configuration,
6206
+ :delivery_destination_type,
6154
6207
  :tags)
6155
6208
  SENSITIVE = []
6156
6209
  include Aws::Structure
@@ -6183,7 +6236,8 @@ module Aws::CloudWatchLogs
6183
6236
  # @!attribute [rw] log_type
6184
6237
  # Defines the type of log that the source is sending.
6185
6238
  #
6186
- # * For Amazon Bedrock, the valid value is `APPLICATION_LOGS`.
6239
+ # * For Amazon Bedrock, the valid value is `APPLICATION_LOGS` and
6240
+ # `TRACES`.
6187
6241
  #
6188
6242
  # * For CloudFront, the valid value is `ACCESS_LOGS`.
6189
6243
  #
@@ -6200,6 +6254,9 @@ module Aws::CloudWatchLogs
6200
6254
  #
6201
6255
  # * For IAM Identity Center, the valid value is `ERROR_LOGS`.
6202
6256
  #
6257
+ # * For PCS, the valid values are `PCS_SCHEDULER_LOGS` and
6258
+ # `PCS_JOBCOMP_LOGS`.
6259
+ #
6203
6260
  # * For Amazon Q, the valid value is `EVENT_LOGS`.
6204
6261
  #
6205
6262
  # * For Amazon SES mail manager, the valid values are
@@ -6209,6 +6266,8 @@ module Aws::CloudWatchLogs
6209
6266
  # `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`,
6210
6267
  # `WORKMAIL_MAILBOX_ACCESS_LOGS`, and
6211
6268
  # `WORKMAIL_PERSONAL_ACCESS_TOKEN_LOGS`.
6269
+ #
6270
+ # * For Amazon VPC Route Server, the valid value is `EVENT_LOGS`.
6212
6271
  # @return [String]
6213
6272
  #
6214
6273
  # @!attribute [rw] tags
@@ -6669,11 +6728,24 @@ module Aws::CloudWatchLogs
6669
6728
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourceaccount
6670
6729
  # @return [String]
6671
6730
  #
6731
+ # @!attribute [rw] resource_arn
6732
+ # The ARN of the CloudWatch Logs resource to which the resource policy
6733
+ # needs to be added or attached. Currently only supports LogGroup ARN.
6734
+ # @return [String]
6735
+ #
6736
+ # @!attribute [rw] expected_revision_id
6737
+ # The expected revision ID of the resource policy. Required when
6738
+ # `resourceArn` is provided to prevent concurrent modifications. Use
6739
+ # `null` when creating a resource policy for the first time.
6740
+ # @return [String]
6741
+ #
6672
6742
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicyRequest AWS API Documentation
6673
6743
  #
6674
6744
  class PutResourcePolicyRequest < Struct.new(
6675
6745
  :policy_name,
6676
- :policy_document)
6746
+ :policy_document,
6747
+ :resource_arn,
6748
+ :expected_revision_id)
6677
6749
  SENSITIVE = []
6678
6750
  include Aws::Structure
6679
6751
  end
@@ -6682,10 +6754,16 @@ module Aws::CloudWatchLogs
6682
6754
  # The new policy.
6683
6755
  # @return [Types::ResourcePolicy]
6684
6756
  #
6757
+ # @!attribute [rw] revision_id
6758
+ # The revision ID of the created or updated resource policy. Only
6759
+ # returned for resource-scoped policies.
6760
+ # @return [String]
6761
+ #
6685
6762
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicyResponse AWS API Documentation
6686
6763
  #
6687
6764
  class PutResourcePolicyResponse < Struct.new(
6688
- :resource_policy)
6765
+ :resource_policy,
6766
+ :revision_id)
6689
6767
  SENSITIVE = []
6690
6768
  include Aws::Structure
6691
6769
  end
@@ -7210,12 +7288,30 @@ module Aws::CloudWatchLogs
7210
7288
  # the number of milliseconds after `Jan 1, 1970 00:00:00 UTC`.
7211
7289
  # @return [Integer]
7212
7290
  #
7291
+ # @!attribute [rw] policy_scope
7292
+ # Specifies scope of the resource policy. Valid values are ACCOUNT or
7293
+ # RESOURCE.
7294
+ # @return [String]
7295
+ #
7296
+ # @!attribute [rw] resource_arn
7297
+ # The ARN of the CloudWatch Logs resource to which the resource policy
7298
+ # is attached. Only populated for resource-scoped policies.
7299
+ # @return [String]
7300
+ #
7301
+ # @!attribute [rw] revision_id
7302
+ # The revision ID of the resource policy. Only populated for
7303
+ # resource-scoped policies.
7304
+ # @return [String]
7305
+ #
7213
7306
  # @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ResourcePolicy AWS API Documentation
7214
7307
  #
7215
7308
  class ResourcePolicy < Struct.new(
7216
7309
  :policy_name,
7217
7310
  :policy_document,
7218
- :last_updated_time)
7311
+ :last_updated_time,
7312
+ :policy_scope,
7313
+ :resource_arn,
7314
+ :revision_id)
7219
7315
  SENSITIVE = []
7220
7316
  include Aws::Structure
7221
7317
  end
@@ -55,7 +55,7 @@ module Aws::CloudWatchLogs
55
55
  autoload :Endpoints, 'aws-sdk-cloudwatchlogs/endpoints'
56
56
  autoload :EventStreams, 'aws-sdk-cloudwatchlogs/event_streams'
57
57
 
58
- GEM_VERSION = '1.119.0'
58
+ GEM_VERSION = '1.120.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -261,7 +261,9 @@ module Aws
261
261
 
262
262
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#delete_resource_policy-instance_method
263
263
  def delete_resource_policy: (
264
- ?policy_name: ::String
264
+ ?policy_name: ::String,
265
+ ?resource_arn: ::String,
266
+ ?expected_revision_id: ::String
265
267
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
266
268
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
267
269
 
@@ -308,7 +310,7 @@ module Aws
308
310
  ?service: ::String,
309
311
  ?log_types: Array[::String],
310
312
  ?resource_types: Array[::String],
311
- ?delivery_destination_types: Array[("S3" | "CWL" | "FH")],
313
+ ?delivery_destination_types: Array[("S3" | "CWL" | "FH" | "XRAY")],
312
314
  ?next_token: ::String,
313
315
  ?limit: ::Integer
314
316
  ) -> _DescribeConfigurationTemplatesResponseSuccess
@@ -489,7 +491,9 @@ module Aws
489
491
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#describe_resource_policies-instance_method
490
492
  def describe_resource_policies: (
491
493
  ?next_token: ::String,
492
- ?limit: ::Integer
494
+ ?limit: ::Integer,
495
+ ?resource_arn: ::String,
496
+ ?policy_scope: ("ACCOUNT" | "RESOURCE")
493
497
  ) -> _DescribeResourcePoliciesResponseSuccess
494
498
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourcePoliciesResponseSuccess
495
499
 
@@ -812,9 +816,10 @@ module Aws
812
816
  def put_delivery_destination: (
813
817
  name: ::String,
814
818
  ?output_format: ("json" | "plain" | "w3c" | "raw" | "parquet"),
815
- delivery_destination_configuration: {
819
+ ?delivery_destination_configuration: {
816
820
  destination_resource_arn: ::String
817
821
  },
822
+ ?delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY"),
818
823
  ?tags: Hash[::String, ::String]
819
824
  ) -> _PutDeliveryDestinationResponseSuccess
820
825
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDeliveryDestinationResponseSuccess
@@ -957,11 +962,14 @@ module Aws
957
962
  interface _PutResourcePolicyResponseSuccess
958
963
  include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
959
964
  def resource_policy: () -> Types::ResourcePolicy
965
+ def revision_id: () -> ::String
960
966
  end
961
967
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchLogs/Client.html#put_resource_policy-instance_method
962
968
  def put_resource_policy: (
963
969
  ?policy_name: ::String,
964
- ?policy_document: ::String
970
+ ?policy_document: ::String,
971
+ ?resource_arn: ::String,
972
+ ?expected_revision_id: ::String
965
973
  ) -> _PutResourcePolicyResponseSuccess
966
974
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
967
975
 
data/sig/types.rbs CHANGED
@@ -95,7 +95,7 @@ module Aws::CloudWatchLogs
95
95
  attr_accessor service: ::String
96
96
  attr_accessor log_type: ::String
97
97
  attr_accessor resource_type: ::String
98
- attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
98
+ attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY")
99
99
  attr_accessor default_delivery_config_values: Types::ConfigurationTemplateDeliveryConfigValues
100
100
  attr_accessor allowed_fields: ::Array[Types::RecordField]
101
101
  attr_accessor allowed_output_formats: ::Array[("json" | "plain" | "w3c" | "raw" | "parquet")]
@@ -296,6 +296,8 @@ module Aws::CloudWatchLogs
296
296
 
297
297
  class DeleteResourcePolicyRequest
298
298
  attr_accessor policy_name: ::String
299
+ attr_accessor resource_arn: ::String
300
+ attr_accessor expected_revision_id: ::String
299
301
  SENSITIVE: []
300
302
  end
301
303
 
@@ -320,7 +322,7 @@ module Aws::CloudWatchLogs
320
322
  attr_accessor arn: ::String
321
323
  attr_accessor delivery_source_name: ::String
322
324
  attr_accessor delivery_destination_arn: ::String
323
- attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
325
+ attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY")
324
326
  attr_accessor record_fields: ::Array[::String]
325
327
  attr_accessor field_delimiter: ::String
326
328
  attr_accessor s3_delivery_configuration: Types::S3DeliveryConfiguration
@@ -331,7 +333,7 @@ module Aws::CloudWatchLogs
331
333
  class DeliveryDestination
332
334
  attr_accessor name: ::String
333
335
  attr_accessor arn: ::String
334
- attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH")
336
+ attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY")
335
337
  attr_accessor output_format: ("json" | "plain" | "w3c" | "raw" | "parquet")
336
338
  attr_accessor delivery_destination_configuration: Types::DeliveryDestinationConfiguration
337
339
  attr_accessor tags: ::Hash[::String, ::String]
@@ -371,7 +373,7 @@ module Aws::CloudWatchLogs
371
373
  attr_accessor service: ::String
372
374
  attr_accessor log_types: ::Array[::String]
373
375
  attr_accessor resource_types: ::Array[::String]
374
- attr_accessor delivery_destination_types: ::Array[("S3" | "CWL" | "FH")]
376
+ attr_accessor delivery_destination_types: ::Array[("S3" | "CWL" | "FH" | "XRAY")]
375
377
  attr_accessor next_token: ::String
376
378
  attr_accessor limit: ::Integer
377
379
  SENSITIVE: []
@@ -553,6 +555,8 @@ module Aws::CloudWatchLogs
553
555
  class DescribeResourcePoliciesRequest
554
556
  attr_accessor next_token: ::String
555
557
  attr_accessor limit: ::Integer
558
+ attr_accessor resource_arn: ::String
559
+ attr_accessor policy_scope: ("ACCOUNT" | "RESOURCE")
556
560
  SENSITIVE: []
557
561
  end
558
562
 
@@ -1314,6 +1318,7 @@ module Aws::CloudWatchLogs
1314
1318
  attr_accessor name: ::String
1315
1319
  attr_accessor output_format: ("json" | "plain" | "w3c" | "raw" | "parquet")
1316
1320
  attr_accessor delivery_destination_configuration: Types::DeliveryDestinationConfiguration
1321
+ attr_accessor delivery_destination_type: ("S3" | "CWL" | "FH" | "XRAY")
1317
1322
  attr_accessor tags: ::Hash[::String, ::String]
1318
1323
  SENSITIVE: []
1319
1324
  end
@@ -1423,11 +1428,14 @@ module Aws::CloudWatchLogs
1423
1428
  class PutResourcePolicyRequest
1424
1429
  attr_accessor policy_name: ::String
1425
1430
  attr_accessor policy_document: ::String
1431
+ attr_accessor resource_arn: ::String
1432
+ attr_accessor expected_revision_id: ::String
1426
1433
  SENSITIVE: []
1427
1434
  end
1428
1435
 
1429
1436
  class PutResourcePolicyResponse
1430
1437
  attr_accessor resource_policy: Types::ResourcePolicy
1438
+ attr_accessor revision_id: ::String
1431
1439
  SENSITIVE: []
1432
1440
  end
1433
1441
 
@@ -1547,6 +1555,9 @@ module Aws::CloudWatchLogs
1547
1555
  attr_accessor policy_name: ::String
1548
1556
  attr_accessor policy_document: ::String
1549
1557
  attr_accessor last_updated_time: ::Integer
1558
+ attr_accessor policy_scope: ("ACCOUNT" | "RESOURCE")
1559
+ attr_accessor resource_arn: ::String
1560
+ attr_accessor revision_id: ::String
1550
1561
  SENSITIVE: []
1551
1562
  end
1552
1563
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchlogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.119.0
4
+ version: 1.120.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services