aws-sdk-cloudwatchevents 1.42.0 → 1.47.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.47.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
48
48
  # @!group service
49
49
  module Aws::CloudWatchEvents
50
50
 
51
- GEM_VERSION = '1.42.0'
51
+ GEM_VERSION = '1.47.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -393,6 +393,64 @@ module Aws::CloudWatchEvents
393
393
  req.send_request(options)
394
394
  end
395
395
 
396
+ # Creates an API destination, which is an HTTP invocation endpoint
397
+ # configured as a target for events.
398
+ #
399
+ # @option params [required, String] :name
400
+ # The name for the API destination to create.
401
+ #
402
+ # @option params [String] :description
403
+ # A description for the API destination to create.
404
+ #
405
+ # @option params [required, String] :connection_arn
406
+ # The ARN of the connection to use for the API destination. The
407
+ # destination endpoint must support the authorization type specified for
408
+ # the connection.
409
+ #
410
+ # @option params [required, String] :invocation_endpoint
411
+ # The URL to the HTTP invocation endpoint for the API destination.
412
+ #
413
+ # @option params [required, String] :http_method
414
+ # The method to use for the request to the HTTP invocation endpoint.
415
+ #
416
+ # @option params [Integer] :invocation_rate_limit_per_second
417
+ # The maximum number of requests per second to send to the HTTP
418
+ # invocation endpoint.
419
+ #
420
+ # @return [Types::CreateApiDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
421
+ #
422
+ # * {Types::CreateApiDestinationResponse#api_destination_arn #api_destination_arn} => String
423
+ # * {Types::CreateApiDestinationResponse#api_destination_state #api_destination_state} => String
424
+ # * {Types::CreateApiDestinationResponse#creation_time #creation_time} => Time
425
+ # * {Types::CreateApiDestinationResponse#last_modified_time #last_modified_time} => Time
426
+ #
427
+ # @example Request syntax with placeholder values
428
+ #
429
+ # resp = client.create_api_destination({
430
+ # name: "ApiDestinationName", # required
431
+ # description: "ApiDestinationDescription",
432
+ # connection_arn: "ConnectionArn", # required
433
+ # invocation_endpoint: "HttpsEndpoint", # required
434
+ # http_method: "POST", # required, accepts POST, GET, HEAD, OPTIONS, PUT, PATCH, DELETE
435
+ # invocation_rate_limit_per_second: 1,
436
+ # })
437
+ #
438
+ # @example Response structure
439
+ #
440
+ # resp.api_destination_arn #=> String
441
+ # resp.api_destination_state #=> String, one of "ACTIVE", "INACTIVE"
442
+ # resp.creation_time #=> Time
443
+ # resp.last_modified_time #=> Time
444
+ #
445
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateApiDestination AWS API Documentation
446
+ #
447
+ # @overload create_api_destination(params = {})
448
+ # @param [Hash] params ({})
449
+ def create_api_destination(params = {}, options = {})
450
+ req = build_request(:create_api_destination, params)
451
+ req.send_request(options)
452
+ end
453
+
396
454
  # Creates an archive of events with the specified settings. When you
397
455
  # create an archive, incoming events might not immediately start being
398
456
  # sent to the archive. Allow a short period of time for changes to take
@@ -449,6 +507,118 @@ module Aws::CloudWatchEvents
449
507
  req.send_request(options)
450
508
  end
451
509
 
510
+ # Creates a connection. A connection defines the authorization type and
511
+ # credentials to use for authorization with an API destination HTTP
512
+ # endpoint.
513
+ #
514
+ # @option params [required, String] :name
515
+ # The name for the connection to create.
516
+ #
517
+ # @option params [String] :description
518
+ # A description for the connection to create.
519
+ #
520
+ # @option params [required, String] :authorization_type
521
+ # The type of authorization to use for the connection.
522
+ #
523
+ # @option params [required, Types::CreateConnectionAuthRequestParameters] :auth_parameters
524
+ # A `CreateConnectionAuthRequestParameters` object that contains the
525
+ # authorization parameters to use to authorize with the endpoint.
526
+ #
527
+ # @return [Types::CreateConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
528
+ #
529
+ # * {Types::CreateConnectionResponse#connection_arn #connection_arn} => String
530
+ # * {Types::CreateConnectionResponse#connection_state #connection_state} => String
531
+ # * {Types::CreateConnectionResponse#creation_time #creation_time} => Time
532
+ # * {Types::CreateConnectionResponse#last_modified_time #last_modified_time} => Time
533
+ #
534
+ # @example Request syntax with placeholder values
535
+ #
536
+ # resp = client.create_connection({
537
+ # name: "ConnectionName", # required
538
+ # description: "ConnectionDescription",
539
+ # authorization_type: "BASIC", # required, accepts BASIC, OAUTH_CLIENT_CREDENTIALS, API_KEY
540
+ # auth_parameters: { # required
541
+ # basic_auth_parameters: {
542
+ # username: "AuthHeaderParameters", # required
543
+ # password: "AuthHeaderParameters", # required
544
+ # },
545
+ # o_auth_parameters: {
546
+ # client_parameters: { # required
547
+ # client_id: "AuthHeaderParameters", # required
548
+ # client_secret: "AuthHeaderParameters", # required
549
+ # },
550
+ # authorization_endpoint: "HttpsEndpoint", # required
551
+ # http_method: "GET", # required, accepts GET, POST, PUT
552
+ # o_auth_http_parameters: {
553
+ # header_parameters: [
554
+ # {
555
+ # key: "HeaderKey",
556
+ # value: "HeaderValue",
557
+ # is_value_secret: false,
558
+ # },
559
+ # ],
560
+ # query_string_parameters: [
561
+ # {
562
+ # key: "QueryStringKey",
563
+ # value: "QueryStringValue",
564
+ # is_value_secret: false,
565
+ # },
566
+ # ],
567
+ # body_parameters: [
568
+ # {
569
+ # key: "String",
570
+ # value: "String",
571
+ # is_value_secret: false,
572
+ # },
573
+ # ],
574
+ # },
575
+ # },
576
+ # api_key_auth_parameters: {
577
+ # api_key_name: "AuthHeaderParameters", # required
578
+ # api_key_value: "AuthHeaderParameters", # required
579
+ # },
580
+ # invocation_http_parameters: {
581
+ # header_parameters: [
582
+ # {
583
+ # key: "HeaderKey",
584
+ # value: "HeaderValue",
585
+ # is_value_secret: false,
586
+ # },
587
+ # ],
588
+ # query_string_parameters: [
589
+ # {
590
+ # key: "QueryStringKey",
591
+ # value: "QueryStringValue",
592
+ # is_value_secret: false,
593
+ # },
594
+ # ],
595
+ # body_parameters: [
596
+ # {
597
+ # key: "String",
598
+ # value: "String",
599
+ # is_value_secret: false,
600
+ # },
601
+ # ],
602
+ # },
603
+ # },
604
+ # })
605
+ #
606
+ # @example Response structure
607
+ #
608
+ # resp.connection_arn #=> String
609
+ # resp.connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
610
+ # resp.creation_time #=> Time
611
+ # resp.last_modified_time #=> Time
612
+ #
613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateConnection AWS API Documentation
614
+ #
615
+ # @overload create_connection(params = {})
616
+ # @param [Hash] params ({})
617
+ def create_connection(params = {}, options = {})
618
+ req = build_request(:create_connection, params)
619
+ req.send_request(options)
620
+ end
621
+
452
622
  # Creates a new event bus within your account. This can be a custom
