aws-sdk-eventbridge 1.17.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +123 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-eventbridge.rb +2 -2
- data/lib/aws-sdk-eventbridge/client.rb +746 -48
- data/lib/aws-sdk-eventbridge/client_api.rb +458 -17
- data/lib/aws-sdk-eventbridge/errors.rb +1 -1
- data/lib/aws-sdk-eventbridge/resource.rb +1 -1
- data/lib/aws-sdk-eventbridge/types.rb +1887 -96
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 245908d4d2af755f0a291483e06dae3c3b8aaa28695b977e21ec038b990a08d4
|
4
|
+
data.tar.gz: 98fc2b8183fbe535f778215a224d3fc0899722e2b7b8ba19836d5ae73cd32765
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f4233b498b513d44acf34530891cb64a912e15d6fcaaf2bf9d9e880e2dd8f7129640f745c7f64338f1290a7f40fedfb848628c08711d740297cd707c7e8a2f9
|
7
|
+
data.tar.gz: a18f18567e57bb629255ceafea415737ae44104dc654d3a2b30ddf17a5f1988027af655ef607b9b8110319321eca6be5e3ca4b0e3f081c917c4d9a4b07ba82c7
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.22.0 (2021-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.21.0 (2021-03-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Introducing support for EventBridge Api Destinations - any HTTP APIs as Targets, with managed authorization via EventBridge Connections.
|
13
|
+
|
14
|
+
1.20.0 (2021-03-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Adds TraceHeader to PutEventsRequestEntry to support AWS X-Ray trace-ids on events generated using the PutEvents operation.
|
18
|
+
|
19
|
+
1.19.0 (2021-02-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.18.0 (2020-11-19)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - EventBridge now supports Resource-based policy authorization on event buses. This enables cross-account PutEvents API calls, creating cross-account rules, and simplifies permission management.
|
28
|
+
|
29
|
+
1.17.0 (2020-11-05)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - With this release, customers can now reprocess past events by storing the events published on event bus in an encrypted archive.
|
33
|
+
|
34
|
+
1.16.0 (2020-10-08)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Amazon EventBridge adds support for target Dead Letter Queues (DLQs) and custom retry policies.
|
38
|
+
|
39
|
+
1.15.0 (2020-09-30)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.14.0 (2020-09-21)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Add support for Redshift Data API Targets
|
48
|
+
|
49
|
+
1.13.0 (2020-09-15)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.12.0 (2020-08-25)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.11.0 (2020-07-09)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Amazon EventBridge adds support for API Gateway as a target.
|
63
|
+
|
64
|
+
1.10.0 (2020-07-02)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
68
|
+
|
69
|
+
1.9.0 (2020-06-23)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
73
|
+
|
74
|
+
1.8.1 (2020-06-11)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
78
|
+
|
79
|
+
1.8.0 (2020-06-10)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Issue - This version has been yanked. (#2327).
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.7.0 (2020-05-28)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.6.0 (2020-05-07)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.5.0 (2020-03-09)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.4.0 (2020-02-24)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - This release allows you to create and manage tags for event buses.
|
104
|
+
|
105
|
+
1.3.0 (2019-10-23)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.2.0 (2019-10-08)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Documentation updates for Amazon EventBridge.
|
114
|
+
|
115
|
+
1.1.0 (2019-07-25)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
119
|
+
|
120
|
+
1.0.0 (2019-07-11)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Initial release of `aws-sdk-eventbridge`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.22.0
|
data/lib/aws-sdk-eventbridge.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-eventbridge/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::EventBridge
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.22.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -393,10 +393,70 @@ module Aws::EventBridge
|
|
393
393
|
req.send_request(options)
|
394
394
|
end
|
395
395
|
|
396
|
+
# Creates an API destination, which is an HTTP invocation endpoint
|
397
|
+
# configured as a target for events.
|
398
|
+
#
|
399
|
+
# @option params [required, String] :name
|
400
|
+
# The name for the API destination to create.
|
401
|
+
#
|
402
|
+
# @option params [String] :description
|
403
|
+
# A description for the API destination to create.
|
404
|
+
#
|
405
|
+
# @option params [required, String] :connection_arn
|
406
|
+
# The ARN of the connection to use for the API destination. The
|
407
|
+
# destination endpoint must support the authorization type specified for
|
408
|
+
# the connection.
|
409
|
+
#
|
410
|
+
# @option params [required, String] :invocation_endpoint
|
411
|
+
# The URL to the HTTP invocation endpoint for the API destination.
|
412
|
+
#
|
413
|
+
# @option params [required, String] :http_method
|
414
|
+
# The method to use for the request to the HTTP invocation endpoint.
|
415
|
+
#
|
416
|
+
# @option params [Integer] :invocation_rate_limit_per_second
|
417
|
+
# The maximum number of requests per second to send to the HTTP
|
418
|
+
# invocation endpoint.
|
419
|
+
#
|
420
|
+
# @return [Types::CreateApiDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
421
|
+
#
|
422
|
+
# * {Types::CreateApiDestinationResponse#api_destination_arn #api_destination_arn} => String
|
423
|
+
# * {Types::CreateApiDestinationResponse#api_destination_state #api_destination_state} => String
|
424
|
+
# * {Types::CreateApiDestinationResponse#creation_time #creation_time} => Time
|
425
|
+
# * {Types::CreateApiDestinationResponse#last_modified_time #last_modified_time} => Time
|
426
|
+
#
|
427
|
+
# @example Request syntax with placeholder values
|
428
|
+
#
|
429
|
+
# resp = client.create_api_destination({
|
430
|
+
# name: "ApiDestinationName", # required
|
431
|
+
# description: "ApiDestinationDescription",
|
432
|
+
# connection_arn: "ConnectionArn", # required
|
433
|
+
# invocation_endpoint: "HttpsEndpoint", # required
|
434
|
+
# http_method: "POST", # required, accepts POST, GET, HEAD, OPTIONS, PUT, PATCH, DELETE
|
435
|
+
# invocation_rate_limit_per_second: 1,
|
436
|
+
# })
|
437
|
+
#
|
438
|
+
# @example Response structure
|
439
|
+
#
|
440
|
+
# resp.api_destination_arn #=> String
|
441
|
+
# resp.api_destination_state #=> String, one of "ACTIVE", "INACTIVE"
|
442
|
+
# resp.creation_time #=> Time
|
443
|
+
# resp.last_modified_time #=> Time
|
444
|
+
#
|
445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateApiDestination AWS API Documentation
|
446
|
+
#
|
447
|
+
# @overload create_api_destination(params = {})
|
448
|
+
# @param [Hash] params ({})
|
449
|
+
def create_api_destination(params = {}, options = {})
|
450
|
+
req = build_request(:create_api_destination, params)
|
451
|
+
req.send_request(options)
|
452
|
+
end
|
453
|
+
|
396
454
|
# Creates an archive of events with the specified settings. When you
|
397
455
|
# create an archive, incoming events might not immediately start being
|
398
456
|
# sent to the archive. Allow a short period of time for changes to take
|
399
|
-
# effect.
|
457
|
+
# effect. If you do not specify a pattern to filter events sent to the
|
458
|
+
# archive, all events are sent to the archive except replayed events.
|
459
|
+
# Replayed events are not sent to an archive.
|
400
460
|
#
|
401
461
|
# @option params [required, String] :archive_name
|
402
462
|
# The name for the archive to create.
|
@@ -447,6 +507,118 @@ module Aws::EventBridge
|
|
447
507
|
req.send_request(options)
|
448
508
|
end
|
449
509
|
|
510
|
+
# Creates a connection. A connection defines the authorization type and
|
511
|
+
# credentials to use for authorization with an API destination HTTP
|
512
|
+
# endpoint.
|
513
|
+
#
|
514
|
+
# @option params [required, String] :name
|
515
|
+
# The name for the connection to create.
|
516
|
+
#
|
517
|
+
# @option params [String] :description
|
518
|
+
# A description for the connection to create.
|
519
|
+
#
|
520
|
+
# @option params [required, String] :authorization_type
|
521
|
+
# The type of authorization to use for the connection.
|
522
|
+
#
|
523
|
+
# @option params [required, Types::CreateConnectionAuthRequestParameters] :auth_parameters
|
524
|
+
# A `CreateConnectionAuthRequestParameters` object that contains the
|
525
|
+
# authorization parameters to use to authorize with the endpoint.
|
526
|
+
#
|
527
|
+
# @return [Types::CreateConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
528
|
+
#
|
529
|
+
# * {Types::CreateConnectionResponse#connection_arn #connection_arn} => String
|
530
|
+
# * {Types::CreateConnectionResponse#connection_state #connection_state} => String
|
531
|
+
# * {Types::CreateConnectionResponse#creation_time #creation_time} => Time
|
532
|
+
# * {Types::CreateConnectionResponse#last_modified_time #last_modified_time} => Time
|
533
|
+
#
|
534
|
+
# @example Request syntax with placeholder values
|
535
|
+
#
|
536
|
+
# resp = client.create_connection({
|
537
|
+
# name: "ConnectionName", # required
|
538
|
+
# description: "ConnectionDescription",
|
539
|
+
# authorization_type: "BASIC", # required, accepts BASIC, OAUTH_CLIENT_CREDENTIALS, API_KEY
|
540
|
+
# auth_parameters: { # required
|
541
|
+
# basic_auth_parameters: {
|
542
|
+
# username: "AuthHeaderParameters", # required
|
543
|
+
# password: "AuthHeaderParameters", # required
|
544
|
+
# },
|
545
|
+
# o_auth_parameters: {
|
546
|
+
# client_parameters: { # required
|
547
|
+
# client_id: "AuthHeaderParameters", # required
|
548
|
+
# client_secret: "AuthHeaderParameters", # required
|
549
|
+
# },
|
550
|
+
# authorization_endpoint: "HttpsEndpoint", # required
|
551
|
+
# http_method: "GET", # required, accepts GET, POST, PUT
|
552
|
+
# o_auth_http_parameters: {
|
553
|
+
# header_parameters: [
|
554
|
+
# {
|
555
|
+
# key: "HeaderKey",
|
556
|
+
# value: "HeaderValue",
|
557
|
+
# is_value_secret: false,
|
558
|
+
# },
|
559
|
+
# ],
|
560
|
+
# query_string_parameters: [
|
561
|
+
# {
|
562
|
+
# key: "QueryStringKey",
|
563
|
+
# value: "QueryStringValue",
|
564
|
+
# is_value_secret: false,
|
565
|
+
# },
|
566
|
+
# ],
|
567
|
+
# body_parameters: [
|
568
|
+
# {
|
569
|
+
# key: "String",
|
570
|
+
# value: "String",
|
571
|
+
# is_value_secret: false,
|
572
|
+
# },
|
573
|
+
# ],
|
574
|
+
# },
|
575
|
+
# },
|
576
|
+
# api_key_auth_parameters: {
|
577
|
+
# api_key_name: "AuthHeaderParameters", # required
|
578
|
+
# api_key_value: "AuthHeaderParameters", # required
|
579
|
+
# },
|
580
|
+
# invocation_http_parameters: {
|
581
|
+
# header_parameters: [
|
582
|
+
# {
|
583
|
+
# key: "HeaderKey",
|
584
|
+
# value: "HeaderValue",
|
585
|
+
# is_value_secret: false,
|
586
|
+
# },
|
587
|
+
# ],
|
588
|
+
# query_string_parameters: [
|
589
|
+
# {
|
590
|
+
# key: "QueryStringKey",
|
591
|
+
# value: "QueryStringValue",
|
592
|
+
# is_value_secret: false,
|
593
|
+
# },
|
594
|
+
# ],
|
595
|
+
# body_parameters: [
|
596
|
+
# {
|
597
|
+
# key: "String",
|
598
|
+
# value: "String",
|
599
|
+
# is_value_secret: false,
|
600
|
+
# },
|
601
|
+
# ],
|
602
|
+
# },
|
603
|
+
# },
|
604
|
+
# })
|
605
|
+
#
|
606
|
+
# @example Response structure
|
607
|
+
#
|
608
|
+
# resp.connection_arn #=> String
|
609
|
+
# resp.connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
|
610
|
+
# resp.creation_time #=> Time
|
611
|
+
# resp.last_modified_time #=> Time
|
612
|
+
#
|
613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateConnection AWS API Documentation
|
614
|
+
#
|
615
|
+
# @overload create_connection(params = {})
|
616
|
+
# @param [Hash] params ({})
|
617
|
+
def create_connection(params = {}, options = {})
|
618
|
+
req = build_request(:create_connection, params)
|
619
|
+
req.send_request(options)
|
620
|
+
end
|
621
|
+
|
450
622
|
# Creates a new event bus within your account. This can be a custom
|
451
623
|
# event bus which you can use to receive events from your custom
|
452
624
|
# applications and services, or it can be a partner event bus which can
|
@@ -593,6 +765,66 @@ module Aws::EventBridge
|
|
593
765
|
req.send_request(options)
|
594
766
|
end
|
595
767
|
|
768
|
+
# Removes all authorization parameters from the connection. This lets
|
769
|
+
# you remove the secret from the connection so you can reuse it without
|
770
|
+
# having to create a new connection.
|
771
|
+
#
|
772
|
+
# @option params [required, String] :name
|
773
|
+
# The name of the connection to remove authorization from.
|
774
|
+
#
|
775
|
+
# @return [Types::DeauthorizeConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
776
|
+
#
|
777
|
+
# * {Types::DeauthorizeConnectionResponse#connection_arn #connection_arn} => String
|
778
|
+
# * {Types::DeauthorizeConnectionResponse#connection_state #connection_state} => String
|
779
|
+
# * {Types::DeauthorizeConnectionResponse#creation_time #creation_time} => Time
|
780
|
+
# * {Types::DeauthorizeConnectionResponse#last_modified_time #last_modified_time} => Time
|
781
|
+
# * {Types::DeauthorizeConnectionResponse#last_authorized_time #last_authorized_time} => Time
|
782
|
+
#
|
783
|
+
# @example Request syntax with placeholder values
|
784
|
+
#
|
785
|
+
# resp = client.deauthorize_connection({
|
786
|
+
# name: "ConnectionName", # required
|
787
|
+
# })
|
788
|
+
#
|
789
|
+
# @example Response structure
|
790
|
+
#
|
791
|
+
# resp.connection_arn #=> String
|
792
|
+
# resp.connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
|
793
|
+
# resp.creation_time #=> Time
|
794
|
+
# resp.last_modified_time #=> Time
|
795
|
+
# resp.last_authorized_time #=> Time
|
796
|
+
#
|
797
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeauthorizeConnection AWS API Documentation
|
798
|
+
#
|
799
|
+
# @overload deauthorize_connection(params = {})
|
800
|
+
# @param [Hash] params ({})
|
801
|
+
def deauthorize_connection(params = {}, options = {})
|
802
|
+
req = build_request(:deauthorize_connection, params)
|
803
|
+
req.send_request(options)
|
804
|
+
end
|
805
|
+
|
806
|
+
# Deletes the specified API destination.
|
807
|
+
#
|
808
|
+
# @option params [required, String] :name
|
809
|
+
# The name of the destination to delete.
|
810
|
+
#
|
811
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
812
|
+
#
|
813
|
+
# @example Request syntax with placeholder values
|
814
|
+
#
|
815
|
+
# resp = client.delete_api_destination({
|
816
|
+
# name: "ApiDestinationName", # required
|
817
|
+
# })
|
818
|
+
#
|
819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteApiDestination AWS API Documentation
|
820
|
+
#
|
821
|
+
# @overload delete_api_destination(params = {})
|
822
|
+
# @param [Hash] params ({})
|
823
|
+
def delete_api_destination(params = {}, options = {})
|
824
|
+
req = build_request(:delete_api_destination, params)
|
825
|
+
req.send_request(options)
|
826
|
+
end
|
827
|
+
|
596
828
|
# Deletes the specified archive.
|
597
829
|
#
|
598
830
|
# @option params [required, String] :archive_name
|
@@ -615,6 +847,42 @@ module Aws::EventBridge
|
|
615
847
|
req.send_request(options)
|
616
848
|
end
|
617
849
|
|
850
|
+
# Deletes a connection.
|
851
|
+
#
|
852
|
+
# @option params [required, String] :name
|
853
|
+
# The name of the connection to delete.
|
854
|
+
#
|
855
|
+
# @return [Types::DeleteConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
856
|
+
#
|
857
|
+
# * {Types::DeleteConnectionResponse#connection_arn #connection_arn} => String
|
858
|
+
# * {Types::DeleteConnectionResponse#connection_state #connection_state} => String
|
859
|
+
# * {Types::DeleteConnectionResponse#creation_time #creation_time} => Time
|
860
|
+
# * {Types::DeleteConnectionResponse#last_modified_time #last_modified_time} => Time
|
861
|
+
# * {Types::DeleteConnectionResponse#last_authorized_time #last_authorized_time} => Time
|
862
|
+
#
|
863
|
+
# @example Request syntax with placeholder values
|
864
|
+
#
|
865
|
+
# resp = client.delete_connection({
|
866
|
+
# name: "ConnectionName", # required
|
867
|
+
# })
|
868
|
+
#
|
869
|
+
# @example Response structure
|
870
|
+
#
|
871
|
+
# resp.connection_arn #=> String
|
872
|
+
# resp.connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
|
873
|
+
# resp.creation_time #=> Time
|
874
|
+
# resp.last_modified_time #=> Time
|
875
|
+
# resp.last_authorized_time #=> Time
|
876
|
+
#
|
877
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteConnection AWS API Documentation
|
878
|
+
#
|
879
|
+
# @overload delete_connection(params = {})
|
880
|
+
# @param [Hash] params ({})
|
881
|
+
def delete_connection(params = {}, options = {})
|
882
|
+
req = build_request(:delete_connection, params)
|
883
|
+
req.send_request(options)
|
884
|
+
end
|
885
|
+
|
618
886
|
# Deletes the specified custom event bus or partner event bus. All rules
|
619
887
|
# associated with this event bus need to be deleted. You can't delete
|
620
888
|
# your account's default event bus.
|
@@ -688,8 +956,8 @@ module Aws::EventBridge
|
|
688
956
|
# The name of the rule.
|
689
957
|
#
|
690
958
|
# @option params [String] :event_bus_name
|
691
|
-
# The event bus associated with the rule. If you omit
|
692
|
-
# event bus is used.
|
959
|
+
# The name or ARN of the event bus associated with the rule. If you omit
|
960
|
+
# this, the default event bus is used.
|
693
961
|
#
|
694
962
|
# @option params [Boolean] :force
|
695
963
|
# If this is a managed rule, created by an AWS service on your behalf,
|
@@ -704,7 +972,7 @@ module Aws::EventBridge
|
|
704
972
|
#
|
705
973
|
# resp = client.delete_rule({
|
706
974
|
# name: "RuleName", # required
|
707
|
-
# event_bus_name: "
|
975
|
+
# event_bus_name: "EventBusNameOrArn",
|
708
976
|
# force: false,
|
709
977
|
# })
|
710
978
|
#
|
@@ -717,6 +985,52 @@ module Aws::EventBridge
|
|
717
985
|
req.send_request(options)
|
718
986
|
end
|
719
987
|
|
988
|
+
# Retrieves details about an API destination.
|
989
|
+
#
|
990
|
+
# @option params [required, String] :name
|
991
|
+
# The name of the API destination to retrieve.
|
992
|
+
#
|
993
|
+
# @return [Types::DescribeApiDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
994
|
+
#
|
995
|
+
# * {Types::DescribeApiDestinationResponse#api_destination_arn #api_destination_arn} => String
|
996
|
+
# * {Types::DescribeApiDestinationResponse#name #name} => String
|
997
|
+
# * {Types::DescribeApiDestinationResponse#description #description} => String
|
998
|
+
# * {Types::DescribeApiDestinationResponse#api_destination_state #api_destination_state} => String
|
999
|
+
# * {Types::DescribeApiDestinationResponse#connection_arn #connection_arn} => String
|
1000
|
+
# * {Types::DescribeApiDestinationResponse#invocation_endpoint #invocation_endpoint} => String
|
1001
|
+
# * {Types::DescribeApiDestinationResponse#http_method #http_method} => String
|
1002
|
+
# * {Types::DescribeApiDestinationResponse#invocation_rate_limit_per_second #invocation_rate_limit_per_second} => Integer
|
1003
|
+
# * {Types::DescribeApiDestinationResponse#creation_time #creation_time} => Time
|
1004
|
+
# * {Types::DescribeApiDestinationResponse#last_modified_time #last_modified_time} => Time
|
1005
|
+
#
|
1006
|
+
# @example Request syntax with placeholder values
|
1007
|
+
#
|
1008
|
+
# resp = client.describe_api_destination({
|
1009
|
+
# name: "ApiDestinationName", # required
|
1010
|
+
# })
|
1011
|
+
#
|
1012
|
+
# @example Response structure
|
1013
|
+
#
|
1014
|
+
# resp.api_destination_arn #=> String
|
1015
|
+
# resp.name #=> String
|
1016
|
+
# resp.description #=> String
|
1017
|
+
# resp.api_destination_state #=> String, one of "ACTIVE", "INACTIVE"
|
1018
|
+
# resp.connection_arn #=> String
|
1019
|
+
# resp.invocation_endpoint #=> String
|
1020
|
+
# resp.http_method #=> String, one of "POST", "GET", "HEAD", "OPTIONS", "PUT", "PATCH", "DELETE"
|
1021
|
+
# resp.invocation_rate_limit_per_second #=> Integer
|
1022
|
+
# resp.creation_time #=> Time
|
1023
|
+
# resp.last_modified_time #=> Time
|
1024
|
+
#
|
1025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeApiDestination AWS API Documentation
|
1026
|
+
#
|
1027
|
+
# @overload describe_api_destination(params = {})
|
1028
|
+
# @param [Hash] params ({})
|
1029
|
+
def describe_api_destination(params = {}, options = {})
|
1030
|
+
req = build_request(:describe_api_destination, params)
|
1031
|
+
req.send_request(options)
|
1032
|
+
end
|
1033
|
+
|
720
1034
|
# Retrieves details about an archive.
|
721
1035
|
#
|
722
1036
|
# @option params [required, String] :archive_name
|
@@ -765,6 +1079,82 @@ module Aws::EventBridge
|
|
765
1079
|
req.send_request(options)
|
766
1080
|
end
|
767
1081
|
|
1082
|
+
# Retrieves details about a connection.
|
1083
|
+
#
|
1084
|
+
# @option params [required, String] :name
|
1085
|
+
# The name of the connection to retrieve.
|
1086
|
+
#
|
1087
|
+
# @return [Types::DescribeConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1088
|
+
#
|
1089
|
+
# * {Types::DescribeConnectionResponse#connection_arn #connection_arn} => String
|
1090
|
+
# * {Types::DescribeConnectionResponse#name #name} => String
|
1091
|
+
# * {Types::DescribeConnectionResponse#description #description} => String
|
1092
|
+
# * {Types::DescribeConnectionResponse#connection_state #connection_state} => String
|
1093
|
+
# * {Types::DescribeConnectionResponse#state_reason #state_reason} => String
|
1094
|
+
# * {Types::DescribeConnectionResponse#authorization_type #authorization_type} => String
|
1095
|
+
# * {Types::DescribeConnectionResponse#secret_arn #secret_arn} => String
|
1096
|
+
# * {Types::DescribeConnectionResponse#auth_parameters #auth_parameters} => Types::ConnectionAuthResponseParameters
|
1097
|
+
# * {Types::DescribeConnectionResponse#creation_time #creation_time} => Time
|
1098
|
+
# * {Types::DescribeConnectionResponse#last_modified_time #last_modified_time} => Time
|
1099
|
+
# * {Types::DescribeConnectionResponse#last_authorized_time #last_authorized_time} => Time
|
1100
|
+
#
|
1101
|
+
# @example Request syntax with placeholder values
|
1102
|
+
#
|
1103
|
+
# resp = client.describe_connection({
|
1104
|
+
# name: "ConnectionName", # required
|
1105
|
+
# })
|
1106
|
+
#
|
1107
|
+
# @example Response structure
|
1108
|
+
#
|
1109
|
+
# resp.connection_arn #=> String
|
1110
|
+
# resp.name #=> String
|
1111
|
+
# resp.description #=> String
|
1112
|
+
# resp.connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
|
1113
|
+
# resp.state_reason #=> String
|
1114
|
+
# resp.authorization_type #=> String, one of "BASIC", "OAUTH_CLIENT_CREDENTIALS", "API_KEY"
|
1115
|
+
# resp.secret_arn #=> String
|
1116
|
+
# resp.auth_parameters.basic_auth_parameters.username #=> String
|
1117
|
+
# resp.auth_parameters.o_auth_parameters.client_parameters.client_id #=> String
|
1118
|
+
# resp.auth_parameters.o_auth_parameters.authorization_endpoint #=> String
|
1119
|
+
# resp.auth_parameters.o_auth_parameters.http_method #=> String, one of "GET", "POST", "PUT"
|
1120
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.header_parameters #=> Array
|
1121
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.header_parameters[0].key #=> String
|
1122
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.header_parameters[0].value #=> String
|
1123
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.header_parameters[0].is_value_secret #=> Boolean
|
1124
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.query_string_parameters #=> Array
|
1125
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.query_string_parameters[0].key #=> String
|
1126
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.query_string_parameters[0].value #=> String
|
1127
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.query_string_parameters[0].is_value_secret #=> Boolean
|
1128
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.body_parameters #=> Array
|
1129
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.body_parameters[0].key #=> String
|
1130
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.body_parameters[0].value #=> String
|
1131
|
+
# resp.auth_parameters.o_auth_parameters.o_auth_http_parameters.body_parameters[0].is_value_secret #=> Boolean
|
1132
|
+
# resp.auth_parameters.api_key_auth_parameters.api_key_name #=> String
|
1133
|
+
# resp.auth_parameters.invocation_http_parameters.header_parameters #=> Array
|
1134
|
+
# resp.auth_parameters.invocation_http_parameters.header_parameters[0].key #=> String
|
1135
|
+
# resp.auth_parameters.invocation_http_parameters.header_parameters[0].value #=> String
|
1136
|
+
# resp.auth_parameters.invocation_http_parameters.header_parameters[0].is_value_secret #=> Boolean
|
1137
|
+
# resp.auth_parameters.invocation_http_parameters.query_string_parameters #=> Array
|
1138
|
+
# resp.auth_parameters.invocation_http_parameters.query_string_parameters[0].key #=> String
|
1139
|
+
# resp.auth_parameters.invocation_http_parameters.query_string_parameters[0].value #=> String
|
1140
|
+
# resp.auth_parameters.invocation_http_parameters.query_string_parameters[0].is_value_secret #=> Boolean
|
1141
|
+
# resp.auth_parameters.invocation_http_parameters.body_parameters #=> Array
|
1142
|
+
# resp.auth_parameters.invocation_http_parameters.body_parameters[0].key #=> String
|
1143
|
+
# resp.auth_parameters.invocation_http_parameters.body_parameters[0].value #=> String
|
1144
|
+
# resp.auth_parameters.invocation_http_parameters.body_parameters[0].is_value_secret #=> Boolean
|
1145
|
+
# resp.creation_time #=> Time
|
1146
|
+
# resp.last_modified_time #=> Time
|
1147
|
+
# resp.last_authorized_time #=> Time
|
1148
|
+
#
|
1149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeConnection AWS API Documentation
|
1150
|
+
#
|
1151
|
+
# @overload describe_connection(params = {})
|
1152
|
+
# @param [Hash] params ({})
|
1153
|
+
def describe_connection(params = {}, options = {})
|
1154
|
+
req = build_request(:describe_connection, params)
|
1155
|
+
req.send_request(options)
|
1156
|
+
end
|
1157
|
+
|
768
1158
|
# Displays details about an event bus in your account. This can include
|
769
1159
|
# the external AWS accounts that are permitted to write events to your
|
770
1160
|
# default event bus, and the associated policy. For custom event buses
|
@@ -777,8 +1167,8 @@ module Aws::EventBridge
|
|
777
1167
|
# For more information about partner event buses, see CreateEventBus.
|
778
1168
|
#
|
779
1169
|
# @option params [String] :name
|
780
|
-
# The name of the event bus to show details for. If you omit
|
781
|
-
# default event bus is displayed.
|
1170
|
+
# The name or ARN of the event bus to show details for. If you omit
|
1171
|
+
# this, the default event bus is displayed.
|
782
1172
|
#
|
783
1173
|
# @return [Types::DescribeEventBusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
784
1174
|
#
|
@@ -789,7 +1179,7 @@ module Aws::EventBridge
|
|
789
1179
|
# @example Request syntax with placeholder values
|
790
1180
|
#
|
791
1181
|
# resp = client.describe_event_bus({
|
792
|
-
# name: "
|
1182
|
+
# name: "EventBusNameOrArn",
|
793
1183
|
# })
|
794
1184
|
#
|
795
1185
|
# @example Response structure
|
@@ -949,8 +1339,8 @@ module Aws::EventBridge
|
|
949
1339
|
# The name of the rule.
|
950
1340
|
#
|
951
1341
|
# @option params [String] :event_bus_name
|
952
|
-
# The event bus associated with the rule. If you omit
|
953
|
-
# event bus is used.
|
1342
|
+
# The name or ARN of the event bus associated with the rule. If you omit
|
1343
|
+
# this, the default event bus is used.
|
954
1344
|
#
|
955
1345
|
# @return [Types::DescribeRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
956
1346
|
#
|
@@ -963,12 +1353,13 @@ module Aws::EventBridge
|
|
963
1353
|
# * {Types::DescribeRuleResponse#role_arn #role_arn} => String
|
964
1354
|
# * {Types::DescribeRuleResponse#managed_by #managed_by} => String
|
965
1355
|
# * {Types::DescribeRuleResponse#event_bus_name #event_bus_name} => String
|
1356
|
+
# * {Types::DescribeRuleResponse#created_by #created_by} => String
|
966
1357
|
#
|
967
1358
|
# @example Request syntax with placeholder values
|
968
1359
|
#
|
969
1360
|
# resp = client.describe_rule({
|
970
1361
|
# name: "RuleName", # required
|
971
|
-
# event_bus_name: "
|
1362
|
+
# event_bus_name: "EventBusNameOrArn",
|
972
1363
|
# })
|
973
1364
|
#
|
974
1365
|
# @example Response structure
|
@@ -982,6 +1373,7 @@ module Aws::EventBridge
|
|
982
1373
|
# resp.role_arn #=> String
|
983
1374
|
# resp.managed_by #=> String
|
984
1375
|
# resp.event_bus_name #=> String
|
1376
|
+
# resp.created_by #=> String
|
985
1377
|
#
|
986
1378
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeRule AWS API Documentation
|
987
1379
|
#
|
@@ -1003,8 +1395,8 @@ module Aws::EventBridge
|
|
1003
1395
|
# The name of the rule.
|
1004
1396
|
#
|
1005
1397
|
# @option params [String] :event_bus_name
|
1006
|
-
# The event bus associated with the rule. If you omit
|
1007
|
-
# event bus is used.
|
1398
|
+
# The name or ARN of the event bus associated with the rule. If you omit
|
1399
|
+
# this, the default event bus is used.
|
1008
1400
|
#
|
1009
1401
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1010
1402
|
#
|
@@ -1012,7 +1404,7 @@ module Aws::EventBridge
|
|
1012
1404
|
#
|
1013
1405
|
# resp = client.disable_rule({
|
1014
1406
|
# name: "RuleName", # required
|
1015
|
-
# event_bus_name: "
|
1407
|
+
# event_bus_name: "EventBusNameOrArn",
|
1016
1408
|
# })
|
1017
1409
|
#
|
1018
1410
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DisableRule AWS API Documentation
|
@@ -1035,8 +1427,8 @@ module Aws::EventBridge
|
|
1035
1427
|
# The name of the rule.
|
1036
1428
|
#
|
1037
1429
|
# @option params [String] :event_bus_name
|
1038
|
-
# The event bus associated with the rule. If you omit
|
1039
|
-
# event bus is used.
|
1430
|
+
# The name or ARN of the event bus associated with the rule. If you omit
|
1431
|
+
# this, the default event bus is used.
|
1040
1432
|
#
|
1041
1433
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1042
1434
|
#
|
@@ -1044,7 +1436,7 @@ module Aws::EventBridge
|
|
1044
1436
|
#
|
1045
1437
|
# resp = client.enable_rule({
|
1046
1438
|
# name: "RuleName", # required
|
1047
|
-
# event_bus_name: "
|
1439
|
+
# event_bus_name: "EventBusNameOrArn",
|
1048
1440
|
# })
|
1049
1441
|
#
|
1050
1442
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/EnableRule AWS API Documentation
|
@@ -1056,6 +1448,60 @@ module Aws::EventBridge
|
|
1056
1448
|
req.send_request(options)
|
1057
1449
|
end
|
1058
1450
|
|
1451
|
+
# Retrieves a list of API destination in the account in the current
|
1452
|
+
# Region.
|
1453
|
+
#
|
1454
|
+
# @option params [String] :name_prefix
|
1455
|
+
# A name prefix to filter results returned. Only API destinations with a
|
1456
|
+
# name that starts with the prefix are returned.
|
1457
|
+
#
|
1458
|
+
# @option params [String] :connection_arn
|
1459
|
+
# The ARN of the connection specified for the API destination.
|
1460
|
+
#
|
1461
|
+
# @option params [String] :next_token
|
1462
|
+
# The token returned by a previous call to retrieve the next set of
|
1463
|
+
# results.
|
1464
|
+
#
|
1465
|
+
# @option params [Integer] :limit
|
1466
|
+
# The maximum number of API destinations to include in the response.
|
1467
|
+
#
|
1468
|
+
# @return [Types::ListApiDestinationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1469
|
+
#
|
1470
|
+
# * {Types::ListApiDestinationsResponse#api_destinations #api_destinations} => Array<Types::ApiDestination>
|
1471
|
+
# * {Types::ListApiDestinationsResponse#next_token #next_token} => String
|
1472
|
+
#
|
1473
|
+
# @example Request syntax with placeholder values
|
1474
|
+
#
|
1475
|
+
# resp = client.list_api_destinations({
|
1476
|
+
# name_prefix: "ApiDestinationName",
|
1477
|
+
# connection_arn: "ConnectionArn",
|
1478
|
+
# next_token: "NextToken",
|
1479
|
+
# limit: 1,
|
1480
|
+
# })
|
1481
|
+
#
|
1482
|
+
# @example Response structure
|
1483
|
+
#
|
1484
|
+
# resp.api_destinations #=> Array
|
1485
|
+
# resp.api_destinations[0].api_destination_arn #=> String
|
1486
|
+
# resp.api_destinations[0].name #=> String
|
1487
|
+
# resp.api_destinations[0].api_destination_state #=> String, one of "ACTIVE", "INACTIVE"
|
1488
|
+
# resp.api_destinations[0].connection_arn #=> String
|
1489
|
+
# resp.api_destinations[0].invocation_endpoint #=> String
|
1490
|
+
# resp.api_destinations[0].http_method #=> String, one of "POST", "GET", "HEAD", "OPTIONS", "PUT", "PATCH", "DELETE"
|
1491
|
+
# resp.api_destinations[0].invocation_rate_limit_per_second #=> Integer
|
1492
|
+
# resp.api_destinations[0].creation_time #=> Time
|
1493
|
+
# resp.api_destinations[0].last_modified_time #=> Time
|
1494
|
+
# resp.next_token #=> String
|
1495
|
+
#
|
1496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListApiDestinations AWS API Documentation
|
1497
|
+
#
|
1498
|
+
# @overload list_api_destinations(params = {})
|
1499
|
+
# @param [Hash] params ({})
|
1500
|
+
def list_api_destinations(params = {}, options = {})
|
1501
|
+
req = build_request(:list_api_destinations, params)
|
1502
|
+
req.send_request(options)
|
1503
|
+
end
|
1504
|
+
|
1059
1505
|
# Lists your archives. You can either list all the archives or you can
|
1060
1506
|
# provide a prefix to match to the archive names. Filter parameters are
|
1061
1507
|
# exclusive.
|
@@ -1114,6 +1560,58 @@ module Aws::EventBridge
|
|
1114
1560
|
req.send_request(options)
|
1115
1561
|
end
|
1116
1562
|
|
1563
|
+
# Retrieves a list of connections from the account.
|
1564
|
+
#
|
1565
|
+
# @option params [String] :name_prefix
|
1566
|
+
# A name prefix to filter results returned. Only connections with a name
|
1567
|
+
# that starts with the prefix are returned.
|
1568
|
+
#
|
1569
|
+
# @option params [String] :connection_state
|
1570
|
+
# The state of the connection.
|
1571
|
+
#
|
1572
|
+
# @option params [String] :next_token
|
1573
|
+
# The token returned by a previous call to retrieve the next set of
|
1574
|
+
# results.
|
1575
|
+
#
|
1576
|
+
# @option params [Integer] :limit
|
1577
|
+
# The maximum number of connections to return.
|
1578
|
+
#
|
1579
|
+
# @return [Types::ListConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1580
|
+
#
|
1581
|
+
# * {Types::ListConnectionsResponse#connections #connections} => Array<Types::Connection>
|
1582
|
+
# * {Types::ListConnectionsResponse#next_token #next_token} => String
|
1583
|
+
#
|
1584
|
+
# @example Request syntax with placeholder values
|
1585
|
+
#
|
1586
|
+
# resp = client.list_connections({
|
1587
|
+
# name_prefix: "ConnectionName",
|
1588
|
+
# connection_state: "CREATING", # accepts CREATING, UPDATING, DELETING, AUTHORIZED, DEAUTHORIZED, AUTHORIZING, DEAUTHORIZING
|
1589
|
+
# next_token: "NextToken",
|
1590
|
+
# limit: 1,
|
1591
|
+
# })
|
1592
|
+
#
|
1593
|
+
# @example Response structure
|
1594
|
+
#
|
1595
|
+
# resp.connections #=> Array
|
1596
|
+
# resp.connections[0].connection_arn #=> String
|
1597
|
+
# resp.connections[0].name #=> String
|
1598
|
+
# resp.connections[0].connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
|
1599
|
+
# resp.connections[0].state_reason #=> String
|
1600
|
+
# resp.connections[0].authorization_type #=> String, one of "BASIC", "OAUTH_CLIENT_CREDENTIALS", "API_KEY"
|
1601
|
+
# resp.connections[0].creation_time #=> Time
|
1602
|
+
# resp.connections[0].last_modified_time #=> Time
|
1603
|
+
# resp.connections[0].last_authorized_time #=> Time
|
1604
|
+
# resp.next_token #=> String
|
1605
|
+
#
|
1606
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListConnections AWS API Documentation
|
1607
|
+
#
|
1608
|
+
# @overload list_connections(params = {})
|
1609
|
+
# @param [Hash] params ({})
|
1610
|
+
def list_connections(params = {}, options = {})
|
1611
|
+
req = build_request(:list_connections, params)
|
1612
|
+
req.send_request(options)
|
1613
|
+
end
|
1614
|
+
|
1117
1615
|
# Lists all the event buses in your account, including the default event
|
1118
1616
|
# bus, custom event buses, and partner event buses.
|
1119
1617
|
#
|
@@ -1309,7 +1807,7 @@ module Aws::EventBridge
|
|
1309
1807
|
# exclusive.
|
1310
1808
|
#
|
1311
1809
|
# @option params [String] :name_prefix
|
1312
|
-
# A name prefix to filter the
|
1810
|
+
# A name prefix to filter the replays returned. Only replays with name
|
1313
1811
|
# that match the prefix are returned.
|
1314
1812
|
#
|
1315
1813
|
# @option params [String] :state
|
@@ -1371,8 +1869,8 @@ module Aws::EventBridge
|
|
1371
1869
|
# The Amazon Resource Name (ARN) of the target resource.
|
1372
1870
|
#
|
1373
1871
|
# @option params [String] :event_bus_name
|
1374
|
-
#
|
1375
|
-
#
|
1872
|
+
# The name or ARN of the event bus to list rules for. If you omit this,
|
1873
|
+
# the default event bus is used.
|
1376
1874
|
#
|
1377
1875
|
# @option params [String] :next_token
|
1378
1876
|
# The token returned by a previous call to retrieve the next set of
|
@@ -1390,7 +1888,7 @@ module Aws::EventBridge
|
|
1390
1888
|
#
|
1391
1889
|
# resp = client.list_rule_names_by_target({
|
1392
1890
|
# target_arn: "TargetArn", # required
|
1393
|
-
# event_bus_name: "
|
1891
|
+
# event_bus_name: "EventBusNameOrArn",
|
1394
1892
|
# next_token: "NextToken",
|
1395
1893
|
# limit: 1,
|
1396
1894
|
# })
|
@@ -1420,8 +1918,8 @@ module Aws::EventBridge
|
|
1420
1918
|
# The prefix matching the rule name.
|
1421
1919
|
#
|
1422
1920
|
# @option params [String] :event_bus_name
|
1423
|
-
#
|
1424
|
-
#
|
1921
|
+
# The name or ARN of the event bus to list the rules for. If you omit
|
1922
|
+
# this, the default event bus is used.
|
1425
1923
|
#
|
1426
1924
|
# @option params [String] :next_token
|
1427
1925
|
# The token returned by a previous call to retrieve the next set of
|
@@ -1439,7 +1937,7 @@ module Aws::EventBridge
|
|
1439
1937
|
#
|
1440
1938
|
# resp = client.list_rules({
|
1441
1939
|
# name_prefix: "RuleName",
|
1442
|
-
# event_bus_name: "
|
1940
|
+
# event_bus_name: "EventBusNameOrArn",
|
1443
1941
|
# next_token: "NextToken",
|
1444
1942
|
# limit: 1,
|
1445
1943
|
# })
|
@@ -1504,8 +2002,8 @@ module Aws::EventBridge
|
|
1504
2002
|
# The name of the rule.
|
1505
2003
|
#
|
1506
2004
|
# @option params [String] :event_bus_name
|
1507
|
-
# The event bus associated with the rule. If you omit
|
1508
|
-
# event bus is used.
|
2005
|
+
# The name or ARN of the event bus associated with the rule. If you omit
|
2006
|
+
# this, the default event bus is used.
|
1509
2007
|
#
|
1510
2008
|
# @option params [String] :next_token
|
1511
2009
|
# The token returned by a previous call to retrieve the next set of
|
@@ -1523,7 +2021,7 @@ module Aws::EventBridge
|
|
1523
2021
|
#
|
1524
2022
|
# resp = client.list_targets_by_rule({
|
1525
2023
|
# rule: "RuleName", # required
|
1526
|
-
# event_bus_name: "
|
2024
|
+
# event_bus_name: "EventBusNameOrArn",
|
1527
2025
|
# next_token: "NextToken",
|
1528
2026
|
# limit: 1,
|
1529
2027
|
# })
|
@@ -1608,7 +2106,8 @@ module Aws::EventBridge
|
|
1608
2106
|
# resources: ["EventResource"],
|
1609
2107
|
# detail_type: "String",
|
1610
2108
|
# detail: "String",
|
1611
|
-
# event_bus_name: "
|
2109
|
+
# event_bus_name: "NonPartnerEventBusNameOrArn",
|
2110
|
+
# trace_header: "TraceHeader",
|
1612
2111
|
# },
|
1613
2112
|
# ],
|
1614
2113
|
# })
|
@@ -1702,14 +2201,14 @@ module Aws::EventBridge
|
|
1702
2201
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html
|
1703
2202
|
#
|
1704
2203
|
# @option params [String] :event_bus_name
|
1705
|
-
# The event bus associated with the rule. If you omit this,
|
1706
|
-
# event bus is used.
|
2204
|
+
# The name of the event bus associated with the rule. If you omit this,
|
2205
|
+
# the default event bus is used.
|
1707
2206
|
#
|
1708
|
-
# @option params [
|
2207
|
+
# @option params [String] :action
|
1709
2208
|
# The action that you are enabling the other account to perform.
|
1710
2209
|
# Currently, this must be `events:PutEvents`.
|
1711
2210
|
#
|
1712
|
-
# @option params [
|
2211
|
+
# @option params [String] :principal
|
1713
2212
|
# The 12-digit AWS account ID that you are permitting to put events to
|
1714
2213
|
# your default event bus. Specify "*" to permit any account to put
|
1715
2214
|
# events to your default event bus.
|
@@ -1721,7 +2220,7 @@ module Aws::EventBridge
|
|
1721
2220
|
# with an account field do not match any events sent from other
|
1722
2221
|
# accounts.
|
1723
2222
|
#
|
1724
|
-
# @option params [
|
2223
|
+
# @option params [String] :statement_id
|
1725
2224
|
# An identifier string for the external account that you are granting
|
1726
2225
|
# permissions to. If you later want to revoke the permission for this
|
1727
2226
|
# external account, specify this `StatementId` when you run
|
@@ -1744,20 +2243,26 @@ module Aws::EventBridge
|
|
1744
2243
|
#
|
1745
2244
|
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html
|
1746
2245
|
#
|
2246
|
+
# @option params [String] :policy
|
2247
|
+
# A JSON string that describes the permission policy statement. You can
|
2248
|
+
# include a `Policy` parameter in the request instead of using the
|
2249
|
+
# `StatementId`, `Action`, `Principal`, or `Condition` parameters.
|
2250
|
+
#
|
1747
2251
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1748
2252
|
#
|
1749
2253
|
# @example Request syntax with placeholder values
|
1750
2254
|
#
|
1751
2255
|
# resp = client.put_permission({
|
1752
2256
|
# event_bus_name: "NonPartnerEventBusName",
|
1753
|
-
# action: "Action",
|
1754
|
-
# principal: "Principal",
|
1755
|
-
# statement_id: "StatementId",
|
2257
|
+
# action: "Action",
|
2258
|
+
# principal: "Principal",
|
2259
|
+
# statement_id: "StatementId",
|
1756
2260
|
# condition: {
|
1757
2261
|
# type: "String", # required
|
1758
2262
|
# key: "String", # required
|
1759
2263
|
# value: "String", # required
|
1760
2264
|
# },
|
2265
|
+
# policy: "String",
|
1761
2266
|
# })
|
1762
2267
|
#
|
1763
2268
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutPermission AWS API Documentation
|
@@ -1863,8 +2368,8 @@ module Aws::EventBridge
|
|
1863
2368
|
# The list of key-value pairs to associate with the rule.
|
1864
2369
|
#
|
1865
2370
|
# @option params [String] :event_bus_name
|
1866
|
-
# The event bus to associate with this rule. If you
|
1867
|
-
# default event bus is used.
|
2371
|
+
# The name or ARN of the event bus to associate with this rule. If you
|
2372
|
+
# omit this, the default event bus is used.
|
1868
2373
|
#
|
1869
2374
|
# @return [Types::PutRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1870
2375
|
#
|
@@ -1885,7 +2390,7 @@ module Aws::EventBridge
|
|
1885
2390
|
# value: "TagValue", # required
|
1886
2391
|
# },
|
1887
2392
|
# ],
|
1888
|
-
# event_bus_name: "
|
2393
|
+
# event_bus_name: "EventBusNameOrArn",
|
1889
2394
|
# })
|
1890
2395
|
#
|
1891
2396
|
# @example Response structure
|
@@ -1942,6 +2447,8 @@ module Aws::EventBridge
|
|
1942
2447
|
#
|
1943
2448
|
# * Redshift Clusters to invoke Data API ExecuteStatement on
|
1944
2449
|
#
|
2450
|
+
# * Custom/SaaS HTTPS APIs via EventBridge API Destinations
|
2451
|
+
#
|
1945
2452
|
# Creating rules with built-in targets is supported only in the AWS
|
1946
2453
|
# Management Console. The built-in targets are `EC2 CreateSnapshot API
|
1947
2454
|
# call`, `EC2 RebootInstances API call`, `EC2 StopInstances API call`,
|
@@ -2031,8 +2538,8 @@ module Aws::EventBridge
|
|
2031
2538
|
# The name of the rule.
|
2032
2539
|
#
|
2033
2540
|
# @option params [String] :event_bus_name
|
2034
|
-
# The name of the event bus associated with the rule. If you omit
|
2035
|
-
# the default event bus is used.
|
2541
|
+
# The name or ARN of the event bus associated with the rule. If you omit
|
2542
|
+
# this, the default event bus is used.
|
2036
2543
|
#
|
2037
2544
|
# @option params [required, Array<Types::Target>] :targets
|
2038
2545
|
# The targets to update or add to the rule.
|
@@ -2046,7 +2553,7 @@ module Aws::EventBridge
|
|
2046
2553
|
#
|
2047
2554
|
# resp = client.put_targets({
|
2048
2555
|
# rule: "RuleName", # required
|
2049
|
-
# event_bus_name: "
|
2556
|
+
# event_bus_name: "EventBusNameOrArn",
|
2050
2557
|
# targets: [ # required
|
2051
2558
|
# {
|
2052
2559
|
# id: "TargetId", # required
|
@@ -2149,10 +2656,13 @@ module Aws::EventBridge
|
|
2149
2656
|
# granted it permission with `PutPermission`. You can find the
|
2150
2657
|
# `StatementId` by using DescribeEventBus.
|
2151
2658
|
#
|
2152
|
-
# @option params [
|
2659
|
+
# @option params [String] :statement_id
|
2153
2660
|
# The statement ID corresponding to the account that is no longer
|
2154
2661
|
# allowed to put events to the default event bus.
|
2155
2662
|
#
|
2663
|
+
# @option params [Boolean] :remove_all_permissions
|
2664
|
+
# Specifies whether to remove all permissions.
|
2665
|
+
#
|
2156
2666
|
# @option params [String] :event_bus_name
|
2157
2667
|
# The name of the event bus to revoke permissions for. If you omit this,
|
2158
2668
|
# the default event bus is used.
|
@@ -2162,7 +2672,8 @@ module Aws::EventBridge
|
|
2162
2672
|
# @example Request syntax with placeholder values
|
2163
2673
|
#
|
2164
2674
|
# resp = client.remove_permission({
|
2165
|
-
# statement_id: "StatementId",
|
2675
|
+
# statement_id: "StatementId",
|
2676
|
+
# remove_all_permissions: false,
|
2166
2677
|
# event_bus_name: "NonPartnerEventBusName",
|
2167
2678
|
# })
|
2168
2679
|
#
|
@@ -2191,7 +2702,8 @@ module Aws::EventBridge
|
|
2191
2702
|
# The name of the rule.
|
2192
2703
|
#
|
2193
2704
|
# @option params [String] :event_bus_name
|
2194
|
-
# The name of the event bus associated with the rule.
|
2705
|
+
# The name or ARN of the event bus associated with the rule. If you omit
|
2706
|
+
# this, the default event bus is used.
|
2195
2707
|
#
|
2196
2708
|
# @option params [required, Array<String>] :ids
|
2197
2709
|
# The IDs of the targets to remove from the rule.
|
@@ -2212,7 +2724,7 @@ module Aws::EventBridge
|
|
2212
2724
|
#
|
2213
2725
|
# resp = client.remove_targets({
|
2214
2726
|
# rule: "RuleName", # required
|
2215
|
-
# event_bus_name: "
|
2727
|
+
# event_bus_name: "EventBusNameOrArn",
|
2216
2728
|
# ids: ["TargetId"], # required
|
2217
2729
|
# force: false,
|
2218
2730
|
# })
|
@@ -2366,7 +2878,27 @@ module Aws::EventBridge
|
|
2366
2878
|
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html
|
2367
2879
|
#
|
2368
2880
|
# @option params [required, String] :event
|
2369
|
-
# The event, in JSON format, to test against the event pattern.
|
2881
|
+
# The event, in JSON format, to test against the event pattern. The JSON
|
2882
|
+
# must follow the format specified in [AWS Events][1], and the following
|
2883
|
+
# fields are mandatory:
|
2884
|
+
#
|
2885
|
+
# * `id`
|
2886
|
+
#
|
2887
|
+
# * `account`
|
2888
|
+
#
|
2889
|
+
# * `source`
|
2890
|
+
#
|
2891
|
+
# * `time`
|
2892
|
+
#
|
2893
|
+
# * `region`
|
2894
|
+
#
|
2895
|
+
# * `resources`
|
2896
|
+
#
|
2897
|
+
# * `detail-type`
|
2898
|
+
#
|
2899
|
+
#
|
2900
|
+
#
|
2901
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html
|
2370
2902
|
#
|
2371
2903
|
# @return [Types::TestEventPatternResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2372
2904
|
#
|
@@ -2420,6 +2952,61 @@ module Aws::EventBridge
|
|
2420
2952
|
req.send_request(options)
|
2421
2953
|
end
|
2422
2954
|
|
2955
|
+
# Updates an API destination.
|
2956
|
+
#
|
2957
|
+
# @option params [required, String] :name
|
2958
|
+
# The name of the API destination to update.
|
2959
|
+
#
|
2960
|
+
# @option params [String] :description
|
2961
|
+
# The name of the API destination to update.
|
2962
|
+
#
|
2963
|
+
# @option params [String] :connection_arn
|
2964
|
+
# The ARN of the connection to use for the API destination.
|
2965
|
+
#
|
2966
|
+
# @option params [String] :invocation_endpoint
|
2967
|
+
# The URL to the endpoint to use for the API destination.
|
2968
|
+
#
|
2969
|
+
# @option params [String] :http_method
|
2970
|
+
# The method to use for the API destination.
|
2971
|
+
#
|
2972
|
+
# @option params [Integer] :invocation_rate_limit_per_second
|
2973
|
+
# The maximum number of invocations per second to send to the API
|
2974
|
+
# destination.
|
2975
|
+
#
|
2976
|
+
# @return [Types::UpdateApiDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2977
|
+
#
|
2978
|
+
# * {Types::UpdateApiDestinationResponse#api_destination_arn #api_destination_arn} => String
|
2979
|
+
# * {Types::UpdateApiDestinationResponse#api_destination_state #api_destination_state} => String
|
2980
|
+
# * {Types::UpdateApiDestinationResponse#creation_time #creation_time} => Time
|
2981
|
+
# * {Types::UpdateApiDestinationResponse#last_modified_time #last_modified_time} => Time
|
2982
|
+
#
|
2983
|
+
# @example Request syntax with placeholder values
|
2984
|
+
#
|
2985
|
+
# resp = client.update_api_destination({
|
2986
|
+
# name: "ApiDestinationName", # required
|
2987
|
+
# description: "ApiDestinationDescription",
|
2988
|
+
# connection_arn: "ConnectionArn",
|
2989
|
+
# invocation_endpoint: "HttpsEndpoint",
|
2990
|
+
# http_method: "POST", # accepts POST, GET, HEAD, OPTIONS, PUT, PATCH, DELETE
|
2991
|
+
# invocation_rate_limit_per_second: 1,
|
2992
|
+
# })
|
2993
|
+
#
|
2994
|
+
# @example Response structure
|
2995
|
+
#
|
2996
|
+
# resp.api_destination_arn #=> String
|
2997
|
+
# resp.api_destination_state #=> String, one of "ACTIVE", "INACTIVE"
|
2998
|
+
# resp.creation_time #=> Time
|
2999
|
+
# resp.last_modified_time #=> Time
|
3000
|
+
#
|
3001
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateApiDestination AWS API Documentation
|
3002
|
+
#
|
3003
|
+
# @overload update_api_destination(params = {})
|
3004
|
+
# @param [Hash] params ({})
|
3005
|
+
def update_api_destination(params = {}, options = {})
|
3006
|
+
req = build_request(:update_api_destination, params)
|
3007
|
+
req.send_request(options)
|
3008
|
+
end
|
3009
|
+
|
2423
3010
|
# Updates the specified archive.
|
2424
3011
|
#
|
2425
3012
|
# @option params [required, String] :archive_name
|
@@ -2466,6 +3053,117 @@ module Aws::EventBridge
|
|
2466
3053
|
req.send_request(options)
|
2467
3054
|
end
|
2468
3055
|
|
3056
|
+
# Updates settings for a connection.
|
3057
|
+
#
|
3058
|
+
# @option params [required, String] :name
|
3059
|
+
# The name of the connection to update.
|
3060
|
+
#
|
3061
|
+
# @option params [String] :description
|
3062
|
+
# A description for the connection.
|
3063
|
+
#
|
3064
|
+
# @option params [String] :authorization_type
|
3065
|
+
# The type of authorization to use for the connection.
|
3066
|
+
#
|
3067
|
+
# @option params [Types::UpdateConnectionAuthRequestParameters] :auth_parameters
|
3068
|
+
# The authorization parameters to use for the connection.
|
3069
|
+
#
|
3070
|
+
# @return [Types::UpdateConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3071
|
+
#
|
3072
|
+
# * {Types::UpdateConnectionResponse#connection_arn #connection_arn} => String
|
3073
|
+
# * {Types::UpdateConnectionResponse#connection_state #connection_state} => String
|
3074
|
+
# * {Types::UpdateConnectionResponse#creation_time #creation_time} => Time
|
3075
|
+
# * {Types::UpdateConnectionResponse#last_modified_time #last_modified_time} => Time
|
3076
|
+
# * {Types::UpdateConnectionResponse#last_authorized_time #last_authorized_time} => Time
|
3077
|
+
#
|
3078
|
+
# @example Request syntax with placeholder values
|
3079
|
+
#
|
3080
|
+
# resp = client.update_connection({
|
3081
|
+
# name: "ConnectionName", # required
|
3082
|
+
# description: "ConnectionDescription",
|
3083
|
+
# authorization_type: "BASIC", # accepts BASIC, OAUTH_CLIENT_CREDENTIALS, API_KEY
|
3084
|
+
# auth_parameters: {
|
3085
|
+
# basic_auth_parameters: {
|
3086
|
+
# username: "AuthHeaderParameters",
|
3087
|
+
# password: "AuthHeaderParameters",
|
3088
|
+
# },
|
3089
|
+
# o_auth_parameters: {
|
3090
|
+
# client_parameters: {
|
3091
|
+
# client_id: "AuthHeaderParameters",
|
3092
|
+
# client_secret: "AuthHeaderParameters",
|
3093
|
+
# },
|
3094
|
+
# authorization_endpoint: "HttpsEndpoint",
|
3095
|
+
# http_method: "GET", # accepts GET, POST, PUT
|
3096
|
+
# o_auth_http_parameters: {
|
3097
|
+
# header_parameters: [
|
3098
|
+
# {
|
3099
|
+
# key: "HeaderKey",
|
3100
|
+
# value: "HeaderValue",
|
3101
|
+
# is_value_secret: false,
|
3102
|
+
# },
|
3103
|
+
# ],
|
3104
|
+
# query_string_parameters: [
|
3105
|
+
# {
|
3106
|
+
# key: "QueryStringKey",
|
3107
|
+
# value: "QueryStringValue",
|
3108
|
+
# is_value_secret: false,
|
3109
|
+
# },
|
3110
|
+
# ],
|
3111
|
+
# body_parameters: [
|
3112
|
+
# {
|
3113
|
+
# key: "String",
|
3114
|
+
# value: "String",
|
3115
|
+
# is_value_secret: false,
|
3116
|
+
# },
|
3117
|
+
# ],
|
3118
|
+
# },
|
3119
|
+
# },
|
3120
|
+
# api_key_auth_parameters: {
|
3121
|
+
# api_key_name: "AuthHeaderParameters",
|
3122
|
+
# api_key_value: "AuthHeaderParameters",
|
3123
|
+
# },
|
3124
|
+
# invocation_http_parameters: {
|
3125
|
+
# header_parameters: [
|
3126
|
+
# {
|
3127
|
+
# key: "HeaderKey",
|
3128
|
+
# value: "HeaderValue",
|
3129
|
+
# is_value_secret: false,
|
3130
|
+
# },
|
3131
|
+
# ],
|
3132
|
+
# query_string_parameters: [
|
3133
|
+
# {
|
3134
|
+
# key: "QueryStringKey",
|
3135
|
+
# value: "QueryStringValue",
|
3136
|
+
# is_value_secret: false,
|
3137
|
+
# },
|
3138
|
+
# ],
|
3139
|
+
# body_parameters: [
|
3140
|
+
# {
|
3141
|
+
# key: "String",
|
3142
|
+
# value: "String",
|
3143
|
+
# is_value_secret: false,
|
3144
|
+
# },
|
3145
|
+
# ],
|
3146
|
+
# },
|
3147
|
+
# },
|
3148
|
+
# })
|
3149
|
+
#
|
3150
|
+
# @example Response structure
|
3151
|
+
#
|
3152
|
+
# resp.connection_arn #=> String
|
3153
|
+
# resp.connection_state #=> String, one of "CREATING", "UPDATING", "DELETING", "AUTHORIZED", "DEAUTHORIZED", "AUTHORIZING", "DEAUTHORIZING"
|
3154
|
+
# resp.creation_time #=> Time
|
3155
|
+
# resp.last_modified_time #=> Time
|
3156
|
+
# resp.last_authorized_time #=> Time
|
3157
|
+
#
|
3158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateConnection AWS API Documentation
|
3159
|
+
#
|
3160
|
+
# @overload update_connection(params = {})
|
3161
|
+
# @param [Hash] params ({})
|
3162
|
+
def update_connection(params = {}, options = {})
|
3163
|
+
req = build_request(:update_connection, params)
|
3164
|
+
req.send_request(options)
|
3165
|
+
end
|
3166
|
+
|
2469
3167
|
# @!endgroup
|
2470
3168
|
|
2471
3169
|
# @param params ({})
|
@@ -2479,7 +3177,7 @@ module Aws::EventBridge
|
|
2479
3177
|
params: params,
|
2480
3178
|
config: config)
|
2481
3179
|
context[:gem_name] = 'aws-sdk-eventbridge'
|
2482
|
-
context[:gem_version] = '1.
|
3180
|
+
context[:gem_version] = '1.22.0'
|
2483
3181
|
Seahorse::Client::Request.new(handlers, context)
|
2484
3182
|
end
|
2485
3183
|
|