aws-sdk-eventbridge 1.16.0 → 1.17.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: 4c0fa1440e1268eeca6871f8f3875ce7556df05d9809fae8d187a536097b73cd
4
- data.tar.gz: 65a14584c37e6fe9ff3ce69406e25b1be9daba74ee0ff8dbbab1e16ae84c73dd
3
+ metadata.gz: 623bb8875c357af8f63e43ee5c97f67d85beb53819953ac44afadb6136d3253a
4
+ data.tar.gz: ec5dcba117b6d72c638cadbdf1110203b9b92f96f6f8c132f63ff2fb586c2ef9
5
5
  SHA512:
6
- metadata.gz: 3e7e1c743be6a1d38545ceb3c79e6b335618d7f88d8ad212abfb205e6fdbed6410e0dc637e9fec8c1addfc3e514884208a9c9281f23dffe92110ff4a586cf17e
7
- data.tar.gz: a915b150618a7e464bc6f1018d6a4ff47a5e07e38e3953cbd703eafb131794977eb33aa5e6d4155bc436fcaf95ebccb6e0bf04da3666b3b0b5e45cbcecdaa34f
6
+ metadata.gz: 15dce331f30fa57128d83002c8e2278e2a7d2db532a4bc811989efce1a6f6775649505be2f7357aac14c7128e43c597f36d74cedf08d6100bd61aacf726a4e16
7
+ data.tar.gz: c98c662d69ce412e96f3171223a2e0c328b224aa9aad89d29d440352e8d9229bf7f069740d8ecd66714bbfbd337da0a3834f889cd1dae781c85b6bb3b87ed671
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-eventbridge/customizations'
48
48
  # @!group service
49
49
  module Aws::EventBridge
50
50
 
51
- GEM_VERSION = '1.16.0'
51
+ GEM_VERSION = '1.17.0'
52
52
 
53
53
  end
@@ -361,6 +361,92 @@ module Aws::EventBridge
361
361
  req.send_request(options)
362
362
  end
363
363
 
364
+ # Cancels the specified replay.
365
+ #
366
+ # @option params [required, String] :replay_name
367
+ # The name of the replay to cancel.
368
+ #
369
+ # @return [Types::CancelReplayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
370
+ #
371
+ # * {Types::CancelReplayResponse#replay_arn #replay_arn} => String
372
+ # * {Types::CancelReplayResponse#state #state} => String
373
+ # * {Types::CancelReplayResponse#state_reason #state_reason} => String
374
+ #
375
+ # @example Request syntax with placeholder values
376
+ #
377
+ # resp = client.cancel_replay({
378
+ # replay_name: "ReplayName", # required
379
+ # })
380
+ #
381
+ # @example Response structure
382
+ #
383
+ # resp.replay_arn #=> String
384
+ # resp.state #=> String, one of "STARTING", "RUNNING", "CANCELLING", "COMPLETED", "CANCELLED", "FAILED"
385
+ # resp.state_reason #=> String
386
+ #
387
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CancelReplay AWS API Documentation
388
+ #
389
+ # @overload cancel_replay(params = {})
390
+ # @param [Hash] params ({})
391
+ def cancel_replay(params = {}, options = {})
392
+ req = build_request(:cancel_replay, params)
393
+ req.send_request(options)
394
+ end
395
+
396
+ # Creates an archive of events with the specified settings. When you
397
+ # create an archive, incoming events might not immediately start being
398
+ # sent to the archive. Allow a short period of time for changes to take
399
+ # effect.
400
+ #
401
+ # @option params [required, String] :archive_name
402
+ # The name for the archive to create.
403
+ #
404
+ # @option params [required, String] :event_source_arn
405
+ # The ARN of the event source associated with the archive.
406
+ #
407
+ # @option params [String] :description
408
+ # A description for the archive.
409
+ #
410
+ # @option params [String] :event_pattern
411
+ # An event pattern to use to filter events sent to the archive.
412
+ #
413
+ # @option params [Integer] :retention_days
414
+ # The number of days to retain events for. Default value is 0. If set to
415
+ # 0, events are retained indefinitely
416
+ #
417
+ # @return [Types::CreateArchiveResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
418
+ #
419
+ # * {Types::CreateArchiveResponse#archive_arn #archive_arn} => String
420
+ # * {Types::CreateArchiveResponse#state #state} => String
421
+ # * {Types::CreateArchiveResponse#state_reason #state_reason} => String
422
+ # * {Types::CreateArchiveResponse#creation_time #creation_time} => Time
423
+ #
424
+ # @example Request syntax with placeholder values
425
+ #
426
+ # resp = client.create_archive({
427
+ # archive_name: "ArchiveName", # required
428
+ # event_source_arn: "Arn", # required
429
+ # description: "ArchiveDescription",
430
+ # event_pattern: "EventPattern",
431
+ # retention_days: 1,
432
+ # })
433
+ #
434
+ # @example Response structure
435
+ #
436
+ # resp.archive_arn #=> String
437
+ # resp.state #=> String, one of "ENABLED", "DISABLED", "CREATING", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED"
438
+ # resp.state_reason #=> String
439
+ # resp.creation_time #=> Time
440
+ #
441
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateArchive AWS API Documentation
442
+ #
443
+ # @overload create_archive(params = {})
444
+ # @param [Hash] params ({})
445
+ def create_archive(params = {}, options = {})
446
+ req = build_request(:create_archive, params)
447
+ req.send_request(options)
448
+ end
449
+
364
450
  # Creates a new event bus within your account. This can be a custom
