aws-sdk-cloudtrail 1.61.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 552835fa9020cb2d845ab5481ac3f5af7e7ca56e948f52fa8fa528197bdd97d4
4
- data.tar.gz: 59b0f1f716909d88d66027ee4e7dc9327bf4734a5e767305b79a987a8ab574b6
3
+ metadata.gz: 6240f69b330164bda213408a5ce5ed3d7ba9582b60572b3afa82d109a498cdc6
4
+ data.tar.gz: 0fa14ff83c8ea9aa7c3951825cd20457eb66c566395582805bce412010fd1c2b
5
5
  SHA512:
6
- metadata.gz: 3bcb544e6d7feb0e1bfd113c898ab21526fc81913ff25fc21e6d4f202446ff18f409d24b8af686712ae12ee57a64b5301560e062bc6ef3efe297e0bcb42e035e
7
- data.tar.gz: 07c077d084804f3c62c7203e20c076982b72f188482ab68375c842aff70be01c220f6bfc31c41c7bdc0dd1d89df830e60308ca1eae131bc8954ebe4026262eff
6
+ metadata.gz: 14045e4930af4b1da780abf31e71d24de607291873435443ed3f4b1c433d34f9ec2745cfae562e5af354d73d579b1dbf05fedba3654274c090612aa423f9833b
7
+ data.tar.gz: 113a4d05421a25631fed6d0cfab5250a51c65f346796418dbd34ba1ec387fb3539ce973e909058a3a3653b4d802fa406ce57d5328e1cbc858d3dee5b4069a482
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.62.0 (2023-06-13)
5
+ ------------------
6
+
7
+ * Feature - This feature allows users to view dashboards for CloudTrail Lake event data stores.
8
+
4
9
  1.61.0 (2023-06-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
1
+ 1.62.0
@@ -1039,16 +1039,23 @@ module Aws::CloudTrail
1039
1039
 
1040
1040
  # Returns metadata about a query, including query run time in
1041
1041
  # milliseconds, number of events scanned and matched, and query status.
1042
- # You must specify an ARN for `EventDataStore`, and a value for
1043
- # `QueryID`.
1042
+ # If the query results were delivered to an S3 bucket, the response also
1043
+ # provides the S3 URI and the delivery status.
1044
+ #
1045
+ # You must specify either a `QueryID` or a `QueryAlias`. Specifying the
1046
+ # `QueryAlias` parameter returns information about the last query run
1047
+ # for the alias.
1044
1048
  #
1045
1049
  # @option params [String] :event_data_store
1046
1050
  # The ARN (or the ID suffix of the ARN) of an event data store on which
1047
1051
  # the specified query was run.
1048
1052
  #
1049
- # @option params [required, String] :query_id
1053
+ # @option params [String] :query_id
1050
1054
  # The query ID.
1051
1055
  #
1056
+ # @option params [String] :query_alias
1057
+ # The alias that identifies a query template.
1058
+ #
1052
1059
  # @return [Types::DescribeQueryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1053
1060
  #
1054
1061
  # * {Types::DescribeQueryResponse#query_id #query_id} => String
@@ -1063,7 +1070,8 @@ module Aws::CloudTrail
1063
1070
  #
1064
1071
  # resp = client.describe_query({
1065
1072
  # event_data_store: "EventDataStoreArn",
1066
- # query_id: "UUID", # required
1073
+ # query_id: "UUID",
1074
+ # query_alias: "QueryAlias",
1067
1075
  # })
1068
1076
  #
1069
1077
  # @example Response structure
@@ -1495,8 +1503,7 @@ module Aws::CloudTrail
1495
1503
  end
1496
1504
 
1497
1505
  # Gets event data results of a query. You must specify the `QueryID`
1498
- # value returned by the `StartQuery` operation, and an ARN for
1499
- # `EventDataStore`.
1506
+ # value returned by the `StartQuery` operation.
1500
1507
  #
1501
1508
  # @option params [String] :event_data_store
1502
1509
  # The ARN (or ID suffix of the ARN) of the event data store against
@@ -2821,17 +2828,28 @@ module Aws::CloudTrail
2821
2828
  req.send_request(options)
2822
2829
  end
2823
2830
 
2824
- # Starts a CloudTrail Lake query. The required `QueryStatement`
2825
- # parameter provides your SQL query, enclosed in single quotation marks.
2826
- # Use the optional `DeliveryS3Uri` parameter to deliver the query
2827
- # results to an S3 bucket.
2831
+ # Starts a CloudTrail Lake query. Use the `QueryStatement` parameter to
2832
+ # provide your SQL query, enclosed in single quotation marks. Use the
2833
+ # optional `DeliveryS3Uri` parameter to deliver the query results to an
2834
+ # S3 bucket.
2835
+ #
2836
+ # `StartQuery` requires you specify either the `QueryStatement`
2837
+ # parameter, or a `QueryAlias` and any `QueryParameters`. In the current
2838
+ # release, the `QueryAlias` and `QueryParameters` parameters are used
2839
+ # only for the queries that populate the CloudTrail Lake dashboards.
2828
2840
  #
2829
- # @option params [required, String] :query_statement
2841
+ # @option params [String] :query_statement
2830
2842
  # The SQL code of your query.
2831
2843
  #
2832
2844
  # @option params [String] :delivery_s3_uri
2833
2845
  # The URI for the S3 bucket where CloudTrail delivers the query results.
2834
2846
  #
2847
+ # @option params [String] :query_alias
2848
+ # The alias that identifies a query template.
2849
+ #
2850
+ # @option params [Array<String>] :query_parameters
2851
+ # The query parameters for the specified `QueryAlias`.
2852
+ #
2835
2853
  # @return [Types::StartQueryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2836
2854
  #
2837
2855
  # * {Types::StartQueryResponse#query_id #query_id} => String
@@ -2839,8 +2857,10 @@ module Aws::CloudTrail
2839
2857
  # @example Request syntax with placeholder values
2840
2858
  #
2841
2859
  # resp = client.start_query({
2842
- # query_statement: "QueryStatement", # required
2860
+ # query_statement: "QueryStatement",
2843
2861
  # delivery_s3_uri: "DeliveryS3Uri",
2862
+ # query_alias: "QueryAlias",
2863
+ # query_parameters: ["QueryParameter"],
2844
2864
  # })
2845
2865
  #
2846
2866
  # @example Response structure
@@ -3027,12 +3047,16 @@ module Aws::CloudTrail
3027
3047
  # For event data stores for CloudTrail events, `AdvancedEventSelectors`
3028
3048
  # includes or excludes management and data events in your event data
3029
3049
  # store. For more information about `AdvancedEventSelectors`, see
3030
- # PutEventSelectorsRequest$AdvancedEventSelectors.
3050
+ # [AdvancedEventSelectors][1].
3031
3051
  #
3032
3052
  # For event data stores for Config configuration items, Audit Manager
3033
3053
  # evidence, or non-Amazon Web Services events, `AdvancedEventSelectors`
3034
3054
  # includes events of that type in your event data store.
3035
3055
  #
3056
+ #
3057
+ #
3058
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html
3059
+ #
3036
3060
  # @option params [required, String] :event_data_store
3037
3061
  # The ARN (or the ID suffix of the ARN) of the event data store that you
3038
3062
  # want to update.
@@ -3372,7 +3396,7 @@ module Aws::CloudTrail
3372
3396
  params: params,
3373
3397
  config: config)
