@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
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
4
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutResourcePolicyCommand}.
14
+ */
15
+ export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutResourcePolicyCommand}.
21
+ */
22
+ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const PutResourcePolicyCommand_base: {
25
+ new (input: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Attaches a resource-based policy to an OpenSearch Ingestion resource. Resource-based
31
+ * policies grant permissions to principals to perform actions on the resource.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { OSISClient, PutResourcePolicyCommand } from "@aws-sdk/client-osis"; // ES Modules import
36
+ * // const { OSISClient, PutResourcePolicyCommand } = require("@aws-sdk/client-osis"); // CommonJS import
37
+ * const client = new OSISClient(config);
38
+ * const input = { // PutResourcePolicyRequest
39
+ * ResourceArn: "STRING_VALUE", // required
40
+ * Policy: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new PutResourcePolicyCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // PutResourcePolicyResponse
45
+ * // ResourceArn: "STRING_VALUE",
46
+ * // Policy: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
52
+ * @returns {@link PutResourcePolicyCommandOutput}
53
+ * @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
54
+ * @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
55
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>You don't have permissions to access the resource.</p>
59
+ *
60
+ * @throws {@link DisabledOperationException} (client fault)
61
+ * <p>Exception is thrown when an operation has been disabled.</p>
62
+ *
63
+ * @throws {@link InternalException} (server fault)
64
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
65
+ * internal to the service).</p>
66
+ *
67
+ * @throws {@link LimitExceededException} (client fault)
68
+ * <p>You attempted to create more than the allowed number of tags.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>You attempted to access or delete a resource that does not exist.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>An exception for missing or invalid input fields.</p>
75
+ *
76
+ * @throws {@link OSISServiceException}
77
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: PutResourcePolicyRequest;
87
+ output: PutResourcePolicyResponse;
88
+ };
89
+ sdk: {
90
+ input: PutResourcePolicyCommandInput;
91
+ output: PutResourcePolicyCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { RevokePipelineEndpointConnectionsRequest, RevokePipelineEndpointConnectionsResponse } from "../models/models_0";
4
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RevokePipelineEndpointConnectionsCommand}.
14
+ */
15
+ export interface RevokePipelineEndpointConnectionsCommandInput extends RevokePipelineEndpointConnectionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RevokePipelineEndpointConnectionsCommand}.
21
+ */
22
+ export interface RevokePipelineEndpointConnectionsCommandOutput extends RevokePipelineEndpointConnectionsResponse, __MetadataBearer {
23
+ }
24
+ declare const RevokePipelineEndpointConnectionsCommand_base: {
25
+ new (input: RevokePipelineEndpointConnectionsCommandInput): import("@smithy/smithy-client").CommandImpl<RevokePipelineEndpointConnectionsCommandInput, RevokePipelineEndpointConnectionsCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RevokePipelineEndpointConnectionsCommandInput): import("@smithy/smithy-client").CommandImpl<RevokePipelineEndpointConnectionsCommandInput, RevokePipelineEndpointConnectionsCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Revokes pipeline endpoints from specified endpoint IDs.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OSISClient, RevokePipelineEndpointConnectionsCommand } from "@aws-sdk/client-osis"; // ES Modules import
35
+ * // const { OSISClient, RevokePipelineEndpointConnectionsCommand } = require("@aws-sdk/client-osis"); // CommonJS import
36
+ * const client = new OSISClient(config);
37
+ * const input = { // RevokePipelineEndpointConnectionsRequest
38
+ * PipelineArn: "STRING_VALUE", // required
39
+ * EndpointIds: [ // PipelineEndpointIdsList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new RevokePipelineEndpointConnectionsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // RevokePipelineEndpointConnectionsResponse
46
+ * // PipelineArn: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param RevokePipelineEndpointConnectionsCommandInput - {@link RevokePipelineEndpointConnectionsCommandInput}
52
+ * @returns {@link RevokePipelineEndpointConnectionsCommandOutput}
53
+ * @see {@link RevokePipelineEndpointConnectionsCommandInput} for command's `input` shape.
54
+ * @see {@link RevokePipelineEndpointConnectionsCommandOutput} for command's `response` shape.
55
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>You don't have permissions to access the resource.</p>
59
+ *
60
+ * @throws {@link DisabledOperationException} (client fault)
61
+ * <p>Exception is thrown when an operation has been disabled.</p>
62
+ *
63
+ * @throws {@link InternalException} (server fault)
64
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
65
+ * internal to the service).</p>
66
+ *
67
+ * @throws {@link LimitExceededException} (client fault)
68
+ * <p>You attempted to create more than the allowed number of tags.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>An exception for missing or invalid input fields.</p>
72
+ *
73
+ * @throws {@link OSISServiceException}
74
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class RevokePipelineEndpointConnectionsCommand extends RevokePipelineEndpointConnectionsCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: RevokePipelineEndpointConnectionsRequest;
84
+ output: RevokePipelineEndpointConnectionsResponse;
85
+ };
86
+ sdk: {
87
+ input: RevokePipelineEndpointConnectionsCommandInput;
88
+ output: RevokePipelineEndpointConnectionsCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -27,7 +27,8 @@ declare const StopPipelineCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Stops an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/pipeline--stop-start.html#pipeline--stop">Stopping an OpenSearch Ingestion pipeline</a>.</p>
30
+ * <p>Stops an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/pipeline--stop-start.html#pipeline--stop">Stopping
31
+ * an OpenSearch Ingestion pipeline</a>.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -27,7 +27,8 @@ declare const TagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <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 Amazon OpenSearch Ingestion pipelines</a>.</p>
30
+ * <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 Amazon OpenSearch
31
+ * Ingestion pipelines</a>.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -27,8 +27,8 @@ declare const UntagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Removes one or more tags from an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-pipeline.html">Tagging Amazon
31
- * OpenSearch Ingestion pipelines</a>.</p>
30
+ * <p>Removes one or more tags from an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-pipeline.html">Tagging
31
+ * Amazon OpenSearch Ingestion pipelines</a>.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -27,7 +27,8 @@ declare const UpdatePipelineCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/update-pipeline.html">Updating Amazon OpenSearch Ingestion pipelines</a>.</p>
30
+ * <p>Updates an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/update-pipeline.html">Updating Amazon OpenSearch
31
+ * Ingestion pipelines</a>.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -1,11 +1,19 @@
1
1
  export * from "./CreatePipelineCommand";
2
+ export * from "./CreatePipelineEndpointCommand";
2
3
  export * from "./DeletePipelineCommand";
4
+ export * from "./DeletePipelineEndpointCommand";
5
+ export * from "./DeleteResourcePolicyCommand";
3
6
  export * from "./GetPipelineBlueprintCommand";
4
7
  export * from "./GetPipelineChangeProgressCommand";
5
8
  export * from "./GetPipelineCommand";
9
+ export * from "./GetResourcePolicyCommand";
6
10
  export * from "./ListPipelineBlueprintsCommand";
11
+ export * from "./ListPipelineEndpointConnectionsCommand";
12
+ export * from "./ListPipelineEndpointsCommand";
7
13
  export * from "./ListPipelinesCommand";
8
14
  export * from "./ListTagsForResourceCommand";
15
+ export * from "./PutResourcePolicyCommand";
16
+ export * from "./RevokePipelineEndpointConnectionsCommand";
9
17
  export * from "./StartPipelineCommand";
10
18
  export * from "./StopPipelineCommand";
11
19
  export * from "./TagResourceCommand";