@aws-sdk/client-osis 3.577.0 → 3.580.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 CHANGED
@@ -27,6 +27,7 @@ __export(src_exports, {
27
27
  ConflictException: () => ConflictException,
28
28
  CreatePipelineCommand: () => CreatePipelineCommand,
29
29
  DeletePipelineCommand: () => DeletePipelineCommand,
30
+ DisabledOperationException: () => DisabledOperationException,
30
31
  GetPipelineBlueprintCommand: () => GetPipelineBlueprintCommand,
31
32
  GetPipelineChangeProgressCommand: () => GetPipelineChangeProgressCommand,
32
33
  GetPipelineCommand: () => GetPipelineCommand,
@@ -259,6 +260,23 @@ var PipelineStatus = {
259
260
  UPDATE_FAILED: "UPDATE_FAILED",
260
261
  UPDATING: "UPDATING"
261
262
  };
263
+ var _DisabledOperationException = class _DisabledOperationException extends OSISServiceException {
264
+ /**
265
+ * @internal
266
+ */
267
+ constructor(opts) {
268
+ super({
269
+ name: "DisabledOperationException",
270
+ $fault: "client",
271
+ ...opts
272
+ });
273
+ this.name = "DisabledOperationException";
274
+ this.$fault = "client";
275
+ Object.setPrototypeOf(this, _DisabledOperationException.prototype);
276
+ }
277
+ };
278
+ __name(_DisabledOperationException, "DisabledOperationException");
279
+ var DisabledOperationException = _DisabledOperationException;
262
280
  var _InternalException = class _InternalException extends OSISServiceException {
263
281
  /**
264
282
  * @internal
@@ -438,8 +456,11 @@ var se_GetPipelineBlueprintCommand = /* @__PURE__ */ __name(async (input, contex
438
456
  const headers = {};
439
457
  b.bp("/2022-01-01/osis/getPipelineBlueprint/{BlueprintName}");
440
458
  b.p("BlueprintName", () => input.BlueprintName, "{BlueprintName}", false);
459
+ const query = (0, import_smithy_client.map)({
460
+ [_f]: [, input[_F]]
461
+ });
441
462
  let body;
442
- b.m("GET").h(headers).b(body);
463
+ b.m("GET").h(headers).q(query).b(body);
443
464
  return b.build();
444
465
  }, "se_GetPipelineBlueprintCommand");
445
466
  var se_GetPipelineChangeProgressCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -622,7 +643,8 @@ var de_GetPipelineBlueprintCommand = /* @__PURE__ */ __name(async (output, conte
622
643
  });
623
644
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
624
645
  const doc = (0, import_smithy_client.take)(data, {
625
- Blueprint: import_smithy_client._json
646
+ Blueprint: import_smithy_client._json,
647
+ Format: import_smithy_client.expectString
626
648
  });
627
649
  Object.assign(contents, doc);
628
650
  return contents;
@@ -771,6 +793,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
771
793
  case "AccessDeniedException":
772
794
  case "com.amazonaws.osis#AccessDeniedException":
773
795
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
796
+ case "DisabledOperationException":
797
+ case "com.amazonaws.osis#DisabledOperationException":
798
+ throw await de_DisabledOperationExceptionRes(parsedOutput, context);
774
799
  case "InternalException":
775
800
  case "com.amazonaws.osis#InternalException":
776
801
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -828,6 +853,19 @@ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, contex
828
853
  });
829
854
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
830
855
  }, "de_ConflictExceptionRes");
856
+ var de_DisabledOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
857
+ const contents = (0, import_smithy_client.map)({});
858
+ const data = parsedOutput.body;
859
+ const doc = (0, import_smithy_client.take)(data, {
860
+ message: import_smithy_client.expectString
861
+ });
862
+ Object.assign(contents, doc);
863
+ const exception = new DisabledOperationException({
864
+ $metadata: deserializeMetadata(parsedOutput),
865
+ ...contents
866
+ });
867
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
868
+ }, "de_DisabledOperationExceptionRes");
831
869
  var de_InternalExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
832
870
  const contents = (0, import_smithy_client.map)({});
833
871
  const data = parsedOutput.body;
