@aws-sdk/client-eventbridge 3.36.0 → 3.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/dist-cjs/EventBridge.js +0 -23
- package/dist-cjs/EventBridgeClient.js +0 -28
- package/dist-cjs/commands/ActivateEventSourceCommand.js +0 -25
- package/dist-cjs/commands/CancelReplayCommand.js +0 -24
- package/dist-cjs/commands/CreateApiDestinationCommand.js +0 -25
- package/dist-cjs/commands/CreateArchiveCommand.js +0 -28
- package/dist-cjs/commands/CreateConnectionCommand.js +0 -25
- package/dist-cjs/commands/CreateEventBusCommand.js +0 -26
- package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +0 -47
- package/dist-cjs/commands/DeactivateEventSourceCommand.js +0 -28
- package/dist-cjs/commands/DeauthorizeConnectionCommand.js +0 -25
- package/dist-cjs/commands/DeleteApiDestinationCommand.js +0 -24
- package/dist-cjs/commands/DeleteArchiveCommand.js +0 -24
- package/dist-cjs/commands/DeleteConnectionCommand.js +0 -24
- package/dist-cjs/commands/DeleteEventBusCommand.js +0 -25
- package/dist-cjs/commands/DeletePartnerEventSourceCommand.js +0 -28
- package/dist-cjs/commands/DeleteRuleCommand.js +0 -37
- package/dist-cjs/commands/DescribeApiDestinationCommand.js +0 -24
- package/dist-cjs/commands/DescribeArchiveCommand.js +0 -24
- package/dist-cjs/commands/DescribeConnectionCommand.js +0 -24
- package/dist-cjs/commands/DescribeEventBusCommand.js +0 -30
- package/dist-cjs/commands/DescribeEventSourceCommand.js +0 -25
- package/dist-cjs/commands/DescribePartnerEventSourceCommand.js +0 -27
- package/dist-cjs/commands/DescribeReplayCommand.js +0 -32
- package/dist-cjs/commands/DescribeRuleCommand.js +0 -26
- package/dist-cjs/commands/DisableRuleCommand.js +0 -28
- package/dist-cjs/commands/EnableRuleCommand.js +0 -27
- package/dist-cjs/commands/ListApiDestinationsCommand.js +0 -24
- package/dist-cjs/commands/ListArchivesCommand.js +0 -25
- package/dist-cjs/commands/ListConnectionsCommand.js +0 -24
- package/dist-cjs/commands/ListEventBusesCommand.js +0 -25
- package/dist-cjs/commands/ListEventSourcesCommand.js +0 -25
- package/dist-cjs/commands/ListPartnerEventSourceAccountsCommand.js +0 -26
- package/dist-cjs/commands/ListPartnerEventSourcesCommand.js +0 -25
- package/dist-cjs/commands/ListReplaysCommand.js +0 -25
- package/dist-cjs/commands/ListRuleNamesByTargetCommand.js +0 -25
- package/dist-cjs/commands/ListRulesCommand.js +0 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ListTargetsByRuleCommand.js +0 -24
- package/dist-cjs/commands/PutEventsCommand.js +0 -24
- package/dist-cjs/commands/PutPartnerEventsCommand.js +0 -25
- package/dist-cjs/commands/PutPermissionCommand.js +0 -43
- package/dist-cjs/commands/PutRuleCommand.js +0 -70
- package/dist-cjs/commands/PutTargetsCommand.js +0 -189
- package/dist-cjs/commands/RemovePermissionCommand.js +0 -27
- package/dist-cjs/commands/RemoveTargetsCommand.js +0 -32
- package/dist-cjs/commands/StartReplayCommand.js +0 -32
- package/dist-cjs/commands/TagResourceCommand.js +0 -34
- package/dist-cjs/commands/TestEventPatternCommand.js +0 -28
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateApiDestinationCommand.js +0 -24
- package/dist-cjs/commands/UpdateArchiveCommand.js +0 -24
- package/dist-cjs/commands/UpdateConnectionCommand.js +0 -24
- package/dist-cjs/commands/index.js +54 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +3 -53
- package/dist-cjs/models/models_0.js +0 -486
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +51 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +3 -53
- package/dist-types/commands/index.d.ts +51 -0
- package/dist-types/index.d.ts +3 -53
- package/dist-types/ts3.4/EventBridge.d.ts +52 -536
- package/dist-types/ts3.4/EventBridgeClient.d.ts +24 -109
- package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +2 -185
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +51 -0
- package/dist-types/ts3.4/index.d.ts +3 -53
- package/dist-types/ts3.4/models/models_0.d.ts +723 -2619
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -5,200 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds the specified targets to the specified rule, or updates the targets if they are
|
|
10
|
-
* already associated with the rule.</p>
|
|
11
|
-
* <p>Targets are the resources that are invoked when a rule is triggered.</p>
|
|
12
|
-
* <p>You can configure the following as targets for Events:</p>
|
|
13
|
-
*
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html">API
|
|
18
|
-
* destination</a>
|
|
19
|
-
* </p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>Amazon API Gateway REST API endpoints</p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>API Gateway</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>Batch job queue</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>CloudWatch Logs group</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>CodeBuild project</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>CodePipeline</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>Amazon EC2 <code>CreateSnapshot</code> API call</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>Amazon EC2 <code>RebootInstances</code> API call</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>Amazon EC2 <code>StopInstances</code> API call</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>Amazon EC2 <code>TerminateInstances</code> API call</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>Amazon ECS tasks</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* <li>
|
|
55
|
-
* <p>Event bus in a different Amazon Web Services account or Region.</p>
|
|
56
|
-
* <p>You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon)
|
|
57
|
-
* us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule.</p>
|
|
58
|
-
* </li>
|
|
59
|
-
* <li>
|
|
60
|
-
* <p>Firehose delivery stream (Kinesis Data Firehose)</p>
|
|
61
|
-
* </li>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>Inspector assessment template (Amazon Inspector)</p>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>Kinesis stream (Kinesis Data Stream)</p>
|
|
67
|
-
* </li>
|
|
68
|
-
* <li>
|
|
69
|
-
* <p>Lambda function</p>
|
|
70
|
-
* </li>
|
|
71
|
-
* <li>
|
|
72
|
-
* <p>Redshift clusters (Data API statement execution)</p>
|
|
73
|
-
* </li>
|
|
74
|
-
* <li>
|
|
75
|
-
* <p>Amazon SNS topic</p>
|
|
76
|
-
* </li>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>Amazon SQS queues (includes FIFO queues</p>
|
|
79
|
-
* </li>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>SSM Automation</p>
|
|
82
|
-
* </li>
|
|
83
|
-
* <li>
|
|
84
|
-
* <p>SSM OpsItem</p>
|
|
85
|
-
* </li>
|
|
86
|
-
* <li>
|
|
87
|
-
* <p>SSM Run Command</p>
|
|
88
|
-
* </li>
|
|
89
|
-
* <li>
|
|
90
|
-
* <p>Step Functions state machines</p>
|
|
91
|
-
* </li>
|
|
92
|
-
* </ul>
|
|
93
|
-
*
|
|
94
|
-
* <p>Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The
|
|
95
|
-
* built-in targets are <code>EC2 CreateSnapshot API call</code>, <code>EC2 RebootInstances API
|
|
96
|
-
* call</code>, <code>EC2 StopInstances API call</code>, and <code>EC2 TerminateInstances API
|
|
97
|
-
* call</code>. </p>
|
|
98
|
-
*
|
|
99
|
-
* <p>For some target types, <code>PutTargets</code> provides target-specific parameters. If the
|
|
100
|
-
* target is a Kinesis data stream, you can optionally specify which shard the event goes to by
|
|
101
|
-
* using the <code>KinesisParameters</code> argument. To invoke a command on multiple EC2
|
|
102
|
-
* instances with one rule, you can use the <code>RunCommandParameters</code> field.</p>
|
|
103
|
-
*
|
|
104
|
-
* <p>To be able to make API calls against the resources that you own, Amazon EventBridge
|
|
105
|
-
* needs the appropriate permissions. For Lambda and Amazon SNS
|
|
106
|
-
* resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams,
|
|
107
|
-
* Step Functions state machines and API Gateway REST APIs, EventBridge relies on
|
|
108
|
-
* IAM roles that you specify in the <code>RoleARN</code> argument in <code>PutTargets</code>.
|
|
109
|
-
* For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html">Authentication
|
|
110
|
-
* and Access Control</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
111
|
-
*
|
|
112
|
-
* <p>If another Amazon Web Services account is in the same region and has granted you permission (using
|
|
113
|
-
* <code>PutPermission</code>), you can send events to that account. Set that account's event
|
|
114
|
-
* bus as a target of the rules in your account. To send the matched events to the other account,
|
|
115
|
-
* specify that account's event bus as the <code>Arn</code> value when you run
|
|
116
|
-
* <code>PutTargets</code>. If your account sends events to another account, your account is
|
|
117
|
-
* charged for each sent event. Each event sent to another account is charged as a custom event.
|
|
118
|
-
* The account receiving the event is not charged. For more information, see <a href="http://aws.amazon.com/eventbridge/pricing/">Amazon EventBridge
|
|
119
|
-
* Pricing</a>.</p>
|
|
120
|
-
*
|
|
121
|
-
* <note>
|
|
122
|
-
* <p>
|
|
123
|
-
* <code>Input</code>, <code>InputPath</code>, and <code>InputTransformer</code> are not
|
|
124
|
-
* available with <code>PutTarget</code> if the target is an event bus of a different Amazon Web Services
|
|
125
|
-
* account.</p>
|
|
126
|
-
* </note>
|
|
127
|
-
*
|
|
128
|
-
* <p>If you are setting the event bus of another account as the target, and that account
|
|
129
|
-
* granted permission to your account through an organization instead of directly by the account
|
|
130
|
-
* ID, then you must specify a <code>RoleArn</code> with proper permissions in the
|
|
131
|
-
* <code>Target</code> structure. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html">Sending and
|
|
132
|
-
* Receiving Events Between Amazon Web Services Accounts</a> in the <i>Amazon EventBridge User
|
|
133
|
-
* Guide</i>.</p>
|
|
134
|
-
*
|
|
135
|
-
* <p>For more information about enabling cross-account events, see <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutPermission.html">PutPermission</a>.</p>
|
|
136
|
-
*
|
|
137
|
-
* <p>
|
|
138
|
-
* <b>Input</b>, <b>InputPath</b>, and
|
|
139
|
-
* <b>InputTransformer</b> are mutually exclusive and optional
|
|
140
|
-
* parameters of a target. When a rule is triggered due to a matched event:</p>
|
|
141
|
-
*
|
|
142
|
-
* <ul>
|
|
143
|
-
* <li>
|
|
144
|
-
* <p>If none of the following arguments are specified for a target, then the entire event
|
|
145
|
-
* is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or
|
|
146
|
-
* Amazon ECS task, in which case nothing from the event is passed to the target).</p>
|
|
147
|
-
* </li>
|
|
148
|
-
* <li>
|
|
149
|
-
* <p>If <b>Input</b> is specified in the form of valid JSON, then
|
|
150
|
-
* the matched event is overridden with this constant.</p>
|
|
151
|
-
* </li>
|
|
152
|
-
* <li>
|
|
153
|
-
* <p>If <b>InputPath</b> is specified in the form of JSONPath
|
|
154
|
-
* (for example, <code>$.detail</code>), then only the part of the event specified in the
|
|
155
|
-
* path is passed to the target (for example, only the detail part of the event is
|
|
156
|
-
* passed).</p>
|
|
157
|
-
* </li>
|
|
158
|
-
* <li>
|
|
159
|
-
* <p>If <b>InputTransformer</b> is specified, then one or more
|
|
160
|
-
* specified JSONPaths are extracted from the event and used as values in a template that you
|
|
161
|
-
* specify as the input to the target.</p>
|
|
162
|
-
* </li>
|
|
163
|
-
* </ul>
|
|
164
|
-
*
|
|
165
|
-
* <p>When you specify <code>InputPath</code> or <code>InputTransformer</code>, you must use
|
|
166
|
-
* JSON dot notation, not bracket notation.</p>
|
|
167
|
-
*
|
|
168
|
-
* <p>When you add targets to a rule and the associated rule triggers soon after, new or updated
|
|
169
|
-
* targets might not be immediately invoked. Allow a short period of time for changes to take
|
|
170
|
-
* effect.</p>
|
|
171
|
-
*
|
|
172
|
-
* <p>This action can partially fail if too many requests are made at the same time. If that
|
|
173
|
-
* happens, <code>FailedEntryCount</code> is non-zero in the response and each entry in
|
|
174
|
-
* <code>FailedEntries</code> provides the ID of the failed target and the error code.</p>
|
|
175
|
-
* @example
|
|
176
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
177
|
-
* ```javascript
|
|
178
|
-
* import { EventBridgeClient, PutTargetsCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
179
|
-
* // const { EventBridgeClient, PutTargetsCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
180
|
-
* const client = new EventBridgeClient(config);
|
|
181
|
-
* const command = new PutTargetsCommand(input);
|
|
182
|
-
* const response = await client.send(command);
|
|
183
|
-
* ```
|
|
184
|
-
*
|
|
185
|
-
* @see {@link PutTargetsCommandInput} for command's `input` shape.
|
|
186
|
-
* @see {@link PutTargetsCommandOutput} for command's `response` shape.
|
|
187
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
188
|
-
*
|
|
189
|
-
*/
|
|
190
8
|
class PutTargetsCommand extends smithy_client_1.Command {
|
|
191
|
-
// Start section: command_properties
|
|
192
|
-
// End section: command_properties
|
|
193
9
|
constructor(input) {
|
|
194
|
-
// Start section: command_constructor
|
|
195
10
|
super();
|
|
196
11
|
this.input = input;
|
|
197
|
-
// End section: command_constructor
|
|
198
12
|
}
|
|
199
|
-
/**
|
|
200
|
-
* @internal
|
|
201
|
-
*/
|
|
202
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
203
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
204
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Revokes the permission of another Amazon Web Services account to be able to put events to the specified
|
|
10
|
-
* event bus. Specify the account to revoke by the <code>StatementId</code> value that you
|
|
11
|
-
* associated with the account when you granted it permission with <code>PutPermission</code>.
|
|
12
|
-
* You can find the <code>StatementId</code> by using <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DescribeEventBus.html">DescribeEventBus</a>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { EventBridgeClient, RemovePermissionCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
17
|
-
* // const { EventBridgeClient, RemovePermissionCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
18
|
-
* const client = new EventBridgeClient(config);
|
|
19
|
-
* const command = new RemovePermissionCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link RemovePermissionCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link RemovePermissionCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class RemovePermissionCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes the specified targets from the specified rule. When the rule is triggered, those
|
|
10
|
-
* targets are no longer be invoked.</p>
|
|
11
|
-
*
|
|
12
|
-
* <p>When you remove a target, when the associated rule triggers, removed targets might
|
|
13
|
-
* continue to be invoked. Allow a short period of time for changes to take effect.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p>This action can partially fail if too many requests are made at the same time. If that
|
|
16
|
-
* happens, <code>FailedEntryCount</code> is non-zero in the response and each entry in
|
|
17
|
-
* <code>FailedEntries</code> provides the ID of the failed target and the error code.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { EventBridgeClient, RemoveTargetsCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
22
|
-
* // const { EventBridgeClient, RemoveTargetsCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
23
|
-
* const client = new EventBridgeClient(config);
|
|
24
|
-
* const command = new RemoveTargetsCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link RemoveTargetsCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link RemoveTargetsCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
8
|
class RemoveTargetsCommand extends smithy_client_1.Command {
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
9
|
constructor(input) {
|
|
37
|
-
// Start section: command_constructor
|
|
38
10
|
super();
|
|
39
11
|
this.input = input;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Starts the specified replay. Events are not necessarily replayed in the exact same order
|
|
10
|
-
* that they were added to the archive. A replay processes events to replay based on the time in
|
|
11
|
-
* the event, and replays them using 1 minute intervals. If you specify an
|
|
12
|
-
* <code>EventStartTime</code> and an <code>EventEndTime</code> that covers a 20 minute time
|
|
13
|
-
* range, the events are replayed from the first minute of that 20 minute range first. Then the
|
|
14
|
-
* events from the second minute are replayed. You can use <code>DescribeReplay</code> to
|
|
15
|
-
* determine the progress of a replay. The value returned for <code>EventLastReplayedTime</code>
|
|
16
|
-
* indicates the time within the specified time range associated with the last event
|
|
17
|
-
* replayed.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { EventBridgeClient, StartReplayCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
22
|
-
* // const { EventBridgeClient, StartReplayCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
23
|
-
* const client = new EventBridgeClient(config);
|
|
24
|
-
* const command = new StartReplayCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link StartReplayCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link StartReplayCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
8
|
class StartReplayCommand extends smithy_client_1.Command {
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
9
|
constructor(input) {
|
|
37
|
-
// Start section: command_constructor
|
|
38
10
|
super();
|
|
39
11
|
this.input = input;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Assigns one or more tags (key-value pairs) to the specified EventBridge resource. Tags can
|
|
10
|
-
* help you organize and categorize your resources. You can also use them to scope user
|
|
11
|
-
* permissions by granting a user permission to access or change only resources with certain tag
|
|
12
|
-
* values. In EventBridge, rules and event buses can be tagged.</p>
|
|
13
|
-
* <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of
|
|
14
|
-
* characters.</p>
|
|
15
|
-
* <p>You can use the <code>TagResource</code> action with a resource that already has tags. If
|
|
16
|
-
* you specify a new tag key, this tag is appended to the list of tags associated with the
|
|
17
|
-
* resource. If you specify a tag key that is already associated with the resource, the new tag
|
|
18
|
-
* value that you specify replaces the previous value for that tag.</p>
|
|
19
|
-
* <p>You can associate as many as 50 tags with a resource.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { EventBridgeClient, TagResourceCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
24
|
-
* // const { EventBridgeClient, TagResourceCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
25
|
-
* const client = new EventBridgeClient(config);
|
|
26
|
-
* const command = new TagResourceCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
36
|
-
// Start section: command_properties
|
|
37
|
-
// End section: command_properties
|
|
38
9
|
constructor(input) {
|
|
39
|
-
// Start section: command_constructor
|
|
40
10
|
super();
|
|
41
11
|
this.input = input;
|
|
42
|
-
// End section: command_constructor
|
|
43
12
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
48
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Tests whether the specified event pattern matches the provided event.</p>
|
|
10
|
-
* <p>Most services in Amazon Web Services treat : or / as the same character in Amazon Resource Names (ARNs).
|
|
11
|
-
* However, EventBridge uses an exact match in event patterns and rules. Be sure to use the
|
|
12
|
-
* correct ARN characters when creating event patterns so that they match the ARN syntax in the
|
|
13
|
-
* event you want to match.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { EventBridgeClient, TestEventPatternCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
18
|
-
* // const { EventBridgeClient, TestEventPatternCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
19
|
-
* const client = new EventBridgeClient(config);
|
|
20
|
-
* const command = new TestEventPatternCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link TestEventPatternCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link TestEventPatternCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class TestEventPatternCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes one or more tags from the specified EventBridge resource. In Amazon EventBridge
|
|
10
|
-
* (CloudWatch Events), rules and event buses can be tagged.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { EventBridgeClient, UntagResourceCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
15
|
-
* // const { EventBridgeClient, UntagResourceCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
16
|
-
* const client = new EventBridgeClient(config);
|
|
17
|
-
* const command = new UntagResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates an API destination.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EventBridgeClient, UpdateApiDestinationCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
14
|
-
* // const { EventBridgeClient, UpdateApiDestinationCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
15
|
-
* const client = new EventBridgeClient(config);
|
|
16
|
-
* const command = new UpdateApiDestinationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateApiDestinationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateApiDestinationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateApiDestinationCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the specified archive.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EventBridgeClient, UpdateArchiveCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
14
|
-
* // const { EventBridgeClient, UpdateArchiveCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
15
|
-
* const client = new EventBridgeClient(config);
|
|
16
|
-
* const command = new UpdateArchiveCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateArchiveCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateArchiveCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateArchiveCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates settings for a connection.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EventBridgeClient, UpdateConnectionCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import
|
|
14
|
-
* // const { EventBridgeClient, UpdateConnectionCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import
|
|
15
|
-
* const client = new EventBridgeClient(config);
|
|
16
|
-
* const command = new UpdateConnectionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateConnectionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateConnectionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EventBridgeClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateConnectionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./ActivateEventSourceCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CancelReplayCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateApiDestinationCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateArchiveCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateConnectionCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateEventBusCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreatePartnerEventSourceCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeactivateEventSourceCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeauthorizeConnectionCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DeleteApiDestinationCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DeleteArchiveCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DeleteConnectionCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeleteEventBusCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DeletePartnerEventSourceCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./DeleteRuleCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DescribeApiDestinationCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DescribeArchiveCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./DescribeConnectionCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./DescribeEventBusCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./DescribeEventSourceCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./DescribePartnerEventSourceCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./DescribeReplayCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./DescribeRuleCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./DisableRuleCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./EnableRuleCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ListApiDestinationsCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./ListArchivesCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./ListConnectionsCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./ListEventBusesCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./ListEventSourcesCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./ListPartnerEventSourceAccountsCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./ListPartnerEventSourcesCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./ListReplaysCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./ListRuleNamesByTargetCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./ListRulesCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./ListTargetsByRuleCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./PutEventsCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./PutPartnerEventsCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./PutPermissionCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./PutRuleCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./PutTargetsCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./RemovePermissionCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./RemoveTargetsCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./StartReplayCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./TestEventPatternCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./UpdateApiDestinationCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./UpdateArchiveCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./UpdateConnectionCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -57,22 +57,27 @@ const partitionHash = {
|
|
|
57
57
|
"us-west-1",
|
|
58
58
|
"us-west-2",
|
|
59
59
|
],
|
|
60
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
60
61
|
hostname: "events.{region}.amazonaws.com",
|
|
61
62
|
},
|
|
62
63
|
"aws-cn": {
|
|
63
64
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
65
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
64
66
|
hostname: "events.{region}.amazonaws.com.cn",
|
|
65
67
|
},
|
|
66
68
|
"aws-iso": {
|
|
67
|
-
regions: ["us-iso-east-1"],
|
|
69
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
70
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
68
71
|
hostname: "events.{region}.c2s.ic.gov",
|
|
69
72
|
},
|
|
70
73
|
"aws-iso-b": {
|
|
71
74
|
regions: ["us-isob-east-1"],
|
|
75
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
72
76
|
hostname: "events.{region}.sc2s.sgov.gov",
|
|
73
77
|
},
|
|
74
78
|
"aws-us-gov": {
|
|
75
79
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
80
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
76
81
|
hostname: "events.{region}.amazonaws.com",
|
|
77
82
|
},
|
|
78
83
|
};
|