365
451
  # event bus which you can use to receive events from your custom
366
452
  # applications and services, or it can be a partner event bus which can
@@ -507,6 +593,28 @@ module Aws::EventBridge
507
593
  req.send_request(options)
508
594
  end
509
595
 
596
+ # Deletes the specified archive.
597
+ #
598
+ # @option params [required, String] :archive_name
599
+ # The name of the archive to delete.
600
+ #
601
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
602
+ #
603
+ # @example Request syntax with placeholder values
604
+ #
605
+ # resp = client.delete_archive({
606
+ # archive_name: "ArchiveName", # required
607
+ # })
608
+ #
609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteArchive AWS API Documentation
610
+ #
611
+ # @overload delete_archive(params = {})
612
+ # @param [Hash] params ({})
613
+ def delete_archive(params = {}, options = {})
614
+ req = build_request(:delete_archive, params)
615
+ req.send_request(options)
616
+ end
617
+
510
618
  # Deletes the specified custom event bus or partner event bus. All rules
511
619
  # associated with this event bus need to be deleted. You can't delete
512
620
  # your account's default event bus.
@@ -609,6 +717,54 @@ module Aws::EventBridge
609
717
  req.send_request(options)
610
718
  end
611
719
 
720
+ # Retrieves details about an archive.
721
+ #
722
+ # @option params [required, String] :archive_name
723
+ # The name of the archive to retrieve.
724
+ #
725
+ # @return [Types::DescribeArchiveResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
726
+ #
727
+ # * {Types::DescribeArchiveResponse#archive_arn #archive_arn} => String
728
+ # * {Types::DescribeArchiveResponse#archive_name #archive_name} => String
729
+ # * {Types::DescribeArchiveResponse#event_source_arn #event_source_arn} => String
730
+ # * {Types::DescribeArchiveResponse#description #description} => String
731
+ # * {Types::DescribeArchiveResponse#event_pattern #event_pattern} => String
732
+ # * {Types::DescribeArchiveResponse#state #state} => String
733
+ # * {Types::DescribeArchiveResponse#state_reason #state_reason} => String
734
+ # * {Types::DescribeArchiveResponse#retention_days #retention_days} => Integer
735
+ # * {Types::DescribeArchiveResponse#size_bytes #size_bytes} => Integer
736
+ # * {Types::DescribeArchiveResponse#event_count #event_count} => Integer
737
+ # * {Types::DescribeArchiveResponse#creation_time #creation_time} => Time
738
+ #
739
+ # @example Request syntax with placeholder values
740
+ #
741
+ # resp = client.describe_archive({
742
+ # archive_name: "ArchiveName", # required
743
+ # })
744
+ #
745
+ # @example Response structure
746
+ #
747
+ # resp.archive_arn #=> String
748
+ # resp.archive_name #=> String
749
+ # resp.event_source_arn #=> String
750
+ # resp.description #=> String
751
+ # resp.event_pattern #=> String
752
+ # resp.state #=> String, one of "ENABLED", "DISABLED", "CREATING", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED"
753
+ # resp.state_reason #=> String
754
+ # resp.retention_days #=> Integer
755
+ # resp.size_bytes #=> Integer
756
+ # resp.event_count #=> Integer
757
+ # resp.creation_time #=> Time
758
+ #
759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeArchive AWS API Documentation
760
+ #
761
+ # @overload describe_archive(params = {})
762
+ # @param [Hash] params ({})
763
+ def describe_archive(params = {}, options = {})
764
+ req = build_request(:describe_archive, params)
765
+ req.send_request(options)
766
+ end
767
+
612
768
  # Displays details about an event bus in your account. This can include