@@ -938,6 +976,7 @@ var de_Pipeline = /* @__PURE__ */ __name((output, context) => {
938
976
  return (0, import_smithy_client.take)(output, {
939
977
  BufferOptions: import_smithy_client._json,
940
978
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
979
+ Destinations: import_smithy_client._json,
941
980
  EncryptionAtRestOptions: import_smithy_client._json,
942
981
  IngestEndpointUrls: import_smithy_client._json,
943
982
  LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -957,6 +996,7 @@ var de_Pipeline = /* @__PURE__ */ __name((output, context) => {
957
996
  var de_PipelineSummary = /* @__PURE__ */ __name((output, context) => {
958
997
  return (0, import_smithy_client.take)(output, {
959
998
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
999
+ Destinations: import_smithy_client._json,
960
1000
  LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
961
1001
  MaxUnits: import_smithy_client.expectInt32,
962
1002
  MinUnits: import_smithy_client.expectInt32,
@@ -980,9 +1020,11 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
980
1020
  cfId: output.headers["x-amz-cf-id"]
981
1021
  }), "deserializeMetadata");
982
1022
  var _A = "Arn";
1023
+ var _F = "Format";
983
1024
  var _MR = "MaxResults";
984
1025
  var _NT = "NextToken";
985
1026
  var _a = "arn";
1027
+ var _f = "format";
986
1028
  var _mR = "maxResults";
987
1029
  var _nT = "nextToken";
988
1030
 
@@ -1272,6 +1314,7 @@ var paginateListPipelines = (0, import_core.createPaginator)(OSISClient, ListPip
1272
1314
  AccessDeniedException,
1273
1315
  VpcEndpointServiceName,
1274
1316
  PipelineStatus,
1317
+ DisabledOperationException,
1275
1318
  InternalException,
1276
1319
  LimitExceededException,
1277
1320
  ResourceAlreadyExistsException,
@@ -26,6 +26,18 @@ export const PipelineStatus = {
26
26
  UPDATE_FAILED: "UPDATE_FAILED",
27
27
  UPDATING: "UPDATING",
28
28
  };
29
+ export class DisabledOperationException extends __BaseException {
30
+ constructor(opts) {
31
+ super({
32
+ name: "DisabledOperationException",
33
+ $fault: "client",
34
+ ...opts,
35
+ });
36
+ this.name = "DisabledOperationException";
37
+ this.$fault = "client";
38
+ Object.setPrototypeOf(this, DisabledOperationException.prototype);
39
+ }
40
+ }
29
41
  export class InternalException extends __BaseException {
30
42
  constructor(opts) {
31
43
  super({
@@ -1,7 +1,7 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
- import { AccessDeniedException, ConflictException, InternalException, InvalidPaginationTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
4
+ import { AccessDeniedException, ConflictException, DisabledOperationException, InternalException, InvalidPaginationTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
5
5
  import { OSISServiceException as __BaseException } from "../models/OSISServiceException";
6
6
  export const se_CreatePipelineCommand = async (input, context) => {
7
7
  const b = rb(input, context);
@@ -47,8 +47,11 @@ export const se_GetPipelineBlueprintCommand = async (input, context) => {
47
47
  const headers = {};
48
48
  b.bp("/2022-01-01/osis/getPipelineBlueprint/{BlueprintName}");
49
49
  b.p("BlueprintName", () => input.BlueprintName, "{BlueprintName}", false);
50
+ const query = map({
51
+ [_f]: [, input[_F]],
52
+ });
50
53
  let body;
51
- b.m("GET").h(headers).b(body);
54
+ b.m("GET").h(headers).q(query).b(body);
52
55
  return b.build();
53
56
  };
54
57
  export const se_GetPipelineChangeProgressCommand = async (input, context) => {
@@ -224,6 +227,7 @@ export const de_GetPipelineBlueprintCommand = async (output, context) => {
224
227
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
225
228
  const doc = take(data, {
226
229
  Blueprint: _json,
230
+ Format: __expectString,
227
231
  });
228
232
  Object.assign(contents, doc);
229
233
  return contents;
@@ -372,6 +376,9 @@ const de_CommandError = async (output, context) => {
372
376
  case "AccessDeniedException":
373
377
  case "com.amazonaws.osis#AccessDeniedException":
374
378
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
379
+ case "DisabledOperationException":
380
+ case "com.amazonaws.osis#DisabledOperationException":
381
+ throw await de_DisabledOperationExceptionRes(parsedOutput, context);
375
382
  case "InternalException":
376
383
  case "com.amazonaws.osis#InternalException":
377
384
  throw await de_InternalExceptionRes(parsedOutput, context);
@@ -429,6 +436,19 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
429
436
  });
430
437
  return __decorateServiceException(exception, parsedOutput.body);
431
438
  };
439
+ const de_DisabledOperationExceptionRes = async (parsedOutput, context) => {
440
+ const contents = map({});
441
+ const data = parsedOutput.body;
442
+ const doc = take(data, {
443
+ message: __expectString,
444
+ });
445
+ Object.assign(contents, doc);
446
+ const exception = new DisabledOperationException({
447
+ $metadata: deserializeMetadata(parsedOutput),
448
+ ...contents,
449
+ });
450
+ return __decorateServiceException(exception, parsedOutput.body);
451
+ };
432
452
  const de_InternalExceptionRes = async (parsedOutput, context) => {
433
453
  const contents = map({});
434
454
  const data = parsedOutput.body;
@@ -543,6 +563,7 @@ const de_Pipeline = (output, context) => {
543
563
  return take(output, {
544
564
  BufferOptions: _json,
545
565
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
566
+ Destinations: _json,
546
567
  EncryptionAtRestOptions: _json,
547
568
  IngestEndpointUrls: _json,
548
569
  LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -562,6 +583,7 @@ const de_Pipeline = (output, context) => {
562
583
  const de_PipelineSummary = (output, context) => {
563
584
  return take(output, {
564
585
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
586
+ Destinations: _json,
565
587
  LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
566
588
  MaxUnits: __expectInt32,
567
589
  MinUnits: __expectInt32,
@@ -593,8 +615,10 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
593
615
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
594
616
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
595
617
  const _A = "Arn";
618
+ const _F = "Format";
596
619
  const _MR = "MaxResults";
597
620
  const _NT = "NextToken";
598
621
  const _a = "arn";
622
+ const _f = "format";
599
623
  const _mR = "maxResults";
600
624
  const _nT = "nextToken";
@@ -51,6 +51,10 @@ declare const CreatePipelineCommand_base: {
51
51
  * SecurityGroupIds: [ // SecurityGroupIds
52
52
  * "STRING_VALUE",
53
53
  * ],
54
+ * VpcAttachmentOptions: { // VpcAttachmentOptions
55
+ * AttachToVpc: true || false, // required
56
+ * CidrBlock: "STRING_VALUE",
57
+ * },
54
58
  * },
55
59
  * BufferOptions: { // BufferOptions
56
60
  * PersistentBufferEnabled: true || false, // required
@@ -100,6 +104,10 @@ declare const CreatePipelineCommand_base: {
100
104
  * // SecurityGroupIds: [ // SecurityGroupIds
101
105
  * // "STRING_VALUE",
102
106
  * // ],
107
+ * // VpcAttachmentOptions: { // VpcAttachmentOptions
108
+ * // AttachToVpc: true || false, // required
109
+ * // CidrBlock: "STRING_VALUE",
110
+ * // },
103
111
  * // },
104
112
  * // },
105
113
  * // ],
@@ -115,6 +123,12 @@ declare const CreatePipelineCommand_base: {
115
123
  * // VpcEndpointId: "STRING_VALUE",
116
124
  * // },
117
125
  * // ],
126
+ * // Destinations: [ // PipelineDestinationList
127
+ * // { // PipelineDestination
128
+ * // ServiceName: "STRING_VALUE",
129
+ * // Endpoint: "STRING_VALUE",
130
+ * // },
131
+ * // ],
118
132
  * // Tags: [ // TagList
119
133
  * // { // Tag
120
134
  * // Key: "STRING_VALUE", // required
@@ -135,6 +149,9 @@ declare const CreatePipelineCommand_base: {
135
149
  * @throws {@link AccessDeniedException} (client fault)
136
150
  * <p>You don't have permissions to access the resource.</p>
137
151
  *
152
+ * @throws {@link DisabledOperationException} (client fault)
153
+ * <p>Exception is thrown when an operation has been disabled.</p>
154
+ *
138
155
  * @throws {@link InternalException} (server fault)
139
156
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
140
157
  * internal to the service).</p>
@@ -54,6 +54,9 @@ declare const DeletePipelineCommand_base: {
54
54
  * @throws {@link ConflictException} (client fault)
55
55
  * <p>The client attempted to remove a resource that is currently in use.</p>
56
56
  *
57
+ * @throws {@link DisabledOperationException} (client fault)
58
+ * <p>Exception is thrown when an operation has been disabled.</p>
59
+ *
57
60
  * @throws {@link InternalException} (server fault)
58
61
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
59
62
  * internal to the service).</p>
@@ -38,6 +38,7 @@ declare const GetPipelineBlueprintCommand_base: {
38
38
  * const client = new OSISClient(config);
39
39
  * const input = { // GetPipelineBlueprintRequest
40
40
  * BlueprintName: "STRING_VALUE", // required
41
+ * Format: "STRING_VALUE",
41
42
  * };
42
43
  * const command = new GetPipelineBlueprintCommand(input);
43
44
  * const response = await client.send(command);
@@ -45,7 +46,12 @@ declare const GetPipelineBlueprintCommand_base: {
45
46
  * // Blueprint: { // PipelineBlueprint
46
47
  * // BlueprintName: "STRING_VALUE",
47
48
  * // PipelineConfigurationBody: "STRING_VALUE",
49
+ * // DisplayName: "STRING_VALUE",
50
+ * // DisplayDescription: "STRING_VALUE",
51
+ * // Service: "STRING_VALUE",
52
+ * // UseCase: "STRING_VALUE",
48
53
  * // },
54
+ * // Format: "STRING_VALUE",
49
55
  * // };
50
56
  *
51
57
  * ```
@@ -59,6 +65,9 @@ declare const GetPipelineBlueprintCommand_base: {
59
65
  * @throws {@link AccessDeniedException} (client fault)
60
66
  * <p>You don't have permissions to access the resource.</p>
61
67
  *
68
+ * @throws {@link DisabledOperationException} (client fault)
69
+ * <p>Exception is thrown when an operation has been disabled.</p>
70
+ *
62
71
  * @throws {@link InternalException} (server fault)
63
72
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
64
73
  * internal to the service).</p>
@@ -70,6 +70,9 @@ declare const GetPipelineChangeProgressCommand_base: {
70
70
  * @throws {@link AccessDeniedException} (client fault)
71
71
  * <p>You don't have permissions to access the resource.</p>
72
72
  *
73
+ * @throws {@link DisabledOperationException} (client fault)
74
+ * <p>Exception is thrown when an operation has been disabled.</p>
75
+ *
73
76
  * @throws {@link InternalException} (server fault)
74
77
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
75
78
  * internal to the service).</p>
@@ -71,6 +71,10 @@ declare const GetPipelineCommand_base: {
71
71
  * // SecurityGroupIds: [ // SecurityGroupIds
72
72
  * // "STRING_VALUE",
73
73
  * // ],
74
+ * // VpcAttachmentOptions: { // VpcAttachmentOptions
75
+ * // AttachToVpc: true || false, // required
76
+ * // CidrBlock: "STRING_VALUE",
77
+ * // },
74
78
  * // },
75
79
  * // },
76
80
  * // ],
@@ -86,6 +90,12 @@ declare const GetPipelineCommand_base: {
86
90
  * // VpcEndpointId: "STRING_VALUE",
87
91
  * // },
88
92
  * // ],
93
+ * // Destinations: [ // PipelineDestinationList
94
+ * // { // PipelineDestination
95
+ * // ServiceName: "STRING_VALUE",
96
+ * // Endpoint: "STRING_VALUE",
97
+ * // },
98
+ * // ],
89
99
  * // Tags: [ // TagList
90
100
  * // { // Tag
91
101
  * // Key: "STRING_VALUE", // required
@@ -106,6 +116,9 @@ declare const GetPipelineCommand_base: {
106
116
  * @throws {@link AccessDeniedException} (client fault)
107
117
  * <p>You don't have permissions to access the resource.</p>
108
118
  *
119
+ * @throws {@link DisabledOperationException} (client fault)
120
+ * <p>Exception is thrown when an operation has been disabled.</p>
121
+ *
109
122
  * @throws {@link InternalException} (server fault)
110
123
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
111
124
  * internal to the service).</p>
@@ -41,6 +41,10 @@ declare const ListPipelineBlueprintsCommand_base: {
41
41
  * // Blueprints: [ // PipelineBlueprintsSummaryList
42
42
  * // { // PipelineBlueprintSummary
43
43
  * // BlueprintName: "STRING_VALUE",
44
+ * // DisplayName: "STRING_VALUE",
45
+ * // DisplayDescription: "STRING_VALUE",
46
+ * // Service: "STRING_VALUE",
47
+ * // UseCase: "STRING_VALUE",
44
48
  * // },
45
49
  * // ],
46
50
  * // };
@@ -56,6 +60,9 @@ declare const ListPipelineBlueprintsCommand_base: {
56
60
  * @throws {@link AccessDeniedException} (client fault)
57
61
  * <p>You don't have permissions to access the resource.</p>
58
62
  *
63
+ * @throws {@link DisabledOperationException} (client fault)
64
+ * <p>Exception is thrown when an operation has been disabled.</p>
65
+ *
59
66
  * @throws {@link InternalException} (server fault)
60
67
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
61
68
  * internal to the service).</p>
@@ -54,6 +54,12 @@ declare const ListPipelinesCommand_base: {
54
54
  * // MaxUnits: Number("int"),
55
55
  * // CreatedAt: new Date("TIMESTAMP"),
56
56
  * // LastUpdatedAt: new Date("TIMESTAMP"),
57
+ * // Destinations: [ // PipelineDestinationList
58
+ * // { // PipelineDestination
59
+ * // ServiceName: "STRING_VALUE",
60
+ * // Endpoint: "STRING_VALUE",
61
+ * // },
62
+ * // ],
57
63
  * // Tags: [ // TagList
58
64
  * // { // Tag
59
65
  * // Key: "STRING_VALUE", // required
@@ -75,6 +81,9 @@ declare const ListPipelinesCommand_base: {
75
81
  * @throws {@link AccessDeniedException} (client fault)
76
82
  * <p>You don't have permissions to access the resource.</p>
77
83
  *
84
+ * @throws {@link DisabledOperationException} (client fault)
85
+ * <p>Exception is thrown when an operation has been disabled.</p>
86
+ *
78
87
  * @throws {@link InternalException} (server fault)
79
88
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
80
89
  * internal to the service).</p>
@@ -59,6 +59,9 @@ declare const ListTagsForResourceCommand_base: {
59
59
  * @throws {@link AccessDeniedException} (client fault)
60
60
  * <p>You don't have permissions to access the resource.</p>
61
61
  *
62
+ * @throws {@link DisabledOperationException} (client fault)
63
+ * <p>Exception is thrown when an operation has been disabled.</p>
64
+ *
62
65
  * @throws {@link InternalException} (server fault)
63
66
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
64
67
  * internal to the service).</p>
@@ -71,6 +71,10 @@ declare const StartPipelineCommand_base: {
71
71
  * // SecurityGroupIds: [ // SecurityGroupIds
72
72
  * // "STRING_VALUE",
73
73
  * // ],
74
+ * // VpcAttachmentOptions: { // VpcAttachmentOptions
75
+ * // AttachToVpc: true || false, // required
76
+ * // CidrBlock: "STRING_VALUE",
77
+ * // },
74
78
  * // },
75
79
  * // },
76
80
  * // ],
@@ -86,6 +90,12 @@ declare const StartPipelineCommand_base: {
86
90
  * // VpcEndpointId: "STRING_VALUE",
87
91
  * // },
88
92
  * // ],
93
+ * // Destinations: [ // PipelineDestinationList
94
+ * // { // PipelineDestination
95
+ * // ServiceName: "STRING_VALUE",
96
+ * // Endpoint: "STRING_VALUE",
97
+ * // },
98
+ * // ],
89
99
  * // Tags: [ // TagList
90
100
  * // { // Tag
91
101
  * // Key: "STRING_VALUE", // required
@@ -109,6 +119,9 @@ declare const StartPipelineCommand_base: {
109
119
  * @throws {@link ConflictException} (client fault)
110
120
  * <p>The client attempted to remove a resource that is currently in use.</p>
111
121
  *
122
+ * @throws {@link DisabledOperationException} (client fault)
123
+ * <p>Exception is thrown when an operation has been disabled.</p>
124
+ *
112
125
  * @throws {@link InternalException} (server fault)
113
126
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
114
127
  * internal to the service).</p>
@@ -71,6 +71,10 @@ declare const StopPipelineCommand_base: {
71
71
  * // SecurityGroupIds: [ // SecurityGroupIds
72
72
  * // "STRING_VALUE",
73
73
  * // ],
74
+ * // VpcAttachmentOptions: { // VpcAttachmentOptions
75
+ * // AttachToVpc: true || false, // required
76
+ * // CidrBlock: "STRING_VALUE",
77
+ * // },
74
78
  * // },
75
79
  * // },
76
80
  * // ],
@@ -86,6 +90,12 @@ declare const StopPipelineCommand_base: {
86
90
  * // VpcEndpointId: "STRING_VALUE",
87
91
  * // },
88
92
  * // ],
93
+ * // Destinations: [ // PipelineDestinationList
94
+ * // { // PipelineDestination
95
+ * // ServiceName: "STRING_VALUE",
96
+ * // Endpoint: "STRING_VALUE",
97
+ * // },
98
+ * // ],
89
99
  * // Tags: [ // TagList
90
100
  * // { // Tag
91
101
  * // Key: "STRING_VALUE", // required
@@ -109,6 +119,9 @@ declare const StopPipelineCommand_base: {
109
119
  * @throws {@link ConflictException} (client fault)
110
120
  * <p>The client attempted to remove a resource that is currently in use.</p>
111
121
  *
122
+ * @throws {@link DisabledOperationException} (client fault)
123
+ * <p>Exception is thrown when an operation has been disabled.</p>
124
+ *
112
125
  * @throws {@link InternalException} (server fault)
113
126
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
114
127
  * internal to the service).</p>
@@ -57,6 +57,9 @@ declare const TagResourceCommand_base: {
57
57
  * @throws {@link AccessDeniedException} (client fault)
58
58
  * <p>You don't have permissions to access the resource.</p>
59
59
  *
60
+ * @throws {@link DisabledOperationException} (client fault)
61
+ * <p>Exception is thrown when an operation has been disabled.</p>
62
+ *
60
63
  * @throws {@link InternalException} (server fault)
61
64
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
62
65
  * internal to the service).</p>
@@ -55,6 +55,9 @@ declare const UntagResourceCommand_base: {
55
55
  * @throws {@link AccessDeniedException} (client fault)
56
56
  * <p>You don't have permissions to access the resource.</p>
57
57
  *
58
+ * @throws {@link DisabledOperationException} (client fault)
59
+ * <p>Exception is thrown when an operation has been disabled.</p>
60
+ *
58
61
  * @throws {@link InternalException} (server fault)
59
62
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
60
63
  * internal to the service).</p>
@@ -86,6 +86,10 @@ declare const UpdatePipelineCommand_base: {
86
86
  * // SecurityGroupIds: [ // SecurityGroupIds
87
87
  * // "STRING_VALUE",
88
88
  * // ],
89
+ * // VpcAttachmentOptions: { // VpcAttachmentOptions
90
+ * // AttachToVpc: true || false, // required
91
+ * // CidrBlock: "STRING_VALUE",
92
+ * // },
89
93
  * // },
90
94
  * // },
91
95
  * // ],
@@ -101,6 +105,12 @@ declare const UpdatePipelineCommand_base: {
101
105
  * // VpcEndpointId: "STRING_VALUE",
102
106
  * // },
103
107
  * // ],
108
+ * // Destinations: [ // PipelineDestinationList
109
+ * // { // PipelineDestination
110
+ * // ServiceName: "STRING_VALUE",
111
+ * // Endpoint: "STRING_VALUE",
112
+ * // },
113
+ * // ],
104
114
  * // Tags: [ // TagList
105
115
  * // { // Tag
106
116
  * // Key: "STRING_VALUE", // required
@@ -124,6 +134,9 @@ declare const UpdatePipelineCommand_base: {
124
134
  * @throws {@link ConflictException} (client fault)
125
135
  * <p>The client attempted to remove a resource that is currently in use.</p>
126
136
  *
137
+ * @throws {@link DisabledOperationException} (client fault)
138
+ * <p>Exception is thrown when an operation has been disabled.</p>
139
+ *
127
140
  * @throws {@link InternalException} (server fault)
128
141
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
129
142
  * internal to the service).</p>
@@ -60,6 +60,9 @@ declare const ValidatePipelineCommand_base: {
60
60
  * @throws {@link AccessDeniedException} (client fault)
61
61
  * <p>You don't have permissions to access the resource.</p>
62
62
  *
63
+ * @throws {@link DisabledOperationException} (client fault)
64
+ * <p>Exception is thrown when an operation has been disabled.</p>
65
+ *
63
66
  * @throws {@link InternalException} (server fault)
64
67
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
65
68
  * internal to the service).</p>
@@ -14,7 +14,7 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  }
15
15
  /**
16
16
  * <p>Options that specify the configuration of a persistent buffer.
17
- * To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions.</p>
17
+ * To configure how OpenSearch Ingestion encrypts this data, set the <code>EncryptionAtRestOptions</code>. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/osis-features-overview.html#persistent-buffering">Persistent buffering</a>.</p>
18
18
  * @public
19
19
  */
20
20
  export interface BufferOptions {
@@ -25,13 +25,13 @@ export interface BufferOptions {
25
25
  PersistentBufferEnabled: boolean | undefined;
26
26
  }
27
27
  /**
28
- * <p>Options to control how OpenSearch encrypts all data-at-rest.</p>
28
+ * <p>Options to control how OpenSearch encrypts buffer data.</p>
29
29
  * @public
30
30
  */
31
31
  export interface EncryptionAtRestOptions {
32
32
  /**
33
- * <p>The ARN of the KMS key used to encrypt data-at-rest in OpenSearch Ingestion.
34
- * By default, data is encrypted using an AWS owned key.</p>
33
+ * <p>The ARN of the KMS key used to encrypt buffer data.
34
+ * By default, data is encrypted using an Amazon Web Services owned key.</p>
35
35
  * @public
36
36
  */
37
37
  KmsKeyArn: string | undefined;
@@ -44,7 +44,7 @@ export interface CloudWatchLogDestination {
44
44
  /**
45
45
  * <p>The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing
46
46
  * log group or create a new one. For example,
47
- * <code>/aws/OpenSearchService/IngestionService/my-pipeline</code>.</p>
47
+ * <code>/aws/vendedlogs/OpenSearchService/pipelines</code>.</p>
48
48
  * @public
49
49
  */
50
50
  LogGroup: string | undefined;
@@ -87,6 +87,22 @@ export interface Tag {
87
87
  */
88
88
  Value: string | undefined;
89
89
  }
90
+ /**
91
+ * <p>Options for attaching a VPC to pipeline.</p>
92
+ * @public
93
+ */
94
+ export interface VpcAttachmentOptions {
95
+ /**
96
+ * <p>Whether a VPC is attached to the pipeline.</p>
97
+ * @public
98
+ */
99
+ AttachToVpc: boolean | undefined;
100
+ /**
101
+ * <p>The CIDR block to be reserved for OpenSearch Ingestion to create elastic network interfaces (ENIs).</p>
102
+ * @public
103
+ */
104
+ CidrBlock?: string;
105
+ }
90
106
  /**
91
107
  * <p>Options that specify the subnets and security groups for an OpenSearch Ingestion
92
108
  * VPC endpoint.</p>
@@ -103,6 +119,11 @@ export interface VpcOptions {
103
119
  * @public
104
120
  */
105
121
  SecurityGroupIds?: string[];
122
+ /**
123
+ * <p>Options for attaching a VPC to a pipeline.</p>
124
+ * @public
125
+ */
126
+ VpcAttachmentOptions?: VpcAttachmentOptions;
106
127
  }
107
128
  /**
108
129
  * @public
@@ -158,6 +179,22 @@ export interface CreatePipelineRequest {
158
179
  */
159
180
  Tags?: Tag[];
160
181
  }
182
+ /**
183
+ * <p>An object representing the destination of a pipeline.</p>
184
+ * @public
185
+ */
186
+ export interface PipelineDestination {
187
+ /**
188
+ * <p>The name of the service receiving data from the pipeline.</p>
189
+ * @public
190
+ */
191
+ ServiceName?: string;
192
+ /**
193
+ * <p>The endpoint receiving data from the pipeline.</p>
194
+ * @public
195
+ */
196
+ Endpoint?: string;
197
+ }
161
198
  /**
162
199
  * @public
163
200
  * @enum
@@ -180,7 +217,7 @@ export interface ServiceVpcEndpoint {
180
217
  */
181
218
  ServiceName?: VpcEndpointServiceName;
182
219
  /**
183
- * <p>The ID of the VPC endpoint that was created.</p>
220
+ * <p>The unique identifier of the VPC endpoint that was created.</p>
184
221
  * @public
185
222
  */
186
223
  VpcEndpointId?: string;
@@ -306,20 +343,25 @@ export interface Pipeline {
306
343
  VpcEndpoints?: VpcEndpoint[];
307
344
  /**
308
345
  * <p>Options that specify the configuration of a persistent buffer.
309
- * To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions.</p>
346
+ * To configure how OpenSearch Ingestion encrypts this data, set the <code>EncryptionAtRestOptions</code>. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/osis-features-overview.html#persistent-buffering">Persistent buffering</a>.</p>
310
347
  * @public
311
348
  */
312
349
  BufferOptions?: BufferOptions;
313
350
  /**
314
- * <p>Options to control how OpenSearch encrypts all data-at-rest.</p>
351
+ * <p>Options to control how OpenSearch encrypts buffer data.</p>
315
352
  * @public
316
353
  */
317
354
  EncryptionAtRestOptions?: EncryptionAtRestOptions;
318
355
  /**
319
- * <p>A list of VPC endpoints that OpenSearch Ingestion has created to other AWS services.</p>
356
+ * <p>A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.</p>
320
357
  * @public
321
358
  */
322
359
  ServiceVpcEndpoints?: ServiceVpcEndpoint[];
360
+ /**
361
+ * <p>Destinations to which the pipeline writes data.</p>
362
+ * @public
363
+ */
364
+ Destinations?: PipelineDestination[];
323
365
  /**
324
366
  * <p>A list of tags associated with the given pipeline.</p>
325
367
  * @public
@@ -336,6 +378,18 @@ export interface CreatePipelineResponse {
336
378
  */
337
379
  Pipeline?: Pipeline;
338
380
  }
381
+ /**
382
+ * <p>Exception is thrown when an operation has been disabled.</p>
383
+ * @public
384
+ */
385
+ export declare class DisabledOperationException extends __BaseException {
386
+ readonly name: "DisabledOperationException";
387
+ readonly $fault: "client";
388
+ /**
389
+ * @internal
390
+ */
391
+ constructor(opts: __ExceptionOptionType<DisabledOperationException, __BaseException>);
392
+ }
339
393
  /**
340
394
  * <p>The request failed because of an unknown error, exception, or failure (the failure is
341
395
  * internal to the service).</p>
@@ -429,7 +483,7 @@ export interface DeletePipelineResponse {
429
483
  */
430
484
  export interface GetPipelineRequest {
431
485
  /**
432
- * <p>The name of the pipeline to get information about.</p>
486
+ * <p>The name of the pipeline.</p>
433
487
  * @public
434
488
  */
435
489
  PipelineName: string | undefined;
@@ -453,6 +507,11 @@ export interface GetPipelineBlueprintRequest {
453
507
  * @public
454
508
  */
455
509
  BlueprintName: string | undefined;
510
+ /**
511
+ * <p>The format format of the blueprint to retrieve.</p>
512
+ * @public
513
+ */
514
+ Format?: string;
456
515
  }
457
516
  /**
458
517
  * <p>Container for information about an OpenSearch Ingestion blueprint.</p>
@@ -469,6 +528,26 @@ export interface PipelineBlueprint {
469
528
  * @public
470
529
  */
471
530
  PipelineConfigurationBody?: string;
531
+ /**
532
+ * <p>The display name of the blueprint.</p>
533
+ * @public
534
+ */
535
+ DisplayName?: string;
536
+ /**
537
+ * <p>A description of the blueprint.</p>
538
+ * @public
539
+ */
540
+ DisplayDescription?: string;
541
+ /**
542
+ * <p>The name of the service that the blueprint is associated with.</p>
543
+ * @public
544
+ */
545
+ Service?: string;
546
+ /**
547
+ * <p>The use case that the blueprint relates to.</p>
548
+ * @public
549
+ */
550
+ UseCase?: string;
472
551
  }
473
552
  /**
474
553
  * @public
@@ -479,6 +558,11 @@ export interface GetPipelineBlueprintResponse {
479
558
  * @public
480
559
  */
481
560
  Blueprint?: PipelineBlueprint;
561
+ /**
562
+ * <p>The format of the blueprint.</p>
563
+ * @public
564
+ */
565
+ Format?: string;
482
566
  }
483
567
  /**
484
568
  * @public
@@ -607,6 +691,26 @@ export interface PipelineBlueprintSummary {
607
691
  * @public
608
692
  */
609
693
  BlueprintName?: string;
694
+ /**
695
+ * <p>The display name of the blueprint.</p>
696
+ * @public
697
+ */
698
+ DisplayName?: string;
699
+ /**
700
+ * <p>A description of the blueprint.</p>
701
+ * @public
702
+ */
703
+ DisplayDescription?: string;
704
+ /**
705
+ * <p>The name of the service that the blueprint is associated with.</p>
706
+ * @public
707
+ */
708
+ Service?: string;
709
+ /**
710
+ * <p>The use case that the blueprint relates to.</p>
711
+ * @public
712
+ */
713
+ UseCase?: string;
610
714
  }
611
715
  /**
612
716
  * @public
@@ -681,6 +785,11 @@ export interface PipelineSummary {
681
785
  * @public
682
786
  */
683
787
  LastUpdatedAt?: Date;
788
+ /**
789
+ * <p>A list of destinations to which the pipeline writes data.</p>
790
+ * @public
791
+ */
792
+ Destinations?: PipelineDestination[];
684
793
  /**
685
794
  * <p>A list of tags associated with the given pipeline.</p>
686
795
  * @public
@@ -24,9 +24,14 @@ export interface Tag {
24
24
  Key: string | undefined;
25
25
  Value: string | undefined;
26
26
  }
27
+ export interface VpcAttachmentOptions {
28
+ AttachToVpc: boolean | undefined;
29
+ CidrBlock?: string;
30
+ }
27
31
  export interface VpcOptions {
28
32
  SubnetIds: string[] | undefined;
29
33
  SecurityGroupIds?: string[];
34
+ VpcAttachmentOptions?: VpcAttachmentOptions;
30
35
  }
31
36
  export interface CreatePipelineRequest {
32
37
  PipelineName: string | undefined;
@@ -39,6 +44,10 @@ export interface CreatePipelineRequest {
39
44
  EncryptionAtRestOptions?: EncryptionAtRestOptions;
40
45
  Tags?: Tag[];
41
46
  }
47
+ export interface PipelineDestination {
48
+ ServiceName?: string;
49
+ Endpoint?: string;
50
+ }
42
51
  export declare const VpcEndpointServiceName: {
43
52
  readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
44
53
  };
@@ -86,11 +95,19 @@ export interface Pipeline {
86
95
  BufferOptions?: BufferOptions;
87
96
  EncryptionAtRestOptions?: EncryptionAtRestOptions;
88
97
  ServiceVpcEndpoints?: ServiceVpcEndpoint[];
98
+ Destinations?: PipelineDestination[];
89
99
  Tags?: Tag[];
90
100
  }
91
101
  export interface CreatePipelineResponse {
92
102
  Pipeline?: Pipeline;
93
103
  }
104
+ export declare class DisabledOperationException extends __BaseException {
105
+ readonly name: "DisabledOperationException";
106
+ readonly $fault: "client";
107
+ constructor(
108
+ opts: __ExceptionOptionType<DisabledOperationException, __BaseException>
109
+ );
110
+ }
94
111
  export declare class InternalException extends __BaseException {
95
112
  readonly name: "InternalException";
96
113
  readonly $fault: "server";
@@ -141,13 +158,19 @@ export interface GetPipelineResponse {
141
158
  }
142
159
  export interface GetPipelineBlueprintRequest {
143
160
  BlueprintName: string | undefined;
161
+ Format?: string;
144
162
  }
145
163
  export interface PipelineBlueprint {
146
164
  BlueprintName?: string;
147
165
  PipelineConfigurationBody?: string;
166
+ DisplayName?: string;
167
+ DisplayDescription?: string;
168
+ Service?: string;
169
+ UseCase?: string;
148
170
  }
149
171
  export interface GetPipelineBlueprintResponse {
150
172
  Blueprint?: PipelineBlueprint;
173
+ Format?: string;
151
174
  }
152
175
  export interface GetPipelineChangeProgressRequest {
153
176
  PipelineName: string | undefined;
@@ -196,6 +219,10 @@ export declare class InvalidPaginationTokenException extends __BaseException {
196
219
  export interface ListPipelineBlueprintsRequest {}
197
220
  export interface PipelineBlueprintSummary {
198
221
  BlueprintName?: string;
222
+ DisplayName?: string;
223
+ DisplayDescription?: string;
224
+ Service?: string;
225
+ UseCase?: string;
199
226
  }
200
227
  export interface ListPipelineBlueprintsResponse {
201
228
  Blueprints?: PipelineBlueprintSummary[];
@@ -213,6 +240,7 @@ export interface PipelineSummary {
213
240
  MaxUnits?: number;
214
241
  CreatedAt?: Date;
215
242
  LastUpdatedAt?: Date;
243
+ Destinations?: PipelineDestination[];
216
244
  Tags?: Tag[];
217
245
  }
218
246
  export interface ListPipelinesResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-osis",
3
3
  "description": "AWS SDK for JavaScript Osis Client for Node.js, Browser and React Native",
4
- "version": "3.577.0",
4
+ "version": "3.580.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-osis",