453
623
  # event bus which you can use to receive events from your custom
454
624
  # applications and services, or it can be a partner event bus which can
@@ -595,6 +765,66 @@ module Aws::CloudWatchEvents
595
765
  req.send_request(options)
596
766
  end
597
767
 
768
+ # Removes all authorization parameters from the connection. This lets
769
+ # you remove the secret from the connection so you can reuse it without
770
+ # having to create a new connection.
771
+ #
772
+ # @option params [required, String] :name
773
+ # The name of the connection to remove authorization from.
774
+ #
775
+ # @return [Types::DeauthorizeConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
776
+ #
777
+ # * {Types::DeauthorizeConnectionResponse#connection_arn #connection_arn} => String
778
+ # * {Types::DeauthorizeConnectionResponse#connection_state #connection_state} => String
779
+ # * {Types::DeauthorizeConnectionResponse#creation_time #creation_time} => Time
780
+ # * {Types::DeauthorizeConnectionResponse#last_modified_time #last_modified_time} => Time
781
+ # * {Types::DeauthorizeConnectionResponse#last_authorized_time #last_authorized_time} => Time
782
+ #
783
+ # @example Request syntax with placeholder values
784
+ #
785
+ # resp = client.deauthorize_connection({
786
+ # name: "ConnectionName", # required
787
+ # })
788
+ #
789
+ # @example Response structure
790
+ #
791
+ # resp.connection_arn #=> String
792
+ # resp.connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
793
+ # resp.creation_time #=> Time
794
+ # resp.last_modified_time #=> Time
795
+ # resp.last_authorized_time #=> Time
796
+ #
797
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeauthorizeConnection AWS API Documentation
798
+ #
799
+ # @overload deauthorize_connection(params = {})
800
+ # @param [Hash] params ({})
801
+ def deauthorize_connection(params = {}, options = {})
802
+ req = build_request(:deauthorize_connection, params)
803
+ req.send_request(options)
804
+ end
805
+
806
+ # Deletes the specified API destination.
807
+ #
808
+ # @option params [required, String] :name
809
+ # The name of the destination to delete.
810
+ #
811
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
812
+ #
813
+ # @example Request syntax with placeholder values
814
+ #
815
+ # resp = client.delete_api_destination({
816
+ # name: "ApiDestinationName", # required
817
+ # })
818
+ #
819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteApiDestination AWS API Documentation
820
+ #
821
+ # @overload delete_api_destination(params = {})
822
+ # @param [Hash] params ({})
823
+ def delete_api_destination(params = {}, options = {})
824
+ req = build_request(:delete_api_destination, params)
825
+ req.send_request(options)
826
+ end
827
+
598
828
  # Deletes the specified archive.
599
829
  #
600
830
  # @option params [required, String] :archive_name
@@ -617,6 +847,42 @@ module Aws::CloudWatchEvents
617
847
  req.send_request(options)
618
848
  end
619
849
 
850
+ # Deletes a connection.
851
+ #
852
+ # @option params [required, String] :name
853
+ # The name of the connection to delete.
854
+ #
855
+ # @return [Types::DeleteConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
856
+ #
857
+ # * {Types::DeleteConnectionResponse#connection_arn #connection_arn} => String
858
+ # * {Types::DeleteConnectionResponse#connection_state #connection_state} => String
859
+ # * {Types::DeleteConnectionResponse#creation_time #creation_time} => Time
860
+ # * {Types::DeleteConnectionResponse#last_modified_time #last_modified_time} => Time
861
+ # * {Types::DeleteConnectionResponse#last_authorized_time #last_authorized_time} => Time
862
+ #
863
+ # @example Request syntax with placeholder values
864
+ #
865
+ # resp = client.delete_connection({
866
+ # name: "ConnectionName", # required
867
+ # })
868
+ #
869
+ # @example Response structure
870
+ #
871
+ # resp.connection_arn #=> String
872
+ # resp.connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
873
+ # resp.creation_time #=> Time
874
+ # resp.last_modified_time #=> Time
875
+ # resp.last_authorized_time #=> Time
876
+ #
877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteConnection AWS API Documentation
878
+ #
879
+ # @overload delete_connection(params = {})
880
+ # @param [Hash] params ({})
881
+ def delete_connection(params = {}, options = {})
882
+ req = build_request(:delete_connection, params)
883
+ req.send_request(options)
884
+ end
885
+
620
886
  # Deletes the specified custom event bus or partner event bus. All rules
