aws-sdk-cloudtrail 1.60.0 → 1.62.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.
@@ -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')
@@ -250,12 +253,16 @@ module Aws::CloudTrail
250
253
  SelectorName = Shapes::StringShape.new(name: 'SelectorName')
251
254
  Source = Shapes::StringShape.new(name: 'Source')
252
255
  SourceConfig = Shapes::StructureShape.new(name: 'SourceConfig')
256
+ StartEventDataStoreIngestionRequest = Shapes::StructureShape.new(name: 'StartEventDataStoreIngestionRequest')
257
+ StartEventDataStoreIngestionResponse = Shapes::StructureShape.new(name: 'StartEventDataStoreIngestionResponse')
253
258
  StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
254
259
  StartImportResponse = Shapes::StructureShape.new(name: 'StartImportResponse')
255
260
  StartLoggingRequest = Shapes::StructureShape.new(name: 'StartLoggingRequest')
256
261
  StartLoggingResponse = Shapes::StructureShape.new(name: 'StartLoggingResponse')
257
262
  StartQueryRequest = Shapes::StructureShape.new(name: 'StartQueryRequest')
258
263
  StartQueryResponse = Shapes::StructureShape.new(name: 'StartQueryResponse')
264
+ StopEventDataStoreIngestionRequest = Shapes::StructureShape.new(name: 'StopEventDataStoreIngestionRequest')
265
+ StopEventDataStoreIngestionResponse = Shapes::StructureShape.new(name: 'StopEventDataStoreIngestionResponse')
259
266
  StopImportRequest = Shapes::StructureShape.new(name: 'StopImportRequest')
260
267
  StopImportResponse = Shapes::StructureShape.new(name: 'StopImportResponse')
261
268
  StopLoggingRequest = Shapes::StructureShape.new(name: 'StopLoggingRequest')
@@ -372,6 +379,7 @@ module Aws::CloudTrail
372
379
  CreateEventDataStoreRequest.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
373
380
  CreateEventDataStoreRequest.add_member(:tags_list, Shapes::ShapeRef.new(shape: TagsList, location_name: "TagsList"))
374
381
  CreateEventDataStoreRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EventDataStoreKmsKeyId, location_name: "KmsKeyId"))
382
+ CreateEventDataStoreRequest.add_member(:start_ingestion, Shapes::ShapeRef.new(shape: Boolean, location_name: "StartIngestion"))
375
383
  CreateEventDataStoreRequest.struct_class = Types::CreateEventDataStoreRequest
376
384
 
377
385
  CreateEventDataStoreResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
@@ -453,7 +461,8 @@ module Aws::CloudTrail
453
461
  DeregisterOrganizationDelegatedAdminResponse.struct_class = Types::DeregisterOrganizationDelegatedAdminResponse
454
462
 
455
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"}))
456
- 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"))
457
466
  DescribeQueryRequest.struct_class = Types::DescribeQueryRequest
458
467
 
459
468
  DescribeQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
@@ -897,6 +906,8 @@ module Aws::CloudTrail
897
906
 
898
907
  QueryIdNotFoundException.struct_class = Types::QueryIdNotFoundException
899
908
 
909
+ QueryParameters.member = Shapes::ShapeRef.new(shape: QueryParameter)
910
+
900
911
  QueryResultColumn.key = Shapes::ShapeRef.new(shape: QueryResultKey)
901
912
  QueryResultColumn.value = Shapes::ShapeRef.new(shape: QueryResultValue)
902
913
 
@@ -978,6 +989,11 @@ module Aws::CloudTrail
978
989
  SourceConfig.add_member(:advanced_event_selectors, Shapes::ShapeRef.new(shape: AdvancedEventSelectors, location_name: "AdvancedEventSelectors"))
979
990
  SourceConfig.struct_class = Types::SourceConfig
980
991
 
992
+ StartEventDataStoreIngestionRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
993
+ StartEventDataStoreIngestionRequest.struct_class = Types::StartEventDataStoreIngestionRequest
994
+
995
+ StartEventDataStoreIngestionResponse.struct_class = Types::StartEventDataStoreIngestionResponse
996
+
981
997
  StartImportRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: ImportDestinations, location_name: "Destinations"))
982
998
  StartImportRequest.add_member(:import_source, Shapes::ShapeRef.new(shape: ImportSource, location_name: "ImportSource"))
983
999
  StartImportRequest.add_member(:start_event_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartEventTime"))
@@ -1000,13 +1016,20 @@ module Aws::CloudTrail
1000
1016
 
1001
1017
  StartLoggingResponse.struct_class = Types::StartLoggingResponse
1002
1018
 
1003
- 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"))
1004
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"))
1005
1023
  StartQueryRequest.struct_class = Types::StartQueryRequest
1006
1024
 
1007
1025
  StartQueryResponse.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, location_name: "QueryId"))
1008
1026
  StartQueryResponse.struct_class = Types::StartQueryResponse
1009
1027
 
1028
+ StopEventDataStoreIngestionRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
1029
+ StopEventDataStoreIngestionRequest.struct_class = Types::StopEventDataStoreIngestionRequest
1030
+
1031
+ StopEventDataStoreIngestionResponse.struct_class = Types::StopEventDataStoreIngestionResponse
1032
+
1010
1033
  StopImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "ImportId"))
1011
1034
  StopImportRequest.struct_class = Types::StopImportRequest
1012
1035
 
@@ -1814,6 +1837,24 @@ module Aws::CloudTrail
1814
1837
  o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
1815
1838
  end)
1816
1839
 
1840
+ api.add_operation(:start_event_data_store_ingestion, Seahorse::Model::Operation.new.tap do |o|
1841
+ o.name = "StartEventDataStoreIngestion"
1842
+ o.http_method = "POST"
1843
+ o.http_request_uri = "/"
1844
+ o.input = Shapes::ShapeRef.new(shape: StartEventDataStoreIngestionRequest)
1845
+ o.output = Shapes::ShapeRef.new(shape: StartEventDataStoreIngestionResponse)
1846
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1847
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1848
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreStatusException)
1849
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1850
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreCategoryException)
1851
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1852
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1853
+ o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1854
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
1856
+ end)
1857
+
1817
1858
  api.add_operation(:start_import, Seahorse::Model::Operation.new.tap do |o|
1818
1859
  o.name = "StartImport"
1819
1860
  o.http_method = "POST"
@@ -1876,6 +1917,24 @@ module Aws::CloudTrail
1876
1917
  o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1877
1918
  end)
1878
1919
 
1920
+ api.add_operation(:stop_event_data_store_ingestion, Seahorse::Model::Operation.new.tap do |o|
1921
+ o.name = "StopEventDataStoreIngestion"
1922
+ o.http_method = "POST"
1923
+ o.http_request_uri = "/"
1924
+ o.input = Shapes::ShapeRef.new(shape: StopEventDataStoreIngestionRequest)
1925
+ o.output = Shapes::ShapeRef.new(shape: StopEventDataStoreIngestionResponse)
1926
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1927
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1928
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreStatusException)
1929
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1930
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreCategoryException)
1931
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1932
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1933
+ o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
1934
+ o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
1935
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientDependencyServiceAccessPermissionException)
1936
+ end)
1937
+
1879
1938
  api.add_operation(:stop_import, Seahorse::Model::Operation.new.tap do |o|
1880
1939
  o.name = "StopImport"
1881
1940
  o.http_method = "POST"
@@ -1930,6 +1989,7 @@ module Aws::CloudTrail
1930
1989
  o.http_request_uri = "/"
1931
1990
  o.input = Shapes::ShapeRef.new(shape: UpdateEventDataStoreRequest)
1932
1991
  o.output = Shapes::ShapeRef.new(shape: UpdateEventDataStoreResponse)
1992
+ o.errors << Shapes::ShapeRef.new(shape: EventDataStoreAlreadyExistsException)
1933
1993
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
1934
1994
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
1935
1995
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
@@ -515,6 +515,20 @@ module Aws::CloudTrail
515
515
  end
516
516
  end
517
517
 
518
+ class StartEventDataStoreIngestion
519
+ def self.build(context)
520
+ unless context.config.regional_endpoint
521
+ endpoint = context.config.endpoint.to_s
522
+ end
523
+ Aws::CloudTrail::EndpointParameters.new(
524
+ region: context.config.region,
525
+ use_dual_stack: context.config.use_dualstack_endpoint,
526
+ use_fips: context.config.use_fips_endpoint,
527
+ endpoint: endpoint,
528
+ )
529
+ end
530
+ end
531
+
518
532
  class StartImport
519
533
  def self.build(context)
520
534
  unless context.config.regional_endpoint
@@ -557,6 +571,20 @@ module Aws::CloudTrail
557
571
  end
558
572
  end
559
573
 
574
+ class StopEventDataStoreIngestion
575
+ def self.build(context)
576
+ unless context.config.regional_endpoint
577
+ endpoint = context.config.endpoint.to_s
578
+ end
579
+ Aws::CloudTrail::EndpointParameters.new(
580
+ region: context.config.region,
581
+ use_dual_stack: context.config.use_dualstack_endpoint,
582
+ use_fips: context.config.use_fips_endpoint,
583
+ endpoint: endpoint,
584
+ )
585
+ end
586
+ end
587
+
560
588
  class StopImport
561
589
  def self.build(context)
562
590
  unless context.config.regional_endpoint
@@ -128,12 +128,16 @@ module Aws::CloudTrail
128
128
  Aws::CloudTrail::Endpoints::RemoveTags.build(context)
129
129
  when :restore_event_data_store
130
130
  Aws::CloudTrail::Endpoints::RestoreEventDataStore.build(context)
131
+ when :start_event_data_store_ingestion
132
+ Aws::CloudTrail::Endpoints::StartEventDataStoreIngestion.build(context)
131
133
  when :start_import
132
134
  Aws::CloudTrail::Endpoints::StartImport.build(context)
133
135
  when :start_logging
134
136
  Aws::CloudTrail::Endpoints::StartLogging.build(context)
135
137
  when :start_query
136
138
  Aws::CloudTrail::Endpoints::StartQuery.build(context)
139
+ when :stop_event_data_store_ingestion
140
+ Aws::CloudTrail::Endpoints::StopEventDataStoreIngestion.build(context)
137
141
  when :stop_import
138
142
  Aws::CloudTrail::Endpoints::StopImport.build(context)
139
143
  when :stop_logging