aws-sdk-eventbridge 1.19.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
 
@@ -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
 
@@ -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
 
@@ -29,6 +29,62 @@ module Aws::EventBridge
29
29
  include Aws::Structure
30
30
  end
31
31
 
32
+ # Contains details about an API destination.
33
+ #
34
+ # @!attribute [rw] api_destination_arn
35
+ # The ARN of the API destination.
36
+ # @return [String]
37
+ #
38
+ # @!attribute [rw] name
39
+ # The name of the API destination.
40
+ # @return [String]
41
+ #
42
+ # @!attribute [rw] api_destination_state
43
+ # The state of the API destination.
44
+ # @return [String]
45
+ #
46
+ # @!attribute [rw] connection_arn
47
+ # The ARN of the connection specified for the API destination.
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] invocation_endpoint
51
+ # The URL to the endpoint for the API destination.
52
+ # @return [String]
53
+ #
54
+ # @!attribute [rw] http_method
55
+ # The method to use to connect to the HTTP endpoint.
56
+ # @return [String]
57
+ #
58
+ # @!attribute [rw] invocation_rate_limit_per_second
59
+ # The maximum number of invocations per second to send to the HTTP
60
+ # endpoint.
61
+ # @return [Integer]
62
+ #
63
+ # @!attribute [rw] creation_time
64
+ # A time stamp for the time that the API destination was created.
65
+ # @return [Time]
66
+ #
67
+ # @!attribute [rw] last_modified_time
68
+ # A time stamp for the time that the API destination was last
69
+ # modified.
70
+ # @return [Time]
71
+ #
72
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ApiDestination AWS API Documentation
73
+ #
74
+ class ApiDestination < Struct.new(
75
+ :api_destination_arn,
76
+ :name,
77
+ :api_destination_state,
78
+ :connection_arn,
79
+ :invocation_endpoint,
80
+ :http_method,
81
+ :invocation_rate_limit_per_second,
82
+ :creation_time,
83
+ :last_modified_time)
84
+ SENSITIVE = []
85
+ include Aws::Structure
86
+ end
87
+
32
88
  # An `Archive` object that contains details about an archive.
33
89
  #
34
90
  # @!attribute [rw] archive_name
@@ -315,6 +371,403 @@ module Aws::EventBridge
315
371
  include Aws::Structure
316
372
  end
317
373
 
374
+ # Contains information about a connection.
375
+ #
376
+ # @!attribute [rw] connection_arn
377
+ # The ARN of the connection.
378
+ # @return [String]
379
+ #
380
+ # @!attribute [rw] name
381
+ # The name of the connection.
382
+ # @return [String]
383
+ #
384
+ # @!attribute [rw] connection_state
385
+ # The state of the connection.
386
+ # @return [String]
387
+ #
388
+ # @!attribute [rw] state_reason
389
+ # The reason that the connection is in the connection state.
390
+ # @return [String]
391
+ #
392
+ # @!attribute [rw] authorization_type
393
+ # The authorization type specified for the connection.
394
+ # @return [String]
395
+ #
396
+ # @!attribute [rw] creation_time
397
+ # A time stamp for the time that the connection was created.
398
+ # @return [Time]
399
+ #
400
+ # @!attribute [rw] last_modified_time
401
+ # A time stamp for the time that the connection was last modified.
402
+ # @return [Time]
403
+ #
404
+ # @!attribute [rw] last_authorized_time
405
+ # A time stamp for the time that the connection was last authorized.
406
+ # @return [Time]
407
+ #
408
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/Connection AWS API Documentation
409
+ #
410
+ class Connection < Struct.new(
411
+ :connection_arn,
412
+ :name,
413
+ :connection_state,
414
+ :state_reason,
415
+ :authorization_type,
416
+ :creation_time,
417
+ :last_modified_time,
418
+ :last_authorized_time)
419
+ SENSITIVE = []
420
+ include Aws::Structure
421
+ end
422
+
423
+ # Contains the authorization parameters for the connection if API Key is
424
+ # specified as the authorization type.
425
+ #
426
+ # @!attribute [rw] api_key_name
427
+ # The name of the header to use for the `APIKeyValue` used for
428
+ # authorization.
429
+ # @return [String]
430
+ #
431
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ConnectionApiKeyAuthResponseParameters AWS API Documentation
432
+ #
433
+ class ConnectionApiKeyAuthResponseParameters < Struct.new(
434
+ :api_key_name)
435
+ SENSITIVE = []
436
+ include Aws::Structure
437
+ end
438
+
439
+ # Contains the authorization parameters to use for the connection.
440
+ #
441
+ # @!attribute [rw] basic_auth_parameters
442
+ # The authorization parameters for Basic authorization.
443
+ # @return [Types::ConnectionBasicAuthResponseParameters]
444
+ #
445
+ # @!attribute [rw] o_auth_parameters
446
+ # The OAuth parameters to use for authorization.
447
+ # @return [Types::ConnectionOAuthResponseParameters]
448
+ #
449
+ # @!attribute [rw] api_key_auth_parameters
450
+ # The API Key parameters to use for authorization.
451
+ # @return [Types::ConnectionApiKeyAuthResponseParameters]
452
+ #
453
+ # @!attribute [rw] invocation_http_parameters
454
+ # Additional parameters for the connection that are passed through
455
+ # with every invocation to the HTTP endpoint.
456
+ # @return [Types::ConnectionHttpParameters]
457
+ #
458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ConnectionAuthResponseParameters AWS API Documentation
459
+ #
460
+ class ConnectionAuthResponseParameters < Struct.new(
461
+ :basic_auth_parameters,
462
+ :o_auth_parameters,
463
+ :api_key_auth_parameters,
464
+ :invocation_http_parameters)
465
+ SENSITIVE = []
466
+ include Aws::Structure
467
+ end
468
+
469
+ # Contains the authorization parameters for the connection if Basic is
470
+ # specified as the authorization type.
471
+ #
472
+ # @!attribute [rw] username
473
+ # The user name to use for Basic authorization.
474
+ # @return [String]
475
+ #
476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ConnectionBasicAuthResponseParameters AWS API Documentation
477
+ #
478
+ class ConnectionBasicAuthResponseParameters < Struct.new(
479
+ :username)
480
+ SENSITIVE = []
481
+ include Aws::Structure
482
+ end
483
+
484
+ # Additional parameter included in the body. You can include up to 100
485
+ # additional body parameters per request. An event payload cannot exceed
486
+ # 64 KB.
487
+ #
488
+ # @note When making an API call, you may pass ConnectionBodyParameter
489
+ # data as a hash:
490
+ #
491
+ # {
492
+ # key: "String",
493
+ # value: "String",
494
+ # is_value_secret: false,
495
+ # }
496
+ #
497
+ # @!attribute [rw] key
498
+ # The key for the parameter.
499
+ # @return [String]
500
+ #
501
+ # @!attribute [rw] value
502
+ # The value associated with the key.
503
+ # @return [String]
504
+ #
505
+ # @!attribute [rw] is_value_secret
506
+ # Specified whether the value is secret.
507
+ # @return [Boolean]
508
+ #
509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ConnectionBodyParameter AWS API Documentation
510
+ #
511
+ class ConnectionBodyParameter < Struct.new(
512
+ :key,
513
+ :value,
514
+ :is_value_secret)
515
+ SENSITIVE = []
516
+ include Aws::Structure
517
+ end
518
+
519
+ # Additional parameter included in the header. You can include up to 100
520
+ # additional header parameters per request. An event payload cannot
521
+ # exceed 64 KB.
522
+ #
523
+ # @note When making an API call, you may pass ConnectionHeaderParameter
524
+ # data as a hash:
525
+ #
526
+ # {
527
+ # key: "HeaderKey",
528
+ # value: "HeaderValue",
529
+ # is_value_secret: false,
530
+ # }
531
+ #
532
+ # @!attribute [rw] key
533
+ # The key for the parameter.
534
+ # @return [String]
535
+ #
536
+ # @!attribute [rw] value
537
+ # The value associated with the key.
538
+ # @return [String]
539
+ #
540
+ # @!attribute [rw] is_value_secret
541
+ # Specified whether the value is a secret.
542
+ # @return [Boolean]
543
+ #
544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ConnectionHeaderParameter AWS API Documentation
545
+ #
546
+ class ConnectionHeaderParameter < Struct.new(
547
+ :key,
548
+ :value,
549
+ :is_value_secret)
550
+ SENSITIVE = []
551
+ include Aws::Structure
552
+ end
553
+
554
+ # Contains additional parameters for the connection.
555
+ #
556
+ # @note When making an API call, you may pass ConnectionHttpParameters
557
+ # data as a hash:
558
+ #
559
+ # {
560
+ # header_parameters: [
561
+ # {
562
+ # key: "HeaderKey",
563
+ # value: "HeaderValue",
564
+ # is_value_secret: false,
565
+ # },
566
+ # ],
567
+ # query_string_parameters: [
568
+ # {
569
+ # key: "QueryStringKey",
570
+ # value: "QueryStringValue",
571
+ # is_value_secret: false,
572
+ # },
573
+ # ],
574
+ # body_parameters: [
575
+ # {
576
+ # key: "String",
577
+ # value: "String",
578
+ # is_value_secret: false,
579
+ # },
580
+ # ],
581
+ # }
582
+ #
583
+ # @!attribute [rw] header_parameters
584
+ # Contains additional header parameters for the connection.
585
+ # @return [Array<Types::ConnectionHeaderParameter>]
586
+ #
587
+ # @!attribute [rw] query_string_parameters
588
+ # Contains additional query string parameters for the connection.
589
+ # @return [Array<Types::ConnectionQueryStringParameter>]
590
+ #
591
+ # @!attribute [rw] body_parameters
592
+ # Contains additional body string parameters for the connection.
593
+ # @return [Array<Types::ConnectionBodyParameter>]
594
+ #
595
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ConnectionHttpParameters AWS API Documentation
596
+ #
597
+ class ConnectionHttpParameters < Struct.new(
598
+ :header_parameters,
599
+ :query_string_parameters,
600
+ :body_parameters)
601
+ SENSITIVE = []
602
+ include Aws::Structure
603
+ end
604
+
605
+ # Contains the client response parameters for the connection when OAuth
606
+ # is specified as the authorization type.
607
+ #
608
+ # @!attribute [rw] client_id
609
+ # The client ID associated with the response to the connection
610
+ # request.
611
+ # @return [String]
612
+ #
613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ConnectionOAuthClientResponseParameters AWS API Documentation
614
+ #
615
+ class ConnectionOAuthClientResponseParameters < Struct.new(
616
+ :client_id)
617
+ SENSITIVE = []
618
+ include Aws::Structure
619
+ end
620
+
621
+ # Contains the response parameters when OAuth is specified as the
622
+ # authorization type.
623
+ #
624
+ # @!attribute [rw] client_parameters
625
+ # A `ConnectionOAuthClientResponseParameters` object that contains
626
+ # details about the client parameters returned when OAuth is specified
627
+ # as the authorization type.
628
+ # @return [Types::ConnectionOAuthClientResponseParameters]
629
+ #
630
+ # @!attribute [rw] authorization_endpoint
631
+ # The URL to the HTTP endpoint that authorized the request.
632
+ # @return [String]
633
+ #
634
+ # @!attribute [rw] http_method
635
+ # The method used to connect to the HTTP endpoint.
636
+ # @return [String]
637
+ #
638
+ # @!attribute [rw] o_auth_http_parameters
639
+ # The additional HTTP parameters used for the OAuth authorization
640
+ # request.
641
+ # @return [Types::ConnectionHttpParameters]
642
+ #
643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ConnectionOAuthResponseParameters AWS API Documentation
644
+ #
645
+ class ConnectionOAuthResponseParameters < Struct.new(
646
+ :client_parameters,
647
+ :authorization_endpoint,
648
+ :http_method,
649
+ :o_auth_http_parameters)
650
+ SENSITIVE = []
651
+ include Aws::Structure
652
+ end
653
+
654
+ # Additional query string parameter for the connection. You can include
655
+ # up to 100 additional query string parameters per request. Each
656
+ # additional parameter counts towards the event payload size, which
657
+ # cannot exceed 64 KB.
658
+ #
659
+ # @note When making an API call, you may pass ConnectionQueryStringParameter
660
+ # data as a hash:
661
+ #
662
+ # {
663
+ # key: "QueryStringKey",
664
+ # value: "QueryStringValue",
665
+ # is_value_secret: false,
666
+ # }
667
+ #
668
+ # @!attribute [rw] key
669
+ # The key for a query string parameter.
670
+ # @return [String]
671
+ #
672
+ # @!attribute [rw] value
673
+ # The value associated with the key for the query string parameter.
674
+ # @return [String]
675
+ #
676
+ # @!attribute [rw] is_value_secret
677
+ # Specifies whether the value is secret.
678
+ # @return [Boolean]
679
+ #
680
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ConnectionQueryStringParameter AWS API Documentation
681
+ #
682
+ class ConnectionQueryStringParameter < Struct.new(
683
+ :key,
684
+ :value,
685
+ :is_value_secret)
686
+ SENSITIVE = []
687
+ include Aws::Structure
688
+ end
689
+
690
+ # @note When making an API call, you may pass CreateApiDestinationRequest
691
+ # data as a hash:
692
+ #
693
+ # {
694
+ # name: "ApiDestinationName", # required
695
+ # description: "ApiDestinationDescription",
696
+ # connection_arn: "ConnectionArn", # required
697
+ # invocation_endpoint: "HttpsEndpoint", # required
698
+ # http_method: "POST", # required, accepts POST, GET, HEAD, OPTIONS, PUT, PATCH, DELETE
699
+ # invocation_rate_limit_per_second: 1,
700
+ # }
701
+ #
702
+ # @!attribute [rw] name
703
+ # The name for the API destination to create.
704
+ # @return [String]
705
+ #
706
+ # @!attribute [rw] description
707
+ # A description for the API destination to create.
708
+ # @return [String]
709
+ #
710
+ # @!attribute [rw] connection_arn
711
+ # The ARN of the connection to use for the API destination. The
712
+ # destination endpoint must support the authorization type specified
713
+ # for the connection.
714
+ # @return [String]
715
+ #
716
+ # @!attribute [rw] invocation_endpoint
717
+ # The URL to the HTTP invocation endpoint for the API destination.
718
+ # @return [String]
719
+ #
720
+ # @!attribute [rw] http_method
721
+ # The method to use for the request to the HTTP invocation endpoint.
722
+ # @return [String]
723
+ #
724
+ # @!attribute [rw] invocation_rate_limit_per_second
725
+ # The maximum number of requests per second to send to the HTTP
726
+ # invocation endpoint.
727
+ # @return [Integer]
728
+ #
729
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateApiDestinationRequest AWS API Documentation
730
+ #
731
+ class CreateApiDestinationRequest < Struct.new(
732
+ :name,
733
+ :description,
734
+ :connection_arn,
735
+ :invocation_endpoint,
736
+ :http_method,
737
+ :invocation_rate_limit_per_second)
738
+ SENSITIVE = []
739
+ include Aws::Structure
740
+ end
741
+
742
+ # @!attribute [rw] api_destination_arn
743
+ # The ARN of the API destination that was created by the request.
744
+ # @return [String]
745
+ #
746
+ # @!attribute [rw] api_destination_state
747
+ # The state of the API destination that was created by the request.
748
+ # @return [String]
749
+ #
750
+ # @!attribute [rw] creation_time
751
+ # A time stamp indicating the time that the API destination was
752
+ # created.
753
+ # @return [Time]
754
+ #
755
+ # @!attribute [rw] last_modified_time
756
+ # A time stamp indicating the time that the API destination was last
757
+ # modified.
758
+ # @return [Time]
759
+ #
760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateApiDestinationResponse AWS API Documentation
761
+ #
762
+ class CreateApiDestinationResponse < Struct.new(
763
+ :api_destination_arn,
764
+ :api_destination_state,
765
+ :creation_time,
766
+ :last_modified_time)
767
+ SENSITIVE = []
768
+ include Aws::Structure
769
+ end
770
+
318
771
  # @note When making an API call, you may pass CreateArchiveRequest