3374
3398
  context[:gem_name] = 'aws-sdk-cloudtrail'
3375
- context[:gem_version] = '1.61.0'
3399
+ context[:gem_version] = '1.62.0'
3376
3400
  Seahorse::Client::Request.new(handlers, context)
3377
3401
  end
3378
3402
 
@@ -214,7 +214,10 @@ module Aws::CloudTrail
214
214
  PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
215
215
  Queries = Shapes::ListShape.new(name: 'Queries')
216
216
  Query = Shapes::StructureShape.new(name: 'Query')
217
+ QueryAlias = Shapes::StringShape.new(name: 'QueryAlias')
217
218
  QueryIdNotFoundException = Shapes::StructureShape.new(name: 'QueryIdNotFoundException')
219
+ QueryParameter = Shapes::StringShape.new(name: 'QueryParameter')
220
+ QueryParameters = Shapes::ListShape.new(name: 'QueryParameters')
218
221
  QueryResultColumn = Shapes::MapShape.new(name: 'QueryResultColumn')
219
222
  QueryResultKey = Shapes::StringShape.new(name: 'QueryResultKey')
220
223
  QueryResultRow = Shapes::ListShape.new(name: 'QueryResultRow')
@@ -458,7 +461,8 @@ module Aws::CloudTrail
458
461
  DeregisterOrganizationDelegatedAdminResponse.struct_class = Types::DeregisterOrganizationDelegatedAdminResponse
459
462
 
460
463
  DescribeQueryRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, deprecated: true, location_name: "EventDataStore", metadata: {"deprecatedMessage"=>"EventDataStore is no longer required by DescribeQueryRequest"}))