613
769
  # the external AWS accounts that are permitted to write events to your
614
770
  # default event bus, and the associated policy. For custom event buses
@@ -723,6 +879,67 @@ module Aws::EventBridge
723
879
  req.send_request(options)
724
880
  end
725
881
 
882
+ # Retrieves details about a replay. Use `DescribeReplay` to determine
883
+ # the progress of a running replay. A replay processes events to replay
884
+ # based on the time in the event, and replays them using 1 minute
885
+ # intervals. If you use `StartReplay` and specify an `EventStartTime`
886
+ # and an `EventEndTime` that covers a 20 minute time range, the events
887
+ # are replayed from the first minute of that 20 minute range first. Then
888
+ # the events from the second minute are replayed. You can use
889
+ # `DescribeReplay` to determine the progress of a replay. The value
890
+ # returned for `EventLastReplayedTime` indicates the time within the
891
+ # specified time range associated with the last event replayed.
892
+ #
893
+ # @option params [required, String] :replay_name
894
+ # The name of the replay to retrieve.
895
+ #
896
+ # @return [Types::DescribeReplayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
897
+ #
898
+ # * {Types::DescribeReplayResponse#replay_name #replay_name} => String
899
+ # * {Types::DescribeReplayResponse#replay_arn #replay_arn} => String
900
+ # * {Types::DescribeReplayResponse#description #description} => String
901
+ # * {Types::DescribeReplayResponse#state #state} => String
902
+ # * {Types::DescribeReplayResponse#state_reason #state_reason} => String
903
+ # * {Types::DescribeReplayResponse#event_source_arn #event_source_arn} => String
904
+ # * {Types::DescribeReplayResponse#destination #destination} => Types::ReplayDestination
905
+ # * {Types::DescribeReplayResponse#event_start_time #event_start_time} => Time
906
+ # * {Types::DescribeReplayResponse#event_end_time #event_end_time} => Time
907
+ # * {Types::DescribeReplayResponse#event_last_replayed_time #event_last_replayed_time} => Time
908
+ # * {Types::DescribeReplayResponse#replay_start_time #replay_start_time} => Time
909
+ # * {Types::DescribeReplayResponse#replay_end_time #replay_end_time} => Time
910
+ #
911
+ # @example Request syntax with placeholder values
912
+ #
913
+ # resp = client.describe_replay({
914
+ # replay_name: "ReplayName", # required
915
+ # })
916
+ #
917
+ # @example Response structure
918
+ #
919
+ # resp.replay_name #=> String
920
+ # resp.replay_arn #=> String
921
+ # resp.description #=> String
922
+ # resp.state #=> String, one of "STARTING", "RUNNING", "CANCELLING", "COMPLETED", "CANCELLED", "FAILED"
923
+ # resp.state_reason #=> String
924
+ # resp.event_source_arn #=> String
925
+ # resp.destination.arn #=> String
926
+ # resp.destination.filter_arns #=> Array
927
+ # resp.destination.filter_arns[0] #=> String
928
+ # resp.event_start_time #=> Time
929
+ # resp.event_end_time #=> Time
930
+ # resp.event_last_replayed_time #=> Time
931
+ # resp.replay_start_time #=> Time
932
+ # resp.replay_end_time #=> Time
933
+ #
934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeReplay AWS API Documentation
935
+ #
936
+ # @overload describe_replay(params = {})
937
+ # @param [Hash] params ({})
938
+ def describe_replay(params = {}, options = {})
939
+ req = build_request(:describe_replay, params)
940
+ req.send_request(options)
941
+ end
942
+
726
943
  # Describes the specified rule.
