@aws-sdk/client-osis 3.888.0 → 3.891.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 (64) 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 +4 -1
  21. package/dist-types/commands/CreatePipelineEndpointCommand.d.ts +105 -0
  22. package/dist-types/commands/DeletePipelineCommand.d.ts +4 -1
  23. package/dist-types/commands/DeletePipelineEndpointCommand.d.ts +85 -0
  24. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +91 -0
  25. package/dist-types/commands/GetPipelineBlueprintCommand.d.ts +2 -0
  26. package/dist-types/commands/GetPipelineChangeProgressCommand.d.ts +2 -0
  27. package/dist-types/commands/GetPipelineCommand.d.ts +2 -0
  28. package/dist-types/commands/GetResourcePolicyCommand.d.ts +94 -0
  29. package/dist-types/commands/ListPipelineBlueprintsCommand.d.ts +4 -1
  30. package/dist-types/commands/ListPipelineEndpointConnectionsCommand.d.ts +99 -0
  31. package/dist-types/commands/ListPipelineEndpointsCommand.d.ts +108 -0
  32. package/dist-types/commands/ListPipelinesCommand.d.ts +5 -2
  33. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  34. package/dist-types/commands/PutResourcePolicyCommand.d.ts +96 -0
  35. package/dist-types/commands/RevokePipelineEndpointConnectionsCommand.d.ts +93 -0
  36. package/dist-types/commands/StartPipelineCommand.d.ts +2 -0
  37. package/dist-types/commands/StopPipelineCommand.d.ts +4 -1
  38. package/dist-types/commands/TagResourceCommand.d.ts +4 -1
  39. package/dist-types/commands/UntagResourceCommand.d.ts +4 -2
  40. package/dist-types/commands/UpdatePipelineCommand.d.ts +4 -1
  41. package/dist-types/commands/ValidatePipelineCommand.d.ts +2 -0
  42. package/dist-types/commands/index.d.ts +8 -0
  43. package/dist-types/models/models_0.d.ts +336 -17
  44. package/dist-types/pagination/ListPipelineEndpointConnectionsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/ListPipelineEndpointsPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  48. package/dist-types/ts3.4/OSIS.d.ts +144 -0
  49. package/dist-types/ts3.4/OSISClient.d.ts +48 -0
  50. package/dist-types/ts3.4/commands/CreatePipelineEndpointCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/DeletePipelineEndpointCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/ListPipelineEndpointConnectionsCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/ListPipelineEndpointsCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/RevokePipelineEndpointConnectionsCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +84 -0
  60. package/dist-types/ts3.4/pagination/ListPipelineEndpointConnectionsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListPipelineEndpointsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  63. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  64. package/package.json +19 -19
@@ -8,13 +8,21 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreatePipelineCommandInput, CreatePipelineCommandOutput } from "./commands/CreatePipelineCommand";
11
+ import { CreatePipelineEndpointCommandInput, CreatePipelineEndpointCommandOutput } from "./commands/CreatePipelineEndpointCommand";
11
12
  import { DeletePipelineCommandInput, DeletePipelineCommandOutput } from "./commands/DeletePipelineCommand";
13
+ import { DeletePipelineEndpointCommandInput, DeletePipelineEndpointCommandOutput } from "./commands/DeletePipelineEndpointCommand";
14
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
12
15
  import { GetPipelineBlueprintCommandInput, GetPipelineBlueprintCommandOutput } from "./commands/GetPipelineBlueprintCommand";
13
16
  import { GetPipelineChangeProgressCommandInput, GetPipelineChangeProgressCommandOutput } from "./commands/GetPipelineChangeProgressCommand";
14
17
  import { GetPipelineCommandInput, GetPipelineCommandOutput } from "./commands/GetPipelineCommand";
18
+ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
15
19
  import { ListPipelineBlueprintsCommandInput, ListPipelineBlueprintsCommandOutput } from "./commands/ListPipelineBlueprintsCommand";
