aws-sdk-cloudtrail 1.98.0 → 1.100.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: 2bd15afc1bd39dd3f47982851ddc12288a3878a059cfaf93e2a985848cebc5f6
4
- data.tar.gz: 7fced6ba53896eff778a92d3cc468e64347b1b69652db3b42f026a110c8a28a3
3
+ metadata.gz: '08dfc8ed54cc646a58cd0370b6c218459011fc0254d7507f266c8349a1029b02'
4
+ data.tar.gz: 807cbccd195f152ace0405fd97645c1ba085b545c605a6595fc751bbb45a4672
5
5
  SHA512:
6
- metadata.gz: 8ef5a0a87d10afbe15eed7d4f3badae43ef5f8c2a0844ae024839d4373f2cce17ba6dc7148a153ea843d512ded918060665e1c7055d0260e8768ec2a88fd1877
7
- data.tar.gz: fbcb7694bf84e718e44ac2313656d0b17c8e59977ca045d4a26fc67633f3a1d726da8d9701bd08d7be75ce285d2257870f11150235d6ec660dcdebbbd5f401cd
6
+ metadata.gz: 8e6945f9c2d61aa8c6a5fe643ebdc0c6adabe969d729041f18bad2d64a1756a677cc05e0afde5959de506171dfd4355521fdf09461bc41898bc085d782b9265a
7
+ data.tar.gz: 54acf943a5769f04d456c3fd926c09df541fa2ea1b57eb82a26d4075f42959c8f81393218bd399afac66cde2ef43b0fab72e9e94c122dbfa278581d21c758e97
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.100.0 (2025-02-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.99.0 (2025-01-24)
10
+ ------------------
11
+
12
+ * Feature - This release introduces the SearchSampleQueries API that allows users to search for CloudTrail Lake sample queries.
13
+
4
14
  1.98.0 (2025-01-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.100.0
@@ -2029,8 +2029,8 @@ module Aws::CloudTrail
2029
2029
  # get Insights event selectors for a trail. You cannot specify these
2030
2030
  # parameters together.
2031
2031
  #
2032
- # For more information, see [Logging CloudTrail Insights events][1] in
2033
- # the *CloudTrail User Guide*.
2032
+ # For more information, see [Working with CloudTrail Insights][1] in the
2033
+ # *CloudTrail User Guide*.
2034
2034
  #
2035
2035
  #
2036
2036
  #
@@ -3059,10 +3059,11 @@ module Aws::CloudTrail
3059
3059
  # If you want your trail to log Insights events, be sure the event
3060
3060
  # selector or advanced event selector enables logging of the Insights
3061
3061
  # event types you want configured for your trail. For more information
3062
- # about logging Insights events, see [Logging Insights events][1] in the
3063
- # *CloudTrail User Guide*. By default, trails created without specific
3064
- # event selectors are configured to log all read and write management
3065
- # events, and no data events or network activity events.
3062
+ # about logging Insights events, see [Working with CloudTrail
3063
+ # Insights][1] in the *CloudTrail User Guide*. By default, trails
3064
+ # created without specific event selectors are configured to log all
3065
+ # read and write management events, and no data events or network
3066
+ # activity events.
3066
3067
  #
3067
3068
  # When an event occurs in your account, CloudTrail evaluates the event
3068
3069
  # selectors or advanced event selectors in all trails. For each trail,
@@ -3273,8 +3274,8 @@ module Aws::CloudTrail
3273
3274
  # management events. You can call `GetEventDataStore` on an event data
3274
3275
  # store to check whether the event data store logs management events.
3275
3276
  #
3276
- # For more information, see [Logging CloudTrail Insights events][1] in
3277
- # the *CloudTrail User Guide*.
3277
+ # For more information, see [Working with CloudTrail Insights][1] in the
3278
+ # *CloudTrail User Guide*.
3278
3279
  #
3279
3280
  #
3280
3281
  #
@@ -3557,6 +3558,53 @@ module Aws::CloudTrail
3557
3558
  req.send_request(options)
3558
3559
  end
3559
3560
 
3561
+ # Searches sample queries and returns a list of sample queries that are
3562
+ # sorted by relevance. To search for sample queries, provide a natural
3563
+ # language `SearchPhrase` in English.
3564
+ #
3565
+ # @option params [required, String] :search_phrase
3566
+ # The natural language phrase to use for the semantic search. The phrase
3567
+ # must be in English. The length constraint is in characters, not words.
3568
+ #
3569
+ # @option params [Integer] :max_results
3570
+ # The maximum number of results to return on a single page. The default
3571
+ # value is 10.
3572
+ #
3573
+ # @option params [String] :next_token
3574
+ # A token you can use to get the next page of results. The length
3575
+ # constraint is in characters, not words.
3576
+ #
3577
+ # @return [Types::SearchSampleQueriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3578
+ #
3579
+ # * {Types::SearchSampleQueriesResponse#search_results #search_results} => Array<Types::SearchSampleQueriesSearchResult>
3580
+ # * {Types::SearchSampleQueriesResponse#next_token #next_token} => String
3581
+ #
3582
+ # @example Request syntax with placeholder values
3583
+ #
3584
+ # resp = client.search_sample_queries({
3585
+ # search_phrase: "SearchSampleQueriesSearchPhrase", # required
3586
+ # max_results: 1,
3587
+ # next_token: "PaginationToken",
3588
+ # })
3589
+ #
3590
+ # @example Response structure
3591
+ #
3592
+ # resp.search_results #=> Array
3593
+ # resp.search_results[0].name #=> String
3594
+ # resp.search_results[0].description #=> String
3595
+ # resp.search_results[0].sql #=> String
3596
+ # resp.search_results[0].relevance #=> Float
3597
+ # resp.next_token #=> String
3598
+ #
3599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/SearchSampleQueries AWS API Documentation
3600
+ #
3601
+ # @overload search_sample_queries(params = {})
3602
+ # @param [Hash] params ({})
3603
+ def search_sample_queries(params = {}, options = {})
3604
+ req = build_request(:search_sample_queries, params)
3605
+ req.send_request(options)
3606
+ end
3607
+
3560
3608
  # Starts a refresh of the specified dashboard.
3561
3609
  #
3562
3610
  # Each time a dashboard is refreshed, CloudTrail runs queries to
@@ -4536,7 +4584,7 @@ module Aws::CloudTrail
4536
4584
  tracer: tracer
4537
4585
  )
4538
4586
  context[:gem_name] = 'aws-sdk-cloudtrail'
4539
- context[:gem_version] = '1.98.0'
4587
+ context[:gem_version] = '1.100.0'
4540
4588
  Seahorse::Client::Request.new(handlers, context)
4541
4589
  end
4542
4590
 
@@ -306,6 +306,16 @@ module Aws::CloudTrail
306
306
  RetentionPeriod = Shapes::IntegerShape.new(name: 'RetentionPeriod')
307
307
  S3BucketDoesNotExistException = Shapes::StructureShape.new(name: 'S3BucketDoesNotExistException')
308
308
  S3ImportSource = Shapes::StructureShape.new(name: 'S3ImportSource')
309
+ SampleQueryDescription = Shapes::StringShape.new(name: 'SampleQueryDescription')
310
+ SampleQueryName = Shapes::StringShape.new(name: 'SampleQueryName')
311
+ SampleQueryRelevance = Shapes::FloatShape.new(name: 'SampleQueryRelevance')
312
+ SampleQuerySQL = Shapes::StringShape.new(name: 'SampleQuerySQL')
313
+ SearchSampleQueriesMaxResults = Shapes::IntegerShape.new(name: 'SearchSampleQueriesMaxResults')
314
+ SearchSampleQueriesRequest = Shapes::StructureShape.new(name: 'SearchSampleQueriesRequest')
315
+ SearchSampleQueriesResponse = Shapes::StructureShape.new(name: 'SearchSampleQueriesResponse')
316
+ SearchSampleQueriesSearchPhrase = Shapes::StringShape.new(name: 'SearchSampleQueriesSearchPhrase')
317
+ SearchSampleQueriesSearchResult = Shapes::StructureShape.new(name: 'SearchSampleQueriesSearchResult')
318
+ SearchSampleQueriesSearchResults = Shapes::ListShape.new(name: 'SearchSampleQueriesSearchResults')
309
319
  SelectorField = Shapes::StringShape.new(name: 'SelectorField')
310
320
  SelectorName = Shapes::StringShape.new(name: 'SelectorName')
311
321
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -1213,6 +1223,23 @@ module Aws::CloudTrail
1213
1223
  S3ImportSource.add_member(:s3_bucket_access_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3BucketAccessRoleArn"))
1214
1224
  S3ImportSource.struct_class = Types::S3ImportSource
1215
1225
 
1226
+ SearchSampleQueriesRequest.add_member(:search_phrase, Shapes::ShapeRef.new(shape: SearchSampleQueriesSearchPhrase, required: true, location_name: "SearchPhrase"))
1227
+ SearchSampleQueriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchSampleQueriesMaxResults, location_name: "MaxResults"))
1228
+ SearchSampleQueriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
1229
+ SearchSampleQueriesRequest.struct_class = Types::SearchSampleQueriesRequest
1230
+
1231
+ SearchSampleQueriesResponse.add_member(:search_results, Shapes::ShapeRef.new(shape: SearchSampleQueriesSearchResults, location_name: "SearchResults"))
1232
+ SearchSampleQueriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
1233
+ SearchSampleQueriesResponse.struct_class = Types::SearchSampleQueriesResponse
1234
+
1235
+ SearchSampleQueriesSearchResult.add_member(:name, Shapes::ShapeRef.new(shape: SampleQueryName, location_name: "Name"))
1236
+ SearchSampleQueriesSearchResult.add_member(:description, Shapes::ShapeRef.new(shape: SampleQueryDescription, location_name: "Description"))
1237
+ SearchSampleQueriesSearchResult.add_member(:sql, Shapes::ShapeRef.new(shape: SampleQuerySQL, location_name: "SQL"))
1238
+ SearchSampleQueriesSearchResult.add_member(:relevance, Shapes::ShapeRef.new(shape: SampleQueryRelevance, location_name: "Relevance"))
1239
+ SearchSampleQueriesSearchResult.struct_class = Types::SearchSampleQueriesSearchResult
1240
+
1241
+ SearchSampleQueriesSearchResults.member = Shapes::ShapeRef.new(shape: SearchSampleQueriesSearchResult)
1242
+
1216
1243
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1217
1244
 
