aws-sdk-cloudwatchevents 1.29.0 → 1.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cd81a5b6ab7355a94c7882ba6b9dfcf309e2ab0f1c884a2ea3095c2c7143eea
4
- data.tar.gz: bc40d9dc78e4fa9e8de9e046e1c631e6daa030ff0ecf0b6a43f9aa5523d324e4
3
+ metadata.gz: 1ac574d1b92bbbe43fd7bd1214ab5105a40edc9d696c4f5dde27dfd9cf7c2ecb
4
+ data.tar.gz: 2f60a852707ca3da05b0841b1264308885223a4c5bd4af632791b7aab1ce241c
5
5
  SHA512:
6
- metadata.gz: c9ef2a8fb09f0da4e73277dfd06431d1e3eb66fc7147dc21935aec0ca1b8403e2db58a0f91259714d83b11c75492c1fc1eb3e187346200b9197783b6d53999cf
7
- data.tar.gz: 92290a819e98fef8b562b8bcba0525cf025a749a27de42aeef8569f9b3f082dfbd38b09a8728aee565a0be5ecb304a69352b8fa62db3c8cf4e97db159b21ccb3
6
+ metadata.gz: faad65356382e4f8dcd425a874a59c3523c1780c4a9c563685571a2ade1c5a168d7495b2cb8810ac0113aa3ba89b2b2824db0b6af1b40479d0b5e1b15b9eecf3
7
+ data.tar.gz: d2dd34817fafe9f091bd57712362c8f9455a8c001175384b56891416e694a76d89e091d230636ac9a4aff7c0150272902dfd8b74c95432ee3d8db65ac23696e0
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::CloudWatchEvents
47
49
 
48
- GEM_VERSION = '1.29.0'
50
+ GEM_VERSION = '1.34.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::CloudWatchEvents
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -81,13 +85,28 @@ module Aws::CloudWatchEvents
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,10 +116,10 @@ module Aws::CloudWatchEvents
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
@@ -161,7 +180,7 @@ module Aws::CloudWatchEvents
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -1206,6 +1225,12 @@ module Aws::CloudWatchEvents
1206
1225
  # resp.targets[0].batch_parameters.array_properties.size #=> Integer
1207
1226
  # resp.targets[0].batch_parameters.retry_strategy.attempts #=> Integer
1208
1227
  # resp.targets[0].sqs_parameters.message_group_id #=> String
1228
+ # resp.targets[0].http_parameters.path_parameter_values #=> Array
1229
+ # resp.targets[0].http_parameters.path_parameter_values[0] #=> String
1230
+ # resp.targets[0].http_parameters.header_parameters #=> Hash
1231
+ # resp.targets[0].http_parameters.header_parameters["HeaderKey"] #=> String
1232
+ # resp.targets[0].http_parameters.query_string_parameters #=> Hash
1233
+ # resp.targets[0].http_parameters.query_string_parameters["QueryStringKey"] #=> String
1209
1234
  # resp.next_token #=> String
1210
1235
  #
1211
1236
  # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule AWS API Documentation
@@ -1305,9 +1330,9 @@ module Aws::CloudWatchEvents
1305
1330
  end
1306
1331
 
1307
1332
  # Running `PutPermission` permits the specified AWS account or AWS
1308
- # organization to put events to the specified *event bus*. CloudWatch
1309
- # Events rules in your account are triggered by these events arriving to
1310
- # an event bus in your account.
1333
+ # organization to put events to the specified *event bus*. Amazon
1334
+ # EventBridge (CloudWatch Events) rules in your account are triggered by
1335
+ # these events arriving to an event bus in your account.
1311
1336
  #
1312
1337
  # For another account to send events to your account, that external
1313
1338
  # account must have an EventBridge rule with your account's event bus
@@ -1570,6 +1595,8 @@ module Aws::CloudWatchEvents
1570
1595
  #
1571
1596
  # * The default event bus of another AWS account
1572
1597
  #
1598
+ # * Amazon API Gateway REST APIs
1599
+ #
1573
1600
  # Creating rules with built-in targets is supported only in the AWS
1574
1601
  # Management Console. The built-in targets are `EC2 CreateSnapshot API
1575
1602
  # call`, `EC2 RebootInstances API call`, `EC2 StopInstances API call`,
@@ -1582,13 +1609,13 @@ module Aws::CloudWatchEvents
1582
1609
  # you can use the `RunCommandParameters` field.
1583
1610
  #
1584
1611
  # To be able to make API calls against the resources that you own,
1585
- # Amazon CloudWatch Events needs the appropriate permissions. For AWS
1586
- # Lambda and Amazon SNS resources, EventBridge relies on resource-based
1587
- # policies. For EC2 instances, Kinesis data streams, and AWS Step
1588
- # Functions state machines, EventBridge relies on IAM roles that you
1589
- # specify in the `RoleARN` argument in `PutTargets`. For more
1590
- # information, see [Authentication and Access Control][1] in the *Amazon
1591
- # EventBridge User Guide*.
1612
+ # Amazon EventBridge (CloudWatch Events) needs the appropriate
1613
+ # permissions. For AWS Lambda and Amazon SNS resources, EventBridge
1614
+ # relies on resource-based policies. For EC2 instances, Kinesis data
1615
+ # streams, AWS Step Functions state machines and API Gateway REST APIs,
1616
+ # EventBridge relies on IAM roles that you specify in the `RoleARN`
1617
+ # argument in `PutTargets`. For more information, see [Authentication
1618
+ # and Access Control][1] in the *Amazon EventBridge User Guide*.
1592
1619
  #