319
772
  # data as a hash:
320
773
  #
@@ -386,6 +839,388 @@ module Aws::EventBridge
386
839
  include Aws::Structure
387
840
  end
388
841
 
842
+ # Contains the API key authorization parameters for the connection.
843
+ #
844
+ # @note When making an API call, you may pass CreateConnectionApiKeyAuthRequestParameters
845
+ # data as a hash:
846
+ #
847
+ # {
848
+ # api_key_name: "AuthHeaderParameters", # required
849
+ # api_key_value: "AuthHeaderParameters", # required
850
+ # }
851
+ #
852
+ # @!attribute [rw] api_key_name
853
+ # The name of the API key to use for authorization.
854
+ # @return [String]
855
+ #
856
+ # @!attribute [rw] api_key_value
857
+ # The value for the API key to use for authorization.
858
+ # @return [String]
859
+ #
860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateConnectionApiKeyAuthRequestParameters AWS API Documentation
861
+ #
862
+ class CreateConnectionApiKeyAuthRequestParameters < Struct.new(
863
+ :api_key_name,
864
+ :api_key_value)
865
+ SENSITIVE = []
866
+ include Aws::Structure
867
+ end
868
+
869
+ # Contains the authorization parameters for the connection.
870
+ #
871
+ # @note When making an API call, you may pass CreateConnectionAuthRequestParameters
872
+ # data as a hash:
873
+ #
874
+ # {
875
+ # basic_auth_parameters: {
876
+ # username: "AuthHeaderParameters", # required
877
+ # password: "AuthHeaderParameters", # required
878
+ # },
879
+ # o_auth_parameters: {
880
+ # client_parameters: { # required
881
+ # client_id: "AuthHeaderParameters", # required
882
+ # client_secret: "AuthHeaderParameters", # required
883
+ # },
884
+ # authorization_endpoint: "HttpsEndpoint", # required
885
+ # http_method: "GET", # required, accepts GET, POST, PUT
886
+ # o_auth_http_parameters: {
887
+ # header_parameters: [
888
+ # {
889
+ # key: "HeaderKey",
890
+ # value: "HeaderValue",
891
+ # is_value_secret: false,
892
+ # },
893
+ # ],
894
+ # query_string_parameters: [
895
+ # {
896
+ # key: "QueryStringKey",
897
+ # value: "QueryStringValue",
898
+ # is_value_secret: false,
899
+ # },
900
+ # ],
901
+ # body_parameters: [
902
+ # {
903
+ # key: "String",
904
+ # value: "String",
905
+ # is_value_secret: false,
906
+ # },
907
+ # ],
908
+ # },
909
+ # },
910
+ # api_key_auth_parameters: {
911
+ # api_key_name: "AuthHeaderParameters", # required
912
+ # api_key_value: "AuthHeaderParameters", # required
913
+ # },
914
+ # invocation_http_parameters: {
915
+ # header_parameters: [
916
+ # {
917
+ # key: "HeaderKey",
918
+ # value: "HeaderValue",
919
+ # is_value_secret: false,
920
+ # },
921
+ # ],
922
+ # query_string_parameters: [
923
+ # {
924
+ # key: "QueryStringKey",
925
+ # value: "QueryStringValue",
926
+ # is_value_secret: false,
927
+ # },
928
+ # ],
929
+ # body_parameters: [
930
+ # {
931
+ # key: "String",
932
+ # value: "String",
933
+ # is_value_secret: false,
934
+ # },
935
+ # ],
936
+ # },
937
+ # }
938
+ #
939
+ # @!attribute [rw] basic_auth_parameters
940
+ # A `CreateConnectionBasicAuthRequestParameters` object that contains
941
+ # the Basic authorization parameters to use for the connection.
942
+ # @return [Types::CreateConnectionBasicAuthRequestParameters]
943
+ #
944
+ # @!attribute [rw] o_auth_parameters
945
+ # A `CreateConnectionOAuthRequestParameters` object that contains the
946
+ # OAuth authorization parameters to use for the connection.
947
+ # @return [Types::CreateConnectionOAuthRequestParameters]
948
+ #
949
+ # @!attribute [rw] api_key_auth_parameters
950
+ # A `CreateConnectionApiKeyAuthRequestParameters` object that contains
951
+ # the API key authorization parameters to use for the connection.
952
+ # @return [Types::CreateConnectionApiKeyAuthRequestParameters]
953
+ #
954
+ # @!attribute [rw] invocation_http_parameters
955
+ # A `ConnectionHttpParameters` object that contains the API key
956
+ # authorization parameters to use for the connection. Note that if you
957
+ # include additional parameters for the target of a rule via
958
+ # `HttpParameters`, including query strings, the parameters added for
959
+ # the connection take precedence.
960
+ # @return [Types::ConnectionHttpParameters]
961
+ #
962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateConnectionAuthRequestParameters AWS API Documentation
963
+ #
964
+ class CreateConnectionAuthRequestParameters < Struct.new(
965
+ :basic_auth_parameters,
966
+ :o_auth_parameters,
967
+ :api_key_auth_parameters,
968
+ :invocation_http_parameters)
969
+ SENSITIVE = []
970
+ include Aws::Structure
971
+ end
972
+
973
+ # Contains the Basic authorization parameters to use for the connection.
974
+ #
975
+ # @note When making an API call, you may pass CreateConnectionBasicAuthRequestParameters
976
+ # data as a hash:
977
+ #
978
+ # {
979
+ # username: "AuthHeaderParameters", # required
980
+ # password: "AuthHeaderParameters", # required
981
+ # }
982
+ #
983
+ # @!attribute [rw] username
984
+ # The user name to use for Basic authorization.
985
+ # @return [String]
986
+ #
987
+ # @!attribute [rw] password
988
+ # The password associated with the user name to use for Basic
989
+ # authorization.
990
+ # @return [String]
991
+ #
992
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateConnectionBasicAuthRequestParameters AWS API Documentation
993
+ #
994
+ class CreateConnectionBasicAuthRequestParameters < Struct.new(
995
+ :username,
996
+ :password)
997
+ SENSITIVE = []
998
+ include Aws::Structure
999
+ end
1000
+
1001
+ # Contains the Basic authorization parameters to use for the connection.
1002
+ #
1003
+ # @note When making an API call, you may pass CreateConnectionOAuthClientRequestParameters
1004
+ # data as a hash:
1005
+ #
1006
+ # {
1007
+ # client_id: "AuthHeaderParameters", # required
1008
+ # client_secret: "AuthHeaderParameters", # required
1009
+ # }
1010
+ #
1011
+ # @!attribute [rw] client_id
1012
+ # The client ID to use for OAuth authorization for the connection.
1013
+ # @return [String]
1014
+ #
1015
+ # @!attribute [rw] client_secret
1016
+ # The client secret associated with the client ID to use for OAuth
1017
+ # authorization for the connection.
1018
+ # @return [String]
1019
+ #
1020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateConnectionOAuthClientRequestParameters AWS API Documentation
1021
+ #
1022
+ class CreateConnectionOAuthClientRequestParameters < Struct.new(
1023
+ :client_id,
1024
+ :client_secret)
1025
+ SENSITIVE = []
1026
+ include Aws::Structure
1027
+ end
1028
+
1029
+ # Contains the OAuth authorization parameters to use for the connection.
1030
+ #
1031
+ # @note When making an API call, you may pass CreateConnectionOAuthRequestParameters
1032
+ # data as a hash:
1033
+ #
1034
+ # {
1035
+ # client_parameters: { # required
1036
+ # client_id: "AuthHeaderParameters", # required
1037
+ # client_secret: "AuthHeaderParameters", # required
1038
+ # },
1039
+ # authorization_endpoint: "HttpsEndpoint", # required
1040
+ # http_method: "GET", # required, accepts GET, POST, PUT
1041
+ # o_auth_http_parameters: {
1042
+ # header_parameters: [
1043
+ # {
1044
+ # key: "HeaderKey",
1045
+ # value: "HeaderValue",
1046
+ # is_value_secret: false,
1047
+ # },
1048
+ # ],
1049
+ # query_string_parameters: [
1050
+ # {
1051
+ # key: "QueryStringKey",
1052
+ # value: "QueryStringValue",
1053
+ # is_value_secret: false,
1054
+ # },
1055
+ # ],
1056
+ # body_parameters: [
1057
+ # {
1058
+ # key: "String",
1059
+ # value: "String",
1060
+ # is_value_secret: false,
1061
+ # },
1062
+ # ],
1063
+ # },
1064
+ # }
1065
+ #
1066
+ # @!attribute [rw] client_parameters
1067
+ # A `CreateConnectionOAuthClientRequestParameters` object that
1068
+ # contains the client parameters for OAuth authorization.
1069
+ # @return [Types::CreateConnectionOAuthClientRequestParameters]
1070
+ #
1071
+ # @!attribute [rw] authorization_endpoint
1072
+ # The URL to the authorization endpoint when OAuth is specified as the
1073
+ # authorization type.
1074
+ # @return [String]
1075
+ #
1076
+ # @!attribute [rw] http_method
1077
+ # The method to use for the authorization request.
1078
+ # @return [String]
1079
+ #
1080
+ # @!attribute [rw] o_auth_http_parameters
1081
+ # A `ConnectionHttpParameters` object that contains details about the
1082
+ # additional parameters to use for the connection.
1083
+ # @return [Types::ConnectionHttpParameters]
1084
+ #
1085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateConnectionOAuthRequestParameters AWS API Documentation
1086
+ #
1087
+ class CreateConnectionOAuthRequestParameters < Struct.new(
1088
+ :client_parameters,
1089
+ :authorization_endpoint,
1090
+ :http_method,
1091
+ :o_auth_http_parameters)
1092
+ SENSITIVE = []
1093
+ include Aws::Structure
1094
+ end
1095
+
1096
+ # @note When making an API call, you may pass CreateConnectionRequest
1097
+ # data as a hash:
1098
+ #
1099
+ # {
1100
+ # name: "ConnectionName", # required
1101
+ # description: "ConnectionDescription",
1102
+ # authorization_type: "BASIC", # required, accepts BASIC, OAUTH_CLIENT_CREDENTIALS, API_KEY
1103
+ # auth_parameters: { # required
1104
+ # basic_auth_parameters: {
1105
+ # username: "AuthHeaderParameters", # required
1106
+ # password: "AuthHeaderParameters", # required
1107
+ # },
1108
+ # o_auth_parameters: {
1109
+ # client_parameters: { # required
1110
+ # client_id: "AuthHeaderParameters", # required
1111
+ # client_secret: "AuthHeaderParameters", # required
1112
+ # },
1113
+ # authorization_endpoint: "HttpsEndpoint", # required
1114
+ # http_method: "GET", # required, accepts GET, POST, PUT
1115
+ # o_auth_http_parameters: {
1116
+ # header_parameters: [
1117
+ # {
1118
+ # key: "HeaderKey",
1119
+ # value: "HeaderValue",
1120
+ # is_value_secret: false,
1121
+ # },
1122
+ # ],
1123
+ # query_string_parameters: [
1124
+ # {
1125
+ # key: "QueryStringKey",
1126
+ # value: "QueryStringValue",
1127
+ # is_value_secret: false,
1128
+ # },
1129
+ # ],
1130
+ # body_parameters: [
1131
+ # {
1132
+ # key: "String",
1133
+ # value: "String",
1134
+ # is_value_secret: false,
1135
+ # },
1136
+ # ],
1137
+ # },
1138
+ # },
1139
+ # api_key_auth_parameters: {
1140
+ # api_key_name: "AuthHeaderParameters", # required
1141
+ # api_key_value: "AuthHeaderParameters", # required
1142
+ # },
1143
+ # invocation_http_parameters: {
1144
+ # header_parameters: [
1145
+ # {
1146
+ # key: "HeaderKey",
1147
+ # value: "HeaderValue",
1148
+ # is_value_secret: false,
1149
+ # },
1150
+ # ],
1151
+ # query_string_parameters: [
1152
+ # {
1153
+ # key: "QueryStringKey",
1154
+ # value: "QueryStringValue",
1155
+ # is_value_secret: false,
1156
+ # },
1157
+ # ],
1158
+ # body_parameters: [
1159
+ # {
1160
+ # key: "String",
1161
+ # value: "String",
1162
+ # is_value_secret: false,
1163
+ # },
1164
+ # ],
1165
+ # },
1166
+ # },
1167
+ # }
1168
+ #
1169
+ # @!attribute [rw] name
1170
+ # The name for the connection to create.
1171
+ # @return [String]
1172
+ #
1173
+ # @!attribute [rw] description
1174
+ # A description for the connection to create.
1175
+ # @return [String]
1176
+ #
1177
+ # @!attribute [rw] authorization_type
1178
+ # The type of authorization to use for the connection.
1179
+ # @return [String]
1180
+ #
1181
+ # @!attribute [rw] auth_parameters
1182
+ # A `CreateConnectionAuthRequestParameters` object that contains the
1183
+ # authorization parameters to use to authorize with the endpoint.
1184
+ # @return [Types::CreateConnectionAuthRequestParameters]
1185
+ #
1186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateConnectionRequest AWS API Documentation
1187
+ #
1188
+ class CreateConnectionRequest < Struct.new(
1189
+ :name,
1190
+ :description,
1191
+ :authorization_type,
1192
+ :auth_parameters)
1193
+ SENSITIVE = []
1194
+ include Aws::Structure
1195
+ end
1196
+
1197
+ # @!attribute [rw] connection_arn
1198
+ # The ARN of the connection that was created by the request.
1199
+ # @return [String]
1200
+ #
1201
+ # @!attribute [rw] connection_state
1202
+ # The state of the connection that was created by the request.
1203
+ # @return [String]
1204
+ #
1205
+ # @!attribute [rw] creation_time
1206
+ # A time stamp for the time that the connection was created.
1207
+ # @return [Time]
1208
+ #
1209
+ # @!attribute [rw] last_modified_time
1210
+ # A time stamp for the time that the connection was last updated.
1211
+ # @return [Time]
1212
+ #
1213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateConnectionResponse AWS API Documentation
1214
+ #
1215
+ class CreateConnectionResponse < Struct.new(
1216
+ :connection_arn,
1217
+ :connection_state,
1218
+ :creation_time,
1219
+ :last_modified_time)
1220
+ SENSITIVE = []
1221
+ include Aws::Structure
1222
+ end
1223
+
389
1224
  # @note When making an API call, you may pass CreateEventBusRequest
390
1225
  # data as a hash:
391
1226
  #
@@ -484,48 +1319,122 @@ module Aws::EventBridge
484
1319
  include Aws::Structure
485
1320
  end
486
1321
 
487
- # @note When making an API call, you may pass DeactivateEventSourceRequest
1322
+ # @note When making an API call, you may pass DeactivateEventSourceRequest
1323
+ # data as a hash:
1324
+ #
1325
+ # {
1326
+ # name: "EventSourceName", # required
1327
+ # }
1328
+ #
1329
+ # @!attribute [rw] name
1330
+ # The name of the partner event source to deactivate.
1331
+ # @return [String]
1332
+ #
1333
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeactivateEventSourceRequest AWS API Documentation
1334
+ #
1335
+ class DeactivateEventSourceRequest < Struct.new(
1336
+ :name)
1337
+ SENSITIVE = []
1338
+ include Aws::Structure
1339
+ end
1340
+
1341
+ # A `DeadLetterConfig` object that contains information about a
1342
+ # dead-letter queue configuration.
1343
+ #
1344
+ # @note When making an API call, you may pass DeadLetterConfig
1345
+ # data as a hash:
1346
+ #
1347
+ # {
1348
+ # arn: "ResourceArn",
1349
+ # }
1350
+ #
1351
+ # @!attribute [rw] arn
1352
+ # The ARN of the SQS queue specified as the target for the dead-letter
1353
+ # queue.
1354
+ # @return [String]
1355
+ #
1356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeadLetterConfig AWS API Documentation
1357
+ #
1358
+ class DeadLetterConfig < Struct.new(
1359
+ :arn)
1360
+ SENSITIVE = []
1361
+ include Aws::Structure
1362
+ end
1363
+
1364
+ # @note When making an API call, you may pass DeauthorizeConnectionRequest
488
1365
  # data as a hash:
489
1366
  #
490
1367
  # {
491
- # name: "EventSourceName", # required
1368
+ # name: "ConnectionName", # required
492
1369
  # }
493
1370
  #
494
1371
  # @!attribute [rw] name
495
- # The name of the partner event source to deactivate.
1372
+ # The name of the connection to remove authorization from.
496
1373
  # @return [String]
497
1374
  #
498
- # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeactivateEventSourceRequest AWS API Documentation
1375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeauthorizeConnectionRequest AWS API Documentation
499
1376
  #
500
- class DeactivateEventSourceRequest < Struct.new(
1377
+ class DeauthorizeConnectionRequest < Struct.new(
501
1378
  :name)
502
1379
  SENSITIVE = []
503
1380
  include Aws::Structure
504
1381
  end
505
1382
 
506
- # A `DeadLetterConfig` object that contains information about a
507
- # dead-letter queue configuration.
1383
+ # @!attribute [rw] connection_arn
1384
+ # The ARN of the connection that authorization was removed from.
1385
+ # @return [String]
508
1386
  #
509
- # @note When making an API call, you may pass DeadLetterConfig
1387
+ # @!attribute [rw] connection_state
1388
+ # The state of the connection.
1389
+ # @return [String]
1390
+ #
1391
+ # @!attribute [rw] creation_time
1392
+ # A time stamp for the time that the connection was created.
1393
+ # @return [Time]
1394
+ #
1395
+ # @!attribute [rw] last_modified_time
1396
+ # A time stamp for the time that the connection was last updated.
1397
+ # @return [Time]
1398
+ #
1399
+ # @!attribute [rw] last_authorized_time
1400
+ # A time stamp for the time that the connection was last authorized.
1401
+ # @return [Time]
1402
+ #
1403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeauthorizeConnectionResponse AWS API Documentation
1404
+ #
1405
+ class DeauthorizeConnectionResponse < Struct.new(
1406
+ :connection_arn,
1407
+ :connection_state,
1408
+ :creation_time,
1409
+ :last_modified_time,
1410
+ :last_authorized_time)
1411
+ SENSITIVE = []
1412
+ include Aws::Structure
1413
+ end
1414
+
1415
+ # @note When making an API call, you may pass DeleteApiDestinationRequest
510
1416
  # data as a hash:
511
1417
  #
512
1418
  # {
513
- # arn: "ResourceArn",
1419
+ # name: "ApiDestinationName", # required
514
1420
  # }
515
1421
  #
516
- # @!attribute [rw] arn
517
- # The ARN of the SQS queue specified as the target for the dead-letter
518
- # queue.
1422
+ # @!attribute [rw] name
1423
+ # The name of the destination to delete.
519
1424
  # @return [String]
520
1425
  #
521
- # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeadLetterConfig AWS API Documentation
1426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteApiDestinationRequest AWS API Documentation
522
1427
  #
523
- class DeadLetterConfig < Struct.new(
524
- :arn)
1428
+ class DeleteApiDestinationRequest < Struct.new(
1429
+ :name)
525
1430
  SENSITIVE = []
526
1431
  include Aws::Structure
527
1432
  end
528
1433
 
1434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteApiDestinationResponse AWS API Documentation
1435
+ #
1436
+ class DeleteApiDestinationResponse < Aws::EmptyStructure; end
1437
+
529
1438
  # @note When making an API call, you may pass DeleteArchiveRequest
530
1439
  # data as a hash:
531
1440
  #
@@ -549,6 +1458,59 @@ module Aws::EventBridge
549
1458
  #
550
1459
  class DeleteArchiveResponse < Aws::EmptyStructure; end
551
1460
 
1461
+ # @note When making an API call, you may pass DeleteConnectionRequest
1462
+ # data as a hash:
1463
+ #
1464
+ # {
1465
+ # name: "ConnectionName", # required
1466
+ # }
1467
+ #
1468
+ # @!attribute [rw] name
1469
+ # The name of the connection to delete.
1470
+ # @return [String]
1471
+ #
1472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteConnectionRequest AWS API Documentation
1473
+ #
1474
+ class DeleteConnectionRequest < Struct.new(
1475
+ :name)
1476
+ SENSITIVE = []
1477
+ include Aws::Structure
1478
+ end
1479
+
1480
+ # @!attribute [rw] connection_arn
1481
+ # The ARN of the connection that was deleted.
1482
+ # @return [String]
1483
+ #
1484
+ # @!attribute [rw] connection_state
1485
+ # The state of the connection before it was deleted.
1486
+ # @return [String]
1487
+ #
1488
+ # @!attribute [rw] creation_time
1489
+ # A time stamp for the time that the connection was created.
1490
+ # @return [Time]
1491
+ #
1492
+ # @!attribute [rw] last_modified_time
1493
+ # A time stamp for the time that the connection was last modified
1494
+ # before it was deleted.
1495
+ # @return [Time]
1496
+ #
1497
+ # @!attribute [rw] last_authorized_time
1498
+ # A time stamp for the time that the connection was last authorized
1499
+ # before it wa deleted.
1500
+ # @return [Time]
1501
+ #
1502
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteConnectionResponse AWS API Documentation
1503
+ #
1504
+ class DeleteConnectionResponse < Struct.new(
1505
+ :connection_arn,
1506
+ :connection_state,
1507
+ :creation_time,
1508
+ :last_modified_time,
1509
+ :last_authorized_time)
1510
+ SENSITIVE = []
1511
+ include Aws::Structure
1512
+ end
1513
+
552
1514
  # @note When making an API call, you may pass DeleteEventBusRequest
553
1515
  # data as a hash:
554
1516
  #
@@ -630,6 +1592,91 @@ module Aws::EventBridge
630
1592
  include Aws::Structure
631
1593
  end
632
1594
 
1595
+ # @note When making an API call, you may pass DescribeApiDestinationRequest
1596
+ # data as a hash:
1597
+ #
1598
+ # {
1599
+ # name: "ApiDestinationName", # required
1600
+ # }
1601
+ #
1602
+ # @!attribute [rw] name
1603
+ # The name of the API destination to retrieve.
1604
+ # @return [String]
1605
+ #
1606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeApiDestinationRequest AWS API Documentation
1607
+ #
1608
+ class DescribeApiDestinationRequest < Struct.new(
1609
+ :name)
1610
+ SENSITIVE = []
1611
+ include Aws::Structure
1612
+ end
1613
+
1614
+ # @!attribute [rw] api_destination_arn
1615
+ # The ARN of the API destination retrieved.
1616
+ # @return [String]
1617
+ #
1618
+ # @!attribute [rw] name
1619
+ # The name of the API destination retrieved.
1620
+ # @return [String]
1621
+ #
1622
+ # @!attribute [rw] description
1623
+ # The description for the API destination retrieved.
1624
+ # @return [String]
1625
+ #
1626
+ # @!attribute [rw] api_destination_state
1627
+ # The state of the API destination retrieved.
1628
+ # @return [String]
1629
+ #
1630
+ # @!attribute [rw] connection_arn
1631
+ # The ARN of the connection specified for the API destination
1632
+ # retrieved.
1633
+ # @return [String]
1634
+ #
1635
+ # @!attribute [rw] invocation_endpoint
1636
+ # The URL to use to connect to the HTTP endpoint.
1637
+ # @return [String]
1638
+ #
1639
+ # @!attribute [rw] http_method
1640
+ # The method to use to connect to the HTTP endpoint.
1641
+ # @return [String]
1642
+ #
1643
+ # @!attribute [rw] invocation_rate_limit_per_second
1644
+ # The maximum number of invocations per second to specified for the
1645
+ # API destination. Note that if you set the invocation rate maximum to
1646
+ # a value lower the rate necessary to send all events received on to
1647
+ # the destination HTTP endpoint, some events may not be delivered
1648
+ # within the 24-hour retry window. If you plan to set the rate lower
1649
+ # than the rate necessary to deliver all events, consider using a
1650
+ # dead-letter queue to catch events that are not delivered within 24
1651
+ # hours.
1652
+ # @return [Integer]
1653
+ #
1654
+ # @!attribute [rw] creation_time
1655
+ # A time stamp for the time that the API destination was created.
1656
+ # @return [Time]
1657
+ #
1658
+ # @!attribute [rw] last_modified_time
1659
+ # A time stamp for the time that the API destination was last
1660
+ # modified.
1661
+ # @return [Time]
1662
+ #
1663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeApiDestinationResponse AWS API Documentation
1664
+ #
1665
+ class DescribeApiDestinationResponse < Struct.new(
1666
+ :api_destination_arn,
1667
+ :name,
1668
+ :description,
1669
+ :api_destination_state,
1670
+ :connection_arn,
1671
+ :invocation_endpoint,
1672
+ :http_method,
1673
+ :invocation_rate_limit_per_second,
1674
+ :creation_time,
1675
+ :last_modified_time)
1676
+ SENSITIVE = []
1677
+ include Aws::Structure
1678
+ end
1679
+
633
1680
  # @note When making an API call, you may pass DescribeArchiveRequest
634
1681
  # data as a hash:
635
1682
  #
@@ -711,6 +1758,88 @@ module Aws::EventBridge
711
1758
  include Aws::Structure
712
1759
  end
713
1760
 
1761
+ # @note When making an API call, you may pass DescribeConnectionRequest
1762
+ # data as a hash:
1763
+ #
1764
+ # {
1765
+ # name: "ConnectionName", # required
1766
+ # }
1767
+ #
1768
+ # @!attribute [rw] name
1769
+ # The name of the connection to retrieve.
1770
+ # @return [String]
1771
+ #
1772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeConnectionRequest AWS API Documentation
1773
+ #
1774
+ class DescribeConnectionRequest < Struct.new(
1775
+ :name)
1776
+ SENSITIVE = []
1777
+ include Aws::Structure
1778
+ end
1779
+
1780
+ # @!attribute [rw] connection_arn
1781
+ # The ARN of the connection retrieved.
1782
+ # @return [String]
1783
+ #
1784
+ # @!attribute [rw] name
1785
+ # The name of the connection retrieved.
1786
+ # @return [String]
1787
+ #
1788
+ # @!attribute [rw] description
1789
+ # The description for the connection retrieved.
1790
+ # @return [String]
1791
+ #
1792
+ # @!attribute [rw] connection_state
1793
+ # The state of the connection retrieved.
1794
+ # @return [String]
1795
+ #
1796
+ # @!attribute [rw] state_reason
1797
+ # The reason that the connection is in the current connection state.
1798
+ # @return [String]
1799
+ #
1800
+ # @!attribute [rw] authorization_type
1801
+ # The type of authorization specified for the connection.
1802
+ # @return [String]
1803
+ #
1804
+ # @!attribute [rw] secret_arn
1805
+ # The ARN of the secret created from the authorization parameters
1806
+ # specified for the connection.
1807
+ # @return [String]
1808
+ #
1809
+ # @!attribute [rw] auth_parameters
1810
+ # The parameters to use for authorization for the connection.
1811
+ # @return [Types::ConnectionAuthResponseParameters]
1812
+ #
1813
+ # @!attribute [rw] creation_time
1814
+ # A time stamp for the time that the connection was created.
1815
+ # @return [Time]
1816
+ #
1817
+ # @!attribute [rw] last_modified_time
1818
+ # A time stamp for the time that the connection was last modified.
1819
+ # @return [Time]
1820
+ #
1821
+ # @!attribute [rw] last_authorized_time
1822
+ # A time stamp for the time that the connection was last authorized.
1823
+ # @return [Time]
1824
+ #
1825
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeConnectionResponse AWS API Documentation
1826
+ #
1827
+ class DescribeConnectionResponse < Struct.new(
1828
+ :connection_arn,
1829
+ :name,
1830
+ :description,
1831
+ :connection_state,
1832
+ :state_reason,
1833
+ :authorization_type,
1834
+ :secret_arn,
1835
+ :auth_parameters,
1836
+ :creation_time,
1837
+ :last_modified_time,
1838
+ :last_authorized_time)
1839
+ SENSITIVE = []
1840
+ include Aws::Structure
1841
+ end
1842
+
714
1843
  # @note When making an API call, you may pass DescribeEventBusRequest
715
1844
  # data as a hash:
716
1845
  #
@@ -1257,7 +2386,9 @@ module Aws::EventBridge
1257
2386
  end
1258
2387
 
1259
2388
  # These are custom parameter to be used when the target is an API
1260
- # Gateway REST APIs.
2389
+ # Gateway REST APIs or EventBridge ApiDestinations. In the latter case,
2390
+ # these are merged with any InvocationParameters specified on the
2391
+ # Connection, with any values from the Connection taking precedence.
1261
2392
  #
1262
2393
  # @note When making an API call, you may pass HttpParameters
1263
2394
  # data as a hash:
@@ -1274,17 +2405,17 @@ module Aws::EventBridge
1274
2405
  #
1275
2406
  # @!attribute [rw] path_parameter_values
1276
2407
  # The path parameter values to be used to populate API Gateway REST
1277
- # API path wildcards ("*").
2408
+ # API or EventBridge ApiDestination path wildcards ("*").
1278
2409
  # @return [Array<String>]
1279
2410
  #
1280
2411
  # @!attribute [rw] header_parameters
1281
2412
  # The headers that need to be sent as part of request invoking the API
1282
- # Gateway REST API.
2413
+ # Gateway REST API or EventBridge ApiDestination.
1283
2414
  # @return [Hash<String,String>]
1284
2415
  #
1285
2416
  # @!attribute [rw] query_string_parameters
1286
2417
  # The query string keys/values that need to be sent as part of request
1287
- # invoking the API Gateway REST API.
2418
+ # invoking the API Gateway REST API or EventBridge ApiDestination.
1288
2419
  # @return [Hash<String,String>]
1289
2420
  #
1290
2421
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/HttpParameters AWS API Documentation
@@ -1323,7 +2454,7 @@ module Aws::EventBridge
1323
2454
  # output you want to be sent to the target.
1324
2455
  #
1325
2456
  # `InputPathsMap` is an array key-value pairs, where each value is a
1326
- # valid JSON path. You can have as many as 10 key-value pairs. You
2457
+ # valid JSON path. You can have as many as 100 key-value pairs. You
1327
2458
  # must use JSON dot notation, not bracket notation.
1328
2459
  #
1329
2460
  # The keys cannot start with "AWS."
@@ -1340,7 +2471,7 @@ module Aws::EventBridge
1340
2471
  #
1341
2472
  # * The placeholder cannot be used as an object key.
1342
2473
  #
1343
- # * Object values cannot include quote marks.
2474
+ # ^
1344
2475
  #
1345
2476
  # The following example shows the syntax for using `InputPathsMap` and
1346
2477
  # `InputTemplate`.
@@ -1370,6 +2501,21 @@ module Aws::EventBridge
1370
2501
  # `"InputTemplate": "<instance> is in state "<status>""`
1371
2502
  #
1372
2503
  # `\}`
2504
+ #
2505
+ # The `InputTemplate` can also be valid JSON with varibles in quotes
2506
+ # or out, as in the following example:
2507
+ #
2508
+ # ` "InputTransformer":`
2509
+ #
2510
+ # `\{`
2511
+ #
2512
+ # `"InputPathsMap": \{"instance": "$.detail.instance","status":
2513
+ # "$.detail.status"\},`
2514
+ #
2515
+ # `"InputTemplate": '\{"myInstance": <instance>,"myStatus":
2516
+ # "<instance> is in state "<status>""\}'`
2517
+ #
2518
+ # `\}`
1373
2519
  # @return [String]
1374
2520
  #
1375
2521
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/InputTransformer AWS API Documentation
@@ -1437,6 +2583,64 @@ module Aws::EventBridge
1437
2583
  #
1438
2584
  class LimitExceededException < Aws::EmptyStructure; end
1439
2585
 
2586
+ # @note When making an API call, you may pass ListApiDestinationsRequest
2587
+ # data as a hash:
2588
+ #
2589
+ # {
2590
+ # name_prefix: "ApiDestinationName",
2591
+ # connection_arn: "ConnectionArn",
2592
+ # next_token: "NextToken",
2593
+ # limit: 1,
2594
+ # }
2595
+ #
2596
+ # @!attribute [rw] name_prefix
2597
+ # A name prefix to filter results returned. Only API destinations with
2598
+ # a name that starts with the prefix are returned.
2599
+ # @return [String]
2600
+ #
2601
+ # @!attribute [rw] connection_arn
2602
+ # The ARN of the connection specified for the API destination.
2603
+ # @return [String]
2604
+ #
2605
+ # @!attribute [rw] next_token
2606
+ # The token returned by a previous call to retrieve the next set of
2607
+ # results.
2608
+ # @return [String]
2609
+ #
2610
+ # @!attribute [rw] limit
2611
+ # The maximum number of API destinations to include in the response.
2612
+ # @return [Integer]
2613
+ #
2614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListApiDestinationsRequest AWS API Documentation
2615
+ #
2616
+ class ListApiDestinationsRequest < Struct.new(
2617
+ :name_prefix,
2618
+ :connection_arn,
2619
+ :next_token,
2620
+ :limit)
2621
+ SENSITIVE = []
2622
+ include Aws::Structure
2623
+ end
2624
+
2625
+ # @!attribute [rw] api_destinations
2626
+ # An array of `ApiDestination` objects that include information about
2627
+ # an API destination.
2628
+ # @return [Array<Types::ApiDestination>]
2629
+ #
2630
+ # @!attribute [rw] next_token
2631
+ # A token you can use in a subsequent request to retrieve the next set
2632
+ # of results.
2633
+ # @return [String]
2634
+ #
2635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListApiDestinationsResponse AWS API Documentation
2636
+ #
2637
+ class ListApiDestinationsResponse < Struct.new(
2638
+ :api_destinations,
2639
+ :next_token)
2640
+ SENSITIVE = []
2641
+ include Aws::Structure
2642
+ end
2643
+
1440
2644
  # @note When making an API call, you may pass ListArchivesRequest
1441
2645
  # data as a hash:
1442
2646
  #
@@ -1500,6 +2704,64 @@ module Aws::EventBridge
1500
2704
  include Aws::Structure
1501
2705
  end
1502
2706
 
2707
+ # @note When making an API call, you may pass ListConnectionsRequest
2708
+ # data as a hash:
2709
+ #
2710
+ # {
2711
+ # name_prefix: "ConnectionName",
2712
+ # connection_state: "CREATING", # accepts CREATING, UPDATING, DELETING, AUTHORIZED, DEAUTHORIZED, AUTHORIZING, DEAUTHORIZING
2713
+ # next_token: "NextToken",
2714
+ # limit: 1,
2715
+ # }
2716
+ #
2717
+ # @!attribute [rw] name_prefix
2718
+ # A name prefix to filter results returned. Only connections with a
2719
+ # name that starts with the prefix are returned.
2720
+ # @return [String]
2721
+ #
2722
+ # @!attribute [rw] connection_state
2723
+ # The state of the connection.
2724
+ # @return [String]
2725
+ #
2726
+ # @!attribute [rw] next_token
2727
+ # The token returned by a previous call to retrieve the next set of
2728
+ # results.
2729
+ # @return [String]
2730
+ #
2731
+ # @!attribute [rw] limit
2732
+ # The maximum number of connections to return.
2733
+ # @return [Integer]
2734
+ #
2735
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListConnectionsRequest AWS API Documentation
2736
+ #
2737
+ class ListConnectionsRequest < Struct.new(
2738
+ :name_prefix,
2739
+ :connection_state,
2740
+ :next_token,
2741
+ :limit)
2742
+ SENSITIVE = []
2743
+ include Aws::Structure
2744
+ end
2745
+
2746
+ # @!attribute [rw] connections
2747
+ # An array of connections objects that include details about the
2748
+ # connections.
2749
+ # @return [Array<Types::Connection>]
2750
+ #
2751
+ # @!attribute [rw] next_token
2752
+ # A token you can use in a subsequent request to retrieve the next set
2753
+ # of results.
2754
+ # @return [String]
2755
+ #
2756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListConnectionsResponse AWS API Documentation
2757
+ #
2758
+ class ListConnectionsResponse < Struct.new(
2759
+ :connections,
2760
+ :next_token)
2761
+ SENSITIVE = []
2762
+ include Aws::Structure
2763
+ end
2764
+
1503
2765
  # @note When making an API call, you may pass ListEventBusesRequest
1504
2766
  # data as a hash:
1505
2767
  #
@@ -2101,6 +3363,7 @@ module Aws::EventBridge
2101
3363
  # detail_type: "String",
2102
3364
  # detail: "String",
2103
3365
  # event_bus_name: "NonPartnerEventBusNameOrArn",
3366
+ # trace_header: "TraceHeader",
2104
3367
  # },
2105
3368
  # ],
2106
3369
  # }
@@ -2131,6 +3394,7 @@ module Aws::EventBridge
2131
3394
  # detail_type: "String",
2132
3395
  # detail: "String",
2133
3396
  # event_bus_name: "NonPartnerEventBusNameOrArn",
3397
+ # trace_header: "TraceHeader",
2134
3398
  # }
2135
3399
  #
2136
3400
  # @!attribute [rw] time
@@ -2168,6 +3432,18 @@ module Aws::EventBridge
2168
3432
  # event. If you omit this, the default event bus is used.
2169
3433
  # @return [String]
2170
3434
  #
3435
+ # @!attribute [rw] trace_header
3436
+ # An AWS X-Ray trade header, which is an http header (X-Amzn-Trace-Id)
3437
+ # that contains the trace-id associated with the event.
3438
+ #
3439
+ # To learn more about X-Ray trace headers, see [Tracing header][1] in
3440
+ # the AWS X-Ray Developer Guide.
3441
+ #
3442
+ #
3443
+ #
3444
+ # [1]: https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader
3445
+ # @return [String]
3446
+ #
2171
3447
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutEventsRequestEntry AWS API Documentation
2172
3448
  #
2173
3449
  class PutEventsRequestEntry < Struct.new(
@@ -2176,7 +3452,8 @@ module Aws::EventBridge
2176
3452
  :resources,
2177
3453
  :detail_type,
2178
3454
  :detail,
2179
- :event_bus_name)
3455
+ :event_bus_name,
3456
+ :trace_header)
2180
3457
  SENSITIVE = []
2181
3458
  include Aws::Structure
2182
3459
  end
@@ -2588,6 +3865,14 @@ module Aws::EventBridge
2588
3865
  # statement_name: "StatementName",
2589
3866
  # with_event: false,
2590
3867
  # },
3868
+ # sage_maker_pipeline_parameters: {
3869
+ # pipeline_parameter_list: [
3870
+ # {
3871
+ # name: "SageMakerPipelineParameterName", # required
3872
+ # value: "SageMakerPipelineParameterValue", # required
3873
+ # },
3874
+ # ],
3875
+ # },
2591
3876
  # dead_letter_config: {
2592
3877
  # arn: "ResourceArn",
2593
3878
  # },
@@ -3096,6 +4381,64 @@ module Aws::EventBridge
3096
4381
  include Aws::Structure
3097
4382
  end
3098
4383
 
4384
+ # Name/Value pair of a parameter to start execution of a SageMaker Model
4385
+ # Building Pipeline.
4386
+ #
4387
+ # @note When making an API call, you may pass SageMakerPipelineParameter
4388
+ # data as a hash:
4389
+ #
4390
+ # {
4391
+ # name: "SageMakerPipelineParameterName", # required
4392
+ # value: "SageMakerPipelineParameterValue", # required
4393
+ # }
4394
+ #
4395
+ # @!attribute [rw] name
4396
+ # Name of parameter to start execution of a SageMaker Model Building
4397
+ # Pipeline.
4398
+ # @return [String]
4399
+ #
4400
+ # @!attribute [rw] value
4401
+ # Value of parameter to start execution of a SageMaker Model Building
4402
+ # Pipeline.
4403
+ # @return [String]
4404
+ #
4405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/SageMakerPipelineParameter AWS API Documentation
4406
+ #
4407
+ class SageMakerPipelineParameter < Struct.new(
4408
+ :name,
4409
+ :value)
4410
+ SENSITIVE = []
4411
+ include Aws::Structure
4412
+ end
4413
+
4414
+ # These are custom parameters to use when the target is a SageMaker
4415
+ # Model Building Pipeline that starts based on EventBridge events.
4416
+ #
4417
+ # @note When making an API call, you may pass SageMakerPipelineParameters
4418
+ # data as a hash:
4419
+ #
4420
+ # {
4421
+ # pipeline_parameter_list: [
4422
+ # {
4423
+ # name: "SageMakerPipelineParameterName", # required
4424
+ # value: "SageMakerPipelineParameterValue", # required
4425
+ # },
4426
+ # ],
4427
+ # }
4428
+ #
4429
+ # @!attribute [rw] pipeline_parameter_list
4430
+ # List of Parameter names and values for SageMaker Model Building
4431
+ # Pipeline execution.
4432
+ # @return [Array<Types::SageMakerPipelineParameter>]
4433
+ #
4434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/SageMakerPipelineParameters AWS API Documentation
4435
+ #
4436
+ class SageMakerPipelineParameters < Struct.new(
4437
+ :pipeline_parameter_list)
4438
+ SENSITIVE = []
4439
+ include Aws::Structure
4440
+ end
4441
+
3099
4442
  # This structure includes the custom parameter to be used when the
3100
4443
  # target is an SQS FIFO queue.
3101
4444
  #
@@ -3350,6 +4693,14 @@ module Aws::EventBridge
3350
4693
  # statement_name: "StatementName",
3351
4694
  # with_event: false,
3352
4695
  # },
4696
+ # sage_maker_pipeline_parameters: {
4697
+ # pipeline_parameter_list: [
4698
+ # {
4699
+ # name: "SageMakerPipelineParameterName", # required
4700
+ # value: "SageMakerPipelineParameterValue", # required
4701
+ # },
4702
+ # ],
4703
+ # },
3353
4704
  # dead_letter_config: {
3354
4705
  # arn: "ResourceArn",
3355
4706
  # },
@@ -3443,11 +4794,15 @@ module Aws::EventBridge
3443
4794
  #
3444
4795
  # @!attribute [rw] http_parameters
3445
4796
  # Contains the HTTP parameters to use when the target is a API Gateway
3446
- # REST endpoint.
3447
- #
3448
- # If you specify an API Gateway REST API as a target, you can use this
3449
- # parameter to specify headers, path parameter, query string
3450
- # keys/values as part of your target invoking request.
4797
+ # REST endpoint or EventBridge ApiDestination.
4798
+ #
4799
+ # If you specify an API Gateway REST API or EventBridge ApiDestination
4800
+ # as a target, you can use this parameter to specify headers, path
4801
+ # parameters, and query string keys/values as part of your target
4802
+ # invoking request. If you're using ApiDestinations, the
4803
+ # corresponding Connection can also have these values configured. In
4804
+ # case of any conflicting keys, values from the Connection take
4805
+ # precedence.
3451
4806
  # @return [Types::HttpParameters]
3452
4807
  #
3453
4808
  # @!attribute [rw] redshift_data_parameters
@@ -3459,6 +4814,15 @@ module Aws::EventBridge
3459
4814
  # based on EventBridge events.
3460
4815
  # @return [Types::RedshiftDataParameters]
3461
4816
  #
4817
+ # @!attribute [rw] sage_maker_pipeline_parameters
4818
+ # Contains the SageMaker Model Building Pipeline parameters to start
4819
+ # execution of a SageMaker Model Building Pipeline.
4820
+ #
4821
+ # If you specify a SageMaker Model Building Pipeline as a target, you
4822
+ # can use this to specify parameters to start a pipeline execution
4823
+ # based on EventBridge events.
4824
+ # @return [Types::SageMakerPipelineParameters]
4825
+ #
3462
4826
  # @!attribute [rw] dead_letter_config
3463
4827
  # The `DeadLetterConfig` that defines the target queue to send
3464
4828
  # dead-letter queue events to.
@@ -3485,6 +4849,7 @@ module Aws::EventBridge
3485
4849
  :sqs_parameters,
3486
4850
  :http_parameters,
3487
4851
  :redshift_data_parameters,
4852
+ :sage_maker_pipeline_parameters,
3488
4853
  :dead_letter_config,
3489
4854
  :retry_policy)
3490
4855
  SENSITIVE = []
@@ -3509,7 +4874,27 @@ module Aws::EventBridge
3509
4874
  # @return [String]
3510
4875
  #
3511
4876
  # @!attribute [rw] event
3512
- # The event, in JSON format, to test against the event pattern.
4877
+ # The event, in JSON format, to test against the event pattern. The
4878
+ # JSON must follow the format specified in [AWS Events][1], and the
4879
+ # following fields are mandatory:
4880
+ #
4881
+ # * `id`
4882
+ #
4883
+ # * `account`
4884
+ #
4885
+ # * `source`
4886
+ #
4887
+ # * `time`
4888
+ #
4889
+ # * `region`
4890
+ #
4891
+ # * `resources`
4892
+ #
4893
+ # * `detail-type`
4894
+ #
4895
+ #
4896
+ #
4897
+ # [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html
3513
4898
  # @return [String]
3514
4899
  #
3515
4900
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/TestEventPatternRequest AWS API Documentation
@@ -3563,6 +4948,84 @@ module Aws::EventBridge
3563
4948
  #
3564
4949
  class UntagResourceResponse < Aws::EmptyStructure; end
3565
4950
 
4951
+ # @note When making an API call, you may pass UpdateApiDestinationRequest
4952
+ # data as a hash:
4953
+ #
4954
+ # {
4955
+ # name: "ApiDestinationName", # required
4956
+ # description: "ApiDestinationDescription",
4957
+ # connection_arn: "ConnectionArn",
4958
+ # invocation_endpoint: "HttpsEndpoint",
4959
+ # http_method: "POST", # accepts POST, GET, HEAD, OPTIONS, PUT, PATCH, DELETE
4960
+ # invocation_rate_limit_per_second: 1,
4961
+ # }
4962
+ #
4963
+ # @!attribute [rw] name
4964
+ # The name of the API destination to update.
4965
+ # @return [String]
4966
+ #
4967
+ # @!attribute [rw] description
4968
+ # The name of the API destination to update.
4969
+ # @return [String]
4970
+ #
4971
+ # @!attribute [rw] connection_arn
4972
+ # The ARN of the connection to use for the API destination.
4973
+ # @return [String]
4974
+ #
4975
+ # @!attribute [rw] invocation_endpoint
4976
+ # The URL to the endpoint to use for the API destination.
4977
+ # @return [String]
4978
+ #
4979
+ # @!attribute [rw] http_method
4980
+ # The method to use for the API destination.
4981
+ # @return [String]
4982
+ #
4983
+ # @!attribute [rw] invocation_rate_limit_per_second
4984
+ # The maximum number of invocations per second to send to the API
4985
+ # destination.
4986
+ # @return [Integer]
4987
+ #
4988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateApiDestinationRequest AWS API Documentation
4989
+ #
4990
+ class UpdateApiDestinationRequest < Struct.new(
4991
+ :name,
4992
+ :description,
4993
+ :connection_arn,
4994
+ :invocation_endpoint,
4995
+ :http_method,
4996
+ :invocation_rate_limit_per_second)
4997
+ SENSITIVE = []
4998
+ include Aws::Structure
4999
+ end
5000
+
5001
+ # @!attribute [rw] api_destination_arn
5002
+ # The ARN of the API destination that was updated.
5003
+ # @return [String]
5004
+ #
5005
+ # @!attribute [rw] api_destination_state
5006
+ # The state of the API destination that was updated.
5007
+ # @return [String]
5008
+ #
5009
+ # @!attribute [rw] creation_time
5010
+ # A time stamp for the time that the API destination was created.
5011
+ # @return [Time]
5012
+ #
5013
+ # @!attribute [rw] last_modified_time
5014
+ # A time stamp for the time that the API destination was last
5015
+ # modified.
5016
+ # @return [Time]
5017
+ #
5018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateApiDestinationResponse AWS API Documentation
5019
+ #
5020
+ class UpdateApiDestinationResponse < Struct.new(
5021
+ :api_destination_arn,
5022
+ :api_destination_state,
5023
+ :creation_time,
5024
+ :last_modified_time)
5025
+ SENSITIVE = []
5026
+ include Aws::Structure
5027
+ end
5028
+
3566
5029
  # @note When making an API call, you may pass UpdateArchiveRequest
3567
5030
  # data as a hash:
3568
5031
  #
@@ -3627,5 +5090,390 @@ module Aws::EventBridge
3627
5090
  include Aws::Structure
3628
5091
  end
3629
5092
 
5093
+ # Contains the API key authorization parameters to use to update the
5094
+ # connection.
5095
+ #
5096
+ # @note When making an API call, you may pass UpdateConnectionApiKeyAuthRequestParameters
5097
+ # data as a hash:
5098
+ #
5099
+ # {
5100
+ # api_key_name: "AuthHeaderParameters",
5101
+ # api_key_value: "AuthHeaderParameters",
5102
+ # }
5103
+ #
5104
+ # @!attribute [rw] api_key_name
5105
+ # The name of the API key to use for authorization.
5106
+ # @return [String]
5107
+ #
5108
+ # @!attribute [rw] api_key_value
5109
+ # The value associated with teh API key to use for authorization.
5110
+ # @return [String]
5111
+ #
5112
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateConnectionApiKeyAuthRequestParameters AWS API Documentation
5113
+ #
5114
+ class UpdateConnectionApiKeyAuthRequestParameters < Struct.new(
5115
+ :api_key_name,
5116
+ :api_key_value)
5117
+ SENSITIVE = []
5118
+ include Aws::Structure
5119
+ end
5120
+
5121
+ # Contains the additional parameters to use for the connection.
5122
+ #
5123
+ # @note When making an API call, you may pass UpdateConnectionAuthRequestParameters
5124
+ # data as a hash:
5125
+ #
5126
+ # {
5127
+ # basic_auth_parameters: {
5128
+ # username: "AuthHeaderParameters",
5129
+ # password: "AuthHeaderParameters",
5130
+ # },
5131
+ # o_auth_parameters: {
5132
+ # client_parameters: {
5133
+ # client_id: "AuthHeaderParameters",
5134
+ # client_secret: "AuthHeaderParameters",
5135
+ # },
5136
+ # authorization_endpoint: "HttpsEndpoint",
5137
+ # http_method: "GET", # accepts GET, POST, PUT
5138
+ # o_auth_http_parameters: {
5139
+ # header_parameters: [
5140
+ # {
5141
+ # key: "HeaderKey",
5142
+ # value: "HeaderValue",
5143
+ # is_value_secret: false,
5144
+ # },
5145
+ # ],
5146
+ # query_string_parameters: [
5147
+ # {
5148
+ # key: "QueryStringKey",
5149
+ # value: "QueryStringValue",
5150
+ # is_value_secret: false,
5151
+ # },
5152
+ # ],
5153
+ # body_parameters: [
5154
+ # {
5155
+ # key: "String",
5156
+ # value: "String",
5157
+ # is_value_secret: false,
5158
+ # },
5159
+ # ],
5160
+ # },
5161
+ # },
5162
+ # api_key_auth_parameters: {
5163
+ # api_key_name: "AuthHeaderParameters",
5164
+ # api_key_value: "AuthHeaderParameters",
5165
+ # },
5166
+ # invocation_http_parameters: {
5167
+ # header_parameters: [
5168
+ # {
5169
+ # key: "HeaderKey",
5170
+ # value: "HeaderValue",
5171
+ # is_value_secret: false,
5172
+ # },
5173
+ # ],
5174
+ # query_string_parameters: [
5175
+ # {
5176
+ # key: "QueryStringKey",
5177
+ # value: "QueryStringValue",
5178
+ # is_value_secret: false,
5179
+ # },
5180
+ # ],
5181
+ # body_parameters: [
5182
+ # {
5183
+ # key: "String",
5184
+ # value: "String",
5185
+ # is_value_secret: false,
5186
+ # },
5187
+ # ],
5188
+ # },
5189
+ # }
5190
+ #
5191
+ # @!attribute [rw] basic_auth_parameters
5192
+ # A `UpdateConnectionBasicAuthRequestParameters` object that contains
5193
+ # the authorization parameters for Basic authorization.
5194
+ # @return [Types::UpdateConnectionBasicAuthRequestParameters]
5195
+ #
5196
+ # @!attribute [rw] o_auth_parameters
5197
+ # A `UpdateConnectionOAuthRequestParameters` object that contains the
5198
+ # authorization parameters for OAuth authorization.
5199
+ # @return [Types::UpdateConnectionOAuthRequestParameters]
5200
+ #
5201
+ # @!attribute [rw] api_key_auth_parameters
5202
+ # A `UpdateConnectionApiKeyAuthRequestParameters` object that contains
5203
+ # the authorization parameters for API key authorization.
5204
+ # @return [Types::UpdateConnectionApiKeyAuthRequestParameters]
5205
+ #
5206
+ # @!attribute [rw] invocation_http_parameters
5207
+ # A `ConnectionHttpParameters` object that contains the additional
5208
+ # parameters to use for the connection.
5209
+ # @return [Types::ConnectionHttpParameters]
5210
+ #
5211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateConnectionAuthRequestParameters AWS API Documentation
5212
+ #
5213
+ class UpdateConnectionAuthRequestParameters < Struct.new(
5214
+ :basic_auth_parameters,
5215
+ :o_auth_parameters,
5216
+ :api_key_auth_parameters,
5217
+ :invocation_http_parameters)
5218
+ SENSITIVE = []
5219
+ include Aws::Structure
5220
+ end
5221
+
5222
+ # Contains the Basic authorization parameters for the connection.
5223
+ #
5224
+ # @note When making an API call, you may pass UpdateConnectionBasicAuthRequestParameters
5225
+ # data as a hash:
5226
+ #
5227
+ # {
5228
+ # username: "AuthHeaderParameters",
5229
+ # password: "AuthHeaderParameters",
5230
+ # }
5231
+ #
5232
+ # @!attribute [rw] username
5233
+ # The user name to use for Basic authorization.
5234
+ # @return [String]
5235
+ #
5236
+ # @!attribute [rw] password
5237
+ # The password associated with the user name to use for Basic
5238
+ # authorization.
5239
+ # @return [String]
5240
+ #
5241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateConnectionBasicAuthRequestParameters AWS API Documentation
5242
+ #
5243
+ class UpdateConnectionBasicAuthRequestParameters < Struct.new(
5244
+ :username,
5245
+ :password)
5246
+ SENSITIVE = []
5247
+ include Aws::Structure
5248
+ end
5249
+
5250
+ # Contains the OAuth authorization parameters to use for the connection.
5251
+ #
5252
+ # @note When making an API call, you may pass UpdateConnectionOAuthClientRequestParameters
5253
+ # data as a hash:
5254
+ #
5255
+ # {
5256
+ # client_id: "AuthHeaderParameters",
5257
+ # client_secret: "AuthHeaderParameters",
5258
+ # }
5259
+ #
5260
+ # @!attribute [rw] client_id
5261
+ # The client ID to use for OAuth authorization.
5262
+ # @return [String]
5263
+ #
5264
+ # @!attribute [rw] client_secret
5265
+ # The client secret assciated with the client ID to use for OAuth
5266
+ # authorization.
5267
+ # @return [String]
5268
+ #
5269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateConnectionOAuthClientRequestParameters AWS API Documentation
5270
+ #
5271
+ class UpdateConnectionOAuthClientRequestParameters < Struct.new(
5272
+ :client_id,
5273
+ :client_secret)
5274
+ SENSITIVE = []
5275
+ include Aws::Structure
5276
+ end
5277
+
5278
+ # Contains the OAuth request parameters to use for the connection.
5279
+ #
5280
+ # @note When making an API call, you may pass UpdateConnectionOAuthRequestParameters
5281
+ # data as a hash:
5282
+ #
5283
+ # {
5284
+ # client_parameters: {
5285
+ # client_id: "AuthHeaderParameters",
5286
+ # client_secret: "AuthHeaderParameters",
5287
+ # },
5288
+ # authorization_endpoint: "HttpsEndpoint",
5289
+ # http_method: "GET", # accepts GET, POST, PUT
5290
+ # o_auth_http_parameters: {
5291
+ # header_parameters: [
5292
+ # {
5293
+ # key: "HeaderKey",
5294
+ # value: "HeaderValue",
5295
+ # is_value_secret: false,
5296
+ # },
5297
+ # ],
5298
+ # query_string_parameters: [
5299
+ # {
5300
+ # key: "QueryStringKey",
5301
+ # value: "QueryStringValue",
5302
+ # is_value_secret: false,
5303
+ # },
5304
+ # ],
5305
+ # body_parameters: [
5306
+ # {
5307
+ # key: "String",
5308
+ # value: "String",
5309
+ # is_value_secret: false,
5310
+ # },
5311
+ # ],
5312
+ # },
5313
+ # }
5314
+ #
5315
+ # @!attribute [rw] client_parameters
5316
+ # A `UpdateConnectionOAuthClientRequestParameters` object that
5317
+ # contains the client parameters to use for the connection when OAuth
5318
+ # is specified as the authorization type.
5319
+ # @return [Types::UpdateConnectionOAuthClientRequestParameters]
5320
+ #
5321
+ # @!attribute [rw] authorization_endpoint
5322
+ # The URL to the authorization endpoint when OAuth is specified as the
5323
+ # authorization type.
5324
+ # @return [String]
5325
+ #
5326
+ # @!attribute [rw] http_method
5327
+ # The method used to connect to the HTTP endpoint.
5328
+ # @return [String]
5329
+ #
5330
+ # @!attribute [rw] o_auth_http_parameters
5331
+ # The additional HTTP parameters used for the OAuth authorization
5332
+ # request.
5333
+ # @return [Types::ConnectionHttpParameters]
5334
+ #
5335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateConnectionOAuthRequestParameters AWS API Documentation
5336
+ #
5337
+ class UpdateConnectionOAuthRequestParameters < Struct.new(
5338
+ :client_parameters,
5339
+ :authorization_endpoint,
5340
+ :http_method,
5341
+ :o_auth_http_parameters)
5342
+ SENSITIVE = []
5343
+ include Aws::Structure
5344
+ end
5345
+
5346
+ # @note When making an API call, you may pass UpdateConnectionRequest
5347
+ # data as a hash:
5348
+ #
5349
+ # {
5350
+ # name: "ConnectionName", # required
5351
+ # description: "ConnectionDescription",
5352
+ # authorization_type: "BASIC", # accepts BASIC, OAUTH_CLIENT_CREDENTIALS, API_KEY
5353
+ # auth_parameters: {
5354
+ # basic_auth_parameters: {
5355
+ # username: "AuthHeaderParameters",
5356
+ # password: "AuthHeaderParameters",
5357
+ # },
5358
+ # o_auth_parameters: {
5359
+ # client_parameters: {
5360
+ # client_id: "AuthHeaderParameters",
5361
+ # client_secret: "AuthHeaderParameters",
5362
+ # },
5363
+ # authorization_endpoint: "HttpsEndpoint",
5364
+ # http_method: "GET", # accepts GET, POST, PUT
5365
+ # o_auth_http_parameters: {
5366
+ # header_parameters: [
5367
+ # {
5368
+ # key: "HeaderKey",
5369
+ # value: "HeaderValue",
5370
+ # is_value_secret: false,
5371
+ # },
5372
+ # ],
5373
+ # query_string_parameters: [
5374
+ # {
5375
+ # key: "QueryStringKey",
5376
+ # value: "QueryStringValue",
5377
+ # is_value_secret: false,
5378
+ # },
5379
+ # ],
5380
+ # body_parameters: [
5381
+ # {
5382
+ # key: "String",
5383
+ # value: "String",
5384
+ # is_value_secret: false,
5385
+ # },
5386
+ # ],
5387
+ # },
5388
+ # },
5389
+ # api_key_auth_parameters: {
5390
+ # api_key_name: "AuthHeaderParameters",
5391
+ # api_key_value: "AuthHeaderParameters",
5392
+ # },
5393
+ # invocation_http_parameters: {
5394
+ # header_parameters: [
5395
+ # {
5396
+ # key: "HeaderKey",
5397
+ # value: "HeaderValue",
5398
+ # is_value_secret: false,
5399
+ # },
5400
+ # ],
5401
+ # query_string_parameters: [
5402
+ # {
5403
+ # key: "QueryStringKey",
5404
+ # value: "QueryStringValue",
5405
+ # is_value_secret: false,
5406
+ # },
5407
+ # ],
5408
+ # body_parameters: [
5409
+ # {
5410
+ # key: "String",
5411
+ # value: "String",
5412
+ # is_value_secret: false,
5413
+ # },
5414
+ # ],
5415
+ # },
5416
+ # },
5417
+ # }
5418
+ #
5419
+ # @!attribute [rw] name
5420
+ # The name of the connection to update.
5421
+ # @return [String]
5422
+ #
5423
+ # @!attribute [rw] description
5424
+ # A description for the connection.
5425
+ # @return [String]
5426
+ #
5427
+ # @!attribute [rw] authorization_type
5428
+ # The type of authorization to use for the connection.
5429
+ # @return [String]
5430
+ #
5431
+ # @!attribute [rw] auth_parameters
5432
+ # The authorization parameters to use for the connection.
5433
+ # @return [Types::UpdateConnectionAuthRequestParameters]
5434
+ #
5435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateConnectionRequest AWS API Documentation
5436
+ #
5437
+ class UpdateConnectionRequest < Struct.new(
5438
+ :name,
5439
+ :description,
5440
+ :authorization_type,
5441
+ :auth_parameters)
5442
+ SENSITIVE = []
5443
+ include Aws::Structure
5444
+ end
5445
+
5446
+ # @!attribute [rw] connection_arn
5447
+ # The ARN of the connection that was updated.
5448
+ # @return [String]
5449
+ #
5450
+ # @!attribute [rw] connection_state
5451
+ # The state of the connection that was updated.
5452
+ # @return [String]
5453
+ #
5454
+ # @!attribute [rw] creation_time
5455
+ # A time stamp for the time that the connection was created.
5456
+ # @return [Time]
5457
+ #
5458
+ # @!attribute [rw] last_modified_time
5459
+ # A time stamp for the time that the connection was last modified.
5460
+ # @return [Time]
5461
+ #
5462
+ # @!attribute [rw] last_authorized_time
5463
+ # A time stamp for the time that the connection was last authorized.
5464
+ # @return [Time]
5465
+ #
5466
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateConnectionResponse AWS API Documentation
5467
+ #
5468
+ class UpdateConnectionResponse < Struct.new(
5469
+ :connection_arn,
5470
+ :connection_state,
5471
+ :creation_time,
5472
+ :last_modified_time,
5473
+ :last_authorized_time)
5474
+ SENSITIVE = []
5475
+ include Aws::Structure
5476
+ end
5477
+
3630
5478
  end
3631
5479
  end