@aws-sdk/client-proton 3.926.0 → 3.928.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/index.js +2765 -3968
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ProtonClient.js +2 -0
- package/dist-es/commands/AcceptEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/CancelComponentDeploymentCommand.js +3 -10
- package/dist-es/commands/CancelEnvironmentDeploymentCommand.js +3 -10
- package/dist-es/commands/CancelServiceInstanceDeploymentCommand.js +3 -10
- package/dist-es/commands/CancelServicePipelineDeploymentCommand.js +3 -10
- package/dist-es/commands/CreateComponentCommand.js +3 -10
- package/dist-es/commands/CreateEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/CreateEnvironmentCommand.js +3 -10
- package/dist-es/commands/CreateEnvironmentTemplateCommand.js +3 -10
- package/dist-es/commands/CreateEnvironmentTemplateVersionCommand.js +3 -10
- package/dist-es/commands/CreateRepositoryCommand.js +3 -9
- package/dist-es/commands/CreateServiceCommand.js +3 -10
- package/dist-es/commands/CreateServiceInstanceCommand.js +3 -10
- package/dist-es/commands/CreateServiceSyncConfigCommand.js +3 -9
- package/dist-es/commands/CreateServiceTemplateCommand.js +3 -10
- package/dist-es/commands/CreateServiceTemplateVersionCommand.js +3 -10
- package/dist-es/commands/CreateTemplateSyncConfigCommand.js +3 -9
- package/dist-es/commands/DeleteComponentCommand.js +3 -10
- package/dist-es/commands/DeleteDeploymentCommand.js +3 -10
- package/dist-es/commands/DeleteEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteEnvironmentCommand.js +3 -10
- package/dist-es/commands/DeleteEnvironmentTemplateCommand.js +3 -10
- package/dist-es/commands/DeleteEnvironmentTemplateVersionCommand.js +3 -10
- package/dist-es/commands/DeleteRepositoryCommand.js +3 -9
- package/dist-es/commands/DeleteServiceCommand.js +3 -10
- package/dist-es/commands/DeleteServiceSyncConfigCommand.js +3 -9
- package/dist-es/commands/DeleteServiceTemplateCommand.js +3 -10
- package/dist-es/commands/DeleteServiceTemplateVersionCommand.js +3 -10
- package/dist-es/commands/DeleteTemplateSyncConfigCommand.js +3 -9
- package/dist-es/commands/GetAccountSettingsCommand.js +3 -9
- package/dist-es/commands/GetComponentCommand.js +3 -10
- package/dist-es/commands/GetDeploymentCommand.js +3 -10
- package/dist-es/commands/GetEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/GetEnvironmentCommand.js +3 -10
- package/dist-es/commands/GetEnvironmentTemplateCommand.js +3 -10
- package/dist-es/commands/GetEnvironmentTemplateVersionCommand.js +3 -10
- package/dist-es/commands/GetRepositoryCommand.js +3 -9
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +3 -9
- package/dist-es/commands/GetResourcesSummaryCommand.js +3 -9
- package/dist-es/commands/GetServiceCommand.js +3 -10
- package/dist-es/commands/GetServiceInstanceCommand.js +3 -10
- package/dist-es/commands/GetServiceInstanceSyncStatusCommand.js +3 -9
- package/dist-es/commands/GetServiceSyncBlockerSummaryCommand.js +3 -9
- package/dist-es/commands/GetServiceSyncConfigCommand.js +3 -9
- package/dist-es/commands/GetServiceTemplateCommand.js +3 -10
- package/dist-es/commands/GetServiceTemplateVersionCommand.js +3 -10
- package/dist-es/commands/GetTemplateSyncConfigCommand.js +3 -9
- package/dist-es/commands/GetTemplateSyncStatusCommand.js +3 -9
- package/dist-es/commands/ListComponentOutputsCommand.js +3 -10
- package/dist-es/commands/ListComponentProvisionedResourcesCommand.js +3 -9
- package/dist-es/commands/ListComponentsCommand.js +3 -10
- package/dist-es/commands/ListDeploymentsCommand.js +3 -9
- package/dist-es/commands/ListEnvironmentAccountConnectionsCommand.js +3 -9
- package/dist-es/commands/ListEnvironmentOutputsCommand.js +3 -10
- package/dist-es/commands/ListEnvironmentProvisionedResourcesCommand.js +3 -9
- package/dist-es/commands/ListEnvironmentTemplateVersionsCommand.js +3 -10
- package/dist-es/commands/ListEnvironmentTemplatesCommand.js +3 -10
- package/dist-es/commands/ListEnvironmentsCommand.js +3 -10
- package/dist-es/commands/ListRepositoriesCommand.js +3 -9
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +3 -9
- package/dist-es/commands/ListServiceInstanceOutputsCommand.js +3 -10
- package/dist-es/commands/ListServiceInstanceProvisionedResourcesCommand.js +3 -9
- package/dist-es/commands/ListServiceInstancesCommand.js +3 -10
- package/dist-es/commands/ListServicePipelineOutputsCommand.js +3 -10
- package/dist-es/commands/ListServicePipelineProvisionedResourcesCommand.js +3 -9
- package/dist-es/commands/ListServiceTemplateVersionsCommand.js +3 -10
- package/dist-es/commands/ListServiceTemplatesCommand.js +3 -10
- package/dist-es/commands/ListServicesCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/NotifyResourceDeploymentStatusChangeCommand.js +3 -10
- package/dist-es/commands/RejectEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAccountSettingsCommand.js +3 -9
- package/dist-es/commands/UpdateComponentCommand.js +3 -10
- package/dist-es/commands/UpdateEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/UpdateEnvironmentCommand.js +3 -10
- package/dist-es/commands/UpdateEnvironmentTemplateCommand.js +3 -10
- package/dist-es/commands/UpdateEnvironmentTemplateVersionCommand.js +3 -10
- package/dist-es/commands/UpdateServiceCommand.js +3 -10
- package/dist-es/commands/UpdateServiceInstanceCommand.js +3 -10
- package/dist-es/commands/UpdateServicePipelineCommand.js +3 -10
- package/dist-es/commands/UpdateServiceSyncBlockerCommand.js +3 -9
- package/dist-es/commands/UpdateServiceSyncConfigCommand.js +3 -9
- package/dist-es/commands/UpdateServiceTemplateCommand.js +3 -10
- package/dist-es/commands/UpdateServiceTemplateVersionCommand.js +3 -10
- package/dist-es/commands/UpdateTemplateSyncConfigCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -446
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2572 -0
- package/dist-types/ProtonClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -368
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +358 -0
- package/dist-types/ts3.4/ProtonClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -266
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +364 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -2805
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -785
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -1049
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { ProtonServiceException as __BaseException } from "./ProtonServiceException";
|
|
3
2
|
export const EnvironmentAccountConnectionStatus = {
|
|
4
3
|
CONNECTED: "CONNECTED",
|
|
@@ -240,448 +239,3 @@ export const BlockerType = {
|
|
|
240
239
|
export const ServiceTemplateSupportedComponentSourceType = {
|
|
241
240
|
DIRECTLY_DEFINED: "DIRECTLY_DEFINED",
|
|
242
241
|
};
|
|
243
|
-
export const ComponentFilterSensitiveLog = (obj) => ({
|
|
244
|
-
...obj,
|
|
245
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
246
|
-
...(obj.deploymentStatusMessage && { deploymentStatusMessage: SENSITIVE_STRING }),
|
|
247
|
-
...(obj.serviceSpec && { serviceSpec: SENSITIVE_STRING }),
|
|
248
|
-
});
|
|
249
|
-
export const CancelComponentDeploymentOutputFilterSensitiveLog = (obj) => ({
|
|
250
|
-
...obj,
|
|
251
|
-
...(obj.component && { component: ComponentFilterSensitiveLog(obj.component) }),
|
|
252
|
-
});
|
|
253
|
-
export const EnvironmentFilterSensitiveLog = (obj) => ({
|
|
254
|
-
...obj,
|
|
255
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
256
|
-
...(obj.deploymentStatusMessage && { deploymentStatusMessage: SENSITIVE_STRING }),
|
|
257
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
258
|
-
});
|
|
259
|
-
export const CancelEnvironmentDeploymentOutputFilterSensitiveLog = (obj) => ({
|
|
260
|
-
...obj,
|
|
261
|
-
...(obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }),
|
|
262
|
-
});
|
|
263
|
-
export const ServiceInstanceFilterSensitiveLog = (obj) => ({
|
|
264
|
-
...obj,
|
|
265
|
-
...(obj.deploymentStatusMessage && { deploymentStatusMessage: SENSITIVE_STRING }),
|
|
266
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
267
|
-
});
|
|
268
|
-
export const CancelServiceInstanceDeploymentOutputFilterSensitiveLog = (obj) => ({
|
|
269
|
-
...obj,
|
|
270
|
-
...(obj.serviceInstance && { serviceInstance: ServiceInstanceFilterSensitiveLog(obj.serviceInstance) }),
|
|
271
|
-
});
|
|
272
|
-
export const ServicePipelineFilterSensitiveLog = (obj) => ({
|
|
273
|
-
...obj,
|
|
274
|
-
...(obj.deploymentStatusMessage && { deploymentStatusMessage: SENSITIVE_STRING }),
|
|
275
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
276
|
-
});
|
|
277
|
-
export const CancelServicePipelineDeploymentOutputFilterSensitiveLog = (obj) => ({
|
|
278
|
-
...obj,
|
|
279
|
-
...(obj.pipeline && { pipeline: ServicePipelineFilterSensitiveLog(obj.pipeline) }),
|
|
280
|
-
});
|
|
281
|
-
export const OutputFilterSensitiveLog = (obj) => ({
|
|
282
|
-
...obj,
|
|
283
|
-
});
|
|
284
|
-
export const ListComponentOutputsOutputFilterSensitiveLog = (obj) => ({
|
|
285
|
-
...obj,
|
|
286
|
-
...(obj.outputs && { outputs: SENSITIVE_STRING }),
|
|
287
|
-
});
|
|
288
|
-
export const CreateComponentInputFilterSensitiveLog = (obj) => ({
|
|
289
|
-
...obj,
|
|
290
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
291
|
-
...(obj.templateFile && { templateFile: SENSITIVE_STRING }),
|
|
292
|
-
...(obj.manifest && { manifest: SENSITIVE_STRING }),
|
|
293
|
-
...(obj.serviceSpec && { serviceSpec: SENSITIVE_STRING }),
|
|
294
|
-
});
|
|
295
|
-
export const CreateComponentOutputFilterSensitiveLog = (obj) => ({
|
|
296
|
-
...obj,
|
|
297
|
-
...(obj.component && { component: ComponentFilterSensitiveLog(obj.component) }),
|
|
298
|
-
});
|
|
299
|
-
export const DeleteComponentOutputFilterSensitiveLog = (obj) => ({
|
|
300
|
-
...obj,
|
|
301
|
-
...(obj.component && { component: ComponentFilterSensitiveLog(obj.component) }),
|
|
302
|
-
});
|
|
303
|
-
export const GetComponentOutputFilterSensitiveLog = (obj) => ({
|
|
304
|
-
...obj,
|
|
305
|
-
...(obj.component && { component: ComponentFilterSensitiveLog(obj.component) }),
|
|
306
|
-
});
|
|
307
|
-
export const ComponentSummaryFilterSensitiveLog = (obj) => ({
|
|
308
|
-
...obj,
|
|
309
|
-
...(obj.deploymentStatusMessage && { deploymentStatusMessage: SENSITIVE_STRING }),
|
|
310
|
-
});
|
|
311
|
-
export const ListComponentsOutputFilterSensitiveLog = (obj) => ({
|
|
312
|
-
...obj,
|
|
313
|
-
...(obj.components && { components: obj.components.map((item) => ComponentSummaryFilterSensitiveLog(item)) }),
|
|
314
|
-
});
|
|
315
|
-
export const UpdateComponentInputFilterSensitiveLog = (obj) => ({
|
|
316
|
-
...obj,
|
|
317
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
318
|
-
...(obj.serviceSpec && { serviceSpec: SENSITIVE_STRING }),
|
|
319
|
-
...(obj.templateFile && { templateFile: SENSITIVE_STRING }),
|
|
320
|
-
});
|
|
321
|
-
export const UpdateComponentOutputFilterSensitiveLog = (obj) => ({
|
|
322
|
-
...obj,
|
|
323
|
-
...(obj.component && { component: ComponentFilterSensitiveLog(obj.component) }),
|
|
324
|
-
});
|
|
325
|
-
export const ComponentStateFilterSensitiveLog = (obj) => ({
|
|
326
|
-
...obj,
|
|
327
|
-
...(obj.serviceSpec && { serviceSpec: SENSITIVE_STRING }),
|
|
328
|
-
...(obj.templateFile && { templateFile: SENSITIVE_STRING }),
|
|
329
|
-
});
|
|
330
|
-
export const EnvironmentStateFilterSensitiveLog = (obj) => ({
|
|
331
|
-
...obj,
|
|
332
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
333
|
-
});
|
|
334
|
-
export const ServiceInstanceStateFilterSensitiveLog = (obj) => ({
|
|
335
|
-
...obj,
|
|
336
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
337
|
-
});
|
|
338
|
-
export const ServicePipelineStateFilterSensitiveLog = (obj) => ({
|
|
339
|
-
...obj,
|
|
340
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
341
|
-
});
|
|
342
|
-
export const DeploymentStateFilterSensitiveLog = (obj) => {
|
|
343
|
-
if (obj.serviceInstance !== undefined)
|
|
344
|
-
return { serviceInstance: ServiceInstanceStateFilterSensitiveLog(obj.serviceInstance) };
|
|
345
|
-
if (obj.environment !== undefined)
|
|
346
|
-
return { environment: EnvironmentStateFilterSensitiveLog(obj.environment) };
|
|
347
|
-
if (obj.servicePipeline !== undefined)
|
|
348
|
-
return { servicePipeline: ServicePipelineStateFilterSensitiveLog(obj.servicePipeline) };
|
|
349
|
-
if (obj.component !== undefined)
|
|
350
|
-
return { component: ComponentStateFilterSensitiveLog(obj.component) };
|
|
351
|
-
if (obj.$unknown !== undefined)
|
|
352
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
353
|
-
};
|
|
354
|
-
export const DeploymentFilterSensitiveLog = (obj) => ({
|
|
355
|
-
...obj,
|
|
356
|
-
...(obj.deploymentStatusMessage && { deploymentStatusMessage: SENSITIVE_STRING }),
|
|
357
|
-
...(obj.initialState && { initialState: DeploymentStateFilterSensitiveLog(obj.initialState) }),
|
|
358
|
-
...(obj.targetState && { targetState: DeploymentStateFilterSensitiveLog(obj.targetState) }),
|
|
359
|
-
});
|
|
360
|
-
export const DeleteDeploymentOutputFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
...(obj.deployment && { deployment: DeploymentFilterSensitiveLog(obj.deployment) }),
|
|
363
|
-
});
|
|
364
|
-
export const GetDeploymentOutputFilterSensitiveLog = (obj) => ({
|
|
365
|
-
...obj,
|
|
366
|
-
...(obj.deployment && { deployment: DeploymentFilterSensitiveLog(obj.deployment) }),
|
|
367
|
-
});
|
|
368
|
-
export const ListEnvironmentOutputsOutputFilterSensitiveLog = (obj) => ({
|
|
369
|
-
...obj,
|
|
370
|
-
...(obj.outputs && { outputs: SENSITIVE_STRING }),
|
|
371
|
-
});
|
|
372
|
-
export const CreateEnvironmentInputFilterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
375
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
376
|
-
});
|
|
377
|
-
export const CreateEnvironmentOutputFilterSensitiveLog = (obj) => ({
|
|
378
|
-
...obj,
|
|
379
|
-
...(obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }),
|
|
380
|
-
});
|
|
381
|
-
export const DeleteEnvironmentOutputFilterSensitiveLog = (obj) => ({
|
|
382
|
-
...obj,
|
|
383
|
-
...(obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }),
|
|
384
|
-
});
|
|
385
|
-
export const GetEnvironmentOutputFilterSensitiveLog = (obj) => ({
|
|
386
|
-
...obj,
|
|
387
|
-
...(obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }),
|
|
388
|
-
});
|
|
389
|
-
export const EnvironmentSummaryFilterSensitiveLog = (obj) => ({
|
|
390
|
-
...obj,
|
|
391
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
392
|
-
...(obj.deploymentStatusMessage && { deploymentStatusMessage: SENSITIVE_STRING }),
|
|
393
|
-
});
|
|
394
|
-
export const ListEnvironmentsOutputFilterSensitiveLog = (obj) => ({
|
|
395
|
-
...obj,
|
|
396
|
-
...(obj.environments && { environments: obj.environments.map((item) => EnvironmentSummaryFilterSensitiveLog(item)) }),
|
|
397
|
-
});
|
|
398
|
-
export const UpdateEnvironmentInputFilterSensitiveLog = (obj) => ({
|
|
399
|
-
...obj,
|
|
400
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
401
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
402
|
-
});
|
|
403
|
-
export const UpdateEnvironmentOutputFilterSensitiveLog = (obj) => ({
|
|
404
|
-
...obj,
|
|
405
|
-
...(obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }),
|
|
406
|
-
});
|
|
407
|
-
export const CreateEnvironmentTemplateInputFilterSensitiveLog = (obj) => ({
|
|
408
|
-
...obj,
|
|
409
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
410
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
411
|
-
});
|
|
412
|
-
export const EnvironmentTemplateFilterSensitiveLog = (obj) => ({
|
|
413
|
-
...obj,
|
|
414
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
415
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
416
|
-
});
|
|
417
|
-
export const CreateEnvironmentTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
418
|
-
...obj,
|
|
419
|
-
...(obj.environmentTemplate && {
|
|
420
|
-
environmentTemplate: EnvironmentTemplateFilterSensitiveLog(obj.environmentTemplate),
|
|
421
|
-
}),
|
|
422
|
-
});
|
|
423
|
-
export const DeleteEnvironmentTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
424
|
-
...obj,
|
|
425
|
-
...(obj.environmentTemplate && {
|
|
426
|
-
environmentTemplate: EnvironmentTemplateFilterSensitiveLog(obj.environmentTemplate),
|
|
427
|
-
}),
|
|
428
|
-
});
|
|
429
|
-
export const GetEnvironmentTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
430
|
-
...obj,
|
|
431
|
-
...(obj.environmentTemplate && {
|
|
432
|
-
environmentTemplate: EnvironmentTemplateFilterSensitiveLog(obj.environmentTemplate),
|
|
433
|
-
}),
|
|
434
|
-
});
|
|
435
|
-
export const EnvironmentTemplateSummaryFilterSensitiveLog = (obj) => ({
|
|
436
|
-
...obj,
|
|
437
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
438
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
439
|
-
});
|
|
440
|
-
export const ListEnvironmentTemplatesOutputFilterSensitiveLog = (obj) => ({
|
|
441
|
-
...obj,
|
|
442
|
-
...(obj.templates && { templates: obj.templates.map((item) => EnvironmentTemplateSummaryFilterSensitiveLog(item)) }),
|
|
443
|
-
});
|
|
444
|
-
export const UpdateEnvironmentTemplateInputFilterSensitiveLog = (obj) => ({
|
|
445
|
-
...obj,
|
|
446
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
447
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
448
|
-
});
|
|
449
|
-
export const UpdateEnvironmentTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
450
|
-
...obj,
|
|
451
|
-
...(obj.environmentTemplate && {
|
|
452
|
-
environmentTemplate: EnvironmentTemplateFilterSensitiveLog(obj.environmentTemplate),
|
|
453
|
-
}),
|
|
454
|
-
});
|
|
455
|
-
export const CreateEnvironmentTemplateVersionInputFilterSensitiveLog = (obj) => ({
|
|
456
|
-
...obj,
|
|
457
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
458
|
-
...(obj.source && { source: obj.source }),
|
|
459
|
-
});
|
|
460
|
-
export const EnvironmentTemplateVersionFilterSensitiveLog = (obj) => ({
|
|
461
|
-
...obj,
|
|
462
|
-
...(obj.statusMessage && { statusMessage: SENSITIVE_STRING }),
|
|
463
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
464
|
-
...(obj.schema && { schema: SENSITIVE_STRING }),
|
|
465
|
-
});
|
|
466
|
-
export const CreateEnvironmentTemplateVersionOutputFilterSensitiveLog = (obj) => ({
|
|
467
|
-
...obj,
|
|
468
|
-
...(obj.environmentTemplateVersion && {
|
|
469
|
-
environmentTemplateVersion: EnvironmentTemplateVersionFilterSensitiveLog(obj.environmentTemplateVersion),
|
|
470
|
-
}),
|
|
471
|
-
});
|
|
472
|
-
export const DeleteEnvironmentTemplateVersionOutputFilterSensitiveLog = (obj) => ({
|
|
473
|
-
...obj,
|
|
474
|
-
...(obj.environmentTemplateVersion && {
|
|
475
|
-
environmentTemplateVersion: EnvironmentTemplateVersionFilterSensitiveLog(obj.environmentTemplateVersion),
|
|
476
|
-
}),
|
|
477
|
-
});
|
|
478
|
-
export const GetEnvironmentTemplateVersionOutputFilterSensitiveLog = (obj) => ({
|
|
479
|
-
...obj,
|
|
480
|
-
...(obj.environmentTemplateVersion && {
|
|
481
|
-
environmentTemplateVersion: EnvironmentTemplateVersionFilterSensitiveLog(obj.environmentTemplateVersion),
|
|
482
|
-
}),
|
|
483
|
-
});
|
|
484
|
-
export const EnvironmentTemplateVersionSummaryFilterSensitiveLog = (obj) => ({
|
|
485
|
-
...obj,
|
|
486
|
-
...(obj.statusMessage && { statusMessage: SENSITIVE_STRING }),
|
|
487
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
488
|
-
});
|
|
489
|
-
export const ListEnvironmentTemplateVersionsOutputFilterSensitiveLog = (obj) => ({
|
|
490
|
-
...obj,
|
|
491
|
-
...(obj.templateVersions && {
|
|
492
|
-
templateVersions: obj.templateVersions.map((item) => EnvironmentTemplateVersionSummaryFilterSensitiveLog(item)),
|
|
493
|
-
}),
|
|
494
|
-
});
|
|
495
|
-
export const UpdateEnvironmentTemplateVersionInputFilterSensitiveLog = (obj) => ({
|
|
496
|
-
...obj,
|
|
497
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
498
|
-
});
|
|
499
|
-
export const UpdateEnvironmentTemplateVersionOutputFilterSensitiveLog = (obj) => ({
|
|
500
|
-
...obj,
|
|
501
|
-
...(obj.environmentTemplateVersion && {
|
|
502
|
-
environmentTemplateVersion: EnvironmentTemplateVersionFilterSensitiveLog(obj.environmentTemplateVersion),
|
|
503
|
-
}),
|
|
504
|
-
});
|
|
505
|
-
export const NotifyResourceDeploymentStatusChangeInputFilterSensitiveLog = (obj) => ({
|
|
506
|
-
...obj,
|
|
507
|
-
...(obj.outputs && { outputs: SENSITIVE_STRING }),
|
|
508
|
-
...(obj.statusMessage && { statusMessage: SENSITIVE_STRING }),
|
|
509
|
-
});
|
|
510
|
-
export const ListServiceInstanceOutputsOutputFilterSensitiveLog = (obj) => ({
|
|
511
|
-
...obj,
|
|
512
|
-
...(obj.outputs && { outputs: SENSITIVE_STRING }),
|
|
513
|
-
});
|
|
514
|
-
export const CreateServiceInstanceInputFilterSensitiveLog = (obj) => ({
|
|
515
|
-
...obj,
|
|
516
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
517
|
-
});
|
|
518
|
-
export const CreateServiceInstanceOutputFilterSensitiveLog = (obj) => ({
|
|
519
|
-
...obj,
|
|
520
|
-
...(obj.serviceInstance && { serviceInstance: ServiceInstanceFilterSensitiveLog(obj.serviceInstance) }),
|
|
521
|
-
});
|
|
522
|
-
export const GetServiceInstanceOutputFilterSensitiveLog = (obj) => ({
|
|
523
|
-
...obj,
|
|
524
|
-
...(obj.serviceInstance && { serviceInstance: ServiceInstanceFilterSensitiveLog(obj.serviceInstance) }),
|
|
525
|
-
});
|
|
526
|
-
export const ServiceInstanceSummaryFilterSensitiveLog = (obj) => ({
|
|
527
|
-
...obj,
|
|
528
|
-
...(obj.deploymentStatusMessage && { deploymentStatusMessage: SENSITIVE_STRING }),
|
|
529
|
-
});
|
|
530
|
-
export const ListServiceInstancesOutputFilterSensitiveLog = (obj) => ({
|
|
531
|
-
...obj,
|
|
532
|
-
...(obj.serviceInstances && {
|
|
533
|
-
serviceInstances: obj.serviceInstances.map((item) => ServiceInstanceSummaryFilterSensitiveLog(item)),
|
|
534
|
-
}),
|
|
535
|
-
});
|
|
536
|
-
export const UpdateServiceInstanceInputFilterSensitiveLog = (obj) => ({
|
|
537
|
-
...obj,
|
|
538
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
539
|
-
});
|
|
540
|
-
export const UpdateServiceInstanceOutputFilterSensitiveLog = (obj) => ({
|
|
541
|
-
...obj,
|
|
542
|
-
...(obj.serviceInstance && { serviceInstance: ServiceInstanceFilterSensitiveLog(obj.serviceInstance) }),
|
|
543
|
-
});
|
|
544
|
-
export const ListServicePipelineOutputsOutputFilterSensitiveLog = (obj) => ({
|
|
545
|
-
...obj,
|
|
546
|
-
...(obj.outputs && { outputs: SENSITIVE_STRING }),
|
|
547
|
-
});
|
|
548
|
-
export const UpdateServicePipelineInputFilterSensitiveLog = (obj) => ({
|
|
549
|
-
...obj,
|
|
550
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
551
|
-
});
|
|
552
|
-
export const UpdateServicePipelineOutputFilterSensitiveLog = (obj) => ({
|
|
553
|
-
...obj,
|
|
554
|
-
...(obj.pipeline && { pipeline: ServicePipelineFilterSensitiveLog(obj.pipeline) }),
|
|
555
|
-
});
|
|
556
|
-
export const CreateServiceInputFilterSensitiveLog = (obj) => ({
|
|
557
|
-
...obj,
|
|
558
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
559
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
560
|
-
});
|
|
561
|
-
export const ServiceFilterSensitiveLog = (obj) => ({
|
|
562
|
-
...obj,
|
|
563
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
564
|
-
...(obj.statusMessage && { statusMessage: SENSITIVE_STRING }),
|
|
565
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
566
|
-
...(obj.pipeline && { pipeline: ServicePipelineFilterSensitiveLog(obj.pipeline) }),
|
|
567
|
-
});
|
|
568
|
-
export const CreateServiceOutputFilterSensitiveLog = (obj) => ({
|
|
569
|
-
...obj,
|
|
570
|
-
...(obj.service && { service: ServiceFilterSensitiveLog(obj.service) }),
|
|
571
|
-
});
|
|
572
|
-
export const DeleteServiceOutputFilterSensitiveLog = (obj) => ({
|
|
573
|
-
...obj,
|
|
574
|
-
...(obj.service && { service: ServiceFilterSensitiveLog(obj.service) }),
|
|
575
|
-
});
|
|
576
|
-
export const GetServiceOutputFilterSensitiveLog = (obj) => ({
|
|
577
|
-
...obj,
|
|
578
|
-
...(obj.service && { service: ServiceFilterSensitiveLog(obj.service) }),
|
|
579
|
-
});
|
|
580
|
-
export const ServiceSummaryFilterSensitiveLog = (obj) => ({
|
|
581
|
-
...obj,
|
|
582
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
583
|
-
...(obj.statusMessage && { statusMessage: SENSITIVE_STRING }),
|
|
584
|
-
});
|
|
585
|
-
export const ListServicesOutputFilterSensitiveLog = (obj) => ({
|
|
586
|
-
...obj,
|
|
587
|
-
...(obj.services && { services: obj.services.map((item) => ServiceSummaryFilterSensitiveLog(item)) }),
|
|
588
|
-
});
|
|
589
|
-
export const UpdateServiceInputFilterSensitiveLog = (obj) => ({
|
|
590
|
-
...obj,
|
|
591
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
592
|
-
...(obj.spec && { spec: SENSITIVE_STRING }),
|
|
593
|
-
});
|
|
594
|
-
export const UpdateServiceOutputFilterSensitiveLog = (obj) => ({
|
|
595
|
-
...obj,
|
|
596
|
-
...(obj.service && { service: ServiceFilterSensitiveLog(obj.service) }),
|
|
597
|
-
});
|
|
598
|
-
export const CreateServiceTemplateInputFilterSensitiveLog = (obj) => ({
|
|
599
|
-
...obj,
|
|
600
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
601
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
602
|
-
});
|
|
603
|
-
export const ServiceTemplateFilterSensitiveLog = (obj) => ({
|
|
604
|
-
...obj,
|
|
605
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
606
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
607
|
-
});
|
|
608
|
-
export const CreateServiceTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
609
|
-
...obj,
|
|
610
|
-
...(obj.serviceTemplate && { serviceTemplate: ServiceTemplateFilterSensitiveLog(obj.serviceTemplate) }),
|
|
611
|
-
});
|
|
612
|
-
export const DeleteServiceTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
613
|
-
...obj,
|
|
614
|
-
...(obj.serviceTemplate && { serviceTemplate: ServiceTemplateFilterSensitiveLog(obj.serviceTemplate) }),
|
|
615
|
-
});
|
|
616
|
-
export const GetServiceTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
617
|
-
...obj,
|
|
618
|
-
...(obj.serviceTemplate && { serviceTemplate: ServiceTemplateFilterSensitiveLog(obj.serviceTemplate) }),
|
|
619
|
-
});
|
|
620
|
-
export const ServiceTemplateSummaryFilterSensitiveLog = (obj) => ({
|
|
621
|
-
...obj,
|
|
622
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
623
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
624
|
-
});
|
|
625
|
-
export const ListServiceTemplatesOutputFilterSensitiveLog = (obj) => ({
|
|
626
|
-
...obj,
|
|
627
|
-
...(obj.templates && { templates: obj.templates.map((item) => ServiceTemplateSummaryFilterSensitiveLog(item)) }),
|
|
628
|
-
});
|
|
629
|
-
export const UpdateServiceTemplateInputFilterSensitiveLog = (obj) => ({
|
|
630
|
-
...obj,
|
|
631
|
-
...(obj.displayName && { displayName: SENSITIVE_STRING }),
|
|
632
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
633
|
-
});
|
|
634
|
-
export const UpdateServiceTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
635
|
-
...obj,
|
|
636
|
-
...(obj.serviceTemplate && { serviceTemplate: ServiceTemplateFilterSensitiveLog(obj.serviceTemplate) }),
|
|
637
|
-
});
|
|
638
|
-
export const CreateServiceTemplateVersionInputFilterSensitiveLog = (obj) => ({
|
|
639
|
-
...obj,
|
|
640
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
641
|
-
...(obj.source && { source: obj.source }),
|
|
642
|
-
});
|
|
643
|
-
export const ServiceTemplateVersionFilterSensitiveLog = (obj) => ({
|
|
644
|
-
...obj,
|
|
645
|
-
...(obj.statusMessage && { statusMessage: SENSITIVE_STRING }),
|
|
646
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
647
|
-
...(obj.schema && { schema: SENSITIVE_STRING }),
|
|
648
|
-
});
|
|
649
|
-
export const CreateServiceTemplateVersionOutputFilterSensitiveLog = (obj) => ({
|
|
650
|
-
...obj,
|
|
651
|
-
...(obj.serviceTemplateVersion && {
|
|
652
|
-
serviceTemplateVersion: ServiceTemplateVersionFilterSensitiveLog(obj.serviceTemplateVersion),
|
|
653
|
-
}),
|
|
654
|
-
});
|
|
655
|
-
export const DeleteServiceTemplateVersionOutputFilterSensitiveLog = (obj) => ({
|
|
656
|
-
...obj,
|
|
657
|
-
...(obj.serviceTemplateVersion && {
|
|
658
|
-
serviceTemplateVersion: ServiceTemplateVersionFilterSensitiveLog(obj.serviceTemplateVersion),
|
|
659
|
-
}),
|
|
660
|
-
});
|
|
661
|
-
export const GetServiceTemplateVersionOutputFilterSensitiveLog = (obj) => ({
|
|
662
|
-
...obj,
|
|
663
|
-
...(obj.serviceTemplateVersion && {
|
|
664
|
-
serviceTemplateVersion: ServiceTemplateVersionFilterSensitiveLog(obj.serviceTemplateVersion),
|
|
665
|
-
}),
|
|
666
|
-
});
|
|
667
|
-
export const ServiceTemplateVersionSummaryFilterSensitiveLog = (obj) => ({
|
|
668
|
-
...obj,
|
|
669
|
-
...(obj.statusMessage && { statusMessage: SENSITIVE_STRING }),
|
|
670
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
671
|
-
});
|
|
672
|
-
export const ListServiceTemplateVersionsOutputFilterSensitiveLog = (obj) => ({
|
|
673
|
-
...obj,
|
|
674
|
-
...(obj.templateVersions && {
|
|
675
|
-
templateVersions: obj.templateVersions.map((item) => ServiceTemplateVersionSummaryFilterSensitiveLog(item)),
|
|
676
|
-
}),
|
|
677
|
-
});
|
|
678
|
-
export const UpdateServiceTemplateVersionInputFilterSensitiveLog = (obj) => ({
|
|
679
|
-
...obj,
|
|
680
|
-
...(obj.description && { description: SENSITIVE_STRING }),
|
|
681
|
-
});
|
|
682
|
-
export const UpdateServiceTemplateVersionOutputFilterSensitiveLog = (obj) => ({
|
|
683
|
-
...obj,
|
|
684
|
-
...(obj.serviceTemplateVersion && {
|
|
685
|
-
serviceTemplateVersion: ServiceTemplateVersionFilterSensitiveLog(obj.serviceTemplateVersion),
|
|
686
|
-
}),
|
|
687
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_0Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.proton",
|
|
29
|
+
serviceTarget: "AwsProton20200720",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Proton",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|