aws-sdk-cloudwatchevents 1.0.0.rc6 → 1.0.0.rc7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf3d19888c14e5c20e02745fd9ae5ab638889095
4
- data.tar.gz: 4f4c0df152ce68db7018db4fa7222214dd93e6c6
3
+ metadata.gz: ead30867064577c5df8d81e246d8bf97da73f913
4
+ data.tar.gz: 8a2caf63633b7734bf49134464fdfd9272bcd493
5
5
  SHA512:
6
- metadata.gz: a4555e4a6af260214884fcc3db88c85511e5634d1aa4e944b594d6104f6731128333c2eff9f8eaca76fa7915282011c5f5c6ce9020a3e65e126924d8b884e7ed
7
- data.tar.gz: 28c9ad00ab5f02676990d5efab52d18a0d498a6520b0639a4ab3a3e29402b48e135fb9e2658cf5ab7db41105f7c9e47fadb68f766fa12edde9a16972b7519017
6
+ metadata.gz: ea6572b50d7cecb5673c531aec5b29c7d34ff33eeea513e4994dea0f83af2f9799f407d12906e8d95a364a4a1cad7233966144777df14295373cf843fbc242eb
7
+ data.tar.gz: 1f803e9a80dc184fe65b4e2195c494fea07ce9c92d2ad84ec9baa28590af8f35dd13b0a9d5a69eb21bdb20d29664e0cdcf5aa54043f485997160968610d0444c
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
42
42
  # @service
43
43
  module Aws::CloudWatchEvents
44
44
 
45
- GEM_VERSION = '1.0.0.rc6'
45
+ GEM_VERSION = '1.0.0.rc7'
46
46
 
47
47
  end
@@ -184,6 +184,32 @@ module Aws::CloudWatchEvents
184
184
  req.send_request(options)
185
185
  end
186
186
 
187
+ # Displays the external AWS accounts that are permitted to write events
188
+ # to your account using your account's event bus, and the associated
189
+ # policy. To enable your account to receive events from other accounts,
190
+ # use PutPermission.
191
+ #
192
+ # @return [Types::DescribeEventBusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
193
+ #
194
+ # * {Types::DescribeEventBusResponse#name #name} => String
195
+ # * {Types::DescribeEventBusResponse#arn #arn} => String
196
+ # * {Types::DescribeEventBusResponse#policy #policy} => String
197
+ #
198
+ # @example Response structure
199
+ #
200
+ # resp.name #=> String
201
+ # resp.arn #=> String
202
+ # resp.policy #=> String
203
+ #
204
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus AWS API Documentation
205
+ #
206
+ # @overload describe_event_bus(params = {})
207
+ # @param [Hash] params ({})
208
+ def describe_event_bus(params = {}, options = {})
209
+ req = build_request(:describe_event_bus, params)
210
+ req.send_request(options)
211
+ end
212
+
187
213
  # Describes the specified rule.
188
214
  #
189
215
  # @option params [required, String] :name
@@ -465,6 +491,58 @@ module Aws::CloudWatchEvents
465
491
  req.send_request(options)
466
492
  end
467
493
 
494
+ # Running `PutPermission` permits the specified AWS account to put
495
+ # events to your account's default *event bus*. CloudWatch Events rules
496
+ # in your account are triggered by these events arriving to your default
497
+ # event bus.
498
+ #
499
+ # For another account to send events to your account, that external
500
+ # account must have a CloudWatch Events rule with your account's
501
+ # default event bus as a target.
502
+ #
503
+ # To enable multiple AWS accounts to put events to your default event
504
+ # bus, run `PutPermission` once for each of these accounts.
505
+ #
506
+ # @option params [required, String] :action
507
+ # The action that you are enabling the other account to perform.
508
+ # Currently, this must be `events:PutEvents`.
509
+ #
510
+ # @option params [required, String] :principal
511
+ # The 12-digit AWS account ID that you are permitting to put events to
512
+ # your default event bus. Specify "*" to permit any account to put
513
+ # events to your default event bus.
514
+ #
515
+ # If you specify "*", avoid creating rules that may match undesirable
516
+ # events. To create more secure rules, make sure that the event pattern
517
+ # for each rule contains an `account` field with a specific account ID
518
+ # from which to receive events. Rules with an account field do not match
519
+ # any events sent from other accounts.
520
+ #
521
+ # @option params [required, String] :statement_id
522
+ # An identifier string for the external account that you are granting
523
+ # permissions to. If you later want to revoke the permission for this
524
+ # external account, specify this `StatementId` when you run
525
+ # RemovePermission.
526
+ #
527
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
528
+ #
529
+ # @example Request syntax with placeholder values
530
+ #
531
+ # resp = client.put_permission({
532
+ # action: "Action", # required
533
+ # principal: "Principal", # required
534
+ # statement_id: "StatementId", # required
535
+ # })
536
+ #
537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermission AWS API Documentation
538
+ #
539
+ # @overload put_permission(params = {})
540
+ # @param [Hash] params ({})
541
+ def put_permission(params = {}, options = {})
542
+ req = build_request(:put_permission, params)
543
+ req.send_request(options)
544
+ end
545
+
468
546
  # Creates or updates the specified rule. Rules are enabled by default,
