aws-sdk-cloudwatchevents 1.32.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a33765186d38fa8c68c7b49ae168f5fa84aa3675316fe8ae5ae8017347940d0b
4
- data.tar.gz: 39a4ff0a3ac996447d7a431ed6b12a9f6c66fced390421f9ed7fd357ec6940e4
3
+ metadata.gz: 985dd90323a56f1acc230702b1f7e191e4ba2fb19d2762281c4150c2d977c4ab
4
+ data.tar.gz: 27f8d14feafd3ae41067c21a4d1033cd1bd729dcd94d5745f126185dd4083434
5
5
  SHA512:
6
- metadata.gz: a5ac10bfe8f3e3d4372de8f997e13b727ba5d878af699dc25f9c341e4515734460dfc3e5cb5bdcdbfa99f5d3795c647f51737a44ad63713410314f4059e29122
7
- data.tar.gz: a2c4551f06e0a143747186f5380c5bdbee09ab0fd4414007850866b380de41f99bdb6644d50921842015d740168e7c401489fa10eea51ea9882671aaf5a69774
6
+ metadata.gz: 2948fdafdee0f980aedae99db345e28aa37075fe1232ebf7b10fe891533664e62c897805ef585f33613a2db87198c9423e4e55889539279c0dc7280d8b903895
7
+ data.tar.gz: 884a3813d6d5c1fee47540c77b41b469e72f016c59586f9a1a4614e4273bca64a97fafb70501dcf04dcf4a755e4980d698431874bb52e56e451ef0ef40e527f0
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
47
47
  # @service
48
48
  module Aws::CloudWatchEvents
49
49
 
50
- GEM_VERSION = '1.32.0'
50
+ GEM_VERSION = '1.33.0'
51
51
 
52
52
  end
@@ -1210,6 +1210,12 @@ module Aws::CloudWatchEvents
1210
1210
  # resp.targets[0].batch_parameters.array_properties.size #=> Integer
1211
1211
  # resp.targets[0].batch_parameters.retry_strategy.attempts #=> Integer
1212
1212
  # resp.targets[0].sqs_parameters.message_group_id #=> String
1213
+ # resp.targets[0].http_parameters.path_parameter_values #=> Array
1214
+ # resp.targets[0].http_parameters.path_parameter_values[0] #=> String
1215
+ # resp.targets[0].http_parameters.header_parameters #=> Hash
1216
+ # resp.targets[0].http_parameters.header_parameters["HeaderKey"] #=> String
1217
+ # resp.targets[0].http_parameters.query_string_parameters #=> Hash
1218
+ # resp.targets[0].http_parameters.query_string_parameters["QueryStringKey"] #=> String
1213
1219
  # resp.next_token #=> String
1214
1220
  #
1215
1221
  # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule AWS API Documentation
@@ -1309,9 +1315,9 @@ module Aws::CloudWatchEvents
1309
1315
  end
1310
1316
 
1311
1317
  # Running `PutPermission` permits the specified AWS account or AWS
1312
- # organization to put events to the specified *event bus*. CloudWatch
1313
- # Events rules in your account are triggered by these events arriving to
1314
- # an event bus in your account.
1318
+ # organization to put events to the specified *event bus*. Amazon
1319
+ # EventBridge (CloudWatch Events) rules in your account are triggered by
1320
+ # these events arriving to an event bus in your account.
1315
1321
  #
1316
1322
  # For another account to send events to your account, that external
1317
1323
  # account must have an EventBridge rule with your account's event bus
@@ -1574,6 +1580,8 @@ module Aws::CloudWatchEvents
1574
1580
  #
1575
1581
  # * The default event bus of another AWS account
1576
1582
  #
1583
+ # * Amazon API Gateway REST APIs
1584
+ #
1577
1585
  # Creating rules with built-in targets is supported only in the AWS
1578
1586
  # Management Console. The built-in targets are `EC2 CreateSnapshot API
1579
1587
  # call`, `EC2 RebootInstances API call`, `EC2 StopInstances API call`,
@@ -1586,13 +1594,13 @@ module Aws::CloudWatchEvents
1586
1594
  # you can use the `RunCommandParameters` field.
