@aws-sdk/client-pipes 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/Pipes.js +1 -31
- package/dist-cjs/PipesClient.js +1 -43
- package/dist-cjs/commands/CreatePipeCommand.js +1 -29
- package/dist-cjs/commands/DeletePipeCommand.js +1 -28
- package/dist-cjs/commands/DescribePipeCommand.js +1 -29
- package/dist-cjs/commands/ListPipesCommand.js +1 -29
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -29
- package/dist-cjs/commands/StartPipeCommand.js +1 -28
- package/dist-cjs/commands/StopPipeCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -29
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdatePipeCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -13
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1803 -11
- package/dist-cjs/models/PipesServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -493
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListPipesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -5
- package/dist-cjs/protocols/Aws_restJson1.js +1 -850
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,1804 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
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
|
+
AssignPublicIp: () => AssignPublicIp,
|
|
25
|
+
AwsVpcConfigurationFilterSensitiveLog: () => AwsVpcConfigurationFilterSensitiveLog,
|
|
26
|
+
BatchJobDependencyType: () => BatchJobDependencyType,
|
|
27
|
+
BatchResourceRequirementType: () => BatchResourceRequirementType,
|
|
28
|
+
CapacityProviderStrategyItemFilterSensitiveLog: () => CapacityProviderStrategyItemFilterSensitiveLog,
|
|
29
|
+
ConflictException: () => ConflictException,
|
|
30
|
+
CreatePipeCommand: () => CreatePipeCommand,
|
|
31
|
+
CreatePipeRequestFilterSensitiveLog: () => CreatePipeRequestFilterSensitiveLog,
|
|
32
|
+
DeletePipeCommand: () => DeletePipeCommand,
|
|
33
|
+
DescribePipeCommand: () => DescribePipeCommand,
|
|
34
|
+
DescribePipeResponseFilterSensitiveLog: () => DescribePipeResponseFilterSensitiveLog,
|
|
35
|
+
DynamoDBStreamStartPosition: () => DynamoDBStreamStartPosition,
|
|
36
|
+
EcsEnvironmentFileType: () => EcsEnvironmentFileType,
|
|
37
|
+
EcsResourceRequirementType: () => EcsResourceRequirementType,
|
|
38
|
+
FilterCriteriaFilterSensitiveLog: () => FilterCriteriaFilterSensitiveLog,
|
|
39
|
+
FilterFilterSensitiveLog: () => FilterFilterSensitiveLog,
|
|
40
|
+
IncludeExecutionDataOption: () => IncludeExecutionDataOption,
|
|
41
|
+
InternalException: () => InternalException,
|
|
42
|
+
KinesisStreamStartPosition: () => KinesisStreamStartPosition,
|
|
43
|
+
LaunchType: () => LaunchType,
|
|
44
|
+
ListPipesCommand: () => ListPipesCommand,
|
|
45
|
+
ListPipesRequestFilterSensitiveLog: () => ListPipesRequestFilterSensitiveLog,
|
|
46
|
+
ListPipesResponseFilterSensitiveLog: () => ListPipesResponseFilterSensitiveLog,
|
|
47
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
48
|
+
ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog,
|
|
49
|
+
LogLevel: () => LogLevel,
|
|
50
|
+
MQBrokerAccessCredentials: () => MQBrokerAccessCredentials,
|
|
51
|
+
MSKAccessCredentials: () => MSKAccessCredentials,
|
|
52
|
+
MSKStartPosition: () => MSKStartPosition,
|
|
53
|
+
NetworkConfigurationFilterSensitiveLog: () => NetworkConfigurationFilterSensitiveLog,
|
|
54
|
+
NotFoundException: () => NotFoundException,
|
|
55
|
+
OnPartialBatchItemFailureStreams: () => OnPartialBatchItemFailureStreams,
|
|
56
|
+
PipeEnrichmentHttpParametersFilterSensitiveLog: () => PipeEnrichmentHttpParametersFilterSensitiveLog,
|
|
57
|
+
PipeEnrichmentParametersFilterSensitiveLog: () => PipeEnrichmentParametersFilterSensitiveLog,
|
|
58
|
+
PipeSourceActiveMQBrokerParametersFilterSensitiveLog: () => PipeSourceActiveMQBrokerParametersFilterSensitiveLog,
|
|
59
|
+
PipeSourceManagedStreamingKafkaParametersFilterSensitiveLog: () => PipeSourceManagedStreamingKafkaParametersFilterSensitiveLog,
|
|
60
|
+
PipeSourceParametersFilterSensitiveLog: () => PipeSourceParametersFilterSensitiveLog,
|
|
61
|
+
PipeSourceRabbitMQBrokerParametersFilterSensitiveLog: () => PipeSourceRabbitMQBrokerParametersFilterSensitiveLog,
|
|
62
|
+
PipeSourceSelfManagedKafkaParametersFilterSensitiveLog: () => PipeSourceSelfManagedKafkaParametersFilterSensitiveLog,
|
|
63
|
+
PipeState: () => PipeState,
|
|
64
|
+
PipeTargetEcsTaskParametersFilterSensitiveLog: () => PipeTargetEcsTaskParametersFilterSensitiveLog,
|
|
65
|
+
PipeTargetEventBridgeEventBusParametersFilterSensitiveLog: () => PipeTargetEventBridgeEventBusParametersFilterSensitiveLog,
|
|
66
|
+
PipeTargetHttpParametersFilterSensitiveLog: () => PipeTargetHttpParametersFilterSensitiveLog,
|
|
67
|
+
PipeTargetInvocationType: () => PipeTargetInvocationType,
|
|
68
|
+
PipeTargetKinesisStreamParametersFilterSensitiveLog: () => PipeTargetKinesisStreamParametersFilterSensitiveLog,
|
|
69
|
+
PipeTargetParametersFilterSensitiveLog: () => PipeTargetParametersFilterSensitiveLog,
|
|
70
|
+
PipeTargetRedshiftDataParametersFilterSensitiveLog: () => PipeTargetRedshiftDataParametersFilterSensitiveLog,
|
|
71
|
+
PipeTargetSageMakerPipelineParametersFilterSensitiveLog: () => PipeTargetSageMakerPipelineParametersFilterSensitiveLog,
|
|
72
|
+
PipeTargetSqsQueueParametersFilterSensitiveLog: () => PipeTargetSqsQueueParametersFilterSensitiveLog,
|
|
73
|
+
Pipes: () => Pipes,
|
|
74
|
+
PipesClient: () => PipesClient,
|
|
75
|
+
PipesServiceException: () => PipesServiceException,
|
|
76
|
+
PlacementConstraintFilterSensitiveLog: () => PlacementConstraintFilterSensitiveLog,
|
|
77
|
+
PlacementConstraintType: () => PlacementConstraintType,
|
|
78
|
+
PlacementStrategyFilterSensitiveLog: () => PlacementStrategyFilterSensitiveLog,
|
|
79
|
+
PlacementStrategyType: () => PlacementStrategyType,
|
|
80
|
+
PropagateTags: () => PropagateTags,
|
|
81
|
+
RequestedPipeState: () => RequestedPipeState,
|
|
82
|
+
RequestedPipeStateDescribeResponse: () => RequestedPipeStateDescribeResponse,
|
|
83
|
+
S3OutputFormat: () => S3OutputFormat,
|
|
84
|
+
SageMakerPipelineParameterFilterSensitiveLog: () => SageMakerPipelineParameterFilterSensitiveLog,
|
|
85
|
+
SelfManagedKafkaAccessConfigurationCredentials: () => SelfManagedKafkaAccessConfigurationCredentials,
|
|
86
|
+
SelfManagedKafkaAccessConfigurationVpcFilterSensitiveLog: () => SelfManagedKafkaAccessConfigurationVpcFilterSensitiveLog,
|
|
87
|
+
SelfManagedKafkaStartPosition: () => SelfManagedKafkaStartPosition,
|
|
88
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
89
|
+
StartPipeCommand: () => StartPipeCommand,
|
|
90
|
+
StopPipeCommand: () => StopPipeCommand,
|
|
91
|
+
TagFilterSensitiveLog: () => TagFilterSensitiveLog,
|
|
92
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
93
|
+
TagResourceRequestFilterSensitiveLog: () => TagResourceRequestFilterSensitiveLog,
|
|
94
|
+
ThrottlingException: () => ThrottlingException,
|
|
95
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
96
|
+
UpdatePipeCommand: () => UpdatePipeCommand,
|
|
97
|
+
UpdatePipeRequestFilterSensitiveLog: () => UpdatePipeRequestFilterSensitiveLog,
|
|
98
|
+
UpdatePipeSourceParametersFilterSensitiveLog: () => UpdatePipeSourceParametersFilterSensitiveLog,
|
|
99
|
+
UpdatePipeSourceSelfManagedKafkaParametersFilterSensitiveLog: () => UpdatePipeSourceSelfManagedKafkaParametersFilterSensitiveLog,
|
|
100
|
+
ValidationException: () => ValidationException,
|
|
101
|
+
__Client: () => import_smithy_client.Client,
|
|
102
|
+
paginateListPipes: () => paginateListPipes
|
|
103
|
+
});
|
|
104
|
+
module.exports = __toCommonJS(src_exports);
|
|
105
|
+
|
|
106
|
+
// src/PipesClient.ts
|
|
107
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
108
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
109
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
110
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
111
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
112
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
113
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
114
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
115
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
// src/endpoint/EndpointParameters.ts
|
|
119
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
120
|
+
return {
|
|
121
|
+
...options,
|
|
122
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
123
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
124
|
+
defaultSigningName: "pipes"
|
|
125
|
+
};
|
|
126
|
+
}, "resolveClientEndpointParameters");
|
|
127
|
+
var commonParams = {
|
|
128
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
129
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
130
|
+
Region: { type: "builtInParams", name: "region" },
|
|
131
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
// src/PipesClient.ts
|
|
135
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
136
|
+
|
|
137
|
+
// src/runtimeExtensions.ts
|
|
138
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
139
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
140
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
141
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
142
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
143
|
+
const extensionConfiguration = {
|
|
144
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
145
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
146
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
147
|
+
};
|
|
148
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
149
|
+
return {
|
|
150
|
+
...runtimeConfig,
|
|
151
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
152
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
153
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
154
|
+
};
|
|
155
|
+
}, "resolveRuntimeExtensions");
|
|
156
|
+
|
|
157
|
+
// src/PipesClient.ts
|
|
158
|
+
var _PipesClient = class _PipesClient extends import_smithy_client.Client {
|
|
159
|
+
constructor(...[configuration]) {
|
|
160
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
161
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
162
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
163
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
164
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
165
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
166
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
167
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
168
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
169
|
+
super(_config_8);
|
|
170
|
+
this.config = _config_8;
|
|
171
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
172
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
173
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
174
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
175
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
176
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
177
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
181
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
182
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
183
|
+
*/
|
|
184
|
+
destroy() {
|
|
185
|
+
super.destroy();
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
__name(_PipesClient, "PipesClient");
|
|
189
|
+
var PipesClient = _PipesClient;
|
|
190
|
+
|
|
191
|
+
// src/Pipes.ts
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
// src/commands/CreatePipeCommand.ts
|
|
195
|
+
|
|
196
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
197
|
+
|
|
198
|
+
var import_types = require("@smithy/types");
|
|
199
|
+
|
|
200
|
+
// src/models/models_0.ts
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
// src/models/PipesServiceException.ts
|
|
204
|
+
|
|
205
|
+
var _PipesServiceException = class _PipesServiceException extends import_smithy_client.ServiceException {
|
|
206
|
+
/**
|
|
207
|
+
* @internal
|
|
208
|
+
*/
|
|
209
|
+
constructor(options) {
|
|
210
|
+
super(options);
|
|
211
|
+
Object.setPrototypeOf(this, _PipesServiceException.prototype);
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
__name(_PipesServiceException, "PipesServiceException");
|
|
215
|
+
var PipesServiceException = _PipesServiceException;
|
|
216
|
+
|
|
217
|
+
// src/models/models_0.ts
|
|
218
|
+
var AssignPublicIp = {
|
|
219
|
+
DISABLED: "DISABLED",
|
|
220
|
+
ENABLED: "ENABLED"
|
|
221
|
+
};
|
|
222
|
+
var BatchResourceRequirementType = {
|
|
223
|
+
GPU: "GPU",
|
|
224
|
+
MEMORY: "MEMORY",
|
|
225
|
+
VCPU: "VCPU"
|
|
226
|
+
};
|
|
227
|
+
var BatchJobDependencyType = {
|
|
228
|
+
N_TO_N: "N_TO_N",
|
|
229
|
+
SEQUENTIAL: "SEQUENTIAL"
|
|
230
|
+
};
|
|
231
|
+
var _ConflictException = class _ConflictException extends PipesServiceException {
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
*/
|
|
235
|
+
constructor(opts) {
|
|
236
|
+
super({
|
|
237
|
+
name: "ConflictException",
|
|
238
|
+
$fault: "client",
|
|
239
|
+
...opts
|
|
240
|
+
});
|
|
241
|
+
this.name = "ConflictException";
|
|
242
|
+
this.$fault = "client";
|
|
243
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
244
|
+
this.resourceId = opts.resourceId;
|
|
245
|
+
this.resourceType = opts.resourceType;
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
__name(_ConflictException, "ConflictException");
|
|
249
|
+
var ConflictException = _ConflictException;
|
|
250
|
+
var RequestedPipeState = {
|
|
251
|
+
RUNNING: "RUNNING",
|
|
252
|
+
STOPPED: "STOPPED"
|
|
253
|
+
};
|
|
254
|
+
var IncludeExecutionDataOption = {
|
|
255
|
+
ALL: "ALL"
|
|
256
|
+
};
|
|
257
|
+
var LogLevel = {
|
|
258
|
+
ERROR: "ERROR",
|
|
259
|
+
INFO: "INFO",
|
|
260
|
+
OFF: "OFF",
|
|
261
|
+
TRACE: "TRACE"
|
|
262
|
+
};
|
|
263
|
+
var S3OutputFormat = {
|
|
264
|
+
JSON: "json",
|
|
265
|
+
PLAIN: "plain",
|
|
266
|
+
W3C: "w3c"
|
|
267
|
+
};
|
|
268
|
+
var MQBrokerAccessCredentials;
|
|
269
|
+
((MQBrokerAccessCredentials3) => {
|
|
270
|
+
MQBrokerAccessCredentials3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
271
|
+
if (value.BasicAuth !== void 0)
|
|
272
|
+
return visitor.BasicAuth(value.BasicAuth);
|
|
273
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
274
|
+
}, "visit");
|
|
275
|
+
})(MQBrokerAccessCredentials || (MQBrokerAccessCredentials = {}));
|
|
276
|
+
var OnPartialBatchItemFailureStreams = {
|
|
277
|
+
AUTOMATIC_BISECT: "AUTOMATIC_BISECT"
|
|
278
|
+
};
|
|
279
|
+
var DynamoDBStreamStartPosition = {
|
|
280
|
+
LATEST: "LATEST",
|
|
281
|
+
TRIM_HORIZON: "TRIM_HORIZON"
|
|
282
|
+
};
|
|
283
|
+
var KinesisStreamStartPosition = {
|
|
284
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
285
|
+
LATEST: "LATEST",
|
|
286
|
+
TRIM_HORIZON: "TRIM_HORIZON"
|
|
287
|
+
};
|
|
288
|
+
var MSKAccessCredentials;
|
|
289
|
+
((MSKAccessCredentials3) => {
|
|
290
|
+
MSKAccessCredentials3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
291
|
+
if (value.SaslScram512Auth !== void 0)
|
|
292
|
+
return visitor.SaslScram512Auth(value.SaslScram512Auth);
|
|
293
|
+
if (value.ClientCertificateTlsAuth !== void 0)
|
|
294
|
+
return visitor.ClientCertificateTlsAuth(value.ClientCertificateTlsAuth);
|
|
295
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
296
|
+
}, "visit");
|
|
297
|
+
})(MSKAccessCredentials || (MSKAccessCredentials = {}));
|
|
298
|
+
var MSKStartPosition = {
|
|
299
|
+
LATEST: "LATEST",
|
|
300
|
+
TRIM_HORIZON: "TRIM_HORIZON"
|
|
301
|
+
};
|
|
302
|
+
var SelfManagedKafkaAccessConfigurationCredentials;
|
|
303
|
+
((SelfManagedKafkaAccessConfigurationCredentials3) => {
|
|
304
|
+
SelfManagedKafkaAccessConfigurationCredentials3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
305
|
+
if (value.BasicAuth !== void 0)
|
|
306
|
+
return visitor.BasicAuth(value.BasicAuth);
|
|
307
|
+
if (value.SaslScram512Auth !== void 0)
|
|
308
|
+
return visitor.SaslScram512Auth(value.SaslScram512Auth);
|
|
309
|
+
if (value.SaslScram256Auth !== void 0)
|
|
310
|
+
return visitor.SaslScram256Auth(value.SaslScram256Auth);
|
|
311
|
+
if (value.ClientCertificateTlsAuth !== void 0)
|
|
312
|
+
return visitor.ClientCertificateTlsAuth(value.ClientCertificateTlsAuth);
|
|
313
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
314
|
+
}, "visit");
|
|
315
|
+
})(SelfManagedKafkaAccessConfigurationCredentials || (SelfManagedKafkaAccessConfigurationCredentials = {}));
|
|
316
|
+
var SelfManagedKafkaStartPosition = {
|
|
317
|
+
LATEST: "LATEST",
|
|
318
|
+
TRIM_HORIZON: "TRIM_HORIZON"
|
|
319
|
+
};
|
|
320
|
+
var LaunchType = {
|
|
321
|
+
EC2: "EC2",
|
|
322
|
+
EXTERNAL: "EXTERNAL",
|
|
323
|
+
FARGATE: "FARGATE"
|
|
324
|
+
};
|
|
325
|
+
var EcsEnvironmentFileType = {
|
|
326
|
+
s3: "s3"
|
|
327
|
+
};
|
|
328
|
+
var EcsResourceRequirementType = {
|
|
329
|
+
GPU: "GPU",
|
|
330
|
+
InferenceAccelerator: "InferenceAccelerator"
|
|
331
|
+
};
|
|
332
|
+
var PlacementConstraintType = {
|
|
333
|
+
DISTINCT_INSTANCE: "distinctInstance",
|
|
334
|
+
MEMBER_OF: "memberOf"
|
|
335
|
+
};
|
|
336
|
+
var PlacementStrategyType = {
|
|
337
|
+
BINPACK: "binpack",
|
|
338
|
+
RANDOM: "random",
|
|
339
|
+
SPREAD: "spread"
|
|
340
|
+
};
|
|
341
|
+
var PropagateTags = {
|
|
342
|
+
TASK_DEFINITION: "TASK_DEFINITION"
|
|
343
|
+
};
|
|
344
|
+
var PipeTargetInvocationType = {
|
|
345
|
+
FIRE_AND_FORGET: "FIRE_AND_FORGET",
|
|
346
|
+
REQUEST_RESPONSE: "REQUEST_RESPONSE"
|
|
347
|
+
};
|
|
348
|
+
var PipeState = {
|
|
349
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
350
|
+
CREATE_ROLLBACK_FAILED: "CREATE_ROLLBACK_FAILED",
|
|
351
|
+
CREATING: "CREATING",
|
|
352
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
353
|
+
DELETE_ROLLBACK_FAILED: "DELETE_ROLLBACK_FAILED",
|
|
354
|
+
DELETING: "DELETING",
|
|
355
|
+
RUNNING: "RUNNING",
|
|
356
|
+
STARTING: "STARTING",
|
|
357
|
+
START_FAILED: "START_FAILED",
|
|
358
|
+
STOPPED: "STOPPED",
|
|
359
|
+
STOPPING: "STOPPING",
|
|
360
|
+
STOP_FAILED: "STOP_FAILED",
|
|
361
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
362
|
+
UPDATE_ROLLBACK_FAILED: "UPDATE_ROLLBACK_FAILED",
|
|
363
|
+
UPDATING: "UPDATING"
|
|
364
|
+
};
|
|
365
|
+
var _InternalException = class _InternalException extends PipesServiceException {
|
|
366
|
+
/**
|
|
367
|
+
* @internal
|
|
368
|
+
*/
|
|
369
|
+
constructor(opts) {
|
|
370
|
+
super({
|
|
371
|
+
name: "InternalException",
|
|
372
|
+
$fault: "server",
|
|
373
|
+
...opts
|
|
374
|
+
});
|
|
375
|
+
this.name = "InternalException";
|
|
376
|
+
this.$fault = "server";
|
|
377
|
+
Object.setPrototypeOf(this, _InternalException.prototype);
|
|
378
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
__name(_InternalException, "InternalException");
|
|
382
|
+
var InternalException = _InternalException;
|
|
383
|
+
var _NotFoundException = class _NotFoundException extends PipesServiceException {
|
|
384
|
+
/**
|
|
385
|
+
* @internal
|
|
386
|
+
*/
|
|
387
|
+
constructor(opts) {
|
|
388
|
+
super({
|
|
389
|
+
name: "NotFoundException",
|
|
390
|
+
$fault: "client",
|
|
391
|
+
...opts
|
|
392
|
+
});
|
|
393
|
+
this.name = "NotFoundException";
|
|
394
|
+
this.$fault = "client";
|
|
395
|
+
Object.setPrototypeOf(this, _NotFoundException.prototype);
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
__name(_NotFoundException, "NotFoundException");
|
|
399
|
+
var NotFoundException = _NotFoundException;
|
|
400
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends PipesServiceException {
|
|
401
|
+
/**
|
|
402
|
+
* @internal
|
|
403
|
+
*/
|
|
404
|
+
constructor(opts) {
|
|
405
|
+
super({
|
|
406
|
+
name: "ServiceQuotaExceededException",
|
|
407
|
+
$fault: "client",
|
|
408
|
+
...opts
|
|
409
|
+
});
|
|
410
|
+
this.name = "ServiceQuotaExceededException";
|
|
411
|
+
this.$fault = "client";
|
|
412
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
413
|
+
this.resourceId = opts.resourceId;
|
|
414
|
+
this.resourceType = opts.resourceType;
|
|
415
|
+
this.serviceCode = opts.serviceCode;
|
|
416
|
+
this.quotaCode = opts.quotaCode;
|
|
417
|
+
}
|
|
418
|
+
};
|
|
419
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
420
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
421
|
+
var _ThrottlingException = class _ThrottlingException extends PipesServiceException {
|
|
422
|
+
/**
|
|
423
|
+
* @internal
|
|
424
|
+
*/
|
|
425
|
+
constructor(opts) {
|
|
426
|
+
super({
|
|
427
|
+
name: "ThrottlingException",
|
|
428
|
+
$fault: "client",
|
|
429
|
+
...opts
|
|
430
|
+
});
|
|
431
|
+
this.name = "ThrottlingException";
|
|
432
|
+
this.$fault = "client";
|
|
433
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
434
|
+
this.serviceCode = opts.serviceCode;
|
|
435
|
+
this.quotaCode = opts.quotaCode;
|
|
436
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
440
|
+
var ThrottlingException = _ThrottlingException;
|
|
441
|
+
var _ValidationException = class _ValidationException extends PipesServiceException {
|
|
442
|
+
/**
|
|
443
|
+
* @internal
|
|
444
|
+
*/
|
|
445
|
+
constructor(opts) {
|
|
446
|
+
super({
|
|
447
|
+
name: "ValidationException",
|
|
448
|
+
$fault: "client",
|
|
449
|
+
...opts
|
|
450
|
+
});
|
|
451
|
+
this.name = "ValidationException";
|
|
452
|
+
this.$fault = "client";
|
|
453
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
454
|
+
this.fieldList = opts.fieldList;
|
|
455
|
+
}
|
|
456
|
+
};
|
|
457
|
+
__name(_ValidationException, "ValidationException");
|
|
458
|
+
var ValidationException = _ValidationException;
|
|
459
|
+
var RequestedPipeStateDescribeResponse = {
|
|
460
|
+
DELETED: "DELETED",
|
|
461
|
+
RUNNING: "RUNNING",
|
|
462
|
+
STOPPED: "STOPPED"
|
|
463
|
+
};
|
|
464
|
+
var AwsVpcConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
465
|
+
...obj,
|
|
466
|
+
...obj.Subnets && { Subnets: import_smithy_client.SENSITIVE_STRING },
|
|
467
|
+
...obj.SecurityGroups && { SecurityGroups: import_smithy_client.SENSITIVE_STRING }
|
|
468
|
+
}), "AwsVpcConfigurationFilterSensitiveLog");
|
|
469
|
+
var CapacityProviderStrategyItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
470
|
+
...obj,
|
|
471
|
+
...obj.capacityProvider && { capacityProvider: import_smithy_client.SENSITIVE_STRING }
|
|
472
|
+
}), "CapacityProviderStrategyItemFilterSensitiveLog");
|
|
473
|
+
var PipeEnrichmentHttpParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
474
|
+
...obj,
|
|
475
|
+
...obj.PathParameterValues && { PathParameterValues: import_smithy_client.SENSITIVE_STRING },
|
|
476
|
+
...obj.HeaderParameters && { HeaderParameters: import_smithy_client.SENSITIVE_STRING },
|
|
477
|
+
...obj.QueryStringParameters && { QueryStringParameters: import_smithy_client.SENSITIVE_STRING }
|
|
478
|
+
}), "PipeEnrichmentHttpParametersFilterSensitiveLog");
|
|
479
|
+
var PipeEnrichmentParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
480
|
+
...obj,
|
|
481
|
+
...obj.InputTemplate && { InputTemplate: import_smithy_client.SENSITIVE_STRING },
|
|
482
|
+
...obj.HttpParameters && { HttpParameters: PipeEnrichmentHttpParametersFilterSensitiveLog(obj.HttpParameters) }
|
|
483
|
+
}), "PipeEnrichmentParametersFilterSensitiveLog");
|
|
484
|
+
var PipeSourceActiveMQBrokerParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
485
|
+
...obj,
|
|
486
|
+
...obj.Credentials && { Credentials: obj.Credentials },
|
|
487
|
+
...obj.QueueName && { QueueName: import_smithy_client.SENSITIVE_STRING }
|
|
488
|
+
}), "PipeSourceActiveMQBrokerParametersFilterSensitiveLog");
|
|
489
|
+
var FilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
490
|
+
...obj,
|
|
491
|
+
...obj.Pattern && { Pattern: import_smithy_client.SENSITIVE_STRING }
|
|
492
|
+
}), "FilterFilterSensitiveLog");
|
|
493
|
+
var FilterCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
494
|
+
...obj,
|
|
495
|
+
...obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }
|
|
496
|
+
}), "FilterCriteriaFilterSensitiveLog");
|
|
497
|
+
var PipeSourceManagedStreamingKafkaParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
498
|
+
...obj,
|
|
499
|
+
...obj.TopicName && { TopicName: import_smithy_client.SENSITIVE_STRING },
|
|
500
|
+
...obj.ConsumerGroupID && { ConsumerGroupID: import_smithy_client.SENSITIVE_STRING },
|
|
501
|
+
...obj.Credentials && { Credentials: obj.Credentials }
|
|
502
|
+
}), "PipeSourceManagedStreamingKafkaParametersFilterSensitiveLog");
|
|
503
|
+
var PipeSourceRabbitMQBrokerParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
504
|
+
...obj,
|
|
505
|
+
...obj.Credentials && { Credentials: obj.Credentials },
|
|
506
|
+
...obj.QueueName && { QueueName: import_smithy_client.SENSITIVE_STRING },
|
|
507
|
+
...obj.VirtualHost && { VirtualHost: import_smithy_client.SENSITIVE_STRING }
|
|
508
|
+
}), "PipeSourceRabbitMQBrokerParametersFilterSensitiveLog");
|
|
509
|
+
var SelfManagedKafkaAccessConfigurationVpcFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
510
|
+
...obj,
|
|
511
|
+
...obj.Subnets && { Subnets: import_smithy_client.SENSITIVE_STRING },
|
|
512
|
+
...obj.SecurityGroup && { SecurityGroup: import_smithy_client.SENSITIVE_STRING }
|
|
513
|
+
}), "SelfManagedKafkaAccessConfigurationVpcFilterSensitiveLog");
|
|
514
|
+
var PipeSourceSelfManagedKafkaParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
515
|
+
...obj,
|
|
516
|
+
...obj.TopicName && { TopicName: import_smithy_client.SENSITIVE_STRING },
|
|
517
|
+
...obj.AdditionalBootstrapServers && { AdditionalBootstrapServers: import_smithy_client.SENSITIVE_STRING },
|
|
518
|
+
...obj.ConsumerGroupID && { ConsumerGroupID: import_smithy_client.SENSITIVE_STRING },
|
|
519
|
+
...obj.Credentials && { Credentials: obj.Credentials },
|
|
520
|
+
...obj.Vpc && { Vpc: SelfManagedKafkaAccessConfigurationVpcFilterSensitiveLog(obj.Vpc) }
|
|
521
|
+
}), "PipeSourceSelfManagedKafkaParametersFilterSensitiveLog");
|
|
522
|
+
var PipeSourceParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
523
|
+
...obj,
|
|
524
|
+
...obj.FilterCriteria && { FilterCriteria: FilterCriteriaFilterSensitiveLog(obj.FilterCriteria) },
|
|
525
|
+
...obj.ActiveMQBrokerParameters && {
|
|
526
|
+
ActiveMQBrokerParameters: PipeSourceActiveMQBrokerParametersFilterSensitiveLog(obj.ActiveMQBrokerParameters)
|
|
527
|
+
},
|
|
528
|
+
...obj.RabbitMQBrokerParameters && {
|
|
529
|
+
RabbitMQBrokerParameters: PipeSourceRabbitMQBrokerParametersFilterSensitiveLog(obj.RabbitMQBrokerParameters)
|
|
530
|
+
},
|
|
531
|
+
...obj.ManagedStreamingKafkaParameters && {
|
|
532
|
+
ManagedStreamingKafkaParameters: PipeSourceManagedStreamingKafkaParametersFilterSensitiveLog(
|
|
533
|
+
obj.ManagedStreamingKafkaParameters
|
|
534
|
+
)
|
|
535
|
+
},
|
|
536
|
+
...obj.SelfManagedKafkaParameters && {
|
|
537
|
+
SelfManagedKafkaParameters: PipeSourceSelfManagedKafkaParametersFilterSensitiveLog(obj.SelfManagedKafkaParameters)
|
|
538
|
+
}
|
|
539
|
+
}), "PipeSourceParametersFilterSensitiveLog");
|
|
540
|
+
var NetworkConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
541
|
+
...obj,
|
|
542
|
+
...obj.awsvpcConfiguration && {
|
|
543
|
+
awsvpcConfiguration: AwsVpcConfigurationFilterSensitiveLog(obj.awsvpcConfiguration)
|
|
544
|
+
}
|
|
545
|
+
}), "NetworkConfigurationFilterSensitiveLog");
|
|
546
|
+
var PlacementConstraintFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
547
|
+
...obj,
|
|
548
|
+
...obj.expression && { expression: import_smithy_client.SENSITIVE_STRING }
|
|
549
|
+
}), "PlacementConstraintFilterSensitiveLog");
|
|
550
|
+
var PlacementStrategyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
551
|
+
...obj,
|
|
552
|
+
...obj.field && { field: import_smithy_client.SENSITIVE_STRING }
|
|
553
|
+
}), "PlacementStrategyFilterSensitiveLog");
|
|
554
|
+
var TagFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
555
|
+
...obj,
|
|
556
|
+
...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
|
|
557
|
+
}), "TagFilterSensitiveLog");
|
|
558
|
+
var PipeTargetEcsTaskParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
559
|
+
...obj,
|
|
560
|
+
...obj.NetworkConfiguration && {
|
|
561
|
+
NetworkConfiguration: NetworkConfigurationFilterSensitiveLog(obj.NetworkConfiguration)
|
|
562
|
+
},
|
|
563
|
+
...obj.CapacityProviderStrategy && {
|
|
564
|
+
CapacityProviderStrategy: obj.CapacityProviderStrategy.map(
|
|
565
|
+
(item) => CapacityProviderStrategyItemFilterSensitiveLog(item)
|
|
566
|
+
)
|
|
567
|
+
},
|
|
568
|
+
...obj.PlacementConstraints && {
|
|
569
|
+
PlacementConstraints: obj.PlacementConstraints.map((item) => PlacementConstraintFilterSensitiveLog(item))
|
|
570
|
+
},
|
|
571
|
+
...obj.PlacementStrategy && {
|
|
572
|
+
PlacementStrategy: obj.PlacementStrategy.map((item) => PlacementStrategyFilterSensitiveLog(item))
|
|
573
|
+
},
|
|
574
|
+
...obj.ReferenceId && { ReferenceId: import_smithy_client.SENSITIVE_STRING },
|
|
575
|
+
...obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
576
|
+
}), "PipeTargetEcsTaskParametersFilterSensitiveLog");
|
|
577
|
+
var PipeTargetEventBridgeEventBusParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
578
|
+
...obj,
|
|
579
|
+
...obj.EndpointId && { EndpointId: import_smithy_client.SENSITIVE_STRING },
|
|
580
|
+
...obj.DetailType && { DetailType: import_smithy_client.SENSITIVE_STRING },
|
|
581
|
+
...obj.Source && { Source: import_smithy_client.SENSITIVE_STRING }
|
|
582
|
+
}), "PipeTargetEventBridgeEventBusParametersFilterSensitiveLog");
|
|
583
|
+
var PipeTargetHttpParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
584
|
+
...obj,
|
|
585
|
+
...obj.PathParameterValues && { PathParameterValues: import_smithy_client.SENSITIVE_STRING },
|
|
586
|
+
...obj.HeaderParameters && { HeaderParameters: import_smithy_client.SENSITIVE_STRING },
|
|
587
|
+
...obj.QueryStringParameters && { QueryStringParameters: import_smithy_client.SENSITIVE_STRING }
|
|
588
|
+
}), "PipeTargetHttpParametersFilterSensitiveLog");
|
|
589
|
+
var PipeTargetKinesisStreamParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
590
|
+
...obj,
|
|
591
|
+
...obj.PartitionKey && { PartitionKey: import_smithy_client.SENSITIVE_STRING }
|
|
592
|
+
}), "PipeTargetKinesisStreamParametersFilterSensitiveLog");
|
|
593
|
+
var PipeTargetRedshiftDataParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
594
|
+
...obj,
|
|
595
|
+
...obj.Database && { Database: import_smithy_client.SENSITIVE_STRING },
|
|
596
|
+
...obj.DbUser && { DbUser: import_smithy_client.SENSITIVE_STRING },
|
|
597
|
+
...obj.StatementName && { StatementName: import_smithy_client.SENSITIVE_STRING },
|
|
598
|
+
...obj.Sqls && { Sqls: import_smithy_client.SENSITIVE_STRING }
|
|
599
|
+
}), "PipeTargetRedshiftDataParametersFilterSensitiveLog");
|
|
600
|
+
var SageMakerPipelineParameterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
601
|
+
...obj,
|
|
602
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
603
|
+
...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
|
|
604
|
+
}), "SageMakerPipelineParameterFilterSensitiveLog");
|
|
605
|
+
var PipeTargetSageMakerPipelineParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
606
|
+
...obj,
|
|
607
|
+
...obj.PipelineParameterList && {
|
|
608
|
+
PipelineParameterList: obj.PipelineParameterList.map((item) => SageMakerPipelineParameterFilterSensitiveLog(item))
|
|
609
|
+
}
|
|
610
|
+
}), "PipeTargetSageMakerPipelineParametersFilterSensitiveLog");
|
|
611
|
+
var PipeTargetSqsQueueParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
612
|
+
...obj,
|
|
613
|
+
...obj.MessageGroupId && { MessageGroupId: import_smithy_client.SENSITIVE_STRING },
|
|
614
|
+
...obj.MessageDeduplicationId && { MessageDeduplicationId: import_smithy_client.SENSITIVE_STRING }
|
|
615
|
+
}), "PipeTargetSqsQueueParametersFilterSensitiveLog");
|
|
616
|
+
var PipeTargetParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
617
|
+
...obj,
|
|
618
|
+
...obj.InputTemplate && { InputTemplate: import_smithy_client.SENSITIVE_STRING },
|
|
619
|
+
...obj.KinesisStreamParameters && {
|
|
620
|
+
KinesisStreamParameters: PipeTargetKinesisStreamParametersFilterSensitiveLog(obj.KinesisStreamParameters)
|
|
621
|
+
},
|
|
622
|
+
...obj.EcsTaskParameters && {
|
|
623
|
+
EcsTaskParameters: PipeTargetEcsTaskParametersFilterSensitiveLog(obj.EcsTaskParameters)
|
|
624
|
+
},
|
|
625
|
+
...obj.SqsQueueParameters && {
|
|
626
|
+
SqsQueueParameters: PipeTargetSqsQueueParametersFilterSensitiveLog(obj.SqsQueueParameters)
|
|
627
|
+
},
|
|
628
|
+
...obj.HttpParameters && { HttpParameters: PipeTargetHttpParametersFilterSensitiveLog(obj.HttpParameters) },
|
|
629
|
+
...obj.RedshiftDataParameters && {
|
|
630
|
+
RedshiftDataParameters: PipeTargetRedshiftDataParametersFilterSensitiveLog(obj.RedshiftDataParameters)
|
|
631
|
+
},
|
|
632
|
+
...obj.SageMakerPipelineParameters && {
|
|
633
|
+
SageMakerPipelineParameters: PipeTargetSageMakerPipelineParametersFilterSensitiveLog(
|
|
634
|
+
obj.SageMakerPipelineParameters
|
|
635
|
+
)
|
|
636
|
+
},
|
|
637
|
+
...obj.EventBridgeEventBusParameters && {
|
|
638
|
+
EventBridgeEventBusParameters: PipeTargetEventBridgeEventBusParametersFilterSensitiveLog(
|
|
639
|
+
obj.EventBridgeEventBusParameters
|
|
640
|
+
)
|
|
641
|
+
}
|
|
642
|
+
}), "PipeTargetParametersFilterSensitiveLog");
|
|
643
|
+
var CreatePipeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
644
|
+
...obj,
|
|
645
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
646
|
+
...obj.SourceParameters && { SourceParameters: PipeSourceParametersFilterSensitiveLog(obj.SourceParameters) },
|
|
647
|
+
...obj.EnrichmentParameters && {
|
|
648
|
+
EnrichmentParameters: PipeEnrichmentParametersFilterSensitiveLog(obj.EnrichmentParameters)
|
|
649
|
+
},
|
|
650
|
+
...obj.TargetParameters && { TargetParameters: PipeTargetParametersFilterSensitiveLog(obj.TargetParameters) },
|
|
651
|
+
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
652
|
+
}), "CreatePipeRequestFilterSensitiveLog");
|
|
653
|
+
var DescribePipeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
654
|
+
...obj,
|
|
655
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
656
|
+
...obj.SourceParameters && { SourceParameters: PipeSourceParametersFilterSensitiveLog(obj.SourceParameters) },
|
|
657
|
+
...obj.EnrichmentParameters && {
|
|
658
|
+
EnrichmentParameters: PipeEnrichmentParametersFilterSensitiveLog(obj.EnrichmentParameters)
|
|
659
|
+
},
|
|
660
|
+
...obj.TargetParameters && { TargetParameters: PipeTargetParametersFilterSensitiveLog(obj.TargetParameters) },
|
|
661
|
+
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
662
|
+
}), "DescribePipeResponseFilterSensitiveLog");
|
|
663
|
+
var ListPipesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
664
|
+
...obj,
|
|
665
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
666
|
+
}), "ListPipesRequestFilterSensitiveLog");
|
|
667
|
+
var ListPipesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
668
|
+
...obj,
|
|
669
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
670
|
+
}), "ListPipesResponseFilterSensitiveLog");
|
|
671
|
+
var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
672
|
+
...obj,
|
|
673
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
674
|
+
}), "ListTagsForResourceResponseFilterSensitiveLog");
|
|
675
|
+
var UpdatePipeSourceSelfManagedKafkaParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
676
|
+
...obj,
|
|
677
|
+
...obj.Credentials && { Credentials: obj.Credentials },
|
|
678
|
+
...obj.Vpc && { Vpc: SelfManagedKafkaAccessConfigurationVpcFilterSensitiveLog(obj.Vpc) }
|
|
679
|
+
}), "UpdatePipeSourceSelfManagedKafkaParametersFilterSensitiveLog");
|
|
680
|
+
var UpdatePipeSourceParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
681
|
+
...obj,
|
|
682
|
+
...obj.FilterCriteria && { FilterCriteria: FilterCriteriaFilterSensitiveLog(obj.FilterCriteria) },
|
|
683
|
+
...obj.ActiveMQBrokerParameters && { ActiveMQBrokerParameters: obj.ActiveMQBrokerParameters },
|
|
684
|
+
...obj.RabbitMQBrokerParameters && { RabbitMQBrokerParameters: obj.RabbitMQBrokerParameters },
|
|
685
|
+
...obj.ManagedStreamingKafkaParameters && { ManagedStreamingKafkaParameters: obj.ManagedStreamingKafkaParameters },
|
|
686
|
+
...obj.SelfManagedKafkaParameters && {
|
|
687
|
+
SelfManagedKafkaParameters: UpdatePipeSourceSelfManagedKafkaParametersFilterSensitiveLog(
|
|
688
|
+
obj.SelfManagedKafkaParameters
|
|
689
|
+
)
|
|
690
|
+
}
|
|
691
|
+
}), "UpdatePipeSourceParametersFilterSensitiveLog");
|
|
692
|
+
var UpdatePipeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
693
|
+
...obj,
|
|
694
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
695
|
+
...obj.SourceParameters && { SourceParameters: UpdatePipeSourceParametersFilterSensitiveLog(obj.SourceParameters) },
|
|
696
|
+
...obj.EnrichmentParameters && {
|
|
697
|
+
EnrichmentParameters: PipeEnrichmentParametersFilterSensitiveLog(obj.EnrichmentParameters)
|
|
698
|
+
},
|
|
699
|
+
...obj.TargetParameters && { TargetParameters: PipeTargetParametersFilterSensitiveLog(obj.TargetParameters) }
|
|
700
|
+
}), "UpdatePipeRequestFilterSensitiveLog");
|
|
701
|
+
var TagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
702
|
+
...obj,
|
|
703
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
704
|
+
}), "TagResourceRequestFilterSensitiveLog");
|
|
705
|
+
|
|
706
|
+
// src/protocols/Aws_restJson1.ts
|
|
707
|
+
var import_core = require("@smithy/core");
|
|
708
|
+
|
|
709
|
+
var se_CreatePipeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
710
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
711
|
+
const headers = {
|
|
712
|
+
"content-type": "application/json"
|
|
713
|
+
};
|
|
714
|
+
b.bp("/v1/pipes/{Name}");
|
|
715
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
716
|
+
let body;
|
|
717
|
+
body = JSON.stringify(
|
|
718
|
+
(0, import_smithy_client.take)(input, {
|
|
719
|
+
Description: [],
|
|
720
|
+
DesiredState: [],
|
|
721
|
+
Enrichment: [],
|
|
722
|
+
EnrichmentParameters: (_) => (0, import_smithy_client._json)(_),
|
|
723
|
+
LogConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
724
|
+
RoleArn: [],
|
|
725
|
+
Source: [],
|
|
726
|
+
SourceParameters: (_) => se_PipeSourceParameters(_, context),
|
|
727
|
+
Tags: (_) => (0, import_smithy_client._json)(_),
|
|
728
|
+
Target: [],
|
|
729
|
+
TargetParameters: (_) => (0, import_smithy_client._json)(_)
|
|
730
|
+
})
|
|
731
|
+
);
|
|
732
|
+
b.m("POST").h(headers).b(body);
|
|
733
|
+
return b.build();
|
|
734
|
+
}, "se_CreatePipeCommand");
|
|
735
|
+
var se_DeletePipeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
736
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
737
|
+
const headers = {};
|
|
738
|
+
b.bp("/v1/pipes/{Name}");
|
|
739
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
740
|
+
let body;
|
|
741
|
+
b.m("DELETE").h(headers).b(body);
|
|
742
|
+
return b.build();
|
|
743
|
+
}, "se_DeletePipeCommand");
|
|
744
|
+
var se_DescribePipeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
745
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
746
|
+
const headers = {};
|
|
747
|
+
b.bp("/v1/pipes/{Name}");
|
|
748
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
749
|
+
let body;
|
|
750
|
+
b.m("GET").h(headers).b(body);
|
|
751
|
+
return b.build();
|
|
752
|
+
}, "se_DescribePipeCommand");
|
|
753
|
+
var se_ListPipesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
754
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
755
|
+
const headers = {};
|
|
756
|
+
b.bp("/v1/pipes");
|
|
757
|
+
const query = (0, import_smithy_client.map)({
|
|
758
|
+
[_NP]: [, input[_NP]],
|
|
759
|
+
[_DS]: [, input[_DS]],
|
|
760
|
+
[_CS]: [, input[_CS]],
|
|
761
|
+
[_SP]: [, input[_SP]],
|
|
762
|
+
[_TP]: [, input[_TP]],
|
|
763
|
+
[_NT]: [, input[_NT]],
|
|
764
|
+
[_L]: [() => input.Limit !== void 0, () => input[_L].toString()]
|
|
765
|
+
});
|
|
766
|
+
let body;
|
|
767
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
768
|
+
return b.build();
|
|
769
|
+
}, "se_ListPipesCommand");
|
|
770
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
771
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
772
|
+
const headers = {};
|
|
773
|
+
b.bp("/tags/{resourceArn}");
|
|
774
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
775
|
+
let body;
|
|
776
|
+
b.m("GET").h(headers).b(body);
|
|
777
|
+
return b.build();
|
|
778
|
+
}, "se_ListTagsForResourceCommand");
|
|
779
|
+
var se_StartPipeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
780
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
781
|
+
const headers = {};
|
|
782
|
+
b.bp("/v1/pipes/{Name}/start");
|
|
783
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
784
|
+
let body;
|
|
785
|
+
b.m("POST").h(headers).b(body);
|
|
786
|
+
return b.build();
|
|
787
|
+
}, "se_StartPipeCommand");
|
|
788
|
+
var se_StopPipeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
789
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
790
|
+
const headers = {};
|
|
791
|
+
b.bp("/v1/pipes/{Name}/stop");
|
|
792
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
793
|
+
let body;
|
|
794
|
+
b.m("POST").h(headers).b(body);
|
|
795
|
+
return b.build();
|
|
796
|
+
}, "se_StopPipeCommand");
|
|
797
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
798
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
799
|
+
const headers = {
|
|
800
|
+
"content-type": "application/json"
|
|
801
|
+
};
|
|
802
|
+
b.bp("/tags/{resourceArn}");
|
|
803
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
804
|
+
let body;
|
|
805
|
+
body = JSON.stringify(
|
|
806
|
+
(0, import_smithy_client.take)(input, {
|
|
807
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
808
|
+
})
|
|
809
|
+
);
|
|
810
|
+
b.m("POST").h(headers).b(body);
|
|
811
|
+
return b.build();
|
|
812
|
+
}, "se_TagResourceCommand");
|
|
813
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
814
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
815
|
+
const headers = {};
|
|
816
|
+
b.bp("/tags/{resourceArn}");
|
|
817
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
818
|
+
const query = (0, import_smithy_client.map)({
|
|
819
|
+
[_tK]: [
|
|
820
|
+
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
821
|
+
() => (input[_tK] || []).map((_entry) => _entry)
|
|
822
|
+
]
|
|
823
|
+
});
|
|
824
|
+
let body;
|
|
825
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
826
|
+
return b.build();
|
|
827
|
+
}, "se_UntagResourceCommand");
|
|
828
|
+
var se_UpdatePipeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
829
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
830
|
+
const headers = {
|
|
831
|
+
"content-type": "application/json"
|
|
832
|
+
};
|
|
833
|
+
b.bp("/v1/pipes/{Name}");
|
|
834
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
835
|
+
let body;
|
|
836
|
+
body = JSON.stringify(
|
|
837
|
+
(0, import_smithy_client.take)(input, {
|
|
838
|
+
Description: [],
|
|
839
|
+
DesiredState: [],
|
|
840
|
+
Enrichment: [],
|
|
841
|
+
EnrichmentParameters: (_) => (0, import_smithy_client._json)(_),
|
|
842
|
+
LogConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
843
|
+
RoleArn: [],
|
|
844
|
+
SourceParameters: (_) => (0, import_smithy_client._json)(_),
|
|
845
|
+
Target: [],
|
|
846
|
+
TargetParameters: (_) => (0, import_smithy_client._json)(_)
|
|
847
|
+
})
|
|
848
|
+
);
|
|
849
|
+
b.m("PUT").h(headers).b(body);
|
|
850
|
+
return b.build();
|
|
851
|
+
}, "se_UpdatePipeCommand");
|
|
852
|
+
var de_CreatePipeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
853
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
854
|
+
return de_CreatePipeCommandError(output, context);
|
|
855
|
+
}
|
|
856
|
+
const contents = (0, import_smithy_client.map)({
|
|
857
|
+
$metadata: deserializeMetadata(output)
|
|
858
|
+
});
|
|
859
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
860
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
861
|
+
Arn: import_smithy_client.expectString,
|
|
862
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
863
|
+
CurrentState: import_smithy_client.expectString,
|
|
864
|
+
DesiredState: import_smithy_client.expectString,
|
|
865
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
866
|
+
Name: import_smithy_client.expectString
|
|
867
|
+
});
|
|
868
|
+
Object.assign(contents, doc);
|
|
869
|
+
return contents;
|
|
870
|
+
}, "de_CreatePipeCommand");
|
|
871
|
+
var de_CreatePipeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
872
|
+
const parsedOutput = {
|
|
873
|
+
...output,
|
|
874
|
+
body: await parseErrorBody(output.body, context)
|
|
875
|
+
};
|
|
876
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
877
|
+
switch (errorCode) {
|
|
878
|
+
case "ConflictException":
|
|
879
|
+
case "com.amazonaws.pipes#ConflictException":
|
|
880
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
881
|
+
case "InternalException":
|
|
882
|
+
case "com.amazonaws.pipes#InternalException":
|
|
883
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
884
|
+
case "NotFoundException":
|
|
885
|
+
case "com.amazonaws.pipes#NotFoundException":
|
|
886
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
887
|
+
case "ServiceQuotaExceededException":
|
|
888
|
+
case "com.amazonaws.pipes#ServiceQuotaExceededException":
|
|
889
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
890
|
+
case "ThrottlingException":
|
|
891
|
+
case "com.amazonaws.pipes#ThrottlingException":
|
|
892
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
893
|
+
case "ValidationException":
|
|
894
|
+
case "com.amazonaws.pipes#ValidationException":
|
|
895
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
896
|
+
default:
|
|
897
|
+
const parsedBody = parsedOutput.body;
|
|
898
|
+
return throwDefaultError({
|
|
899
|
+
output,
|
|
900
|
+
parsedBody,
|
|
901
|
+
errorCode
|
|
902
|
+
});
|
|
903
|
+
}
|
|
904
|
+
}, "de_CreatePipeCommandError");
|
|
905
|
+
var de_DeletePipeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
906
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
907
|
+
return de_DeletePipeCommandError(output, context);
|
|
908
|
+
}
|
|
909
|
+
const contents = (0, import_smithy_client.map)({
|
|
910
|
+
$metadata: deserializeMetadata(output)
|
|
911
|
+
});
|
|
912
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
913
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
914
|
+
Arn: import_smithy_client.expectString,
|
|
915
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
916
|
+
CurrentState: import_smithy_client.expectString,
|
|
917
|
+
DesiredState: import_smithy_client.expectString,
|
|
918
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
919
|
+
Name: import_smithy_client.expectString
|
|
920
|
+
});
|
|
921
|
+
Object.assign(contents, doc);
|
|
922
|
+
return contents;
|
|
923
|
+
}, "de_DeletePipeCommand");
|
|
924
|
+
var de_DeletePipeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
925
|
+
const parsedOutput = {
|
|
926
|
+
...output,
|
|
927
|
+
body: await parseErrorBody(output.body, context)
|
|
928
|
+
};
|
|
929
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
930
|
+
switch (errorCode) {
|
|
931
|
+
case "ConflictException":
|
|
932
|
+
case "com.amazonaws.pipes#ConflictException":
|
|
933
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
934
|
+
case "InternalException":
|
|
935
|
+
case "com.amazonaws.pipes#InternalException":
|
|
936
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
937
|
+
case "NotFoundException":
|
|
938
|
+
case "com.amazonaws.pipes#NotFoundException":
|
|
939
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
940
|
+
case "ThrottlingException":
|
|
941
|
+
case "com.amazonaws.pipes#ThrottlingException":
|
|
942
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
943
|
+
case "ValidationException":
|
|
944
|
+
case "com.amazonaws.pipes#ValidationException":
|
|
945
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
946
|
+
default:
|
|
947
|
+
const parsedBody = parsedOutput.body;
|
|
948
|
+
return throwDefaultError({
|
|
949
|
+
output,
|
|
950
|
+
parsedBody,
|
|
951
|
+
errorCode
|
|
952
|
+
});
|
|
953
|
+
}
|
|
954
|
+
}, "de_DeletePipeCommandError");
|
|
955
|
+
var de_DescribePipeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
956
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
957
|
+
return de_DescribePipeCommandError(output, context);
|
|
958
|
+
}
|
|
959
|
+
const contents = (0, import_smithy_client.map)({
|
|
960
|
+
$metadata: deserializeMetadata(output)
|
|
961
|
+
});
|
|
962
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
963
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
964
|
+
Arn: import_smithy_client.expectString,
|
|
965
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
966
|
+
CurrentState: import_smithy_client.expectString,
|
|
967
|
+
Description: import_smithy_client.expectString,
|
|
968
|
+
DesiredState: import_smithy_client.expectString,
|
|
969
|
+
Enrichment: import_smithy_client.expectString,
|
|
970
|
+
EnrichmentParameters: import_smithy_client._json,
|
|
971
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
972
|
+
LogConfiguration: import_smithy_client._json,
|
|
973
|
+
Name: import_smithy_client.expectString,
|
|
974
|
+
RoleArn: import_smithy_client.expectString,
|
|
975
|
+
Source: import_smithy_client.expectString,
|
|
976
|
+
SourceParameters: (_) => de_PipeSourceParameters(_, context),
|
|
977
|
+
StateReason: import_smithy_client.expectString,
|
|
978
|
+
Tags: import_smithy_client._json,
|
|
979
|
+
Target: import_smithy_client.expectString,
|
|
980
|
+
TargetParameters: import_smithy_client._json
|
|
981
|
+
});
|
|
982
|
+
Object.assign(contents, doc);
|
|
983
|
+
return contents;
|
|
984
|
+
}, "de_DescribePipeCommand");
|
|
985
|
+
var de_DescribePipeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
986
|
+
const parsedOutput = {
|
|
987
|
+
...output,
|
|
988
|
+
body: await parseErrorBody(output.body, context)
|
|
989
|
+
};
|
|
990
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
991
|
+
switch (errorCode) {
|
|
992
|
+
case "InternalException":
|
|
993
|
+
case "com.amazonaws.pipes#InternalException":
|
|
994
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
995
|
+
case "NotFoundException":
|
|
996
|
+
case "com.amazonaws.pipes#NotFoundException":
|
|
997
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
998
|
+
case "ThrottlingException":
|
|
999
|
+
case "com.amazonaws.pipes#ThrottlingException":
|
|
1000
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1001
|
+
case "ValidationException":
|
|
1002
|
+
case "com.amazonaws.pipes#ValidationException":
|
|
1003
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1004
|
+
default:
|
|
1005
|
+
const parsedBody = parsedOutput.body;
|
|
1006
|
+
return throwDefaultError({
|
|
1007
|
+
output,
|
|
1008
|
+
parsedBody,
|
|
1009
|
+
errorCode
|
|
1010
|
+
});
|
|
1011
|
+
}
|
|
1012
|
+
}, "de_DescribePipeCommandError");
|
|
1013
|
+
var de_ListPipesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1014
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1015
|
+
return de_ListPipesCommandError(output, context);
|
|
1016
|
+
}
|
|
1017
|
+
const contents = (0, import_smithy_client.map)({
|
|
1018
|
+
$metadata: deserializeMetadata(output)
|
|
1019
|
+
});
|
|
1020
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1021
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1022
|
+
NextToken: import_smithy_client.expectString,
|
|
1023
|
+
Pipes: (_) => de_PipeList(_, context)
|
|
1024
|
+
});
|
|
1025
|
+
Object.assign(contents, doc);
|
|
1026
|
+
return contents;
|
|
1027
|
+
}, "de_ListPipesCommand");
|
|
1028
|
+
var de_ListPipesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1029
|
+
const parsedOutput = {
|
|
1030
|
+
...output,
|
|
1031
|
+
body: await parseErrorBody(output.body, context)
|
|
1032
|
+
};
|
|
1033
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1034
|
+
switch (errorCode) {
|
|
1035
|
+
case "InternalException":
|
|
1036
|
+
case "com.amazonaws.pipes#InternalException":
|
|
1037
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1038
|
+
case "ThrottlingException":
|
|
1039
|
+
case "com.amazonaws.pipes#ThrottlingException":
|
|
1040
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1041
|
+
case "ValidationException":
|
|
1042
|
+
case "com.amazonaws.pipes#ValidationException":
|
|
1043
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1044
|
+
default:
|
|
1045
|
+
const parsedBody = parsedOutput.body;
|
|
1046
|
+
return throwDefaultError({
|
|
1047
|
+
output,
|
|
1048
|
+
parsedBody,
|
|
1049
|
+
errorCode
|
|
1050
|
+
});
|
|
1051
|
+
}
|
|
1052
|
+
}, "de_ListPipesCommandError");
|
|
1053
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1054
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1055
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1056
|
+
}
|
|
1057
|
+
const contents = (0, import_smithy_client.map)({
|
|
1058
|
+
$metadata: deserializeMetadata(output)
|
|
1059
|
+
});
|
|
1060
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1061
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1062
|
+
tags: import_smithy_client._json
|
|
1063
|
+
});
|
|
1064
|
+
Object.assign(contents, doc);
|
|
1065
|
+
return contents;
|
|
1066
|
+
}, "de_ListTagsForResourceCommand");
|
|
1067
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1068
|
+
const parsedOutput = {
|
|
1069
|
+
...output,
|
|
1070
|
+
body: await parseErrorBody(output.body, context)
|
|
1071
|
+
};
|
|
1072
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1073
|
+
switch (errorCode) {
|
|
1074
|
+
case "InternalException":
|
|
1075
|
+
case "com.amazonaws.pipes#InternalException":
|
|
1076
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1077
|
+
case "NotFoundException":
|
|
1078
|
+
case "com.amazonaws.pipes#NotFoundException":
|
|
1079
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1080
|
+
case "ValidationException":
|
|
1081
|
+
case "com.amazonaws.pipes#ValidationException":
|
|
1082
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1083
|
+
default:
|
|
1084
|
+
const parsedBody = parsedOutput.body;
|
|
1085
|
+
return throwDefaultError({
|
|
1086
|
+
output,
|
|
1087
|
+
parsedBody,
|
|
1088
|
+
errorCode
|
|
1089
|
+
});
|
|
1090
|
+
}
|
|
1091
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1092
|
+
var de_StartPipeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1093
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1094
|
+
return de_StartPipeCommandError(output, context);
|
|
1095
|
+
}
|
|
1096
|
+
const contents = (0, import_smithy_client.map)({
|
|
1097
|
+
$metadata: deserializeMetadata(output)
|
|
1098
|
+
});
|
|
1099
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1100
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1101
|
+
Arn: import_smithy_client.expectString,
|
|
1102
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1103
|
+
CurrentState: import_smithy_client.expectString,
|
|
1104
|
+
DesiredState: import_smithy_client.expectString,
|
|
1105
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1106
|
+
Name: import_smithy_client.expectString
|
|
1107
|
+
});
|
|
1108
|
+
Object.assign(contents, doc);
|
|
1109
|
+
return contents;
|
|
1110
|
+
}, "de_StartPipeCommand");
|
|
1111
|
+
var de_StartPipeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1112
|
+
const parsedOutput = {
|
|
1113
|
+
...output,
|
|
1114
|
+
body: await parseErrorBody(output.body, context)
|
|
1115
|
+
};
|
|
1116
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1117
|
+
switch (errorCode) {
|
|
1118
|
+
case "ConflictException":
|
|
1119
|
+
case "com.amazonaws.pipes#ConflictException":
|
|
1120
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1121
|
+
case "InternalException":
|
|
1122
|
+
case "com.amazonaws.pipes#InternalException":
|
|
1123
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1124
|
+
case "NotFoundException":
|
|
1125
|
+
case "com.amazonaws.pipes#NotFoundException":
|
|
1126
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1127
|
+
case "ThrottlingException":
|
|
1128
|
+
case "com.amazonaws.pipes#ThrottlingException":
|
|
1129
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1130
|
+
case "ValidationException":
|
|
1131
|
+
case "com.amazonaws.pipes#ValidationException":
|
|
1132
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1133
|
+
default:
|
|
1134
|
+
const parsedBody = parsedOutput.body;
|
|
1135
|
+
return throwDefaultError({
|
|
1136
|
+
output,
|
|
1137
|
+
parsedBody,
|
|
1138
|
+
errorCode
|
|
1139
|
+
});
|
|
1140
|
+
}
|
|
1141
|
+
}, "de_StartPipeCommandError");
|
|
1142
|
+
var de_StopPipeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1143
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1144
|
+
return de_StopPipeCommandError(output, context);
|
|
1145
|
+
}
|
|
1146
|
+
const contents = (0, import_smithy_client.map)({
|
|
1147
|
+
$metadata: deserializeMetadata(output)
|
|
1148
|
+
});
|
|
1149
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1150
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1151
|
+
Arn: import_smithy_client.expectString,
|
|
1152
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1153
|
+
CurrentState: import_smithy_client.expectString,
|
|
1154
|
+
DesiredState: import_smithy_client.expectString,
|
|
1155
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1156
|
+
Name: import_smithy_client.expectString
|
|
1157
|
+
});
|
|
1158
|
+
Object.assign(contents, doc);
|
|
1159
|
+
return contents;
|
|
1160
|
+
}, "de_StopPipeCommand");
|
|
1161
|
+
var de_StopPipeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1162
|
+
const parsedOutput = {
|
|
1163
|
+
...output,
|
|
1164
|
+
body: await parseErrorBody(output.body, context)
|
|
1165
|
+
};
|
|
1166
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1167
|
+
switch (errorCode) {
|
|
1168
|
+
case "ConflictException":
|
|
1169
|
+
case "com.amazonaws.pipes#ConflictException":
|
|
1170
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1171
|
+
case "InternalException":
|
|
1172
|
+
case "com.amazonaws.pipes#InternalException":
|
|
1173
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1174
|
+
case "NotFoundException":
|
|
1175
|
+
case "com.amazonaws.pipes#NotFoundException":
|
|
1176
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1177
|
+
case "ThrottlingException":
|
|
1178
|
+
case "com.amazonaws.pipes#ThrottlingException":
|
|
1179
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1180
|
+
case "ValidationException":
|
|
1181
|
+
case "com.amazonaws.pipes#ValidationException":
|
|
1182
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1183
|
+
default:
|
|
1184
|
+
const parsedBody = parsedOutput.body;
|
|
1185
|
+
return throwDefaultError({
|
|
1186
|
+
output,
|
|
1187
|
+
parsedBody,
|
|
1188
|
+
errorCode
|
|
1189
|
+
});
|
|
1190
|
+
}
|
|
1191
|
+
}, "de_StopPipeCommandError");
|
|
1192
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1193
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1194
|
+
return de_TagResourceCommandError(output, context);
|
|
1195
|
+
}
|
|
1196
|
+
const contents = (0, import_smithy_client.map)({
|
|
1197
|
+
$metadata: deserializeMetadata(output)
|
|
1198
|
+
});
|
|
1199
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1200
|
+
return contents;
|
|
1201
|
+
}, "de_TagResourceCommand");
|
|
1202
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1203
|
+
const parsedOutput = {
|
|
1204
|
+
...output,
|
|
1205
|
+
body: await parseErrorBody(output.body, context)
|
|
1206
|
+
};
|
|
1207
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1208
|
+
switch (errorCode) {
|
|
1209
|
+
case "InternalException":
|
|
1210
|
+
case "com.amazonaws.pipes#InternalException":
|
|
1211
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1212
|
+
case "NotFoundException":
|
|
1213
|
+
case "com.amazonaws.pipes#NotFoundException":
|
|
1214
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1215
|
+
case "ValidationException":
|
|
1216
|
+
case "com.amazonaws.pipes#ValidationException":
|
|
1217
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1218
|
+
default:
|
|
1219
|
+
const parsedBody = parsedOutput.body;
|
|
1220
|
+
return throwDefaultError({
|
|
1221
|
+
output,
|
|
1222
|
+
parsedBody,
|
|
1223
|
+
errorCode
|
|
1224
|
+
});
|
|
1225
|
+
}
|
|
1226
|
+
}, "de_TagResourceCommandError");
|
|
1227
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1228
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1229
|
+
return de_UntagResourceCommandError(output, context);
|
|
1230
|
+
}
|
|
1231
|
+
const contents = (0, import_smithy_client.map)({
|
|
1232
|
+
$metadata: deserializeMetadata(output)
|
|
1233
|
+
});
|
|
1234
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1235
|
+
return contents;
|
|
1236
|
+
}, "de_UntagResourceCommand");
|
|
1237
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1238
|
+
const parsedOutput = {
|
|
1239
|
+
...output,
|
|
1240
|
+
body: await parseErrorBody(output.body, context)
|
|
1241
|
+
};
|
|
1242
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1243
|
+
switch (errorCode) {
|
|
1244
|
+
case "InternalException":
|
|
1245
|
+
case "com.amazonaws.pipes#InternalException":
|
|
1246
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1247
|
+
case "NotFoundException":
|
|
1248
|
+
case "com.amazonaws.pipes#NotFoundException":
|
|
1249
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1250
|
+
case "ValidationException":
|
|
1251
|
+
case "com.amazonaws.pipes#ValidationException":
|
|
1252
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1253
|
+
default:
|
|
1254
|
+
const parsedBody = parsedOutput.body;
|
|
1255
|
+
return throwDefaultError({
|
|
1256
|
+
output,
|
|
1257
|
+
parsedBody,
|
|
1258
|
+
errorCode
|
|
1259
|
+
});
|
|
1260
|
+
}
|
|
1261
|
+
}, "de_UntagResourceCommandError");
|
|
1262
|
+
var de_UpdatePipeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1263
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1264
|
+
return de_UpdatePipeCommandError(output, context);
|
|
1265
|
+
}
|
|
1266
|
+
const contents = (0, import_smithy_client.map)({
|
|
1267
|
+
$metadata: deserializeMetadata(output)
|
|
1268
|
+
});
|
|
1269
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1270
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1271
|
+
Arn: import_smithy_client.expectString,
|
|
1272
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1273
|
+
CurrentState: import_smithy_client.expectString,
|
|
1274
|
+
DesiredState: import_smithy_client.expectString,
|
|
1275
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1276
|
+
Name: import_smithy_client.expectString
|
|
1277
|
+
});
|
|
1278
|
+
Object.assign(contents, doc);
|
|
1279
|
+
return contents;
|
|
1280
|
+
}, "de_UpdatePipeCommand");
|
|
1281
|
+
var de_UpdatePipeCommandError = /* @__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 "ConflictException":
|
|
1289
|
+
case "com.amazonaws.pipes#ConflictException":
|
|
1290
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1291
|
+
case "InternalException":
|
|
1292
|
+
case "com.amazonaws.pipes#InternalException":
|
|
1293
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1294
|
+
case "NotFoundException":
|
|
1295
|
+
case "com.amazonaws.pipes#NotFoundException":
|
|
1296
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1297
|
+
case "ThrottlingException":
|
|
1298
|
+
case "com.amazonaws.pipes#ThrottlingException":
|
|
1299
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1300
|
+
case "ValidationException":
|
|
1301
|
+
case "com.amazonaws.pipes#ValidationException":
|
|
1302
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1303
|
+
default:
|
|
1304
|
+
const parsedBody = parsedOutput.body;
|
|
1305
|
+
return throwDefaultError({
|
|
1306
|
+
output,
|
|
1307
|
+
parsedBody,
|
|
1308
|
+
errorCode
|
|
1309
|
+
});
|
|
1310
|
+
}
|
|
1311
|
+
}, "de_UpdatePipeCommandError");
|
|
1312
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(PipesServiceException);
|
|
1313
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1314
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1315
|
+
const data = parsedOutput.body;
|
|
1316
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1317
|
+
message: import_smithy_client.expectString,
|
|
1318
|
+
resourceId: import_smithy_client.expectString,
|
|
1319
|
+
resourceType: import_smithy_client.expectString
|
|
1320
|
+
});
|
|
1321
|
+
Object.assign(contents, doc);
|
|
1322
|
+
const exception = new ConflictException({
|
|
1323
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1324
|
+
...contents
|
|
1325
|
+
});
|
|
1326
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1327
|
+
}, "de_ConflictExceptionRes");
|
|
1328
|
+
var de_InternalExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1329
|
+
const contents = (0, import_smithy_client.map)({
|
|
1330
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
1331
|
+
});
|
|
1332
|
+
const data = parsedOutput.body;
|
|
1333
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1334
|
+
message: import_smithy_client.expectString
|
|
1335
|
+
});
|
|
1336
|
+
Object.assign(contents, doc);
|
|
1337
|
+
const exception = new InternalException({
|
|
1338
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1339
|
+
...contents
|
|
1340
|
+
});
|
|
1341
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1342
|
+
}, "de_InternalExceptionRes");
|
|
1343
|
+
var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1344
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1345
|
+
const data = parsedOutput.body;
|
|
1346
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1347
|
+
message: import_smithy_client.expectString
|
|
1348
|
+
});
|
|
1349
|
+
Object.assign(contents, doc);
|
|
1350
|
+
const exception = new NotFoundException({
|
|
1351
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1352
|
+
...contents
|
|
1353
|
+
});
|
|
1354
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1355
|
+
}, "de_NotFoundExceptionRes");
|
|
1356
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1357
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1358
|
+
const data = parsedOutput.body;
|
|
1359
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1360
|
+
message: import_smithy_client.expectString,
|
|
1361
|
+
quotaCode: import_smithy_client.expectString,
|
|
1362
|
+
resourceId: import_smithy_client.expectString,
|
|
1363
|
+
resourceType: import_smithy_client.expectString,
|
|
1364
|
+
serviceCode: import_smithy_client.expectString
|
|
1365
|
+
});
|
|
1366
|
+
Object.assign(contents, doc);
|
|
1367
|
+
const exception = new ServiceQuotaExceededException({
|
|
1368
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1369
|
+
...contents
|
|
1370
|
+
});
|
|
1371
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1372
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1373
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1374
|
+
const contents = (0, import_smithy_client.map)({
|
|
1375
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
1376
|
+
});
|
|
1377
|
+
const data = parsedOutput.body;
|
|
1378
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1379
|
+
message: import_smithy_client.expectString,
|
|
1380
|
+
quotaCode: import_smithy_client.expectString,
|
|
1381
|
+
serviceCode: import_smithy_client.expectString
|
|
1382
|
+
});
|
|
1383
|
+
Object.assign(contents, doc);
|
|
1384
|
+
const exception = new ThrottlingException({
|
|
1385
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1386
|
+
...contents
|
|
1387
|
+
});
|
|
1388
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1389
|
+
}, "de_ThrottlingExceptionRes");
|
|
1390
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1391
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1392
|
+
const data = parsedOutput.body;
|
|
1393
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1394
|
+
fieldList: import_smithy_client._json,
|
|
1395
|
+
message: import_smithy_client.expectString
|
|
1396
|
+
});
|
|
1397
|
+
Object.assign(contents, doc);
|
|
1398
|
+
const exception = new ValidationException({
|
|
1399
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1400
|
+
...contents
|
|
1401
|
+
});
|
|
1402
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1403
|
+
}, "de_ValidationExceptionRes");
|
|
1404
|
+
var se_PipeSourceKinesisStreamParameters = /* @__PURE__ */ __name((input, context) => {
|
|
1405
|
+
return (0, import_smithy_client.take)(input, {
|
|
1406
|
+
BatchSize: [],
|
|
1407
|
+
DeadLetterConfig: import_smithy_client._json,
|
|
1408
|
+
MaximumBatchingWindowInSeconds: [],
|
|
1409
|
+
MaximumRecordAgeInSeconds: [],
|
|
1410
|
+
MaximumRetryAttempts: [],
|
|
1411
|
+
OnPartialBatchItemFailure: [],
|
|
1412
|
+
ParallelizationFactor: [],
|
|
1413
|
+
StartingPosition: [],
|
|
1414
|
+
StartingPositionTimestamp: (_) => Math.round(_.getTime() / 1e3)
|
|
1415
|
+
});
|
|
1416
|
+
}, "se_PipeSourceKinesisStreamParameters");
|
|
1417
|
+
var se_PipeSourceParameters = /* @__PURE__ */ __name((input, context) => {
|
|
1418
|
+
return (0, import_smithy_client.take)(input, {
|
|
1419
|
+
ActiveMQBrokerParameters: import_smithy_client._json,
|
|
1420
|
+
DynamoDBStreamParameters: import_smithy_client._json,
|
|
1421
|
+
FilterCriteria: import_smithy_client._json,
|
|
1422
|
+
KinesisStreamParameters: (_) => se_PipeSourceKinesisStreamParameters(_, context),
|
|
1423
|
+
ManagedStreamingKafkaParameters: import_smithy_client._json,
|
|
1424
|
+
RabbitMQBrokerParameters: import_smithy_client._json,
|
|
1425
|
+
SelfManagedKafkaParameters: import_smithy_client._json,
|
|
1426
|
+
SqsQueueParameters: import_smithy_client._json
|
|
1427
|
+
});
|
|
1428
|
+
}, "se_PipeSourceParameters");
|
|
1429
|
+
var de_Pipe = /* @__PURE__ */ __name((output, context) => {
|
|
1430
|
+
return (0, import_smithy_client.take)(output, {
|
|
1431
|
+
Arn: import_smithy_client.expectString,
|
|
1432
|
+
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1433
|
+
CurrentState: import_smithy_client.expectString,
|
|
1434
|
+
DesiredState: import_smithy_client.expectString,
|
|
1435
|
+
Enrichment: import_smithy_client.expectString,
|
|
1436
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1437
|
+
Name: import_smithy_client.expectString,
|
|
1438
|
+
Source: import_smithy_client.expectString,
|
|
1439
|
+
StateReason: import_smithy_client.expectString,
|
|
1440
|
+
Target: import_smithy_client.expectString
|
|
1441
|
+
});
|
|
1442
|
+
}, "de_Pipe");
|
|
1443
|
+
var de_PipeList = /* @__PURE__ */ __name((output, context) => {
|
|
1444
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1445
|
+
return de_Pipe(entry, context);
|
|
1446
|
+
});
|
|
1447
|
+
return retVal;
|
|
1448
|
+
}, "de_PipeList");
|
|
1449
|
+
var de_PipeSourceKinesisStreamParameters = /* @__PURE__ */ __name((output, context) => {
|
|
1450
|
+
return (0, import_smithy_client.take)(output, {
|
|
1451
|
+
BatchSize: import_smithy_client.expectInt32,
|
|
1452
|
+
DeadLetterConfig: import_smithy_client._json,
|
|
1453
|
+
MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,
|
|
1454
|
+
MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,
|
|
1455
|
+
MaximumRetryAttempts: import_smithy_client.expectInt32,
|
|
1456
|
+
OnPartialBatchItemFailure: import_smithy_client.expectString,
|
|
1457
|
+
ParallelizationFactor: import_smithy_client.expectInt32,
|
|
1458
|
+
StartingPosition: import_smithy_client.expectString,
|
|
1459
|
+
StartingPositionTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1460
|
+
});
|
|
1461
|
+
}, "de_PipeSourceKinesisStreamParameters");
|
|
1462
|
+
var de_PipeSourceParameters = /* @__PURE__ */ __name((output, context) => {
|
|
1463
|
+
return (0, import_smithy_client.take)(output, {
|
|
1464
|
+
ActiveMQBrokerParameters: import_smithy_client._json,
|
|
1465
|
+
DynamoDBStreamParameters: import_smithy_client._json,
|
|
1466
|
+
FilterCriteria: import_smithy_client._json,
|
|
1467
|
+
KinesisStreamParameters: (_) => de_PipeSourceKinesisStreamParameters(_, context),
|
|
1468
|
+
ManagedStreamingKafkaParameters: import_smithy_client._json,
|
|
1469
|
+
RabbitMQBrokerParameters: import_smithy_client._json,
|
|
1470
|
+
SelfManagedKafkaParameters: import_smithy_client._json,
|
|
1471
|
+
SqsQueueParameters: import_smithy_client._json
|
|
1472
|
+
});
|
|
1473
|
+
}, "de_PipeSourceParameters");
|
|
1474
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1475
|
+
httpStatusCode: output.statusCode,
|
|
1476
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1477
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1478
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1479
|
+
}), "deserializeMetadata");
|
|
1480
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1481
|
+
var _CS = "CurrentState";
|
|
1482
|
+
var _DS = "DesiredState";
|
|
1483
|
+
var _L = "Limit";
|
|
1484
|
+
var _NP = "NamePrefix";
|
|
1485
|
+
var _NT = "NextToken";
|
|
1486
|
+
var _SP = "SourcePrefix";
|
|
1487
|
+
var _TP = "TargetPrefix";
|
|
1488
|
+
var _rAS = "retryAfterSeconds";
|
|
1489
|
+
var _ra = "retry-after";
|
|
1490
|
+
var _tK = "tagKeys";
|
|
1491
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1492
|
+
if (encoded.length) {
|
|
1493
|
+
return JSON.parse(encoded);
|
|
1494
|
+
}
|
|
1495
|
+
return {};
|
|
1496
|
+
}), "parseBody");
|
|
1497
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1498
|
+
const value = await parseBody(errorBody, context);
|
|
1499
|
+
value.message = value.message ?? value.Message;
|
|
1500
|
+
return value;
|
|
1501
|
+
}, "parseErrorBody");
|
|
1502
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1503
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1504
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1505
|
+
let cleanValue = rawValue;
|
|
1506
|
+
if (typeof cleanValue === "number") {
|
|
1507
|
+
cleanValue = cleanValue.toString();
|
|
1508
|
+
}
|
|
1509
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1510
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1511
|
+
}
|
|
1512
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1513
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1514
|
+
}
|
|
1515
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1516
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1517
|
+
}
|
|
1518
|
+
return cleanValue;
|
|
1519
|
+
}, "sanitizeErrorCode");
|
|
1520
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1521
|
+
if (headerKey !== void 0) {
|
|
1522
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1523
|
+
}
|
|
1524
|
+
if (data.code !== void 0) {
|
|
1525
|
+
return sanitizeErrorCode(data.code);
|
|
1526
|
+
}
|
|
1527
|
+
if (data["__type"] !== void 0) {
|
|
1528
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1529
|
+
}
|
|
1530
|
+
}, "loadRestJsonErrorCode");
|
|
1531
|
+
|
|
1532
|
+
// src/commands/CreatePipeCommand.ts
|
|
1533
|
+
var _CreatePipeCommand = class _CreatePipeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1534
|
+
...commonParams
|
|
1535
|
+
}).m(function(Command, cs, config, o) {
|
|
1536
|
+
return [
|
|
1537
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1538
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1539
|
+
];
|
|
1540
|
+
}).s("Pipes", "CreatePipe", {}).n("PipesClient", "CreatePipeCommand").f(CreatePipeRequestFilterSensitiveLog, void 0).ser(se_CreatePipeCommand).de(de_CreatePipeCommand).build() {
|
|
1541
|
+
};
|
|
1542
|
+
__name(_CreatePipeCommand, "CreatePipeCommand");
|
|
1543
|
+
var CreatePipeCommand = _CreatePipeCommand;
|
|
1544
|
+
|
|
1545
|
+
// src/commands/DeletePipeCommand.ts
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
var _DeletePipeCommand = class _DeletePipeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1551
|
+
...commonParams
|
|
1552
|
+
}).m(function(Command, cs, config, o) {
|
|
1553
|
+
return [
|
|
1554
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1555
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1556
|
+
];
|
|
1557
|
+
}).s("Pipes", "DeletePipe", {}).n("PipesClient", "DeletePipeCommand").f(void 0, void 0).ser(se_DeletePipeCommand).de(de_DeletePipeCommand).build() {
|
|
1558
|
+
};
|
|
1559
|
+
__name(_DeletePipeCommand, "DeletePipeCommand");
|
|
1560
|
+
var DeletePipeCommand = _DeletePipeCommand;
|
|
1561
|
+
|
|
1562
|
+
// src/commands/DescribePipeCommand.ts
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
var _DescribePipeCommand = class _DescribePipeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1568
|
+
...commonParams
|
|
1569
|
+
}).m(function(Command, cs, config, o) {
|
|
1570
|
+
return [
|
|
1571
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1572
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1573
|
+
];
|
|
1574
|
+
}).s("Pipes", "DescribePipe", {}).n("PipesClient", "DescribePipeCommand").f(void 0, DescribePipeResponseFilterSensitiveLog).ser(se_DescribePipeCommand).de(de_DescribePipeCommand).build() {
|
|
1575
|
+
};
|
|
1576
|
+
__name(_DescribePipeCommand, "DescribePipeCommand");
|
|
1577
|
+
var DescribePipeCommand = _DescribePipeCommand;
|
|
1578
|
+
|
|
1579
|
+
// src/commands/ListPipesCommand.ts
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
|
|
1584
|
+
var _ListPipesCommand = class _ListPipesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1585
|
+
...commonParams
|
|
1586
|
+
}).m(function(Command, cs, config, o) {
|
|
1587
|
+
return [
|
|
1588
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1589
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1590
|
+
];
|
|
1591
|
+
}).s("Pipes", "ListPipes", {}).n("PipesClient", "ListPipesCommand").f(ListPipesRequestFilterSensitiveLog, ListPipesResponseFilterSensitiveLog).ser(se_ListPipesCommand).de(de_ListPipesCommand).build() {
|
|
1592
|
+
};
|
|
1593
|
+
__name(_ListPipesCommand, "ListPipesCommand");
|
|
1594
|
+
var ListPipesCommand = _ListPipesCommand;
|
|
1595
|
+
|
|
1596
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
|
|
1601
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1602
|
+
...commonParams
|
|
1603
|
+
}).m(function(Command, cs, config, o) {
|
|
1604
|
+
return [
|
|
1605
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1606
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1607
|
+
];
|
|
1608
|
+
}).s("Pipes", "ListTagsForResource", {}).n("PipesClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1609
|
+
};
|
|
1610
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1611
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1612
|
+
|
|
1613
|
+
// src/commands/StartPipeCommand.ts
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
var _StartPipeCommand = class _StartPipeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1619
|
+
...commonParams
|
|
1620
|
+
}).m(function(Command, cs, config, o) {
|
|
1621
|
+
return [
|
|
1622
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1623
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1624
|
+
];
|
|
1625
|
+
}).s("Pipes", "StartPipe", {}).n("PipesClient", "StartPipeCommand").f(void 0, void 0).ser(se_StartPipeCommand).de(de_StartPipeCommand).build() {
|
|
1626
|
+
};
|
|
1627
|
+
__name(_StartPipeCommand, "StartPipeCommand");
|
|
1628
|
+
var StartPipeCommand = _StartPipeCommand;
|
|
1629
|
+
|
|
1630
|
+
// src/commands/StopPipeCommand.ts
|
|
1631
|
+
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
var _StopPipeCommand = class _StopPipeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1636
|
+
...commonParams
|
|
1637
|
+
}).m(function(Command, cs, config, o) {
|
|
1638
|
+
return [
|
|
1639
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1640
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1641
|
+
];
|
|
1642
|
+
}).s("Pipes", "StopPipe", {}).n("PipesClient", "StopPipeCommand").f(void 0, void 0).ser(se_StopPipeCommand).de(de_StopPipeCommand).build() {
|
|
1643
|
+
};
|
|
1644
|
+
__name(_StopPipeCommand, "StopPipeCommand");
|
|
1645
|
+
var StopPipeCommand = _StopPipeCommand;
|
|
1646
|
+
|
|
1647
|
+
// src/commands/TagResourceCommand.ts
|
|
1648
|
+
|
|
1649
|
+
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1653
|
+
...commonParams
|
|
1654
|
+
}).m(function(Command, cs, config, o) {
|
|
1655
|
+
return [
|
|
1656
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1657
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1658
|
+
];
|
|
1659
|
+
}).s("Pipes", "TagResource", {}).n("PipesClient", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1660
|
+
};
|
|
1661
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1662
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
1663
|
+
|
|
1664
|
+
// src/commands/UntagResourceCommand.ts
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1670
|
+
...commonParams
|
|
1671
|
+
}).m(function(Command, cs, config, o) {
|
|
1672
|
+
return [
|
|
1673
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1674
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1675
|
+
];
|
|
1676
|
+
}).s("Pipes", "UntagResource", {}).n("PipesClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1677
|
+
};
|
|
1678
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1679
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
1680
|
+
|
|
1681
|
+
// src/commands/UpdatePipeCommand.ts
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
var _UpdatePipeCommand = class _UpdatePipeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1687
|
+
...commonParams
|
|
1688
|
+
}).m(function(Command, cs, config, o) {
|
|
1689
|
+
return [
|
|
1690
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1691
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1692
|
+
];
|
|
1693
|
+
}).s("Pipes", "UpdatePipe", {}).n("PipesClient", "UpdatePipeCommand").f(UpdatePipeRequestFilterSensitiveLog, void 0).ser(se_UpdatePipeCommand).de(de_UpdatePipeCommand).build() {
|
|
1694
|
+
};
|
|
1695
|
+
__name(_UpdatePipeCommand, "UpdatePipeCommand");
|
|
1696
|
+
var UpdatePipeCommand = _UpdatePipeCommand;
|
|
1697
|
+
|
|
1698
|
+
// src/Pipes.ts
|
|
1699
|
+
var commands = {
|
|
1700
|
+
CreatePipeCommand,
|
|
1701
|
+
DeletePipeCommand,
|
|
1702
|
+
DescribePipeCommand,
|
|
1703
|
+
ListPipesCommand,
|
|
1704
|
+
ListTagsForResourceCommand,
|
|
1705
|
+
StartPipeCommand,
|
|
1706
|
+
StopPipeCommand,
|
|
1707
|
+
TagResourceCommand,
|
|
1708
|
+
UntagResourceCommand,
|
|
1709
|
+
UpdatePipeCommand
|
|
1710
|
+
};
|
|
1711
|
+
var _Pipes = class _Pipes extends PipesClient {
|
|
1712
|
+
};
|
|
1713
|
+
__name(_Pipes, "Pipes");
|
|
1714
|
+
var Pipes = _Pipes;
|
|
1715
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Pipes);
|
|
1716
|
+
|
|
1717
|
+
// src/pagination/ListPipesPaginator.ts
|
|
1718
|
+
|
|
1719
|
+
var paginateListPipes = (0, import_core.createPaginator)(PipesClient, ListPipesCommand, "NextToken", "NextToken", "Limit");
|
|
1720
|
+
|
|
1721
|
+
// src/index.ts
|
|
1722
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1723
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1724
|
+
0 && (module.exports = {
|
|
1725
|
+
AssignPublicIp,
|
|
1726
|
+
AwsVpcConfigurationFilterSensitiveLog,
|
|
1727
|
+
BatchJobDependencyType,
|
|
1728
|
+
BatchResourceRequirementType,
|
|
1729
|
+
CapacityProviderStrategyItemFilterSensitiveLog,
|
|
1730
|
+
ConflictException,
|
|
1731
|
+
CreatePipeCommand,
|
|
1732
|
+
CreatePipeRequestFilterSensitiveLog,
|
|
1733
|
+
DeletePipeCommand,
|
|
1734
|
+
DescribePipeCommand,
|
|
1735
|
+
DescribePipeResponseFilterSensitiveLog,
|
|
1736
|
+
DynamoDBStreamStartPosition,
|
|
1737
|
+
EcsEnvironmentFileType,
|
|
1738
|
+
EcsResourceRequirementType,
|
|
1739
|
+
FilterCriteriaFilterSensitiveLog,
|
|
1740
|
+
FilterFilterSensitiveLog,
|
|
1741
|
+
IncludeExecutionDataOption,
|
|
1742
|
+
InternalException,
|
|
1743
|
+
KinesisStreamStartPosition,
|
|
1744
|
+
LaunchType,
|
|
1745
|
+
ListPipesCommand,
|
|
1746
|
+
ListPipesRequestFilterSensitiveLog,
|
|
1747
|
+
ListPipesResponseFilterSensitiveLog,
|
|
1748
|
+
ListTagsForResourceCommand,
|
|
1749
|
+
ListTagsForResourceResponseFilterSensitiveLog,
|
|
1750
|
+
LogLevel,
|
|
1751
|
+
MQBrokerAccessCredentials,
|
|
1752
|
+
MSKAccessCredentials,
|
|
1753
|
+
MSKStartPosition,
|
|
1754
|
+
NetworkConfigurationFilterSensitiveLog,
|
|
1755
|
+
NotFoundException,
|
|
1756
|
+
OnPartialBatchItemFailureStreams,
|
|
1757
|
+
PipeEnrichmentHttpParametersFilterSensitiveLog,
|
|
1758
|
+
PipeEnrichmentParametersFilterSensitiveLog,
|
|
1759
|
+
PipeSourceActiveMQBrokerParametersFilterSensitiveLog,
|
|
1760
|
+
PipeSourceManagedStreamingKafkaParametersFilterSensitiveLog,
|
|
1761
|
+
PipeSourceParametersFilterSensitiveLog,
|
|
1762
|
+
PipeSourceRabbitMQBrokerParametersFilterSensitiveLog,
|
|
1763
|
+
PipeSourceSelfManagedKafkaParametersFilterSensitiveLog,
|
|
1764
|
+
PipeState,
|
|
1765
|
+
PipeTargetEcsTaskParametersFilterSensitiveLog,
|
|
1766
|
+
PipeTargetEventBridgeEventBusParametersFilterSensitiveLog,
|
|
1767
|
+
PipeTargetHttpParametersFilterSensitiveLog,
|
|
1768
|
+
PipeTargetInvocationType,
|
|
1769
|
+
PipeTargetKinesisStreamParametersFilterSensitiveLog,
|
|
1770
|
+
PipeTargetParametersFilterSensitiveLog,
|
|
1771
|
+
PipeTargetRedshiftDataParametersFilterSensitiveLog,
|
|
1772
|
+
PipeTargetSageMakerPipelineParametersFilterSensitiveLog,
|
|
1773
|
+
PipeTargetSqsQueueParametersFilterSensitiveLog,
|
|
1774
|
+
Pipes,
|
|
1775
|
+
PipesClient,
|
|
1776
|
+
PipesServiceException,
|
|
1777
|
+
PlacementConstraintFilterSensitiveLog,
|
|
1778
|
+
PlacementConstraintType,
|
|
1779
|
+
PlacementStrategyFilterSensitiveLog,
|
|
1780
|
+
PlacementStrategyType,
|
|
1781
|
+
PropagateTags,
|
|
1782
|
+
RequestedPipeState,
|
|
1783
|
+
RequestedPipeStateDescribeResponse,
|
|
1784
|
+
S3OutputFormat,
|
|
1785
|
+
SageMakerPipelineParameterFilterSensitiveLog,
|
|
1786
|
+
SelfManagedKafkaAccessConfigurationCredentials,
|
|
1787
|
+
SelfManagedKafkaAccessConfigurationVpcFilterSensitiveLog,
|
|
1788
|
+
SelfManagedKafkaStartPosition,
|
|
1789
|
+
ServiceQuotaExceededException,
|
|
1790
|
+
StartPipeCommand,
|
|
1791
|
+
StopPipeCommand,
|
|
1792
|
+
TagFilterSensitiveLog,
|
|
1793
|
+
TagResourceCommand,
|
|
1794
|
+
TagResourceRequestFilterSensitiveLog,
|
|
1795
|
+
ThrottlingException,
|
|
1796
|
+
UntagResourceCommand,
|
|
1797
|
+
UpdatePipeCommand,
|
|
1798
|
+
UpdatePipeRequestFilterSensitiveLog,
|
|
1799
|
+
UpdatePipeSourceParametersFilterSensitiveLog,
|
|
1800
|
+
UpdatePipeSourceSelfManagedKafkaParametersFilterSensitiveLog,
|
|
1801
|
+
ValidationException,
|
|
1802
|
+
__Client,
|
|
1803
|
+
paginateListPipes
|
|
1804
|
+
});
|