469
547
  # or based on value of the state. You can disable a rule using
470
548
  # DisableRule.
@@ -490,7 +568,7 @@ module Aws::CloudWatchEvents
490
568
  # The name of the rule that you are creating or updating.
491
569
  #
492
570
  # @option params [String] :schedule_expression
493
- # The scheduling expression. For example, "cron(0 20 * * ? *)",
571
+ # The scheduling expression. For example, "cron(0 20 * * ? *)" or
494
572
  # "rate(5 minutes)".
495
573
  #
496
574
  # @option params [String] :event_pattern
@@ -543,10 +621,27 @@ module Aws::CloudWatchEvents
543
621
  # targets if they are already associated with the rule.
544
622
  #
545
623
  # Targets are the resources that are invoked when a rule is triggered.
546
- # Example targets include EC2 instances, AWS Lambda functions, Amazon
547
- # Kinesis streams, Amazon ECS tasks, AWS Step Functions state machines,
548
- # and built-in targets. Note that creating rules with built-in targets
549
- # is supported only in the AWS Management Console.
624
+ #
625
+ # You can configure the following as targets for CloudWatch Events:
626
+ #
627
+ # * EC2 instances
628
+ #
629
+ # * AWS Lambda functions
630
+ #
631
+ # * Streams in Amazon Kinesis Streams
632
+ #
633
+ # * Delivery streams in Amazon Kinesis Firehose
634
+ #
635
+ # * Amazon ECS tasks
636
+ #
637
+ # * AWS Step Functions state machines
638
+ #
639
+ # * Amazon SNS topics
640
+ #
641
+ # * Amazon SQS queues
642
+ #
643
+ # Note that creating rules with built-in targets is supported only in
644
+ # the AWS Management Console.
550
645
  #
551
646
  # For some target types, `PutTargets` provides target-specific
552
647
  # parameters. If the target is an Amazon Kinesis stream, you can
@@ -559,10 +654,17 @@ module Aws::CloudWatchEvents
559
654
  # Lambda and Amazon SNS resources, CloudWatch Events relies on
560
655
  # resource-based policies. For EC2 instances, Amazon Kinesis streams,
561
656
  # and AWS Step Functions state machines, CloudWatch Events relies on IAM
562
- # roles that you specify in the `RoleARN` argument in `PutTarget`. For
657
+ # roles that you specify in the `RoleARN` argument in `PutTargets`. For
563
658
  # more information, see [Authentication and Access Control][1] in the
564
659
  # *Amazon CloudWatch Events User Guide*.
565
660
  #
661
+ # If another AWS account is in the same region and has granted you
662
+ # permission (using `PutPermission`), you can set that account's event
663
+ # bus as a target of the rules in your account. To send the matched
664
+ # events to the other account, specify that account's event bus as the
665
+ # `Arn` when you run `PutTargets`. For more information about enabling
666
+ # cross-account events, see PutPermission.
667
+ #
566
668
  # **Input**, **InputPath** and **InputTransformer** are mutually
567
669
  # exclusive and optional parameters of a target. When a rule is
568
670
  # triggered due to a matched event:
@@ -664,6 +766,33 @@ module Aws::CloudWatchEvents
664
766
  req.send_request(options)
665
767
  end
666
768
 