621
887
  # associated with this event bus need to be deleted. You can't delete
622
888
  # your account's default event bus.
@@ -680,6 +946,10 @@ module Aws::CloudWatchEvents
680
946
  # When you delete a rule, incoming events might continue to match to the
681
947
  # deleted rule. Allow a short period of time for changes to take effect.
682
948
  #
949
+ # If you call delete rule multiple times for the same rule, all calls
950
+ # will succeed. When you call delete rule for a non-existent custom
951
+ # eventbus, `ResourceNotFoundException` is returned.
952
+ #
683
953
  # Managed rules are rules created and managed by another AWS service on
684
954
  # your behalf. These rules are created by those other AWS services to
685
955
  # support functionality in those services. You can delete these rules
@@ -719,6 +989,52 @@ module Aws::CloudWatchEvents
719
989
  req.send_request(options)
720
990
  end
721
991
 
992
+ # Retrieves details about an API destination.
993
+ #
994
+ # @option params [required, String] :name
995
+ # The name of the API destination to retrieve.
996
+ #
997
+ # @return [Types::DescribeApiDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
998
+ #
999
+ # * {Types::DescribeApiDestinationResponse#api_destination_arn #api_destination_arn} => String
1000
+ # * {Types::DescribeApiDestinationResponse#name #name} => String
1001
+ # * {Types::DescribeApiDestinationResponse#description #description} => String
1002
+ # * {Types::DescribeApiDestinationResponse#api_destination_state #api_destination_state} => String
1003
+ # * {Types::DescribeApiDestinationResponse#connection_arn #connection_arn} => String
1004
+ # * {Types::DescribeApiDestinationResponse#invocation_endpoint #invocation_endpoint} => String
1005
+ # * {Types::DescribeApiDestinationResponse#http_method #http_method} => String
1006
+ # * {Types::DescribeApiDestinationResponse#invocation_rate_limit_per_second #invocation_rate_limit_per_second} => Integer
1007
+ # * {Types::DescribeApiDestinationResponse#creation_time #creation_time} => Time
1008
+ # * {Types::DescribeApiDestinationResponse#last_modified_time #last_modified_time} => Time
1009
+ #
1010
+ # @example Request syntax with placeholder values
1011
+ #
1012
+ # resp = client.describe_api_destination({
1013
+ # name: "ApiDestinationName", # required
1014
+ # })
1015
+ #
1016
+ # @example Response structure
1017
+ #
1018
+ # resp.api_destination_arn #=> String
1019
+ # resp.name #=> String
1020
+ # resp.description #=> String
1021
+ # resp.api_destination_state #=> String, one of "ACTIVE", "INACTIVE"
1022
+ # resp.connection_arn #=> String
1023
+ # resp.invocation_endpoint #=> String
1024
+ # resp.http_method #=> String, one of "POST", "GET", "HEAD", "OPTIONS", "PUT", "PATCH", "DELETE"
1025
+ # resp.invocation_rate_limit_per_second #=> Integer
1026
+ # resp.creation_time #=> Time
1027
+ # resp.last_modified_time #=> Time
1028
+ #
1029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeApiDestination AWS API Documentation
1030
+ #
1031
+ # @overload describe_api_destination(params = {})
1032
+ # @param [Hash] params ({})
1033
+ def describe_api_destination(params = {}, options = {})
1034
+ req = build_request(:describe_api_destination, params)
1035
+ req.send_request(options)
1036
+ end
1037
+
722
1038
  # Retrieves details about an archive.
723
1039
  #
724
1040
  # @option params [required, String] :archive_name
@@ -767,6 +1083,82 @@ module Aws::CloudWatchEvents
767
1083
  req.send_request(options)
768
1084
  end
769
1085
 
