aws-sdk-cloudwatchevents 1.30.1 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudwatchevents.rb +5 -2
- data/lib/aws-sdk-cloudwatchevents/client.rb +57 -22
- data/lib/aws-sdk-cloudwatchevents/client_api.rb +39 -0
- data/lib/aws-sdk-cloudwatchevents/customizations.rb +1 -0
- data/lib/aws-sdk-cloudwatchevents/errors.rb +13 -0
- data/lib/aws-sdk-cloudwatchevents/resource.rb +2 -0
- data/lib/aws-sdk-cloudwatchevents/types.rb +154 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79f56c9ff34090b27b08d2d607409102e8e3b02b56531dad4224d9e2a2a147e0
|
4
|
+
data.tar.gz: dce2d6521431ccd64ff22569e0fa2046fcd3e251c124ad6b437cb874ec2ac9da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc917a365ce88b78698e79016128bdbcd2c60da58431b83b605859ba01b9b1a2ac328a468902ef103a6f54d6e4396fe3010d3832d88d852b7742ed8c1b15a6a
|
7
|
+
data.tar.gz: 8e1c7684627491514806c35cd931aa2f567b07434b66b6b18cb6f991d9f6a8f050bfccef45f47c8779e819c0f11dab0b66a222db2805d4fb12ada85ae52b0e71
|
@@ -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:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::CloudWatchEvents
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.35.0'
|
49
52
|
|
50
53
|
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:
|
@@ -83,13 +85,28 @@ module Aws::CloudWatchEvents
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
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
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::CloudWatchEvents
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# 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.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -1208,6 +1225,12 @@ module Aws::CloudWatchEvents
|
|
1208
1225
|
# resp.targets[0].batch_parameters.array_properties.size #=> Integer
|
1209
1226
|
# resp.targets[0].batch_parameters.retry_strategy.attempts #=> Integer
|
1210
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
|
1211
1234
|
# resp.next_token #=> String
|
1212
1235
|
#
|
1213
1236
|
# @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule AWS API Documentation
|
@@ -1307,9 +1330,9 @@ module Aws::CloudWatchEvents
|
|
1307
1330
|
end
|
1308
1331
|
|
1309
1332
|
# Running `PutPermission` permits the specified AWS account or AWS
|
1310
|
-
# organization to put events to the specified *event bus*.
|
1311
|
-
# Events rules in your account are triggered by
|
1312
|
-
# 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.
|
1313
1336
|
#
|
1314
1337
|
# For another account to send events to your account, that external
|
1315
1338
|
# account must have an EventBridge rule with your account's event bus
|
@@ -1572,6 +1595,8 @@ module Aws::CloudWatchEvents
|
|
1572
1595
|
#
|
1573
1596
|
# * The default event bus of another AWS account
|
1574
1597
|
#
|
1598
|
+
# * Amazon API Gateway REST APIs
|
1599
|
+
#
|
1575
1600
|
# Creating rules with built-in targets is supported only in the AWS
|
1576
1601
|
# Management Console. The built-in targets are `EC2 CreateSnapshot API
|
1577
1602
|
# call`, `EC2 RebootInstances API call`, `EC2 StopInstances API call`,
|
@@ -1584,13 +1609,13 @@ module Aws::CloudWatchEvents
|
|
1584
1609
|
# you can use the `RunCommandParameters` field.
|
1585
1610
|
#
|
1586
1611
|
# To be able to make API calls against the resources that you own,
|
1587
|
-
# Amazon CloudWatch Events needs the appropriate
|
1588
|
-
# Lambda and Amazon SNS resources, EventBridge
|
1589
|
-
# policies. For EC2 instances, Kinesis data
|
1590
|
-
# Functions state machines
|
1591
|
-
# specify in the `RoleARN`
|
1592
|
-
# information, see [Authentication
|
1593
|
-
# 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*.
|
1594
1619
|
#
|
1595
1620
|
# If another AWS account is in the same region and has granted you
|
1596
1621
|
# permission (using `PutPermission`), you can send events to that
|
@@ -1600,8 +1625,8 @@ module Aws::CloudWatchEvents
|
|
1600
1625
|
# `PutTargets`. If your account sends events to another account, your
|
1601
1626
|
# account is charged for each sent event. Each event sent to another
|
1602
1627
|
# account is charged as a custom event. The account receiving the event
|
1603
|
-
# is not charged. For more information, see [Amazon
|
1604
|
-
# Pricing][2].
|
1628
|
+
# is not charged. For more information, see [Amazon EventBridge
|
1629
|
+
# (CloudWatch Events) Pricing][2].
|
1605
1630
|
#
|
1606
1631
|
# <note markdown="1"> `Input`, `InputPath`, and `InputTransformer` are not available with
|
1607
1632
|
# `PutTarget` if the target is an event bus of a different AWS account.
|
@@ -1654,7 +1679,7 @@ module Aws::CloudWatchEvents
|
|
1654
1679
|
#
|
1655
1680
|
#
|
1656
1681
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html
|
1657
|
-
# [2]: https://aws.amazon.com/
|
1682
|
+
# [2]: https://aws.amazon.com/eventbridge/pricing/
|
1658
1683
|
# [3]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html
|
1659
1684
|
#
|
1660
1685
|
# @option params [required, String] :rule
|
@@ -1728,6 +1753,15 @@ module Aws::CloudWatchEvents
|
|
1728
1753
|
# sqs_parameters: {
|
1729
1754
|
# message_group_id: "MessageGroupId",
|
1730
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
|
+
# },
|
1731
1765
|
# },
|
1732
1766
|
# ],
|
1733
1767
|
# })
|
@@ -1930,7 +1964,8 @@ module Aws::CloudWatchEvents
|
|
1930
1964
|
end
|
1931
1965
|
|
1932
1966
|
# Removes one or more tags from the specified EventBridge resource. In
|
1933
|
-
# CloudWatch Events, rules and event buses can be
|
1967
|
+
# Amazon EventBridge (CloudWatch Events, rules and event buses can be
|
1968
|
+
# tagged.
|
1934
1969
|
#
|
1935
1970
|
# @option params [required, String] :resource_arn
|
1936
1971
|
# The ARN of the EventBridge resource from which you are removing tags.
|
@@ -1969,7 +2004,7 @@ module Aws::CloudWatchEvents
|
|
1969
2004
|
params: params,
|
1970
2005
|
config: config)
|
1971
2006
|
context[:gem_name] = 'aws-sdk-cloudwatchevents'
|
1972
|
-
context[:gem_version] = '1.
|
2007
|
+
context[:gem_version] = '1.35.0'
|
1973
2008
|
Seahorse::Client::Request.new(handlers, context)
|
1974
2009
|
end
|
1975
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,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:
|
@@ -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.
|
4
|
+
version: 1.35.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-
|
11
|
+
date: 2020-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|