461
- DescribeQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
464
+ DescribeQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
465
+ DescribeQueryRequest.add_member(:query_alias, Shapes::ShapeRef.new(shape: QueryAlias, location_name: "QueryAlias"))
462
466
  DescribeQueryRequest.struct_class = Types::DescribeQueryRequest
463
467
 
464
468
  DescribeQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
@@ -902,6 +906,8 @@ module Aws::CloudTrail
902
906
 
903
907
  QueryIdNotFoundException.struct_class = Types::QueryIdNotFoundException
904
908
 
909
+ QueryParameters.member = Shapes::ShapeRef.new(shape: QueryParameter)
910
+
905
911
  QueryResultColumn.key = Shapes::ShapeRef.new(shape: QueryResultKey)
906
912
  QueryResultColumn.value = Shapes::ShapeRef.new(shape: QueryResultValue)
907
913
 
@@ -1010,8 +1016,10 @@ module Aws::CloudTrail
1010
1016
 
1011
1017
  StartLoggingResponse.struct_class = Types::StartLoggingResponse
1012
1018
 
1013
- StartQueryRequest.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryStatement, required: true, location_name: "QueryStatement"))
1019
+ StartQueryRequest.add_member(:query_statement, Shapes::ShapeRef.new(shape: QueryStatement, location_name: "QueryStatement"))
1014
1020
  StartQueryRequest.add_member(:delivery_s3_uri, Shapes::ShapeRef.new(shape: DeliveryS3Uri, location_name: "DeliveryS3Uri"))
1021
+ StartQueryRequest.add_member(:query_alias, Shapes::ShapeRef.new(shape: QueryAlias, location_name: "QueryAlias"))
1022
+ StartQueryRequest.add_member(:query_parameters, Shapes::ShapeRef.new(shape: QueryParameters, location_name: "QueryParameters"))
1015
1023
  StartQueryRequest.struct_class = Types::StartQueryRequest
1016
1024
 
1017
1025
  StartQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
@@ -1981,6 +1989,7 @@ module Aws::CloudTrail
1981
1989
  o.http_request_uri = "/"
1982
1990
  o.input = Shapes::ShapeRef.new(shape: UpdateEventDataStoreRequest)
1983
1991
  o.output = Shapes::ShapeRef.new(shape: UpdateEventDataStoreResponse)
1992
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreAlreadyExistsException)
1984
1993
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1985
1994
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1986
1995
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
@@ -174,12 +174,16 @@ module Aws::CloudTrail
174
174
  #
175
175
  # * `AWS::CloudTrail::Channel`
176
176
  #
177
+ # * `AWS::CodeWhisperer::Profile`
178
+ #
177
179
  # * `AWS::Cognito::IdentityPool`
178
180
  #
179
181
  # * `AWS::DynamoDB::Stream`
180
182
  #
181
183
  # * `AWS::EC2::Snapshot`
182
184
  #
185
+ # * `AWS::EMRWAL::Workspace`
186
+ #
183
187
  # * `AWS::FinSpace::Environment`
184
188
  #
185
189
  # * `AWS::Glue::Table`
@@ -244,6 +248,14 @@ module Aws::CloudTrail
244
248
  #
245
249
  # ^
246
250
  #
251
+ # When resources.type equals `AWS::CodeWhisperer::Profile`, and the
252
+ # operator is set to `Equals` or `NotEquals`, the ARN must be in the
253
+ # following format:
254
+ #
255
+ # * `arn:<partition>:codewhisperer:<region>:<account_ID>:profile/<profile_ID>`
256
+ #
257
+ # ^
258
+ #
247
259
  # When resources.type equals `AWS::Cognito::IdentityPool`, and the
248
260
  # operator is set to `Equals` or `NotEquals`, the ARN must be in the
249
261
  # following format:
@@ -268,6 +280,14 @@ module Aws::CloudTrail
268
280
  #
269
281
  # ^
270
282
  #
283
+ # When `resources.type` equals `AWS::EMRWAL::Workspace`, and the
284
+ # operator is set to `Equals` or `NotEquals`, the ARN must be in the
285
+ # following format:
286
+ #
287
+ # * `arn:<partition>:emrwal:<region>::workspace/<workspace_name>`
288
+ #
289
+ # ^
290
+ #
271
291
  # When `resources.type` equals `AWS::FinSpace::Environment`, and the
272
292
  # operator is set to `Equals` or `NotEquals`, the ARN must be in the
273
293
  # following format:
@@ -987,7 +1007,7 @@ module Aws::CloudTrail
987
1007
  # @return [String]
988
1008
  #