1086
+ # Retrieves details about a connection.
1087
+ #
1088
+ # @option params [required, String] :name
1089
+ # The name of the connection to retrieve.
1090
+ #
1091
+ # @return [Types::DescribeConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1092
+ #
1093
+ # * {Types::DescribeConnectionResponse#connection_arn #connection_arn} => String
1094
+ # * {Types::DescribeConnectionResponse#name #name} => String
1095
+ # * {Types::DescribeConnectionResponse#description #description} => String
1096
+ # * {Types::DescribeConnectionResponse#connection_state #connection_state} => String
1097
+ # * {Types::DescribeConnectionResponse#state_reason #state_reason} => String
1098
+ # * {Types::DescribeConnectionResponse#authorization_type #authorization_type} => String
1099
+ # * {Types::DescribeConnectionResponse#secret_arn #secret_arn} => String
1100
+ # * {Types::DescribeConnectionResponse#auth_parameters #auth_parameters} => Types::ConnectionAuthResponseParameters
1101
+ # * {Types::DescribeConnectionResponse#creation_time #creation_time} => Time
1102
+ # * {Types::DescribeConnectionResponse#last_modified_time #last_modified_time} => Time
1103
+ # * {Types::DescribeConnectionResponse#last_authorized_time #last_authorized_time} => Time
1104
+ #
1105
+ # @example Request syntax with placeholder values
1106
+ #
1107
+ # resp = client.describe_connection({
1108
+ # name: "ConnectionName", # required
1109
+ # })
1110
+ #
1111
+ # @example Response structure
1112
+ #
1113
+ # resp.connection_arn #=> String
1114
+ # resp.name #=> String
1115
+ # resp.description #=> String
1116
+ # resp.connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
1117
+ # resp.state_reason #=> String
1118
+ # resp.authorization_type #=> String, one of "BASIC", "OAUTH_CLIENT_CREDENTIALS", "API_KEY"
1119
+ # resp.secret_arn #=> String
1120
+ # resp.auth_parameters.basic_auth_parameters.username #=> String
1121
+ # resp.auth_parameters.o_auth_parameters.client_parameters.client_id #=> String
1122
+ # resp.auth_parameters.o_auth_parameters.authorization_endpoint #=> String
1123
+ # resp.auth_parameters.o_auth_parameters.http_method #=> String, one of "GET", "POST", "PUT"
1124
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.header_parameters #=> Array
1125
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.header_parameters[0].key #=> String
1126
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.header_parameters[0].value #=> String
1127
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.header_parameters[0].is_value_secret #=> Boolean
1128
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.query_string_parameters #=> Array
1129
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.query_string_parameters[0].key #=> String
1130
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.query_string_parameters[0].value #=> String
1131
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.query_string_parameters[0].is_value_secret #=> Boolean
1132
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.body_parameters #=> Array
1133
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.body_parameters[0].key #=> String
1134
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.body_parameters[0].value #=> String
1135
+ # resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.body_parameters[0].is_value_secret #=> Boolean
1136
+ # resp.auth_parameters.api_key_auth_parameters.api_key_name #=> String
1137
+ # resp.auth_parameters.invocation_http_parameters.header_parameters #=> Array
1138
+ # resp.auth_parameters.invocation_http_parameters.header_parameters[0].key #=> String
1139
+ # resp.auth_parameters.invocation_http_parameters.header_parameters[0].value #=> String
1140
+ # resp.auth_parameters.invocation_http_parameters.header_parameters[0].is_value_secret #=> Boolean
1141
+ # resp.auth_parameters.invocation_http_parameters.query_string_parameters #=> Array
1142
+ # resp.auth_parameters.invocation_http_parameters.query_string_parameters[0].key #=> String
1143
+ # resp.auth_parameters.invocation_http_parameters.query_string_parameters[0].value #=> String
1144
+ # resp.auth_parameters.invocation_http_parameters.query_string_parameters[0].is_value_secret #=> Boolean
1145
+ # resp.auth_parameters.invocation_http_parameters.body_parameters #=> Array
1146
+ # resp.auth_parameters.invocation_http_parameters.body_parameters[0].key #=> String
1147
+ # resp.auth_parameters.invocation_http_parameters.body_parameters[0].value #=> String
1148
+ # resp.auth_parameters.invocation_http_parameters.body_parameters[0].is_value_secret #=> Boolean
1149
+ # resp.creation_time #=> Time
1150
+ # resp.last_modified_time #=> Time
1151
+ # resp.last_authorized_time #=> Time
1152
+ #
1153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeConnection AWS API Documentation
1154
+ #
1155
+ # @overload describe_connection(params = {})
1156
+ # @param [Hash] params ({})
1157
+ def describe_connection(params = {}, options = {})
1158
+ req = build_request(:describe_connection, params)
1159
+ req.send_request(options)
1160
+ end
1161
+
770
1162
  # Displays details about an event bus in your account. This can include
771
1163
  # the external AWS accounts that are permitted to write events to your
772
1164
  # default event bus, and the associated policy. For custom event buses
@@ -1060,6 +1452,60 @@ module Aws::CloudWatchEvents
1060
1452
  req.send_request(options)
1061
1453
  end
1062
1454
 
1455
+ # Retrieves a list of API destination in the account in the current
1456
+ # Region.
1457
+ #
1458
+ # @option params [String] :name_prefix
1459
+ # A name prefix to filter results returned. Only API destinations with a
1460
+ # name that starts with the prefix are returned.
1461
+ #
1462
+ # @option params [String] :connection_arn
1463
+ # The ARN of the connection specified for the API destination.
1464
+ #
1465
+ # @option params [String] :next_token
1466
+ # The token returned by a previous call to retrieve the next set of
1467
+ # results.
1468
+ #
1469
+ # @option params [Integer] :limit
1470
+ # The maximum number of API destinations to include in the response.
1471
+ #
1472
+ # @return [Types::ListApiDestinationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1473
+ #
1474
+ # * {Types::ListApiDestinationsResponse#api_destinations #api_destinations} => Array<Types::ApiDestination>
1475
+ # * {Types::ListApiDestinationsResponse#next_token #next_token} => String
1476
+ #
1477
+ # @example Request syntax with placeholder values
1478
+ #
1479
+ # resp = client.list_api_destinations({
1480
+ # name_prefix: "ApiDestinationName",
1481
+ # connection_arn: "ConnectionArn",
1482
+ # next_token: "NextToken",
1483
+ # limit: 1,
1484
+ # })
1485
+ #
1486
+ # @example Response structure
1487
+ #
1488
+ # resp.api_destinations #=> Array
1489
+ # resp.api_destinations[0].api_destination_arn #=> String
1490
+ # resp.api_destinations[0].name #=> String
1491
+ # resp.api_destinations[0].api_destination_state #=> String, one of "ACTIVE", "INACTIVE"
1492
+ # resp.api_destinations[0].connection_arn #=> String
1493
+ # resp.api_destinations[0].invocation_endpoint #=> String
1494
+ # resp.api_destinations[0].http_method #=> String, one of "POST", "GET", "HEAD", "OPTIONS", "PUT", "PATCH", "DELETE"
1495
+ # resp.api_destinations[0].invocation_rate_limit_per_second #=> Integer
1496
+ # resp.api_destinations[0].creation_time #=> Time
1497
+ # resp.api_destinations[0].last_modified_time #=> Time
1498
+ # resp.next_token #=> String
1499
+ #
1500
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListApiDestinations AWS API Documentation
1501
+ #
1502
+ # @overload list_api_destinations(params = {})
1503
+ # @param [Hash] params ({})
1504
+ def list_api_destinations(params = {}, options = {})
1505
+ req = build_request(:list_api_destinations, params)
1506
+ req.send_request(options)
1507
+ end
1508
+
1063
1509
  # Lists your archives. You can either list all the archives or you can
1064
1510
  # provide a prefix to match to the archive names. Filter parameters are
1065
1511
  # exclusive.
@@ -1118,6 +1564,58 @@ module Aws::CloudWatchEvents
1118
1564
  req.send_request(options)
1119
1565
  end
1120
1566
 