20
+ import { ListPipelineEndpointConnectionsCommandInput, ListPipelineEndpointConnectionsCommandOutput } from "./commands/ListPipelineEndpointConnectionsCommand";
21
+ import { ListPipelineEndpointsCommandInput, ListPipelineEndpointsCommandOutput } from "./commands/ListPipelineEndpointsCommand";
16
22
  import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
17
23
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
24
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
25
+ import { RevokePipelineEndpointConnectionsCommandInput, RevokePipelineEndpointConnectionsCommandOutput } from "./commands/RevokePipelineEndpointConnectionsCommand";
18
26
  import { StartPipelineCommandInput, StartPipelineCommandOutput } from "./commands/StartPipelineCommand";
19
27
  import { StopPipelineCommandInput, StopPipelineCommandOutput } from "./commands/StopPipelineCommand";
20
28
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -27,11 +35,11 @@ export { __Client };
27
35
  /**
28
36
  * @public
29
37
  */
30
- export type ServiceInputTypes = CreatePipelineCommandInput | DeletePipelineCommandInput | GetPipelineBlueprintCommandInput | GetPipelineChangeProgressCommandInput | GetPipelineCommandInput | ListPipelineBlueprintsCommandInput | ListPipelinesCommandInput | ListTagsForResourceCommandInput | StartPipelineCommandInput | StopPipelineCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePipelineCommandInput | ValidatePipelineCommandInput;
38
+ export type ServiceInputTypes = CreatePipelineCommandInput | CreatePipelineEndpointCommandInput | DeletePipelineCommandInput | DeletePipelineEndpointCommandInput | DeleteResourcePolicyCommandInput | GetPipelineBlueprintCommandInput | GetPipelineChangeProgressCommandInput | GetPipelineCommandInput | GetResourcePolicyCommandInput | ListPipelineBlueprintsCommandInput | ListPipelineEndpointConnectionsCommandInput | ListPipelineEndpointsCommandInput | ListPipelinesCommandInput | ListTagsForResourceCommandInput | PutResourcePolicyCommandInput | RevokePipelineEndpointConnectionsCommandInput | StartPipelineCommandInput | StopPipelineCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePipelineCommandInput | ValidatePipelineCommandInput;
31
39
  /**
32
40
  * @public
33
41
  */
34
- export type ServiceOutputTypes = CreatePipelineCommandOutput | DeletePipelineCommandOutput | GetPipelineBlueprintCommandOutput | GetPipelineChangeProgressCommandOutput | GetPipelineCommandOutput | ListPipelineBlueprintsCommandOutput | ListPipelinesCommandOutput | ListTagsForResourceCommandOutput | StartPipelineCommandOutput | StopPipelineCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePipelineCommandOutput | ValidatePipelineCommandOutput;
42
+ export type ServiceOutputTypes = CreatePipelineCommandOutput | CreatePipelineEndpointCommandOutput | DeletePipelineCommandOutput | DeletePipelineEndpointCommandOutput | DeleteResourcePolicyCommandOutput | GetPipelineBlueprintCommandOutput | GetPipelineChangeProgressCommandOutput | GetPipelineCommandOutput | GetResourcePolicyCommandOutput | ListPipelineBlueprintsCommandOutput | ListPipelineEndpointConnectionsCommandOutput | ListPipelineEndpointsCommandOutput | ListPipelinesCommandOutput | ListTagsForResourceCommandOutput | PutResourcePolicyCommandOutput | RevokePipelineEndpointConnectionsCommandOutput | StartPipelineCommandOutput | StopPipelineCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePipelineCommandOutput | ValidatePipelineCommandOutput;
35
43
  /**
36
44
  * @public
37
45
  */
@@ -27,12 +27,15 @@ declare const CreatePipelineCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/creating-pipeline.html">Creating Amazon OpenSearch Ingestion pipelines</a>.</p>
30
+ * <p>Creates an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/creating-pipeline.html">Creating 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
34
35
  * import { OSISClient, CreatePipelineCommand } from "@aws-sdk/client-osis"; // ES Modules import