727
944
  #
728
945
  # DescribeRule does not list the targets of a rule. To see the targets
@@ -839,6 +1056,64 @@ module Aws::EventBridge
839
1056
  req.send_request(options)
840
1057
  end
841
1058
 
1059
+ # Lists your archives. You can either list all the archives or you can
1060
+ # provide a prefix to match to the archive names. Filter parameters are
1061
+ # exclusive.
1062
+ #
1063
+ # @option params [String] :name_prefix
1064
+ # A name prefix to filter the archives returned. Only archives with name
1065
+ # that match the prefix are returned.
1066
+ #
1067
+ # @option params [String] :event_source_arn
1068
+ # The ARN of the event source associated with the archive.
1069
+ #
1070
+ # @option params [String] :state
1071
+ # The state of the archive.
1072
+ #
1073
+ # @option params [String] :next_token
1074
+ # The token returned by a previous call to retrieve the next set of
1075
+ # results.
1076
+ #
1077
+ # @option params [Integer] :limit
1078
+ # The maximum number of results to return.
1079
+ #
1080
+ # @return [Types::ListArchivesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1081
+ #
1082
+ # * {Types::ListArchivesResponse#archives #archives} => Array<Types::Archive>
1083
+ # * {Types::ListArchivesResponse#next_token #next_token} => String
1084
+ #
1085
+ # @example Request syntax with placeholder values
1086
+ #
1087
+ # resp = client.list_archives({
1088
+ # name_prefix: "ArchiveName",
1089
+ # event_source_arn: "Arn",
1090
+ # state: "ENABLED", # accepts ENABLED, DISABLED, CREATING, UPDATING, CREATE_FAILED, UPDATE_FAILED
1091
+ # next_token: "NextToken",
1092
+ # limit: 1,
1093
+ # })
1094
+ #
1095
+ # @example Response structure
1096
+ #
1097
+ # resp.archives #=> Array
1098
+ # resp.archives[0].archive_name #=> String
1099
+ # resp.archives[0].event_source_arn #=> String
1100
+ # resp.archives[0].state #=> String, one of "ENABLED", "DISABLED", "CREATING", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED"
1101
+ # resp.archives[0].state_reason #=> String
1102
+ # resp.archives[0].retention_days #=> Integer
1103
+ # resp.archives[0].size_bytes #=> Integer
1104
+ # resp.archives[0].event_count #=> Integer
1105
+ # resp.archives[0].creation_time #=> Time
1106
+ # resp.next_token #=> String
1107
+ #
1108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListArchives AWS API Documentation
1109
+ #
1110
+ # @overload list_archives(params = {})
1111
+ # @param [Hash] params ({})
1112
+ def list_archives(params = {}, options = {})
1113
+ req = build_request(:list_archives, params)
1114
+ req.send_request(options)
1115
+ end
1116
+
842
1117
  # Lists all the event buses in your account, including the default event
843
1118
  # bus, custom event buses, and partner event buses.
844
1119
  #
@@ -1029,6 +1304,65 @@ module Aws::EventBridge
1029
1304
  req.send_request(options)
1030
1305
  end
1031
1306
 