1567
+ # Retrieves a list of connections from the account.
1568
+ #
1569
+ # @option params [String] :name_prefix
1570
+ # A name prefix to filter results returned. Only connections with a name
1571
+ # that starts with the prefix are returned.
1572
+ #
1573
+ # @option params [String] :connection_state
1574
+ # The state of the connection.
1575
+ #
1576
+ # @option params [String] :next_token
1577
+ # The token returned by a previous call to retrieve the next set of
1578
+ # results.
1579
+ #
1580
+ # @option params [Integer] :limit
1581
+ # The maximum number of connections to return.
1582
+ #
1583
+ # @return [Types::ListConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1584
+ #
1585
+ # * {Types::ListConnectionsResponse#connections #connections} => Array<Types::Connection>
1586
+ # * {Types::ListConnectionsResponse#next_token #next_token} => String
1587
+ #
1588
+ # @example Request syntax with placeholder values
1589
+ #
1590
+ # resp = client.list_connections({
1591
+ # name_prefix: "ConnectionName",
1592
+ # connection_state: "CREATING", # accepts CREATING, UPDATING, DELETING, AUTHORIZED, DEAUTHORIZED, AUTHORIZING, DEAUTHORIZING
1593
+ # next_token: "NextToken",
1594
+ # limit: 1,
1595
+ # })
1596
+ #
1597
+ # @example Response structure
1598
+ #
1599
+ # resp.connections #=> Array
1600
+ # resp.connections[0].connection_arn #=> String
1601
+ # resp.connections[0].name #=> String
1602
+ # resp.connections[0].connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
1603
+ # resp.connections[0].state_reason #=> String
1604
+ # resp.connections[0].authorization_type #=> String, one of "BASIC", "OAUTH_CLIENT_CREDENTIALS", "API_KEY"
1605
+ # resp.connections[0].creation_time #=> Time
1606
+ # resp.connections[0].last_modified_time #=> Time
1607
+ # resp.connections[0].last_authorized_time #=> Time
1608
+ # resp.next_token #=> String
1609
+ #
1610
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListConnections AWS API Documentation
1611
+ #
1612
+ # @overload list_connections(params = {})
1613
+ # @param [Hash] params ({})
1614
+ def list_connections(params = {}, options = {})
1615
+ req = build_request(:list_connections, params)
1616
+ req.send_request(options)
1617
+ end
1618
+
1121
1619
  # Lists all the event buses in your account, including the default event
1122
1620
  # bus, custom event buses, and partner event buses.
1123
1621
  #
@@ -1558,6 +2056,23 @@ module Aws::CloudWatchEvents
1558
2056
  # resp.targets[0].ecs_parameters.network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1559
2057
  # resp.targets[0].ecs_parameters.platform_version #=> String
1560
2058
  # resp.targets[0].ecs_parameters.group #=> String
2059
+ # resp.targets[0].ecs_parameters.capacity_provider_strategy #=> Array
2060
+ # resp.targets[0].ecs_parameters.capacity_provider_strategy[0].capacity_provider #=> String
2061
+ # resp.targets[0].ecs_parameters.capacity_provider_strategy[0].weight #=> Integer
2062
+ # resp.targets[0].ecs_parameters.capacity_provider_strategy[0].base #=> Integer
2063
+ # resp.targets[0].ecs_parameters.enable_ecs_managed_tags #=> Boolean
2064
+ # resp.targets[0].ecs_parameters.enable_execute_command #=> Boolean
2065
+ # resp.targets[0].ecs_parameters.placement_constraints #=> Array
2066
+ # resp.targets[0].ecs_parameters.placement_constraints[0].type #=> String, one of "distinctInstance", "memberOf"
2067
+ # resp.targets[0].ecs_parameters.placement_constraints[0].expression #=> String
2068
+ # resp.targets[0].ecs_parameters.placement_strategy #=> Array
2069
+ # resp.targets[0].ecs_parameters.placement_strategy[0].type #=> String, one of "random", "spread", "binpack"
2070
+ # resp.targets[0].ecs_parameters.placement_strategy[0].field #=> String
2071
+ # resp.targets[0].ecs_parameters.propagate_tags #=> String, one of "TASK_DEFINITION"
2072
+ # resp.targets[0].ecs_parameters.reference_id #=> String
2073
+ # resp.targets[0].ecs_parameters.tags #=> Array
2074
+ # resp.targets[0].ecs_parameters.tags[0].key #=> String
2075
+ # resp.targets[0].ecs_parameters.tags[0].value #=> String
1561
2076
  # resp.targets[0].batch_parameters.job_definition #=> String
1562
2077
  # resp.targets[0].batch_parameters.job_name #=> String
1563
2078
  # resp.targets[0].batch_parameters.array_properties.size #=> Integer
@@ -1575,6 +2090,9 @@ module Aws::CloudWatchEvents
1575
2090
  # resp.targets[0].redshift_data_parameters.sql #=> String
1576
2091
  # resp.targets[0].redshift_data_parameters.statement_name #=> String
1577
2092
  # resp.targets[0].redshift_data_parameters.with_event #=> Boolean
2093
+ # resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list #=> Array
2094
+ # resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list[0].name #=> String
2095
+ # resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list[0].value #=> String
1578
2096
  # resp.targets[0].dead_letter_config.arn #=> String
1579
2097
  # resp.targets[0].retry_policy.maximum_retry_attempts #=> Integer
1580
2098
  # resp.targets[0].retry_policy.maximum_event_age_in_seconds #=> Integer
@@ -1600,7 +2118,7 @@ module Aws::CloudWatchEvents
1600
2118
  # @return [Types::PutEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1601
2119
  #
1602
2120
  # * {Types::PutEventsResponse#failed_entry_count #failed_entry_count} => Integer
1603
- # * {Types::PutEventsResponse#entries #entries} => Array<Types::PutEventsResultEntry>
2121
+ # * {Types::PutEventsResponse#entries #data.entries} => Array<Types::PutEventsResultEntry> (This method conflicts with a method on Response, call it through the data member)
1604
2122
  #
1605
2123
  # @example Request syntax with placeholder values
1606
2124
  #
@@ -1621,10 +2139,10 @@ module Aws::CloudWatchEvents
1621
2139
  # @example Response structure
1622
2140
  #
1623
2141
  # resp.failed_entry_count #=> Integer
1624
- # resp.entries #=> Array
1625
- # resp.entries[0].event_id #=> String
1626
- # resp.entries[0].error_code #=> String
1627
- # resp.entries[0].error_message #=> String
2142
+ # resp.data.entries #=> Array
2143
+ # resp.data.entries[0].event_id #=> String
2144
+ # resp.data.entries[0].error_code #=> String
2145
+ # resp.data.entries[0].error_message #=> String
1628
2146
  #
1629
2147
  # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents AWS API Documentation
1630
2148
  #
@@ -1644,7 +2162,7 @@ module Aws::CloudWatchEvents
1644
2162
  # @return [Types::PutPartnerEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1645
2163
  #
1646
2164
  # * {Types::PutPartnerEventsResponse#failed_entry_count #failed_entry_count} => Integer
1647
- # * {Types::PutPartnerEventsResponse#entries #entries} => Array<Types::PutPartnerEventsResultEntry>
2165
+ # * {Types::PutPartnerEventsResponse#entries #data.entries} => Array<Types::PutPartnerEventsResultEntry> (This method conflicts with a method on Response, call it through the data member)
1648
2166
  #
1649
2167
  # @example Request syntax with placeholder values
1650
2168
  #
@@ -1663,10 +2181,10 @@ module Aws::CloudWatchEvents
1663
2181
  # @example Response structure
1664
2182
  #
1665
2183
  # resp.failed_entry_count #=> Integer
1666
- # resp.entries #=> Array
1667
- # resp.entries[0].event_id #=> String
1668
- # resp.entries[0].error_code #=> String
1669
- # resp.entries[0].error_message #=> String
2184
+ # resp.data.entries #=> Array
2185
+ # resp.data.entries[0].event_id #=> String
2186
+ # resp.data.entries[0].error_code #=> String
2187
+ # resp.data.entries[0].error_message #=> String
1670
2188
  #
1671
2189
  # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPartnerEvents AWS API Documentation
1672
2190
  #
@@ -1919,39 +2437,57 @@ module Aws::CloudWatchEvents
1919
2437
  #
1920
2438
  # You can configure the following as targets for Events:
1921
2439
  #
1922
- # * EC2 instances
2440
+ # * [API destination][1]
1923
2441
  #
1924
- # * SSM Run Command
2442
+ # * Amazon API Gateway REST API endpoints
1925
2443
  #
1926
- # * SSM Automation
2444
+ # * API Gateway
2445
+ #
2446
+ # * AWS Batch job queue
2447
+ #
2448
+ # * CloudWatch Logs group
1927
2449
  #
1928
- # * AWS Lambda functions
2450
+ # * CodeBuild project
1929
2451
  #
1930
- # * Data streams in Amazon Kinesis Data Streams
2452
+ # * CodePineline
1931
2453
  #
1932
- # * Data delivery streams in Amazon Kinesis Data Firehose
2454
+ # * Amazon EC2 `CreateSnapshot` API call
2455
+ #
2456
+ # * Amazon EC2 `RebootInstances` API call
2457
+ #
2458
+ # * Amazon EC2 `StopInstances` API call
2459
+ #
2460
+ # * Amazon EC2 `TerminateInstances` API call
1933
2461
  #
1934
2462
  # * Amazon ECS tasks
1935
2463
  #
1936
- # * AWS Step Functions state machines
2464
+ # * Event bus in a different AWS account or Region.
1937
2465
  #
1938
- # * AWS Batch jobs
2466
+ # You can use an event bus in the US East (N. Virginia) us-east-1, US
2467
+ # West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a
2468
+ # target for a rule.
1939
2469
  #
1940
- # * AWS CodeBuild projects
2470
+ # * Firehose delivery stream (Kinesis Data Firehose)
1941
2471
  #
1942
- # * Pipelines in AWS CodePipeline
2472
+ # * Inspector assessment template (Amazon Inspector)
1943
2473
  #
1944
- # * Amazon Inspector assessment templates
2474
+ # * Kinesis stream (Kinesis Data Stream)
1945
2475
  #
1946
- # * Amazon SNS topics
2476
+ # * AWS Lambda function
1947
2477
  #
1948
- # * Amazon SQS queues, including FIFO queues
2478
+ # * Redshift clusters (Data API statement execution)
1949
2479
  #
1950
- # * The default event bus of another AWS account
2480
+ # * Amazon SNS topic
1951
2481
  #
1952
- # * Amazon API Gateway REST APIs
2482
+ # * Amazon SQS queues (includes FIFO queues
2483
+ #
2484
+ # * SSM Automation
1953
2485
  #
1954
- # * Redshift Clusters to invoke Data API ExecuteStatement on
2486
+ # * SSM OpsItem
2487
+ #
2488
+ # * SSM Run Command
2489
+ #
2490
+ # * Step Functions state machines
1955
2491
  #
1956
2492
  # Creating rules with built-in targets is supported only in the AWS
1957
2493
  # Management Console. The built-in targets are `EC2 CreateSnapshot API
@@ -1971,7 +2507,7 @@ module Aws::CloudWatchEvents
1971
2507
  # streams, AWS Step Functions state machines and API Gateway REST APIs,
1972
2508
  # EventBridge relies on IAM roles that you specify in the `RoleARN`
1973
2509
  # argument in `PutTargets`. For more information, see [Authentication
1974
- # and Access Control][1] in the *Amazon EventBridge User Guide*.
2510
+ # and Access Control][2] in the *Amazon EventBridge User Guide*.
1975
2511
  #
1976
2512
  # If another AWS account is in the same region and has granted you
1977
2513
  # permission (using `PutPermission`), you can send events to that
@@ -1982,7 +2518,7 @@ module Aws::CloudWatchEvents
1982
2518
  # account is charged for each sent event. Each event sent to another