35
36
  * // const { OSISClient, CreatePipelineCommand } = require("@aws-sdk/client-osis"); // CommonJS import
37
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
38
+ * const config = {}; // type is OSISClientConfig
36
39
  * const client = new OSISClient(config);
37
40
  * const input = { // CreatePipelineRequest
38
41
  * PipelineName: "STRING_VALUE", // required
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreatePipelineEndpointRequest, CreatePipelineEndpointResponse } 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 CreatePipelineEndpointCommand}.
14
+ */
15
+ export interface CreatePipelineEndpointCommandInput extends CreatePipelineEndpointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreatePipelineEndpointCommand}.
21
+ */
22
+ export interface CreatePipelineEndpointCommandOutput extends CreatePipelineEndpointResponse, __MetadataBearer {
23
+ }
24
+ declare const CreatePipelineEndpointCommand_base: {
25
+ new (input: CreatePipelineEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePipelineEndpointCommandInput, CreatePipelineEndpointCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreatePipelineEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePipelineEndpointCommandInput, CreatePipelineEndpointCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a VPC endpoint for an OpenSearch Ingestion pipeline. Pipeline endpoints allow you to
31
+ * ingest data from your VPC into pipelines that you have access to.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { OSISClient, CreatePipelineEndpointCommand } from "@aws-sdk/client-osis"; // ES Modules import
36
+ * // const { OSISClient, CreatePipelineEndpointCommand } = require("@aws-sdk/client-osis"); // CommonJS import
37
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
38
+ * const config = {}; // type is OSISClientConfig
39
+ * const client = new OSISClient(config);
40
+ * const input = { // CreatePipelineEndpointRequest
41
+ * PipelineArn: "STRING_VALUE", // required
42
+ * VpcOptions: { // PipelineEndpointVpcOptions
43
+ * SubnetIds: [ // SubnetIds
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * SecurityGroupIds: [ // SecurityGroupIds
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * },
50
+ * };
51
+ * const command = new CreatePipelineEndpointCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // CreatePipelineEndpointResponse
54
+ * // PipelineArn: "STRING_VALUE",
55
+ * // EndpointId: "STRING_VALUE",
56
+ * // Status: "CREATING" || "ACTIVE" || "CREATE_FAILED" || "DELETING" || "REVOKING" || "REVOKED",
57
+ * // VpcId: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param CreatePipelineEndpointCommandInput - {@link CreatePipelineEndpointCommandInput}
63
+ * @returns {@link CreatePipelineEndpointCommandOutput}
64
+ * @see {@link CreatePipelineEndpointCommandInput} for command's `input` shape.
65
+ * @see {@link CreatePipelineEndpointCommandOutput} for command's `response` shape.
66
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>You don't have permissions to access the resource.</p>
70
+ *
71
+ * @throws {@link DisabledOperationException} (client fault)
72
+ * <p>Exception is thrown when an operation has been disabled.</p>
73
+ *
74
+ * @throws {@link InternalException} (server fault)
75
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
76
+ * internal to the service).</p>
77
+ *
78
+ * @throws {@link LimitExceededException} (client fault)
79
+ * <p>You attempted to create more than the allowed number of tags.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>You attempted to access or delete a resource that does not exist.</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>An exception for missing or invalid input fields.</p>
86
+ *
87
+ * @throws {@link OSISServiceException}
88
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class CreatePipelineEndpointCommand extends CreatePipelineEndpointCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: CreatePipelineEndpointRequest;
98
+ output: CreatePipelineEndpointResponse;
99
+ };
100
+ sdk: {
101
+ input: CreatePipelineEndpointCommandInput;
102
+ output: CreatePipelineEndpointCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -27,12 +27,15 @@ declare const DeletePipelineCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/delete-pipeline.html">Deleting Amazon OpenSearch Ingestion pipelines</a>.</p>
30
+ * <p>Deletes an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/delete-pipeline.html">Deleting 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
34
35
  * import { OSISClient, DeletePipelineCommand } from "@aws-sdk/client-osis"; // ES Modules import
35
36
  * // const { OSISClient, DeletePipelineCommand } = require("@aws-sdk/client-osis"); // CommonJS import
37
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
38
+ * const config = {}; // type is OSISClientConfig
36
39
  * const client = new OSISClient(config);
37
40
  * const input = { // DeletePipelineRequest
38
41
  * PipelineName: "STRING_VALUE", // required
@@ -0,0 +1,85 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeletePipelineEndpointRequest, DeletePipelineEndpointResponse } 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 DeletePipelineEndpointCommand}.
14
+ */
15
+ export interface DeletePipelineEndpointCommandInput extends DeletePipelineEndpointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeletePipelineEndpointCommand}.
21
+ */
22
+ export interface DeletePipelineEndpointCommandOutput extends DeletePipelineEndpointResponse, __MetadataBearer {
23
+ }
24
+ declare const DeletePipelineEndpointCommand_base: {
25
+ new (input: DeletePipelineEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePipelineEndpointCommandInput, DeletePipelineEndpointCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeletePipelineEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePipelineEndpointCommandInput, DeletePipelineEndpointCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a VPC endpoint for an OpenSearch Ingestion pipeline.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OSISClient, DeletePipelineEndpointCommand } from "@aws-sdk/client-osis"; // ES Modules import
35
+ * // const { OSISClient, DeletePipelineEndpointCommand } = require("@aws-sdk/client-osis"); // CommonJS import
36
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
37
+ * const config = {}; // type is OSISClientConfig
38
+ * const client = new OSISClient(config);
39
+ * const input = { // DeletePipelineEndpointRequest
40
+ * EndpointId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeletePipelineEndpointCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeletePipelineEndpointCommandInput - {@link DeletePipelineEndpointCommandInput}
49
+ * @returns {@link DeletePipelineEndpointCommandOutput}
50
+ * @see {@link DeletePipelineEndpointCommandInput} for command's `input` shape.
51
+ * @see {@link DeletePipelineEndpointCommandOutput} for command's `response` shape.
52
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>You don't have permissions to access the resource.</p>
56
+ *
57
+ * @throws {@link DisabledOperationException} (client fault)
58
+ * <p>Exception is thrown when an operation has been disabled.</p>
59
+ *
60
+ * @throws {@link InternalException} (server fault)
61
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
62
+ * internal to the service).</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>An exception for missing or invalid input fields.</p>
66
+ *
67
+ * @throws {@link OSISServiceException}
68
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
69
+ *
70
+ *
71
+ * @public
72
+ */
73
+ export declare class DeletePipelineEndpointCommand extends DeletePipelineEndpointCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: DeletePipelineEndpointRequest;
78
+ output: {};
79
+ };
80
+ sdk: {
81
+ input: DeletePipelineEndpointCommandInput;
82
+ output: DeletePipelineEndpointCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } 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 DeleteResourcePolicyCommand}.
14
+ */
15
+ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteResourcePolicyCommand}.
21
+ */
22
+ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteResourcePolicyCommand_base: {
25
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a resource-based policy from an OpenSearch Ingestion resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OSISClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-osis"; // ES Modules import
35
+ * // const { OSISClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-osis"); // CommonJS import
36
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
37
+ * const config = {}; // type is OSISClientConfig
38
+ * const client = new OSISClient(config);
39
+ * const input = { // DeleteResourcePolicyRequest
40
+ * ResourceArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteResourcePolicyCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
49
+ * @returns {@link DeleteResourcePolicyCommandOutput}
50
+ * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
52
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>You don't have permissions to access the resource.</p>
56
+ *
57
+ * @throws {@link DisabledOperationException} (client fault)
58
+ * <p>Exception is thrown when an operation has been disabled.</p>
59
+ *
60
+ * @throws {@link InternalException} (server fault)
61
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
62
+ * internal to the service).</p>
63
+ *
64
+ * @throws {@link LimitExceededException} (client fault)
65
+ * <p>You attempted to create more than the allowed number of tags.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>You attempted to access or delete a resource that does not exist.</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 DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: DeleteResourcePolicyRequest;
84
+ output: {};
85
+ };
86
+ sdk: {
87
+ input: DeleteResourcePolicyCommandInput;
88
+ output: DeleteResourcePolicyCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -36,6 +36,8 @@ declare const GetPipelineBlueprintCommand_base: {
36
36
  * ```javascript
37
37
  * import { OSISClient, GetPipelineBlueprintCommand } from "@aws-sdk/client-osis"; // ES Modules import
38
38
  * // const { OSISClient, GetPipelineBlueprintCommand } = require("@aws-sdk/client-osis"); // CommonJS import
39
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
40
+ * const config = {}; // type is OSISClientConfig
39
41
  * const client = new OSISClient(config);
40
42
  * const input = { // GetPipelineBlueprintRequest
41
43
  * BlueprintName: "STRING_VALUE", // required
@@ -36,6 +36,8 @@ declare const GetPipelineChangeProgressCommand_base: {
36
36
  * ```javascript
37
37
  * import { OSISClient, GetPipelineChangeProgressCommand } from "@aws-sdk/client-osis"; // ES Modules import
38
38
  * // const { OSISClient, GetPipelineChangeProgressCommand } = require("@aws-sdk/client-osis"); // CommonJS import
39
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
40
+ * const config = {}; // type is OSISClientConfig
39
41
  * const client = new OSISClient(config);
40
42
  * const input = { // GetPipelineChangeProgressRequest
41
43
  * PipelineName: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const GetPipelineCommand_base: {
33
33
  * ```javascript
34
34
  * import { OSISClient, GetPipelineCommand } from "@aws-sdk/client-osis"; // ES Modules import
35
35
  * // const { OSISClient, GetPipelineCommand } = require("@aws-sdk/client-osis"); // CommonJS import
36
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
37
+ * const config = {}; // type is OSISClientConfig
36
38
  * const client = new OSISClient(config);
37
39
  * const input = { // GetPipelineRequest
38
40
  * PipelineName: "STRING_VALUE", // required
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetResourcePolicyRequest, GetResourcePolicyResponse } 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 GetResourcePolicyCommand}.
14
+ */
15
+ export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetResourcePolicyCommand}.
21
+ */
22
+ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const GetResourcePolicyCommand_base: {
25
+ new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the resource-based policy attached to an OpenSearch Ingestion resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OSISClient, GetResourcePolicyCommand } from "@aws-sdk/client-osis"; // ES Modules import
35
+ * // const { OSISClient, GetResourcePolicyCommand } = require("@aws-sdk/client-osis"); // CommonJS import
36
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
37
+ * const config = {}; // type is OSISClientConfig
38
+ * const client = new OSISClient(config);
39
+ * const input = { // GetResourcePolicyRequest
40
+ * ResourceArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetResourcePolicyCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetResourcePolicyResponse
45
+ * // ResourceArn: "STRING_VALUE",
46
+ * // Policy: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
52
+ * @returns {@link GetResourcePolicyCommandOutput}
53
+ * @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
54
+ * @see {@link GetResourcePolicyCommandOutput} 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 GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: GetResourcePolicyRequest;
87
+ output: GetResourcePolicyResponse;
88
+ };
89
+ sdk: {
90
+ input: GetResourcePolicyCommandInput;
91
+ output: GetResourcePolicyCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -28,12 +28,15 @@ declare const ListPipelineBlueprintsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Retrieves a list of all available blueprints for Data Prepper. For more information, see
31
- * <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/creating-pipeline.html#pipeline-blueprint">Using blueprints to create a pipeline</a>.</p>
31
+ * <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/creating-pipeline.html#pipeline-blueprint">Using
32
+ * blueprints to create a pipeline</a>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript
35
36
  * import { OSISClient, ListPipelineBlueprintsCommand } from "@aws-sdk/client-osis"; // ES Modules import
36
37
  * // const { OSISClient, ListPipelineBlueprintsCommand } = require("@aws-sdk/client-osis"); // CommonJS import
38
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
39
+ * const config = {}; // type is OSISClientConfig
37
40
  * const client = new OSISClient(config);
38
41
  * const input = {};
39
42
  * const command = new ListPipelineBlueprintsCommand(input);
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListPipelineEndpointConnectionsRequest, ListPipelineEndpointConnectionsResponse } 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 ListPipelineEndpointConnectionsCommand}.
14
+ */
15
+ export interface ListPipelineEndpointConnectionsCommandInput extends ListPipelineEndpointConnectionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPipelineEndpointConnectionsCommand}.
21
+ */
22
+ export interface ListPipelineEndpointConnectionsCommandOutput extends ListPipelineEndpointConnectionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListPipelineEndpointConnectionsCommand_base: {
25
+ new (input: ListPipelineEndpointConnectionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPipelineEndpointConnectionsCommandInput, ListPipelineEndpointConnectionsCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListPipelineEndpointConnectionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListPipelineEndpointConnectionsCommandInput, ListPipelineEndpointConnectionsCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the pipeline endpoints connected to pipelines in your account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { OSISClient, ListPipelineEndpointConnectionsCommand } from "@aws-sdk/client-osis"; // ES Modules import
35
+ * // const { OSISClient, ListPipelineEndpointConnectionsCommand } = require("@aws-sdk/client-osis"); // CommonJS import
36
+ * // import type { OSISClientConfig } from "@aws-sdk/client-osis";
37
+ * const config = {}; // type is OSISClientConfig
38
+ * const client = new OSISClient(config);
39
+ * const input = { // ListPipelineEndpointConnectionsRequest
40
+ * MaxResults: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListPipelineEndpointConnectionsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListPipelineEndpointConnectionsResponse
46
+ * // NextToken: "STRING_VALUE",
47
+ * // PipelineEndpointConnections: [ // PipelineEndpointConnectionsSummaryList
48
+ * // { // PipelineEndpointConnection
49
+ * // PipelineArn: "STRING_VALUE",
50
+ * // EndpointId: "STRING_VALUE",
51
+ * // Status: "CREATING" || "ACTIVE" || "CREATE_FAILED" || "DELETING" || "REVOKING" || "REVOKED",
52
+ * // VpcEndpointOwner: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListPipelineEndpointConnectionsCommandInput - {@link ListPipelineEndpointConnectionsCommandInput}
60
+ * @returns {@link ListPipelineEndpointConnectionsCommandOutput}
61
+ * @see {@link ListPipelineEndpointConnectionsCommandInput} for command's `input` shape.
62
+ * @see {@link ListPipelineEndpointConnectionsCommandOutput} for command's `response` shape.
63
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You don't have permissions to access the resource.</p>
67
+ *
68
+ * @throws {@link DisabledOperationException} (client fault)
69
+ * <p>Exception is thrown when an operation has been disabled.</p>
70
+ *
71
+ * @throws {@link InternalException} (server fault)
72
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
73
+ * internal to the service).</p>
74
+ *
75
+ * @throws {@link LimitExceededException} (client fault)
76
+ * <p>You attempted to create more than the allowed number of tags.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>An exception for missing or invalid input fields.</p>
80
+ *
81
+ * @throws {@link OSISServiceException}
82
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class ListPipelineEndpointConnectionsCommand extends ListPipelineEndpointConnectionsCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: ListPipelineEndpointConnectionsRequest;
92
+ output: ListPipelineEndpointConnectionsResponse;
93
+ };
94
+ sdk: {
95
+ input: ListPipelineEndpointConnectionsCommandInput;
96
+ output: ListPipelineEndpointConnectionsCommandOutput;
97
+ };
98
+ };
99
+ }