1307
+ # Lists your replays. You can either list all the replays or you can
1308
+ # provide a prefix to match to the replay names. Filter parameters are
1309
+ # exclusive.
1310
+ #
1311
+ # @option params [String] :name_prefix
1312
+ # A name prefix to filter the archives returned. Only archives with name
1313
+ # that match the prefix are returned.
1314
+ #
1315
+ # @option params [String] :state
1316
+ # The state of the replay.
1317
+ #
1318
+ # @option params [String] :event_source_arn
1319
+ # The ARN of the event source associated with the replay.
1320
+ #
1321
+ # @option params [String] :next_token
1322
+ # The token returned by a previous call to retrieve the next set of
1323
+ # results.
1324
+ #
1325
+ # @option params [Integer] :limit
1326
+ # The maximum number of replays to retrieve.
1327
+ #
1328
+ # @return [Types::ListReplaysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1329
+ #
1330
+ # * {Types::ListReplaysResponse#replays #replays} => Array<Types::Replay>
1331
+ # * {Types::ListReplaysResponse#next_token #next_token} => String
1332
+ #
1333
+ # @example Request syntax with placeholder values
1334
+ #
1335
+ # resp = client.list_replays({
1336
+ # name_prefix: "ReplayName",
1337
+ # state: "STARTING", # accepts STARTING, RUNNING, CANCELLING, COMPLETED, CANCELLED, FAILED
1338
+ # event_source_arn: "Arn",
1339
+ # next_token: "NextToken",
1340
+ # limit: 1,
1341
+ # })
1342
+ #
1343
+ # @example Response structure
1344
+ #
1345
+ # resp.replays #=> Array
1346
+ # resp.replays[0].replay_name #=> String
1347
+ # resp.replays[0].event_source_arn #=> String
1348
+ # resp.replays[0].state #=> String, one of "STARTING", "RUNNING", "CANCELLING", "COMPLETED", "CANCELLED", "FAILED"
1349
+ # resp.replays[0].state_reason #=> String
1350
+ # resp.replays[0].event_start_time #=> Time
1351
+ # resp.replays[0].event_end_time #=> Time
1352
+ # resp.replays[0].event_last_replayed_time #=> Time
1353
+ # resp.replays[0].replay_start_time #=> Time
1354
+ # resp.replays[0].replay_end_time #=> Time
1355
+ # resp.next_token #=> String
1356
+ #
1357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListReplays AWS API Documentation
1358
+ #
1359
+ # @overload list_replays(params = {})
1360
+ # @param [Hash] params ({})
1361
+ def list_replays(params = {}, options = {})
1362
+ req = build_request(:list_replays, params)
1363
+ req.send_request(options)
1364
+ end
1365
+
1032
1366
  # Lists the rules for the specified target. You can see which of the
1033
1367
  # rules in Amazon EventBridge can invoke a specific target in your
1034
1368
  # account.
@@ -1900,6 +2234,75 @@ module Aws::EventBridge
1900
2234
  req.send_request(options)
1901
2235
  end
1902
2236
 
2237
+ # Starts the specified replay. Events are not necessarily replayed in
2238
+ # the exact same order that they were added to the archive. A replay
2239
+ # processes events to replay based on the time in the event, and replays
2240
+ # them using 1 minute intervals. If you specify an `EventStartTime` and
2241
+ # an `EventEndTime` that covers a 20 minute time range, the events are
2242
+ # replayed from the first minute of that 20 minute range first. Then the
2243
+ # events from the second minute are replayed. You can use
2244
+ # `DescribeReplay` to determine the progress of a replay. The value
2245
+ # returned for `EventLastReplayedTime` indicates the time within the
2246
+ # specified time range associated with the last event replayed.
2247
+ #
2248
+ # @option params [required, String] :replay_name
2249
+ # The name of the replay to start.
2250
+ #
2251
+ # @option params [String] :description
2252
+ # A description for the replay to start.
2253
+ #
2254
+ # @option params [required, String] :event_source_arn
2255
+ # The ARN of the archive to replay events from.
2256
+ #
2257
+ # @option params [required, Time,DateTime,Date,Integer,String] :event_start_time
2258
+ # A time stamp for the time to start replaying events. Only events that
2259
+ # occurred between the `EventStartTime` and `EventEndTime` are replayed.
2260
+ #
2261
+ # @option params [required, Time,DateTime,Date,Integer,String] :event_end_time
2262
+ # A time stamp for the time to stop replaying events. Only events that
2263
+ # occurred between the `EventStartTime` and `EventEndTime` are replayed.
2264
+ #
2265
+ # @option params [required, Types::ReplayDestination] :destination
2266
+ # A `ReplayDestination` object that includes details about the
2267
+ # destination for the replay.
2268
+ #
2269
+ # @return [Types::StartReplayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2270
+ #
2271
+ # * {Types::StartReplayResponse#replay_arn #replay_arn} => String
2272
+ # * {Types::StartReplayResponse#state #state} => String
2273
+ # * {Types::StartReplayResponse#state_reason #state_reason} => String
2274
+ # * {Types::StartReplayResponse#replay_start_time #replay_start_time} => Time
2275
+ #
2276
+ # @example Request syntax with placeholder values
2277
+ #
2278
+ # resp = client.start_replay({
2279
+ # replay_name: "ReplayName", # required
2280
+ # description: "ReplayDescription",
2281
+ # event_source_arn: "Arn", # required
2282
+ # event_start_time: Time.now, # required
2283
+ # event_end_time: Time.now, # required
2284
+ # destination: { # required
2285
+ # arn: "Arn", # required
2286
+ # filter_arns: ["Arn"],
2287
+ # },
2288
+ # })
2289
+ #
2290
+ # @example Response structure
2291
+ #
2292
+ # resp.replay_arn #=> String
2293
+ # resp.state #=> String, one of "STARTING", "RUNNING", "CANCELLING", "COMPLETED", "CANCELLED", "FAILED"
2294
+ # resp.state_reason #=> String
2295
+ # resp.replay_start_time #=> Time
2296
+ #
2297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/StartReplay AWS API Documentation
2298
+ #
2299
+ # @overload start_replay(params = {})
2300
+ # @param [Hash] params ({})
2301
+ def start_replay(params = {}, options = {})
2302
+ req = build_request(:start_replay, params)
2303
+ req.send_request(options)
2304
+ end
2305
+
1903
2306
  # Assigns one or more tags (key-value pairs) to the specified