1983
2519
  # account is charged as a custom event. The account receiving the event
1984
2520
  # is not charged. For more information, see [Amazon EventBridge
1985
- # (CloudWatch Events) Pricing][2].
2521
+ # (CloudWatch Events) Pricing][3].
1986
2522
  #
1987
2523
  # <note markdown="1"> `Input`, `InputPath`, and `InputTransformer` are not available with
1988
2524
  # `PutTarget` if the target is an event bus of a different AWS account.
@@ -1994,7 +2530,7 @@ module Aws::CloudWatchEvents
1994
2530
  # organization instead of directly by the account ID, then you must
1995
2531
  # specify a `RoleArn` with proper permissions in the `Target` structure.
1996
2532
  # For more information, see [Sending and Receiving Events Between AWS
1997
- # Accounts][3] in the *Amazon EventBridge User Guide*.
2533
+ # Accounts][4] in the *Amazon EventBridge User Guide*.
1998
2534
  #
1999
2535
  # For more information about enabling cross-account events, see
2000
2536
  # PutPermission.
@@ -2034,9 +2570,10 @@ module Aws::CloudWatchEvents
2034
2570
  #
2035
2571
  #
2036
2572
  #
2037
- # [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html
2038
- # [2]: https://aws.amazon.com/eventbridge/pricing/
2039
- # [3]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html
2573
+ # [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html
2574
+ # [2]: https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html
2575
+ # [3]: https://aws.amazon.com/eventbridge/pricing/
2576
+ # [4]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html
2040
2577
  #
2041
2578
  # @option params [required, String] :rule
2042
2579
  # The name of the rule.
@@ -2095,6 +2632,35 @@ module Aws::CloudWatchEvents
2095
2632
  # },
2096
2633
  # platform_version: "String",
2097
2634
  # group: "String",
2635
+ # capacity_provider_strategy: [
2636
+ # {
2637
+ # capacity_provider: "CapacityProvider", # required
2638
+ # weight: 1,
2639
+ # base: 1,
2640
+ # },
2641
+ # ],
2642
+ # enable_ecs_managed_tags: false,
2643
+ # enable_execute_command: false,
2644
+ # placement_constraints: [
2645
+ # {
2646
+ # type: "distinctInstance", # accepts distinctInstance, memberOf
2647
+ # expression: "PlacementConstraintExpression",
2648
+ # },
2649
+ # ],
2650
+ # placement_strategy: [
2651
+ # {
2652
+ # type: "random", # accepts random, spread, binpack
2653
+ # field: "PlacementStrategyField",
2654
+ # },
2655
+ # ],
2656
+ # propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION
2657
+ # reference_id: "ReferenceId",
2658
+ # tags: [
2659
+ # {
2660
+ # key: "TagKey", # required
2661
+ # value: "TagValue", # required
2662
+ # },
2663
+ # ],
2098
2664
  # },
2099
2665
  # batch_parameters: {
2100
2666
  # job_definition: "String", # required
@@ -2126,6 +2692,14 @@ module Aws::CloudWatchEvents
2126
2692
  # statement_name: "StatementName",
2127
2693
  # with_event: false,
2128
2694
  # },
2695
+ # sage_maker_pipeline_parameters: {
2696
+ # pipeline_parameter_list: [
2697
+ # {
2698
+ # name: "SageMakerPipelineParameterName", # required
2699
+ # value: "SageMakerPipelineParameterValue", # required
2700
+ # },
2701
+ # ],
2702
+ # },
2129
2703
  # dead_letter_config: {
2130
2704
  # arn: "ResourceArn",
2131
2705
  # },
@@ -2429,7 +3003,7 @@ module Aws::CloudWatchEvents
2429
3003
  end
2430
3004
 
2431
3005
  # Removes one or more tags from the specified EventBridge resource. In
2432
- # Amazon EventBridge (CloudWatch Events, rules and event buses can be
3006
+ # Amazon EventBridge (CloudWatch Events), rules and event buses can be
2433
3007
  # tagged.
2434
3008
  #
2435
3009
  # @option params [required, String] :resource_arn
@@ -2456,6 +3030,61 @@ module Aws::CloudWatchEvents
2456
3030
  req.send_request(options)
2457
3031
  end
2458
3032
 
3033
+ # Updates an API destination.
3034
+ #
3035
+ # @option params [required, String] :name
3036
+ # The name of the API destination to update.
3037
+ #
3038
+ # @option params [String] :description
3039
+ # The name of the API destination to update.
3040
+ #
3041
+ # @option params [String] :connection_arn
3042
+ # The ARN of the connection to use for the API destination.
3043
+ #
3044
+ # @option params [String] :invocation_endpoint
3045
+ # The URL to the endpoint to use for the API destination.
3046
+ #
3047
+ # @option params [String] :http_method
3048
+ # The method to use for the API destination.
3049
+ #
3050
+ # @option params [Integer] :invocation_rate_limit_per_second
3051
+ # The maximum number of invocations per second to send to the API
3052
+ # destination.
3053
+ #
3054
+ # @return [Types::UpdateApiDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3055
+ #
3056
+ # * {Types::UpdateApiDestinationResponse#api_destination_arn #api_destination_arn} => String
3057
+ # * {Types::UpdateApiDestinationResponse#api_destination_state #api_destination_state} => String
3058
+ # * {Types::UpdateApiDestinationResponse#creation_time #creation_time} => Time
3059
+ # * {Types::UpdateApiDestinationResponse#last_modified_time #last_modified_time} => Time
3060
+ #
3061
+ # @example Request syntax with placeholder values
3062
+ #
3063
+ # resp = client.update_api_destination({
3064
+ # name: "ApiDestinationName", # required
3065
+ # description: "ApiDestinationDescription",
3066
+ # connection_arn: "ConnectionArn",
3067
+ # invocation_endpoint: "HttpsEndpoint",
3068
+ # http_method: "POST", # accepts POST, GET, HEAD, OPTIONS, PUT, PATCH, DELETE
3069
+ # invocation_rate_limit_per_second: 1,
3070
+ # })
3071
+ #
3072
+ # @example Response structure
3073
+ #
3074
+ # resp.api_destination_arn #=> String
3075
+ # resp.api_destination_state #=> String, one of "ACTIVE", "INACTIVE"
3076
+ # resp.creation_time #=> Time
3077
+ # resp.last_modified_time #=> Time
3078
+ #
3079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/UpdateApiDestination AWS API Documentation
3080
+ #
3081
+ # @overload update_api_destination(params = {})
3082
+ # @param [Hash] params ({})
3083
+ def update_api_destination(params = {}, options = {})
3084
+ req = build_request(:update_api_destination, params)
3085
+ req.send_request(options)
3086
+ end
3087
+
2459
3088
  # Updates the specified archive.