989
1009
  # @!attribute [rw] sns_topic_name
990
- # This field is no longer in use. Use SnsTopicARN.
1010
+ # This field is no longer in use. Use `SnsTopicARN`.
991
1011
  # @return [String]
992
1012
  #
993
1013
  # @!attribute [rw] sns_topic_arn
@@ -1131,16 +1151,20 @@ module Aws::CloudTrail
1131
1151
  # event selectors. Basic event selector resource types are valid in
1132
1152
  # advanced event selectors, but advanced event selector resource types
1133
1153
  # are not valid in basic event selectors. For more information, see
1134
- # AdvancedFieldSelector$Field.
1154
+ # [AdvancedFieldSelector][1].
1135
1155
  #
1136
1156
  # * `AWS::CloudTrail::Channel`
1137
1157
  #
1158
+ # * `AWS::CodeWhisperer::Profile`
1159
+ #
1138
1160
  # * `AWS::Cognito::IdentityPool`
1139
1161
  #
1140
1162
  # * `AWS::DynamoDB::Stream`
1141
1163
  #
1142
1164
  # * `AWS::EC2::Snapshot`
1143
1165
  #
1166
+ # * `AWS::EMRWAL::Workspace`
1167
+ #
1144
1168
  # * `AWS::FinSpace::Environment`
1145
1169
  #
1146
1170
  # * `AWS::Glue::Table`
@@ -1160,6 +1184,10 @@ module Aws::CloudTrail
1160
1184
  # * `AWS::S3ObjectLambda::AccessPoint`
1161
1185
  #
1162
1186
  # * `AWS::S3Outposts::Object`
1187
+ #
1188
+ #
1189
+ #
1190
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html
1163
1191
  # @return [String]
1164
1192
  #
1165
1193
  # @!attribute [rw] values
@@ -1338,11 +1366,16 @@ module Aws::CloudTrail
1338
1366
  # The query ID.
1339
1367
  # @return [String]
1340
1368
  #
1369
+ # @!attribute [rw] query_alias
1370
+ # The alias that identifies a query template.
1371
+ # @return [String]
1372
+ #
1341
1373
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeQueryRequest AWS API Documentation
1342
1374
  #
1343
1375
  class DescribeQueryRequest < Struct.new(
1344
1376
  :event_data_store,
1345
- :query_id)
1377
+ :query_id,
1378
+ :query_alias)
1346
1379
  SENSITIVE = []
1347
1380
  include Aws::Structure
1348
1381
  end
@@ -4084,11 +4117,21 @@ module Aws::CloudTrail
4084
4117
  # results.
4085
4118
  # @return [String]
4086
4119
  #
4120
+ # @!attribute [rw] query_alias
4121
+ # The alias that identifies a query template.
4122
+ # @return [String]
4123
+ #
4124
+ # @!attribute [rw] query_parameters
4125
+ # The query parameters for the specified `QueryAlias`.
4126
+ # @return [Array<String>]
4127
+ #
4087
4128
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartQueryRequest AWS API Documentation
4088
4129
  #
4089
4130
  class StartQueryRequest < Struct.new(
4090
4131
  :query_statement,
4091
- :delivery_s3_uri)
4132
+ :delivery_s3_uri,
4133
+ :query_alias,
4134
+ :query_parameters)
4092
4135
  SENSITIVE = []
4093
4136
  include Aws::Structure
4094
4137
  end
@@ -4274,7 +4317,7 @@ module Aws::CloudTrail
4274
4317
  # @return [String]
4275
4318
  #
4276
4319
  # @!attribute [rw] sns_topic_name
4277
- # This field is no longer in use. Use SnsTopicARN.
4320
+ # This field is no longer in use. Use `SnsTopicARN`.
4278
4321
  # @return [String]
4279
4322
  #
4280
4323
  # @!attribute [rw] sns_topic_arn
@@ -4797,7 +4840,7 @@ module Aws::CloudTrail
4797
4840
  # @return [String]
4798
4841
  #
4799
4842
  # @!attribute [rw] sns_topic_name
4800
- # This field is no longer in use. Use UpdateTrailResponse$SnsTopicARN.
4843
+ # This field is no longer in use. Use `SnsTopicARN`.
4801
4844
  # @return [String]
4802
4845
  #
4803
4846
  # @!attribute [rw] sns_topic_arn
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudtrail/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudTrail
54
54
 
55
- GEM_VERSION = '1.61.0'
55
+ GEM_VERSION = '1.62.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudtrail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.61.0
4
+ version: 1.62.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: 2023-06-02 00:00:00.000000000 Z
11
+ date: 2023-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core