1904
2307
  # EventBridge resource. Tags can help you organize and categorize your
1905
2308
  # resources. You can also use them to scope user permissions by granting
@@ -2017,6 +2420,52 @@ module Aws::EventBridge
2017
2420
  req.send_request(options)
2018
2421
  end
2019
2422
 
2423
+ # Updates the specified archive.
2424
+ #
2425
+ # @option params [required, String] :archive_name
2426
+ # The name of the archive to update.
2427
+ #
2428
+ # @option params [String] :description
2429
+ # The description for the archive.
2430
+ #
2431
+ # @option params [String] :event_pattern
2432
+ # The event pattern to use to filter events sent to the archive.
2433
+ #
2434
+ # @option params [Integer] :retention_days
2435
+ # The number of days to retain events in the archive.
2436
+ #
2437
+ # @return [Types::UpdateArchiveResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2438
+ #
2439
+ # * {Types::UpdateArchiveResponse#archive_arn #archive_arn} => String
2440
+ # * {Types::UpdateArchiveResponse#state #state} => String
2441
+ # * {Types::UpdateArchiveResponse#state_reason #state_reason} => String
2442
+ # * {Types::UpdateArchiveResponse#creation_time #creation_time} => Time
2443
+ #
2444
+ # @example Request syntax with placeholder values
2445
+ #
2446
+ # resp = client.update_archive({
2447
+ # archive_name: "ArchiveName", # required
2448
+ # description: "ArchiveDescription",
2449
+ # event_pattern: "EventPattern",
2450
+ # retention_days: 1,
2451
+ # })
2452
+ #
2453
+ # @example Response structure
2454
+ #
2455
+ # resp.archive_arn #=> String
2456
+ # resp.state #=> String, one of "ENABLED", "DISABLED", "CREATING", "UPDATING", "CREATE_FAILED", "UPDATE_FAILED"
2457
+ # resp.state_reason #=> String
2458
+ # resp.creation_time #=> Time
2459
+ #
2460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateArchive AWS API Documentation
2461
+ #
2462
+ # @overload update_archive(params = {})
2463
+ # @param [Hash] params ({})
2464
+ def update_archive(params = {}, options = {})
2465
+ req = build_request(:update_archive, params)
2466
+ req.send_request(options)
2467
+ end
2468
+
2020
2469
  # @!endgroup
2021
2470
 
2022
2471
  # @param params ({})
@@ -2030,7 +2479,7 @@ module Aws::EventBridge
2030
2479
  params: params,
2031
2480
  config: config)
2032
2481
  context[:gem_name] = 'aws-sdk-eventbridge'
2033
- context[:gem_version] = '1.16.0'
2482
+ context[:gem_version] = '1.17.0'
2034
2483
  Seahorse::Client::Request.new(handlers, context)
2035
2484
  end
2036
2485