@aws-sdk/client-osis 3.887.0 → 3.890.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.
Files changed (58) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/index.js +376 -0
  3. package/dist-es/OSIS.js +16 -0
  4. package/dist-es/commands/CreatePipelineEndpointCommand.js +22 -0
  5. package/dist-es/commands/DeletePipelineEndpointCommand.js +22 -0
  6. package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
  7. package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
  8. package/dist-es/commands/ListPipelineEndpointConnectionsCommand.js +22 -0
  9. package/dist-es/commands/ListPipelineEndpointsCommand.js +22 -0
  10. package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
  11. package/dist-es/commands/RevokePipelineEndpointConnectionsCommand.js +22 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/models/models_0.js +8 -0
  14. package/dist-es/pagination/ListPipelineEndpointConnectionsPaginator.js +4 -0
  15. package/dist-es/pagination/ListPipelineEndpointsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/protocols/Aws_restJson1.js +204 -0
  18. package/dist-types/OSIS.d.ts +58 -0
  19. package/dist-types/OSISClient.d.ts +10 -2
  20. package/dist-types/commands/CreatePipelineCommand.d.ts +2 -1
  21. package/dist-types/commands/CreatePipelineEndpointCommand.d.ts +103 -0
  22. package/dist-types/commands/DeletePipelineCommand.d.ts +2 -1
  23. package/dist-types/commands/DeletePipelineEndpointCommand.d.ts +83 -0
  24. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +89 -0
  25. package/dist-types/commands/GetResourcePolicyCommand.d.ts +92 -0
  26. package/dist-types/commands/ListPipelineBlueprintsCommand.d.ts +2 -1
  27. package/dist-types/commands/ListPipelineEndpointConnectionsCommand.d.ts +97 -0
  28. package/dist-types/commands/ListPipelineEndpointsCommand.d.ts +106 -0
  29. package/dist-types/commands/ListPipelinesCommand.d.ts +3 -2
  30. package/dist-types/commands/PutResourcePolicyCommand.d.ts +94 -0
  31. package/dist-types/commands/RevokePipelineEndpointConnectionsCommand.d.ts +91 -0
  32. package/dist-types/commands/StopPipelineCommand.d.ts +2 -1
  33. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  34. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  35. package/dist-types/commands/UpdatePipelineCommand.d.ts +2 -1
  36. package/dist-types/commands/index.d.ts +8 -0
  37. package/dist-types/models/models_0.d.ts +336 -17
  38. package/dist-types/pagination/ListPipelineEndpointConnectionsPaginator.d.ts +7 -0
  39. package/dist-types/pagination/ListPipelineEndpointsPaginator.d.ts +7 -0
  40. package/dist-types/pagination/index.d.ts +2 -0
  41. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  42. package/dist-types/ts3.4/OSIS.d.ts +144 -0
  43. package/dist-types/ts3.4/OSISClient.d.ts +48 -0
  44. package/dist-types/ts3.4/commands/CreatePipelineEndpointCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/DeletePipelineEndpointCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/ListPipelineEndpointConnectionsCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/ListPipelineEndpointsCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/RevokePipelineEndpointConnectionsCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +84 -0
  54. package/dist-types/ts3.4/pagination/ListPipelineEndpointConnectionsPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/ListPipelineEndpointsPaginator.d.ts +11 -0
  56. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  57. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  58. package/package.json +15 -15
package/README.md CHANGED
@@ -212,6 +212,14 @@ CreatePipeline
212
212
 
213
213
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/CreatePipelineCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/CreatePipelineCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/CreatePipelineCommandOutput/)
214
214
 
215
+ </details>
216
+ <details>
217
+ <summary>
218
+ CreatePipelineEndpoint
219
+ </summary>
220
+
221
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/CreatePipelineEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/CreatePipelineEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/CreatePipelineEndpointCommandOutput/)
222
+
215
223
  </details>
216
224
  <details>
217
225
  <summary>
@@ -220,6 +228,22 @@ DeletePipeline
220
228
 
221
229
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/DeletePipelineCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/DeletePipelineCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/DeletePipelineCommandOutput/)
222
230
 
231
+ </details>
232
+ <details>
233
+ <summary>
234
+ DeletePipelineEndpoint
235
+ </summary>
236
+
237
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/DeletePipelineEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/DeletePipelineEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/DeletePipelineEndpointCommandOutput/)
238
+
239
+ </details>
240
+ <details>
241
+ <summary>
242
+ DeleteResourcePolicy
243
+ </summary>
244
+
245
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/DeleteResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/DeleteResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/DeleteResourcePolicyCommandOutput/)
246
+
223
247
  </details>
224
248
  <details>
225
249
  <summary>
@@ -244,6 +268,14 @@ GetPipelineChangeProgress
244
268
 
245
269
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/GetPipelineChangeProgressCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/GetPipelineChangeProgressCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/GetPipelineChangeProgressCommandOutput/)
246
270
 
271
+ </details>
272
+ <details>
273
+ <summary>
274
+ GetResourcePolicy
275
+ </summary>
276
+
277
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/GetResourcePolicyCommandOutput/)
278
+
247
279
  </details>
248
280
  <details>
249
281
  <summary>
@@ -252,6 +284,22 @@ ListPipelineBlueprints
252
284
 
253
285
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/ListPipelineBlueprintsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/ListPipelineBlueprintsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/ListPipelineBlueprintsCommandOutput/)
254
286
 
287
+ </details>
288
+ <details>
289
+ <summary>
290
+ ListPipelineEndpointConnections
291
+ </summary>
292
+
293
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/ListPipelineEndpointConnectionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/ListPipelineEndpointConnectionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/ListPipelineEndpointConnectionsCommandOutput/)
294
+
295
+ </details>
296
+ <details>
297
+ <summary>
298
+ ListPipelineEndpoints
299
+ </summary>
300
+
301
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/ListPipelineEndpointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/ListPipelineEndpointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/ListPipelineEndpointsCommandOutput/)
302
+
255
303
  </details>
256
304
  <details>
257
305
  <summary>
@@ -268,6 +316,22 @@ ListTagsForResource
268
316
 
269
317
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/ListTagsForResourceCommandOutput/)
270
318
 
319
+ </details>
320
+ <details>
321
+ <summary>
322
+ PutResourcePolicy
323
+ </summary>
324
+
325
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/PutResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/PutResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/PutResourcePolicyCommandOutput/)
326
+
327
+ </details>
328
+ <details>
329
+ <summary>
330
+ RevokePipelineEndpointConnections
331
+ </summary>
332
+
333
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/osis/command/RevokePipelineEndpointConnectionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/RevokePipelineEndpointConnectionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-osis/Interface/RevokePipelineEndpointConnectionsCommandOutput/)
334
+
271
335
  </details>
272
336
  <details>
273
337
  <summary>
package/dist-cjs/index.js CHANGED
@@ -26,23 +26,32 @@ __export(index_exports, {
26
26
  ChangeProgressStatuses: () => ChangeProgressStatuses,
27
27
  ConflictException: () => ConflictException,
28
28
  CreatePipelineCommand: () => CreatePipelineCommand,
29
+ CreatePipelineEndpointCommand: () => CreatePipelineEndpointCommand,
29
30
  DeletePipelineCommand: () => DeletePipelineCommand,
31
+ DeletePipelineEndpointCommand: () => DeletePipelineEndpointCommand,
32
+ DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand,
30
33
  DisabledOperationException: () => DisabledOperationException,
31
34
  GetPipelineBlueprintCommand: () => GetPipelineBlueprintCommand,
32
35
  GetPipelineChangeProgressCommand: () => GetPipelineChangeProgressCommand,
33
36
  GetPipelineCommand: () => GetPipelineCommand,
37
+ GetResourcePolicyCommand: () => GetResourcePolicyCommand,
34
38
  InternalException: () => InternalException,
35
39
  InvalidPaginationTokenException: () => InvalidPaginationTokenException,
36
40
  LimitExceededException: () => LimitExceededException,
37
41
  ListPipelineBlueprintsCommand: () => ListPipelineBlueprintsCommand,
42
+ ListPipelineEndpointConnectionsCommand: () => ListPipelineEndpointConnectionsCommand,
43
+ ListPipelineEndpointsCommand: () => ListPipelineEndpointsCommand,
38
44
  ListPipelinesCommand: () => ListPipelinesCommand,
39
45
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
40
46
  OSIS: () => OSIS,
41
47
  OSISClient: () => OSISClient,
42
48
  OSISServiceException: () => OSISServiceException,
49
+ PipelineEndpointStatus: () => PipelineEndpointStatus,
43
50
  PipelineStatus: () => PipelineStatus,
51
+ PutResourcePolicyCommand: () => PutResourcePolicyCommand,
44
52
  ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
45
53
  ResourceNotFoundException: () => ResourceNotFoundException,
54
+ RevokePipelineEndpointConnectionsCommand: () => RevokePipelineEndpointConnectionsCommand,
46
55
  StartPipelineCommand: () => StartPipelineCommand,
47
56
  StopPipelineCommand: () => StopPipelineCommand,
48
57
  TagResourceCommand: () => TagResourceCommand,
@@ -53,6 +62,8 @@ __export(index_exports, {
53
62
  VpcEndpointManagement: () => VpcEndpointManagement,
54
63
  VpcEndpointServiceName: () => VpcEndpointServiceName,
55
64
  __Client: () => import_smithy_client.Client,
65
+ paginateListPipelineEndpointConnections: () => paginateListPipelineEndpointConnections,
66
+ paginateListPipelineEndpoints: () => paginateListPipelineEndpoints,
56
67
  paginateListPipelines: () => paginateListPipelines
57
68
  });
58
69
  module.exports = __toCommonJS(index_exports);
@@ -372,6 +383,14 @@ var ValidationException = class _ValidationException extends OSISServiceExceptio
372
383
  Object.setPrototypeOf(this, _ValidationException.prototype);
373
384
  }
374
385
  };
386
+ var PipelineEndpointStatus = {
387
+ ACTIVE: "ACTIVE",
388
+ CREATE_FAILED: "CREATE_FAILED",
389
+ CREATING: "CREATING",
390
+ DELETING: "DELETING",
391
+ REVOKED: "REVOKED",
392
+ REVOKING: "REVOKING"
393
+ };
375
394
  var ConflictException = class _ConflictException extends OSISServiceException {
376
395
  static {
377
396
  __name(this, "ConflictException");
@@ -446,6 +465,22 @@ var se_CreatePipelineCommand = /* @__PURE__ */ __name(async (input, context) =>
446
465
  b.m("POST").h(headers).b(body);
447
466
  return b.build();
448
467
  }, "se_CreatePipelineCommand");
468
+ var se_CreatePipelineEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
469
+ const b = (0, import_core.requestBuilder)(input, context);
470
+ const headers = {
471
+ "content-type": "application/json"
472
+ };
473
+ b.bp("/2022-01-01/osis/createPipelineEndpoint");
474
+ let body;
475
+ body = JSON.stringify(
476
+ (0, import_smithy_client.take)(input, {
477
+ PipelineArn: [],
478
+ VpcOptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VpcOptions")
479
+ })
480
+ );
481
+ b.m("POST").h(headers).b(body);
482
+ return b.build();
483
+ }, "se_CreatePipelineEndpointCommand");
449
484
  var se_DeletePipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
450
485
  const b = (0, import_core.requestBuilder)(input, context);
451
486
  const headers = {};
@@ -455,6 +490,24 @@ var se_DeletePipelineCommand = /* @__PURE__ */ __name(async (input, context) =>
455
490
  b.m("DELETE").h(headers).b(body);
456
491
  return b.build();
457
492
  }, "se_DeletePipelineCommand");
493
+ var se_DeletePipelineEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
494
+ const b = (0, import_core.requestBuilder)(input, context);
495
+ const headers = {};
496
+ b.bp("/2022-01-01/osis/deletePipelineEndpoint/{EndpointId}");
497
+ b.p("EndpointId", () => input.EndpointId, "{EndpointId}", false);
498
+ let body;
499
+ b.m("DELETE").h(headers).b(body);
500
+ return b.build();
501
+ }, "se_DeletePipelineEndpointCommand");
502
+ var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
503
+ const b = (0, import_core.requestBuilder)(input, context);
504
+ const headers = {};
505
+ b.bp("/2022-01-01/osis/resourcePolicy/{ResourceArn}");
506
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
507
+ let body;
508
+ b.m("DELETE").h(headers).b(body);
509
+ return b.build();
510
+ }, "se_DeleteResourcePolicyCommand");
458
511
  var se_GetPipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
459
512
  const b = (0, import_core.requestBuilder)(input, context);
460
513
  const headers = {};
@@ -485,6 +538,15 @@ var se_GetPipelineChangeProgressCommand = /* @__PURE__ */ __name(async (input, c
485
538
  b.m("GET").h(headers).b(body);
486
539
  return b.build();
487
540
  }, "se_GetPipelineChangeProgressCommand");
541
+ var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
542
+ const b = (0, import_core.requestBuilder)(input, context);
543
+ const headers = {};
544
+ b.bp("/2022-01-01/osis/resourcePolicy/{ResourceArn}");
545
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
546
+ let body;
547
+ b.m("GET").h(headers).b(body);
548
+ return b.build();
549
+ }, "se_GetResourcePolicyCommand");
488
550
  var se_ListPipelineBlueprintsCommand = /* @__PURE__ */ __name(async (input, context) => {
489
551
  const b = (0, import_core.requestBuilder)(input, context);
490
552
  const headers = {};
@@ -493,6 +555,30 @@ var se_ListPipelineBlueprintsCommand = /* @__PURE__ */ __name(async (input, cont
493
555
  b.m("POST").h(headers).b(body);
494
556
  return b.build();
495
557
  }, "se_ListPipelineBlueprintsCommand");
558
+ var se_ListPipelineEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
559
+ const b = (0, import_core.requestBuilder)(input, context);
560
+ const headers = {};
561
+ b.bp("/2022-01-01/osis/listPipelineEndpointConnections");
562
+ const query = (0, import_smithy_client.map)({
563
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
564
+ [_nT]: [, input[_NT]]
565
+ });
566
+ let body;
567
+ b.m("GET").h(headers).q(query).b(body);
568
+ return b.build();
569
+ }, "se_ListPipelineEndpointConnectionsCommand");
570
+ var se_ListPipelineEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
571
+ const b = (0, import_core.requestBuilder)(input, context);
572
+ const headers = {};
573
+ b.bp("/2022-01-01/osis/listPipelineEndpoints");
574
+ const query = (0, import_smithy_client.map)({
575
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
576
+ [_nT]: [, input[_NT]]
577
+ });
578
+ let body;
579
+ b.m("GET").h(headers).q(query).b(body);
580
+ return b.build();
581
+ }, "se_ListPipelineEndpointsCommand");
496
582
  var se_ListPipelinesCommand = /* @__PURE__ */ __name(async (input, context) => {
497
583
  const b = (0, import_core.requestBuilder)(input, context);
498
584
  const headers = {};
@@ -516,6 +602,38 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
516
602
  b.m("GET").h(headers).q(query).b(body);
517
603
  return b.build();
518
604
  }, "se_ListTagsForResourceCommand");
605
+ var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
606
+ const b = (0, import_core.requestBuilder)(input, context);
607
+ const headers = {
608
+ "content-type": "application/json"
609
+ };
610
+ b.bp("/2022-01-01/osis/resourcePolicy/{ResourceArn}");
611
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
612
+ let body;
613
+ body = JSON.stringify(
614
+ (0, import_smithy_client.take)(input, {
615
+ Policy: []
616
+ })
617
+ );
618
+ b.m("PUT").h(headers).b(body);
619
+ return b.build();
620
+ }, "se_PutResourcePolicyCommand");
621
+ var se_RevokePipelineEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
622
+ const b = (0, import_core.requestBuilder)(input, context);
623
+ const headers = {
624
+ "content-type": "application/json"
625
+ };
626
+ b.bp("/2022-01-01/osis/revokePipelineEndpointConnections");
627
+ let body;
628
+ body = JSON.stringify(
629
+ (0, import_smithy_client.take)(input, {
630
+ EndpointIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EndpointIds"),
631
+ PipelineArn: []
632
+ })
633
+ );
634
+ b.m("POST").h(headers).b(body);
635
+ return b.build();
636
+ }, "se_RevokePipelineEndpointConnectionsCommand");
519
637
  var se_StartPipelineCommand = /* @__PURE__ */ __name(async (input, context) => {
520
638
  const b = (0, import_core.requestBuilder)(input, context);
521
639
  const headers = {};
@@ -621,6 +739,23 @@ var de_CreatePipelineCommand = /* @__PURE__ */ __name(async (output, context) =>
621
739
  Object.assign(contents, doc);
622
740
  return contents;
623
741
  }, "de_CreatePipelineCommand");
742
+ var de_CreatePipelineEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
743
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
744
+ return de_CommandError(output, context);
745
+ }
746
+ const contents = (0, import_smithy_client.map)({
747
+ $metadata: deserializeMetadata(output)
748
+ });
749
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
750
+ const doc = (0, import_smithy_client.take)(data, {
751
+ EndpointId: import_smithy_client.expectString,
752
+ PipelineArn: import_smithy_client.expectString,
753
+ Status: import_smithy_client.expectString,
754
+ VpcId: import_smithy_client.expectString
755
+ });
756
+ Object.assign(contents, doc);
757
+ return contents;
758
+ }, "de_CreatePipelineEndpointCommand");
624
759
  var de_DeletePipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
625
760
  if (output.statusCode !== 200 && output.statusCode >= 300) {
626
761
  return de_CommandError(output, context);
@@ -631,6 +766,26 @@ var de_DeletePipelineCommand = /* @__PURE__ */ __name(async (output, context) =>
631
766
  await (0, import_smithy_client.collectBody)(output.body, context);
632
767
  return contents;
633
768
  }, "de_DeletePipelineCommand");
769
+ var de_DeletePipelineEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
770
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
771
+ return de_CommandError(output, context);
772
+ }
773
+ const contents = (0, import_smithy_client.map)({
774
+ $metadata: deserializeMetadata(output)
775
+ });
776
+ await (0, import_smithy_client.collectBody)(output.body, context);
777
+ return contents;
778
+ }, "de_DeletePipelineEndpointCommand");
779
+ var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
780
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
781
+ return de_CommandError(output, context);
782
+ }
783
+ const contents = (0, import_smithy_client.map)({
784
+ $metadata: deserializeMetadata(output)
785
+ });
786
+ await (0, import_smithy_client.collectBody)(output.body, context);
787
+ return contents;
788
+ }, "de_DeleteResourcePolicyCommand");
634
789
  var de_GetPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
635
790
  if (output.statusCode !== 200 && output.statusCode >= 300) {
636
791
  return de_CommandError(output, context);
@@ -674,6 +829,21 @@ var de_GetPipelineChangeProgressCommand = /* @__PURE__ */ __name(async (output,
674
829
  Object.assign(contents, doc);
675
830
  return contents;
676
831
  }, "de_GetPipelineChangeProgressCommand");
832
+ var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
833
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
834
+ return de_CommandError(output, context);
835
+ }
836
+ const contents = (0, import_smithy_client.map)({
837
+ $metadata: deserializeMetadata(output)
838
+ });
839
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
840
+ const doc = (0, import_smithy_client.take)(data, {
841
+ Policy: import_smithy_client.expectString,
842
+ ResourceArn: import_smithy_client.expectString
843
+ });
844
+ Object.assign(contents, doc);
845
+ return contents;
846
+ }, "de_GetResourcePolicyCommand");
677
847
  var de_ListPipelineBlueprintsCommand = /* @__PURE__ */ __name(async (output, context) => {
678
848
  if (output.statusCode !== 200 && output.statusCode >= 300) {
679
849
  return de_CommandError(output, context);
@@ -688,6 +858,36 @@ var de_ListPipelineBlueprintsCommand = /* @__PURE__ */ __name(async (output, con
688
858
  Object.assign(contents, doc);
689
859
  return contents;
690
860
  }, "de_ListPipelineBlueprintsCommand");
861
+ var de_ListPipelineEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
862
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
863
+ return de_CommandError(output, context);
864
+ }
865
+ const contents = (0, import_smithy_client.map)({
866
+ $metadata: deserializeMetadata(output)
867
+ });
868
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
869
+ const doc = (0, import_smithy_client.take)(data, {
870
+ NextToken: import_smithy_client.expectString,
871
+ PipelineEndpointConnections: import_smithy_client._json
872
+ });
873
+ Object.assign(contents, doc);
874
+ return contents;
875
+ }, "de_ListPipelineEndpointConnectionsCommand");
876
+ var de_ListPipelineEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
877
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
878
+ return de_CommandError(output, context);
879
+ }
880
+ const contents = (0, import_smithy_client.map)({
881
+ $metadata: deserializeMetadata(output)
882
+ });
883
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
884
+ const doc = (0, import_smithy_client.take)(data, {
885
+ NextToken: import_smithy_client.expectString,
886
+ PipelineEndpoints: import_smithy_client._json
887
+ });
888
+ Object.assign(contents, doc);
889
+ return contents;
890
+ }, "de_ListPipelineEndpointsCommand");
691
891
  var de_ListPipelinesCommand = /* @__PURE__ */ __name(async (output, context) => {
692
892
  if (output.statusCode !== 200 && output.statusCode >= 300) {
693
893
  return de_CommandError(output, context);
@@ -717,6 +917,35 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
717
917
  Object.assign(contents, doc);
718
918
  return contents;
719
919
  }, "de_ListTagsForResourceCommand");
920
+ var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
921
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
922
+ return de_CommandError(output, context);
923
+ }
924
+ const contents = (0, import_smithy_client.map)({
925
+ $metadata: deserializeMetadata(output)
926
+ });
927
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
928
+ const doc = (0, import_smithy_client.take)(data, {
929
+ Policy: import_smithy_client.expectString,
930
+ ResourceArn: import_smithy_client.expectString
931
+ });
932
+ Object.assign(contents, doc);
933
+ return contents;
934
+ }, "de_PutResourcePolicyCommand");
935
+ var de_RevokePipelineEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
936
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
937
+ return de_CommandError(output, context);
938
+ }
939
+ const contents = (0, import_smithy_client.map)({
940
+ $metadata: deserializeMetadata(output)
941
+ });
942
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
943
+ const doc = (0, import_smithy_client.take)(data, {
944
+ PipelineArn: import_smithy_client.expectString
945
+ });
946
+ Object.assign(contents, doc);
947
+ return contents;
948
+ }, "de_RevokePipelineEndpointConnectionsCommand");
720
949
  var de_StartPipelineCommand = /* @__PURE__ */ __name(async (output, context) => {
721
950
  if (output.statusCode !== 200 && output.statusCode >= 300) {
722
951
  return de_CommandError(output, context);
@@ -1053,6 +1282,21 @@ var CreatePipelineCommand = class extends import_smithy_client.Command.classBuil
1053
1282
  }
1054
1283
  };
1055
1284
 
1285
+ // src/commands/CreatePipelineEndpointCommand.ts
1286
+
1287
+
1288
+
1289
+ var CreatePipelineEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1290
+ return [
1291
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1292
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1293
+ ];
1294
+ }).s("AmazonOpenSearchIngestionService", "CreatePipelineEndpoint", {}).n("OSISClient", "CreatePipelineEndpointCommand").f(void 0, void 0).ser(se_CreatePipelineEndpointCommand).de(de_CreatePipelineEndpointCommand).build() {
1295
+ static {
1296
+ __name(this, "CreatePipelineEndpointCommand");
1297
+ }
1298
+ };
1299
+
1056
1300
  // src/commands/DeletePipelineCommand.ts
1057
1301
 
1058
1302
 
@@ -1068,6 +1312,36 @@ var DeletePipelineCommand = class extends import_smithy_client.Command.classBuil
1068
1312
  }
1069
1313
  };
1070
1314
 
1315
+ // src/commands/DeletePipelineEndpointCommand.ts
1316
+
1317
+
1318
+
1319
+ var DeletePipelineEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1320
+ return [
1321
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1322
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1323
+ ];
1324
+ }).s("AmazonOpenSearchIngestionService", "DeletePipelineEndpoint", {}).n("OSISClient", "DeletePipelineEndpointCommand").f(void 0, void 0).ser(se_DeletePipelineEndpointCommand).de(de_DeletePipelineEndpointCommand).build() {
1325
+ static {
1326
+ __name(this, "DeletePipelineEndpointCommand");
1327
+ }
1328
+ };
1329
+
1330
+ // src/commands/DeleteResourcePolicyCommand.ts
1331
+
1332
+
1333
+
1334
+ var DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1335
+ return [
1336
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1337
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1338
+ ];
1339
+ }).s("AmazonOpenSearchIngestionService", "DeleteResourcePolicy", {}).n("OSISClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {
1340
+ static {
1341
+ __name(this, "DeleteResourcePolicyCommand");
1342
+ }
1343
+ };
1344
+
1071
1345
  // src/commands/GetPipelineBlueprintCommand.ts
1072
1346
 
1073
1347
 
@@ -1113,6 +1387,21 @@ var GetPipelineCommand = class extends import_smithy_client.Command.classBuilder
1113
1387
  }
1114
1388
  };
1115
1389
 
1390
+ // src/commands/GetResourcePolicyCommand.ts
1391
+
1392
+
1393
+
1394
+ var GetResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1395
+ return [
1396
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1397
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1398
+ ];
1399
+ }).s("AmazonOpenSearchIngestionService", "GetResourcePolicy", {}).n("OSISClient", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
1400
+ static {
1401
+ __name(this, "GetResourcePolicyCommand");
1402
+ }
1403
+ };
1404
+
1116
1405
  // src/commands/ListPipelineBlueprintsCommand.ts
1117
1406
 
1118
1407
 
@@ -1128,6 +1417,36 @@ var ListPipelineBlueprintsCommand = class extends import_smithy_client.Command.c
1128
1417
  }
1129
1418
  };
1130
1419
 
1420
+ // src/commands/ListPipelineEndpointConnectionsCommand.ts
1421
+
1422
+
1423
+
1424
+ var ListPipelineEndpointConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1425
+ return [
1426
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1427
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1428
+ ];
1429
+ }).s("AmazonOpenSearchIngestionService", "ListPipelineEndpointConnections", {}).n("OSISClient", "ListPipelineEndpointConnectionsCommand").f(void 0, void 0).ser(se_ListPipelineEndpointConnectionsCommand).de(de_ListPipelineEndpointConnectionsCommand).build() {
1430
+ static {
1431
+ __name(this, "ListPipelineEndpointConnectionsCommand");
1432
+ }
1433
+ };
1434
+
1435
+ // src/commands/ListPipelineEndpointsCommand.ts
1436
+
1437
+
1438
+
1439
+ var ListPipelineEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1440
+ return [
1441
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1442
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1443
+ ];
1444
+ }).s("AmazonOpenSearchIngestionService", "ListPipelineEndpoints", {}).n("OSISClient", "ListPipelineEndpointsCommand").f(void 0, void 0).ser(se_ListPipelineEndpointsCommand).de(de_ListPipelineEndpointsCommand).build() {
1445
+ static {
1446
+ __name(this, "ListPipelineEndpointsCommand");
1447
+ }
1448
+ };
1449
+
1131
1450
  // src/commands/ListPipelinesCommand.ts
1132
1451
 
1133
1452
 
@@ -1158,6 +1477,36 @@ var ListTagsForResourceCommand = class extends import_smithy_client.Command.clas
1158
1477
  }
1159
1478
  };
1160
1479
 
1480
+ // src/commands/PutResourcePolicyCommand.ts
1481
+
1482
+
1483
+
1484
+ var PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1485
+ return [
1486
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1487
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1488
+ ];
1489
+ }).s("AmazonOpenSearchIngestionService", "PutResourcePolicy", {}).n("OSISClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {
1490
+ static {
1491
+ __name(this, "PutResourcePolicyCommand");
1492
+ }
1493
+ };
1494
+
1495
+ // src/commands/RevokePipelineEndpointConnectionsCommand.ts
1496
+
1497
+
1498
+
1499
+ var RevokePipelineEndpointConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1500
+ return [
1501
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1502
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1503
+ ];
1504
+ }).s("AmazonOpenSearchIngestionService", "RevokePipelineEndpointConnections", {}).n("OSISClient", "RevokePipelineEndpointConnectionsCommand").f(void 0, void 0).ser(se_RevokePipelineEndpointConnectionsCommand).de(de_RevokePipelineEndpointConnectionsCommand).build() {
1505
+ static {
1506
+ __name(this, "RevokePipelineEndpointConnectionsCommand");
1507
+ }
1508
+ };
1509
+
1161
1510
  // src/commands/StartPipelineCommand.ts
1162
1511
 
1163
1512
 
@@ -1251,13 +1600,21 @@ var ValidatePipelineCommand = class extends import_smithy_client.Command.classBu
1251
1600
  // src/OSIS.ts
1252
1601
  var commands = {
1253
1602
  CreatePipelineCommand,
1603
+ CreatePipelineEndpointCommand,
1254
1604
  DeletePipelineCommand,
1605
+ DeletePipelineEndpointCommand,
1606
+ DeleteResourcePolicyCommand,
1255
1607
  GetPipelineCommand,
1256
1608
  GetPipelineBlueprintCommand,
1257
1609
  GetPipelineChangeProgressCommand,
1610
+ GetResourcePolicyCommand,
1258
1611
  ListPipelineBlueprintsCommand,
1612
+ ListPipelineEndpointConnectionsCommand,
1613
+ ListPipelineEndpointsCommand,
1259
1614
  ListPipelinesCommand,
1260
1615
  ListTagsForResourceCommand,
1616
+ PutResourcePolicyCommand,
1617
+ RevokePipelineEndpointConnectionsCommand,
1261
1618
  StartPipelineCommand,
1262
1619
  StopPipelineCommand,
1263
1620
  TagResourceCommand,
@@ -1272,6 +1629,14 @@ var OSIS = class extends OSISClient {
1272
1629
  };
1273
1630
  (0, import_smithy_client.createAggregatedClient)(commands, OSIS);
1274
1631
 
1632
+ // src/pagination/ListPipelineEndpointConnectionsPaginator.ts
1633
+
1634
+ var paginateListPipelineEndpointConnections = (0, import_core.createPaginator)(OSISClient, ListPipelineEndpointConnectionsCommand, "NextToken", "NextToken", "MaxResults");
1635
+
1636
+ // src/pagination/ListPipelineEndpointsPaginator.ts
1637
+
1638
+ var paginateListPipelineEndpoints = (0, import_core.createPaginator)(OSISClient, ListPipelineEndpointsCommand, "NextToken", "NextToken", "MaxResults");
1639
+
1275
1640
  // src/pagination/ListPipelinesPaginator.ts
1276
1641
 
1277
1642
  var paginateListPipelines = (0, import_core.createPaginator)(OSISClient, ListPipelinesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1284,19 +1649,29 @@ var paginateListPipelines = (0, import_core.createPaginator)(OSISClient, ListPip
1284
1649
  OSIS,
1285
1650
  $Command,
1286
1651
  CreatePipelineCommand,
1652
+ CreatePipelineEndpointCommand,
1287
1653
  DeletePipelineCommand,
1654
+ DeletePipelineEndpointCommand,
1655
+ DeleteResourcePolicyCommand,
1288
1656
  GetPipelineBlueprintCommand,
1289
1657
  GetPipelineChangeProgressCommand,
1290
1658
  GetPipelineCommand,
1659
+ GetResourcePolicyCommand,
1291
1660
  ListPipelineBlueprintsCommand,
1661
+ ListPipelineEndpointConnectionsCommand,
1662
+ ListPipelineEndpointsCommand,
1292
1663
  ListPipelinesCommand,
1293
1664
  ListTagsForResourceCommand,
1665
+ PutResourcePolicyCommand,
1666
+ RevokePipelineEndpointConnectionsCommand,
1294
1667
  StartPipelineCommand,
1295
1668
  StopPipelineCommand,
1296
1669
  TagResourceCommand,
1297
1670
  UntagResourceCommand,
1298
1671
  UpdatePipelineCommand,
1299
1672
  ValidatePipelineCommand,
1673
+ paginateListPipelineEndpointConnections,
1674
+ paginateListPipelineEndpoints,
1300
1675
  paginateListPipelines,
1301
1676
  AccessDeniedException,
1302
1677
  VpcEndpointManagement,
@@ -1308,6 +1683,7 @@ var paginateListPipelines = (0, import_core.createPaginator)(OSISClient, ListPip
1308
1683
  ResourceAlreadyExistsException,
1309
1684
  ResourceNotFoundException,
1310
1685
  ValidationException,
1686
+ PipelineEndpointStatus,
1311
1687
  ConflictException,
1312
1688
  ChangeProgressStageStatuses,
1313
1689
  ChangeProgressStatuses,