2460
3089
  #
2461
3090
  # @option params [required, String] :archive_name
@@ -2502,6 +3131,117 @@ module Aws::CloudWatchEvents
2502
3131
  req.send_request(options)
2503
3132
  end
2504
3133
 
3134
+ # Updates settings for a connection.
3135
+ #
3136
+ # @option params [required, String] :name
3137
+ # The name of the connection to update.
3138
+ #
3139
+ # @option params [String] :description
3140
+ # A description for the connection.
3141
+ #
3142
+ # @option params [String] :authorization_type
3143
+ # The type of authorization to use for the connection.
3144
+ #
3145
+ # @option params [Types::UpdateConnectionAuthRequestParameters] :auth_parameters
3146
+ # The authorization parameters to use for the connection.
3147
+ #
3148
+ # @return [Types::UpdateConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3149
+ #
3150
+ # * {Types::UpdateConnectionResponse#connection_arn #connection_arn} => String
3151
+ # * {Types::UpdateConnectionResponse#connection_state #connection_state} => String
3152
+ # * {Types::UpdateConnectionResponse#creation_time #creation_time} => Time
3153
+ # * {Types::UpdateConnectionResponse#last_modified_time #last_modified_time} => Time
3154
+ # * {Types::UpdateConnectionResponse#last_authorized_time #last_authorized_time} => Time
3155
+ #
3156
+ # @example Request syntax with placeholder values
3157
+ #
3158
+ # resp = client.update_connection({
3159
+ # name: "ConnectionName", # required
3160
+ # description: "ConnectionDescription",
3161
+ # authorization_type: "BASIC", # accepts BASIC, OAUTH_CLIENT_CREDENTIALS, API_KEY
3162
+ # auth_parameters: {
3163
+ # basic_auth_parameters: {
3164
+ # username: "AuthHeaderParameters",
3165
+ # password: "AuthHeaderParameters",
3166
+ # },
3167
+ # o_auth_parameters: {
3168
+ # client_parameters: {
3169
+ # client_id: "AuthHeaderParameters",
3170
+ # client_secret: "AuthHeaderParameters",
3171
+ # },
3172
+ # authorization_endpoint: "HttpsEndpoint",
3173
+ # http_method: "GET", # accepts GET, POST, PUT
3174
+ # o_auth_http_parameters: {
3175
+ # header_parameters: [
3176
+ # {
3177
+ # key: "HeaderKey",
3178
+ # value: "HeaderValue",
3179
+ # is_value_secret: false,
3180
+ # },
3181
+ # ],
3182
+ # query_string_parameters: [
3183
+ # {
3184
+ # key: "QueryStringKey",
3185
+ # value: "QueryStringValue",
3186
+ # is_value_secret: false,
3187
+ # },
3188
+ # ],
3189
+ # body_parameters: [
3190
+ # {
3191
+ # key: "String",
3192
+ # value: "String",
3193
+ # is_value_secret: false,
3194
+ # },
3195
+ # ],
3196
+ # },
3197
+ # },
3198
+ # api_key_auth_parameters: {
3199
+ # api_key_name: "AuthHeaderParameters",
3200
+ # api_key_value: "AuthHeaderParameters",
3201
+ # },
3202
+ # invocation_http_parameters: {
3203
+ # header_parameters: [
3204
+ # {
3205
+ # key: "HeaderKey",
3206
+ # value: "HeaderValue",
3207
+ # is_value_secret: false,
3208
+ # },
3209
+ # ],
3210
+ # query_string_parameters: [
3211
+ # {
3212
+ # key: "QueryStringKey",
3213
+ # value: "QueryStringValue",
3214
+ # is_value_secret: false,
3215
+ # },
3216
+ # ],
3217
+ # body_parameters: [
3218
+ # {
3219
+ # key: "String",
3220
+ # value: "String",
3221
+ # is_value_secret: false,
3222
+ # },
3223
+ # ],
3224
+ # },
3225
+ # },
3226
+ # })
3227
+ #
3228
+ # @example Response structure
3229
+ #
3230
+ # resp.connection_arn #=> String
3231
+ # resp.connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
3232
+ # resp.creation_time #=> Time
3233
+ # resp.last_modified_time #=> Time
3234
+ # resp.last_authorized_time #=> Time
3235
+ #
3236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/UpdateConnection AWS API Documentation
3237
+ #
3238
+ # @overload update_connection(params = {})
3239
+ # @param [Hash] params ({})
3240
+ def update_connection(params = {}, options = {})
3241
+ req = build_request(:update_connection, params)
3242
+ req.send_request(options)
3243
+ end
3244
+
2505
3245
  # @!endgroup
2506
3246
 
2507
3247
  # @param params ({})
@@ -2515,7 +3255,7 @@ module Aws::CloudWatchEvents
2515
3255
  params: params,
2516
3256
  config: config)
2517
3257
  context[:gem_name] = 'aws-sdk-cloudwatchevents'
2518
- context[:gem_version] = '1.42.0'
3258
+ context[:gem_version] = '1.47.0'
2519
3259
  Seahorse::Client::Request.new(handlers, context)
2520
3260
  end
2521
3261