769
+ # Revokes the permission of another AWS account to be able to put events
770
+ # to your default event bus. Specify the account to revoke by the
771
+ # `StatementId` value that you associated with the account when you
772
+ # granted it permission with `PutPermission`. You can find the
773
+ # `StatementId` by using DescribeEventBus.
774
+ #
775
+ # @option params [required, String] :statement_id
776
+ # The statement ID corresponding to the account that is no longer
777
+ # allowed to put events to the default event bus.
778
+ #
779
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
780
+ #
781
+ # @example Request syntax with placeholder values
782
+ #
783
+ # resp = client.remove_permission({
784
+ # statement_id: "StatementId", # required
785
+ # })
786
+ #
787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermission AWS API Documentation
788
+ #
789
+ # @overload remove_permission(params = {})
790
+ # @param [Hash] params ({})
791
+ def remove_permission(params = {}, options = {})
792
+ req = build_request(:remove_permission, params)
793
+ req.send_request(options)
794
+ end
795
+
667
796
  # Removes the specified targets from the specified rule. When the rule
668
797
  # is triggered, those targets are no longer be invoked.
669
798
  #
@@ -767,7 +896,7 @@ module Aws::CloudWatchEvents
767
896
  params: params,
768
897
  config: config)
769
898
  context[:gem_name] = 'aws-sdk-cloudwatchevents'
770
- context[:gem_version] = '1.0.0.rc6'
899
+ context[:gem_version] = '1.0.0.rc7'
771
900
  Seahorse::Client::Request.new(handlers, context)
772
901
  end
773
902
 
@@ -11,10 +11,13 @@ module Aws::CloudWatchEvents
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ Action = Shapes::StringShape.new(name: 'Action')
14
15
  Arn = Shapes::StringShape.new(name: 'Arn')
15
16
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
16
17
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
17
18
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
19
+ DescribeEventBusRequest = Shapes::StructureShape.new(name: 'DescribeEventBusRequest')
20
+ DescribeEventBusResponse = Shapes::StructureShape.new(name: 'DescribeEventBusResponse')
18
21
  DescribeRuleRequest = Shapes::StructureShape.new(name: 'DescribeRuleRequest')
19
22
  DescribeRuleResponse = Shapes::StructureShape.new(name: 'DescribeRuleResponse')
20
23
  DisableRuleRequest = Shapes::StructureShape.new(name: 'DisableRuleRequest')
@@ -43,18 +46,22 @@ module Aws::CloudWatchEvents
43
46
  ListTargetsByRuleRequest = Shapes::StructureShape.new(name: 'ListTargetsByRuleRequest')
44
47
  ListTargetsByRuleResponse = Shapes::StructureShape.new(name: 'ListTargetsByRuleResponse')
45
48
  NextToken = Shapes::StringShape.new(name: 'NextToken')
49
+ PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
50
+ Principal = Shapes::StringShape.new(name: 'Principal')
46
51
  PutEventsRequest = Shapes::StructureShape.new(name: 'PutEventsRequest')
47
52
  PutEventsRequestEntry = Shapes::StructureShape.new(name: 'PutEventsRequestEntry')
48
53
  PutEventsRequestEntryList = Shapes::ListShape.new(name: 'PutEventsRequestEntryList')
49
54
  PutEventsResponse = Shapes::StructureShape.new(name: 'PutEventsResponse')
50
55
  PutEventsResultEntry = Shapes::StructureShape.new(name: 'PutEventsResultEntry')
51
56
  PutEventsResultEntryList = Shapes::ListShape.new(name: 'PutEventsResultEntryList')
57
+ PutPermissionRequest = Shapes::StructureShape.new(name: 'PutPermissionRequest')
52
58
  PutRuleRequest = Shapes::StructureShape.new(name: 'PutRuleRequest')
53
59
  PutRuleResponse = Shapes::StructureShape.new(name: 'PutRuleResponse')
54
60
  PutTargetsRequest = Shapes::StructureShape.new(name: 'PutTargetsRequest')
55
61
  PutTargetsResponse = Shapes::StructureShape.new(name: 'PutTargetsResponse')
56
62
  PutTargetsResultEntry = Shapes::StructureShape.new(name: 'PutTargetsResultEntry')
57
63
  PutTargetsResultEntryList = Shapes::ListShape.new(name: 'PutTargetsResultEntryList')
64
+ RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
58
65
  RemoveTargetsRequest = Shapes::StructureShape.new(name: 'RemoveTargetsRequest')
59
66
  RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
60
67
  RemoveTargetsResultEntry = Shapes::StructureShape.new(name: 'RemoveTargetsResultEntry')
@@ -75,6 +82,7 @@ module Aws::CloudWatchEvents
75
82
  RunCommandTargetValues = Shapes::ListShape.new(name: 'RunCommandTargetValues')
76
83
  RunCommandTargets = Shapes::ListShape.new(name: 'RunCommandTargets')
77
84
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
85
+ StatementId = Shapes::StringShape.new(name: 'StatementId')
78
86
  String = Shapes::StringShape.new(name: 'String')
79
87
  Target = Shapes::StructureShape.new(name: 'Target')
80
88
  TargetArn = Shapes::StringShape.new(name: 'TargetArn')
@@ -92,6 +100,13 @@ module Aws::CloudWatchEvents
92
100
  DeleteRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
93
101
  DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
94
102
 
103
+ DescribeEventBusRequest.struct_class = Types::DescribeEventBusRequest
104
+
105
+ DescribeEventBusResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
106
+ DescribeEventBusResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
107
+ DescribeEventBusResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
108
+ DescribeEventBusResponse.struct_class = Types::DescribeEventBusResponse
109
+
95
110
  DescribeRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
96
111
  DescribeRuleRequest.struct_class = Types::DescribeRuleRequest
97
112
 
@@ -173,6 +188,11 @@ module Aws::CloudWatchEvents
173
188
 
174
189
  PutEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutEventsResultEntry)
175
190
 
191
+ PutPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
192
+ PutPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location_name: "Principal"))
193
+ PutPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
194
+ PutPermissionRequest.struct_class = Types::PutPermissionRequest
195
+
176
196
  PutRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
177
197
  PutRuleRequest.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
178
198
  PutRuleRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
@@ -199,6 +219,9 @@ module Aws::CloudWatchEvents
199
219
 
200
220
  PutTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: PutTargetsResultEntry)
201
221
 
222
+ RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
223
+ RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
224
+
202
225
  RemoveTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
203
226
  RemoveTargetsRequest.add_member(:ids, Shapes::ShapeRef.new(shape: TargetIdList, required: true, location_name: "Ids"))
204
227
  RemoveTargetsRequest.struct_class = Types::RemoveTargetsRequest
@@ -288,6 +311,16 @@ module Aws::CloudWatchEvents
288
311
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
289
312
  end)
290
313
 
314
+ api.add_operation(:describe_event_bus, Seahorse::Model::Operation.new.tap do |o|
315
+ o.name = "DescribeEventBus"
316
+ o.http_method = "POST"
317
+ o.http_request_uri = "/"
318
+ o.input = Shapes::ShapeRef.new(shape: DescribeEventBusRequest)
319
+ o.output = Shapes::ShapeRef.new(shape: DescribeEventBusResponse)
320
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
321
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
322
+ end)
323
+
291
324
  api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
292
325
  o.name = "DescribeRule"
293
326
  o.http_method = "POST"
@@ -357,6 +390,17 @@ module Aws::CloudWatchEvents
357
390
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
358
391
  end)
359
392
 
393
+ api.add_operation(:put_permission, Seahorse::Model::Operation.new.tap do |o|
394
+ o.name = "PutPermission"
395
+ o.http_method = "POST"
396
+ o.http_request_uri = "/"
397
+ o.input = Shapes::ShapeRef.new(shape: PutPermissionRequest)
398
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
399
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
400
+ o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
401
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
402
+ end)
403
+
360
404
  api.add_operation(:put_rule, Seahorse::Model::Operation.new.tap do |o|
361
405
  o.name = "PutRule"
362
406
  o.http_method = "POST"
@@ -381,6 +425,16 @@ module Aws::CloudWatchEvents
381
425
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
382
426
  end)
383
427
 