1218
1245
  SourceConfig.add_member(:apply_to_all_regions, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApplyToAllRegions"))
@@ -2254,6 +2281,17 @@ module Aws::CloudTrail
2254
2281
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
2255
2282
  end)
2256
2283
 
2284
+ api.add_operation(:search_sample_queries, Seahorse::Model::Operation.new.tap do |o|
2285
+ o.name = "SearchSampleQueries"
2286
+ o.http_method = "POST"
2287
+ o.http_request_uri = "/"
2288
+ o.input = Shapes::ShapeRef.new(shape: SearchSampleQueriesRequest)
2289
+ o.output = Shapes::ShapeRef.new(shape: SearchSampleQueriesResponse)
2290
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2291
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
2292
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
2293
+ end)
2294
+
2257
2295
  api.add_operation(:start_dashboard_refresh, Seahorse::Model::Operation.new.tap do |o|
2258
2296
  o.name = "StartDashboardRefresh"
2259
2297
  o.http_method = "POST"
@@ -10,46 +10,42 @@
10
10
  module Aws::CloudTrail
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  end
26
- if Aws::Endpoints::Matchers.set?(region)
27
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
- return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
32
+ if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-east-1")
37
33
  return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
38
34
  end
39
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
35
+ if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-west-1")
40
36
  return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
41
37
  end
42
- return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
45
41
  end
46
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
42
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
47
43
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
48
- return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
44
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
49
45
  end
50
46
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
51
47
  end
52
- return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
48
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudtrail.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
53
49
  end
54
50
  end
55
51
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -96,7 +96,7 @@ module Aws::CloudTrail
96
96
  # a trail.
97
97
  #
98
98
  # For information about configurable advanced event selector fields, see
99
- # [AdvancedEventSelector][4] in the *CloudTrailUser Guide*.
99
+ # [AdvancedEventSelector][4] in the *CloudTrail API Reference*.
100
100
  #
101
101
  #
102
102
  #
@@ -133,7 +133,14 @@ module Aws::CloudTrail
133
133
  # filtering is not supported.
134
134
  #
135
135
  # For more information, see [AdvancedFieldSelector][1] in the
136
- # *CloudTrailUser Guide*.
136
+ # *CloudTrail API Reference*.
137
+ #
138
+ # <note markdown="1"> Selectors don't support the use of wildcards like `*` . To match
139
+ # multiple values with a single condition, you may use `StartsWith`,
140
+ # `EndsWith`, `NotStartsWith`, or `NotEndsWith` to explicitly match
141
+ # the beginning or end of the event field.
142
+ #
143
+ # </note>
137
144
  #
138
145
  #
139
146
  #
@@ -4657,6 +4664,80 @@ module Aws::CloudTrail
4657
4664
  include Aws::Structure
4658
4665
  end
4659
4666
 
4667
+ # @!attribute [rw] search_phrase
4668
+ # The natural language phrase to use for the semantic search. The
4669
+ # phrase must be in English. The length constraint is in characters,
4670
+ # not words.
4671
+ # @return [String]
4672
+ #
4673
+ # @!attribute [rw] max_results
4674
+ # The maximum number of results to return on a single page. The
4675
+ # default value is 10.
4676
+ # @return [Integer]
4677
+ #
4678
+ # @!attribute [rw] next_token
4679
+ # A token you can use to get the next page of results. The length
4680
+ # constraint is in characters, not words.
4681
+ # @return [String]
4682
+ #
4683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/SearchSampleQueriesRequest AWS API Documentation
4684
+ #
4685
+ class SearchSampleQueriesRequest < Struct.new(
4686
+ :search_phrase,
4687
+ :max_results,
4688
+ :next_token)
4689
+ SENSITIVE = []
4690
+ include Aws::Structure
4691
+ end
4692
+
4693
+ # @!attribute [rw] search_results
4694
+ # A list of objects containing the search results ordered from most
4695
+ # relevant to least relevant.
4696
+ # @return [Array<Types::SearchSampleQueriesSearchResult>]
4697
+ #
4698
+ # @!attribute [rw] next_token
4699
+ # A token you can use to get the next page of results.
4700
+ # @return [String]
4701
+ #
4702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/SearchSampleQueriesResponse AWS API Documentation
4703
+ #
4704
+ class SearchSampleQueriesResponse < Struct.new(
4705
+ :search_results,
4706
+ :next_token)
4707
+ SENSITIVE = []
4708
+ include Aws::Structure
4709
+ end
4710
+
4711
+ # A search result returned by the `SearchSampleQueries` operation.
4712
+ #
4713
+ # @!attribute [rw] name
4714
+ # The name of a sample query.
4715
+ # @return [String]
4716
+ #
4717
+ # @!attribute [rw] description
4718
+ # A longer description of a sample query.
4719
+ # @return [String]
4720
+ #
4721
+ # @!attribute [rw] sql
4722
+ # The SQL code of the sample query.
4723
+ # @return [String]
4724
+ #
4725
+ # @!attribute [rw] relevance
4726
+ # A value between 0 and 1 indicating the similarity between the search
4727
+ # phrase and result.
4728
+ # @return [Float]
4729
+ #
4730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/SearchSampleQueriesSearchResult AWS API Documentation
4731
+ #
4732
+ class SearchSampleQueriesSearchResult < Struct.new(
4733
+ :name,
4734
+ :description,
4735
+ :sql,
4736
+ :relevance)
4737
+ SENSITIVE = []
4738
+ include Aws::Structure
4739
+ end
4740
+
4660
4741
  # This exception is thrown when the quota is exceeded. For information
4661
4742
  # about CloudTrail quotas, see [Service quotas][1] in the *Amazon Web
4662
4743
  # Services General Reference*.
@@ -54,7 +54,7 @@ module Aws::CloudTrail
54
54
  autoload :EndpointProvider, 'aws-sdk-cloudtrail/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-cloudtrail/endpoints'
56
56
 
57
- GEM_VERSION = '1.98.0'
57
+ GEM_VERSION = '1.100.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -835,6 +835,19 @@ module Aws
835
835
  ) -> _RestoreEventDataStoreResponseSuccess
836
836
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreEventDataStoreResponseSuccess
837
837
 
838
+ interface _SearchSampleQueriesResponseSuccess
839
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchSampleQueriesResponse]
840
+ def search_results: () -> ::Array[Types::SearchSampleQueriesSearchResult]
841
+ def next_token: () -> ::String
842
+ end
843
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#search_sample_queries-instance_method
844
+ def search_sample_queries: (
845
+ search_phrase: ::String,
846
+ ?max_results: ::Integer,
847
+ ?next_token: ::String
848
+ ) -> _SearchSampleQueriesResponseSuccess
849
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchSampleQueriesResponseSuccess
850
+
838
851
  interface _StartDashboardRefreshResponseSuccess
839
852
  include ::Seahorse::Client::_ResponseSuccess[Types::StartDashboardRefreshResponse]
840
853
  def refresh_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -1095,6 +1095,27 @@ module Aws::CloudTrail
1095
1095
  SENSITIVE: []
1096
1096
  end
1097
1097
 
1098
+ class SearchSampleQueriesRequest
1099
+ attr_accessor search_phrase: ::String
1100
+ attr_accessor max_results: ::Integer
1101
+ attr_accessor next_token: ::String
1102
+ SENSITIVE: []
1103
+ end
1104
+
1105
+ class SearchSampleQueriesResponse
1106
+ attr_accessor search_results: ::Array[Types::SearchSampleQueriesSearchResult]
1107
+ attr_accessor next_token: ::String
1108
+ SENSITIVE: []
1109
+ end
1110
+
1111
+ class SearchSampleQueriesSearchResult
1112
+ attr_accessor name: ::String
1113
+ attr_accessor description: ::String
1114
+ attr_accessor sql: ::String
1115
+ attr_accessor relevance: ::Float
1116
+ SENSITIVE: []
1117
+ end
1118
+
1098
1119
  class ServiceQuotaExceededException < Aws::EmptyStructure
1099
1120
  end
1100
1121
 
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.98.0
4
+ version: 1.100.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: 2025-01-15 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core