1587
1595
  #
1588
1596
  # To be able to make API calls against the resources that you own,
1589
- # Amazon CloudWatch Events needs the appropriate permissions. For AWS
1590
- # Lambda and Amazon SNS resources, EventBridge relies on resource-based
1591
- # policies. For EC2 instances, Kinesis data streams, and AWS Step
1592
- # Functions state machines, EventBridge relies on IAM roles that you
1593
- # specify in the `RoleARN` argument in `PutTargets`. For more
1594
- # information, see [Authentication and Access Control][1] in the *Amazon
1595
- # EventBridge User Guide*.
1597
+ # Amazon EventBridge (CloudWatch Events) needs the appropriate
1598
+ # permissions. For AWS Lambda and Amazon SNS resources, EventBridge
1599
+ # relies on resource-based policies. For EC2 instances, Kinesis data
1600
+ # streams, AWS Step Functions state machines and API Gateway REST APIs,
1601
+ # EventBridge relies on IAM roles that you specify in the `RoleARN`
1602
+ # argument in `PutTargets`. For more information, see [Authentication
1603
+ # and Access Control][1] in the *Amazon EventBridge User Guide*.
1596
1604
  #
1597
1605
  # If another AWS account is in the same region and has granted you
1598
1606
  # permission (using `PutPermission`), you can send events to that
@@ -1602,8 +1610,8 @@ module Aws::CloudWatchEvents
1602
1610
  # `PutTargets`. If your account sends events to another account, your
1603
1611
  # account is charged for each sent event. Each event sent to another
1604
1612
  # account is charged as a custom event. The account receiving the event
1605
- # is not charged. For more information, see [Amazon CloudWatch
1606
- # Pricing][2].
1613
+ # is not charged. For more information, see [Amazon EventBridge
1614
+ # (CloudWatch Events) Pricing][2].
1607
1615
  #
1608
1616
  # <note markdown="1"> `Input`, `InputPath`, and `InputTransformer` are not available with
1609
1617
  # `PutTarget` if the target is an event bus of a different AWS account.
@@ -1656,7 +1664,7 @@ module Aws::CloudWatchEvents
1656
1664
  #
1657
1665
  #
1658
1666
  # [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html
1659
- # [2]: https://aws.amazon.com/cloudwatch/pricing/
1667
+ # [2]: https://aws.amazon.com/eventbridge/pricing/
1660
1668
  # [3]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html
1661
1669
  #
1662
1670
  # @option params [required, String] :rule
@@ -1730,6 +1738,15 @@ module Aws::CloudWatchEvents
1730
1738
  # sqs_parameters: {
1731
1739
  # message_group_id: "MessageGroupId",
1732
1740
  # },
1741
+ # http_parameters: {
1742
+ # path_parameter_values: ["PathParameter"],
1743
+ # header_parameters: {
1744
+ # "HeaderKey" => "HeaderValue",
1745
+ # },
1746
+ # query_string_parameters: {
1747
+ # "QueryStringKey" => "QueryStringValue",
1748
+ # },
1749
+ # },
1733
1750
  # },
1734
1751
  # ],
1735
1752
  # })
@@ -1932,7 +1949,8 @@ module Aws::CloudWatchEvents
1932
1949
  end
1933
1950
 
1934
1951
  # Removes one or more tags from the specified EventBridge resource. In
1935
- # CloudWatch Events, rules and event buses can be tagged.
1952
+ # Amazon EventBridge (CloudWatch Events, rules and event buses can be
1953
+ # tagged.
1936
1954
  #
1937
1955
  # @option params [required, String] :resource_arn
1938
1956
  # The ARN of the EventBridge resource from which you are removing tags.
@@ -1971,7 +1989,7 @@ module Aws::CloudWatchEvents
1971
1989
  params: params,
1972
1990
  config: config)
1973
1991
  context[:gem_name] = 'aws-sdk-cloudwatchevents'
1974
- context[:gem_version] = '1.32.0'
1992
+ context[:gem_version] = '1.33.0'
1975
1993
  Seahorse::Client::Request.new(handlers, context)
1976
1994
  end
1977
1995
 
@@ -59,6 +59,10 @@ module Aws::CloudWatchEvents
59
59
  EventSourceNamePrefix = Shapes::StringShape.new(name: 'EventSourceNamePrefix')
60
60
  EventSourceState = Shapes::StringShape.new(name: 'EventSourceState')
61
61
  EventTime = Shapes::TimestampShape.new(name: 'EventTime')
62
+ HeaderKey = Shapes::StringShape.new(name: 'HeaderKey')
63
+ HeaderParametersMap = Shapes::MapShape.new(name: 'HeaderParametersMap')
64
+ HeaderValue = Shapes::StringShape.new(name: 'HeaderValue')
65
+ HttpParameters = Shapes::StructureShape.new(name: 'HttpParameters')
62
66
  InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
63
67
  InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
64
68
  Integer = Shapes::IntegerShape.new(name: 'Integer')
@@ -92,11 +96,14 @@ module Aws::CloudWatchEvents
92
96
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
93
97
  NextToken = Shapes::StringShape.new(name: 'NextToken')
94
98
  NonPartnerEventBusName = Shapes::StringShape.new(name: 'NonPartnerEventBusName')
99
+ OperationDisabledException = Shapes::StructureShape.new(name: 'OperationDisabledException')
95
100
  PartnerEventSource = Shapes::StructureShape.new(name: 'PartnerEventSource')
96
101
  PartnerEventSourceAccount = Shapes::StructureShape.new(name: 'PartnerEventSourceAccount')
97
102
  PartnerEventSourceAccountList = Shapes::ListShape.new(name: 'PartnerEventSourceAccountList')
98
103
  PartnerEventSourceList = Shapes::ListShape.new(name: 'PartnerEventSourceList')
99
104
  PartnerEventSourceNamePrefix = Shapes::StringShape.new(name: 'PartnerEventSourceNamePrefix')
105
+ PathParameter = Shapes::StringShape.new(name: 'PathParameter')
106
+ PathParameterList = Shapes::ListShape.new(name: 'PathParameterList')
100
107
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
101
108
  Principal = Shapes::StringShape.new(name: 'Principal')
102
109
  PutEventsRequest = Shapes::StructureShape.new(name: 'PutEventsRequest')
@@ -118,6 +125,9 @@ module Aws::CloudWatchEvents
118
125
  PutTargetsResponse = Shapes::StructureShape.new(name: 'PutTargetsResponse')
119
126
  PutTargetsResultEntry = Shapes::StructureShape.new(name: 'PutTargetsResultEntry')
120
127
  PutTargetsResultEntryList = Shapes::ListShape.new(name: 'PutTargetsResultEntryList')
128
+ QueryStringKey = Shapes::StringShape.new(name: 'QueryStringKey')
129
+ QueryStringParametersMap = Shapes::MapShape.new(name: 'QueryStringParametersMap')
130
+ QueryStringValue = Shapes::StringShape.new(name: 'QueryStringValue')
121
131
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
122
132
  RemoveTargetsRequest = Shapes::StructureShape.new(name: 'RemoveTargetsRequest')
123
133
  RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
@@ -300,6 +310,14 @@ module Aws::CloudWatchEvents
300
310
 
301
311
  EventSourceList.member = Shapes::ShapeRef.new(shape: EventSource)
302
312
 
313
+ HeaderParametersMap.key = Shapes::ShapeRef.new(shape: HeaderKey)
314
+ HeaderParametersMap.value = Shapes::ShapeRef.new(shape: HeaderValue)
315
+
316
+ HttpParameters.add_member(:path_parameter_values, Shapes::ShapeRef.new(shape: PathParameterList, location_name: "PathParameterValues"))
317
+ HttpParameters.add_member(:header_parameters, Shapes::ShapeRef.new(shape: HeaderParametersMap, location_name: "HeaderParameters"))
318
+ HttpParameters.add_member(:query_string_parameters, Shapes::ShapeRef.new(shape: QueryStringParametersMap, location_name: "QueryStringParameters"))
319
+ HttpParameters.struct_class = Types::HttpParameters
320
+
303
321
  InputTransformer.add_member(:input_paths_map, Shapes::ShapeRef.new(shape: TransformerPaths, location_name: "InputPathsMap"))
304
322
  InputTransformer.add_member(:input_template, Shapes::ShapeRef.new(shape: TransformerInput, required: true, location_name: "InputTemplate"))
305
323
  InputTransformer.struct_class = Types::InputTransformer
@@ -392,6 +410,8 @@ module Aws::CloudWatchEvents
392
410
  NetworkConfiguration.add_member(:awsvpc_configuration, Shapes::ShapeRef.new(shape: AwsVpcConfiguration, location_name: "awsvpcConfiguration"))
393
411
  NetworkConfiguration.struct_class = Types::NetworkConfiguration
394
412
 
413
+ OperationDisabledException.struct_class = Types::OperationDisabledException
414
+
395
415
  PartnerEventSource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
396
416
  PartnerEventSource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
397
417
  PartnerEventSource.struct_class = Types::PartnerEventSource
@@ -406,6 +426,8 @@ module Aws::CloudWatchEvents
406
426
 
407
427
  PartnerEventSourceList.member = Shapes::ShapeRef.new(shape: PartnerEventSource)
408
428
 
429
+ PathParameterList.member = Shapes::ShapeRef.new(shape: PathParameter)
430
+
409
431
  PolicyLengthExceededException.struct_class = Types::PolicyLengthExceededException
410
432
 
411
433
  PutEventsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: PutEventsRequestEntryList, required: true, location_name: "Entries"))
@@ -491,6 +513,9 @@ module Aws::CloudWatchEvents
491
513
 
492
514
  PutTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: PutTargetsResultEntry)
493
515
 
516
+ QueryStringParametersMap.key = Shapes::ShapeRef.new(shape: QueryStringKey)
517
+ QueryStringParametersMap.value = Shapes::ShapeRef.new(shape: QueryStringValue)
518
+
494
519
  RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
495
520
  RemovePermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
496
521
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
@@ -572,6 +597,7 @@ module Aws::CloudWatchEvents
572
597
  Target.add_member(:ecs_parameters, Shapes::ShapeRef.new(shape: EcsParameters, location_name: "EcsParameters"))
573
598
  Target.add_member(:batch_parameters, Shapes::ShapeRef.new(shape: BatchParameters, location_name: "BatchParameters"))
574
599
  Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
600
+ Target.add_member(:http_parameters, Shapes::ShapeRef.new(shape: HttpParameters, location_name: "HttpParameters"))
575
601
  Target.struct_class = Types::Target
576
602
 
577
603
  TargetIdList.member = Shapes::ShapeRef.new(shape: TargetId)
@@ -622,6 +648,7 @@ module Aws::CloudWatchEvents
622
648
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
623
649
  o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
624
650
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
651
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
625
652
  end)
626
653
 
627
654
  api.add_operation(:create_event_bus, Seahorse::Model::Operation.new.tap do |o|
@@ -636,6 +663,7 @@ module Aws::CloudWatchEvents
636
663
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
637
664
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
638
665
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
666
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
639
667
  end)
640
668
 
641
669
  api.add_operation(:create_partner_event_source, Seahorse::Model::Operation.new.tap do |o|
@@ -648,6 +676,7 @@ module Aws::CloudWatchEvents
648
676
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
649
677
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
650
678
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
679
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
651
680
  end)
652
681
 
653
682
  api.add_operation(:deactivate_event_source, Seahorse::Model::Operation.new.tap do |o|
@@ -660,6 +689,7 @@ module Aws::CloudWatchEvents
660
689
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
661
690
  o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
662
691
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
692
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
663
693
  end)
664
694
 
665
695
  api.add_operation(:delete_event_bus, Seahorse::Model::Operation.new.tap do |o|
@@ -680,6 +710,7 @@ module Aws::CloudWatchEvents
680
710
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
681
711
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
682
712
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
713
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
683
714
  end)
684
715
 
685
716
  api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -712,6 +743,7 @@ module Aws::CloudWatchEvents
712
743
  o.output = Shapes::ShapeRef.new(shape: DescribeEventSourceResponse)
713
744
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
714
745
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
746
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
715
747
  end)
716
748
 
717
749
  api.add_operation(:describe_partner_event_source, Seahorse::Model::Operation.new.tap do |o|
@@ -722,6 +754,7 @@ module Aws::CloudWatchEvents
722
754
  o.output = Shapes::ShapeRef.new(shape: DescribePartnerEventSourceResponse)
723
755
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
724
756
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
757
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
725
758
  end)
726
759
 
727
760
  api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -774,6 +807,7 @@ module Aws::CloudWatchEvents
774
807
  o.input = Shapes::ShapeRef.new(shape: ListEventSourcesRequest)
775
808
  o.output = Shapes::ShapeRef.new(shape: ListEventSourcesResponse)
776
809
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
810
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
777
811
  end)
778
812
 
779
813
  api.add_operation(:list_partner_event_source_accounts, Seahorse::Model::Operation.new.tap do |o|
@@ -784,6 +818,7 @@ module Aws::CloudWatchEvents
784
818
  o.output = Shapes::ShapeRef.new(shape: ListPartnerEventSourceAccountsResponse)
785
819
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
786
820
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
821
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
787
822
  end)
788
823
 
789
824
  api.add_operation(:list_partner_event_sources, Seahorse::Model::Operation.new.tap do |o|
@@ -793,6 +828,7 @@ module Aws::CloudWatchEvents
793
828
  o.input = Shapes::ShapeRef.new(shape: ListPartnerEventSourcesRequest)
794
829
  o.output = Shapes::ShapeRef.new(shape: ListPartnerEventSourcesResponse)
795
830
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
831
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
796
832
  end)
797
833
 
798
834
  api.add_operation(:list_rule_names_by_target, Seahorse::Model::Operation.new.tap do |o|
@@ -851,6 +887,7 @@ module Aws::CloudWatchEvents
851
887
  o.input = Shapes::ShapeRef.new(shape: PutPartnerEventsRequest)
852
888
  o.output = Shapes::ShapeRef.new(shape: PutPartnerEventsResponse)
853
889
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
890
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
854
891
  end)
855
892
 
856
893
  api.add_operation(:put_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -33,6 +33,7 @@ module Aws::CloudWatchEvents
33
33
  # * {InvalidStateException}
34
34
  # * {LimitExceededException}
35
35
  # * {ManagedRuleException}
36
+ # * {OperationDisabledException}
36
37
  # * {PolicyLengthExceededException}
37
38
  # * {ResourceAlreadyExistsException}
38
39
  # * {ResourceNotFoundException}
@@ -103,6 +104,16 @@ module Aws::CloudWatchEvents
103
104
  end
104
105
  end
105
106
 
107
+ class OperationDisabledException < ServiceError
108
+
109
+ # @param [Seahorse::Client::RequestContext] context
110
+ # @param [String] message
111
+ # @param [Aws::CloudWatchEvents::Types::OperationDisabledException] data
112
+ def initialize(context, message, data = Aws::EmptyStructure.new)
113
+ super(context, message, data)
114
+ end
115
+ end
116
+
106
117
  class PolicyLengthExceededException < ServiceError
107
118
 
108
119
  # @param [Seahorse::Client::RequestContext] context
@@ -866,6 +866,47 @@ module Aws::CloudWatchEvents
866
866
  include Aws::Structure
867
867
  end
868
868
 
869
+ # These are custom parameter to be used when the target is an API
870
+ # Gateway REST APIs.
871
+ #
872
+ # @note When making an API call, you may pass HttpParameters
873
+ # data as a hash:
874
+ #
875
+ # {
876
+ # path_parameter_values: ["PathParameter"],
877
+ # header_parameters: {
878
+ # "HeaderKey" => "HeaderValue",
879
+ # },
880
+ # query_string_parameters: {
881
+ # "QueryStringKey" => "QueryStringValue",
882
+ # },
883
+ # }
884
+ #
885
+ # @!attribute [rw] path_parameter_values
886
+ # The path parameter values to be used to populate API Gateway REST
887
+ # API path wildcards ("*").
888
+ # @return [Array<String>]
889
+ #
890
+ # @!attribute [rw] header_parameters
891
+ # The headers that need to be sent as part of request invoking the API
892
+ # Gateway REST API.
893
+ # @return [Hash<String,String>]
894
+ #
895
+ # @!attribute [rw] query_string_parameters
896
+ # The query string keys/values that need to be sent as part of request
897
+ # invoking the API Gateway REST API.
898
+ # @return [Hash<String,String>]
899
+ #
900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/HttpParameters AWS API Documentation
901
+ #
902
+ class HttpParameters < Struct.new(
903
+ :path_parameter_values,
904
+ :header_parameters,
905
+ :query_string_parameters)
906
+ SENSITIVE = []
907
+ include Aws::Structure
908
+ end
909
+
869
910
  # Contains the parameters needed for you to provide custom input to a
870
911
  # target based on one or more pieces of data extracted from the event.
871
912
  #
@@ -1454,6 +1495,12 @@ module Aws::CloudWatchEvents
1454
1495
  include Aws::Structure
1455
1496
  end
1456
1497
 
1498
+ # The operation you are attempting is not available in this region.
1499
+ #
1500
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/OperationDisabledException AWS API Documentation
1501
+ #
1502
+ class OperationDisabledException < Aws::EmptyStructure; end
1503
+
1457
1504
  # A partner event source is created by an SaaS partner. If a customer
1458
1505
  # creates a partner event bus that matches this event source, that AWS
1459
1506
  # account can receive events from the partner's applications or
@@ -1991,6 +2038,15 @@ module Aws::CloudWatchEvents
1991
2038
  # sqs_parameters: {
1992
2039
  # message_group_id: "MessageGroupId",
1993
2040
  # },
2041
+ # http_parameters: {
2042
+ # path_parameter_values: ["PathParameter"],
2043
+ # header_parameters: {
2044
+ # "HeaderKey" => "HeaderValue",
2045
+ # },
2046
+ # query_string_parameters: {
2047
+ # "QueryStringKey" => "QueryStringValue",
2048
+ # },
2049
+ # },
1994
2050
  # },
1995
2051
  # ],
1996
2052
  # }
@@ -2459,6 +2515,15 @@ module Aws::CloudWatchEvents
2459
2515
  # sqs_parameters: {
2460
2516
  # message_group_id: "MessageGroupId",
2461
2517
  # },
2518
+ # http_parameters: {
2519
+ # path_parameter_values: ["PathParameter"],
2520
+ # header_parameters: {
2521
+ # "HeaderKey" => "HeaderValue",
2522
+ # },
2523
+ # query_string_parameters: {
2524
+ # "QueryStringKey" => "QueryStringValue",
2525
+ # },
2526
+ # },
2462
2527
  # }
2463
2528
  #
2464
2529
  # @!attribute [rw] id
@@ -2543,6 +2608,15 @@ module Aws::CloudWatchEvents
2543
2608
  # content-based deduplication enabled.
2544
2609
  # @return [Types::SqsParameters]
2545
2610
  #
2611
+ # @!attribute [rw] http_parameters
2612
+ # Contains the HTTP parameters to use when the target is a API Gateway
2613
+ # REST endpoint.
2614
+ #
2615
+ # If you specify an API Gateway REST API as a target, you can use this
2616
+ # parameter to specify headers, path parameter, query string
2617
+ # keys/values as part of your target invoking request.
2618
+ # @return [Types::HttpParameters]
2619
+ #
2546
2620
  # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Target AWS API Documentation
2547
2621
  #
2548
2622
  class Target < Struct.new(
@@ -2556,7 +2630,8 @@ module Aws::CloudWatchEvents
2556
2630
  :run_command_parameters,
2557
2631
  :ecs_parameters,
2558
2632
  :batch_parameters,
2559
- :sqs_parameters)
2633
+ :sqs_parameters,
2634
+ :http_parameters)
2560
2635
  SENSITIVE = []
2561
2636
  include Aws::Structure
2562
2637
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchevents
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.0
4
+ version: 1.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-02 00:00:00.000000000 Z
11
+ date: 2020-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core