1593
1620
  # If another AWS account is in the same region and has granted you
1594
1621
  # permission (using `PutPermission`), you can send events to that
@@ -1598,8 +1625,8 @@ module Aws::CloudWatchEvents
1598
1625
  # `PutTargets`. If your account sends events to another account, your
1599
1626
  # account is charged for each sent event. Each event sent to another
1600
1627
  # account is charged as a custom event. The account receiving the event
1601
- # is not charged. For more information, see [Amazon CloudWatch
1602
- # Pricing][2].
1628
+ # is not charged. For more information, see [Amazon EventBridge
1629
+ # (CloudWatch Events) Pricing][2].
1603
1630
  #
1604
1631
  # <note markdown="1"> `Input`, `InputPath`, and `InputTransformer` are not available with
1605
1632
  # `PutTarget` if the target is an event bus of a different AWS account.
@@ -1652,7 +1679,7 @@ module Aws::CloudWatchEvents
1652
1679
  #
1653
1680
  #
1654
1681
  # [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html
1655
- # [2]: https://aws.amazon.com/cloudwatch/pricing/
1682
+ # [2]: https://aws.amazon.com/eventbridge/pricing/
1656
1683
  # [3]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html
1657
1684
  #
1658
1685
  # @option params [required, String] :rule
@@ -1726,6 +1753,15 @@ module Aws::CloudWatchEvents
1726
1753
  # sqs_parameters: {
1727
1754
  # message_group_id: "MessageGroupId",
1728
1755
  # },
1756
+ # http_parameters: {
1757
+ # path_parameter_values: ["PathParameter"],
1758
+ # header_parameters: {
1759
+ # "HeaderKey" => "HeaderValue",
1760
+ # },
1761
+ # query_string_parameters: {
1762
+ # "QueryStringKey" => "QueryStringValue",
1763
+ # },
1764
+ # },
1729
1765
  # },
1730
1766
  # ],
1731
1767
  # })
@@ -1928,7 +1964,8 @@ module Aws::CloudWatchEvents
1928
1964
  end
1929
1965
 
1930
1966
  # Removes one or more tags from the specified EventBridge resource. In
1931
- # CloudWatch Events, rules and event buses can be tagged.
1967
+ # Amazon EventBridge (CloudWatch Events, rules and event buses can be
1968
+ # tagged.
1932
1969
  #
1933
1970
  # @option params [required, String] :resource_arn
1934
1971
  # The ARN of the EventBridge resource from which you are removing tags.
@@ -1967,7 +2004,7 @@ module Aws::CloudWatchEvents
1967
2004
  params: params,
1968
2005
  config: config)
1969
2006
  context[:gem_name] = 'aws-sdk-cloudwatchevents'
1970
- context[:gem_version] = '1.29.0'
2007
+ context[:gem_version] = '1.34.0'
1971
2008
  Seahorse::Client::Request.new(handlers, context)
1972
2009
  end
1973
2010
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -57,6 +59,10 @@ module Aws::CloudWatchEvents
57
59
  EventSourceNamePrefix = Shapes::StringShape.new(name: 'EventSourceNamePrefix')
58
60
  EventSourceState = Shapes::StringShape.new(name: 'EventSourceState')
59
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')
60
66
  InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
61
67
  InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
62
68
  Integer = Shapes::IntegerShape.new(name: 'Integer')
@@ -90,11 +96,14 @@ module Aws::CloudWatchEvents
90
96
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
91
97
  NextToken = Shapes::StringShape.new(name: 'NextToken')
92
98
  NonPartnerEventBusName = Shapes::StringShape.new(name: 'NonPartnerEventBusName')
99
+ OperationDisabledException = Shapes::StructureShape.new(name: 'OperationDisabledException')
93
100
  PartnerEventSource = Shapes::StructureShape.new(name: 'PartnerEventSource')
94
101
  PartnerEventSourceAccount = Shapes::StructureShape.new(name: 'PartnerEventSourceAccount')
95
102
  PartnerEventSourceAccountList = Shapes::ListShape.new(name: 'PartnerEventSourceAccountList')
96
103
  PartnerEventSourceList = Shapes::ListShape.new(name: 'PartnerEventSourceList')
97
104
  PartnerEventSourceNamePrefix = Shapes::StringShape.new(name: 'PartnerEventSourceNamePrefix')
105
+ PathParameter = Shapes::StringShape.new(name: 'PathParameter')
106
+ PathParameterList = Shapes::ListShape.new(name: 'PathParameterList')
98
107
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
99
108
  Principal = Shapes::StringShape.new(name: 'Principal')
100
109
  PutEventsRequest = Shapes::StructureShape.new(name: 'PutEventsRequest')
@@ -116,6 +125,9 @@ module Aws::CloudWatchEvents
116
125
  PutTargetsResponse = Shapes::StructureShape.new(name: 'PutTargetsResponse')
117
126
  PutTargetsResultEntry = Shapes::StructureShape.new(name: 'PutTargetsResultEntry')