428
+ api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
429
+ o.name = "RemovePermission"
430
+ o.http_method = "POST"
431
+ o.http_request_uri = "/"
432
+ o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
433
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
434
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
435
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
436
+ end)
437
+
384
438
  api.add_operation(:remove_targets, Seahorse::Model::Operation.new.tap do |o|
385
439
  o.name = "RemoveTargets"
386
440
  o.http_method = "POST"
@@ -26,6 +26,35 @@ module Aws::CloudWatchEvents
26
26
  include Aws::Structure
27
27
  end
28
28
 
29
+ # @api private
30
+ #
31
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBusRequest AWS API Documentation
32
+ #
33
+ class DescribeEventBusRequest < Aws::EmptyStructure; end
34
+
35
+ # @!attribute [rw] name
36
+ # The name of the event bus. Currently, this is always `default`.
37
+ # @return [String]
38
+ #
39
+ # @!attribute [rw] arn
40
+ # The Amazon Resource Name (ARN) of the account permitted to write
41
+ # events to the current account.
42
+ # @return [String]
43
+ #
44
+ # @!attribute [rw] policy
45
+ # The policy that enables the external account to send events to your
46
+ # account.
47
+ # @return [String]
48
+ #
49
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBusResponse AWS API Documentation
50
+ #
51
+ class DescribeEventBusResponse < Struct.new(
52
+ :name,
53
+ :arn,
54
+ :policy)
55
+ include Aws::Structure
56
+ end
57
+
29
58
  # @note When making an API call, you may pass DescribeRuleRequest
30
59
  # data as a hash:
31
60
  #
@@ -487,6 +516,48 @@ module Aws::CloudWatchEvents
487
516
  include Aws::Structure
488
517
  end
489
518
 
519
+ # @note When making an API call, you may pass PutPermissionRequest
520
+ # data as a hash:
521
+ #
522
+ # {
523
+ # action: "Action", # required
524
+ # principal: "Principal", # required
525
+ # statement_id: "StatementId", # required
526
+ # }
527
+ #
528
+ # @!attribute [rw] action
529
+ # The action that you are enabling the other account to perform.
530
+ # Currently, this must be `events:PutEvents`.
531
+ # @return [String]
532
+ #
533
+ # @!attribute [rw] principal
534
+ # The 12-digit AWS account ID that you are permitting to put events to
535
+ # your default event bus. Specify "*" to permit any account to put
536
+ # events to your default event bus.
537
+ #
538
+ # If you specify "*", avoid creating rules that may match
539
+ # undesirable events. To create more secure rules, make sure that the
540
+ # event pattern for each rule contains an `account` field with a
541
+ # specific account ID from which to receive events. Rules with an
542
+ # account field do not match any events sent from other accounts.
543
+ # @return [String]
544
+ #
545
+ # @!attribute [rw] statement_id
546
+ # An identifier string for the external account that you are granting
547
+ # permissions to. If you later want to revoke the permission for this
548
+ # external account, specify this `StatementId` when you run
549
+ # RemovePermission.
550
+ # @return [String]
551
+ #
552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermissionRequest AWS API Documentation
553
+ #
554
+ class PutPermissionRequest < Struct.new(
555
+ :action,
556
+ :principal,
557
+ :statement_id)
558
+ include Aws::Structure
559
+ end
560
+
490
561
  # @note When making an API call, you may pass PutRuleRequest
491
562
  # data as a hash:
492
563
  #
@@ -504,7 +575,7 @@ module Aws::CloudWatchEvents
504
575
  # @return [String]
505
576
  #
506
577
  # @!attribute [rw] schedule_expression
507
- # The scheduling expression. For example, "cron(0 20 * * ? *)",
578
+ # The scheduling expression. For example, "cron(0 20 * * ? *)" or
508
579
  # "rate(5 minutes)".
509
580
  # @return [String]
510
581
  #
@@ -647,6 +718,25 @@ module Aws::CloudWatchEvents
647
718
  include Aws::Structure
648
719
  end
649
720
 
721
+ # @note When making an API call, you may pass RemovePermissionRequest
722
+ # data as a hash:
723
+ #
724
+ # {
725
+ # statement_id: "StatementId", # required
726
+ # }
727
+ #
728
+ # @!attribute [rw] statement_id
729
+ # The statement ID corresponding to the account that is no longer
730
+ # allowed to put events to the default event bus.
731
+ # @return [String]
732
+ #
733
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermissionRequest AWS API Documentation
734
+ #
735
+ class RemovePermissionRequest < Struct.new(
736
+ :statement_id)
737
+ include Aws::Structure
738
+ end
739
+
650
740
  # @note When making an API call, you may pass RemoveTargetsRequest
651
741
  # data as a hash:
652
742
  #
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.0.0.rc6
4
+ version: 1.0.0.rc7
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: 2017-06-29 00:00:00.000000000 Z
11
+ date: 2017-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc14
19
+ version: 3.0.0.rc15
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc14
26
+ version: 3.0.0.rc15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement