@aws-sdk/client-osis 3.321.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 (131) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +322 -0
  3. package/dist-cjs/OSIS.js +39 -0
  4. package/dist-cjs/OSISClient.js +40 -0
  5. package/dist-cjs/commands/CreatePipelineCommand.js +45 -0
  6. package/dist-cjs/commands/DeletePipelineCommand.js +45 -0
  7. package/dist-cjs/commands/GetPipelineBlueprintCommand.js +45 -0
  8. package/dist-cjs/commands/GetPipelineChangeProgressCommand.js +45 -0
  9. package/dist-cjs/commands/GetPipelineCommand.js +45 -0
  10. package/dist-cjs/commands/ListPipelineBlueprintsCommand.js +45 -0
  11. package/dist-cjs/commands/ListPipelinesCommand.js +45 -0
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
  13. package/dist-cjs/commands/StartPipelineCommand.js +45 -0
  14. package/dist-cjs/commands/StopPipelineCommand.js +45 -0
  15. package/dist-cjs/commands/TagResourceCommand.js +45 -0
  16. package/dist-cjs/commands/UntagResourceCommand.js +45 -0
  17. package/dist-cjs/commands/UpdatePipelineCommand.js +45 -0
  18. package/dist-cjs/commands/ValidatePipelineCommand.js +45 -0
  19. package/dist-cjs/commands/index.js +17 -0
  20. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  21. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  22. package/dist-cjs/endpoint/ruleset.js +7 -0
  23. package/dist-cjs/index.js +11 -0
  24. package/dist-cjs/models/OSISServiceException.js +11 -0
  25. package/dist-cjs/models/index.js +4 -0
  26. package/dist-cjs/models/models_0.js +132 -0
  27. package/dist-cjs/pagination/Interfaces.js +2 -0
  28. package/dist-cjs/pagination/ListPipelinesPaginator.js +29 -0
  29. package/dist-cjs/pagination/index.js +5 -0
  30. package/dist-cjs/protocols/Aws_restJson1.js +1137 -0
  31. package/dist-cjs/runtimeConfig.browser.js +39 -0
  32. package/dist-cjs/runtimeConfig.js +48 -0
  33. package/dist-cjs/runtimeConfig.native.js +15 -0
  34. package/dist-cjs/runtimeConfig.shared.js +21 -0
  35. package/dist-es/OSIS.js +35 -0
  36. package/dist-es/OSISClient.js +36 -0
  37. package/dist-es/commands/CreatePipelineCommand.js +41 -0
  38. package/dist-es/commands/DeletePipelineCommand.js +41 -0
  39. package/dist-es/commands/GetPipelineBlueprintCommand.js +41 -0
  40. package/dist-es/commands/GetPipelineChangeProgressCommand.js +41 -0
  41. package/dist-es/commands/GetPipelineCommand.js +41 -0
  42. package/dist-es/commands/ListPipelineBlueprintsCommand.js +41 -0
  43. package/dist-es/commands/ListPipelinesCommand.js +41 -0
  44. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  45. package/dist-es/commands/StartPipelineCommand.js +41 -0
  46. package/dist-es/commands/StopPipelineCommand.js +41 -0
  47. package/dist-es/commands/TagResourceCommand.js +41 -0
  48. package/dist-es/commands/UntagResourceCommand.js +41 -0
  49. package/dist-es/commands/UpdatePipelineCommand.js +41 -0
  50. package/dist-es/commands/ValidatePipelineCommand.js +41 -0
  51. package/dist-es/commands/index.js +14 -0
  52. package/dist-es/endpoint/EndpointParameters.js +8 -0
  53. package/dist-es/endpoint/endpointResolver.js +8 -0
  54. package/dist-es/endpoint/ruleset.js +4 -0
  55. package/dist-es/index.js +6 -0
  56. package/dist-es/models/OSISServiceException.js +7 -0
  57. package/dist-es/models/index.js +1 -0
  58. package/dist-es/models/models_0.js +121 -0
  59. package/dist-es/pagination/Interfaces.js +1 -0
  60. package/dist-es/pagination/ListPipelinesPaginator.js +25 -0
  61. package/dist-es/pagination/index.js +2 -0
  62. package/dist-es/protocols/Aws_restJson1.js +1106 -0
  63. package/dist-es/runtimeConfig.browser.js +34 -0
  64. package/dist-es/runtimeConfig.js +43 -0
  65. package/dist-es/runtimeConfig.native.js +11 -0
  66. package/dist-es/runtimeConfig.shared.js +17 -0
  67. package/dist-types/OSIS.d.ts +110 -0
  68. package/dist-types/OSISClient.d.ts +177 -0
  69. package/dist-types/commands/CreatePipelineCommand.d.ts +102 -0
  70. package/dist-types/commands/DeletePipelineCommand.d.ts +80 -0
  71. package/dist-types/commands/GetPipelineBlueprintCommand.d.ts +77 -0
  72. package/dist-types/commands/GetPipelineChangeProgressCommand.d.ts +80 -0
  73. package/dist-types/commands/GetPipelineCommand.d.ts +76 -0
  74. package/dist-types/commands/ListPipelineBlueprintsCommand.d.ts +74 -0
  75. package/dist-types/commands/ListPipelinesCommand.d.ts +79 -0
  76. package/dist-types/commands/ListTagsForResourceCommand.d.ts +78 -0
  77. package/dist-types/commands/StartPipelineCommand.d.ts +80 -0
  78. package/dist-types/commands/StopPipelineCommand.d.ts +80 -0
  79. package/dist-types/commands/TagResourceCommand.d.ts +86 -0
  80. package/dist-types/commands/UntagResourceCommand.d.ts +80 -0
  81. package/dist-types/commands/UpdatePipelineCommand.d.ts +89 -0
  82. package/dist-types/commands/ValidatePipelineCommand.d.ts +75 -0
  83. package/dist-types/commands/index.d.ts +14 -0
  84. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  85. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  86. package/dist-types/endpoint/ruleset.d.ts +2 -0
  87. package/dist-types/index.d.ts +6 -0
  88. package/dist-types/models/OSISServiceException.d.ts +12 -0
  89. package/dist-types/models/index.d.ts +1 -0
  90. package/dist-types/models/models_0.d.ts +718 -0
  91. package/dist-types/pagination/Interfaces.d.ts +8 -0
  92. package/dist-types/pagination/ListPipelinesPaginator.d.ts +7 -0
  93. package/dist-types/pagination/index.d.ts +2 -0
  94. package/dist-types/protocols/Aws_restJson1.d.ts +128 -0
  95. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  96. package/dist-types/runtimeConfig.d.ts +42 -0
  97. package/dist-types/runtimeConfig.native.d.ts +41 -0
  98. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  99. package/dist-types/ts3.4/OSIS.d.ts +243 -0
  100. package/dist-types/ts3.4/OSISClient.d.ts +196 -0
  101. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +37 -0
  102. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +37 -0
  103. package/dist-types/ts3.4/commands/GetPipelineBlueprintCommand.d.ts +41 -0
  104. package/dist-types/ts3.4/commands/GetPipelineChangeProgressCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +34 -0
  106. package/dist-types/ts3.4/commands/ListPipelineBlueprintsCommand.d.ts +41 -0
  107. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +37 -0
  108. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  109. package/dist-types/ts3.4/commands/StartPipelineCommand.d.ts +37 -0
  110. package/dist-types/ts3.4/commands/StopPipelineCommand.d.ts +34 -0
  111. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  112. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
  113. package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +37 -0
  114. package/dist-types/ts3.4/commands/ValidatePipelineCommand.d.ts +37 -0
  115. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  116. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  117. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  118. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  119. package/dist-types/ts3.4/index.d.ts +6 -0
  120. package/dist-types/ts3.4/models/OSISServiceException.d.ts +7 -0
  121. package/dist-types/ts3.4/models/index.d.ts +1 -0
  122. package/dist-types/ts3.4/models/models_0.d.ts +247 -0
  123. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  124. package/dist-types/ts3.4/pagination/ListPipelinesPaginator.d.ts +11 -0
  125. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  126. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +173 -0
  127. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  128. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  129. package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
  130. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
  131. package/package.json +98 -0
