@aws-sdk/client-eventbridge 3.489.0 → 3.495.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/dist-cjs/EventBridge.js +1 -123
- package/dist-cjs/EventBridgeClient.js +1 -43
- package/dist-cjs/commands/ActivateEventSourceCommand.js +1 -28
- package/dist-cjs/commands/CancelReplayCommand.js +1 -28
- package/dist-cjs/commands/CreateApiDestinationCommand.js +1 -28
- package/dist-cjs/commands/CreateArchiveCommand.js +1 -28
- package/dist-cjs/commands/CreateConnectionCommand.js +1 -29
- package/dist-cjs/commands/CreateEndpointCommand.js +1 -28
- package/dist-cjs/commands/CreateEventBusCommand.js +1 -28
- package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +1 -28
- package/dist-cjs/commands/DeactivateEventSourceCommand.js +1 -28
- package/dist-cjs/commands/DeauthorizeConnectionCommand.js +1 -28
- package/dist-cjs/commands/DeleteApiDestinationCommand.js +1 -28
- package/dist-cjs/commands/DeleteArchiveCommand.js +1 -28
- package/dist-cjs/commands/DeleteConnectionCommand.js +1 -28
- package/dist-cjs/commands/DeleteEndpointCommand.js +1 -28
- package/dist-cjs/commands/DeleteEventBusCommand.js +1 -28
- package/dist-cjs/commands/DeletePartnerEventSourceCommand.js +1 -28
- package/dist-cjs/commands/DeleteRuleCommand.js +1 -28
- package/dist-cjs/commands/DescribeApiDestinationCommand.js +1 -28
- package/dist-cjs/commands/DescribeArchiveCommand.js +1 -28
- package/dist-cjs/commands/DescribeConnectionCommand.js +1 -29
- package/dist-cjs/commands/DescribeEndpointCommand.js +1 -28
- package/dist-cjs/commands/DescribeEventBusCommand.js +1 -28
- package/dist-cjs/commands/DescribeEventSourceCommand.js +1 -28
- package/dist-cjs/commands/DescribePartnerEventSourceCommand.js +1 -28
- package/dist-cjs/commands/DescribeReplayCommand.js +1 -28
- package/dist-cjs/commands/DescribeRuleCommand.js +1 -28
- package/dist-cjs/commands/DisableRuleCommand.js +1 -28
- package/dist-cjs/commands/EnableRuleCommand.js +1 -28
- package/dist-cjs/commands/ListApiDestinationsCommand.js +1 -28
- package/dist-cjs/commands/ListArchivesCommand.js +1 -28
- package/dist-cjs/commands/ListConnectionsCommand.js +1 -28
- package/dist-cjs/commands/ListEndpointsCommand.js +1 -28
- package/dist-cjs/commands/ListEventBusesCommand.js +1 -28
- package/dist-cjs/commands/ListEventSourcesCommand.js +1 -28
- package/dist-cjs/commands/ListPartnerEventSourceAccountsCommand.js +1 -28
- package/dist-cjs/commands/ListPartnerEventSourcesCommand.js +1 -28
- package/dist-cjs/commands/ListReplaysCommand.js +1 -28
- package/dist-cjs/commands/ListRuleNamesByTargetCommand.js +1 -28
- package/dist-cjs/commands/ListRulesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/ListTargetsByRuleCommand.js +1 -29
- package/dist-cjs/commands/PutEventsCommand.js +1 -29
- package/dist-cjs/commands/PutPartnerEventsCommand.js +1 -28
- package/dist-cjs/commands/PutPermissionCommand.js +1 -28
- package/dist-cjs/commands/PutRuleCommand.js +1 -28
- package/dist-cjs/commands/PutTargetsCommand.js +1 -29
- package/dist-cjs/commands/RemovePermissionCommand.js +1 -28
- package/dist-cjs/commands/RemoveTargetsCommand.js +1 -28
- package/dist-cjs/commands/StartReplayCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/TestEventPatternCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateApiDestinationCommand.js +1 -28
- package/dist-cjs/commands/UpdateArchiveCommand.js +1 -28
- package/dist-cjs/commands/UpdateConnectionCommand.js +1 -29
- package/dist-cjs/commands/UpdateEndpointCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -59
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +4827 -10
- package/dist-cjs/models/EventBridgeServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -409
- package/dist-cjs/protocols/Aws_json1_1.js +1 -3150
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-es/models/models_0.js +5 -0
- package/dist-types/commands/ListTargetsByRuleCommand.d.ts +3 -0
- package/dist-types/commands/PutTargetsCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +22 -51
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,4828 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
ActivateEventSourceCommand: () => ActivateEventSourceCommand,
|
|
25
|
+
ApiDestinationHttpMethod: () => ApiDestinationHttpMethod,
|
|
26
|
+
ApiDestinationState: () => ApiDestinationState,
|
|
27
|
+
AppSyncParametersFilterSensitiveLog: () => AppSyncParametersFilterSensitiveLog,
|
|
28
|
+
ArchiveState: () => ArchiveState,
|
|
29
|
+
AssignPublicIp: () => AssignPublicIp,
|
|
30
|
+
CancelReplayCommand: () => CancelReplayCommand,
|
|
31
|
+
ConcurrentModificationException: () => ConcurrentModificationException,
|
|
32
|
+
ConnectionAuthResponseParametersFilterSensitiveLog: () => ConnectionAuthResponseParametersFilterSensitiveLog,
|
|
33
|
+
ConnectionAuthorizationType: () => ConnectionAuthorizationType,
|
|
34
|
+
ConnectionBodyParameterFilterSensitiveLog: () => ConnectionBodyParameterFilterSensitiveLog,
|
|
35
|
+
ConnectionHeaderParameterFilterSensitiveLog: () => ConnectionHeaderParameterFilterSensitiveLog,
|
|
36
|
+
ConnectionHttpParametersFilterSensitiveLog: () => ConnectionHttpParametersFilterSensitiveLog,
|
|
37
|
+
ConnectionOAuthHttpMethod: () => ConnectionOAuthHttpMethod,
|
|
38
|
+
ConnectionOAuthResponseParametersFilterSensitiveLog: () => ConnectionOAuthResponseParametersFilterSensitiveLog,
|
|
39
|
+
ConnectionQueryStringParameterFilterSensitiveLog: () => ConnectionQueryStringParameterFilterSensitiveLog,
|
|
40
|
+
ConnectionState: () => ConnectionState,
|
|
41
|
+
CreateApiDestinationCommand: () => CreateApiDestinationCommand,
|
|
42
|
+
CreateArchiveCommand: () => CreateArchiveCommand,
|
|
43
|
+
CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog: () => CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog,
|
|
44
|
+
CreateConnectionAuthRequestParametersFilterSensitiveLog: () => CreateConnectionAuthRequestParametersFilterSensitiveLog,
|
|
45
|
+
CreateConnectionBasicAuthRequestParametersFilterSensitiveLog: () => CreateConnectionBasicAuthRequestParametersFilterSensitiveLog,
|
|
46
|
+
CreateConnectionCommand: () => CreateConnectionCommand,
|
|
47
|
+
CreateConnectionOAuthClientRequestParametersFilterSensitiveLog: () => CreateConnectionOAuthClientRequestParametersFilterSensitiveLog,
|
|
48
|
+
CreateConnectionOAuthRequestParametersFilterSensitiveLog: () => CreateConnectionOAuthRequestParametersFilterSensitiveLog,
|
|
49
|
+
CreateConnectionRequestFilterSensitiveLog: () => CreateConnectionRequestFilterSensitiveLog,
|
|
50
|
+
CreateEndpointCommand: () => CreateEndpointCommand,
|
|
51
|
+
CreateEventBusCommand: () => CreateEventBusCommand,
|
|
52
|
+
CreatePartnerEventSourceCommand: () => CreatePartnerEventSourceCommand,
|
|
53
|
+
DeactivateEventSourceCommand: () => DeactivateEventSourceCommand,
|
|
54
|
+
DeauthorizeConnectionCommand: () => DeauthorizeConnectionCommand,
|
|
55
|
+
DeleteApiDestinationCommand: () => DeleteApiDestinationCommand,
|
|
56
|
+
DeleteArchiveCommand: () => DeleteArchiveCommand,
|
|
57
|
+
DeleteConnectionCommand: () => DeleteConnectionCommand,
|
|
58
|
+
DeleteEndpointCommand: () => DeleteEndpointCommand,
|
|
59
|
+
DeleteEventBusCommand: () => DeleteEventBusCommand,
|
|
60
|
+
DeletePartnerEventSourceCommand: () => DeletePartnerEventSourceCommand,
|
|
61
|
+
DeleteRuleCommand: () => DeleteRuleCommand,
|
|
62
|
+
DescribeApiDestinationCommand: () => DescribeApiDestinationCommand,
|
|
63
|
+
DescribeArchiveCommand: () => DescribeArchiveCommand,
|
|
64
|
+
DescribeConnectionCommand: () => DescribeConnectionCommand,
|
|
65
|
+
DescribeConnectionResponseFilterSensitiveLog: () => DescribeConnectionResponseFilterSensitiveLog,
|
|
66
|
+
DescribeEndpointCommand: () => DescribeEndpointCommand,
|
|
67
|
+
DescribeEventBusCommand: () => DescribeEventBusCommand,
|
|
68
|
+
DescribeEventSourceCommand: () => DescribeEventSourceCommand,
|
|
69
|
+
DescribePartnerEventSourceCommand: () => DescribePartnerEventSourceCommand,
|
|
70
|
+
DescribeReplayCommand: () => DescribeReplayCommand,
|
|
71
|
+
DescribeRuleCommand: () => DescribeRuleCommand,
|
|
72
|
+
DisableRuleCommand: () => DisableRuleCommand,
|
|
73
|
+
EnableRuleCommand: () => EnableRuleCommand,
|
|
74
|
+
EndpointState: () => EndpointState,
|
|
75
|
+
EventBridge: () => EventBridge,
|
|
76
|
+
EventBridgeClient: () => EventBridgeClient,
|
|
77
|
+
EventBridgeServiceException: () => EventBridgeServiceException,
|
|
78
|
+
EventSourceState: () => EventSourceState,
|
|
79
|
+
IllegalStatusException: () => IllegalStatusException,
|
|
80
|
+
InternalException: () => InternalException,
|
|
81
|
+
InvalidEventPatternException: () => InvalidEventPatternException,
|
|
82
|
+
InvalidStateException: () => InvalidStateException,
|
|
83
|
+
LaunchType: () => LaunchType,
|
|
84
|
+
LimitExceededException: () => LimitExceededException,
|
|
85
|
+
ListApiDestinationsCommand: () => ListApiDestinationsCommand,
|
|
86
|
+
ListArchivesCommand: () => ListArchivesCommand,
|
|
87
|
+
ListConnectionsCommand: () => ListConnectionsCommand,
|
|
88
|
+
ListEndpointsCommand: () => ListEndpointsCommand,
|
|
89
|
+
ListEventBusesCommand: () => ListEventBusesCommand,
|
|
90
|
+
ListEventSourcesCommand: () => ListEventSourcesCommand,
|
|
91
|
+
ListPartnerEventSourceAccountsCommand: () => ListPartnerEventSourceAccountsCommand,
|
|
92
|
+
ListPartnerEventSourcesCommand: () => ListPartnerEventSourcesCommand,
|
|
93
|
+
ListReplaysCommand: () => ListReplaysCommand,
|
|
94
|
+
ListRuleNamesByTargetCommand: () => ListRuleNamesByTargetCommand,
|
|
95
|
+
ListRulesCommand: () => ListRulesCommand,
|
|
96
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
97
|
+
ListTargetsByRuleCommand: () => ListTargetsByRuleCommand,
|
|
98
|
+
ListTargetsByRuleResponseFilterSensitiveLog: () => ListTargetsByRuleResponseFilterSensitiveLog,
|
|
99
|
+
ManagedRuleException: () => ManagedRuleException,
|
|
100
|
+
OperationDisabledException: () => OperationDisabledException,
|
|
101
|
+
PlacementConstraintType: () => PlacementConstraintType,
|
|
102
|
+
PlacementStrategyType: () => PlacementStrategyType,
|
|
103
|
+
PolicyLengthExceededException: () => PolicyLengthExceededException,
|
|
104
|
+
PropagateTags: () => PropagateTags,
|
|
105
|
+
PutEventsCommand: () => PutEventsCommand,
|
|
106
|
+
PutPartnerEventsCommand: () => PutPartnerEventsCommand,
|
|
107
|
+
PutPermissionCommand: () => PutPermissionCommand,
|
|
108
|
+
PutRuleCommand: () => PutRuleCommand,
|
|
109
|
+
PutTargetsCommand: () => PutTargetsCommand,
|
|
110
|
+
PutTargetsRequestFilterSensitiveLog: () => PutTargetsRequestFilterSensitiveLog,
|
|
111
|
+
RedshiftDataParametersFilterSensitiveLog: () => RedshiftDataParametersFilterSensitiveLog,
|
|
112
|
+
RemovePermissionCommand: () => RemovePermissionCommand,
|
|
113
|
+
RemoveTargetsCommand: () => RemoveTargetsCommand,
|
|
114
|
+
ReplayState: () => ReplayState,
|
|
115
|
+
ReplicationState: () => ReplicationState,
|
|
116
|
+
ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
|
|
117
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
118
|
+
RuleState: () => RuleState,
|
|
119
|
+
StartReplayCommand: () => StartReplayCommand,
|
|
120
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
121
|
+
TargetFilterSensitiveLog: () => TargetFilterSensitiveLog,
|
|
122
|
+
TestEventPatternCommand: () => TestEventPatternCommand,
|
|
123
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
124
|
+
UpdateApiDestinationCommand: () => UpdateApiDestinationCommand,
|
|
125
|
+
UpdateArchiveCommand: () => UpdateArchiveCommand,
|
|
126
|
+
UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog: () => UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog,
|
|
127
|
+
UpdateConnectionAuthRequestParametersFilterSensitiveLog: () => UpdateConnectionAuthRequestParametersFilterSensitiveLog,
|
|
128
|
+
UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog: () => UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog,
|
|
129
|
+
UpdateConnectionCommand: () => UpdateConnectionCommand,
|
|
130
|
+
UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog: () => UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog,
|
|
131
|
+
UpdateConnectionOAuthRequestParametersFilterSensitiveLog: () => UpdateConnectionOAuthRequestParametersFilterSensitiveLog,
|
|
132
|
+
UpdateConnectionRequestFilterSensitiveLog: () => UpdateConnectionRequestFilterSensitiveLog,
|
|
133
|
+
UpdateEndpointCommand: () => UpdateEndpointCommand,
|
|
134
|
+
__Client: () => import_smithy_client.Client
|
|
135
|
+
});
|
|
136
|
+
module.exports = __toCommonJS(src_exports);
|
|
137
|
+
|
|
138
|
+
// src/EventBridgeClient.ts
|
|
139
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
140
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
141
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
142
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
143
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
144
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
145
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
146
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
147
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
// src/endpoint/EndpointParameters.ts
|
|
151
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
152
|
+
return {
|
|
153
|
+
...options,
|
|
154
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
155
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
156
|
+
defaultSigningName: "events"
|
|
157
|
+
};
|
|
158
|
+
}, "resolveClientEndpointParameters");
|
|
159
|
+
var commonParams = {
|
|
160
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
161
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
162
|
+
Region: { type: "builtInParams", name: "region" },
|
|
163
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
// src/EventBridgeClient.ts
|
|
167
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
168
|
+
|
|
169
|
+
// src/runtimeExtensions.ts
|
|
170
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
171
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
172
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
173
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
174
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
175
|
+
const extensionConfiguration = {
|
|
176
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
177
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
178
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
179
|
+
};
|
|
180
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
181
|
+
return {
|
|
182
|
+
...runtimeConfig,
|
|
183
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
184
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
185
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
186
|
+
};
|
|
187
|
+
}, "resolveRuntimeExtensions");
|
|
188
|
+
|
|
189
|
+
// src/EventBridgeClient.ts
|
|
190
|
+
var _EventBridgeClient = class _EventBridgeClient extends import_smithy_client.Client {
|
|
191
|
+
constructor(...[configuration]) {
|
|
192
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
193
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
194
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
195
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
196
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
197
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
198
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
199
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
200
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
201
|
+
super(_config_8);
|
|
202
|
+
this.config = _config_8;
|
|
203
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
204
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
205
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
206
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
207
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
208
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
209
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
213
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
214
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
215
|
+
*/
|
|
216
|
+
destroy() {
|
|
217
|
+
super.destroy();
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
__name(_EventBridgeClient, "EventBridgeClient");
|
|
221
|
+
var EventBridgeClient = _EventBridgeClient;
|
|
222
|
+
|
|
223
|
+
// src/EventBridge.ts
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
// src/commands/ActivateEventSourceCommand.ts
|
|
227
|
+
|
|
228
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
229
|
+
|
|
230
|
+
var import_types = require("@smithy/types");
|
|
231
|
+
|
|
232
|
+
// src/protocols/Aws_json1_1.ts
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
// src/models/EventBridgeServiceException.ts
|
|
237
|
+
|
|
238
|
+
var _EventBridgeServiceException = class _EventBridgeServiceException extends import_smithy_client.ServiceException {
|
|
239
|
+
/**
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
242
|
+
constructor(options) {
|
|
243
|
+
super(options);
|
|
244
|
+
Object.setPrototypeOf(this, _EventBridgeServiceException.prototype);
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
__name(_EventBridgeServiceException, "EventBridgeServiceException");
|
|
248
|
+
var EventBridgeServiceException = _EventBridgeServiceException;
|
|
249
|
+
|
|
250
|
+
// src/models/models_0.ts
|
|
251
|
+
|
|
252
|
+
var _ConcurrentModificationException = class _ConcurrentModificationException extends EventBridgeServiceException {
|
|
253
|
+
/**
|
|
254
|
+
* @internal
|
|
255
|
+
*/
|
|
256
|
+
constructor(opts) {
|
|
257
|
+
super({
|
|
258
|
+
name: "ConcurrentModificationException",
|
|
259
|
+
$fault: "client",
|
|
260
|
+
...opts
|
|
261
|
+
});
|
|
262
|
+
this.name = "ConcurrentModificationException";
|
|
263
|
+
this.$fault = "client";
|
|
264
|
+
Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
__name(_ConcurrentModificationException, "ConcurrentModificationException");
|
|
268
|
+
var ConcurrentModificationException = _ConcurrentModificationException;
|
|
269
|
+
var _InternalException = class _InternalException extends EventBridgeServiceException {
|
|
270
|
+
/**
|
|
271
|
+
* @internal
|
|
272
|
+
*/
|
|
273
|
+
constructor(opts) {
|
|
274
|
+
super({
|
|
275
|
+
name: "InternalException",
|
|
276
|
+
$fault: "server",
|
|
277
|
+
...opts
|
|
278
|
+
});
|
|
279
|
+
this.name = "InternalException";
|
|
280
|
+
this.$fault = "server";
|
|
281
|
+
Object.setPrototypeOf(this, _InternalException.prototype);
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
__name(_InternalException, "InternalException");
|
|
285
|
+
var InternalException = _InternalException;
|
|
286
|
+
var _InvalidStateException = class _InvalidStateException extends EventBridgeServiceException {
|
|
287
|
+
/**
|
|
288
|
+
* @internal
|
|
289
|
+
*/
|
|
290
|
+
constructor(opts) {
|
|
291
|
+
super({
|
|
292
|
+
name: "InvalidStateException",
|
|
293
|
+
$fault: "client",
|
|
294
|
+
...opts
|
|
295
|
+
});
|
|
296
|
+
this.name = "InvalidStateException";
|
|
297
|
+
this.$fault = "client";
|
|
298
|
+
Object.setPrototypeOf(this, _InvalidStateException.prototype);
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
__name(_InvalidStateException, "InvalidStateException");
|
|
302
|
+
var InvalidStateException = _InvalidStateException;
|
|
303
|
+
var _OperationDisabledException = class _OperationDisabledException extends EventBridgeServiceException {
|
|
304
|
+
/**
|
|
305
|
+
* @internal
|
|
306
|
+
*/
|
|
307
|
+
constructor(opts) {
|
|
308
|
+
super({
|
|
309
|
+
name: "OperationDisabledException",
|
|
310
|
+
$fault: "client",
|
|
311
|
+
...opts
|
|
312
|
+
});
|
|
313
|
+
this.name = "OperationDisabledException";
|
|
314
|
+
this.$fault = "client";
|
|
315
|
+
Object.setPrototypeOf(this, _OperationDisabledException.prototype);
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
__name(_OperationDisabledException, "OperationDisabledException");
|
|
319
|
+
var OperationDisabledException = _OperationDisabledException;
|
|
320
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends EventBridgeServiceException {
|
|
321
|
+
/**
|
|
322
|
+
* @internal
|
|
323
|
+
*/
|
|
324
|
+
constructor(opts) {
|
|
325
|
+
super({
|
|
326
|
+
name: "ResourceNotFoundException",
|
|
327
|
+
$fault: "client",
|
|
328
|
+
...opts
|
|
329
|
+
});
|
|
330
|
+
this.name = "ResourceNotFoundException";
|
|
331
|
+
this.$fault = "client";
|
|
332
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
333
|
+
}
|
|
334
|
+
};
|
|
335
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
336
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
337
|
+
var ApiDestinationState = {
|
|
338
|
+
ACTIVE: "ACTIVE",
|
|
339
|
+
INACTIVE: "INACTIVE"
|
|
340
|
+
};
|
|
341
|
+
var ApiDestinationHttpMethod = {
|
|
342
|
+
DELETE: "DELETE",
|
|
343
|
+
GET: "GET",
|
|
344
|
+
HEAD: "HEAD",
|
|
345
|
+
OPTIONS: "OPTIONS",
|
|
346
|
+
PATCH: "PATCH",
|
|
347
|
+
POST: "POST",
|
|
348
|
+
PUT: "PUT"
|
|
349
|
+
};
|
|
350
|
+
var ArchiveState = {
|
|
351
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
352
|
+
CREATING: "CREATING",
|
|
353
|
+
DISABLED: "DISABLED",
|
|
354
|
+
ENABLED: "ENABLED",
|
|
355
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
356
|
+
UPDATING: "UPDATING"
|
|
357
|
+
};
|
|
358
|
+
var AssignPublicIp = {
|
|
359
|
+
DISABLED: "DISABLED",
|
|
360
|
+
ENABLED: "ENABLED"
|
|
361
|
+
};
|
|
362
|
+
var ReplayState = {
|
|
363
|
+
CANCELLED: "CANCELLED",
|
|
364
|
+
CANCELLING: "CANCELLING",
|
|
365
|
+
COMPLETED: "COMPLETED",
|
|
366
|
+
FAILED: "FAILED",
|
|
367
|
+
RUNNING: "RUNNING",
|
|
368
|
+
STARTING: "STARTING"
|
|
369
|
+
};
|
|
370
|
+
var _IllegalStatusException = class _IllegalStatusException extends EventBridgeServiceException {
|
|
371
|
+
/**
|
|
372
|
+
* @internal
|
|
373
|
+
*/
|
|
374
|
+
constructor(opts) {
|
|
375
|
+
super({
|
|
376
|
+
name: "IllegalStatusException",
|
|
377
|
+
$fault: "client",
|
|
378
|
+
...opts
|
|
379
|
+
});
|
|
380
|
+
this.name = "IllegalStatusException";
|
|
381
|
+
this.$fault = "client";
|
|
382
|
+
Object.setPrototypeOf(this, _IllegalStatusException.prototype);
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
__name(_IllegalStatusException, "IllegalStatusException");
|
|
386
|
+
var IllegalStatusException = _IllegalStatusException;
|
|
387
|
+
var _LimitExceededException = class _LimitExceededException extends EventBridgeServiceException {
|
|
388
|
+
/**
|
|
389
|
+
* @internal
|
|
390
|
+
*/
|
|
391
|
+
constructor(opts) {
|
|
392
|
+
super({
|
|
393
|
+
name: "LimitExceededException",
|
|
394
|
+
$fault: "client",
|
|
395
|
+
...opts
|
|
396
|
+
});
|
|
397
|
+
this.name = "LimitExceededException";
|
|
398
|
+
this.$fault = "client";
|
|
399
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
__name(_LimitExceededException, "LimitExceededException");
|
|
403
|
+
var LimitExceededException = _LimitExceededException;
|
|
404
|
+
var _ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends EventBridgeServiceException {
|
|
405
|
+
/**
|
|
406
|
+
* @internal
|
|
407
|
+
*/
|
|
408
|
+
constructor(opts) {
|
|
409
|
+
super({
|
|
410
|
+
name: "ResourceAlreadyExistsException",
|
|
411
|
+
$fault: "client",
|
|
412
|
+
...opts
|
|
413
|
+
});
|
|
414
|
+
this.name = "ResourceAlreadyExistsException";
|
|
415
|
+
this.$fault = "client";
|
|
416
|
+
Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
|
|
417
|
+
}
|
|
418
|
+
};
|
|
419
|
+
__name(_ResourceAlreadyExistsException, "ResourceAlreadyExistsException");
|
|
420
|
+
var ResourceAlreadyExistsException = _ResourceAlreadyExistsException;
|
|
421
|
+
var _InvalidEventPatternException = class _InvalidEventPatternException extends EventBridgeServiceException {
|
|
422
|
+
/**
|
|
423
|
+
* @internal
|
|
424
|
+
*/
|
|
425
|
+
constructor(opts) {
|
|
426
|
+
super({
|
|
427
|
+
name: "InvalidEventPatternException",
|
|
428
|
+
$fault: "client",
|
|
429
|
+
...opts
|
|
430
|
+
});
|
|
431
|
+
this.name = "InvalidEventPatternException";
|
|
432
|
+
this.$fault = "client";
|
|
433
|
+
Object.setPrototypeOf(this, _InvalidEventPatternException.prototype);
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
__name(_InvalidEventPatternException, "InvalidEventPatternException");
|
|
437
|
+
var InvalidEventPatternException = _InvalidEventPatternException;
|
|
438
|
+
var ConnectionAuthorizationType = {
|
|
439
|
+
API_KEY: "API_KEY",
|
|
440
|
+
BASIC: "BASIC",
|
|
441
|
+
OAUTH_CLIENT_CREDENTIALS: "OAUTH_CLIENT_CREDENTIALS"
|
|
442
|
+
};
|
|
443
|
+
var ConnectionOAuthHttpMethod = {
|
|
444
|
+
GET: "GET",
|
|
445
|
+
POST: "POST",
|
|
446
|
+
PUT: "PUT"
|
|
447
|
+
};
|
|
448
|
+
var ConnectionState = {
|
|
449
|
+
AUTHORIZED: "AUTHORIZED",
|
|
450
|
+
AUTHORIZING: "AUTHORIZING",
|
|
451
|
+
CREATING: "CREATING",
|
|
452
|
+
DEAUTHORIZED: "DEAUTHORIZED",
|
|
453
|
+
DEAUTHORIZING: "DEAUTHORIZING",
|
|
454
|
+
DELETING: "DELETING",
|
|
455
|
+
UPDATING: "UPDATING"
|
|
456
|
+
};
|
|
457
|
+
var ReplicationState = {
|
|
458
|
+
DISABLED: "DISABLED",
|
|
459
|
+
ENABLED: "ENABLED"
|
|
460
|
+
};
|
|
461
|
+
var EndpointState = {
|
|
462
|
+
ACTIVE: "ACTIVE",
|
|
463
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
464
|
+
CREATING: "CREATING",
|
|
465
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
466
|
+
DELETING: "DELETING",
|
|
467
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
468
|
+
UPDATING: "UPDATING"
|
|
469
|
+
};
|
|
470
|
+
var _ManagedRuleException = class _ManagedRuleException extends EventBridgeServiceException {
|
|
471
|
+
/**
|
|
472
|
+
* @internal
|
|
473
|
+
*/
|
|
474
|
+
constructor(opts) {
|
|
475
|
+
super({
|
|
476
|
+
name: "ManagedRuleException",
|
|
477
|
+
$fault: "client",
|
|
478
|
+
...opts
|
|
479
|
+
});
|
|
480
|
+
this.name = "ManagedRuleException";
|
|
481
|
+
this.$fault = "client";
|
|
482
|
+
Object.setPrototypeOf(this, _ManagedRuleException.prototype);
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
__name(_ManagedRuleException, "ManagedRuleException");
|
|
486
|
+
var ManagedRuleException = _ManagedRuleException;
|
|
487
|
+
var EventSourceState = {
|
|
488
|
+
ACTIVE: "ACTIVE",
|
|
489
|
+
DELETED: "DELETED",
|
|
490
|
+
PENDING: "PENDING"
|
|
491
|
+
};
|
|
492
|
+
var RuleState = {
|
|
493
|
+
DISABLED: "DISABLED",
|
|
494
|
+
ENABLED: "ENABLED",
|
|
495
|
+
ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS: "ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS"
|
|
496
|
+
};
|
|
497
|
+
var LaunchType = {
|
|
498
|
+
EC2: "EC2",
|
|
499
|
+
EXTERNAL: "EXTERNAL",
|
|
500
|
+
FARGATE: "FARGATE"
|
|
501
|
+
};
|
|
502
|
+
var PlacementConstraintType = {
|
|
503
|
+
DISTINCT_INSTANCE: "distinctInstance",
|
|
504
|
+
MEMBER_OF: "memberOf"
|
|
505
|
+
};
|
|
506
|
+
var PlacementStrategyType = {
|
|
507
|
+
BINPACK: "binpack",
|
|
508
|
+
RANDOM: "random",
|
|
509
|
+
SPREAD: "spread"
|
|
510
|
+
};
|
|
511
|
+
var PropagateTags = {
|
|
512
|
+
TASK_DEFINITION: "TASK_DEFINITION"
|
|
513
|
+
};
|
|
514
|
+
var _PolicyLengthExceededException = class _PolicyLengthExceededException extends EventBridgeServiceException {
|
|
515
|
+
/**
|
|
516
|
+
* @internal
|
|
517
|
+
*/
|
|
518
|
+
constructor(opts) {
|
|
519
|
+
super({
|
|
520
|
+
name: "PolicyLengthExceededException",
|
|
521
|
+
$fault: "client",
|
|
522
|
+
...opts
|
|
523
|
+
});
|
|
524
|
+
this.name = "PolicyLengthExceededException";
|
|
525
|
+
this.$fault = "client";
|
|
526
|
+
Object.setPrototypeOf(this, _PolicyLengthExceededException.prototype);
|
|
527
|
+
}
|
|
528
|
+
};
|
|
529
|
+
__name(_PolicyLengthExceededException, "PolicyLengthExceededException");
|
|
530
|
+
var PolicyLengthExceededException = _PolicyLengthExceededException;
|
|
531
|
+
var AppSyncParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
532
|
+
...obj,
|
|
533
|
+
...obj.GraphQLOperation && { GraphQLOperation: import_smithy_client.SENSITIVE_STRING }
|
|
534
|
+
}), "AppSyncParametersFilterSensitiveLog");
|
|
535
|
+
var CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
536
|
+
...obj,
|
|
537
|
+
...obj.ApiKeyValue && { ApiKeyValue: import_smithy_client.SENSITIVE_STRING }
|
|
538
|
+
}), "CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog");
|
|
539
|
+
var CreateConnectionBasicAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
540
|
+
...obj,
|
|
541
|
+
...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
|
|
542
|
+
}), "CreateConnectionBasicAuthRequestParametersFilterSensitiveLog");
|
|
543
|
+
var ConnectionBodyParameterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
544
|
+
...obj,
|
|
545
|
+
...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
|
|
546
|
+
}), "ConnectionBodyParameterFilterSensitiveLog");
|
|
547
|
+
var ConnectionHeaderParameterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
548
|
+
...obj,
|
|
549
|
+
...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
|
|
550
|
+
}), "ConnectionHeaderParameterFilterSensitiveLog");
|
|
551
|
+
var ConnectionQueryStringParameterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
552
|
+
...obj,
|
|
553
|
+
...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
|
|
554
|
+
}), "ConnectionQueryStringParameterFilterSensitiveLog");
|
|
555
|
+
var ConnectionHttpParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
556
|
+
...obj,
|
|
557
|
+
...obj.HeaderParameters && {
|
|
558
|
+
HeaderParameters: obj.HeaderParameters.map((item) => ConnectionHeaderParameterFilterSensitiveLog(item))
|
|
559
|
+
},
|
|
560
|
+
...obj.QueryStringParameters && {
|
|
561
|
+
QueryStringParameters: obj.QueryStringParameters.map(
|
|
562
|
+
(item) => ConnectionQueryStringParameterFilterSensitiveLog(item)
|
|
563
|
+
)
|
|
564
|
+
},
|
|
565
|
+
...obj.BodyParameters && {
|
|
566
|
+
BodyParameters: obj.BodyParameters.map((item) => ConnectionBodyParameterFilterSensitiveLog(item))
|
|
567
|
+
}
|
|
568
|
+
}), "ConnectionHttpParametersFilterSensitiveLog");
|
|
569
|
+
var CreateConnectionOAuthClientRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
570
|
+
...obj,
|
|
571
|
+
...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
|
|
572
|
+
}), "CreateConnectionOAuthClientRequestParametersFilterSensitiveLog");
|
|
573
|
+
var CreateConnectionOAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
574
|
+
...obj,
|
|
575
|
+
...obj.ClientParameters && {
|
|
576
|
+
ClientParameters: CreateConnectionOAuthClientRequestParametersFilterSensitiveLog(obj.ClientParameters)
|
|
577
|
+
},
|
|
578
|
+
...obj.OAuthHttpParameters && {
|
|
579
|
+
OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters)
|
|
580
|
+
}
|
|
581
|
+
}), "CreateConnectionOAuthRequestParametersFilterSensitiveLog");
|
|
582
|
+
var CreateConnectionAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
583
|
+
...obj,
|
|
584
|
+
...obj.BasicAuthParameters && {
|
|
585
|
+
BasicAuthParameters: CreateConnectionBasicAuthRequestParametersFilterSensitiveLog(obj.BasicAuthParameters)
|
|
586
|
+
},
|
|
587
|
+
...obj.OAuthParameters && {
|
|
588
|
+
OAuthParameters: CreateConnectionOAuthRequestParametersFilterSensitiveLog(obj.OAuthParameters)
|
|
589
|
+
},
|
|
590
|
+
...obj.ApiKeyAuthParameters && {
|
|
591
|
+
ApiKeyAuthParameters: CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog(obj.ApiKeyAuthParameters)
|
|
592
|
+
},
|
|
593
|
+
...obj.InvocationHttpParameters && {
|
|
594
|
+
InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters)
|
|
595
|
+
}
|
|
596
|
+
}), "CreateConnectionAuthRequestParametersFilterSensitiveLog");
|
|
597
|
+
var CreateConnectionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
598
|
+
...obj,
|
|
599
|
+
...obj.AuthParameters && {
|
|
600
|
+
AuthParameters: CreateConnectionAuthRequestParametersFilterSensitiveLog(obj.AuthParameters)
|
|
601
|
+
}
|
|
602
|
+
}), "CreateConnectionRequestFilterSensitiveLog");
|
|
603
|
+
var ConnectionOAuthResponseParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
604
|
+
...obj,
|
|
605
|
+
...obj.OAuthHttpParameters && {
|
|
606
|
+
OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters)
|
|
607
|
+
}
|
|
608
|
+
}), "ConnectionOAuthResponseParametersFilterSensitiveLog");
|
|
609
|
+
var ConnectionAuthResponseParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
610
|
+
...obj,
|
|
611
|
+
...obj.OAuthParameters && {
|
|
612
|
+
OAuthParameters: ConnectionOAuthResponseParametersFilterSensitiveLog(obj.OAuthParameters)
|
|
613
|
+
},
|
|
614
|
+
...obj.InvocationHttpParameters && {
|
|
615
|
+
InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters)
|
|
616
|
+
}
|
|
617
|
+
}), "ConnectionAuthResponseParametersFilterSensitiveLog");
|
|
618
|
+
var DescribeConnectionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
619
|
+
...obj,
|
|
620
|
+
...obj.AuthParameters && { AuthParameters: ConnectionAuthResponseParametersFilterSensitiveLog(obj.AuthParameters) }
|
|
621
|
+
}), "DescribeConnectionResponseFilterSensitiveLog");
|
|
622
|
+
var RedshiftDataParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
623
|
+
...obj,
|
|
624
|
+
...obj.Sql && { Sql: import_smithy_client.SENSITIVE_STRING },
|
|
625
|
+
...obj.Sqls && { Sqls: import_smithy_client.SENSITIVE_STRING }
|
|
626
|
+
}), "RedshiftDataParametersFilterSensitiveLog");
|
|
627
|
+
var TargetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
628
|
+
...obj,
|
|
629
|
+
...obj.RedshiftDataParameters && {
|
|
630
|
+
RedshiftDataParameters: RedshiftDataParametersFilterSensitiveLog(obj.RedshiftDataParameters)
|
|
631
|
+
},
|
|
632
|
+
...obj.AppSyncParameters && { AppSyncParameters: AppSyncParametersFilterSensitiveLog(obj.AppSyncParameters) }
|
|
633
|
+
}), "TargetFilterSensitiveLog");
|
|
634
|
+
var ListTargetsByRuleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
635
|
+
...obj,
|
|
636
|
+
...obj.Targets && { Targets: obj.Targets.map((item) => TargetFilterSensitiveLog(item)) }
|
|
637
|
+
}), "ListTargetsByRuleResponseFilterSensitiveLog");
|
|
638
|
+
var PutTargetsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
639
|
+
...obj,
|
|
640
|
+
...obj.Targets && { Targets: obj.Targets.map((item) => TargetFilterSensitiveLog(item)) }
|
|
641
|
+
}), "PutTargetsRequestFilterSensitiveLog");
|
|
642
|
+
var UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
643
|
+
...obj,
|
|
644
|
+
...obj.ApiKeyValue && { ApiKeyValue: import_smithy_client.SENSITIVE_STRING }
|
|
645
|
+
}), "UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog");
|
|
646
|
+
var UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
647
|
+
...obj,
|
|
648
|
+
...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
|
|
649
|
+
}), "UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog");
|
|
650
|
+
var UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
651
|
+
...obj,
|
|
652
|
+
...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
|
|
653
|
+
}), "UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog");
|
|
654
|
+
var UpdateConnectionOAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
655
|
+
...obj,
|
|
656
|
+
...obj.ClientParameters && {
|
|
657
|
+
ClientParameters: UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog(obj.ClientParameters)
|
|
658
|
+
},
|
|
659
|
+
...obj.OAuthHttpParameters && {
|
|
660
|
+
OAuthHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.OAuthHttpParameters)
|
|
661
|
+
}
|
|
662
|
+
}), "UpdateConnectionOAuthRequestParametersFilterSensitiveLog");
|
|
663
|
+
var UpdateConnectionAuthRequestParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
664
|
+
...obj,
|
|
665
|
+
...obj.BasicAuthParameters && {
|
|
666
|
+
BasicAuthParameters: UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog(obj.BasicAuthParameters)
|
|
667
|
+
},
|
|
668
|
+
...obj.OAuthParameters && {
|
|
669
|
+
OAuthParameters: UpdateConnectionOAuthRequestParametersFilterSensitiveLog(obj.OAuthParameters)
|
|
670
|
+
},
|
|
671
|
+
...obj.ApiKeyAuthParameters && {
|
|
672
|
+
ApiKeyAuthParameters: UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog(obj.ApiKeyAuthParameters)
|
|
673
|
+
},
|
|
674
|
+
...obj.InvocationHttpParameters && {
|
|
675
|
+
InvocationHttpParameters: ConnectionHttpParametersFilterSensitiveLog(obj.InvocationHttpParameters)
|
|
676
|
+
}
|
|
677
|
+
}), "UpdateConnectionAuthRequestParametersFilterSensitiveLog");
|
|
678
|
+
var UpdateConnectionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
679
|
+
...obj,
|
|
680
|
+
...obj.AuthParameters && {
|
|
681
|
+
AuthParameters: UpdateConnectionAuthRequestParametersFilterSensitiveLog(obj.AuthParameters)
|
|
682
|
+
}
|
|
683
|
+
}), "UpdateConnectionRequestFilterSensitiveLog");
|
|
684
|
+
|
|
685
|
+
// src/protocols/Aws_json1_1.ts
|
|
686
|
+
var se_ActivateEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
687
|
+
const headers = sharedHeaders("ActivateEventSource");
|
|
688
|
+
let body;
|
|
689
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
690
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
691
|
+
}, "se_ActivateEventSourceCommand");
|
|
692
|
+
var se_CancelReplayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
693
|
+
const headers = sharedHeaders("CancelReplay");
|
|
694
|
+
let body;
|
|
695
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
696
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
697
|
+
}, "se_CancelReplayCommand");
|
|
698
|
+
var se_CreateApiDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
699
|
+
const headers = sharedHeaders("CreateApiDestination");
|
|
700
|
+
let body;
|
|
701
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
702
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
703
|
+
}, "se_CreateApiDestinationCommand");
|
|
704
|
+
var se_CreateArchiveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
705
|
+
const headers = sharedHeaders("CreateArchive");
|
|
706
|
+
let body;
|
|
707
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
708
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
709
|
+
}, "se_CreateArchiveCommand");
|
|
710
|
+
var se_CreateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
711
|
+
const headers = sharedHeaders("CreateConnection");
|
|
712
|
+
let body;
|
|
713
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
714
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
715
|
+
}, "se_CreateConnectionCommand");
|
|
716
|
+
var se_CreateEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
717
|
+
const headers = sharedHeaders("CreateEndpoint");
|
|
718
|
+
let body;
|
|
719
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
720
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
721
|
+
}, "se_CreateEndpointCommand");
|
|
722
|
+
var se_CreateEventBusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
723
|
+
const headers = sharedHeaders("CreateEventBus");
|
|
724
|
+
let body;
|
|
725
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
726
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
727
|
+
}, "se_CreateEventBusCommand");
|
|
728
|
+
var se_CreatePartnerEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
729
|
+
const headers = sharedHeaders("CreatePartnerEventSource");
|
|
730
|
+
let body;
|
|
731
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
732
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
733
|
+
}, "se_CreatePartnerEventSourceCommand");
|
|
734
|
+
var se_DeactivateEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
735
|
+
const headers = sharedHeaders("DeactivateEventSource");
|
|
736
|
+
let body;
|
|
737
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
738
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
739
|
+
}, "se_DeactivateEventSourceCommand");
|
|
740
|
+
var se_DeauthorizeConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
741
|
+
const headers = sharedHeaders("DeauthorizeConnection");
|
|
742
|
+
let body;
|
|
743
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
744
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
745
|
+
}, "se_DeauthorizeConnectionCommand");
|
|
746
|
+
var se_DeleteApiDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
747
|
+
const headers = sharedHeaders("DeleteApiDestination");
|
|
748
|
+
let body;
|
|
749
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
750
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
751
|
+
}, "se_DeleteApiDestinationCommand");
|
|
752
|
+
var se_DeleteArchiveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
753
|
+
const headers = sharedHeaders("DeleteArchive");
|
|
754
|
+
let body;
|
|
755
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
756
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
757
|
+
}, "se_DeleteArchiveCommand");
|
|
758
|
+
var se_DeleteConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
759
|
+
const headers = sharedHeaders("DeleteConnection");
|
|
760
|
+
let body;
|
|
761
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
762
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
763
|
+
}, "se_DeleteConnectionCommand");
|
|
764
|
+
var se_DeleteEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
765
|
+
const headers = sharedHeaders("DeleteEndpoint");
|
|
766
|
+
let body;
|
|
767
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
768
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
769
|
+
}, "se_DeleteEndpointCommand");
|
|
770
|
+
var se_DeleteEventBusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
771
|
+
const headers = sharedHeaders("DeleteEventBus");
|
|
772
|
+
let body;
|
|
773
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
774
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
775
|
+
}, "se_DeleteEventBusCommand");
|
|
776
|
+
var se_DeletePartnerEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
777
|
+
const headers = sharedHeaders("DeletePartnerEventSource");
|
|
778
|
+
let body;
|
|
779
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
780
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
781
|
+
}, "se_DeletePartnerEventSourceCommand");
|
|
782
|
+
var se_DeleteRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
783
|
+
const headers = sharedHeaders("DeleteRule");
|
|
784
|
+
let body;
|
|
785
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
786
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
787
|
+
}, "se_DeleteRuleCommand");
|
|
788
|
+
var se_DescribeApiDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
789
|
+
const headers = sharedHeaders("DescribeApiDestination");
|
|
790
|
+
let body;
|
|
791
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
792
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
793
|
+
}, "se_DescribeApiDestinationCommand");
|
|
794
|
+
var se_DescribeArchiveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
795
|
+
const headers = sharedHeaders("DescribeArchive");
|
|
796
|
+
let body;
|
|
797
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
798
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
799
|
+
}, "se_DescribeArchiveCommand");
|
|
800
|
+
var se_DescribeConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
801
|
+
const headers = sharedHeaders("DescribeConnection");
|
|
802
|
+
let body;
|
|
803
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
804
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
805
|
+
}, "se_DescribeConnectionCommand");
|
|
806
|
+
var se_DescribeEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
807
|
+
const headers = sharedHeaders("DescribeEndpoint");
|
|
808
|
+
let body;
|
|
809
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
810
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
811
|
+
}, "se_DescribeEndpointCommand");
|
|
812
|
+
var se_DescribeEventBusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
813
|
+
const headers = sharedHeaders("DescribeEventBus");
|
|
814
|
+
let body;
|
|
815
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
816
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
817
|
+
}, "se_DescribeEventBusCommand");
|
|
818
|
+
var se_DescribeEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
819
|
+
const headers = sharedHeaders("DescribeEventSource");
|
|
820
|
+
let body;
|
|
821
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
822
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
823
|
+
}, "se_DescribeEventSourceCommand");
|
|
824
|
+
var se_DescribePartnerEventSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
825
|
+
const headers = sharedHeaders("DescribePartnerEventSource");
|
|
826
|
+
let body;
|
|
827
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
828
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
829
|
+
}, "se_DescribePartnerEventSourceCommand");
|
|
830
|
+
var se_DescribeReplayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
831
|
+
const headers = sharedHeaders("DescribeReplay");
|
|
832
|
+
let body;
|
|
833
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
834
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
835
|
+
}, "se_DescribeReplayCommand");
|
|
836
|
+
var se_DescribeRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
837
|
+
const headers = sharedHeaders("DescribeRule");
|
|
838
|
+
let body;
|
|
839
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
840
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
841
|
+
}, "se_DescribeRuleCommand");
|
|
842
|
+
var se_DisableRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
843
|
+
const headers = sharedHeaders("DisableRule");
|
|
844
|
+
let body;
|
|
845
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
846
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
847
|
+
}, "se_DisableRuleCommand");
|
|
848
|
+
var se_EnableRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
849
|
+
const headers = sharedHeaders("EnableRule");
|
|
850
|
+
let body;
|
|
851
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
852
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
853
|
+
}, "se_EnableRuleCommand");
|
|
854
|
+
var se_ListApiDestinationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
855
|
+
const headers = sharedHeaders("ListApiDestinations");
|
|
856
|
+
let body;
|
|
857
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
858
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
859
|
+
}, "se_ListApiDestinationsCommand");
|
|
860
|
+
var se_ListArchivesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
861
|
+
const headers = sharedHeaders("ListArchives");
|
|
862
|
+
let body;
|
|
863
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
864
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
865
|
+
}, "se_ListArchivesCommand");
|
|
866
|
+
var se_ListConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
867
|
+
const headers = sharedHeaders("ListConnections");
|
|
868
|
+
let body;
|
|
869
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
870
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
871
|
+
}, "se_ListConnectionsCommand");
|
|
872
|
+
var se_ListEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
873
|
+
const headers = sharedHeaders("ListEndpoints");
|
|
874
|
+
let body;
|
|
875
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
876
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
877
|
+
}, "se_ListEndpointsCommand");
|
|
878
|
+
var se_ListEventBusesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
879
|
+
const headers = sharedHeaders("ListEventBuses");
|
|
880
|
+
let body;
|
|
881
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
882
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
883
|
+
}, "se_ListEventBusesCommand");
|
|
884
|
+
var se_ListEventSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
885
|
+
const headers = sharedHeaders("ListEventSources");
|
|
886
|
+
let body;
|
|
887
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
888
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
889
|
+
}, "se_ListEventSourcesCommand");
|
|
890
|
+
var se_ListPartnerEventSourceAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
891
|
+
const headers = sharedHeaders("ListPartnerEventSourceAccounts");
|
|
892
|
+
let body;
|
|
893
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
894
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
895
|
+
}, "se_ListPartnerEventSourceAccountsCommand");
|
|
896
|
+
var se_ListPartnerEventSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
897
|
+
const headers = sharedHeaders("ListPartnerEventSources");
|
|
898
|
+
let body;
|
|
899
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
900
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
901
|
+
}, "se_ListPartnerEventSourcesCommand");
|
|
902
|
+
var se_ListReplaysCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
903
|
+
const headers = sharedHeaders("ListReplays");
|
|
904
|
+
let body;
|
|
905
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
906
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
907
|
+
}, "se_ListReplaysCommand");
|
|
908
|
+
var se_ListRuleNamesByTargetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
909
|
+
const headers = sharedHeaders("ListRuleNamesByTarget");
|
|
910
|
+
let body;
|
|
911
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
912
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
913
|
+
}, "se_ListRuleNamesByTargetCommand");
|
|
914
|
+
var se_ListRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
915
|
+
const headers = sharedHeaders("ListRules");
|
|
916
|
+
let body;
|
|
917
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
918
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
919
|
+
}, "se_ListRulesCommand");
|
|
920
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
921
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
922
|
+
let body;
|
|
923
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
924
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
925
|
+
}, "se_ListTagsForResourceCommand");
|
|
926
|
+
var se_ListTargetsByRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
927
|
+
const headers = sharedHeaders("ListTargetsByRule");
|
|
928
|
+
let body;
|
|
929
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
930
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
931
|
+
}, "se_ListTargetsByRuleCommand");
|
|
932
|
+
var se_PutEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
933
|
+
const headers = sharedHeaders("PutEvents");
|
|
934
|
+
let body;
|
|
935
|
+
body = JSON.stringify(se_PutEventsRequest(input, context));
|
|
936
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
937
|
+
}, "se_PutEventsCommand");
|
|
938
|
+
var se_PutPartnerEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
939
|
+
const headers = sharedHeaders("PutPartnerEvents");
|
|
940
|
+
let body;
|
|
941
|
+
body = JSON.stringify(se_PutPartnerEventsRequest(input, context));
|
|
942
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
943
|
+
}, "se_PutPartnerEventsCommand");
|
|
944
|
+
var se_PutPermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
945
|
+
const headers = sharedHeaders("PutPermission");
|
|
946
|
+
let body;
|
|
947
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
948
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
949
|
+
}, "se_PutPermissionCommand");
|
|
950
|
+
var se_PutRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
951
|
+
const headers = sharedHeaders("PutRule");
|
|
952
|
+
let body;
|
|
953
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
954
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
955
|
+
}, "se_PutRuleCommand");
|
|
956
|
+
var se_PutTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
957
|
+
const headers = sharedHeaders("PutTargets");
|
|
958
|
+
let body;
|
|
959
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
960
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
961
|
+
}, "se_PutTargetsCommand");
|
|
962
|
+
var se_RemovePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
963
|
+
const headers = sharedHeaders("RemovePermission");
|
|
964
|
+
let body;
|
|
965
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
966
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
967
|
+
}, "se_RemovePermissionCommand");
|
|
968
|
+
var se_RemoveTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
969
|
+
const headers = sharedHeaders("RemoveTargets");
|
|
970
|
+
let body;
|
|
971
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
972
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
973
|
+
}, "se_RemoveTargetsCommand");
|
|
974
|
+
var se_StartReplayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
975
|
+
const headers = sharedHeaders("StartReplay");
|
|
976
|
+
let body;
|
|
977
|
+
body = JSON.stringify(se_StartReplayRequest(input, context));
|
|
978
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
979
|
+
}, "se_StartReplayCommand");
|
|
980
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
981
|
+
const headers = sharedHeaders("TagResource");
|
|
982
|
+
let body;
|
|
983
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
984
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
985
|
+
}, "se_TagResourceCommand");
|
|
986
|
+
var se_TestEventPatternCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
987
|
+
const headers = sharedHeaders("TestEventPattern");
|
|
988
|
+
let body;
|
|
989
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
990
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
991
|
+
}, "se_TestEventPatternCommand");
|
|
992
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
993
|
+
const headers = sharedHeaders("UntagResource");
|
|
994
|
+
let body;
|
|
995
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
996
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
997
|
+
}, "se_UntagResourceCommand");
|
|
998
|
+
var se_UpdateApiDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
999
|
+
const headers = sharedHeaders("UpdateApiDestination");
|
|
1000
|
+
let body;
|
|
1001
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1002
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1003
|
+
}, "se_UpdateApiDestinationCommand");
|
|
1004
|
+
var se_UpdateArchiveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1005
|
+
const headers = sharedHeaders("UpdateArchive");
|
|
1006
|
+
let body;
|
|
1007
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1008
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1009
|
+
}, "se_UpdateArchiveCommand");
|
|
1010
|
+
var se_UpdateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1011
|
+
const headers = sharedHeaders("UpdateConnection");
|
|
1012
|
+
let body;
|
|
1013
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1014
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1015
|
+
}, "se_UpdateConnectionCommand");
|
|
1016
|
+
var se_UpdateEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1017
|
+
const headers = sharedHeaders("UpdateEndpoint");
|
|
1018
|
+
let body;
|
|
1019
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1020
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1021
|
+
}, "se_UpdateEndpointCommand");
|
|
1022
|
+
var de_ActivateEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1023
|
+
if (output.statusCode >= 300) {
|
|
1024
|
+
return de_ActivateEventSourceCommandError(output, context);
|
|
1025
|
+
}
|
|
1026
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1027
|
+
const response = {
|
|
1028
|
+
$metadata: deserializeMetadata(output)
|
|
1029
|
+
};
|
|
1030
|
+
return response;
|
|
1031
|
+
}, "de_ActivateEventSourceCommand");
|
|
1032
|
+
var de_ActivateEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1033
|
+
const parsedOutput = {
|
|
1034
|
+
...output,
|
|
1035
|
+
body: await parseErrorBody(output.body, context)
|
|
1036
|
+
};
|
|
1037
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1038
|
+
switch (errorCode) {
|
|
1039
|
+
case "ConcurrentModificationException":
|
|
1040
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1041
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1042
|
+
case "InternalException":
|
|
1043
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1044
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1045
|
+
case "InvalidStateException":
|
|
1046
|
+
case "com.amazonaws.eventbridge#InvalidStateException":
|
|
1047
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1048
|
+
case "OperationDisabledException":
|
|
1049
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
1050
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
1051
|
+
case "ResourceNotFoundException":
|
|
1052
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1053
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1054
|
+
default:
|
|
1055
|
+
const parsedBody = parsedOutput.body;
|
|
1056
|
+
return throwDefaultError({
|
|
1057
|
+
output,
|
|
1058
|
+
parsedBody,
|
|
1059
|
+
errorCode
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
}, "de_ActivateEventSourceCommandError");
|
|
1063
|
+
var de_CancelReplayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1064
|
+
if (output.statusCode >= 300) {
|
|
1065
|
+
return de_CancelReplayCommandError(output, context);
|
|
1066
|
+
}
|
|
1067
|
+
const data = await parseBody(output.body, context);
|
|
1068
|
+
let contents = {};
|
|
1069
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1070
|
+
const response = {
|
|
1071
|
+
$metadata: deserializeMetadata(output),
|
|
1072
|
+
...contents
|
|
1073
|
+
};
|
|
1074
|
+
return response;
|
|
1075
|
+
}, "de_CancelReplayCommand");
|
|
1076
|
+
var de_CancelReplayCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1077
|
+
const parsedOutput = {
|
|
1078
|
+
...output,
|
|
1079
|
+
body: await parseErrorBody(output.body, context)
|
|
1080
|
+
};
|
|
1081
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1082
|
+
switch (errorCode) {
|
|
1083
|
+
case "ConcurrentModificationException":
|
|
1084
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1085
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1086
|
+
case "IllegalStatusException":
|
|
1087
|
+
case "com.amazonaws.eventbridge#IllegalStatusException":
|
|
1088
|
+
throw await de_IllegalStatusExceptionRes(parsedOutput, context);
|
|
1089
|
+
case "InternalException":
|
|
1090
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1091
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1092
|
+
case "ResourceNotFoundException":
|
|
1093
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1094
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1095
|
+
default:
|
|
1096
|
+
const parsedBody = parsedOutput.body;
|
|
1097
|
+
return throwDefaultError({
|
|
1098
|
+
output,
|
|
1099
|
+
parsedBody,
|
|
1100
|
+
errorCode
|
|
1101
|
+
});
|
|
1102
|
+
}
|
|
1103
|
+
}, "de_CancelReplayCommandError");
|
|
1104
|
+
var de_CreateApiDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1105
|
+
if (output.statusCode >= 300) {
|
|
1106
|
+
return de_CreateApiDestinationCommandError(output, context);
|
|
1107
|
+
}
|
|
1108
|
+
const data = await parseBody(output.body, context);
|
|
1109
|
+
let contents = {};
|
|
1110
|
+
contents = de_CreateApiDestinationResponse(data, context);
|
|
1111
|
+
const response = {
|
|
1112
|
+
$metadata: deserializeMetadata(output),
|
|
1113
|
+
...contents
|
|
1114
|
+
};
|
|
1115
|
+
return response;
|
|
1116
|
+
}, "de_CreateApiDestinationCommand");
|
|
1117
|
+
var de_CreateApiDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1118
|
+
const parsedOutput = {
|
|
1119
|
+
...output,
|
|
1120
|
+
body: await parseErrorBody(output.body, context)
|
|
1121
|
+
};
|
|
1122
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1123
|
+
switch (errorCode) {
|
|
1124
|
+
case "InternalException":
|
|
1125
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1126
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1127
|
+
case "LimitExceededException":
|
|
1128
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
1129
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1130
|
+
case "ResourceAlreadyExistsException":
|
|
1131
|
+
case "com.amazonaws.eventbridge#ResourceAlreadyExistsException":
|
|
1132
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1133
|
+
case "ResourceNotFoundException":
|
|
1134
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1135
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1136
|
+
default:
|
|
1137
|
+
const parsedBody = parsedOutput.body;
|
|
1138
|
+
return throwDefaultError({
|
|
1139
|
+
output,
|
|
1140
|
+
parsedBody,
|
|
1141
|
+
errorCode
|
|
1142
|
+
});
|
|
1143
|
+
}
|
|
1144
|
+
}, "de_CreateApiDestinationCommandError");
|
|
1145
|
+
var de_CreateArchiveCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1146
|
+
if (output.statusCode >= 300) {
|
|
1147
|
+
return de_CreateArchiveCommandError(output, context);
|
|
1148
|
+
}
|
|
1149
|
+
const data = await parseBody(output.body, context);
|
|
1150
|
+
let contents = {};
|
|
1151
|
+
contents = de_CreateArchiveResponse(data, context);
|
|
1152
|
+
const response = {
|
|
1153
|
+
$metadata: deserializeMetadata(output),
|
|
1154
|
+
...contents
|
|
1155
|
+
};
|
|
1156
|
+
return response;
|
|
1157
|
+
}, "de_CreateArchiveCommand");
|
|
1158
|
+
var de_CreateArchiveCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1159
|
+
const parsedOutput = {
|
|
1160
|
+
...output,
|
|
1161
|
+
body: await parseErrorBody(output.body, context)
|
|
1162
|
+
};
|
|
1163
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1164
|
+
switch (errorCode) {
|
|
1165
|
+
case "ConcurrentModificationException":
|
|
1166
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1167
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1168
|
+
case "InternalException":
|
|
1169
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1170
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1171
|
+
case "InvalidEventPatternException":
|
|
1172
|
+
case "com.amazonaws.eventbridge#InvalidEventPatternException":
|
|
1173
|
+
throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
|
|
1174
|
+
case "LimitExceededException":
|
|
1175
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
1176
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1177
|
+
case "ResourceAlreadyExistsException":
|
|
1178
|
+
case "com.amazonaws.eventbridge#ResourceAlreadyExistsException":
|
|
1179
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1180
|
+
case "ResourceNotFoundException":
|
|
1181
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1182
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1183
|
+
default:
|
|
1184
|
+
const parsedBody = parsedOutput.body;
|
|
1185
|
+
return throwDefaultError({
|
|
1186
|
+
output,
|
|
1187
|
+
parsedBody,
|
|
1188
|
+
errorCode
|
|
1189
|
+
});
|
|
1190
|
+
}
|
|
1191
|
+
}, "de_CreateArchiveCommandError");
|
|
1192
|
+
var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1193
|
+
if (output.statusCode >= 300) {
|
|
1194
|
+
return de_CreateConnectionCommandError(output, context);
|
|
1195
|
+
}
|
|
1196
|
+
const data = await parseBody(output.body, context);
|
|
1197
|
+
let contents = {};
|
|
1198
|
+
contents = de_CreateConnectionResponse(data, context);
|
|
1199
|
+
const response = {
|
|
1200
|
+
$metadata: deserializeMetadata(output),
|
|
1201
|
+
...contents
|
|
1202
|
+
};
|
|
1203
|
+
return response;
|
|
1204
|
+
}, "de_CreateConnectionCommand");
|
|
1205
|
+
var de_CreateConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1206
|
+
const parsedOutput = {
|
|
1207
|
+
...output,
|
|
1208
|
+
body: await parseErrorBody(output.body, context)
|
|
1209
|
+
};
|
|
1210
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1211
|
+
switch (errorCode) {
|
|
1212
|
+
case "InternalException":
|
|
1213
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1214
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1215
|
+
case "LimitExceededException":
|
|
1216
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
1217
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1218
|
+
case "ResourceAlreadyExistsException":
|
|
1219
|
+
case "com.amazonaws.eventbridge#ResourceAlreadyExistsException":
|
|
1220
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1221
|
+
default:
|
|
1222
|
+
const parsedBody = parsedOutput.body;
|
|
1223
|
+
return throwDefaultError({
|
|
1224
|
+
output,
|
|
1225
|
+
parsedBody,
|
|
1226
|
+
errorCode
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
}, "de_CreateConnectionCommandError");
|
|
1230
|
+
var de_CreateEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1231
|
+
if (output.statusCode >= 300) {
|
|
1232
|
+
return de_CreateEndpointCommandError(output, context);
|
|
1233
|
+
}
|
|
1234
|
+
const data = await parseBody(output.body, context);
|
|
1235
|
+
let contents = {};
|
|
1236
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1237
|
+
const response = {
|
|
1238
|
+
$metadata: deserializeMetadata(output),
|
|
1239
|
+
...contents
|
|
1240
|
+
};
|
|
1241
|
+
return response;
|
|
1242
|
+
}, "de_CreateEndpointCommand");
|
|
1243
|
+
var de_CreateEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1244
|
+
const parsedOutput = {
|
|
1245
|
+
...output,
|
|
1246
|
+
body: await parseErrorBody(output.body, context)
|
|
1247
|
+
};
|
|
1248
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1249
|
+
switch (errorCode) {
|
|
1250
|
+
case "InternalException":
|
|
1251
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1252
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1253
|
+
case "LimitExceededException":
|
|
1254
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
1255
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1256
|
+
case "ResourceAlreadyExistsException":
|
|
1257
|
+
case "com.amazonaws.eventbridge#ResourceAlreadyExistsException":
|
|
1258
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1259
|
+
default:
|
|
1260
|
+
const parsedBody = parsedOutput.body;
|
|
1261
|
+
return throwDefaultError({
|
|
1262
|
+
output,
|
|
1263
|
+
parsedBody,
|
|
1264
|
+
errorCode
|
|
1265
|
+
});
|
|
1266
|
+
}
|
|
1267
|
+
}, "de_CreateEndpointCommandError");
|
|
1268
|
+
var de_CreateEventBusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1269
|
+
if (output.statusCode >= 300) {
|
|
1270
|
+
return de_CreateEventBusCommandError(output, context);
|
|
1271
|
+
}
|
|
1272
|
+
const data = await parseBody(output.body, context);
|
|
1273
|
+
let contents = {};
|
|
1274
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1275
|
+
const response = {
|
|
1276
|
+
$metadata: deserializeMetadata(output),
|
|
1277
|
+
...contents
|
|
1278
|
+
};
|
|
1279
|
+
return response;
|
|
1280
|
+
}, "de_CreateEventBusCommand");
|
|
1281
|
+
var de_CreateEventBusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1282
|
+
const parsedOutput = {
|
|
1283
|
+
...output,
|
|
1284
|
+
body: await parseErrorBody(output.body, context)
|
|
1285
|
+
};
|
|
1286
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1287
|
+
switch (errorCode) {
|
|
1288
|
+
case "ConcurrentModificationException":
|
|
1289
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1290
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1291
|
+
case "InternalException":
|
|
1292
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1293
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1294
|
+
case "InvalidStateException":
|
|
1295
|
+
case "com.amazonaws.eventbridge#InvalidStateException":
|
|
1296
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1297
|
+
case "LimitExceededException":
|
|
1298
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
1299
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1300
|
+
case "OperationDisabledException":
|
|
1301
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
1302
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
1303
|
+
case "ResourceAlreadyExistsException":
|
|
1304
|
+
case "com.amazonaws.eventbridge#ResourceAlreadyExistsException":
|
|
1305
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1306
|
+
case "ResourceNotFoundException":
|
|
1307
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1308
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1309
|
+
default:
|
|
1310
|
+
const parsedBody = parsedOutput.body;
|
|
1311
|
+
return throwDefaultError({
|
|
1312
|
+
output,
|
|
1313
|
+
parsedBody,
|
|
1314
|
+
errorCode
|
|
1315
|
+
});
|
|
1316
|
+
}
|
|
1317
|
+
}, "de_CreateEventBusCommandError");
|
|
1318
|
+
var de_CreatePartnerEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1319
|
+
if (output.statusCode >= 300) {
|
|
1320
|
+
return de_CreatePartnerEventSourceCommandError(output, context);
|
|
1321
|
+
}
|
|
1322
|
+
const data = await parseBody(output.body, context);
|
|
1323
|
+
let contents = {};
|
|
1324
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1325
|
+
const response = {
|
|
1326
|
+
$metadata: deserializeMetadata(output),
|
|
1327
|
+
...contents
|
|
1328
|
+
};
|
|
1329
|
+
return response;
|
|
1330
|
+
}, "de_CreatePartnerEventSourceCommand");
|
|
1331
|
+
var de_CreatePartnerEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1332
|
+
const parsedOutput = {
|
|
1333
|
+
...output,
|
|
1334
|
+
body: await parseErrorBody(output.body, context)
|
|
1335
|
+
};
|
|
1336
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1337
|
+
switch (errorCode) {
|
|
1338
|
+
case "ConcurrentModificationException":
|
|
1339
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1340
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1341
|
+
case "InternalException":
|
|
1342
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1343
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1344
|
+
case "LimitExceededException":
|
|
1345
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
1346
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1347
|
+
case "OperationDisabledException":
|
|
1348
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
1349
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
1350
|
+
case "ResourceAlreadyExistsException":
|
|
1351
|
+
case "com.amazonaws.eventbridge#ResourceAlreadyExistsException":
|
|
1352
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1353
|
+
default:
|
|
1354
|
+
const parsedBody = parsedOutput.body;
|
|
1355
|
+
return throwDefaultError({
|
|
1356
|
+
output,
|
|
1357
|
+
parsedBody,
|
|
1358
|
+
errorCode
|
|
1359
|
+
});
|
|
1360
|
+
}
|
|
1361
|
+
}, "de_CreatePartnerEventSourceCommandError");
|
|
1362
|
+
var de_DeactivateEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1363
|
+
if (output.statusCode >= 300) {
|
|
1364
|
+
return de_DeactivateEventSourceCommandError(output, context);
|
|
1365
|
+
}
|
|
1366
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1367
|
+
const response = {
|
|
1368
|
+
$metadata: deserializeMetadata(output)
|
|
1369
|
+
};
|
|
1370
|
+
return response;
|
|
1371
|
+
}, "de_DeactivateEventSourceCommand");
|
|
1372
|
+
var de_DeactivateEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1373
|
+
const parsedOutput = {
|
|
1374
|
+
...output,
|
|
1375
|
+
body: await parseErrorBody(output.body, context)
|
|
1376
|
+
};
|
|
1377
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1378
|
+
switch (errorCode) {
|
|
1379
|
+
case "ConcurrentModificationException":
|
|
1380
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1381
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1382
|
+
case "InternalException":
|
|
1383
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1384
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1385
|
+
case "InvalidStateException":
|
|
1386
|
+
case "com.amazonaws.eventbridge#InvalidStateException":
|
|
1387
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1388
|
+
case "OperationDisabledException":
|
|
1389
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
1390
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
1391
|
+
case "ResourceNotFoundException":
|
|
1392
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1393
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1394
|
+
default:
|
|
1395
|
+
const parsedBody = parsedOutput.body;
|
|
1396
|
+
return throwDefaultError({
|
|
1397
|
+
output,
|
|
1398
|
+
parsedBody,
|
|
1399
|
+
errorCode
|
|
1400
|
+
});
|
|
1401
|
+
}
|
|
1402
|
+
}, "de_DeactivateEventSourceCommandError");
|
|
1403
|
+
var de_DeauthorizeConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1404
|
+
if (output.statusCode >= 300) {
|
|
1405
|
+
return de_DeauthorizeConnectionCommandError(output, context);
|
|
1406
|
+
}
|
|
1407
|
+
const data = await parseBody(output.body, context);
|
|
1408
|
+
let contents = {};
|
|
1409
|
+
contents = de_DeauthorizeConnectionResponse(data, context);
|
|
1410
|
+
const response = {
|
|
1411
|
+
$metadata: deserializeMetadata(output),
|
|
1412
|
+
...contents
|
|
1413
|
+
};
|
|
1414
|
+
return response;
|
|
1415
|
+
}, "de_DeauthorizeConnectionCommand");
|
|
1416
|
+
var de_DeauthorizeConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1417
|
+
const parsedOutput = {
|
|
1418
|
+
...output,
|
|
1419
|
+
body: await parseErrorBody(output.body, context)
|
|
1420
|
+
};
|
|
1421
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1422
|
+
switch (errorCode) {
|
|
1423
|
+
case "ConcurrentModificationException":
|
|
1424
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1425
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1426
|
+
case "InternalException":
|
|
1427
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1428
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1429
|
+
case "ResourceNotFoundException":
|
|
1430
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1431
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1432
|
+
default:
|
|
1433
|
+
const parsedBody = parsedOutput.body;
|
|
1434
|
+
return throwDefaultError({
|
|
1435
|
+
output,
|
|
1436
|
+
parsedBody,
|
|
1437
|
+
errorCode
|
|
1438
|
+
});
|
|
1439
|
+
}
|
|
1440
|
+
}, "de_DeauthorizeConnectionCommandError");
|
|
1441
|
+
var de_DeleteApiDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1442
|
+
if (output.statusCode >= 300) {
|
|
1443
|
+
return de_DeleteApiDestinationCommandError(output, context);
|
|
1444
|
+
}
|
|
1445
|
+
const data = await parseBody(output.body, context);
|
|
1446
|
+
let contents = {};
|
|
1447
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1448
|
+
const response = {
|
|
1449
|
+
$metadata: deserializeMetadata(output),
|
|
1450
|
+
...contents
|
|
1451
|
+
};
|
|
1452
|
+
return response;
|
|
1453
|
+
}, "de_DeleteApiDestinationCommand");
|
|
1454
|
+
var de_DeleteApiDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1455
|
+
const parsedOutput = {
|
|
1456
|
+
...output,
|
|
1457
|
+
body: await parseErrorBody(output.body, context)
|
|
1458
|
+
};
|
|
1459
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1460
|
+
switch (errorCode) {
|
|
1461
|
+
case "ConcurrentModificationException":
|
|
1462
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1463
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1464
|
+
case "InternalException":
|
|
1465
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1466
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1467
|
+
case "ResourceNotFoundException":
|
|
1468
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1469
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1470
|
+
default:
|
|
1471
|
+
const parsedBody = parsedOutput.body;
|
|
1472
|
+
return throwDefaultError({
|
|
1473
|
+
output,
|
|
1474
|
+
parsedBody,
|
|
1475
|
+
errorCode
|
|
1476
|
+
});
|
|
1477
|
+
}
|
|
1478
|
+
}, "de_DeleteApiDestinationCommandError");
|
|
1479
|
+
var de_DeleteArchiveCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1480
|
+
if (output.statusCode >= 300) {
|
|
1481
|
+
return de_DeleteArchiveCommandError(output, context);
|
|
1482
|
+
}
|
|
1483
|
+
const data = await parseBody(output.body, context);
|
|
1484
|
+
let contents = {};
|
|
1485
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1486
|
+
const response = {
|
|
1487
|
+
$metadata: deserializeMetadata(output),
|
|
1488
|
+
...contents
|
|
1489
|
+
};
|
|
1490
|
+
return response;
|
|
1491
|
+
}, "de_DeleteArchiveCommand");
|
|
1492
|
+
var de_DeleteArchiveCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1493
|
+
const parsedOutput = {
|
|
1494
|
+
...output,
|
|
1495
|
+
body: await parseErrorBody(output.body, context)
|
|
1496
|
+
};
|
|
1497
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1498
|
+
switch (errorCode) {
|
|
1499
|
+
case "ConcurrentModificationException":
|
|
1500
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1501
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1502
|
+
case "InternalException":
|
|
1503
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1504
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1505
|
+
case "ResourceNotFoundException":
|
|
1506
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1507
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1508
|
+
default:
|
|
1509
|
+
const parsedBody = parsedOutput.body;
|
|
1510
|
+
return throwDefaultError({
|
|
1511
|
+
output,
|
|
1512
|
+
parsedBody,
|
|
1513
|
+
errorCode
|
|
1514
|
+
});
|
|
1515
|
+
}
|
|
1516
|
+
}, "de_DeleteArchiveCommandError");
|
|
1517
|
+
var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1518
|
+
if (output.statusCode >= 300) {
|
|
1519
|
+
return de_DeleteConnectionCommandError(output, context);
|
|
1520
|
+
}
|
|
1521
|
+
const data = await parseBody(output.body, context);
|
|
1522
|
+
let contents = {};
|
|
1523
|
+
contents = de_DeleteConnectionResponse(data, context);
|
|
1524
|
+
const response = {
|
|
1525
|
+
$metadata: deserializeMetadata(output),
|
|
1526
|
+
...contents
|
|
1527
|
+
};
|
|
1528
|
+
return response;
|
|
1529
|
+
}, "de_DeleteConnectionCommand");
|
|
1530
|
+
var de_DeleteConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1531
|
+
const parsedOutput = {
|
|
1532
|
+
...output,
|
|
1533
|
+
body: await parseErrorBody(output.body, context)
|
|
1534
|
+
};
|
|
1535
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1536
|
+
switch (errorCode) {
|
|
1537
|
+
case "ConcurrentModificationException":
|
|
1538
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1539
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1540
|
+
case "InternalException":
|
|
1541
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1542
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1543
|
+
case "ResourceNotFoundException":
|
|
1544
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1545
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1546
|
+
default:
|
|
1547
|
+
const parsedBody = parsedOutput.body;
|
|
1548
|
+
return throwDefaultError({
|
|
1549
|
+
output,
|
|
1550
|
+
parsedBody,
|
|
1551
|
+
errorCode
|
|
1552
|
+
});
|
|
1553
|
+
}
|
|
1554
|
+
}, "de_DeleteConnectionCommandError");
|
|
1555
|
+
var de_DeleteEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1556
|
+
if (output.statusCode >= 300) {
|
|
1557
|
+
return de_DeleteEndpointCommandError(output, context);
|
|
1558
|
+
}
|
|
1559
|
+
const data = await parseBody(output.body, context);
|
|
1560
|
+
let contents = {};
|
|
1561
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1562
|
+
const response = {
|
|
1563
|
+
$metadata: deserializeMetadata(output),
|
|
1564
|
+
...contents
|
|
1565
|
+
};
|
|
1566
|
+
return response;
|
|
1567
|
+
}, "de_DeleteEndpointCommand");
|
|
1568
|
+
var de_DeleteEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1569
|
+
const parsedOutput = {
|
|
1570
|
+
...output,
|
|
1571
|
+
body: await parseErrorBody(output.body, context)
|
|
1572
|
+
};
|
|
1573
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1574
|
+
switch (errorCode) {
|
|
1575
|
+
case "ConcurrentModificationException":
|
|
1576
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1577
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1578
|
+
case "InternalException":
|
|
1579
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1580
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1581
|
+
case "ResourceNotFoundException":
|
|
1582
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1583
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1584
|
+
default:
|
|
1585
|
+
const parsedBody = parsedOutput.body;
|
|
1586
|
+
return throwDefaultError({
|
|
1587
|
+
output,
|
|
1588
|
+
parsedBody,
|
|
1589
|
+
errorCode
|
|
1590
|
+
});
|
|
1591
|
+
}
|
|
1592
|
+
}, "de_DeleteEndpointCommandError");
|
|
1593
|
+
var de_DeleteEventBusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1594
|
+
if (output.statusCode >= 300) {
|
|
1595
|
+
return de_DeleteEventBusCommandError(output, context);
|
|
1596
|
+
}
|
|
1597
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1598
|
+
const response = {
|
|
1599
|
+
$metadata: deserializeMetadata(output)
|
|
1600
|
+
};
|
|
1601
|
+
return response;
|
|
1602
|
+
}, "de_DeleteEventBusCommand");
|
|
1603
|
+
var de_DeleteEventBusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1604
|
+
const parsedOutput = {
|
|
1605
|
+
...output,
|
|
1606
|
+
body: await parseErrorBody(output.body, context)
|
|
1607
|
+
};
|
|
1608
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1609
|
+
switch (errorCode) {
|
|
1610
|
+
case "ConcurrentModificationException":
|
|
1611
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1612
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1613
|
+
case "InternalException":
|
|
1614
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1615
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1616
|
+
default:
|
|
1617
|
+
const parsedBody = parsedOutput.body;
|
|
1618
|
+
return throwDefaultError({
|
|
1619
|
+
output,
|
|
1620
|
+
parsedBody,
|
|
1621
|
+
errorCode
|
|
1622
|
+
});
|
|
1623
|
+
}
|
|
1624
|
+
}, "de_DeleteEventBusCommandError");
|
|
1625
|
+
var de_DeletePartnerEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1626
|
+
if (output.statusCode >= 300) {
|
|
1627
|
+
return de_DeletePartnerEventSourceCommandError(output, context);
|
|
1628
|
+
}
|
|
1629
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1630
|
+
const response = {
|
|
1631
|
+
$metadata: deserializeMetadata(output)
|
|
1632
|
+
};
|
|
1633
|
+
return response;
|
|
1634
|
+
}, "de_DeletePartnerEventSourceCommand");
|
|
1635
|
+
var de_DeletePartnerEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1636
|
+
const parsedOutput = {
|
|
1637
|
+
...output,
|
|
1638
|
+
body: await parseErrorBody(output.body, context)
|
|
1639
|
+
};
|
|
1640
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1641
|
+
switch (errorCode) {
|
|
1642
|
+
case "ConcurrentModificationException":
|
|
1643
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1644
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1645
|
+
case "InternalException":
|
|
1646
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1647
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1648
|
+
case "OperationDisabledException":
|
|
1649
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
1650
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
1651
|
+
default:
|
|
1652
|
+
const parsedBody = parsedOutput.body;
|
|
1653
|
+
return throwDefaultError({
|
|
1654
|
+
output,
|
|
1655
|
+
parsedBody,
|
|
1656
|
+
errorCode
|
|
1657
|
+
});
|
|
1658
|
+
}
|
|
1659
|
+
}, "de_DeletePartnerEventSourceCommandError");
|
|
1660
|
+
var de_DeleteRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1661
|
+
if (output.statusCode >= 300) {
|
|
1662
|
+
return de_DeleteRuleCommandError(output, context);
|
|
1663
|
+
}
|
|
1664
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1665
|
+
const response = {
|
|
1666
|
+
$metadata: deserializeMetadata(output)
|
|
1667
|
+
};
|
|
1668
|
+
return response;
|
|
1669
|
+
}, "de_DeleteRuleCommand");
|
|
1670
|
+
var de_DeleteRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1671
|
+
const parsedOutput = {
|
|
1672
|
+
...output,
|
|
1673
|
+
body: await parseErrorBody(output.body, context)
|
|
1674
|
+
};
|
|
1675
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1676
|
+
switch (errorCode) {
|
|
1677
|
+
case "ConcurrentModificationException":
|
|
1678
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
1679
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1680
|
+
case "InternalException":
|
|
1681
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1682
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1683
|
+
case "ManagedRuleException":
|
|
1684
|
+
case "com.amazonaws.eventbridge#ManagedRuleException":
|
|
1685
|
+
throw await de_ManagedRuleExceptionRes(parsedOutput, context);
|
|
1686
|
+
case "ResourceNotFoundException":
|
|
1687
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1688
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1689
|
+
default:
|
|
1690
|
+
const parsedBody = parsedOutput.body;
|
|
1691
|
+
return throwDefaultError({
|
|
1692
|
+
output,
|
|
1693
|
+
parsedBody,
|
|
1694
|
+
errorCode
|
|
1695
|
+
});
|
|
1696
|
+
}
|
|
1697
|
+
}, "de_DeleteRuleCommandError");
|
|
1698
|
+
var de_DescribeApiDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1699
|
+
if (output.statusCode >= 300) {
|
|
1700
|
+
return de_DescribeApiDestinationCommandError(output, context);
|
|
1701
|
+
}
|
|
1702
|
+
const data = await parseBody(output.body, context);
|
|
1703
|
+
let contents = {};
|
|
1704
|
+
contents = de_DescribeApiDestinationResponse(data, context);
|
|
1705
|
+
const response = {
|
|
1706
|
+
$metadata: deserializeMetadata(output),
|
|
1707
|
+
...contents
|
|
1708
|
+
};
|
|
1709
|
+
return response;
|
|
1710
|
+
}, "de_DescribeApiDestinationCommand");
|
|
1711
|
+
var de_DescribeApiDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1712
|
+
const parsedOutput = {
|
|
1713
|
+
...output,
|
|
1714
|
+
body: await parseErrorBody(output.body, context)
|
|
1715
|
+
};
|
|
1716
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1717
|
+
switch (errorCode) {
|
|
1718
|
+
case "InternalException":
|
|
1719
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1720
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1721
|
+
case "ResourceNotFoundException":
|
|
1722
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1723
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1724
|
+
default:
|
|
1725
|
+
const parsedBody = parsedOutput.body;
|
|
1726
|
+
return throwDefaultError({
|
|
1727
|
+
output,
|
|
1728
|
+
parsedBody,
|
|
1729
|
+
errorCode
|
|
1730
|
+
});
|
|
1731
|
+
}
|
|
1732
|
+
}, "de_DescribeApiDestinationCommandError");
|
|
1733
|
+
var de_DescribeArchiveCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1734
|
+
if (output.statusCode >= 300) {
|
|
1735
|
+
return de_DescribeArchiveCommandError(output, context);
|
|
1736
|
+
}
|
|
1737
|
+
const data = await parseBody(output.body, context);
|
|
1738
|
+
let contents = {};
|
|
1739
|
+
contents = de_DescribeArchiveResponse(data, context);
|
|
1740
|
+
const response = {
|
|
1741
|
+
$metadata: deserializeMetadata(output),
|
|
1742
|
+
...contents
|
|
1743
|
+
};
|
|
1744
|
+
return response;
|
|
1745
|
+
}, "de_DescribeArchiveCommand");
|
|
1746
|
+
var de_DescribeArchiveCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1747
|
+
const parsedOutput = {
|
|
1748
|
+
...output,
|
|
1749
|
+
body: await parseErrorBody(output.body, context)
|
|
1750
|
+
};
|
|
1751
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1752
|
+
switch (errorCode) {
|
|
1753
|
+
case "InternalException":
|
|
1754
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1755
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1756
|
+
case "ResourceAlreadyExistsException":
|
|
1757
|
+
case "com.amazonaws.eventbridge#ResourceAlreadyExistsException":
|
|
1758
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1759
|
+
case "ResourceNotFoundException":
|
|
1760
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1761
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1762
|
+
default:
|
|
1763
|
+
const parsedBody = parsedOutput.body;
|
|
1764
|
+
return throwDefaultError({
|
|
1765
|
+
output,
|
|
1766
|
+
parsedBody,
|
|
1767
|
+
errorCode
|
|
1768
|
+
});
|
|
1769
|
+
}
|
|
1770
|
+
}, "de_DescribeArchiveCommandError");
|
|
1771
|
+
var de_DescribeConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1772
|
+
if (output.statusCode >= 300) {
|
|
1773
|
+
return de_DescribeConnectionCommandError(output, context);
|
|
1774
|
+
}
|
|
1775
|
+
const data = await parseBody(output.body, context);
|
|
1776
|
+
let contents = {};
|
|
1777
|
+
contents = de_DescribeConnectionResponse(data, context);
|
|
1778
|
+
const response = {
|
|
1779
|
+
$metadata: deserializeMetadata(output),
|
|
1780
|
+
...contents
|
|
1781
|
+
};
|
|
1782
|
+
return response;
|
|
1783
|
+
}, "de_DescribeConnectionCommand");
|
|
1784
|
+
var de_DescribeConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1785
|
+
const parsedOutput = {
|
|
1786
|
+
...output,
|
|
1787
|
+
body: await parseErrorBody(output.body, context)
|
|
1788
|
+
};
|
|
1789
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1790
|
+
switch (errorCode) {
|
|
1791
|
+
case "InternalException":
|
|
1792
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1793
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1794
|
+
case "ResourceNotFoundException":
|
|
1795
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1796
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1797
|
+
default:
|
|
1798
|
+
const parsedBody = parsedOutput.body;
|
|
1799
|
+
return throwDefaultError({
|
|
1800
|
+
output,
|
|
1801
|
+
parsedBody,
|
|
1802
|
+
errorCode
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
}, "de_DescribeConnectionCommandError");
|
|
1806
|
+
var de_DescribeEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1807
|
+
if (output.statusCode >= 300) {
|
|
1808
|
+
return de_DescribeEndpointCommandError(output, context);
|
|
1809
|
+
}
|
|
1810
|
+
const data = await parseBody(output.body, context);
|
|
1811
|
+
let contents = {};
|
|
1812
|
+
contents = de_DescribeEndpointResponse(data, context);
|
|
1813
|
+
const response = {
|
|
1814
|
+
$metadata: deserializeMetadata(output),
|
|
1815
|
+
...contents
|
|
1816
|
+
};
|
|
1817
|
+
return response;
|
|
1818
|
+
}, "de_DescribeEndpointCommand");
|
|
1819
|
+
var de_DescribeEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1820
|
+
const parsedOutput = {
|
|
1821
|
+
...output,
|
|
1822
|
+
body: await parseErrorBody(output.body, context)
|
|
1823
|
+
};
|
|
1824
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1825
|
+
switch (errorCode) {
|
|
1826
|
+
case "InternalException":
|
|
1827
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1828
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1829
|
+
case "ResourceNotFoundException":
|
|
1830
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1831
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1832
|
+
default:
|
|
1833
|
+
const parsedBody = parsedOutput.body;
|
|
1834
|
+
return throwDefaultError({
|
|
1835
|
+
output,
|
|
1836
|
+
parsedBody,
|
|
1837
|
+
errorCode
|
|
1838
|
+
});
|
|
1839
|
+
}
|
|
1840
|
+
}, "de_DescribeEndpointCommandError");
|
|
1841
|
+
var de_DescribeEventBusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1842
|
+
if (output.statusCode >= 300) {
|
|
1843
|
+
return de_DescribeEventBusCommandError(output, context);
|
|
1844
|
+
}
|
|
1845
|
+
const data = await parseBody(output.body, context);
|
|
1846
|
+
let contents = {};
|
|
1847
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1848
|
+
const response = {
|
|
1849
|
+
$metadata: deserializeMetadata(output),
|
|
1850
|
+
...contents
|
|
1851
|
+
};
|
|
1852
|
+
return response;
|
|
1853
|
+
}, "de_DescribeEventBusCommand");
|
|
1854
|
+
var de_DescribeEventBusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1855
|
+
const parsedOutput = {
|
|
1856
|
+
...output,
|
|
1857
|
+
body: await parseErrorBody(output.body, context)
|
|
1858
|
+
};
|
|
1859
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1860
|
+
switch (errorCode) {
|
|
1861
|
+
case "InternalException":
|
|
1862
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1863
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1864
|
+
case "ResourceNotFoundException":
|
|
1865
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1866
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1867
|
+
default:
|
|
1868
|
+
const parsedBody = parsedOutput.body;
|
|
1869
|
+
return throwDefaultError({
|
|
1870
|
+
output,
|
|
1871
|
+
parsedBody,
|
|
1872
|
+
errorCode
|
|
1873
|
+
});
|
|
1874
|
+
}
|
|
1875
|
+
}, "de_DescribeEventBusCommandError");
|
|
1876
|
+
var de_DescribeEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1877
|
+
if (output.statusCode >= 300) {
|
|
1878
|
+
return de_DescribeEventSourceCommandError(output, context);
|
|
1879
|
+
}
|
|
1880
|
+
const data = await parseBody(output.body, context);
|
|
1881
|
+
let contents = {};
|
|
1882
|
+
contents = de_DescribeEventSourceResponse(data, context);
|
|
1883
|
+
const response = {
|
|
1884
|
+
$metadata: deserializeMetadata(output),
|
|
1885
|
+
...contents
|
|
1886
|
+
};
|
|
1887
|
+
return response;
|
|
1888
|
+
}, "de_DescribeEventSourceCommand");
|
|
1889
|
+
var de_DescribeEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1890
|
+
const parsedOutput = {
|
|
1891
|
+
...output,
|
|
1892
|
+
body: await parseErrorBody(output.body, context)
|
|
1893
|
+
};
|
|
1894
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1895
|
+
switch (errorCode) {
|
|
1896
|
+
case "InternalException":
|
|
1897
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1898
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1899
|
+
case "OperationDisabledException":
|
|
1900
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
1901
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
1902
|
+
case "ResourceNotFoundException":
|
|
1903
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1904
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1905
|
+
default:
|
|
1906
|
+
const parsedBody = parsedOutput.body;
|
|
1907
|
+
return throwDefaultError({
|
|
1908
|
+
output,
|
|
1909
|
+
parsedBody,
|
|
1910
|
+
errorCode
|
|
1911
|
+
});
|
|
1912
|
+
}
|
|
1913
|
+
}, "de_DescribeEventSourceCommandError");
|
|
1914
|
+
var de_DescribePartnerEventSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1915
|
+
if (output.statusCode >= 300) {
|
|
1916
|
+
return de_DescribePartnerEventSourceCommandError(output, context);
|
|
1917
|
+
}
|
|
1918
|
+
const data = await parseBody(output.body, context);
|
|
1919
|
+
let contents = {};
|
|
1920
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1921
|
+
const response = {
|
|
1922
|
+
$metadata: deserializeMetadata(output),
|
|
1923
|
+
...contents
|
|
1924
|
+
};
|
|
1925
|
+
return response;
|
|
1926
|
+
}, "de_DescribePartnerEventSourceCommand");
|
|
1927
|
+
var de_DescribePartnerEventSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1928
|
+
const parsedOutput = {
|
|
1929
|
+
...output,
|
|
1930
|
+
body: await parseErrorBody(output.body, context)
|
|
1931
|
+
};
|
|
1932
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1933
|
+
switch (errorCode) {
|
|
1934
|
+
case "InternalException":
|
|
1935
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1936
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1937
|
+
case "OperationDisabledException":
|
|
1938
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
1939
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
1940
|
+
case "ResourceNotFoundException":
|
|
1941
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1942
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1943
|
+
default:
|
|
1944
|
+
const parsedBody = parsedOutput.body;
|
|
1945
|
+
return throwDefaultError({
|
|
1946
|
+
output,
|
|
1947
|
+
parsedBody,
|
|
1948
|
+
errorCode
|
|
1949
|
+
});
|
|
1950
|
+
}
|
|
1951
|
+
}, "de_DescribePartnerEventSourceCommandError");
|
|
1952
|
+
var de_DescribeReplayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1953
|
+
if (output.statusCode >= 300) {
|
|
1954
|
+
return de_DescribeReplayCommandError(output, context);
|
|
1955
|
+
}
|
|
1956
|
+
const data = await parseBody(output.body, context);
|
|
1957
|
+
let contents = {};
|
|
1958
|
+
contents = de_DescribeReplayResponse(data, context);
|
|
1959
|
+
const response = {
|
|
1960
|
+
$metadata: deserializeMetadata(output),
|
|
1961
|
+
...contents
|
|
1962
|
+
};
|
|
1963
|
+
return response;
|
|
1964
|
+
}, "de_DescribeReplayCommand");
|
|
1965
|
+
var de_DescribeReplayCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1966
|
+
const parsedOutput = {
|
|
1967
|
+
...output,
|
|
1968
|
+
body: await parseErrorBody(output.body, context)
|
|
1969
|
+
};
|
|
1970
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1971
|
+
switch (errorCode) {
|
|
1972
|
+
case "InternalException":
|
|
1973
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
1974
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1975
|
+
case "ResourceNotFoundException":
|
|
1976
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
1977
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1978
|
+
default:
|
|
1979
|
+
const parsedBody = parsedOutput.body;
|
|
1980
|
+
return throwDefaultError({
|
|
1981
|
+
output,
|
|
1982
|
+
parsedBody,
|
|
1983
|
+
errorCode
|
|
1984
|
+
});
|
|
1985
|
+
}
|
|
1986
|
+
}, "de_DescribeReplayCommandError");
|
|
1987
|
+
var de_DescribeRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1988
|
+
if (output.statusCode >= 300) {
|
|
1989
|
+
return de_DescribeRuleCommandError(output, context);
|
|
1990
|
+
}
|
|
1991
|
+
const data = await parseBody(output.body, context);
|
|
1992
|
+
let contents = {};
|
|
1993
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1994
|
+
const response = {
|
|
1995
|
+
$metadata: deserializeMetadata(output),
|
|
1996
|
+
...contents
|
|
1997
|
+
};
|
|
1998
|
+
return response;
|
|
1999
|
+
}, "de_DescribeRuleCommand");
|
|
2000
|
+
var de_DescribeRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2001
|
+
const parsedOutput = {
|
|
2002
|
+
...output,
|
|
2003
|
+
body: await parseErrorBody(output.body, context)
|
|
2004
|
+
};
|
|
2005
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2006
|
+
switch (errorCode) {
|
|
2007
|
+
case "InternalException":
|
|
2008
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2009
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2010
|
+
case "ResourceNotFoundException":
|
|
2011
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2012
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2013
|
+
default:
|
|
2014
|
+
const parsedBody = parsedOutput.body;
|
|
2015
|
+
return throwDefaultError({
|
|
2016
|
+
output,
|
|
2017
|
+
parsedBody,
|
|
2018
|
+
errorCode
|
|
2019
|
+
});
|
|
2020
|
+
}
|
|
2021
|
+
}, "de_DescribeRuleCommandError");
|
|
2022
|
+
var de_DisableRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2023
|
+
if (output.statusCode >= 300) {
|
|
2024
|
+
return de_DisableRuleCommandError(output, context);
|
|
2025
|
+
}
|
|
2026
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2027
|
+
const response = {
|
|
2028
|
+
$metadata: deserializeMetadata(output)
|
|
2029
|
+
};
|
|
2030
|
+
return response;
|
|
2031
|
+
}, "de_DisableRuleCommand");
|
|
2032
|
+
var de_DisableRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2033
|
+
const parsedOutput = {
|
|
2034
|
+
...output,
|
|
2035
|
+
body: await parseErrorBody(output.body, context)
|
|
2036
|
+
};
|
|
2037
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2038
|
+
switch (errorCode) {
|
|
2039
|
+
case "ConcurrentModificationException":
|
|
2040
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
2041
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2042
|
+
case "InternalException":
|
|
2043
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2044
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2045
|
+
case "ManagedRuleException":
|
|
2046
|
+
case "com.amazonaws.eventbridge#ManagedRuleException":
|
|
2047
|
+
throw await de_ManagedRuleExceptionRes(parsedOutput, context);
|
|
2048
|
+
case "ResourceNotFoundException":
|
|
2049
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2050
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2051
|
+
default:
|
|
2052
|
+
const parsedBody = parsedOutput.body;
|
|
2053
|
+
return throwDefaultError({
|
|
2054
|
+
output,
|
|
2055
|
+
parsedBody,
|
|
2056
|
+
errorCode
|
|
2057
|
+
});
|
|
2058
|
+
}
|
|
2059
|
+
}, "de_DisableRuleCommandError");
|
|
2060
|
+
var de_EnableRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2061
|
+
if (output.statusCode >= 300) {
|
|
2062
|
+
return de_EnableRuleCommandError(output, context);
|
|
2063
|
+
}
|
|
2064
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2065
|
+
const response = {
|
|
2066
|
+
$metadata: deserializeMetadata(output)
|
|
2067
|
+
};
|
|
2068
|
+
return response;
|
|
2069
|
+
}, "de_EnableRuleCommand");
|
|
2070
|
+
var de_EnableRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2071
|
+
const parsedOutput = {
|
|
2072
|
+
...output,
|
|
2073
|
+
body: await parseErrorBody(output.body, context)
|
|
2074
|
+
};
|
|
2075
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2076
|
+
switch (errorCode) {
|
|
2077
|
+
case "ConcurrentModificationException":
|
|
2078
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
2079
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2080
|
+
case "InternalException":
|
|
2081
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2082
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2083
|
+
case "ManagedRuleException":
|
|
2084
|
+
case "com.amazonaws.eventbridge#ManagedRuleException":
|
|
2085
|
+
throw await de_ManagedRuleExceptionRes(parsedOutput, context);
|
|
2086
|
+
case "ResourceNotFoundException":
|
|
2087
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2088
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2089
|
+
default:
|
|
2090
|
+
const parsedBody = parsedOutput.body;
|
|
2091
|
+
return throwDefaultError({
|
|
2092
|
+
output,
|
|
2093
|
+
parsedBody,
|
|
2094
|
+
errorCode
|
|
2095
|
+
});
|
|
2096
|
+
}
|
|
2097
|
+
}, "de_EnableRuleCommandError");
|
|
2098
|
+
var de_ListApiDestinationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2099
|
+
if (output.statusCode >= 300) {
|
|
2100
|
+
return de_ListApiDestinationsCommandError(output, context);
|
|
2101
|
+
}
|
|
2102
|
+
const data = await parseBody(output.body, context);
|
|
2103
|
+
let contents = {};
|
|
2104
|
+
contents = de_ListApiDestinationsResponse(data, context);
|
|
2105
|
+
const response = {
|
|
2106
|
+
$metadata: deserializeMetadata(output),
|
|
2107
|
+
...contents
|
|
2108
|
+
};
|
|
2109
|
+
return response;
|
|
2110
|
+
}, "de_ListApiDestinationsCommand");
|
|
2111
|
+
var de_ListApiDestinationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2112
|
+
const parsedOutput = {
|
|
2113
|
+
...output,
|
|
2114
|
+
body: await parseErrorBody(output.body, context)
|
|
2115
|
+
};
|
|
2116
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2117
|
+
switch (errorCode) {
|
|
2118
|
+
case "InternalException":
|
|
2119
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2120
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2121
|
+
default:
|
|
2122
|
+
const parsedBody = parsedOutput.body;
|
|
2123
|
+
return throwDefaultError({
|
|
2124
|
+
output,
|
|
2125
|
+
parsedBody,
|
|
2126
|
+
errorCode
|
|
2127
|
+
});
|
|
2128
|
+
}
|
|
2129
|
+
}, "de_ListApiDestinationsCommandError");
|
|
2130
|
+
var de_ListArchivesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2131
|
+
if (output.statusCode >= 300) {
|
|
2132
|
+
return de_ListArchivesCommandError(output, context);
|
|
2133
|
+
}
|
|
2134
|
+
const data = await parseBody(output.body, context);
|
|
2135
|
+
let contents = {};
|
|
2136
|
+
contents = de_ListArchivesResponse(data, context);
|
|
2137
|
+
const response = {
|
|
2138
|
+
$metadata: deserializeMetadata(output),
|
|
2139
|
+
...contents
|
|
2140
|
+
};
|
|
2141
|
+
return response;
|
|
2142
|
+
}, "de_ListArchivesCommand");
|
|
2143
|
+
var de_ListArchivesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2144
|
+
const parsedOutput = {
|
|
2145
|
+
...output,
|
|
2146
|
+
body: await parseErrorBody(output.body, context)
|
|
2147
|
+
};
|
|
2148
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2149
|
+
switch (errorCode) {
|
|
2150
|
+
case "InternalException":
|
|
2151
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2152
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2153
|
+
case "ResourceNotFoundException":
|
|
2154
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2155
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2156
|
+
default:
|
|
2157
|
+
const parsedBody = parsedOutput.body;
|
|
2158
|
+
return throwDefaultError({
|
|
2159
|
+
output,
|
|
2160
|
+
parsedBody,
|
|
2161
|
+
errorCode
|
|
2162
|
+
});
|
|
2163
|
+
}
|
|
2164
|
+
}, "de_ListArchivesCommandError");
|
|
2165
|
+
var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2166
|
+
if (output.statusCode >= 300) {
|
|
2167
|
+
return de_ListConnectionsCommandError(output, context);
|
|
2168
|
+
}
|
|
2169
|
+
const data = await parseBody(output.body, context);
|
|
2170
|
+
let contents = {};
|
|
2171
|
+
contents = de_ListConnectionsResponse(data, context);
|
|
2172
|
+
const response = {
|
|
2173
|
+
$metadata: deserializeMetadata(output),
|
|
2174
|
+
...contents
|
|
2175
|
+
};
|
|
2176
|
+
return response;
|
|
2177
|
+
}, "de_ListConnectionsCommand");
|
|
2178
|
+
var de_ListConnectionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2179
|
+
const parsedOutput = {
|
|
2180
|
+
...output,
|
|
2181
|
+
body: await parseErrorBody(output.body, context)
|
|
2182
|
+
};
|
|
2183
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2184
|
+
switch (errorCode) {
|
|
2185
|
+
case "InternalException":
|
|
2186
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2187
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2188
|
+
default:
|
|
2189
|
+
const parsedBody = parsedOutput.body;
|
|
2190
|
+
return throwDefaultError({
|
|
2191
|
+
output,
|
|
2192
|
+
parsedBody,
|
|
2193
|
+
errorCode
|
|
2194
|
+
});
|
|
2195
|
+
}
|
|
2196
|
+
}, "de_ListConnectionsCommandError");
|
|
2197
|
+
var de_ListEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2198
|
+
if (output.statusCode >= 300) {
|
|
2199
|
+
return de_ListEndpointsCommandError(output, context);
|
|
2200
|
+
}
|
|
2201
|
+
const data = await parseBody(output.body, context);
|
|
2202
|
+
let contents = {};
|
|
2203
|
+
contents = de_ListEndpointsResponse(data, context);
|
|
2204
|
+
const response = {
|
|
2205
|
+
$metadata: deserializeMetadata(output),
|
|
2206
|
+
...contents
|
|
2207
|
+
};
|
|
2208
|
+
return response;
|
|
2209
|
+
}, "de_ListEndpointsCommand");
|
|
2210
|
+
var de_ListEndpointsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2211
|
+
const parsedOutput = {
|
|
2212
|
+
...output,
|
|
2213
|
+
body: await parseErrorBody(output.body, context)
|
|
2214
|
+
};
|
|
2215
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2216
|
+
switch (errorCode) {
|
|
2217
|
+
case "InternalException":
|
|
2218
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2219
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2220
|
+
default:
|
|
2221
|
+
const parsedBody = parsedOutput.body;
|
|
2222
|
+
return throwDefaultError({
|
|
2223
|
+
output,
|
|
2224
|
+
parsedBody,
|
|
2225
|
+
errorCode
|
|
2226
|
+
});
|
|
2227
|
+
}
|
|
2228
|
+
}, "de_ListEndpointsCommandError");
|
|
2229
|
+
var de_ListEventBusesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2230
|
+
if (output.statusCode >= 300) {
|
|
2231
|
+
return de_ListEventBusesCommandError(output, context);
|
|
2232
|
+
}
|
|
2233
|
+
const data = await parseBody(output.body, context);
|
|
2234
|
+
let contents = {};
|
|
2235
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2236
|
+
const response = {
|
|
2237
|
+
$metadata: deserializeMetadata(output),
|
|
2238
|
+
...contents
|
|
2239
|
+
};
|
|
2240
|
+
return response;
|
|
2241
|
+
}, "de_ListEventBusesCommand");
|
|
2242
|
+
var de_ListEventBusesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2243
|
+
const parsedOutput = {
|
|
2244
|
+
...output,
|
|
2245
|
+
body: await parseErrorBody(output.body, context)
|
|
2246
|
+
};
|
|
2247
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2248
|
+
switch (errorCode) {
|
|
2249
|
+
case "InternalException":
|
|
2250
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2251
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2252
|
+
default:
|
|
2253
|
+
const parsedBody = parsedOutput.body;
|
|
2254
|
+
return throwDefaultError({
|
|
2255
|
+
output,
|
|
2256
|
+
parsedBody,
|
|
2257
|
+
errorCode
|
|
2258
|
+
});
|
|
2259
|
+
}
|
|
2260
|
+
}, "de_ListEventBusesCommandError");
|
|
2261
|
+
var de_ListEventSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2262
|
+
if (output.statusCode >= 300) {
|
|
2263
|
+
return de_ListEventSourcesCommandError(output, context);
|
|
2264
|
+
}
|
|
2265
|
+
const data = await parseBody(output.body, context);
|
|
2266
|
+
let contents = {};
|
|
2267
|
+
contents = de_ListEventSourcesResponse(data, context);
|
|
2268
|
+
const response = {
|
|
2269
|
+
$metadata: deserializeMetadata(output),
|
|
2270
|
+
...contents
|
|
2271
|
+
};
|
|
2272
|
+
return response;
|
|
2273
|
+
}, "de_ListEventSourcesCommand");
|
|
2274
|
+
var de_ListEventSourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2275
|
+
const parsedOutput = {
|
|
2276
|
+
...output,
|
|
2277
|
+
body: await parseErrorBody(output.body, context)
|
|
2278
|
+
};
|
|
2279
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2280
|
+
switch (errorCode) {
|
|
2281
|
+
case "InternalException":
|
|
2282
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2283
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2284
|
+
case "OperationDisabledException":
|
|
2285
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
2286
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
2287
|
+
default:
|
|
2288
|
+
const parsedBody = parsedOutput.body;
|
|
2289
|
+
return throwDefaultError({
|
|
2290
|
+
output,
|
|
2291
|
+
parsedBody,
|
|
2292
|
+
errorCode
|
|
2293
|
+
});
|
|
2294
|
+
}
|
|
2295
|
+
}, "de_ListEventSourcesCommandError");
|
|
2296
|
+
var de_ListPartnerEventSourceAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2297
|
+
if (output.statusCode >= 300) {
|
|
2298
|
+
return de_ListPartnerEventSourceAccountsCommandError(output, context);
|
|
2299
|
+
}
|
|
2300
|
+
const data = await parseBody(output.body, context);
|
|
2301
|
+
let contents = {};
|
|
2302
|
+
contents = de_ListPartnerEventSourceAccountsResponse(data, context);
|
|
2303
|
+
const response = {
|
|
2304
|
+
$metadata: deserializeMetadata(output),
|
|
2305
|
+
...contents
|
|
2306
|
+
};
|
|
2307
|
+
return response;
|
|
2308
|
+
}, "de_ListPartnerEventSourceAccountsCommand");
|
|
2309
|
+
var de_ListPartnerEventSourceAccountsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2310
|
+
const parsedOutput = {
|
|
2311
|
+
...output,
|
|
2312
|
+
body: await parseErrorBody(output.body, context)
|
|
2313
|
+
};
|
|
2314
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2315
|
+
switch (errorCode) {
|
|
2316
|
+
case "InternalException":
|
|
2317
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2318
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2319
|
+
case "OperationDisabledException":
|
|
2320
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
2321
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
2322
|
+
case "ResourceNotFoundException":
|
|
2323
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2324
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2325
|
+
default:
|
|
2326
|
+
const parsedBody = parsedOutput.body;
|
|
2327
|
+
return throwDefaultError({
|
|
2328
|
+
output,
|
|
2329
|
+
parsedBody,
|
|
2330
|
+
errorCode
|
|
2331
|
+
});
|
|
2332
|
+
}
|
|
2333
|
+
}, "de_ListPartnerEventSourceAccountsCommandError");
|
|
2334
|
+
var de_ListPartnerEventSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2335
|
+
if (output.statusCode >= 300) {
|
|
2336
|
+
return de_ListPartnerEventSourcesCommandError(output, context);
|
|
2337
|
+
}
|
|
2338
|
+
const data = await parseBody(output.body, context);
|
|
2339
|
+
let contents = {};
|
|
2340
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2341
|
+
const response = {
|
|
2342
|
+
$metadata: deserializeMetadata(output),
|
|
2343
|
+
...contents
|
|
2344
|
+
};
|
|
2345
|
+
return response;
|
|
2346
|
+
}, "de_ListPartnerEventSourcesCommand");
|
|
2347
|
+
var de_ListPartnerEventSourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2348
|
+
const parsedOutput = {
|
|
2349
|
+
...output,
|
|
2350
|
+
body: await parseErrorBody(output.body, context)
|
|
2351
|
+
};
|
|
2352
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2353
|
+
switch (errorCode) {
|
|
2354
|
+
case "InternalException":
|
|
2355
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2356
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2357
|
+
case "OperationDisabledException":
|
|
2358
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
2359
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
2360
|
+
default:
|
|
2361
|
+
const parsedBody = parsedOutput.body;
|
|
2362
|
+
return throwDefaultError({
|
|
2363
|
+
output,
|
|
2364
|
+
parsedBody,
|
|
2365
|
+
errorCode
|
|
2366
|
+
});
|
|
2367
|
+
}
|
|
2368
|
+
}, "de_ListPartnerEventSourcesCommandError");
|
|
2369
|
+
var de_ListReplaysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2370
|
+
if (output.statusCode >= 300) {
|
|
2371
|
+
return de_ListReplaysCommandError(output, context);
|
|
2372
|
+
}
|
|
2373
|
+
const data = await parseBody(output.body, context);
|
|
2374
|
+
let contents = {};
|
|
2375
|
+
contents = de_ListReplaysResponse(data, context);
|
|
2376
|
+
const response = {
|
|
2377
|
+
$metadata: deserializeMetadata(output),
|
|
2378
|
+
...contents
|
|
2379
|
+
};
|
|
2380
|
+
return response;
|
|
2381
|
+
}, "de_ListReplaysCommand");
|
|
2382
|
+
var de_ListReplaysCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2383
|
+
const parsedOutput = {
|
|
2384
|
+
...output,
|
|
2385
|
+
body: await parseErrorBody(output.body, context)
|
|
2386
|
+
};
|
|
2387
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2388
|
+
switch (errorCode) {
|
|
2389
|
+
case "InternalException":
|
|
2390
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2391
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2392
|
+
default:
|
|
2393
|
+
const parsedBody = parsedOutput.body;
|
|
2394
|
+
return throwDefaultError({
|
|
2395
|
+
output,
|
|
2396
|
+
parsedBody,
|
|
2397
|
+
errorCode
|
|
2398
|
+
});
|
|
2399
|
+
}
|
|
2400
|
+
}, "de_ListReplaysCommandError");
|
|
2401
|
+
var de_ListRuleNamesByTargetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2402
|
+
if (output.statusCode >= 300) {
|
|
2403
|
+
return de_ListRuleNamesByTargetCommandError(output, context);
|
|
2404
|
+
}
|
|
2405
|
+
const data = await parseBody(output.body, context);
|
|
2406
|
+
let contents = {};
|
|
2407
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2408
|
+
const response = {
|
|
2409
|
+
$metadata: deserializeMetadata(output),
|
|
2410
|
+
...contents
|
|
2411
|
+
};
|
|
2412
|
+
return response;
|
|
2413
|
+
}, "de_ListRuleNamesByTargetCommand");
|
|
2414
|
+
var de_ListRuleNamesByTargetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2415
|
+
const parsedOutput = {
|
|
2416
|
+
...output,
|
|
2417
|
+
body: await parseErrorBody(output.body, context)
|
|
2418
|
+
};
|
|
2419
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2420
|
+
switch (errorCode) {
|
|
2421
|
+
case "InternalException":
|
|
2422
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2423
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2424
|
+
case "ResourceNotFoundException":
|
|
2425
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2426
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2427
|
+
default:
|
|
2428
|
+
const parsedBody = parsedOutput.body;
|
|
2429
|
+
return throwDefaultError({
|
|
2430
|
+
output,
|
|
2431
|
+
parsedBody,
|
|
2432
|
+
errorCode
|
|
2433
|
+
});
|
|
2434
|
+
}
|
|
2435
|
+
}, "de_ListRuleNamesByTargetCommandError");
|
|
2436
|
+
var de_ListRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2437
|
+
if (output.statusCode >= 300) {
|
|
2438
|
+
return de_ListRulesCommandError(output, context);
|
|
2439
|
+
}
|
|
2440
|
+
const data = await parseBody(output.body, context);
|
|
2441
|
+
let contents = {};
|
|
2442
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2443
|
+
const response = {
|
|
2444
|
+
$metadata: deserializeMetadata(output),
|
|
2445
|
+
...contents
|
|
2446
|
+
};
|
|
2447
|
+
return response;
|
|
2448
|
+
}, "de_ListRulesCommand");
|
|
2449
|
+
var de_ListRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2450
|
+
const parsedOutput = {
|
|
2451
|
+
...output,
|
|
2452
|
+
body: await parseErrorBody(output.body, context)
|
|
2453
|
+
};
|
|
2454
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2455
|
+
switch (errorCode) {
|
|
2456
|
+
case "InternalException":
|
|
2457
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2458
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2459
|
+
case "ResourceNotFoundException":
|
|
2460
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2461
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2462
|
+
default:
|
|
2463
|
+
const parsedBody = parsedOutput.body;
|
|
2464
|
+
return throwDefaultError({
|
|
2465
|
+
output,
|
|
2466
|
+
parsedBody,
|
|
2467
|
+
errorCode
|
|
2468
|
+
});
|
|
2469
|
+
}
|
|
2470
|
+
}, "de_ListRulesCommandError");
|
|
2471
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2472
|
+
if (output.statusCode >= 300) {
|
|
2473
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2474
|
+
}
|
|
2475
|
+
const data = await parseBody(output.body, context);
|
|
2476
|
+
let contents = {};
|
|
2477
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2478
|
+
const response = {
|
|
2479
|
+
$metadata: deserializeMetadata(output),
|
|
2480
|
+
...contents
|
|
2481
|
+
};
|
|
2482
|
+
return response;
|
|
2483
|
+
}, "de_ListTagsForResourceCommand");
|
|
2484
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2485
|
+
const parsedOutput = {
|
|
2486
|
+
...output,
|
|
2487
|
+
body: await parseErrorBody(output.body, context)
|
|
2488
|
+
};
|
|
2489
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2490
|
+
switch (errorCode) {
|
|
2491
|
+
case "InternalException":
|
|
2492
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2493
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2494
|
+
case "ResourceNotFoundException":
|
|
2495
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2496
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2497
|
+
default:
|
|
2498
|
+
const parsedBody = parsedOutput.body;
|
|
2499
|
+
return throwDefaultError({
|
|
2500
|
+
output,
|
|
2501
|
+
parsedBody,
|
|
2502
|
+
errorCode
|
|
2503
|
+
});
|
|
2504
|
+
}
|
|
2505
|
+
}, "de_ListTagsForResourceCommandError");
|
|
2506
|
+
var de_ListTargetsByRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2507
|
+
if (output.statusCode >= 300) {
|
|
2508
|
+
return de_ListTargetsByRuleCommandError(output, context);
|
|
2509
|
+
}
|
|
2510
|
+
const data = await parseBody(output.body, context);
|
|
2511
|
+
let contents = {};
|
|
2512
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2513
|
+
const response = {
|
|
2514
|
+
$metadata: deserializeMetadata(output),
|
|
2515
|
+
...contents
|
|
2516
|
+
};
|
|
2517
|
+
return response;
|
|
2518
|
+
}, "de_ListTargetsByRuleCommand");
|
|
2519
|
+
var de_ListTargetsByRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2520
|
+
const parsedOutput = {
|
|
2521
|
+
...output,
|
|
2522
|
+
body: await parseErrorBody(output.body, context)
|
|
2523
|
+
};
|
|
2524
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2525
|
+
switch (errorCode) {
|
|
2526
|
+
case "InternalException":
|
|
2527
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2528
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2529
|
+
case "ResourceNotFoundException":
|
|
2530
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2531
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2532
|
+
default:
|
|
2533
|
+
const parsedBody = parsedOutput.body;
|
|
2534
|
+
return throwDefaultError({
|
|
2535
|
+
output,
|
|
2536
|
+
parsedBody,
|
|
2537
|
+
errorCode
|
|
2538
|
+
});
|
|
2539
|
+
}
|
|
2540
|
+
}, "de_ListTargetsByRuleCommandError");
|
|
2541
|
+
var de_PutEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2542
|
+
if (output.statusCode >= 300) {
|
|
2543
|
+
return de_PutEventsCommandError(output, context);
|
|
2544
|
+
}
|
|
2545
|
+
const data = await parseBody(output.body, context);
|
|
2546
|
+
let contents = {};
|
|
2547
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2548
|
+
const response = {
|
|
2549
|
+
$metadata: deserializeMetadata(output),
|
|
2550
|
+
...contents
|
|
2551
|
+
};
|
|
2552
|
+
return response;
|
|
2553
|
+
}, "de_PutEventsCommand");
|
|
2554
|
+
var de_PutEventsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2555
|
+
const parsedOutput = {
|
|
2556
|
+
...output,
|
|
2557
|
+
body: await parseErrorBody(output.body, context)
|
|
2558
|
+
};
|
|
2559
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2560
|
+
switch (errorCode) {
|
|
2561
|
+
case "InternalException":
|
|
2562
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2563
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2564
|
+
default:
|
|
2565
|
+
const parsedBody = parsedOutput.body;
|
|
2566
|
+
return throwDefaultError({
|
|
2567
|
+
output,
|
|
2568
|
+
parsedBody,
|
|
2569
|
+
errorCode
|
|
2570
|
+
});
|
|
2571
|
+
}
|
|
2572
|
+
}, "de_PutEventsCommandError");
|
|
2573
|
+
var de_PutPartnerEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2574
|
+
if (output.statusCode >= 300) {
|
|
2575
|
+
return de_PutPartnerEventsCommandError(output, context);
|
|
2576
|
+
}
|
|
2577
|
+
const data = await parseBody(output.body, context);
|
|
2578
|
+
let contents = {};
|
|
2579
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2580
|
+
const response = {
|
|
2581
|
+
$metadata: deserializeMetadata(output),
|
|
2582
|
+
...contents
|
|
2583
|
+
};
|
|
2584
|
+
return response;
|
|
2585
|
+
}, "de_PutPartnerEventsCommand");
|
|
2586
|
+
var de_PutPartnerEventsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2587
|
+
const parsedOutput = {
|
|
2588
|
+
...output,
|
|
2589
|
+
body: await parseErrorBody(output.body, context)
|
|
2590
|
+
};
|
|
2591
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2592
|
+
switch (errorCode) {
|
|
2593
|
+
case "InternalException":
|
|
2594
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2595
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2596
|
+
case "OperationDisabledException":
|
|
2597
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
2598
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
2599
|
+
default:
|
|
2600
|
+
const parsedBody = parsedOutput.body;
|
|
2601
|
+
return throwDefaultError({
|
|
2602
|
+
output,
|
|
2603
|
+
parsedBody,
|
|
2604
|
+
errorCode
|
|
2605
|
+
});
|
|
2606
|
+
}
|
|
2607
|
+
}, "de_PutPartnerEventsCommandError");
|
|
2608
|
+
var de_PutPermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2609
|
+
if (output.statusCode >= 300) {
|
|
2610
|
+
return de_PutPermissionCommandError(output, context);
|
|
2611
|
+
}
|
|
2612
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2613
|
+
const response = {
|
|
2614
|
+
$metadata: deserializeMetadata(output)
|
|
2615
|
+
};
|
|
2616
|
+
return response;
|
|
2617
|
+
}, "de_PutPermissionCommand");
|
|
2618
|
+
var de_PutPermissionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2619
|
+
const parsedOutput = {
|
|
2620
|
+
...output,
|
|
2621
|
+
body: await parseErrorBody(output.body, context)
|
|
2622
|
+
};
|
|
2623
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2624
|
+
switch (errorCode) {
|
|
2625
|
+
case "ConcurrentModificationException":
|
|
2626
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
2627
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2628
|
+
case "InternalException":
|
|
2629
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2630
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2631
|
+
case "OperationDisabledException":
|
|
2632
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
2633
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
2634
|
+
case "PolicyLengthExceededException":
|
|
2635
|
+
case "com.amazonaws.eventbridge#PolicyLengthExceededException":
|
|
2636
|
+
throw await de_PolicyLengthExceededExceptionRes(parsedOutput, context);
|
|
2637
|
+
case "ResourceNotFoundException":
|
|
2638
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2639
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2640
|
+
default:
|
|
2641
|
+
const parsedBody = parsedOutput.body;
|
|
2642
|
+
return throwDefaultError({
|
|
2643
|
+
output,
|
|
2644
|
+
parsedBody,
|
|
2645
|
+
errorCode
|
|
2646
|
+
});
|
|
2647
|
+
}
|
|
2648
|
+
}, "de_PutPermissionCommandError");
|
|
2649
|
+
var de_PutRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2650
|
+
if (output.statusCode >= 300) {
|
|
2651
|
+
return de_PutRuleCommandError(output, context);
|
|
2652
|
+
}
|
|
2653
|
+
const data = await parseBody(output.body, context);
|
|
2654
|
+
let contents = {};
|
|
2655
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2656
|
+
const response = {
|
|
2657
|
+
$metadata: deserializeMetadata(output),
|
|
2658
|
+
...contents
|
|
2659
|
+
};
|
|
2660
|
+
return response;
|
|
2661
|
+
}, "de_PutRuleCommand");
|
|
2662
|
+
var de_PutRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2663
|
+
const parsedOutput = {
|
|
2664
|
+
...output,
|
|
2665
|
+
body: await parseErrorBody(output.body, context)
|
|
2666
|
+
};
|
|
2667
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2668
|
+
switch (errorCode) {
|
|
2669
|
+
case "ConcurrentModificationException":
|
|
2670
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
2671
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2672
|
+
case "InternalException":
|
|
2673
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2674
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2675
|
+
case "InvalidEventPatternException":
|
|
2676
|
+
case "com.amazonaws.eventbridge#InvalidEventPatternException":
|
|
2677
|
+
throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
|
|
2678
|
+
case "LimitExceededException":
|
|
2679
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
2680
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2681
|
+
case "ManagedRuleException":
|
|
2682
|
+
case "com.amazonaws.eventbridge#ManagedRuleException":
|
|
2683
|
+
throw await de_ManagedRuleExceptionRes(parsedOutput, context);
|
|
2684
|
+
case "ResourceNotFoundException":
|
|
2685
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2686
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2687
|
+
default:
|
|
2688
|
+
const parsedBody = parsedOutput.body;
|
|
2689
|
+
return throwDefaultError({
|
|
2690
|
+
output,
|
|
2691
|
+
parsedBody,
|
|
2692
|
+
errorCode
|
|
2693
|
+
});
|
|
2694
|
+
}
|
|
2695
|
+
}, "de_PutRuleCommandError");
|
|
2696
|
+
var de_PutTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2697
|
+
if (output.statusCode >= 300) {
|
|
2698
|
+
return de_PutTargetsCommandError(output, context);
|
|
2699
|
+
}
|
|
2700
|
+
const data = await parseBody(output.body, context);
|
|
2701
|
+
let contents = {};
|
|
2702
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2703
|
+
const response = {
|
|
2704
|
+
$metadata: deserializeMetadata(output),
|
|
2705
|
+
...contents
|
|
2706
|
+
};
|
|
2707
|
+
return response;
|
|
2708
|
+
}, "de_PutTargetsCommand");
|
|
2709
|
+
var de_PutTargetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2710
|
+
const parsedOutput = {
|
|
2711
|
+
...output,
|
|
2712
|
+
body: await parseErrorBody(output.body, context)
|
|
2713
|
+
};
|
|
2714
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2715
|
+
switch (errorCode) {
|
|
2716
|
+
case "ConcurrentModificationException":
|
|
2717
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
2718
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2719
|
+
case "InternalException":
|
|
2720
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2721
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2722
|
+
case "LimitExceededException":
|
|
2723
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
2724
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2725
|
+
case "ManagedRuleException":
|
|
2726
|
+
case "com.amazonaws.eventbridge#ManagedRuleException":
|
|
2727
|
+
throw await de_ManagedRuleExceptionRes(parsedOutput, context);
|
|
2728
|
+
case "ResourceNotFoundException":
|
|
2729
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2730
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2731
|
+
default:
|
|
2732
|
+
const parsedBody = parsedOutput.body;
|
|
2733
|
+
return throwDefaultError({
|
|
2734
|
+
output,
|
|
2735
|
+
parsedBody,
|
|
2736
|
+
errorCode
|
|
2737
|
+
});
|
|
2738
|
+
}
|
|
2739
|
+
}, "de_PutTargetsCommandError");
|
|
2740
|
+
var de_RemovePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2741
|
+
if (output.statusCode >= 300) {
|
|
2742
|
+
return de_RemovePermissionCommandError(output, context);
|
|
2743
|
+
}
|
|
2744
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2745
|
+
const response = {
|
|
2746
|
+
$metadata: deserializeMetadata(output)
|
|
2747
|
+
};
|
|
2748
|
+
return response;
|
|
2749
|
+
}, "de_RemovePermissionCommand");
|
|
2750
|
+
var de_RemovePermissionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2751
|
+
const parsedOutput = {
|
|
2752
|
+
...output,
|
|
2753
|
+
body: await parseErrorBody(output.body, context)
|
|
2754
|
+
};
|
|
2755
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2756
|
+
switch (errorCode) {
|
|
2757
|
+
case "ConcurrentModificationException":
|
|
2758
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
2759
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2760
|
+
case "InternalException":
|
|
2761
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2762
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2763
|
+
case "OperationDisabledException":
|
|
2764
|
+
case "com.amazonaws.eventbridge#OperationDisabledException":
|
|
2765
|
+
throw await de_OperationDisabledExceptionRes(parsedOutput, context);
|
|
2766
|
+
case "ResourceNotFoundException":
|
|
2767
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2768
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2769
|
+
default:
|
|
2770
|
+
const parsedBody = parsedOutput.body;
|
|
2771
|
+
return throwDefaultError({
|
|
2772
|
+
output,
|
|
2773
|
+
parsedBody,
|
|
2774
|
+
errorCode
|
|
2775
|
+
});
|
|
2776
|
+
}
|
|
2777
|
+
}, "de_RemovePermissionCommandError");
|
|
2778
|
+
var de_RemoveTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2779
|
+
if (output.statusCode >= 300) {
|
|
2780
|
+
return de_RemoveTargetsCommandError(output, context);
|
|
2781
|
+
}
|
|
2782
|
+
const data = await parseBody(output.body, context);
|
|
2783
|
+
let contents = {};
|
|
2784
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2785
|
+
const response = {
|
|
2786
|
+
$metadata: deserializeMetadata(output),
|
|
2787
|
+
...contents
|
|
2788
|
+
};
|
|
2789
|
+
return response;
|
|
2790
|
+
}, "de_RemoveTargetsCommand");
|
|
2791
|
+
var de_RemoveTargetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2792
|
+
const parsedOutput = {
|
|
2793
|
+
...output,
|
|
2794
|
+
body: await parseErrorBody(output.body, context)
|
|
2795
|
+
};
|
|
2796
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2797
|
+
switch (errorCode) {
|
|
2798
|
+
case "ConcurrentModificationException":
|
|
2799
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
2800
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2801
|
+
case "InternalException":
|
|
2802
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2803
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2804
|
+
case "ManagedRuleException":
|
|
2805
|
+
case "com.amazonaws.eventbridge#ManagedRuleException":
|
|
2806
|
+
throw await de_ManagedRuleExceptionRes(parsedOutput, context);
|
|
2807
|
+
case "ResourceNotFoundException":
|
|
2808
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2809
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2810
|
+
default:
|
|
2811
|
+
const parsedBody = parsedOutput.body;
|
|
2812
|
+
return throwDefaultError({
|
|
2813
|
+
output,
|
|
2814
|
+
parsedBody,
|
|
2815
|
+
errorCode
|
|
2816
|
+
});
|
|
2817
|
+
}
|
|
2818
|
+
}, "de_RemoveTargetsCommandError");
|
|
2819
|
+
var de_StartReplayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2820
|
+
if (output.statusCode >= 300) {
|
|
2821
|
+
return de_StartReplayCommandError(output, context);
|
|
2822
|
+
}
|
|
2823
|
+
const data = await parseBody(output.body, context);
|
|
2824
|
+
let contents = {};
|
|
2825
|
+
contents = de_StartReplayResponse(data, context);
|
|
2826
|
+
const response = {
|
|
2827
|
+
$metadata: deserializeMetadata(output),
|
|
2828
|
+
...contents
|
|
2829
|
+
};
|
|
2830
|
+
return response;
|
|
2831
|
+
}, "de_StartReplayCommand");
|
|
2832
|
+
var de_StartReplayCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2833
|
+
const parsedOutput = {
|
|
2834
|
+
...output,
|
|
2835
|
+
body: await parseErrorBody(output.body, context)
|
|
2836
|
+
};
|
|
2837
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2838
|
+
switch (errorCode) {
|
|
2839
|
+
case "InternalException":
|
|
2840
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2841
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2842
|
+
case "InvalidEventPatternException":
|
|
2843
|
+
case "com.amazonaws.eventbridge#InvalidEventPatternException":
|
|
2844
|
+
throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
|
|
2845
|
+
case "LimitExceededException":
|
|
2846
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
2847
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2848
|
+
case "ResourceAlreadyExistsException":
|
|
2849
|
+
case "com.amazonaws.eventbridge#ResourceAlreadyExistsException":
|
|
2850
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2851
|
+
case "ResourceNotFoundException":
|
|
2852
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2853
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2854
|
+
default:
|
|
2855
|
+
const parsedBody = parsedOutput.body;
|
|
2856
|
+
return throwDefaultError({
|
|
2857
|
+
output,
|
|
2858
|
+
parsedBody,
|
|
2859
|
+
errorCode
|
|
2860
|
+
});
|
|
2861
|
+
}
|
|
2862
|
+
}, "de_StartReplayCommandError");
|
|
2863
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2864
|
+
if (output.statusCode >= 300) {
|
|
2865
|
+
return de_TagResourceCommandError(output, context);
|
|
2866
|
+
}
|
|
2867
|
+
const data = await parseBody(output.body, context);
|
|
2868
|
+
let contents = {};
|
|
2869
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2870
|
+
const response = {
|
|
2871
|
+
$metadata: deserializeMetadata(output),
|
|
2872
|
+
...contents
|
|
2873
|
+
};
|
|
2874
|
+
return response;
|
|
2875
|
+
}, "de_TagResourceCommand");
|
|
2876
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2877
|
+
const parsedOutput = {
|
|
2878
|
+
...output,
|
|
2879
|
+
body: await parseErrorBody(output.body, context)
|
|
2880
|
+
};
|
|
2881
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2882
|
+
switch (errorCode) {
|
|
2883
|
+
case "ConcurrentModificationException":
|
|
2884
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
2885
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2886
|
+
case "InternalException":
|
|
2887
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2888
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2889
|
+
case "ManagedRuleException":
|
|
2890
|
+
case "com.amazonaws.eventbridge#ManagedRuleException":
|
|
2891
|
+
throw await de_ManagedRuleExceptionRes(parsedOutput, context);
|
|
2892
|
+
case "ResourceNotFoundException":
|
|
2893
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2894
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2895
|
+
default:
|
|
2896
|
+
const parsedBody = parsedOutput.body;
|
|
2897
|
+
return throwDefaultError({
|
|
2898
|
+
output,
|
|
2899
|
+
parsedBody,
|
|
2900
|
+
errorCode
|
|
2901
|
+
});
|
|
2902
|
+
}
|
|
2903
|
+
}, "de_TagResourceCommandError");
|
|
2904
|
+
var de_TestEventPatternCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2905
|
+
if (output.statusCode >= 300) {
|
|
2906
|
+
return de_TestEventPatternCommandError(output, context);
|
|
2907
|
+
}
|
|
2908
|
+
const data = await parseBody(output.body, context);
|
|
2909
|
+
let contents = {};
|
|
2910
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2911
|
+
const response = {
|
|
2912
|
+
$metadata: deserializeMetadata(output),
|
|
2913
|
+
...contents
|
|
2914
|
+
};
|
|
2915
|
+
return response;
|
|
2916
|
+
}, "de_TestEventPatternCommand");
|
|
2917
|
+
var de_TestEventPatternCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2918
|
+
const parsedOutput = {
|
|
2919
|
+
...output,
|
|
2920
|
+
body: await parseErrorBody(output.body, context)
|
|
2921
|
+
};
|
|
2922
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2923
|
+
switch (errorCode) {
|
|
2924
|
+
case "InternalException":
|
|
2925
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2926
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2927
|
+
case "InvalidEventPatternException":
|
|
2928
|
+
case "com.amazonaws.eventbridge#InvalidEventPatternException":
|
|
2929
|
+
throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
|
|
2930
|
+
default:
|
|
2931
|
+
const parsedBody = parsedOutput.body;
|
|
2932
|
+
return throwDefaultError({
|
|
2933
|
+
output,
|
|
2934
|
+
parsedBody,
|
|
2935
|
+
errorCode
|
|
2936
|
+
});
|
|
2937
|
+
}
|
|
2938
|
+
}, "de_TestEventPatternCommandError");
|
|
2939
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2940
|
+
if (output.statusCode >= 300) {
|
|
2941
|
+
return de_UntagResourceCommandError(output, context);
|
|
2942
|
+
}
|
|
2943
|
+
const data = await parseBody(output.body, context);
|
|
2944
|
+
let contents = {};
|
|
2945
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2946
|
+
const response = {
|
|
2947
|
+
$metadata: deserializeMetadata(output),
|
|
2948
|
+
...contents
|
|
2949
|
+
};
|
|
2950
|
+
return response;
|
|
2951
|
+
}, "de_UntagResourceCommand");
|
|
2952
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2953
|
+
const parsedOutput = {
|
|
2954
|
+
...output,
|
|
2955
|
+
body: await parseErrorBody(output.body, context)
|
|
2956
|
+
};
|
|
2957
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2958
|
+
switch (errorCode) {
|
|
2959
|
+
case "ConcurrentModificationException":
|
|
2960
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
2961
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2962
|
+
case "InternalException":
|
|
2963
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
2964
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
2965
|
+
case "ManagedRuleException":
|
|
2966
|
+
case "com.amazonaws.eventbridge#ManagedRuleException":
|
|
2967
|
+
throw await de_ManagedRuleExceptionRes(parsedOutput, context);
|
|
2968
|
+
case "ResourceNotFoundException":
|
|
2969
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
2970
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2971
|
+
default:
|
|
2972
|
+
const parsedBody = parsedOutput.body;
|
|
2973
|
+
return throwDefaultError({
|
|
2974
|
+
output,
|
|
2975
|
+
parsedBody,
|
|
2976
|
+
errorCode
|
|
2977
|
+
});
|
|
2978
|
+
}
|
|
2979
|
+
}, "de_UntagResourceCommandError");
|
|
2980
|
+
var de_UpdateApiDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2981
|
+
if (output.statusCode >= 300) {
|
|
2982
|
+
return de_UpdateApiDestinationCommandError(output, context);
|
|
2983
|
+
}
|
|
2984
|
+
const data = await parseBody(output.body, context);
|
|
2985
|
+
let contents = {};
|
|
2986
|
+
contents = de_UpdateApiDestinationResponse(data, context);
|
|
2987
|
+
const response = {
|
|
2988
|
+
$metadata: deserializeMetadata(output),
|
|
2989
|
+
...contents
|
|
2990
|
+
};
|
|
2991
|
+
return response;
|
|
2992
|
+
}, "de_UpdateApiDestinationCommand");
|
|
2993
|
+
var de_UpdateApiDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2994
|
+
const parsedOutput = {
|
|
2995
|
+
...output,
|
|
2996
|
+
body: await parseErrorBody(output.body, context)
|
|
2997
|
+
};
|
|
2998
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2999
|
+
switch (errorCode) {
|
|
3000
|
+
case "ConcurrentModificationException":
|
|
3001
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
3002
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3003
|
+
case "InternalException":
|
|
3004
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
3005
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
3006
|
+
case "LimitExceededException":
|
|
3007
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
3008
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3009
|
+
case "ResourceNotFoundException":
|
|
3010
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
3011
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3012
|
+
default:
|
|
3013
|
+
const parsedBody = parsedOutput.body;
|
|
3014
|
+
return throwDefaultError({
|
|
3015
|
+
output,
|
|
3016
|
+
parsedBody,
|
|
3017
|
+
errorCode
|
|
3018
|
+
});
|
|
3019
|
+
}
|
|
3020
|
+
}, "de_UpdateApiDestinationCommandError");
|
|
3021
|
+
var de_UpdateArchiveCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3022
|
+
if (output.statusCode >= 300) {
|
|
3023
|
+
return de_UpdateArchiveCommandError(output, context);
|
|
3024
|
+
}
|
|
3025
|
+
const data = await parseBody(output.body, context);
|
|
3026
|
+
let contents = {};
|
|
3027
|
+
contents = de_UpdateArchiveResponse(data, context);
|
|
3028
|
+
const response = {
|
|
3029
|
+
$metadata: deserializeMetadata(output),
|
|
3030
|
+
...contents
|
|
3031
|
+
};
|
|
3032
|
+
return response;
|
|
3033
|
+
}, "de_UpdateArchiveCommand");
|
|
3034
|
+
var de_UpdateArchiveCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3035
|
+
const parsedOutput = {
|
|
3036
|
+
...output,
|
|
3037
|
+
body: await parseErrorBody(output.body, context)
|
|
3038
|
+
};
|
|
3039
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3040
|
+
switch (errorCode) {
|
|
3041
|
+
case "ConcurrentModificationException":
|
|
3042
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
3043
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3044
|
+
case "InternalException":
|
|
3045
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
3046
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
3047
|
+
case "InvalidEventPatternException":
|
|
3048
|
+
case "com.amazonaws.eventbridge#InvalidEventPatternException":
|
|
3049
|
+
throw await de_InvalidEventPatternExceptionRes(parsedOutput, context);
|
|
3050
|
+
case "LimitExceededException":
|
|
3051
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
3052
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3053
|
+
case "ResourceNotFoundException":
|
|
3054
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
3055
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3056
|
+
default:
|
|
3057
|
+
const parsedBody = parsedOutput.body;
|
|
3058
|
+
return throwDefaultError({
|
|
3059
|
+
output,
|
|
3060
|
+
parsedBody,
|
|
3061
|
+
errorCode
|
|
3062
|
+
});
|
|
3063
|
+
}
|
|
3064
|
+
}, "de_UpdateArchiveCommandError");
|
|
3065
|
+
var de_UpdateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3066
|
+
if (output.statusCode >= 300) {
|
|
3067
|
+
return de_UpdateConnectionCommandError(output, context);
|
|
3068
|
+
}
|
|
3069
|
+
const data = await parseBody(output.body, context);
|
|
3070
|
+
let contents = {};
|
|
3071
|
+
contents = de_UpdateConnectionResponse(data, context);
|
|
3072
|
+
const response = {
|
|
3073
|
+
$metadata: deserializeMetadata(output),
|
|
3074
|
+
...contents
|
|
3075
|
+
};
|
|
3076
|
+
return response;
|
|
3077
|
+
}, "de_UpdateConnectionCommand");
|
|
3078
|
+
var de_UpdateConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3079
|
+
const parsedOutput = {
|
|
3080
|
+
...output,
|
|
3081
|
+
body: await parseErrorBody(output.body, context)
|
|
3082
|
+
};
|
|
3083
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3084
|
+
switch (errorCode) {
|
|
3085
|
+
case "ConcurrentModificationException":
|
|
3086
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
3087
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3088
|
+
case "InternalException":
|
|
3089
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
3090
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
3091
|
+
case "LimitExceededException":
|
|
3092
|
+
case "com.amazonaws.eventbridge#LimitExceededException":
|
|
3093
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3094
|
+
case "ResourceNotFoundException":
|
|
3095
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
3096
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3097
|
+
default:
|
|
3098
|
+
const parsedBody = parsedOutput.body;
|
|
3099
|
+
return throwDefaultError({
|
|
3100
|
+
output,
|
|
3101
|
+
parsedBody,
|
|
3102
|
+
errorCode
|
|
3103
|
+
});
|
|
3104
|
+
}
|
|
3105
|
+
}, "de_UpdateConnectionCommandError");
|
|
3106
|
+
var de_UpdateEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3107
|
+
if (output.statusCode >= 300) {
|
|
3108
|
+
return de_UpdateEndpointCommandError(output, context);
|
|
3109
|
+
}
|
|
3110
|
+
const data = await parseBody(output.body, context);
|
|
3111
|
+
let contents = {};
|
|
3112
|
+
contents = (0, import_smithy_client._json)(data);
|
|
3113
|
+
const response = {
|
|
3114
|
+
$metadata: deserializeMetadata(output),
|
|
3115
|
+
...contents
|
|
3116
|
+
};
|
|
3117
|
+
return response;
|
|
3118
|
+
}, "de_UpdateEndpointCommand");
|
|
3119
|
+
var de_UpdateEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3120
|
+
const parsedOutput = {
|
|
3121
|
+
...output,
|
|
3122
|
+
body: await parseErrorBody(output.body, context)
|
|
3123
|
+
};
|
|
3124
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3125
|
+
switch (errorCode) {
|
|
3126
|
+
case "ConcurrentModificationException":
|
|
3127
|
+
case "com.amazonaws.eventbridge#ConcurrentModificationException":
|
|
3128
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3129
|
+
case "InternalException":
|
|
3130
|
+
case "com.amazonaws.eventbridge#InternalException":
|
|
3131
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
3132
|
+
case "ResourceNotFoundException":
|
|
3133
|
+
case "com.amazonaws.eventbridge#ResourceNotFoundException":
|
|
3134
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3135
|
+
default:
|
|
3136
|
+
const parsedBody = parsedOutput.body;
|
|
3137
|
+
return throwDefaultError({
|
|
3138
|
+
output,
|
|
3139
|
+
parsedBody,
|
|
3140
|
+
errorCode
|
|
3141
|
+
});
|
|
3142
|
+
}
|
|
3143
|
+
}, "de_UpdateEndpointCommandError");
|
|
3144
|
+
var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3145
|
+
const body = parsedOutput.body;
|
|
3146
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3147
|
+
const exception = new ConcurrentModificationException({
|
|
3148
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3149
|
+
...deserialized
|
|
3150
|
+
});
|
|
3151
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3152
|
+
}, "de_ConcurrentModificationExceptionRes");
|
|
3153
|
+
var de_IllegalStatusExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3154
|
+
const body = parsedOutput.body;
|
|
3155
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3156
|
+
const exception = new IllegalStatusException({
|
|
3157
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3158
|
+
...deserialized
|
|
3159
|
+
});
|
|
3160
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3161
|
+
}, "de_IllegalStatusExceptionRes");
|
|
3162
|
+
var de_InternalExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3163
|
+
const body = parsedOutput.body;
|
|
3164
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3165
|
+
const exception = new InternalException({
|
|
3166
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3167
|
+
...deserialized
|
|
3168
|
+
});
|
|
3169
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3170
|
+
}, "de_InternalExceptionRes");
|
|
3171
|
+
var de_InvalidEventPatternExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3172
|
+
const body = parsedOutput.body;
|
|
3173
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3174
|
+
const exception = new InvalidEventPatternException({
|
|
3175
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3176
|
+
...deserialized
|
|
3177
|
+
});
|
|
3178
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3179
|
+
}, "de_InvalidEventPatternExceptionRes");
|
|
3180
|
+
var de_InvalidStateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3181
|
+
const body = parsedOutput.body;
|
|
3182
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3183
|
+
const exception = new InvalidStateException({
|
|
3184
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3185
|
+
...deserialized
|
|
3186
|
+
});
|
|
3187
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3188
|
+
}, "de_InvalidStateExceptionRes");
|
|
3189
|
+
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3190
|
+
const body = parsedOutput.body;
|
|
3191
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3192
|
+
const exception = new LimitExceededException({
|
|
3193
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3194
|
+
...deserialized
|
|
3195
|
+
});
|
|
3196
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3197
|
+
}, "de_LimitExceededExceptionRes");
|
|
3198
|
+
var de_ManagedRuleExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3199
|
+
const body = parsedOutput.body;
|
|
3200
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3201
|
+
const exception = new ManagedRuleException({
|
|
3202
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3203
|
+
...deserialized
|
|
3204
|
+
});
|
|
3205
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3206
|
+
}, "de_ManagedRuleExceptionRes");
|
|
3207
|
+
var de_OperationDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3208
|
+
const body = parsedOutput.body;
|
|
3209
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3210
|
+
const exception = new OperationDisabledException({
|
|
3211
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3212
|
+
...deserialized
|
|
3213
|
+
});
|
|
3214
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3215
|
+
}, "de_OperationDisabledExceptionRes");
|
|
3216
|
+
var de_PolicyLengthExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3217
|
+
const body = parsedOutput.body;
|
|
3218
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3219
|
+
const exception = new PolicyLengthExceededException({
|
|
3220
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3221
|
+
...deserialized
|
|
3222
|
+
});
|
|
3223
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3224
|
+
}, "de_PolicyLengthExceededExceptionRes");
|
|
3225
|
+
var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3226
|
+
const body = parsedOutput.body;
|
|
3227
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3228
|
+
const exception = new ResourceAlreadyExistsException({
|
|
3229
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3230
|
+
...deserialized
|
|
3231
|
+
});
|
|
3232
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3233
|
+
}, "de_ResourceAlreadyExistsExceptionRes");
|
|
3234
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3235
|
+
const body = parsedOutput.body;
|
|
3236
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3237
|
+
const exception = new ResourceNotFoundException({
|
|
3238
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3239
|
+
...deserialized
|
|
3240
|
+
});
|
|
3241
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3242
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
3243
|
+
var se_PutEventsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
3244
|
+
return (0, import_smithy_client.take)(input, {
|
|
3245
|
+
EndpointId: [],
|
|
3246
|
+
Entries: (_) => se_PutEventsRequestEntryList(_, context)
|
|
3247
|
+
});
|
|
3248
|
+
}, "se_PutEventsRequest");
|
|
3249
|
+
var se_PutEventsRequestEntry = /* @__PURE__ */ __name((input, context) => {
|
|
3250
|
+
return (0, import_smithy_client.take)(input, {
|
|
3251
|
+
Detail: [],
|
|
3252
|
+
DetailType: [],
|
|
3253
|
+
EventBusName: [],
|
|
3254
|
+
Resources: import_smithy_client._json,
|
|
3255
|
+
Source: [],
|
|
3256
|
+
Time: (_) => Math.round(_.getTime() / 1e3),
|
|
3257
|
+
TraceHeader: []
|
|
3258
|
+
});
|
|
3259
|
+
}, "se_PutEventsRequestEntry");
|
|
3260
|
+
var se_PutEventsRequestEntryList = /* @__PURE__ */ __name((input, context) => {
|
|
3261
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
3262
|
+
return se_PutEventsRequestEntry(entry, context);
|
|
3263
|
+
});
|
|
3264
|
+
}, "se_PutEventsRequestEntryList");
|
|
3265
|
+
var se_PutPartnerEventsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
3266
|
+
return (0, import_smithy_client.take)(input, {
|
|
3267
|
+
Entries: (_) => se_PutPartnerEventsRequestEntryList(_, context)
|
|
3268
|
+
});
|
|
3269
|
+
}, "se_PutPartnerEventsRequest");
|
|
3270
|
+
var se_PutPartnerEventsRequestEntry = /* @__PURE__ */ __name((input, context) => {
|
|
3271
|
+
return (0, import_smithy_client.take)(input, {
|
|
3272
|
+
Detail: [],
|
|
3273
|
+
DetailType: [],
|
|
3274
|
+
Resources: import_smithy_client._json,
|
|
3275
|
+
Source: [],
|
|
3276
|
+
Time: (_) => Math.round(_.getTime() / 1e3)
|
|
3277
|
+
});
|
|
3278
|
+
}, "se_PutPartnerEventsRequestEntry");
|
|
3279
|
+
var se_PutPartnerEventsRequestEntryList = /* @__PURE__ */ __name((input, context) => {
|
|
3280
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
3281
|
+
return se_PutPartnerEventsRequestEntry(entry, context);
|
|
3282
|
+
});
|
|
3283
|
+
}, "se_PutPartnerEventsRequestEntryList");
|
|
3284
|
+
var se_StartReplayRequest = /* @__PURE__ */ __name((input, context) => {
|
|
3285
|
+
return (0, import_smithy_client.take)(input, {
|
|
3286
|
+
Description: [],
|
|
3287
|
+
Destination: import_smithy_client._json,
|
|
3288
|
+
EventEndTime: (_) => Math.round(_.getTime() / 1e3),
|
|
3289
|
+
EventSourceArn: [],
|
|
3290
|
+
EventStartTime: (_) => Math.round(_.getTime() / 1e3),
|
|
3291
|
+
ReplayName: []
|
|
3292
|
+
});
|
|
3293
|
+
}, "se_StartReplayRequest");
|
|
3294
|
+
var de_ApiDestination = /* @__PURE__ */ __name((output, context) => {
|
|
3295
|
+
return (0, import_smithy_client.take)(output, {
|
|
3296
|
+
ApiDestinationArn: import_smithy_client.expectString,
|
|
3297
|
+
ApiDestinationState: import_smithy_client.expectString,
|
|
3298
|
+
ConnectionArn: import_smithy_client.expectString,
|
|
3299
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3300
|
+
HttpMethod: import_smithy_client.expectString,
|
|
3301
|
+
InvocationEndpoint: import_smithy_client.expectString,
|
|
3302
|
+
InvocationRateLimitPerSecond: import_smithy_client.expectInt32,
|
|
3303
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3304
|
+
Name: import_smithy_client.expectString
|
|
3305
|
+
});
|
|
3306
|
+
}, "de_ApiDestination");
|
|
3307
|
+
var de_ApiDestinationResponseList = /* @__PURE__ */ __name((output, context) => {
|
|
3308
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3309
|
+
return de_ApiDestination(entry, context);
|
|
3310
|
+
});
|
|
3311
|
+
return retVal;
|
|
3312
|
+
}, "de_ApiDestinationResponseList");
|
|
3313
|
+
var de_Archive = /* @__PURE__ */ __name((output, context) => {
|
|
3314
|
+
return (0, import_smithy_client.take)(output, {
|
|
3315
|
+
ArchiveName: import_smithy_client.expectString,
|
|
3316
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3317
|
+
EventCount: import_smithy_client.expectLong,
|
|
3318
|
+
EventSourceArn: import_smithy_client.expectString,
|
|
3319
|
+
RetentionDays: import_smithy_client.expectInt32,
|
|
3320
|
+
SizeBytes: import_smithy_client.expectLong,
|
|
3321
|
+
State: import_smithy_client.expectString,
|
|
3322
|
+
StateReason: import_smithy_client.expectString
|
|
3323
|
+
});
|
|
3324
|
+
}, "de_Archive");
|
|
3325
|
+
var de_ArchiveResponseList = /* @__PURE__ */ __name((output, context) => {
|
|
3326
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3327
|
+
return de_Archive(entry, context);
|
|
3328
|
+
});
|
|
3329
|
+
return retVal;
|
|
3330
|
+
}, "de_ArchiveResponseList");
|
|
3331
|
+
var de_Connection = /* @__PURE__ */ __name((output, context) => {
|
|
3332
|
+
return (0, import_smithy_client.take)(output, {
|
|
3333
|
+
AuthorizationType: import_smithy_client.expectString,
|
|
3334
|
+
ConnectionArn: import_smithy_client.expectString,
|
|
3335
|
+
ConnectionState: import_smithy_client.expectString,
|
|
3336
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3337
|
+
LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3338
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3339
|
+
Name: import_smithy_client.expectString,
|
|
3340
|
+
StateReason: import_smithy_client.expectString
|
|
3341
|
+
});
|
|
3342
|
+
}, "de_Connection");
|
|
3343
|
+
var de_ConnectionResponseList = /* @__PURE__ */ __name((output, context) => {
|
|
3344
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3345
|
+
return de_Connection(entry, context);
|
|
3346
|
+
});
|
|
3347
|
+
return retVal;
|
|
3348
|
+
}, "de_ConnectionResponseList");
|
|
3349
|
+
var de_CreateApiDestinationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3350
|
+
return (0, import_smithy_client.take)(output, {
|
|
3351
|
+
ApiDestinationArn: import_smithy_client.expectString,
|
|
3352
|
+
ApiDestinationState: import_smithy_client.expectString,
|
|
3353
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3354
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3355
|
+
});
|
|
3356
|
+
}, "de_CreateApiDestinationResponse");
|
|
3357
|
+
var de_CreateArchiveResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3358
|
+
return (0, import_smithy_client.take)(output, {
|
|
3359
|
+
ArchiveArn: import_smithy_client.expectString,
|
|
3360
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3361
|
+
State: import_smithy_client.expectString,
|
|
3362
|
+
StateReason: import_smithy_client.expectString
|
|
3363
|
+
});
|
|
3364
|
+
}, "de_CreateArchiveResponse");
|
|
3365
|
+
var de_CreateConnectionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3366
|
+
return (0, import_smithy_client.take)(output, {
|
|
3367
|
+
ConnectionArn: import_smithy_client.expectString,
|
|
3368
|
+
ConnectionState: import_smithy_client.expectString,
|
|
3369
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3370
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3371
|
+
});
|
|
3372
|
+
}, "de_CreateConnectionResponse");
|
|
3373
|
+
var de_DeauthorizeConnectionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3374
|
+
return (0, import_smithy_client.take)(output, {
|
|
3375
|
+
ConnectionArn: import_smithy_client.expectString,
|
|
3376
|
+
ConnectionState: import_smithy_client.expectString,
|
|
3377
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3378
|
+
LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3379
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3380
|
+
});
|
|
3381
|
+
}, "de_DeauthorizeConnectionResponse");
|
|
3382
|
+
var de_DeleteConnectionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3383
|
+
return (0, import_smithy_client.take)(output, {
|
|
3384
|
+
ConnectionArn: import_smithy_client.expectString,
|
|
3385
|
+
ConnectionState: import_smithy_client.expectString,
|
|
3386
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3387
|
+
LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3388
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3389
|
+
});
|
|
3390
|
+
}, "de_DeleteConnectionResponse");
|
|
3391
|
+
var de_DescribeApiDestinationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3392
|
+
return (0, import_smithy_client.take)(output, {
|
|
3393
|
+
ApiDestinationArn: import_smithy_client.expectString,
|
|
3394
|
+
ApiDestinationState: import_smithy_client.expectString,
|
|
3395
|
+
ConnectionArn: import_smithy_client.expectString,
|
|
3396
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3397
|
+
Description: import_smithy_client.expectString,
|
|
3398
|
+
HttpMethod: import_smithy_client.expectString,
|
|
3399
|
+
InvocationEndpoint: import_smithy_client.expectString,
|
|
3400
|
+
InvocationRateLimitPerSecond: import_smithy_client.expectInt32,
|
|
3401
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3402
|
+
Name: import_smithy_client.expectString
|
|
3403
|
+
});
|
|
3404
|
+
}, "de_DescribeApiDestinationResponse");
|
|
3405
|
+
var de_DescribeArchiveResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3406
|
+
return (0, import_smithy_client.take)(output, {
|
|
3407
|
+
ArchiveArn: import_smithy_client.expectString,
|
|
3408
|
+
ArchiveName: import_smithy_client.expectString,
|
|
3409
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3410
|
+
Description: import_smithy_client.expectString,
|
|
3411
|
+
EventCount: import_smithy_client.expectLong,
|
|
3412
|
+
EventPattern: import_smithy_client.expectString,
|
|
3413
|
+
EventSourceArn: import_smithy_client.expectString,
|
|
3414
|
+
RetentionDays: import_smithy_client.expectInt32,
|
|
3415
|
+
SizeBytes: import_smithy_client.expectLong,
|
|
3416
|
+
State: import_smithy_client.expectString,
|
|
3417
|
+
StateReason: import_smithy_client.expectString
|
|
3418
|
+
});
|
|
3419
|
+
}, "de_DescribeArchiveResponse");
|
|
3420
|
+
var de_DescribeConnectionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3421
|
+
return (0, import_smithy_client.take)(output, {
|
|
3422
|
+
AuthParameters: import_smithy_client._json,
|
|
3423
|
+
AuthorizationType: import_smithy_client.expectString,
|
|
3424
|
+
ConnectionArn: import_smithy_client.expectString,
|
|
3425
|
+
ConnectionState: import_smithy_client.expectString,
|
|
3426
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3427
|
+
Description: import_smithy_client.expectString,
|
|
3428
|
+
LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3429
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3430
|
+
Name: import_smithy_client.expectString,
|
|
3431
|
+
SecretArn: import_smithy_client.expectString,
|
|
3432
|
+
StateReason: import_smithy_client.expectString
|
|
3433
|
+
});
|
|
3434
|
+
}, "de_DescribeConnectionResponse");
|
|
3435
|
+
var de_DescribeEndpointResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3436
|
+
return (0, import_smithy_client.take)(output, {
|
|
3437
|
+
Arn: import_smithy_client.expectString,
|
|
3438
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3439
|
+
Description: import_smithy_client.expectString,
|
|
3440
|
+
EndpointId: import_smithy_client.expectString,
|
|
3441
|
+
EndpointUrl: import_smithy_client.expectString,
|
|
3442
|
+
EventBuses: import_smithy_client._json,
|
|
3443
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3444
|
+
Name: import_smithy_client.expectString,
|
|
3445
|
+
ReplicationConfig: import_smithy_client._json,
|
|
3446
|
+
RoleArn: import_smithy_client.expectString,
|
|
3447
|
+
RoutingConfig: import_smithy_client._json,
|
|
3448
|
+
State: import_smithy_client.expectString,
|
|
3449
|
+
StateReason: import_smithy_client.expectString
|
|
3450
|
+
});
|
|
3451
|
+
}, "de_DescribeEndpointResponse");
|
|
3452
|
+
var de_DescribeEventSourceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3453
|
+
return (0, import_smithy_client.take)(output, {
|
|
3454
|
+
Arn: import_smithy_client.expectString,
|
|
3455
|
+
CreatedBy: import_smithy_client.expectString,
|
|
3456
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3457
|
+
ExpirationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3458
|
+
Name: import_smithy_client.expectString,
|
|
3459
|
+
State: import_smithy_client.expectString
|
|
3460
|
+
});
|
|
3461
|
+
}, "de_DescribeEventSourceResponse");
|
|
3462
|
+
var de_DescribeReplayResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3463
|
+
return (0, import_smithy_client.take)(output, {
|
|
3464
|
+
Description: import_smithy_client.expectString,
|
|
3465
|
+
Destination: import_smithy_client._json,
|
|
3466
|
+
EventEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3467
|
+
EventLastReplayedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3468
|
+
EventSourceArn: import_smithy_client.expectString,
|
|
3469
|
+
EventStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3470
|
+
ReplayArn: import_smithy_client.expectString,
|
|
3471
|
+
ReplayEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3472
|
+
ReplayName: import_smithy_client.expectString,
|
|
3473
|
+
ReplayStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3474
|
+
State: import_smithy_client.expectString,
|
|
3475
|
+
StateReason: import_smithy_client.expectString
|
|
3476
|
+
});
|
|
3477
|
+
}, "de_DescribeReplayResponse");
|
|
3478
|
+
var de_Endpoint = /* @__PURE__ */ __name((output, context) => {
|
|
3479
|
+
return (0, import_smithy_client.take)(output, {
|
|
3480
|
+
Arn: import_smithy_client.expectString,
|
|
3481
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3482
|
+
Description: import_smithy_client.expectString,
|
|
3483
|
+
EndpointId: import_smithy_client.expectString,
|
|
3484
|
+
EndpointUrl: import_smithy_client.expectString,
|
|
3485
|
+
EventBuses: import_smithy_client._json,
|
|
3486
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3487
|
+
Name: import_smithy_client.expectString,
|
|
3488
|
+
ReplicationConfig: import_smithy_client._json,
|
|
3489
|
+
RoleArn: import_smithy_client.expectString,
|
|
3490
|
+
RoutingConfig: import_smithy_client._json,
|
|
3491
|
+
State: import_smithy_client.expectString,
|
|
3492
|
+
StateReason: import_smithy_client.expectString
|
|
3493
|
+
});
|
|
3494
|
+
}, "de_Endpoint");
|
|
3495
|
+
var de_EndpointList = /* @__PURE__ */ __name((output, context) => {
|
|
3496
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3497
|
+
return de_Endpoint(entry, context);
|
|
3498
|
+
});
|
|
3499
|
+
return retVal;
|
|
3500
|
+
}, "de_EndpointList");
|
|
3501
|
+
var de_EventSource = /* @__PURE__ */ __name((output, context) => {
|
|
3502
|
+
return (0, import_smithy_client.take)(output, {
|
|
3503
|
+
Arn: import_smithy_client.expectString,
|
|
3504
|
+
CreatedBy: import_smithy_client.expectString,
|
|
3505
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3506
|
+
ExpirationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3507
|
+
Name: import_smithy_client.expectString,
|
|
3508
|
+
State: import_smithy_client.expectString
|
|
3509
|
+
});
|
|
3510
|
+
}, "de_EventSource");
|
|
3511
|
+
var de_EventSourceList = /* @__PURE__ */ __name((output, context) => {
|
|
3512
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3513
|
+
return de_EventSource(entry, context);
|
|
3514
|
+
});
|
|
3515
|
+
return retVal;
|
|
3516
|
+
}, "de_EventSourceList");
|
|
3517
|
+
var de_ListApiDestinationsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3518
|
+
return (0, import_smithy_client.take)(output, {
|
|
3519
|
+
ApiDestinations: (_) => de_ApiDestinationResponseList(_, context),
|
|
3520
|
+
NextToken: import_smithy_client.expectString
|
|
3521
|
+
});
|
|
3522
|
+
}, "de_ListApiDestinationsResponse");
|
|
3523
|
+
var de_ListArchivesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3524
|
+
return (0, import_smithy_client.take)(output, {
|
|
3525
|
+
Archives: (_) => de_ArchiveResponseList(_, context),
|
|
3526
|
+
NextToken: import_smithy_client.expectString
|
|
3527
|
+
});
|
|
3528
|
+
}, "de_ListArchivesResponse");
|
|
3529
|
+
var de_ListConnectionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3530
|
+
return (0, import_smithy_client.take)(output, {
|
|
3531
|
+
Connections: (_) => de_ConnectionResponseList(_, context),
|
|
3532
|
+
NextToken: import_smithy_client.expectString
|
|
3533
|
+
});
|
|
3534
|
+
}, "de_ListConnectionsResponse");
|
|
3535
|
+
var de_ListEndpointsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3536
|
+
return (0, import_smithy_client.take)(output, {
|
|
3537
|
+
Endpoints: (_) => de_EndpointList(_, context),
|
|
3538
|
+
NextToken: import_smithy_client.expectString
|
|
3539
|
+
});
|
|
3540
|
+
}, "de_ListEndpointsResponse");
|
|
3541
|
+
var de_ListEventSourcesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3542
|
+
return (0, import_smithy_client.take)(output, {
|
|
3543
|
+
EventSources: (_) => de_EventSourceList(_, context),
|
|
3544
|
+
NextToken: import_smithy_client.expectString
|
|
3545
|
+
});
|
|
3546
|
+
}, "de_ListEventSourcesResponse");
|
|
3547
|
+
var de_ListPartnerEventSourceAccountsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3548
|
+
return (0, import_smithy_client.take)(output, {
|
|
3549
|
+
NextToken: import_smithy_client.expectString,
|
|
3550
|
+
PartnerEventSourceAccounts: (_) => de_PartnerEventSourceAccountList(_, context)
|
|
3551
|
+
});
|
|
3552
|
+
}, "de_ListPartnerEventSourceAccountsResponse");
|
|
3553
|
+
var de_ListReplaysResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3554
|
+
return (0, import_smithy_client.take)(output, {
|
|
3555
|
+
NextToken: import_smithy_client.expectString,
|
|
3556
|
+
Replays: (_) => de_ReplayList(_, context)
|
|
3557
|
+
});
|
|
3558
|
+
}, "de_ListReplaysResponse");
|
|
3559
|
+
var de_PartnerEventSourceAccount = /* @__PURE__ */ __name((output, context) => {
|
|
3560
|
+
return (0, import_smithy_client.take)(output, {
|
|
3561
|
+
Account: import_smithy_client.expectString,
|
|
3562
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3563
|
+
ExpirationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3564
|
+
State: import_smithy_client.expectString
|
|
3565
|
+
});
|
|
3566
|
+
}, "de_PartnerEventSourceAccount");
|
|
3567
|
+
var de_PartnerEventSourceAccountList = /* @__PURE__ */ __name((output, context) => {
|
|
3568
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3569
|
+
return de_PartnerEventSourceAccount(entry, context);
|
|
3570
|
+
});
|
|
3571
|
+
return retVal;
|
|
3572
|
+
}, "de_PartnerEventSourceAccountList");
|
|
3573
|
+
var de_Replay = /* @__PURE__ */ __name((output, context) => {
|
|
3574
|
+
return (0, import_smithy_client.take)(output, {
|
|
3575
|
+
EventEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3576
|
+
EventLastReplayedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3577
|
+
EventSourceArn: import_smithy_client.expectString,
|
|
3578
|
+
EventStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3579
|
+
ReplayEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3580
|
+
ReplayName: import_smithy_client.expectString,
|
|
3581
|
+
ReplayStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3582
|
+
State: import_smithy_client.expectString,
|
|
3583
|
+
StateReason: import_smithy_client.expectString
|
|
3584
|
+
});
|
|
3585
|
+
}, "de_Replay");
|
|
3586
|
+
var de_ReplayList = /* @__PURE__ */ __name((output, context) => {
|
|
3587
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3588
|
+
return de_Replay(entry, context);
|
|
3589
|
+
});
|
|
3590
|
+
return retVal;
|
|
3591
|
+
}, "de_ReplayList");
|
|
3592
|
+
var de_StartReplayResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3593
|
+
return (0, import_smithy_client.take)(output, {
|
|
3594
|
+
ReplayArn: import_smithy_client.expectString,
|
|
3595
|
+
ReplayStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3596
|
+
State: import_smithy_client.expectString,
|
|
3597
|
+
StateReason: import_smithy_client.expectString
|
|
3598
|
+
});
|
|
3599
|
+
}, "de_StartReplayResponse");
|
|
3600
|
+
var de_UpdateApiDestinationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3601
|
+
return (0, import_smithy_client.take)(output, {
|
|
3602
|
+
ApiDestinationArn: import_smithy_client.expectString,
|
|
3603
|
+
ApiDestinationState: import_smithy_client.expectString,
|
|
3604
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3605
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3606
|
+
});
|
|
3607
|
+
}, "de_UpdateApiDestinationResponse");
|
|
3608
|
+
var de_UpdateArchiveResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3609
|
+
return (0, import_smithy_client.take)(output, {
|
|
3610
|
+
ArchiveArn: import_smithy_client.expectString,
|
|
3611
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3612
|
+
State: import_smithy_client.expectString,
|
|
3613
|
+
StateReason: import_smithy_client.expectString
|
|
3614
|
+
});
|
|
3615
|
+
}, "de_UpdateArchiveResponse");
|
|
3616
|
+
var de_UpdateConnectionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3617
|
+
return (0, import_smithy_client.take)(output, {
|
|
3618
|
+
ConnectionArn: import_smithy_client.expectString,
|
|
3619
|
+
ConnectionState: import_smithy_client.expectString,
|
|
3620
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3621
|
+
LastAuthorizedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3622
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3623
|
+
});
|
|
3624
|
+
}, "de_UpdateConnectionResponse");
|
|
3625
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
3626
|
+
httpStatusCode: output.statusCode,
|
|
3627
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3628
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3629
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
3630
|
+
}), "deserializeMetadata");
|
|
3631
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
3632
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(EventBridgeServiceException);
|
|
3633
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
3634
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3635
|
+
const contents = {
|
|
3636
|
+
protocol,
|
|
3637
|
+
hostname,
|
|
3638
|
+
port,
|
|
3639
|
+
method: "POST",
|
|
3640
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
3641
|
+
headers
|
|
3642
|
+
};
|
|
3643
|
+
if (resolvedHostname !== void 0) {
|
|
3644
|
+
contents.hostname = resolvedHostname;
|
|
3645
|
+
}
|
|
3646
|
+
if (body !== void 0) {
|
|
3647
|
+
contents.body = body;
|
|
3648
|
+
}
|
|
3649
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
3650
|
+
}, "buildHttpRpcRequest");
|
|
3651
|
+
function sharedHeaders(operation) {
|
|
3652
|
+
return {
|
|
3653
|
+
"content-type": "application/x-amz-json-1.1",
|
|
3654
|
+
"x-amz-target": `AWSEvents.${operation}`
|
|
3655
|
+
};
|
|
3656
|
+
}
|
|
3657
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
3658
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3659
|
+
if (encoded.length) {
|
|
3660
|
+
return JSON.parse(encoded);
|
|
3661
|
+
}
|
|
3662
|
+
return {};
|
|
3663
|
+
}), "parseBody");
|
|
3664
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
3665
|
+
const value = await parseBody(errorBody, context);
|
|
3666
|
+
value.message = value.message ?? value.Message;
|
|
3667
|
+
return value;
|
|
3668
|
+
}, "parseErrorBody");
|
|
3669
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
3670
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
3671
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
3672
|
+
let cleanValue = rawValue;
|
|
3673
|
+
if (typeof cleanValue === "number") {
|
|
3674
|
+
cleanValue = cleanValue.toString();
|
|
3675
|
+
}
|
|
3676
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
3677
|
+
cleanValue = cleanValue.split(",")[0];
|
|
3678
|
+
}
|
|
3679
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
3680
|
+
cleanValue = cleanValue.split(":")[0];
|
|
3681
|
+
}
|
|
3682
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
3683
|
+
cleanValue = cleanValue.split("#")[1];
|
|
3684
|
+
}
|
|
3685
|
+
return cleanValue;
|
|
3686
|
+
}, "sanitizeErrorCode");
|
|
3687
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
3688
|
+
if (headerKey !== void 0) {
|
|
3689
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
3690
|
+
}
|
|
3691
|
+
if (data.code !== void 0) {
|
|
3692
|
+
return sanitizeErrorCode(data.code);
|
|
3693
|
+
}
|
|
3694
|
+
if (data["__type"] !== void 0) {
|
|
3695
|
+
return sanitizeErrorCode(data["__type"]);
|
|
3696
|
+
}
|
|
3697
|
+
}, "loadRestJsonErrorCode");
|
|
3698
|
+
|
|
3699
|
+
// src/commands/ActivateEventSourceCommand.ts
|
|
3700
|
+
var _ActivateEventSourceCommand = class _ActivateEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3701
|
+
...commonParams
|
|
3702
|
+
}).m(function(Command, cs, config, o) {
|
|
3703
|
+
return [
|
|
3704
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3705
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3706
|
+
];
|
|
3707
|
+
}).s("AWSEvents", "ActivateEventSource", {}).n("EventBridgeClient", "ActivateEventSourceCommand").f(void 0, void 0).ser(se_ActivateEventSourceCommand).de(de_ActivateEventSourceCommand).build() {
|
|
3708
|
+
};
|
|
3709
|
+
__name(_ActivateEventSourceCommand, "ActivateEventSourceCommand");
|
|
3710
|
+
var ActivateEventSourceCommand = _ActivateEventSourceCommand;
|
|
3711
|
+
|
|
3712
|
+
// src/commands/CancelReplayCommand.ts
|
|
3713
|
+
|
|
3714
|
+
|
|
3715
|
+
|
|
3716
|
+
|
|
3717
|
+
var _CancelReplayCommand = class _CancelReplayCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3718
|
+
...commonParams
|
|
3719
|
+
}).m(function(Command, cs, config, o) {
|
|
3720
|
+
return [
|
|
3721
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3722
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3723
|
+
];
|
|
3724
|
+
}).s("AWSEvents", "CancelReplay", {}).n("EventBridgeClient", "CancelReplayCommand").f(void 0, void 0).ser(se_CancelReplayCommand).de(de_CancelReplayCommand).build() {
|
|
3725
|
+
};
|
|
3726
|
+
__name(_CancelReplayCommand, "CancelReplayCommand");
|
|
3727
|
+
var CancelReplayCommand = _CancelReplayCommand;
|
|
3728
|
+
|
|
3729
|
+
// src/commands/CreateApiDestinationCommand.ts
|
|
3730
|
+
|
|
3731
|
+
|
|
3732
|
+
|
|
3733
|
+
|
|
3734
|
+
var _CreateApiDestinationCommand = class _CreateApiDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3735
|
+
...commonParams
|
|
3736
|
+
}).m(function(Command, cs, config, o) {
|
|
3737
|
+
return [
|
|
3738
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3739
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3740
|
+
];
|
|
3741
|
+
}).s("AWSEvents", "CreateApiDestination", {}).n("EventBridgeClient", "CreateApiDestinationCommand").f(void 0, void 0).ser(se_CreateApiDestinationCommand).de(de_CreateApiDestinationCommand).build() {
|
|
3742
|
+
};
|
|
3743
|
+
__name(_CreateApiDestinationCommand, "CreateApiDestinationCommand");
|
|
3744
|
+
var CreateApiDestinationCommand = _CreateApiDestinationCommand;
|
|
3745
|
+
|
|
3746
|
+
// src/commands/CreateArchiveCommand.ts
|
|
3747
|
+
|
|
3748
|
+
|
|
3749
|
+
|
|
3750
|
+
|
|
3751
|
+
var _CreateArchiveCommand = class _CreateArchiveCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3752
|
+
...commonParams
|
|
3753
|
+
}).m(function(Command, cs, config, o) {
|
|
3754
|
+
return [
|
|
3755
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3756
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3757
|
+
];
|
|
3758
|
+
}).s("AWSEvents", "CreateArchive", {}).n("EventBridgeClient", "CreateArchiveCommand").f(void 0, void 0).ser(se_CreateArchiveCommand).de(de_CreateArchiveCommand).build() {
|
|
3759
|
+
};
|
|
3760
|
+
__name(_CreateArchiveCommand, "CreateArchiveCommand");
|
|
3761
|
+
var CreateArchiveCommand = _CreateArchiveCommand;
|
|
3762
|
+
|
|
3763
|
+
// src/commands/CreateConnectionCommand.ts
|
|
3764
|
+
|
|
3765
|
+
|
|
3766
|
+
|
|
3767
|
+
|
|
3768
|
+
var _CreateConnectionCommand = class _CreateConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3769
|
+
...commonParams
|
|
3770
|
+
}).m(function(Command, cs, config, o) {
|
|
3771
|
+
return [
|
|
3772
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3773
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3774
|
+
];
|
|
3775
|
+
}).s("AWSEvents", "CreateConnection", {}).n("EventBridgeClient", "CreateConnectionCommand").f(CreateConnectionRequestFilterSensitiveLog, void 0).ser(se_CreateConnectionCommand).de(de_CreateConnectionCommand).build() {
|
|
3776
|
+
};
|
|
3777
|
+
__name(_CreateConnectionCommand, "CreateConnectionCommand");
|
|
3778
|
+
var CreateConnectionCommand = _CreateConnectionCommand;
|
|
3779
|
+
|
|
3780
|
+
// src/commands/CreateEndpointCommand.ts
|
|
3781
|
+
|
|
3782
|
+
|
|
3783
|
+
|
|
3784
|
+
|
|
3785
|
+
var _CreateEndpointCommand = class _CreateEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3786
|
+
...commonParams
|
|
3787
|
+
}).m(function(Command, cs, config, o) {
|
|
3788
|
+
return [
|
|
3789
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3790
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3791
|
+
];
|
|
3792
|
+
}).s("AWSEvents", "CreateEndpoint", {}).n("EventBridgeClient", "CreateEndpointCommand").f(void 0, void 0).ser(se_CreateEndpointCommand).de(de_CreateEndpointCommand).build() {
|
|
3793
|
+
};
|
|
3794
|
+
__name(_CreateEndpointCommand, "CreateEndpointCommand");
|
|
3795
|
+
var CreateEndpointCommand = _CreateEndpointCommand;
|
|
3796
|
+
|
|
3797
|
+
// src/commands/CreateEventBusCommand.ts
|
|
3798
|
+
|
|
3799
|
+
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
var _CreateEventBusCommand = class _CreateEventBusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3803
|
+
...commonParams
|
|
3804
|
+
}).m(function(Command, cs, config, o) {
|
|
3805
|
+
return [
|
|
3806
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3807
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3808
|
+
];
|
|
3809
|
+
}).s("AWSEvents", "CreateEventBus", {}).n("EventBridgeClient", "CreateEventBusCommand").f(void 0, void 0).ser(se_CreateEventBusCommand).de(de_CreateEventBusCommand).build() {
|
|
3810
|
+
};
|
|
3811
|
+
__name(_CreateEventBusCommand, "CreateEventBusCommand");
|
|
3812
|
+
var CreateEventBusCommand = _CreateEventBusCommand;
|
|
3813
|
+
|
|
3814
|
+
// src/commands/CreatePartnerEventSourceCommand.ts
|
|
3815
|
+
|
|
3816
|
+
|
|
3817
|
+
|
|
3818
|
+
|
|
3819
|
+
var _CreatePartnerEventSourceCommand = class _CreatePartnerEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3820
|
+
...commonParams
|
|
3821
|
+
}).m(function(Command, cs, config, o) {
|
|
3822
|
+
return [
|
|
3823
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3824
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3825
|
+
];
|
|
3826
|
+
}).s("AWSEvents", "CreatePartnerEventSource", {}).n("EventBridgeClient", "CreatePartnerEventSourceCommand").f(void 0, void 0).ser(se_CreatePartnerEventSourceCommand).de(de_CreatePartnerEventSourceCommand).build() {
|
|
3827
|
+
};
|
|
3828
|
+
__name(_CreatePartnerEventSourceCommand, "CreatePartnerEventSourceCommand");
|
|
3829
|
+
var CreatePartnerEventSourceCommand = _CreatePartnerEventSourceCommand;
|
|
3830
|
+
|
|
3831
|
+
// src/commands/DeactivateEventSourceCommand.ts
|
|
3832
|
+
|
|
3833
|
+
|
|
3834
|
+
|
|
3835
|
+
|
|
3836
|
+
var _DeactivateEventSourceCommand = class _DeactivateEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3837
|
+
...commonParams
|
|
3838
|
+
}).m(function(Command, cs, config, o) {
|
|
3839
|
+
return [
|
|
3840
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3841
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3842
|
+
];
|
|
3843
|
+
}).s("AWSEvents", "DeactivateEventSource", {}).n("EventBridgeClient", "DeactivateEventSourceCommand").f(void 0, void 0).ser(se_DeactivateEventSourceCommand).de(de_DeactivateEventSourceCommand).build() {
|
|
3844
|
+
};
|
|
3845
|
+
__name(_DeactivateEventSourceCommand, "DeactivateEventSourceCommand");
|
|
3846
|
+
var DeactivateEventSourceCommand = _DeactivateEventSourceCommand;
|
|
3847
|
+
|
|
3848
|
+
// src/commands/DeauthorizeConnectionCommand.ts
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
|
|
3852
|
+
|
|
3853
|
+
var _DeauthorizeConnectionCommand = class _DeauthorizeConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3854
|
+
...commonParams
|
|
3855
|
+
}).m(function(Command, cs, config, o) {
|
|
3856
|
+
return [
|
|
3857
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3858
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3859
|
+
];
|
|
3860
|
+
}).s("AWSEvents", "DeauthorizeConnection", {}).n("EventBridgeClient", "DeauthorizeConnectionCommand").f(void 0, void 0).ser(se_DeauthorizeConnectionCommand).de(de_DeauthorizeConnectionCommand).build() {
|
|
3861
|
+
};
|
|
3862
|
+
__name(_DeauthorizeConnectionCommand, "DeauthorizeConnectionCommand");
|
|
3863
|
+
var DeauthorizeConnectionCommand = _DeauthorizeConnectionCommand;
|
|
3864
|
+
|
|
3865
|
+
// src/commands/DeleteApiDestinationCommand.ts
|
|
3866
|
+
|
|
3867
|
+
|
|
3868
|
+
|
|
3869
|
+
|
|
3870
|
+
var _DeleteApiDestinationCommand = class _DeleteApiDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3871
|
+
...commonParams
|
|
3872
|
+
}).m(function(Command, cs, config, o) {
|
|
3873
|
+
return [
|
|
3874
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3875
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3876
|
+
];
|
|
3877
|
+
}).s("AWSEvents", "DeleteApiDestination", {}).n("EventBridgeClient", "DeleteApiDestinationCommand").f(void 0, void 0).ser(se_DeleteApiDestinationCommand).de(de_DeleteApiDestinationCommand).build() {
|
|
3878
|
+
};
|
|
3879
|
+
__name(_DeleteApiDestinationCommand, "DeleteApiDestinationCommand");
|
|
3880
|
+
var DeleteApiDestinationCommand = _DeleteApiDestinationCommand;
|
|
3881
|
+
|
|
3882
|
+
// src/commands/DeleteArchiveCommand.ts
|
|
3883
|
+
|
|
3884
|
+
|
|
3885
|
+
|
|
3886
|
+
|
|
3887
|
+
var _DeleteArchiveCommand = class _DeleteArchiveCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3888
|
+
...commonParams
|
|
3889
|
+
}).m(function(Command, cs, config, o) {
|
|
3890
|
+
return [
|
|
3891
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3892
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3893
|
+
];
|
|
3894
|
+
}).s("AWSEvents", "DeleteArchive", {}).n("EventBridgeClient", "DeleteArchiveCommand").f(void 0, void 0).ser(se_DeleteArchiveCommand).de(de_DeleteArchiveCommand).build() {
|
|
3895
|
+
};
|
|
3896
|
+
__name(_DeleteArchiveCommand, "DeleteArchiveCommand");
|
|
3897
|
+
var DeleteArchiveCommand = _DeleteArchiveCommand;
|
|
3898
|
+
|
|
3899
|
+
// src/commands/DeleteConnectionCommand.ts
|
|
3900
|
+
|
|
3901
|
+
|
|
3902
|
+
|
|
3903
|
+
|
|
3904
|
+
var _DeleteConnectionCommand = class _DeleteConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3905
|
+
...commonParams
|
|
3906
|
+
}).m(function(Command, cs, config, o) {
|
|
3907
|
+
return [
|
|
3908
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3909
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3910
|
+
];
|
|
3911
|
+
}).s("AWSEvents", "DeleteConnection", {}).n("EventBridgeClient", "DeleteConnectionCommand").f(void 0, void 0).ser(se_DeleteConnectionCommand).de(de_DeleteConnectionCommand).build() {
|
|
3912
|
+
};
|
|
3913
|
+
__name(_DeleteConnectionCommand, "DeleteConnectionCommand");
|
|
3914
|
+
var DeleteConnectionCommand = _DeleteConnectionCommand;
|
|
3915
|
+
|
|
3916
|
+
// src/commands/DeleteEndpointCommand.ts
|
|
3917
|
+
|
|
3918
|
+
|
|
3919
|
+
|
|
3920
|
+
|
|
3921
|
+
var _DeleteEndpointCommand = class _DeleteEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3922
|
+
...commonParams
|
|
3923
|
+
}).m(function(Command, cs, config, o) {
|
|
3924
|
+
return [
|
|
3925
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3926
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3927
|
+
];
|
|
3928
|
+
}).s("AWSEvents", "DeleteEndpoint", {}).n("EventBridgeClient", "DeleteEndpointCommand").f(void 0, void 0).ser(se_DeleteEndpointCommand).de(de_DeleteEndpointCommand).build() {
|
|
3929
|
+
};
|
|
3930
|
+
__name(_DeleteEndpointCommand, "DeleteEndpointCommand");
|
|
3931
|
+
var DeleteEndpointCommand = _DeleteEndpointCommand;
|
|
3932
|
+
|
|
3933
|
+
// src/commands/DeleteEventBusCommand.ts
|
|
3934
|
+
|
|
3935
|
+
|
|
3936
|
+
|
|
3937
|
+
|
|
3938
|
+
var _DeleteEventBusCommand = class _DeleteEventBusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3939
|
+
...commonParams
|
|
3940
|
+
}).m(function(Command, cs, config, o) {
|
|
3941
|
+
return [
|
|
3942
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3943
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3944
|
+
];
|
|
3945
|
+
}).s("AWSEvents", "DeleteEventBus", {}).n("EventBridgeClient", "DeleteEventBusCommand").f(void 0, void 0).ser(se_DeleteEventBusCommand).de(de_DeleteEventBusCommand).build() {
|
|
3946
|
+
};
|
|
3947
|
+
__name(_DeleteEventBusCommand, "DeleteEventBusCommand");
|
|
3948
|
+
var DeleteEventBusCommand = _DeleteEventBusCommand;
|
|
3949
|
+
|
|
3950
|
+
// src/commands/DeletePartnerEventSourceCommand.ts
|
|
3951
|
+
|
|
3952
|
+
|
|
3953
|
+
|
|
3954
|
+
|
|
3955
|
+
var _DeletePartnerEventSourceCommand = class _DeletePartnerEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3956
|
+
...commonParams
|
|
3957
|
+
}).m(function(Command, cs, config, o) {
|
|
3958
|
+
return [
|
|
3959
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3960
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3961
|
+
];
|
|
3962
|
+
}).s("AWSEvents", "DeletePartnerEventSource", {}).n("EventBridgeClient", "DeletePartnerEventSourceCommand").f(void 0, void 0).ser(se_DeletePartnerEventSourceCommand).de(de_DeletePartnerEventSourceCommand).build() {
|
|
3963
|
+
};
|
|
3964
|
+
__name(_DeletePartnerEventSourceCommand, "DeletePartnerEventSourceCommand");
|
|
3965
|
+
var DeletePartnerEventSourceCommand = _DeletePartnerEventSourceCommand;
|
|
3966
|
+
|
|
3967
|
+
// src/commands/DeleteRuleCommand.ts
|
|
3968
|
+
|
|
3969
|
+
|
|
3970
|
+
|
|
3971
|
+
|
|
3972
|
+
var _DeleteRuleCommand = class _DeleteRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3973
|
+
...commonParams
|
|
3974
|
+
}).m(function(Command, cs, config, o) {
|
|
3975
|
+
return [
|
|
3976
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3977
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3978
|
+
];
|
|
3979
|
+
}).s("AWSEvents", "DeleteRule", {}).n("EventBridgeClient", "DeleteRuleCommand").f(void 0, void 0).ser(se_DeleteRuleCommand).de(de_DeleteRuleCommand).build() {
|
|
3980
|
+
};
|
|
3981
|
+
__name(_DeleteRuleCommand, "DeleteRuleCommand");
|
|
3982
|
+
var DeleteRuleCommand = _DeleteRuleCommand;
|
|
3983
|
+
|
|
3984
|
+
// src/commands/DescribeApiDestinationCommand.ts
|
|
3985
|
+
|
|
3986
|
+
|
|
3987
|
+
|
|
3988
|
+
|
|
3989
|
+
var _DescribeApiDestinationCommand = class _DescribeApiDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3990
|
+
...commonParams
|
|
3991
|
+
}).m(function(Command, cs, config, o) {
|
|
3992
|
+
return [
|
|
3993
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3994
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3995
|
+
];
|
|
3996
|
+
}).s("AWSEvents", "DescribeApiDestination", {}).n("EventBridgeClient", "DescribeApiDestinationCommand").f(void 0, void 0).ser(se_DescribeApiDestinationCommand).de(de_DescribeApiDestinationCommand).build() {
|
|
3997
|
+
};
|
|
3998
|
+
__name(_DescribeApiDestinationCommand, "DescribeApiDestinationCommand");
|
|
3999
|
+
var DescribeApiDestinationCommand = _DescribeApiDestinationCommand;
|
|
4000
|
+
|
|
4001
|
+
// src/commands/DescribeArchiveCommand.ts
|
|
4002
|
+
|
|
4003
|
+
|
|
4004
|
+
|
|
4005
|
+
|
|
4006
|
+
var _DescribeArchiveCommand = class _DescribeArchiveCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4007
|
+
...commonParams
|
|
4008
|
+
}).m(function(Command, cs, config, o) {
|
|
4009
|
+
return [
|
|
4010
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4011
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4012
|
+
];
|
|
4013
|
+
}).s("AWSEvents", "DescribeArchive", {}).n("EventBridgeClient", "DescribeArchiveCommand").f(void 0, void 0).ser(se_DescribeArchiveCommand).de(de_DescribeArchiveCommand).build() {
|
|
4014
|
+
};
|
|
4015
|
+
__name(_DescribeArchiveCommand, "DescribeArchiveCommand");
|
|
4016
|
+
var DescribeArchiveCommand = _DescribeArchiveCommand;
|
|
4017
|
+
|
|
4018
|
+
// src/commands/DescribeConnectionCommand.ts
|
|
4019
|
+
|
|
4020
|
+
|
|
4021
|
+
|
|
4022
|
+
|
|
4023
|
+
var _DescribeConnectionCommand = class _DescribeConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4024
|
+
...commonParams
|
|
4025
|
+
}).m(function(Command, cs, config, o) {
|
|
4026
|
+
return [
|
|
4027
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4028
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4029
|
+
];
|
|
4030
|
+
}).s("AWSEvents", "DescribeConnection", {}).n("EventBridgeClient", "DescribeConnectionCommand").f(void 0, DescribeConnectionResponseFilterSensitiveLog).ser(se_DescribeConnectionCommand).de(de_DescribeConnectionCommand).build() {
|
|
4031
|
+
};
|
|
4032
|
+
__name(_DescribeConnectionCommand, "DescribeConnectionCommand");
|
|
4033
|
+
var DescribeConnectionCommand = _DescribeConnectionCommand;
|
|
4034
|
+
|
|
4035
|
+
// src/commands/DescribeEndpointCommand.ts
|
|
4036
|
+
|
|
4037
|
+
|
|
4038
|
+
|
|
4039
|
+
|
|
4040
|
+
var _DescribeEndpointCommand = class _DescribeEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4041
|
+
...commonParams
|
|
4042
|
+
}).m(function(Command, cs, config, o) {
|
|
4043
|
+
return [
|
|
4044
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4045
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4046
|
+
];
|
|
4047
|
+
}).s("AWSEvents", "DescribeEndpoint", {}).n("EventBridgeClient", "DescribeEndpointCommand").f(void 0, void 0).ser(se_DescribeEndpointCommand).de(de_DescribeEndpointCommand).build() {
|
|
4048
|
+
};
|
|
4049
|
+
__name(_DescribeEndpointCommand, "DescribeEndpointCommand");
|
|
4050
|
+
var DescribeEndpointCommand = _DescribeEndpointCommand;
|
|
4051
|
+
|
|
4052
|
+
// src/commands/DescribeEventBusCommand.ts
|
|
4053
|
+
|
|
4054
|
+
|
|
4055
|
+
|
|
4056
|
+
|
|
4057
|
+
var _DescribeEventBusCommand = class _DescribeEventBusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4058
|
+
...commonParams
|
|
4059
|
+
}).m(function(Command, cs, config, o) {
|
|
4060
|
+
return [
|
|
4061
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4062
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4063
|
+
];
|
|
4064
|
+
}).s("AWSEvents", "DescribeEventBus", {}).n("EventBridgeClient", "DescribeEventBusCommand").f(void 0, void 0).ser(se_DescribeEventBusCommand).de(de_DescribeEventBusCommand).build() {
|
|
4065
|
+
};
|
|
4066
|
+
__name(_DescribeEventBusCommand, "DescribeEventBusCommand");
|
|
4067
|
+
var DescribeEventBusCommand = _DescribeEventBusCommand;
|
|
4068
|
+
|
|
4069
|
+
// src/commands/DescribeEventSourceCommand.ts
|
|
4070
|
+
|
|
4071
|
+
|
|
4072
|
+
|
|
4073
|
+
|
|
4074
|
+
var _DescribeEventSourceCommand = class _DescribeEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4075
|
+
...commonParams
|
|
4076
|
+
}).m(function(Command, cs, config, o) {
|
|
4077
|
+
return [
|
|
4078
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4079
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4080
|
+
];
|
|
4081
|
+
}).s("AWSEvents", "DescribeEventSource", {}).n("EventBridgeClient", "DescribeEventSourceCommand").f(void 0, void 0).ser(se_DescribeEventSourceCommand).de(de_DescribeEventSourceCommand).build() {
|
|
4082
|
+
};
|
|
4083
|
+
__name(_DescribeEventSourceCommand, "DescribeEventSourceCommand");
|
|
4084
|
+
var DescribeEventSourceCommand = _DescribeEventSourceCommand;
|
|
4085
|
+
|
|
4086
|
+
// src/commands/DescribePartnerEventSourceCommand.ts
|
|
4087
|
+
|
|
4088
|
+
|
|
4089
|
+
|
|
4090
|
+
|
|
4091
|
+
var _DescribePartnerEventSourceCommand = class _DescribePartnerEventSourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4092
|
+
...commonParams
|
|
4093
|
+
}).m(function(Command, cs, config, o) {
|
|
4094
|
+
return [
|
|
4095
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4096
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4097
|
+
];
|
|
4098
|
+
}).s("AWSEvents", "DescribePartnerEventSource", {}).n("EventBridgeClient", "DescribePartnerEventSourceCommand").f(void 0, void 0).ser(se_DescribePartnerEventSourceCommand).de(de_DescribePartnerEventSourceCommand).build() {
|
|
4099
|
+
};
|
|
4100
|
+
__name(_DescribePartnerEventSourceCommand, "DescribePartnerEventSourceCommand");
|
|
4101
|
+
var DescribePartnerEventSourceCommand = _DescribePartnerEventSourceCommand;
|
|
4102
|
+
|
|
4103
|
+
// src/commands/DescribeReplayCommand.ts
|
|
4104
|
+
|
|
4105
|
+
|
|
4106
|
+
|
|
4107
|
+
|
|
4108
|
+
var _DescribeReplayCommand = class _DescribeReplayCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4109
|
+
...commonParams
|
|
4110
|
+
}).m(function(Command, cs, config, o) {
|
|
4111
|
+
return [
|
|
4112
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4113
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4114
|
+
];
|
|
4115
|
+
}).s("AWSEvents", "DescribeReplay", {}).n("EventBridgeClient", "DescribeReplayCommand").f(void 0, void 0).ser(se_DescribeReplayCommand).de(de_DescribeReplayCommand).build() {
|
|
4116
|
+
};
|
|
4117
|
+
__name(_DescribeReplayCommand, "DescribeReplayCommand");
|
|
4118
|
+
var DescribeReplayCommand = _DescribeReplayCommand;
|
|
4119
|
+
|
|
4120
|
+
// src/commands/DescribeRuleCommand.ts
|
|
4121
|
+
|
|
4122
|
+
|
|
4123
|
+
|
|
4124
|
+
|
|
4125
|
+
var _DescribeRuleCommand = class _DescribeRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4126
|
+
...commonParams
|
|
4127
|
+
}).m(function(Command, cs, config, o) {
|
|
4128
|
+
return [
|
|
4129
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4130
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4131
|
+
];
|
|
4132
|
+
}).s("AWSEvents", "DescribeRule", {}).n("EventBridgeClient", "DescribeRuleCommand").f(void 0, void 0).ser(se_DescribeRuleCommand).de(de_DescribeRuleCommand).build() {
|
|
4133
|
+
};
|
|
4134
|
+
__name(_DescribeRuleCommand, "DescribeRuleCommand");
|
|
4135
|
+
var DescribeRuleCommand = _DescribeRuleCommand;
|
|
4136
|
+
|
|
4137
|
+
// src/commands/DisableRuleCommand.ts
|
|
4138
|
+
|
|
4139
|
+
|
|
4140
|
+
|
|
4141
|
+
|
|
4142
|
+
var _DisableRuleCommand = class _DisableRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4143
|
+
...commonParams
|
|
4144
|
+
}).m(function(Command, cs, config, o) {
|
|
4145
|
+
return [
|
|
4146
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4147
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4148
|
+
];
|
|
4149
|
+
}).s("AWSEvents", "DisableRule", {}).n("EventBridgeClient", "DisableRuleCommand").f(void 0, void 0).ser(se_DisableRuleCommand).de(de_DisableRuleCommand).build() {
|
|
4150
|
+
};
|
|
4151
|
+
__name(_DisableRuleCommand, "DisableRuleCommand");
|
|
4152
|
+
var DisableRuleCommand = _DisableRuleCommand;
|
|
4153
|
+
|
|
4154
|
+
// src/commands/EnableRuleCommand.ts
|
|
4155
|
+
|
|
4156
|
+
|
|
4157
|
+
|
|
4158
|
+
|
|
4159
|
+
var _EnableRuleCommand = class _EnableRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4160
|
+
...commonParams
|
|
4161
|
+
}).m(function(Command, cs, config, o) {
|
|
4162
|
+
return [
|
|
4163
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4164
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4165
|
+
];
|
|
4166
|
+
}).s("AWSEvents", "EnableRule", {}).n("EventBridgeClient", "EnableRuleCommand").f(void 0, void 0).ser(se_EnableRuleCommand).de(de_EnableRuleCommand).build() {
|
|
4167
|
+
};
|
|
4168
|
+
__name(_EnableRuleCommand, "EnableRuleCommand");
|
|
4169
|
+
var EnableRuleCommand = _EnableRuleCommand;
|
|
4170
|
+
|
|
4171
|
+
// src/commands/ListApiDestinationsCommand.ts
|
|
4172
|
+
|
|
4173
|
+
|
|
4174
|
+
|
|
4175
|
+
|
|
4176
|
+
var _ListApiDestinationsCommand = class _ListApiDestinationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4177
|
+
...commonParams
|
|
4178
|
+
}).m(function(Command, cs, config, o) {
|
|
4179
|
+
return [
|
|
4180
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4181
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4182
|
+
];
|
|
4183
|
+
}).s("AWSEvents", "ListApiDestinations", {}).n("EventBridgeClient", "ListApiDestinationsCommand").f(void 0, void 0).ser(se_ListApiDestinationsCommand).de(de_ListApiDestinationsCommand).build() {
|
|
4184
|
+
};
|
|
4185
|
+
__name(_ListApiDestinationsCommand, "ListApiDestinationsCommand");
|
|
4186
|
+
var ListApiDestinationsCommand = _ListApiDestinationsCommand;
|
|
4187
|
+
|
|
4188
|
+
// src/commands/ListArchivesCommand.ts
|
|
4189
|
+
|
|
4190
|
+
|
|
4191
|
+
|
|
4192
|
+
|
|
4193
|
+
var _ListArchivesCommand = class _ListArchivesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4194
|
+
...commonParams
|
|
4195
|
+
}).m(function(Command, cs, config, o) {
|
|
4196
|
+
return [
|
|
4197
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4198
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4199
|
+
];
|
|
4200
|
+
}).s("AWSEvents", "ListArchives", {}).n("EventBridgeClient", "ListArchivesCommand").f(void 0, void 0).ser(se_ListArchivesCommand).de(de_ListArchivesCommand).build() {
|
|
4201
|
+
};
|
|
4202
|
+
__name(_ListArchivesCommand, "ListArchivesCommand");
|
|
4203
|
+
var ListArchivesCommand = _ListArchivesCommand;
|
|
4204
|
+
|
|
4205
|
+
// src/commands/ListConnectionsCommand.ts
|
|
4206
|
+
|
|
4207
|
+
|
|
4208
|
+
|
|
4209
|
+
|
|
4210
|
+
var _ListConnectionsCommand = class _ListConnectionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4211
|
+
...commonParams
|
|
4212
|
+
}).m(function(Command, cs, config, o) {
|
|
4213
|
+
return [
|
|
4214
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4215
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4216
|
+
];
|
|
4217
|
+
}).s("AWSEvents", "ListConnections", {}).n("EventBridgeClient", "ListConnectionsCommand").f(void 0, void 0).ser(se_ListConnectionsCommand).de(de_ListConnectionsCommand).build() {
|
|
4218
|
+
};
|
|
4219
|
+
__name(_ListConnectionsCommand, "ListConnectionsCommand");
|
|
4220
|
+
var ListConnectionsCommand = _ListConnectionsCommand;
|
|
4221
|
+
|
|
4222
|
+
// src/commands/ListEndpointsCommand.ts
|
|
4223
|
+
|
|
4224
|
+
|
|
4225
|
+
|
|
4226
|
+
|
|
4227
|
+
var _ListEndpointsCommand = class _ListEndpointsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4228
|
+
...commonParams
|
|
4229
|
+
}).m(function(Command, cs, config, o) {
|
|
4230
|
+
return [
|
|
4231
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4232
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4233
|
+
];
|
|
4234
|
+
}).s("AWSEvents", "ListEndpoints", {}).n("EventBridgeClient", "ListEndpointsCommand").f(void 0, void 0).ser(se_ListEndpointsCommand).de(de_ListEndpointsCommand).build() {
|
|
4235
|
+
};
|
|
4236
|
+
__name(_ListEndpointsCommand, "ListEndpointsCommand");
|
|
4237
|
+
var ListEndpointsCommand = _ListEndpointsCommand;
|
|
4238
|
+
|
|
4239
|
+
// src/commands/ListEventBusesCommand.ts
|
|
4240
|
+
|
|
4241
|
+
|
|
4242
|
+
|
|
4243
|
+
|
|
4244
|
+
var _ListEventBusesCommand = class _ListEventBusesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4245
|
+
...commonParams
|
|
4246
|
+
}).m(function(Command, cs, config, o) {
|
|
4247
|
+
return [
|
|
4248
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4249
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4250
|
+
];
|
|
4251
|
+
}).s("AWSEvents", "ListEventBuses", {}).n("EventBridgeClient", "ListEventBusesCommand").f(void 0, void 0).ser(se_ListEventBusesCommand).de(de_ListEventBusesCommand).build() {
|
|
4252
|
+
};
|
|
4253
|
+
__name(_ListEventBusesCommand, "ListEventBusesCommand");
|
|
4254
|
+
var ListEventBusesCommand = _ListEventBusesCommand;
|
|
4255
|
+
|
|
4256
|
+
// src/commands/ListEventSourcesCommand.ts
|
|
4257
|
+
|
|
4258
|
+
|
|
4259
|
+
|
|
4260
|
+
|
|
4261
|
+
var _ListEventSourcesCommand = class _ListEventSourcesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4262
|
+
...commonParams
|
|
4263
|
+
}).m(function(Command, cs, config, o) {
|
|
4264
|
+
return [
|
|
4265
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4266
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4267
|
+
];
|
|
4268
|
+
}).s("AWSEvents", "ListEventSources", {}).n("EventBridgeClient", "ListEventSourcesCommand").f(void 0, void 0).ser(se_ListEventSourcesCommand).de(de_ListEventSourcesCommand).build() {
|
|
4269
|
+
};
|
|
4270
|
+
__name(_ListEventSourcesCommand, "ListEventSourcesCommand");
|
|
4271
|
+
var ListEventSourcesCommand = _ListEventSourcesCommand;
|
|
4272
|
+
|
|
4273
|
+
// src/commands/ListPartnerEventSourceAccountsCommand.ts
|
|
4274
|
+
|
|
4275
|
+
|
|
4276
|
+
|
|
4277
|
+
|
|
4278
|
+
var _ListPartnerEventSourceAccountsCommand = class _ListPartnerEventSourceAccountsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4279
|
+
...commonParams
|
|
4280
|
+
}).m(function(Command, cs, config, o) {
|
|
4281
|
+
return [
|
|
4282
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4283
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4284
|
+
];
|
|
4285
|
+
}).s("AWSEvents", "ListPartnerEventSourceAccounts", {}).n("EventBridgeClient", "ListPartnerEventSourceAccountsCommand").f(void 0, void 0).ser(se_ListPartnerEventSourceAccountsCommand).de(de_ListPartnerEventSourceAccountsCommand).build() {
|
|
4286
|
+
};
|
|
4287
|
+
__name(_ListPartnerEventSourceAccountsCommand, "ListPartnerEventSourceAccountsCommand");
|
|
4288
|
+
var ListPartnerEventSourceAccountsCommand = _ListPartnerEventSourceAccountsCommand;
|
|
4289
|
+
|
|
4290
|
+
// src/commands/ListPartnerEventSourcesCommand.ts
|
|
4291
|
+
|
|
4292
|
+
|
|
4293
|
+
|
|
4294
|
+
|
|
4295
|
+
var _ListPartnerEventSourcesCommand = class _ListPartnerEventSourcesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4296
|
+
...commonParams
|
|
4297
|
+
}).m(function(Command, cs, config, o) {
|
|
4298
|
+
return [
|
|
4299
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4300
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4301
|
+
];
|
|
4302
|
+
}).s("AWSEvents", "ListPartnerEventSources", {}).n("EventBridgeClient", "ListPartnerEventSourcesCommand").f(void 0, void 0).ser(se_ListPartnerEventSourcesCommand).de(de_ListPartnerEventSourcesCommand).build() {
|
|
4303
|
+
};
|
|
4304
|
+
__name(_ListPartnerEventSourcesCommand, "ListPartnerEventSourcesCommand");
|
|
4305
|
+
var ListPartnerEventSourcesCommand = _ListPartnerEventSourcesCommand;
|
|
4306
|
+
|
|
4307
|
+
// src/commands/ListReplaysCommand.ts
|
|
4308
|
+
|
|
4309
|
+
|
|
4310
|
+
|
|
4311
|
+
|
|
4312
|
+
var _ListReplaysCommand = class _ListReplaysCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4313
|
+
...commonParams
|
|
4314
|
+
}).m(function(Command, cs, config, o) {
|
|
4315
|
+
return [
|
|
4316
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4317
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4318
|
+
];
|
|
4319
|
+
}).s("AWSEvents", "ListReplays", {}).n("EventBridgeClient", "ListReplaysCommand").f(void 0, void 0).ser(se_ListReplaysCommand).de(de_ListReplaysCommand).build() {
|
|
4320
|
+
};
|
|
4321
|
+
__name(_ListReplaysCommand, "ListReplaysCommand");
|
|
4322
|
+
var ListReplaysCommand = _ListReplaysCommand;
|
|
4323
|
+
|
|
4324
|
+
// src/commands/ListRuleNamesByTargetCommand.ts
|
|
4325
|
+
|
|
4326
|
+
|
|
4327
|
+
|
|
4328
|
+
|
|
4329
|
+
var _ListRuleNamesByTargetCommand = class _ListRuleNamesByTargetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4330
|
+
...commonParams
|
|
4331
|
+
}).m(function(Command, cs, config, o) {
|
|
4332
|
+
return [
|
|
4333
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4334
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4335
|
+
];
|
|
4336
|
+
}).s("AWSEvents", "ListRuleNamesByTarget", {}).n("EventBridgeClient", "ListRuleNamesByTargetCommand").f(void 0, void 0).ser(se_ListRuleNamesByTargetCommand).de(de_ListRuleNamesByTargetCommand).build() {
|
|
4337
|
+
};
|
|
4338
|
+
__name(_ListRuleNamesByTargetCommand, "ListRuleNamesByTargetCommand");
|
|
4339
|
+
var ListRuleNamesByTargetCommand = _ListRuleNamesByTargetCommand;
|
|
4340
|
+
|
|
4341
|
+
// src/commands/ListRulesCommand.ts
|
|
4342
|
+
|
|
4343
|
+
|
|
4344
|
+
|
|
4345
|
+
|
|
4346
|
+
var _ListRulesCommand = class _ListRulesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4347
|
+
...commonParams
|
|
4348
|
+
}).m(function(Command, cs, config, o) {
|
|
4349
|
+
return [
|
|
4350
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4351
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4352
|
+
];
|
|
4353
|
+
}).s("AWSEvents", "ListRules", {}).n("EventBridgeClient", "ListRulesCommand").f(void 0, void 0).ser(se_ListRulesCommand).de(de_ListRulesCommand).build() {
|
|
4354
|
+
};
|
|
4355
|
+
__name(_ListRulesCommand, "ListRulesCommand");
|
|
4356
|
+
var ListRulesCommand = _ListRulesCommand;
|
|
4357
|
+
|
|
4358
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
4359
|
+
|
|
4360
|
+
|
|
4361
|
+
|
|
4362
|
+
|
|
4363
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4364
|
+
...commonParams
|
|
4365
|
+
}).m(function(Command, cs, config, o) {
|
|
4366
|
+
return [
|
|
4367
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4368
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4369
|
+
];
|
|
4370
|
+
}).s("AWSEvents", "ListTagsForResource", {}).n("EventBridgeClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
4371
|
+
};
|
|
4372
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
4373
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
4374
|
+
|
|
4375
|
+
// src/commands/ListTargetsByRuleCommand.ts
|
|
4376
|
+
|
|
4377
|
+
|
|
4378
|
+
|
|
4379
|
+
|
|
4380
|
+
var _ListTargetsByRuleCommand = class _ListTargetsByRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4381
|
+
...commonParams
|
|
4382
|
+
}).m(function(Command, cs, config, o) {
|
|
4383
|
+
return [
|
|
4384
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4385
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4386
|
+
];
|
|
4387
|
+
}).s("AWSEvents", "ListTargetsByRule", {}).n("EventBridgeClient", "ListTargetsByRuleCommand").f(void 0, ListTargetsByRuleResponseFilterSensitiveLog).ser(se_ListTargetsByRuleCommand).de(de_ListTargetsByRuleCommand).build() {
|
|
4388
|
+
};
|
|
4389
|
+
__name(_ListTargetsByRuleCommand, "ListTargetsByRuleCommand");
|
|
4390
|
+
var ListTargetsByRuleCommand = _ListTargetsByRuleCommand;
|
|
4391
|
+
|
|
4392
|
+
// src/commands/PutEventsCommand.ts
|
|
4393
|
+
|
|
4394
|
+
|
|
4395
|
+
|
|
4396
|
+
|
|
4397
|
+
var _PutEventsCommand = class _PutEventsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4398
|
+
...commonParams,
|
|
4399
|
+
EndpointId: { type: "contextParams", name: "EndpointId" }
|
|
4400
|
+
}).m(function(Command, cs, config, o) {
|
|
4401
|
+
return [
|
|
4402
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4403
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4404
|
+
];
|
|
4405
|
+
}).s("AWSEvents", "PutEvents", {}).n("EventBridgeClient", "PutEventsCommand").f(void 0, void 0).ser(se_PutEventsCommand).de(de_PutEventsCommand).build() {
|
|
4406
|
+
};
|
|
4407
|
+
__name(_PutEventsCommand, "PutEventsCommand");
|
|
4408
|
+
var PutEventsCommand = _PutEventsCommand;
|
|
4409
|
+
|
|
4410
|
+
// src/commands/PutPartnerEventsCommand.ts
|
|
4411
|
+
|
|
4412
|
+
|
|
4413
|
+
|
|
4414
|
+
|
|
4415
|
+
var _PutPartnerEventsCommand = class _PutPartnerEventsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4416
|
+
...commonParams
|
|
4417
|
+
}).m(function(Command, cs, config, o) {
|
|
4418
|
+
return [
|
|
4419
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4420
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4421
|
+
];
|
|
4422
|
+
}).s("AWSEvents", "PutPartnerEvents", {}).n("EventBridgeClient", "PutPartnerEventsCommand").f(void 0, void 0).ser(se_PutPartnerEventsCommand).de(de_PutPartnerEventsCommand).build() {
|
|
4423
|
+
};
|
|
4424
|
+
__name(_PutPartnerEventsCommand, "PutPartnerEventsCommand");
|
|
4425
|
+
var PutPartnerEventsCommand = _PutPartnerEventsCommand;
|
|
4426
|
+
|
|
4427
|
+
// src/commands/PutPermissionCommand.ts
|
|
4428
|
+
|
|
4429
|
+
|
|
4430
|
+
|
|
4431
|
+
|
|
4432
|
+
var _PutPermissionCommand = class _PutPermissionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4433
|
+
...commonParams
|
|
4434
|
+
}).m(function(Command, cs, config, o) {
|
|
4435
|
+
return [
|
|
4436
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4437
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4438
|
+
];
|
|
4439
|
+
}).s("AWSEvents", "PutPermission", {}).n("EventBridgeClient", "PutPermissionCommand").f(void 0, void 0).ser(se_PutPermissionCommand).de(de_PutPermissionCommand).build() {
|
|
4440
|
+
};
|
|
4441
|
+
__name(_PutPermissionCommand, "PutPermissionCommand");
|
|
4442
|
+
var PutPermissionCommand = _PutPermissionCommand;
|
|
4443
|
+
|
|
4444
|
+
// src/commands/PutRuleCommand.ts
|
|
4445
|
+
|
|
4446
|
+
|
|
4447
|
+
|
|
4448
|
+
|
|
4449
|
+
var _PutRuleCommand = class _PutRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4450
|
+
...commonParams
|
|
4451
|
+
}).m(function(Command, cs, config, o) {
|
|
4452
|
+
return [
|
|
4453
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4454
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4455
|
+
];
|
|
4456
|
+
}).s("AWSEvents", "PutRule", {}).n("EventBridgeClient", "PutRuleCommand").f(void 0, void 0).ser(se_PutRuleCommand).de(de_PutRuleCommand).build() {
|
|
4457
|
+
};
|
|
4458
|
+
__name(_PutRuleCommand, "PutRuleCommand");
|
|
4459
|
+
var PutRuleCommand = _PutRuleCommand;
|
|
4460
|
+
|
|
4461
|
+
// src/commands/PutTargetsCommand.ts
|
|
4462
|
+
|
|
4463
|
+
|
|
4464
|
+
|
|
4465
|
+
|
|
4466
|
+
var _PutTargetsCommand = class _PutTargetsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4467
|
+
...commonParams
|
|
4468
|
+
}).m(function(Command, cs, config, o) {
|
|
4469
|
+
return [
|
|
4470
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4471
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4472
|
+
];
|
|
4473
|
+
}).s("AWSEvents", "PutTargets", {}).n("EventBridgeClient", "PutTargetsCommand").f(PutTargetsRequestFilterSensitiveLog, void 0).ser(se_PutTargetsCommand).de(de_PutTargetsCommand).build() {
|
|
4474
|
+
};
|
|
4475
|
+
__name(_PutTargetsCommand, "PutTargetsCommand");
|
|
4476
|
+
var PutTargetsCommand = _PutTargetsCommand;
|
|
4477
|
+
|
|
4478
|
+
// src/commands/RemovePermissionCommand.ts
|
|
4479
|
+
|
|
4480
|
+
|
|
4481
|
+
|
|
4482
|
+
|
|
4483
|
+
var _RemovePermissionCommand = class _RemovePermissionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4484
|
+
...commonParams
|
|
4485
|
+
}).m(function(Command, cs, config, o) {
|
|
4486
|
+
return [
|
|
4487
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4488
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4489
|
+
];
|
|
4490
|
+
}).s("AWSEvents", "RemovePermission", {}).n("EventBridgeClient", "RemovePermissionCommand").f(void 0, void 0).ser(se_RemovePermissionCommand).de(de_RemovePermissionCommand).build() {
|
|
4491
|
+
};
|
|
4492
|
+
__name(_RemovePermissionCommand, "RemovePermissionCommand");
|
|
4493
|
+
var RemovePermissionCommand = _RemovePermissionCommand;
|
|
4494
|
+
|
|
4495
|
+
// src/commands/RemoveTargetsCommand.ts
|
|
4496
|
+
|
|
4497
|
+
|
|
4498
|
+
|
|
4499
|
+
|
|
4500
|
+
var _RemoveTargetsCommand = class _RemoveTargetsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4501
|
+
...commonParams
|
|
4502
|
+
}).m(function(Command, cs, config, o) {
|
|
4503
|
+
return [
|
|
4504
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4505
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4506
|
+
];
|
|
4507
|
+
}).s("AWSEvents", "RemoveTargets", {}).n("EventBridgeClient", "RemoveTargetsCommand").f(void 0, void 0).ser(se_RemoveTargetsCommand).de(de_RemoveTargetsCommand).build() {
|
|
4508
|
+
};
|
|
4509
|
+
__name(_RemoveTargetsCommand, "RemoveTargetsCommand");
|
|
4510
|
+
var RemoveTargetsCommand = _RemoveTargetsCommand;
|
|
4511
|
+
|
|
4512
|
+
// src/commands/StartReplayCommand.ts
|
|
4513
|
+
|
|
4514
|
+
|
|
4515
|
+
|
|
4516
|
+
|
|
4517
|
+
var _StartReplayCommand = class _StartReplayCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4518
|
+
...commonParams
|
|
4519
|
+
}).m(function(Command, cs, config, o) {
|
|
4520
|
+
return [
|
|
4521
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4522
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4523
|
+
];
|
|
4524
|
+
}).s("AWSEvents", "StartReplay", {}).n("EventBridgeClient", "StartReplayCommand").f(void 0, void 0).ser(se_StartReplayCommand).de(de_StartReplayCommand).build() {
|
|
4525
|
+
};
|
|
4526
|
+
__name(_StartReplayCommand, "StartReplayCommand");
|
|
4527
|
+
var StartReplayCommand = _StartReplayCommand;
|
|
4528
|
+
|
|
4529
|
+
// src/commands/TagResourceCommand.ts
|
|
4530
|
+
|
|
4531
|
+
|
|
4532
|
+
|
|
4533
|
+
|
|
4534
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4535
|
+
...commonParams
|
|
4536
|
+
}).m(function(Command, cs, config, o) {
|
|
4537
|
+
return [
|
|
4538
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4539
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4540
|
+
];
|
|
4541
|
+
}).s("AWSEvents", "TagResource", {}).n("EventBridgeClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
4542
|
+
};
|
|
4543
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
4544
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
4545
|
+
|
|
4546
|
+
// src/commands/TestEventPatternCommand.ts
|
|
4547
|
+
|
|
4548
|
+
|
|
4549
|
+
|
|
4550
|
+
|
|
4551
|
+
var _TestEventPatternCommand = class _TestEventPatternCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4552
|
+
...commonParams
|
|
4553
|
+
}).m(function(Command, cs, config, o) {
|
|
4554
|
+
return [
|
|
4555
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4556
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4557
|
+
];
|
|
4558
|
+
}).s("AWSEvents", "TestEventPattern", {}).n("EventBridgeClient", "TestEventPatternCommand").f(void 0, void 0).ser(se_TestEventPatternCommand).de(de_TestEventPatternCommand).build() {
|
|
4559
|
+
};
|
|
4560
|
+
__name(_TestEventPatternCommand, "TestEventPatternCommand");
|
|
4561
|
+
var TestEventPatternCommand = _TestEventPatternCommand;
|
|
4562
|
+
|
|
4563
|
+
// src/commands/UntagResourceCommand.ts
|
|
4564
|
+
|
|
4565
|
+
|
|
4566
|
+
|
|
4567
|
+
|
|
4568
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4569
|
+
...commonParams
|
|
4570
|
+
}).m(function(Command, cs, config, o) {
|
|
4571
|
+
return [
|
|
4572
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4573
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4574
|
+
];
|
|
4575
|
+
}).s("AWSEvents", "UntagResource", {}).n("EventBridgeClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
4576
|
+
};
|
|
4577
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
4578
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
4579
|
+
|
|
4580
|
+
// src/commands/UpdateApiDestinationCommand.ts
|
|
4581
|
+
|
|
4582
|
+
|
|
4583
|
+
|
|
4584
|
+
|
|
4585
|
+
var _UpdateApiDestinationCommand = class _UpdateApiDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4586
|
+
...commonParams
|
|
4587
|
+
}).m(function(Command, cs, config, o) {
|
|
4588
|
+
return [
|
|
4589
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4590
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4591
|
+
];
|
|
4592
|
+
}).s("AWSEvents", "UpdateApiDestination", {}).n("EventBridgeClient", "UpdateApiDestinationCommand").f(void 0, void 0).ser(se_UpdateApiDestinationCommand).de(de_UpdateApiDestinationCommand).build() {
|
|
4593
|
+
};
|
|
4594
|
+
__name(_UpdateApiDestinationCommand, "UpdateApiDestinationCommand");
|
|
4595
|
+
var UpdateApiDestinationCommand = _UpdateApiDestinationCommand;
|
|
4596
|
+
|
|
4597
|
+
// src/commands/UpdateArchiveCommand.ts
|
|
4598
|
+
|
|
4599
|
+
|
|
4600
|
+
|
|
4601
|
+
|
|
4602
|
+
var _UpdateArchiveCommand = class _UpdateArchiveCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4603
|
+
...commonParams
|
|
4604
|
+
}).m(function(Command, cs, config, o) {
|
|
4605
|
+
return [
|
|
4606
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4607
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4608
|
+
];
|
|
4609
|
+
}).s("AWSEvents", "UpdateArchive", {}).n("EventBridgeClient", "UpdateArchiveCommand").f(void 0, void 0).ser(se_UpdateArchiveCommand).de(de_UpdateArchiveCommand).build() {
|
|
4610
|
+
};
|
|
4611
|
+
__name(_UpdateArchiveCommand, "UpdateArchiveCommand");
|
|
4612
|
+
var UpdateArchiveCommand = _UpdateArchiveCommand;
|
|
4613
|
+
|
|
4614
|
+
// src/commands/UpdateConnectionCommand.ts
|
|
4615
|
+
|
|
4616
|
+
|
|
4617
|
+
|
|
4618
|
+
|
|
4619
|
+
var _UpdateConnectionCommand = class _UpdateConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4620
|
+
...commonParams
|
|
4621
|
+
}).m(function(Command, cs, config, o) {
|
|
4622
|
+
return [
|
|
4623
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4624
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4625
|
+
];
|
|
4626
|
+
}).s("AWSEvents", "UpdateConnection", {}).n("EventBridgeClient", "UpdateConnectionCommand").f(UpdateConnectionRequestFilterSensitiveLog, void 0).ser(se_UpdateConnectionCommand).de(de_UpdateConnectionCommand).build() {
|
|
4627
|
+
};
|
|
4628
|
+
__name(_UpdateConnectionCommand, "UpdateConnectionCommand");
|
|
4629
|
+
var UpdateConnectionCommand = _UpdateConnectionCommand;
|
|
4630
|
+
|
|
4631
|
+
// src/commands/UpdateEndpointCommand.ts
|
|
4632
|
+
|
|
4633
|
+
|
|
4634
|
+
|
|
4635
|
+
|
|
4636
|
+
var _UpdateEndpointCommand = class _UpdateEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4637
|
+
...commonParams
|
|
4638
|
+
}).m(function(Command, cs, config, o) {
|
|
4639
|
+
return [
|
|
4640
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4641
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4642
|
+
];
|
|
4643
|
+
}).s("AWSEvents", "UpdateEndpoint", {}).n("EventBridgeClient", "UpdateEndpointCommand").f(void 0, void 0).ser(se_UpdateEndpointCommand).de(de_UpdateEndpointCommand).build() {
|
|
4644
|
+
};
|
|
4645
|
+
__name(_UpdateEndpointCommand, "UpdateEndpointCommand");
|
|
4646
|
+
var UpdateEndpointCommand = _UpdateEndpointCommand;
|
|
4647
|
+
|
|
4648
|
+
// src/EventBridge.ts
|
|
4649
|
+
var commands = {
|
|
4650
|
+
ActivateEventSourceCommand,
|
|
4651
|
+
CancelReplayCommand,
|
|
4652
|
+
CreateApiDestinationCommand,
|
|
4653
|
+
CreateArchiveCommand,
|
|
4654
|
+
CreateConnectionCommand,
|
|
4655
|
+
CreateEndpointCommand,
|
|
4656
|
+
CreateEventBusCommand,
|
|
4657
|
+
CreatePartnerEventSourceCommand,
|
|
4658
|
+
DeactivateEventSourceCommand,
|
|
4659
|
+
DeauthorizeConnectionCommand,
|
|
4660
|
+
DeleteApiDestinationCommand,
|
|
4661
|
+
DeleteArchiveCommand,
|
|
4662
|
+
DeleteConnectionCommand,
|
|
4663
|
+
DeleteEndpointCommand,
|
|
4664
|
+
DeleteEventBusCommand,
|
|
4665
|
+
DeletePartnerEventSourceCommand,
|
|
4666
|
+
DeleteRuleCommand,
|
|
4667
|
+
DescribeApiDestinationCommand,
|
|
4668
|
+
DescribeArchiveCommand,
|
|
4669
|
+
DescribeConnectionCommand,
|
|
4670
|
+
DescribeEndpointCommand,
|
|
4671
|
+
DescribeEventBusCommand,
|
|
4672
|
+
DescribeEventSourceCommand,
|
|
4673
|
+
DescribePartnerEventSourceCommand,
|
|
4674
|
+
DescribeReplayCommand,
|
|
4675
|
+
DescribeRuleCommand,
|
|
4676
|
+
DisableRuleCommand,
|
|
4677
|
+
EnableRuleCommand,
|
|
4678
|
+
ListApiDestinationsCommand,
|
|
4679
|
+
ListArchivesCommand,
|
|
4680
|
+
ListConnectionsCommand,
|
|
4681
|
+
ListEndpointsCommand,
|
|
4682
|
+
ListEventBusesCommand,
|
|
4683
|
+
ListEventSourcesCommand,
|
|
4684
|
+
ListPartnerEventSourceAccountsCommand,
|
|
4685
|
+
ListPartnerEventSourcesCommand,
|
|
4686
|
+
ListReplaysCommand,
|
|
4687
|
+
ListRuleNamesByTargetCommand,
|
|
4688
|
+
ListRulesCommand,
|
|
4689
|
+
ListTagsForResourceCommand,
|
|
4690
|
+
ListTargetsByRuleCommand,
|
|
4691
|
+
PutEventsCommand,
|
|
4692
|
+
PutPartnerEventsCommand,
|
|
4693
|
+
PutPermissionCommand,
|
|
4694
|
+
PutRuleCommand,
|
|
4695
|
+
PutTargetsCommand,
|
|
4696
|
+
RemovePermissionCommand,
|
|
4697
|
+
RemoveTargetsCommand,
|
|
4698
|
+
StartReplayCommand,
|
|
4699
|
+
TagResourceCommand,
|
|
4700
|
+
TestEventPatternCommand,
|
|
4701
|
+
UntagResourceCommand,
|
|
4702
|
+
UpdateApiDestinationCommand,
|
|
4703
|
+
UpdateArchiveCommand,
|
|
4704
|
+
UpdateConnectionCommand,
|
|
4705
|
+
UpdateEndpointCommand
|
|
4706
|
+
};
|
|
4707
|
+
var _EventBridge = class _EventBridge extends EventBridgeClient {
|
|
4708
|
+
};
|
|
4709
|
+
__name(_EventBridge, "EventBridge");
|
|
4710
|
+
var EventBridge = _EventBridge;
|
|
4711
|
+
(0, import_smithy_client.createAggregatedClient)(commands, EventBridge);
|
|
4712
|
+
|
|
4713
|
+
// src/index.ts
|
|
4714
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
4715
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
4716
|
+
0 && (module.exports = {
|
|
4717
|
+
ActivateEventSourceCommand,
|
|
4718
|
+
ApiDestinationHttpMethod,
|
|
4719
|
+
ApiDestinationState,
|
|
4720
|
+
AppSyncParametersFilterSensitiveLog,
|
|
4721
|
+
ArchiveState,
|
|
4722
|
+
AssignPublicIp,
|
|
4723
|
+
CancelReplayCommand,
|
|
4724
|
+
ConcurrentModificationException,
|
|
4725
|
+
ConnectionAuthResponseParametersFilterSensitiveLog,
|
|
4726
|
+
ConnectionAuthorizationType,
|
|
4727
|
+
ConnectionBodyParameterFilterSensitiveLog,
|
|
4728
|
+
ConnectionHeaderParameterFilterSensitiveLog,
|
|
4729
|
+
ConnectionHttpParametersFilterSensitiveLog,
|
|
4730
|
+
ConnectionOAuthHttpMethod,
|
|
4731
|
+
ConnectionOAuthResponseParametersFilterSensitiveLog,
|
|
4732
|
+
ConnectionQueryStringParameterFilterSensitiveLog,
|
|
4733
|
+
ConnectionState,
|
|
4734
|
+
CreateApiDestinationCommand,
|
|
4735
|
+
CreateArchiveCommand,
|
|
4736
|
+
CreateConnectionApiKeyAuthRequestParametersFilterSensitiveLog,
|
|
4737
|
+
CreateConnectionAuthRequestParametersFilterSensitiveLog,
|
|
4738
|
+
CreateConnectionBasicAuthRequestParametersFilterSensitiveLog,
|
|
4739
|
+
CreateConnectionCommand,
|
|
4740
|
+
CreateConnectionOAuthClientRequestParametersFilterSensitiveLog,
|
|
4741
|
+
CreateConnectionOAuthRequestParametersFilterSensitiveLog,
|
|
4742
|
+
CreateConnectionRequestFilterSensitiveLog,
|
|
4743
|
+
CreateEndpointCommand,
|
|
4744
|
+
CreateEventBusCommand,
|
|
4745
|
+
CreatePartnerEventSourceCommand,
|
|
4746
|
+
DeactivateEventSourceCommand,
|
|
4747
|
+
DeauthorizeConnectionCommand,
|
|
4748
|
+
DeleteApiDestinationCommand,
|
|
4749
|
+
DeleteArchiveCommand,
|
|
4750
|
+
DeleteConnectionCommand,
|
|
4751
|
+
DeleteEndpointCommand,
|
|
4752
|
+
DeleteEventBusCommand,
|
|
4753
|
+
DeletePartnerEventSourceCommand,
|
|
4754
|
+
DeleteRuleCommand,
|
|
4755
|
+
DescribeApiDestinationCommand,
|
|
4756
|
+
DescribeArchiveCommand,
|
|
4757
|
+
DescribeConnectionCommand,
|
|
4758
|
+
DescribeConnectionResponseFilterSensitiveLog,
|
|
4759
|
+
DescribeEndpointCommand,
|
|
4760
|
+
DescribeEventBusCommand,
|
|
4761
|
+
DescribeEventSourceCommand,
|
|
4762
|
+
DescribePartnerEventSourceCommand,
|
|
4763
|
+
DescribeReplayCommand,
|
|
4764
|
+
DescribeRuleCommand,
|
|
4765
|
+
DisableRuleCommand,
|
|
4766
|
+
EnableRuleCommand,
|
|
4767
|
+
EndpointState,
|
|
4768
|
+
EventBridge,
|
|
4769
|
+
EventBridgeClient,
|
|
4770
|
+
EventBridgeServiceException,
|
|
4771
|
+
EventSourceState,
|
|
4772
|
+
IllegalStatusException,
|
|
4773
|
+
InternalException,
|
|
4774
|
+
InvalidEventPatternException,
|
|
4775
|
+
InvalidStateException,
|
|
4776
|
+
LaunchType,
|
|
4777
|
+
LimitExceededException,
|
|
4778
|
+
ListApiDestinationsCommand,
|
|
4779
|
+
ListArchivesCommand,
|
|
4780
|
+
ListConnectionsCommand,
|
|
4781
|
+
ListEndpointsCommand,
|
|
4782
|
+
ListEventBusesCommand,
|
|
4783
|
+
ListEventSourcesCommand,
|
|
4784
|
+
ListPartnerEventSourceAccountsCommand,
|
|
4785
|
+
ListPartnerEventSourcesCommand,
|
|
4786
|
+
ListReplaysCommand,
|
|
4787
|
+
ListRuleNamesByTargetCommand,
|
|
4788
|
+
ListRulesCommand,
|
|
4789
|
+
ListTagsForResourceCommand,
|
|
4790
|
+
ListTargetsByRuleCommand,
|
|
4791
|
+
ListTargetsByRuleResponseFilterSensitiveLog,
|
|
4792
|
+
ManagedRuleException,
|
|
4793
|
+
OperationDisabledException,
|
|
4794
|
+
PlacementConstraintType,
|
|
4795
|
+
PlacementStrategyType,
|
|
4796
|
+
PolicyLengthExceededException,
|
|
4797
|
+
PropagateTags,
|
|
4798
|
+
PutEventsCommand,
|
|
4799
|
+
PutPartnerEventsCommand,
|
|
4800
|
+
PutPermissionCommand,
|
|
4801
|
+
PutRuleCommand,
|
|
4802
|
+
PutTargetsCommand,
|
|
4803
|
+
PutTargetsRequestFilterSensitiveLog,
|
|
4804
|
+
RedshiftDataParametersFilterSensitiveLog,
|
|
4805
|
+
RemovePermissionCommand,
|
|
4806
|
+
RemoveTargetsCommand,
|
|
4807
|
+
ReplayState,
|
|
4808
|
+
ReplicationState,
|
|
4809
|
+
ResourceAlreadyExistsException,
|
|
4810
|
+
ResourceNotFoundException,
|
|
4811
|
+
RuleState,
|
|
4812
|
+
StartReplayCommand,
|
|
4813
|
+
TagResourceCommand,
|
|
4814
|
+
TargetFilterSensitiveLog,
|
|
4815
|
+
TestEventPatternCommand,
|
|
4816
|
+
UntagResourceCommand,
|
|
4817
|
+
UpdateApiDestinationCommand,
|
|
4818
|
+
UpdateArchiveCommand,
|
|
4819
|
+
UpdateConnectionApiKeyAuthRequestParametersFilterSensitiveLog,
|
|
4820
|
+
UpdateConnectionAuthRequestParametersFilterSensitiveLog,
|
|
4821
|
+
UpdateConnectionBasicAuthRequestParametersFilterSensitiveLog,
|
|
4822
|
+
UpdateConnectionCommand,
|
|
4823
|
+
UpdateConnectionOAuthClientRequestParametersFilterSensitiveLog,
|
|
4824
|
+
UpdateConnectionOAuthRequestParametersFilterSensitiveLog,
|
|
4825
|
+
UpdateConnectionRequestFilterSensitiveLog,
|
|
4826
|
+
UpdateEndpointCommand,
|
|
4827
|
+
__Client
|
|
4828
|
+
});
|