118
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')
119
131
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
120
132
  RemoveTargetsRequest = Shapes::StructureShape.new(name: 'RemoveTargetsRequest')
121
133
  RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
@@ -298,6 +310,14 @@ module Aws::CloudWatchEvents
298
310
 
299
311
  EventSourceList.member = Shapes::ShapeRef.new(shape: EventSource)
300
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
+
301
321
  InputTransformer.add_member(:input_paths_map, Shapes::ShapeRef.new(shape: TransformerPaths, location_name: "InputPathsMap"))
302
322
  InputTransformer.add_member(:input_template, Shapes::ShapeRef.new(shape: TransformerInput, required: true, location_name: "InputTemplate"))
303
323
  InputTransformer.struct_class = Types::InputTransformer
@@ -390,6 +410,8 @@ module Aws::CloudWatchEvents
390
410
  NetworkConfiguration.add_member(:awsvpc_configuration, Shapes::ShapeRef.new(shape: AwsVpcConfiguration, location_name: "awsvpcConfiguration"))
391
411
  NetworkConfiguration.struct_class = Types::NetworkConfiguration
392
412
 
413
+ OperationDisabledException.struct_class = Types::OperationDisabledException
414
+
393
415
  PartnerEventSource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
394
416
  PartnerEventSource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
395
417
  PartnerEventSource.struct_class = Types::PartnerEventSource
@@ -404,6 +426,8 @@ module Aws::CloudWatchEvents
404
426
 
405
427
  PartnerEventSourceList.member = Shapes::ShapeRef.new(shape: PartnerEventSource)
406
428
 
429
+ PathParameterList.member = Shapes::ShapeRef.new(shape: PathParameter)
430
+
407
431
  PolicyLengthExceededException.struct_class = Types::PolicyLengthExceededException
408
432
 
409
433
  PutEventsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: PutEventsRequestEntryList, required: true, location_name: "Entries"))
@@ -489,6 +513,9 @@ module Aws::CloudWatchEvents
489
513
 
490
514
  PutTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: PutTargetsResultEntry)
491
515
 
516
+ QueryStringParametersMap.key = Shapes::ShapeRef.new(shape: QueryStringKey)
517
+ QueryStringParametersMap.value = Shapes::ShapeRef.new(shape: QueryStringValue)
518
+
492
519
  RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
493
520
  RemovePermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
494
521
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
@@ -570,6 +597,7 @@ module Aws::CloudWatchEvents
570
597
  Target.add_member(:ecs_parameters, Shapes::ShapeRef.new(shape: EcsParameters, location_name: "EcsParameters"))
571
598
  Target.add_member(:batch_parameters, Shapes::ShapeRef.new(shape: BatchParameters, location_name: "BatchParameters"))
572
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"))
573
601
  Target.struct_class = Types::Target
574
602
 
575
603
  TargetIdList.member = Shapes::ShapeRef.new(shape: TargetId)
@@ -620,6 +648,7 @@ module Aws::CloudWatchEvents
620
648
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
621
649
  o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
622
650
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
651
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
623
652
  end)
624
653
 
625
654
  api.add_operation(:create_event_bus, Seahorse::Model::Operation.new.tap do |o|
@@ -634,6 +663,7 @@ module Aws::CloudWatchEvents
634
663
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
635
664
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
636
665
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
666
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
637
667
  end)
638
668
 
639
669
  api.add_operation(:create_partner_event_source, Seahorse::Model::Operation.new.tap do |o|
@@ -646,6 +676,7 @@ module Aws::CloudWatchEvents
646
676
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
647
677
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
648
678
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
679
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
649
680
  end)
650
681
 
651
682
  api.add_operation(:deactivate_event_source, Seahorse::Model::Operation.new.tap do |o|
@@ -658,6 +689,7 @@ module Aws::CloudWatchEvents
658
689
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
659
690
  o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
660
691
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
692
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
661
693
  end)
662
694
 
663
695
  api.add_operation(:delete_event_bus, Seahorse::Model::Operation.new.tap do |o|
@@ -678,6 +710,7 @@ module Aws::CloudWatchEvents
678
710
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
679
711
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
680
712
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
713
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
681
714
  end)
682
715
 
683
716
  api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -710,6 +743,7 @@ module Aws::CloudWatchEvents
710
743
  o.output = Shapes::ShapeRef.new(shape: DescribeEventSourceResponse)
711
744
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
712
745
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
746
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
713
747
  end)
714
748
 
715
749
  api.add_operation(:describe_partner_event_source, Seahorse::Model::Operation.new.tap do |o|
@@ -720,6 +754,7 @@ module Aws::CloudWatchEvents
720
754
  o.output = Shapes::ShapeRef.new(shape: DescribePartnerEventSourceResponse)
721
755
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
722
756
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
757
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
723
758
  end)
724
759
 
725
760
  api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -772,6 +807,7 @@ module Aws::CloudWatchEvents
772
807
  o.input = Shapes::ShapeRef.new(shape: ListEventSourcesRequest)
773
808
  o.output = Shapes::ShapeRef.new(shape: ListEventSourcesResponse)
774
809
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
810
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
775
811
  end)
776
812
 
777
813
  api.add_operation(:list_partner_event_source_accounts, Seahorse::Model::Operation.new.tap do |o|
@@ -782,6 +818,7 @@ module Aws::CloudWatchEvents
782
818
  o.output = Shapes::ShapeRef.new(shape: ListPartnerEventSourceAccountsResponse)
783
819
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
784
820
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
821
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
785
822
  end)
786
823
 
787
824
  api.add_operation(:list_partner_event_sources, Seahorse::Model::Operation.new.tap do |o|
@@ -791,6 +828,7 @@ module Aws::CloudWatchEvents
791
828
  o.input = Shapes::ShapeRef.new(shape: ListPartnerEventSourcesRequest)
792
829
  o.output = Shapes::ShapeRef.new(shape: ListPartnerEventSourcesResponse)
793
830
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
831
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
794
832
  end)
795
833
 
796
834
  api.add_operation(:list_rule_names_by_target, Seahorse::Model::Operation.new.tap do |o|
@@ -849,6 +887,7 @@ module Aws::CloudWatchEvents
849
887
  o.input = Shapes::ShapeRef.new(shape: PutPartnerEventsRequest)
850
888
  o.output = Shapes::ShapeRef.new(shape: PutPartnerEventsResponse)
851
889
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
890
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
852
891
  end)
853
892
 
854
893
  api.add_operation(:put_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -31,6 +33,7 @@ module Aws::CloudWatchEvents
31
33
  # * {InvalidStateException}
32
34
  # * {LimitExceededException}
33
35
  # * {ManagedRuleException}
36
+ # * {OperationDisabledException}
34
37
  # * {PolicyLengthExceededException}
35
38
  # * {ResourceAlreadyExistsException}
36
39
  # * {ResourceNotFoundException}
@@ -101,6 +104,16 @@ module Aws::CloudWatchEvents
101
104
  end
102
105
  end
103
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
+
104
117
  class PolicyLengthExceededException < ServiceError
105
118
 
106
119
  # @param [Seahorse::Client::RequestContext] context
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -23,6 +25,7 @@ module Aws::CloudWatchEvents
23
25
  #
24
26
  class ActivateEventSourceRequest < Struct.new(
25
27
  :name)
28
+ SENSITIVE = []
26
29
  include Aws::Structure
27
30
  end
28
31
 
@@ -63,6 +66,7 @@ module Aws::CloudWatchEvents
63
66
  :subnets,
64
67
  :security_groups,
65
68
  :assign_public_ip)
69
+ SENSITIVE = []
66
70
  include Aws::Structure
67
71
  end
68
72
 
@@ -87,6 +91,7 @@ module Aws::CloudWatchEvents
87
91
  #
88
92
  class BatchArrayProperties < Struct.new(
89
93
  :size)
94
+ SENSITIVE = []
90
95
  include Aws::Structure
91
96
  end
92
97
 
@@ -138,6 +143,7 @@ module Aws::CloudWatchEvents
138
143
  :job_name,
139
144
  :array_properties,
140
145
  :retry_strategy)
146
+ SENSITIVE = []
141
147
  include Aws::Structure
142
148
  end
143
149
 
@@ -161,6 +167,7 @@ module Aws::CloudWatchEvents
161
167
  #
162
168
  class BatchRetryStrategy < Struct.new(
163
169
  :attempts)
170
+ SENSITIVE = []
164
171
  include Aws::Structure
165
172
  end
166
173
 
@@ -210,6 +217,7 @@ module Aws::CloudWatchEvents
210
217
  :type,
211
218
  :key,
212
219
  :value)
220
+ SENSITIVE = []
213
221
  include Aws::Structure
214
222
  end
215
223
 
@@ -253,6 +261,7 @@ module Aws::CloudWatchEvents
253
261
  :name,
254
262
  :event_source_name,
255
263
  :tags)
264
+ SENSITIVE = []
256
265
  include Aws::Structure
257
266
  end
258
267
 
@@ -264,6 +273,7 @@ module Aws::CloudWatchEvents
264
273
  #
265
274
  class CreateEventBusResponse < Struct.new(
266
275
  :event_bus_arn)
276
+ SENSITIVE = []
267
277
  include Aws::Structure
268
278
  end
269
279
 
@@ -293,6 +303,7 @@ module Aws::CloudWatchEvents
293
303
  class CreatePartnerEventSourceRequest < Struct.new(
294
304
  :name,
295
305
  :account)
306
+ SENSITIVE = []
296
307
  include Aws::Structure
297
308
  end
298
309
 
@@ -304,6 +315,7 @@ module Aws::CloudWatchEvents
304
315
  #
305
316
  class CreatePartnerEventSourceResponse < Struct.new(
306
317
  :event_source_arn)
318
+ SENSITIVE = []
307
319
  include Aws::Structure
308
320
  end
309
321
 
@@ -322,6 +334,7 @@ module Aws::CloudWatchEvents
322
334
  #
323
335
  class DeactivateEventSourceRequest < Struct.new(
324
336
  :name)
337
+ SENSITIVE = []
325
338
  include Aws::Structure
326
339
  end
327
340
 
@@ -340,6 +353,7 @@ module Aws::CloudWatchEvents
340
353
  #
341
354
  class DeleteEventBusRequest < Struct.new(
342
355
  :name)
356
+ SENSITIVE = []
343
357
  include Aws::Structure
344
358
  end
345
359
 
@@ -365,6 +379,7 @@ module Aws::CloudWatchEvents
365
379
  class DeletePartnerEventSourceRequest < Struct.new(
366
380
  :name,
367
381
  :account)
382
+ SENSITIVE = []
368
383
  include Aws::Structure
369
384
  end
370
385
 
@@ -400,6 +415,7 @@ module Aws::CloudWatchEvents
400
415
  :name,
401
416
  :event_bus_name,
402
417
  :force)
418
+ SENSITIVE = []
403
419
  include Aws::Structure
404
420
  end
405
421
 
@@ -419,6 +435,7 @@ module Aws::CloudWatchEvents
419
435
  #
420
436
  class DescribeEventBusRequest < Struct.new(
421
437
  :name)
438
+ SENSITIVE = []
422
439
  include Aws::Structure
423
440
  end
424
441
 
@@ -442,6 +459,7 @@ module Aws::CloudWatchEvents
442
459
  :name,
443
460
  :arn,
444
461
  :policy)
462
+ SENSITIVE = []
445
463
  include Aws::Structure
446
464
  end
447
465
 
@@ -460,6 +478,7 @@ module Aws::CloudWatchEvents
460
478
  #
461
479
  class DescribeEventSourceRequest < Struct.new(
462
480
  :name)
481
+ SENSITIVE = []
463
482
  include Aws::Structure
464
483
  end
465
484
 
@@ -502,6 +521,7 @@ module Aws::CloudWatchEvents
502
521
  :expiration_time,
503
522
  :name,
504
523
  :state)
524
+ SENSITIVE = []
505
525
  include Aws::Structure
506
526
  end
507
527
 
@@ -520,6 +540,7 @@ module Aws::CloudWatchEvents
520
540
  #
521
541
  class DescribePartnerEventSourceRequest < Struct.new(
522
542
  :name)
543
+ SENSITIVE = []
523
544
  include Aws::Structure
524
545
  end
525
546
 
@@ -536,6 +557,7 @@ module Aws::CloudWatchEvents
536
557
  class DescribePartnerEventSourceResponse < Struct.new(
537
558
  :arn,
538
559
  :name)
560
+ SENSITIVE = []
539
561
  include Aws::Structure
540
562
  end
541
563
 
@@ -561,6 +583,7 @@ module Aws::CloudWatchEvents
561
583
  class DescribeRuleRequest < Struct.new(
562
584
  :name,
563
585
  :event_bus_name)
586
+ SENSITIVE = []
564
587
  include Aws::Structure
565
588
  end
566
589
 
@@ -621,6 +644,7 @@ module Aws::CloudWatchEvents
621
644
  :role_arn,
622
645
  :managed_by,
623
646
  :event_bus_name)
647
+ SENSITIVE = []
624
648
  include Aws::Structure
625
649
  end
626
650
 
@@ -646,6 +670,7 @@ module Aws::CloudWatchEvents
646
670
  class DisableRuleRequest < Struct.new(
647
671
  :name,
648
672
  :event_bus_name)
673
+ SENSITIVE = []
649
674
  include Aws::Structure
650
675
  end
651
676
 
@@ -732,6 +757,7 @@ module Aws::CloudWatchEvents
732
757
  :network_configuration,
733
758
  :platform_version,
734
759
  :group)
760
+ SENSITIVE = []
735
761
  include Aws::Structure
736
762
  end
737
763
 
@@ -757,6 +783,7 @@ module Aws::CloudWatchEvents
757
783
  class EnableRuleRequest < Struct.new(
758
784
  :name,
759
785
  :event_bus_name)
786
+ SENSITIVE = []
760
787
  include Aws::Structure
761
788
  end
762
789
 
@@ -787,6 +814,7 @@ module Aws::CloudWatchEvents
787
814
  :name,
788
815
  :arn,
789
816
  :policy)
817
+ SENSITIVE = []
790
818
  include Aws::Structure
791
819
  end
792
820
 
@@ -834,6 +862,48 @@ module Aws::CloudWatchEvents
834
862
  :expiration_time,
835
863
  :name,
836
864
  :state)
865
+ SENSITIVE = []
866
+ include Aws::Structure
867
+ end
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 = []
837
907
  include Aws::Structure
838
908
  end
839
909
 
@@ -910,6 +980,7 @@ module Aws::CloudWatchEvents
910
980
  class InputTransformer < Struct.new(
911
981
  :input_paths_map,
912
982
  :input_template)
983
+ SENSITIVE = []
913
984
  include Aws::Structure
914
985
  end
915
986
 
@@ -958,6 +1029,7 @@ module Aws::CloudWatchEvents
958
1029
  #
959
1030
  class KinesisParameters < Struct.new(
960
1031
  :partition_key_path)
1032
+ SENSITIVE = []
961
1033
  include Aws::Structure
962
1034
  end
963
1035
 
@@ -999,6 +1071,7 @@ module Aws::CloudWatchEvents
999
1071
  :name_prefix,
1000
1072
  :next_token,
1001
1073
  :limit)
1074
+ SENSITIVE = []
1002
1075
  include Aws::Structure
1003
1076
  end
1004
1077
 
@@ -1016,6 +1089,7 @@ module Aws::CloudWatchEvents
1016
1089
  class ListEventBusesResponse < Struct.new(
1017
1090
  :event_buses,
1018
1091
  :next_token)
1092
+ SENSITIVE = []
1019
1093
  include Aws::Structure
1020
1094
  end
1021
1095
 
@@ -1050,6 +1124,7 @@ module Aws::CloudWatchEvents
1050
1124
  :name_prefix,
1051
1125
  :next_token,
1052
1126
  :limit)
1127
+ SENSITIVE = []
1053
1128
  include Aws::Structure
1054
1129
  end
1055
1130
 
@@ -1067,6 +1142,7 @@ module Aws::CloudWatchEvents
1067
1142
  class ListEventSourcesResponse < Struct.new(
1068
1143
  :event_sources,
1069
1144
  :next_token)
1145
+ SENSITIVE = []
1070
1146
  include Aws::Structure
1071
1147
  end
1072
1148
 
@@ -1101,6 +1177,7 @@ module Aws::CloudWatchEvents
1101
1177
  :event_source_name,
1102
1178
  :next_token,
1103
1179
  :limit)
1180
+ SENSITIVE = []
1104
1181
  include Aws::Structure
1105
1182
  end
1106
1183
 
@@ -1118,6 +1195,7 @@ module Aws::CloudWatchEvents
1118
1195
  class ListPartnerEventSourceAccountsResponse < Struct.new(
1119
1196
  :partner_event_source_accounts,
1120
1197
  :next_token)
1198
+ SENSITIVE = []
1121
1199
  include Aws::Structure
1122
1200
  end
1123
1201
 
@@ -1152,6 +1230,7 @@ module Aws::CloudWatchEvents
1152
1230
  :name_prefix,
1153
1231
  :next_token,
1154
1232
  :limit)
1233
+ SENSITIVE = []
1155
1234
  include Aws::Structure
1156
1235
  end
1157
1236
 
@@ -1169,6 +1248,7 @@ module Aws::CloudWatchEvents
1169
1248
  class ListPartnerEventSourcesResponse < Struct.new(
1170
1249
  :partner_event_sources,
1171
1250
  :next_token)
1251
+ SENSITIVE = []
1172
1252
  include Aws::Structure
1173
1253
  end
1174
1254
 
@@ -1207,6 +1287,7 @@ module Aws::CloudWatchEvents
1207
1287
  :event_bus_name,
1208
1288
  :next_token,
1209
1289
  :limit)
1290
+ SENSITIVE = []
1210
1291
  include Aws::Structure
1211
1292
  end
1212
1293
 
@@ -1224,6 +1305,7 @@ module Aws::CloudWatchEvents
1224
1305
  class ListRuleNamesByTargetResponse < Struct.new(
1225
1306
  :rule_names,
1226
1307
  :next_token)
1308
+ SENSITIVE = []
1227
1309
  include Aws::Structure
1228
1310
  end
1229
1311
 
@@ -1262,6 +1344,7 @@ module Aws::CloudWatchEvents
1262
1344
  :event_bus_name,
1263
1345
  :next_token,
1264
1346
  :limit)
1347
+ SENSITIVE = []
1265
1348
  include Aws::Structure
1266
1349
  end
1267
1350
 
@@ -1279,6 +1362,7 @@ module Aws::CloudWatchEvents
1279
1362
  class ListRulesResponse < Struct.new(
1280
1363
  :rules,
1281
1364
  :next_token)
1365
+ SENSITIVE = []
1282
1366
  include Aws::Structure
1283
1367
  end
1284
1368
 
@@ -1297,6 +1381,7 @@ module Aws::CloudWatchEvents
1297
1381
  #
1298
1382
  class ListTagsForResourceRequest < Struct.new(
1299
1383
  :resource_arn)
1384
+ SENSITIVE = []
1300
1385
  include Aws::Structure
1301
1386
  end
1302
1387
 
@@ -1309,6 +1394,7 @@ module Aws::CloudWatchEvents
1309
1394
  #
1310
1395
  class ListTagsForResourceResponse < Struct.new(
1311
1396
  :tags)
1397
+ SENSITIVE = []
1312
1398
  include Aws::Structure
1313
1399
  end
1314
1400
 
@@ -1347,6 +1433,7 @@ module Aws::CloudWatchEvents
1347
1433
  :event_bus_name,
1348
1434
  :next_token,
1349
1435
  :limit)
1436
+ SENSITIVE = []
1350
1437
  include Aws::Structure
1351
1438
  end
1352
1439
 
@@ -1364,6 +1451,7 @@ module Aws::CloudWatchEvents
1364
1451
  class ListTargetsByRuleResponse < Struct.new(
1365
1452
  :targets,
1366
1453
  :next_token)
1454
+ SENSITIVE = []
1367
1455
  include Aws::Structure
1368
1456
  end
1369
1457
 
@@ -1403,9 +1491,16 @@ module Aws::CloudWatchEvents
1403
1491
  #
1404
1492
  class NetworkConfiguration < Struct.new(
1405
1493
  :awsvpc_configuration)
1494
+ SENSITIVE = []
1406
1495
  include Aws::Structure
1407
1496
  end
1408
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
+
1409
1504
  # A partner event source is created by an SaaS partner. If a customer
1410
1505
  # creates a partner event bus that matches this event source, that AWS
1411
1506
  # account can receive events from the partner's applications or
@@ -1424,6 +1519,7 @@ module Aws::CloudWatchEvents
1424
1519
  class PartnerEventSource < Struct.new(
1425
1520
  :arn,
1426
1521
  :name)
1522
+ SENSITIVE = []
1427
1523
  include Aws::Structure
1428
1524
  end
1429
1525
 
@@ -1458,6 +1554,7 @@ module Aws::CloudWatchEvents
1458
1554
  :creation_time,
1459
1555
  :expiration_time,
1460
1556
  :state)
1557
+ SENSITIVE = []
1461
1558
  include Aws::Structure
1462
1559
  end
1463
1560
 
@@ -1494,6 +1591,7 @@ module Aws::CloudWatchEvents
1494
1591
  #
1495
1592
  class PutEventsRequest < Struct.new(
1496
1593
  :entries)
1594
+ SENSITIVE = []
1497
1595
  include Aws::Structure
1498
1596
  end
1499
1597
 
@@ -1554,6 +1652,7 @@ module Aws::CloudWatchEvents
1554
1652
  :detail_type,
1555
1653
  :detail,
1556
1654
  :event_bus_name)
1655
+ SENSITIVE = []
1557
1656
  include Aws::Structure
1558
1657
  end
1559
1658
 
@@ -1573,6 +1672,7 @@ module Aws::CloudWatchEvents
1573
1672
  class PutEventsResponse < Struct.new(
1574
1673
  :failed_entry_count,
1575
1674
  :entries)
1675
+ SENSITIVE = []
1576
1676
  include Aws::Structure
1577
1677
  end
1578
1678
 
@@ -1596,6 +1696,7 @@ module Aws::CloudWatchEvents
1596
1696
  :event_id,
1597
1697
  :error_code,
1598
1698
  :error_message)
1699
+ SENSITIVE = []
1599
1700
  include Aws::Structure
1600
1701
  end
1601
1702
 
@@ -1622,6 +1723,7 @@ module Aws::CloudWatchEvents
1622
1723
  #
1623
1724
  class PutPartnerEventsRequest < Struct.new(
1624
1725
  :entries)
1726
+ SENSITIVE = []
1625
1727
  include Aws::Structure
1626
1728
  end
1627
1729
 
@@ -1670,6 +1772,7 @@ module Aws::CloudWatchEvents
1670
1772
  :resources,
1671
1773
  :detail_type,
1672
1774
  :detail)
1775
+ SENSITIVE = []
1673
1776
  include Aws::Structure
1674
1777
  end
1675
1778
 
@@ -1688,6 +1791,7 @@ module Aws::CloudWatchEvents
1688
1791
  class PutPartnerEventsResponse < Struct.new(
1689
1792
  :failed_entry_count,
1690
1793
  :entries)
1794
+ SENSITIVE = []
1691
1795
  include Aws::Structure
1692
1796
  end
1693
1797
 
@@ -1711,6 +1815,7 @@ module Aws::CloudWatchEvents
1711
1815
  :event_id,
1712
1816
  :error_code,
1713
1817
  :error_message)
1818
+ SENSITIVE = []
1714
1819
  include Aws::Structure
1715
1820
  end
1716
1821
 
@@ -1786,6 +1891,7 @@ module Aws::CloudWatchEvents
1786
1891
  :principal,
1787
1892
  :statement_id,
1788
1893
  :condition)
1894
+ SENSITIVE = []
1789
1895
  include Aws::Structure
1790
1896
  end
1791
1897
 
@@ -1859,6 +1965,7 @@ module Aws::CloudWatchEvents
1859
1965
  :role_arn,
1860
1966
  :tags,
1861
1967
  :event_bus_name)
1968
+ SENSITIVE = []
1862
1969
  include Aws::Structure
1863
1970
  end
1864
1971
 
@@ -1870,6 +1977,7 @@ module Aws::CloudWatchEvents
1870
1977
  #
1871
1978
  class PutRuleResponse < Struct.new(
1872
1979
  :rule_arn)
1980
+ SENSITIVE = []
1873
1981
  include Aws::Structure
1874
1982
  end
1875
1983
 
@@ -1930,6 +2038,15 @@ module Aws::CloudWatchEvents
1930
2038
  # sqs_parameters: {
1931
2039
  # message_group_id: "MessageGroupId",
1932
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
+ # },
1933
2050
  # },
1934
2051
  # ],
1935
2052
  # }
@@ -1953,6 +2070,7 @@ module Aws::CloudWatchEvents
1953
2070
  :rule,
1954
2071
  :event_bus_name,
1955
2072
  :targets)
2073
+ SENSITIVE = []
1956
2074
  include Aws::Structure
1957
2075
  end
1958
2076
 
@@ -1969,6 +2087,7 @@ module Aws::CloudWatchEvents
1969
2087
  class PutTargetsResponse < Struct.new(
1970
2088
  :failed_entry_count,
1971
2089
  :failed_entries)
2090
+ SENSITIVE = []
1972
2091
  include Aws::Structure
1973
2092
  end
1974
2093
 
@@ -1994,6 +2113,7 @@ module Aws::CloudWatchEvents
1994
2113
  :target_id,
1995
2114
  :error_code,
1996
2115
  :error_message)
2116
+ SENSITIVE = []
1997
2117
  include Aws::Structure
1998
2118
  end
1999
2119
 