@@ -0,0 +1,80 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetPipelineChangeProgressRequest, GetPipelineChangeProgressResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetPipelineChangeProgressCommand}.
10
+ */
11
+ export interface GetPipelineChangeProgressCommandInput extends GetPipelineChangeProgressRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetPipelineChangeProgressCommand}.
17
+ */
18
+ export interface GetPipelineChangeProgressCommandOutput extends GetPipelineChangeProgressResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Returns progress information for the current change happening on an OpenSearch Ingestion
23
+ * pipeline. Currently, this operation only returns information when a pipeline is being
24
+ * created.</p>
25
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/manage-pipeline.html">Creating and managing
26
+ * OpenSearch Ingestion pipelines</a>.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { OSISClient, GetPipelineChangeProgressCommand } from "@aws-sdk/client-osis"; // ES Modules import
31
+ * // const { OSISClient, GetPipelineChangeProgressCommand } = require("@aws-sdk/client-osis"); // CommonJS import
32
+ * const client = new OSISClient(config);
33
+ * const input = { // GetPipelineChangeProgressRequest
34
+ * PipelineName: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetPipelineChangeProgressCommand(input);
37
+ * const response = await client.send(command);
38
+ * ```
39
+ *
40
+ * @param GetPipelineChangeProgressCommandInput - {@link GetPipelineChangeProgressCommandInput}
41
+ * @returns {@link GetPipelineChangeProgressCommandOutput}
42
+ * @see {@link GetPipelineChangeProgressCommandInput} for command's `input` shape.
43
+ * @see {@link GetPipelineChangeProgressCommandOutput} for command's `response` shape.
44
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
45
+ *
46
+ * @throws {@link AccessDeniedException} (client fault)
47
+ * <p>You don't have permissions to access the resource.</p>
48
+ *
49
+ * @throws {@link InternalException} (server fault)
50
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
51
+ * internal to the service).</p>
52
+ *
53
+ * @throws {@link ResourceNotFoundException} (client fault)
54
+ * <p>You attempted to access or delete a resource that does not exist.</p>
55
+ *
56
+ * @throws {@link ValidationException} (client fault)
57
+ * <p>An exception for missing or invalid input fields.</p>
58
+ *
59
+ *
60
+ */
61
+ export declare class GetPipelineChangeProgressCommand extends $Command<GetPipelineChangeProgressCommandInput, GetPipelineChangeProgressCommandOutput, OSISClientResolvedConfig> {
62
+ readonly input: GetPipelineChangeProgressCommandInput;
63
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
67
+ constructor(input: GetPipelineChangeProgressCommandInput);
68
+ /**
69
+ * @internal
70
+ */
71
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPipelineChangeProgressCommandInput, GetPipelineChangeProgressCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
75
+ private serialize;
76
+ /**
77
+ * @internal
78
+ */
79
+ private deserialize;
80
+ }
@@ -0,0 +1,76 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetPipelineRequest, GetPipelineResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetPipelineCommand}.
10
+ */
11
+ export interface GetPipelineCommandInput extends GetPipelineRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetPipelineCommand}.
17
+ */
18
+ export interface GetPipelineCommandOutput extends GetPipelineResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves information about an OpenSearch Ingestion pipeline.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { OSISClient, GetPipelineCommand } from "@aws-sdk/client-osis"; // ES Modules import
27
+ * // const { OSISClient, GetPipelineCommand } = require("@aws-sdk/client-osis"); // CommonJS import
28
+ * const client = new OSISClient(config);
29
+ * const input = { // GetPipelineRequest
30
+ * PipelineName: "STRING_VALUE", // required
31
+ * };
32
+ * const command = new GetPipelineCommand(input);
33
+ * const response = await client.send(command);
34
+ * ```
35
+ *
36
+ * @param GetPipelineCommandInput - {@link GetPipelineCommandInput}
37
+ * @returns {@link GetPipelineCommandOutput}
38
+ * @see {@link GetPipelineCommandInput} for command's `input` shape.
39
+ * @see {@link GetPipelineCommandOutput} for command's `response` shape.
40
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
41
+ *
42
+ * @throws {@link AccessDeniedException} (client fault)
43
+ * <p>You don't have permissions to access the resource.</p>
44
+ *
45
+ * @throws {@link InternalException} (server fault)
46
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
47
+ * internal to the service).</p>
48
+ *
49
+ * @throws {@link ResourceNotFoundException} (client fault)
50
+ * <p>You attempted to access or delete a resource that does not exist.</p>
51
+ *
52
+ * @throws {@link ValidationException} (client fault)
53
+ * <p>An exception for missing or invalid input fields.</p>
54
+ *
55
+ *
56
+ */
57
+ export declare class GetPipelineCommand extends $Command<GetPipelineCommandInput, GetPipelineCommandOutput, OSISClientResolvedConfig> {
58
+ readonly input: GetPipelineCommandInput;
59
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
60
+ /**
61
+ * @public
62
+ */
63
+ constructor(input: GetPipelineCommandInput);
64
+ /**
65
+ * @internal
66
+ */
67
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPipelineCommandInput, GetPipelineCommandOutput>;
68
+ /**
69
+ * @internal
70
+ */
71
+ private serialize;
72
+ /**
73
+ * @internal
74
+ */
75
+ private deserialize;
76
+ }
@@ -0,0 +1,74 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListPipelineBlueprintsRequest, ListPipelineBlueprintsResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListPipelineBlueprintsCommand}.
10
+ */
11
+ export interface ListPipelineBlueprintsCommandInput extends ListPipelineBlueprintsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListPipelineBlueprintsCommand}.
17
+ */
18
+ export interface ListPipelineBlueprintsCommandOutput extends ListPipelineBlueprintsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves a list of all available blueprints for Data Prepper.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { OSISClient, ListPipelineBlueprintsCommand } from "@aws-sdk/client-osis"; // ES Modules import
27
+ * // const { OSISClient, ListPipelineBlueprintsCommand } = require("@aws-sdk/client-osis"); // CommonJS import
28
+ * const client = new OSISClient(config);
29
+ * const input = {};
30
+ * const command = new ListPipelineBlueprintsCommand(input);
31
+ * const response = await client.send(command);
32
+ * ```
33
+ *
34
+ * @param ListPipelineBlueprintsCommandInput - {@link ListPipelineBlueprintsCommandInput}
35
+ * @returns {@link ListPipelineBlueprintsCommandOutput}
36
+ * @see {@link ListPipelineBlueprintsCommandInput} for command's `input` shape.
37
+ * @see {@link ListPipelineBlueprintsCommandOutput} for command's `response` shape.
38
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
39
+ *
40
+ * @throws {@link AccessDeniedException} (client fault)
41
+ * <p>You don't have permissions to access the resource.</p>
42
+ *
43
+ * @throws {@link InternalException} (server fault)
44
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
45
+ * internal to the service).</p>
46
+ *
47
+ * @throws {@link InvalidPaginationTokenException} (client fault)
48
+ * <p>An invalid pagination token provided in the request.</p>
49
+ *
50
+ * @throws {@link ValidationException} (client fault)
51
+ * <p>An exception for missing or invalid input fields.</p>
52
+ *
53
+ *
54
+ */
55
+ export declare class ListPipelineBlueprintsCommand extends $Command<ListPipelineBlueprintsCommandInput, ListPipelineBlueprintsCommandOutput, OSISClientResolvedConfig> {
56
+ readonly input: ListPipelineBlueprintsCommandInput;
57
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
58
+ /**
59
+ * @public
60
+ */
61
+ constructor(input: ListPipelineBlueprintsCommandInput);
62
+ /**
63
+ * @internal
64
+ */
65
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPipelineBlueprintsCommandInput, ListPipelineBlueprintsCommandOutput>;
66
+ /**
67
+ * @internal
68
+ */
69
+ private serialize;
70
+ /**
71
+ * @internal
72
+ */
73
+ private deserialize;
74
+ }
@@ -0,0 +1,79 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListPipelinesRequest, ListPipelinesResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListPipelinesCommand}.
10
+ */
11
+ export interface ListPipelinesCommandInput extends ListPipelinesRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListPipelinesCommand}.
17
+ */
18
+ export interface ListPipelinesCommandOutput extends ListPipelinesResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Lists all OpenSearch Ingestion pipelines in the current Amazon Web Services account and Region. For
23
+ * more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/manage-pipeline.html">Creating and managing
24
+ * OpenSearch Ingestion pipelines</a>.</p>
25
+ * @example
26
+ * Use a bare-bones client and the command you need to make an API call.
27
+ * ```javascript
28
+ * import { OSISClient, ListPipelinesCommand } from "@aws-sdk/client-osis"; // ES Modules import
29
+ * // const { OSISClient, ListPipelinesCommand } = require("@aws-sdk/client-osis"); // CommonJS import
30
+ * const client = new OSISClient(config);
31
+ * const input = { // ListPipelinesRequest
32
+ * MaxResults: Number("int"),
33
+ * NextToken: "STRING_VALUE",
34
+ * };
35
+ * const command = new ListPipelinesCommand(input);
36
+ * const response = await client.send(command);
37
+ * ```
38
+ *
39
+ * @param ListPipelinesCommandInput - {@link ListPipelinesCommandInput}
40
+ * @returns {@link ListPipelinesCommandOutput}
41
+ * @see {@link ListPipelinesCommandInput} for command's `input` shape.
42
+ * @see {@link ListPipelinesCommandOutput} for command's `response` shape.
43
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
44
+ *
45
+ * @throws {@link AccessDeniedException} (client fault)
46
+ * <p>You don't have permissions to access the resource.</p>
47
+ *
48
+ * @throws {@link InternalException} (server fault)
49
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
50
+ * internal to the service).</p>
51
+ *
52
+ * @throws {@link InvalidPaginationTokenException} (client fault)
53
+ * <p>An invalid pagination token provided in the request.</p>
54
+ *
55
+ * @throws {@link ValidationException} (client fault)
56
+ * <p>An exception for missing or invalid input fields.</p>
57
+ *
58
+ *
59
+ */
60
+ export declare class ListPipelinesCommand extends $Command<ListPipelinesCommandInput, ListPipelinesCommandOutput, OSISClientResolvedConfig> {
61
+ readonly input: ListPipelinesCommandInput;
62
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
+ /**
64
+ * @public
65
+ */
66
+ constructor(input: ListPipelinesCommandInput);
67
+ /**
68
+ * @internal
69
+ */
70
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPipelinesCommandInput, ListPipelinesCommandOutput>;
71
+ /**
72
+ * @internal
73
+ */
74
+ private serialize;
75
+ /**
76
+ * @internal
77
+ */
78
+ private deserialize;
79
+ }
@@ -0,0 +1,78 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListTagsForResourceCommand}.
10
+ */
11
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListTagsForResourceCommand}.
17
+ */
18
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Lists all resource tags associated with an OpenSearch Ingestion pipeline. For more information,
23
+ * see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-pipeline.html">Tagging
24
+ * OpenSearch Ingestion pipelines</a>.</p>
25
+ * @example
26
+ * Use a bare-bones client and the command you need to make an API call.
27
+ * ```javascript
28
+ * import { OSISClient, ListTagsForResourceCommand } from "@aws-sdk/client-osis"; // ES Modules import
29
+ * // const { OSISClient, ListTagsForResourceCommand } = require("@aws-sdk/client-osis"); // CommonJS import
30
+ * const client = new OSISClient(config);
31
+ * const input = { // ListTagsForResourceRequest
32
+ * Arn: "STRING_VALUE", // required
33
+ * };
34
+ * const command = new ListTagsForResourceCommand(input);
35
+ * const response = await client.send(command);
36
+ * ```
37
+ *
38
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
39
+ * @returns {@link ListTagsForResourceCommandOutput}
40
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
41
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
42
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
43
+ *
44
+ * @throws {@link AccessDeniedException} (client fault)
45
+ * <p>You don't have permissions to access the resource.</p>
46
+ *
47
+ * @throws {@link InternalException} (server fault)
48
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
49
+ * internal to the service).</p>
50
+ *
51
+ * @throws {@link ResourceNotFoundException} (client fault)
52
+ * <p>You attempted to access or delete a resource that does not exist.</p>
53
+ *
54
+ * @throws {@link ValidationException} (client fault)
55
+ * <p>An exception for missing or invalid input fields.</p>
56
+ *
57
+ *
58
+ */
59
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, OSISClientResolvedConfig> {
60
+ readonly input: ListTagsForResourceCommandInput;
61
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
62
+ /**
63
+ * @public
64
+ */
65
+ constructor(input: ListTagsForResourceCommandInput);
66
+ /**
67
+ * @internal
68
+ */
69
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
70
+ /**
71
+ * @internal
72
+ */
73
+ private serialize;
74
+ /**
75
+ * @internal
76
+ */
77
+ private deserialize;
78
+ }
@@ -0,0 +1,80 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { StartPipelineRequest, StartPipelineResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link StartPipelineCommand}.
10
+ */
11
+ export interface StartPipelineCommandInput extends StartPipelineRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link StartPipelineCommand}.
17
+ */
18
+ export interface StartPipelineCommandOutput extends StartPipelineResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Starts an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/manage-pipeline.html#start-pipeline">Starting
23
+ * pipelines</a>.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { OSISClient, StartPipelineCommand } from "@aws-sdk/client-osis"; // ES Modules import
28
+ * // const { OSISClient, StartPipelineCommand } = require("@aws-sdk/client-osis"); // CommonJS import
29
+ * const client = new OSISClient(config);
30
+ * const input = { // StartPipelineRequest
31
+ * PipelineName: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new StartPipelineCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param StartPipelineCommandInput - {@link StartPipelineCommandInput}
38
+ * @returns {@link StartPipelineCommandOutput}
39
+ * @see {@link StartPipelineCommandInput} for command's `input` shape.
40
+ * @see {@link StartPipelineCommandOutput} for command's `response` shape.
41
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
42
+ *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>You don't have permissions to access the resource.</p>
45
+ *
46
+ * @throws {@link ConflictException} (client fault)
47
+ * <p>The client attempted to remove a resource that is currently in use.</p>
48
+ *
49
+ * @throws {@link InternalException} (server fault)
50
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
51
+ * internal to the service).</p>
52
+ *
53
+ * @throws {@link ResourceNotFoundException} (client fault)
54
+ * <p>You attempted to access or delete a resource that does not exist.</p>
55
+ *
56
+ * @throws {@link ValidationException} (client fault)
57
+ * <p>An exception for missing or invalid input fields.</p>
58
+ *
59
+ *
60
+ */
61
+ export declare class StartPipelineCommand extends $Command<StartPipelineCommandInput, StartPipelineCommandOutput, OSISClientResolvedConfig> {
62
+ readonly input: StartPipelineCommandInput;
63
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
67
+ constructor(input: StartPipelineCommandInput);
68
+ /**
69
+ * @internal
70
+ */
71
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartPipelineCommandInput, StartPipelineCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
75
+ private serialize;
76
+ /**
77
+ * @internal
78
+ */
79
+ private deserialize;
80
+ }
@@ -0,0 +1,80 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { StopPipelineRequest, StopPipelineResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link StopPipelineCommand}.
10
+ */
11
+ export interface StopPipelineCommandInput extends StopPipelineRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link StopPipelineCommand}.
17
+ */
18
+ export interface StopPipelineCommandOutput extends StopPipelineResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Stops an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/manage-pipeline.html#stop-pipeline">Stopping
23
+ * pipelines</a>.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { OSISClient, StopPipelineCommand } from "@aws-sdk/client-osis"; // ES Modules import
28
+ * // const { OSISClient, StopPipelineCommand } = require("@aws-sdk/client-osis"); // CommonJS import
29
+ * const client = new OSISClient(config);
30
+ * const input = { // StopPipelineRequest
31
+ * PipelineName: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new StopPipelineCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param StopPipelineCommandInput - {@link StopPipelineCommandInput}
38
+ * @returns {@link StopPipelineCommandOutput}
39
+ * @see {@link StopPipelineCommandInput} for command's `input` shape.
40
+ * @see {@link StopPipelineCommandOutput} for command's `response` shape.
41
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
42
+ *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>You don't have permissions to access the resource.</p>
45
+ *
46
+ * @throws {@link ConflictException} (client fault)
47
+ * <p>The client attempted to remove a resource that is currently in use.</p>
48
+ *
49
+ * @throws {@link InternalException} (server fault)
50
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
51
+ * internal to the service).</p>
52
+ *
53
+ * @throws {@link ResourceNotFoundException} (client fault)
54
+ * <p>You attempted to access or delete a resource that does not exist.</p>
55
+ *
56
+ * @throws {@link ValidationException} (client fault)
57
+ * <p>An exception for missing or invalid input fields.</p>
58
+ *
59
+ *
60
+ */
61
+ export declare class StopPipelineCommand extends $Command<StopPipelineCommandInput, StopPipelineCommandOutput, OSISClientResolvedConfig> {
62
+ readonly input: StopPipelineCommandInput;
63
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
67
+ constructor(input: StopPipelineCommandInput);
68
+ /**
69
+ * @internal
70
+ */
71
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopPipelineCommandInput, StopPipelineCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
75
+ private serialize;
76
+ /**
77
+ * @internal
78
+ */
79
+ private deserialize;
80
+ }
@@ -0,0 +1,86 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link TagResourceCommand}.
10
+ */
11
+ export interface TagResourceCommandInput extends TagResourceRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link TagResourceCommand}.
17
+ */
18
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Tags an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-pipeline.html">Tagging OpenSearch Ingestion
23
+ * pipelines</a>.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { OSISClient, TagResourceCommand } from "@aws-sdk/client-osis"; // ES Modules import
28
+ * // const { OSISClient, TagResourceCommand } = require("@aws-sdk/client-osis"); // CommonJS import
29
+ * const client = new OSISClient(config);
30
+ * const input = { // TagResourceRequest
31
+ * Arn: "STRING_VALUE", // required
32
+ * Tags: [ // TagList // required
33
+ * { // Tag
34
+ * Key: "STRING_VALUE", // required
35
+ * Value: "STRING_VALUE", // required
36
+ * },
37
+ * ],
38
+ * };
39
+ * const command = new TagResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * ```
42
+ *
43
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
44
+ * @returns {@link TagResourceCommandOutput}
45
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
46
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
47
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
48
+ *
49
+ * @throws {@link AccessDeniedException} (client fault)
50
+ * <p>You don't have permissions to access the resource.</p>
51
+ *
52
+ * @throws {@link InternalException} (server fault)
53
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
54
+ * internal to the service).</p>
55
+ *
56
+ * @throws {@link LimitExceededException} (client fault)
57
+ * <p>You attempted to create more than the allowed number of tags.</p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>You attempted to access or delete a resource that does not exist.</p>
61
+ *
62
+ * @throws {@link ValidationException} (client fault)
63
+ * <p>An exception for missing or invalid input fields.</p>
64
+ *
65
+ *
66
+ */
67
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, OSISClientResolvedConfig> {
68
+ readonly input: TagResourceCommandInput;
69
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
+ /**
71
+ * @public
72
+ */
73
+ constructor(input: TagResourceCommandInput);
74
+ /**
75
+ * @internal
76
+ */
77
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
78
+ /**
79
+ * @internal
80
+ */
81
+ private serialize;
82
+ /**
83
+ * @internal
84
+ */
85
+ private deserialize;
86
+ }