@@ -2020,6 +2140,7 @@ module Aws::CloudWatchEvents
2020
2140
  class RemovePermissionRequest < Struct.new(
2021
2141
  :statement_id,
2022
2142
  :event_bus_name)
2143
+ SENSITIVE = []
2023
2144
  include Aws::Structure
2024
2145
  end
2025
2146
 
@@ -2060,6 +2181,7 @@ module Aws::CloudWatchEvents
2060
2181
  :event_bus_name,
2061
2182
  :ids,
2062
2183
  :force)
2184
+ SENSITIVE = []
2063
2185
  include Aws::Structure
2064
2186
  end
2065
2187
 
@@ -2076,6 +2198,7 @@ module Aws::CloudWatchEvents
2076
2198
  class RemoveTargetsResponse < Struct.new(
2077
2199
  :failed_entry_count,
2078
2200
  :failed_entries)
2201
+ SENSITIVE = []
2079
2202
  include Aws::Structure
2080
2203
  end
2081
2204
 
@@ -2101,6 +2224,7 @@ module Aws::CloudWatchEvents
2101
2224
  :target_id,
2102
2225
  :error_code,
2103
2226
  :error_message)
2227
+ SENSITIVE = []
2104
2228
  include Aws::Structure
2105
2229
  end
2106
2230
 
@@ -2175,6 +2299,7 @@ module Aws::CloudWatchEvents
2175
2299
  :role_arn,
2176
2300
  :managed_by,
2177
2301
  :event_bus_name)
2302
+ SENSITIVE = []
2178
2303
  include Aws::Structure
2179
2304
  end
2180
2305
 
@@ -2202,6 +2327,7 @@ module Aws::CloudWatchEvents
2202
2327
  #
2203
2328
  class RunCommandParameters < Struct.new(
2204
2329
  :run_command_targets)
2330
+ SENSITIVE = []
2205
2331
  include Aws::Structure
2206
2332
  end
2207
2333
 
@@ -2232,6 +2358,7 @@ module Aws::CloudWatchEvents
2232
2358
  class RunCommandTarget < Struct.new(
2233
2359
  :key,
2234
2360
  :values)
2361
+ SENSITIVE = []
2235
2362
  include Aws::Structure
2236
2363
  end
2237
2364
 
@@ -2253,6 +2380,7 @@ module Aws::CloudWatchEvents
2253
2380
  #
2254
2381
  class SqsParameters < Struct.new(
2255
2382
  :message_group_id)
2383
+ SENSITIVE = []
2256
2384
  include Aws::Structure
2257
2385
  end
2258
2386
 
@@ -2281,6 +2409,7 @@ module Aws::CloudWatchEvents
2281
2409
  class Tag < Struct.new(
2282
2410
  :key,
2283
2411
  :value)
2412
+ SENSITIVE = []
2284
2413
  include Aws::Structure
2285
2414
  end
2286
2415
 
@@ -2310,6 +2439,7 @@ module Aws::CloudWatchEvents
2310
2439
  class TagResourceRequest < Struct.new(
2311
2440
  :resource_arn,
2312
2441
  :tags)
2442
+ SENSITIVE = []
2313
2443
  include Aws::Structure
2314
2444
  end
2315
2445
 
@@ -2385,6 +2515,15 @@ module Aws::CloudWatchEvents
2385
2515
  # sqs_parameters: {
2386
2516
  # message_group_id: "MessageGroupId",
2387
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
+ # },
2388
2527
  # }
2389
2528
  #
2390
2529
  # @!attribute [rw] id
@@ -2469,6 +2608,15 @@ module Aws::CloudWatchEvents
2469
2608
  # content-based deduplication enabled.
2470
2609
  # @return [Types::SqsParameters]
2471
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
+ #
2472
2620
  # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Target AWS API Documentation
2473
2621
  #
2474
2622
  class Target < Struct.new(
@@ -2482,7 +2630,9 @@ module Aws::CloudWatchEvents
2482
2630
  :run_command_parameters,
2483
2631
  :ecs_parameters,
2484
2632
  :batch_parameters,
2485
- :sqs_parameters)
2633
+ :sqs_parameters,
2634
+ :http_parameters)
2635
+ SENSITIVE = []
2486
2636
  include Aws::Structure
2487
2637
  end
2488
2638
 
@@ -2512,6 +2662,7 @@ module Aws::CloudWatchEvents
2512
2662
  class TestEventPatternRequest < Struct.new(
2513
2663
  :event_pattern,
2514
2664
  :event)
2665
+ SENSITIVE = []
2515
2666
  include Aws::Structure
2516
2667
  end
2517
2668
 
@@ -2523,6 +2674,7 @@ module Aws::CloudWatchEvents
2523
2674
  #
2524
2675
  class TestEventPatternResponse < Struct.new(
2525
2676
  :result)
2677
+ SENSITIVE = []
2526
2678
  include Aws::Structure
2527
2679
  end
2528
2680
 
@@ -2548,6 +2700,7 @@ module Aws::CloudWatchEvents
2548
2700
  class UntagResourceRequest < Struct.new(
2549
2701
  :resource_arn,
2550
2702
  :tag_keys)
2703
+ SENSITIVE = []
2551
2704
  include Aws::Structure
2552
2705
  end
2553
2706
 
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.29.0
4
+ version: 1.34.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-05-28 00:00:00.000000000 Z
11
+ date: 2020-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement