@aws-sdk/client-osis 3.888.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
@@ -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,7 +27,8 @@ 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
@@ -0,0 +1,103 @@
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
+ * const client = new OSISClient(config);
38
+ * const input = { // CreatePipelineEndpointRequest
39
+ * PipelineArn: "STRING_VALUE", // required
40
+ * VpcOptions: { // PipelineEndpointVpcOptions
41
+ * SubnetIds: [ // SubnetIds
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * SecurityGroupIds: [ // SecurityGroupIds
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * };
49
+ * const command = new CreatePipelineEndpointCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // CreatePipelineEndpointResponse
52
+ * // PipelineArn: "STRING_VALUE",
53
+ * // EndpointId: "STRING_VALUE",
54
+ * // Status: "CREATING" || "ACTIVE" || "CREATE_FAILED" || "DELETING" || "REVOKING" || "REVOKED",
55
+ * // VpcId: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param CreatePipelineEndpointCommandInput - {@link CreatePipelineEndpointCommandInput}
61
+ * @returns {@link CreatePipelineEndpointCommandOutput}
62
+ * @see {@link CreatePipelineEndpointCommandInput} for command's `input` shape.
63
+ * @see {@link CreatePipelineEndpointCommandOutput} for command's `response` shape.
64
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You don't have permissions to access the resource.</p>
68
+ *
69
+ * @throws {@link DisabledOperationException} (client fault)
70
+ * <p>Exception is thrown when an operation has been disabled.</p>
71
+ *
72
+ * @throws {@link InternalException} (server fault)
73
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
74
+ * internal to the service).</p>
75
+ *
76
+ * @throws {@link LimitExceededException} (client fault)
77
+ * <p>You attempted to create more than the allowed number of tags.</p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>You attempted to access or delete a resource that does not exist.</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>An exception for missing or invalid input fields.</p>
84
+ *
85
+ * @throws {@link OSISServiceException}
86
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class CreatePipelineEndpointCommand extends CreatePipelineEndpointCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: CreatePipelineEndpointRequest;
96
+ output: CreatePipelineEndpointResponse;
97
+ };
98
+ sdk: {
99
+ input: CreatePipelineEndpointCommandInput;
100
+ output: CreatePipelineEndpointCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -27,7 +27,8 @@ 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
@@ -0,0 +1,83 @@
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
+ * const client = new OSISClient(config);
37
+ * const input = { // DeletePipelineEndpointRequest
38
+ * EndpointId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeletePipelineEndpointCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeletePipelineEndpointCommandInput - {@link DeletePipelineEndpointCommandInput}
47
+ * @returns {@link DeletePipelineEndpointCommandOutput}
48
+ * @see {@link DeletePipelineEndpointCommandInput} for command's `input` shape.
49
+ * @see {@link DeletePipelineEndpointCommandOutput} for command's `response` shape.
50
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You don't have permissions to access the resource.</p>
54
+ *
55
+ * @throws {@link DisabledOperationException} (client fault)
56
+ * <p>Exception is thrown when an operation has been disabled.</p>
57
+ *
58
+ * @throws {@link InternalException} (server fault)
59
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
60
+ * internal to the service).</p>
61
+ *
62
+ * @throws {@link ValidationException} (client fault)
63
+ * <p>An exception for missing or invalid input fields.</p>
64
+ *
65
+ * @throws {@link OSISServiceException}
66
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
67
+ *
68
+ *
69
+ * @public
70
+ */
71
+ export declare class DeletePipelineEndpointCommand extends DeletePipelineEndpointCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: DeletePipelineEndpointRequest;
76
+ output: {};
77
+ };
78
+ sdk: {
79
+ input: DeletePipelineEndpointCommandInput;
80
+ output: DeletePipelineEndpointCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -0,0 +1,89 @@
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
+ * const client = new OSISClient(config);
37
+ * const input = { // DeleteResourcePolicyRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteResourcePolicyCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
47
+ * @returns {@link DeleteResourcePolicyCommandOutput}
48
+ * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
50
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You don't have permissions to access the resource.</p>
54
+ *
55
+ * @throws {@link DisabledOperationException} (client fault)
56
+ * <p>Exception is thrown when an operation has been disabled.</p>
57
+ *
58
+ * @throws {@link InternalException} (server fault)
59
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
60
+ * internal to the service).</p>
61
+ *
62
+ * @throws {@link LimitExceededException} (client fault)
63
+ * <p>You attempted to create more than the allowed number of tags.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>You attempted to access or delete a resource that does not exist.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>An exception for missing or invalid input fields.</p>
70
+ *
71
+ * @throws {@link OSISServiceException}
72
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: DeleteResourcePolicyRequest;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: DeleteResourcePolicyCommandInput;
86
+ output: DeleteResourcePolicyCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -0,0 +1,92 @@
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
+ * const client = new OSISClient(config);
37
+ * const input = { // GetResourcePolicyRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetResourcePolicyCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetResourcePolicyResponse
43
+ * // ResourceArn: "STRING_VALUE",
44
+ * // Policy: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
50
+ * @returns {@link GetResourcePolicyCommandOutput}
51
+ * @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
52
+ * @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
53
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You don't have permissions to access the resource.</p>
57
+ *
58
+ * @throws {@link DisabledOperationException} (client fault)
59
+ * <p>Exception is thrown when an operation has been disabled.</p>
60
+ *
61
+ * @throws {@link InternalException} (server fault)
62
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
63
+ * internal to the service).</p>
64
+ *
65
+ * @throws {@link LimitExceededException} (client fault)
66
+ * <p>You attempted to create more than the allowed number of tags.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>You attempted to access or delete a resource that does not exist.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>An exception for missing or invalid input fields.</p>
73
+ *
74
+ * @throws {@link OSISServiceException}
75
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: GetResourcePolicyRequest;
85
+ output: GetResourcePolicyResponse;
86
+ };
87
+ sdk: {
88
+ input: GetResourcePolicyCommandInput;
89
+ output: GetResourcePolicyCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -28,7 +28,8 @@ 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
@@ -0,0 +1,97 @@
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
+ * const client = new OSISClient(config);
37
+ * const input = { // ListPipelineEndpointConnectionsRequest
38
+ * MaxResults: Number("int"),
39
+ * NextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListPipelineEndpointConnectionsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListPipelineEndpointConnectionsResponse
44
+ * // NextToken: "STRING_VALUE",
45
+ * // PipelineEndpointConnections: [ // PipelineEndpointConnectionsSummaryList
46
+ * // { // PipelineEndpointConnection
47
+ * // PipelineArn: "STRING_VALUE",
48
+ * // EndpointId: "STRING_VALUE",
49
+ * // Status: "CREATING" || "ACTIVE" || "CREATE_FAILED" || "DELETING" || "REVOKING" || "REVOKED",
50
+ * // VpcEndpointOwner: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param ListPipelineEndpointConnectionsCommandInput - {@link ListPipelineEndpointConnectionsCommandInput}
58
+ * @returns {@link ListPipelineEndpointConnectionsCommandOutput}
59
+ * @see {@link ListPipelineEndpointConnectionsCommandInput} for command's `input` shape.
60
+ * @see {@link ListPipelineEndpointConnectionsCommandOutput} for command's `response` shape.
61
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You don't have permissions to access the resource.</p>
65
+ *
66
+ * @throws {@link DisabledOperationException} (client fault)
67
+ * <p>Exception is thrown when an operation has been disabled.</p>
68
+ *
69
+ * @throws {@link InternalException} (server fault)
70
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
71
+ * internal to the service).</p>
72
+ *
73
+ * @throws {@link LimitExceededException} (client fault)
74
+ * <p>You attempted to create more than the allowed number of tags.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>An exception for missing or invalid input fields.</p>
78
+ *
79
+ * @throws {@link OSISServiceException}
80
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ListPipelineEndpointConnectionsCommand extends ListPipelineEndpointConnectionsCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: ListPipelineEndpointConnectionsRequest;
90
+ output: ListPipelineEndpointConnectionsResponse;
91
+ };
92
+ sdk: {
93
+ input: ListPipelineEndpointConnectionsCommandInput;
94
+ output: ListPipelineEndpointConnectionsCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListPipelineEndpointsRequest, ListPipelineEndpointsResponse } 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 ListPipelineEndpointsCommand}.
14
+ */
15
+ export interface ListPipelineEndpointsCommandInput extends ListPipelineEndpointsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPipelineEndpointsCommand}.
21
+ */
22
+ export interface ListPipelineEndpointsCommandOutput extends ListPipelineEndpointsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListPipelineEndpointsCommand_base: {
25
+ new (input: ListPipelineEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPipelineEndpointsCommandInput, ListPipelineEndpointsCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListPipelineEndpointsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListPipelineEndpointsCommandInput, ListPipelineEndpointsCommandOutput, OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all pipeline endpoints 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, ListPipelineEndpointsCommand } from "@aws-sdk/client-osis"; // ES Modules import
35
+ * // const { OSISClient, ListPipelineEndpointsCommand } = require("@aws-sdk/client-osis"); // CommonJS import
36
+ * const client = new OSISClient(config);
37
+ * const input = { // ListPipelineEndpointsRequest
38
+ * MaxResults: Number("int"),
39
+ * NextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListPipelineEndpointsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListPipelineEndpointsResponse
44
+ * // NextToken: "STRING_VALUE",
45
+ * // PipelineEndpoints: [ // PipelineEndpointsSummaryList
46
+ * // { // PipelineEndpoint
47
+ * // PipelineArn: "STRING_VALUE",
48
+ * // EndpointId: "STRING_VALUE",
49
+ * // Status: "CREATING" || "ACTIVE" || "CREATE_FAILED" || "DELETING" || "REVOKING" || "REVOKED",
50
+ * // VpcId: "STRING_VALUE",
51
+ * // VpcOptions: { // PipelineEndpointVpcOptions
52
+ * // SubnetIds: [ // SubnetIds
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // SecurityGroupIds: [ // SecurityGroupIds
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // },
59
+ * // IngestEndpointUrl: "STRING_VALUE",
60
+ * // },
61
+ * // ],
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ListPipelineEndpointsCommandInput - {@link ListPipelineEndpointsCommandInput}
67
+ * @returns {@link ListPipelineEndpointsCommandOutput}
68
+ * @see {@link ListPipelineEndpointsCommandInput} for command's `input` shape.
69
+ * @see {@link ListPipelineEndpointsCommandOutput} for command's `response` shape.
70
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>You don't have permissions to access the resource.</p>
74
+ *
75
+ * @throws {@link DisabledOperationException} (client fault)
76
+ * <p>Exception is thrown when an operation has been disabled.</p>
77
+ *
78
+ * @throws {@link InternalException} (server fault)
79
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
80
+ * internal to the service).</p>
81
+ *
82
+ * @throws {@link LimitExceededException} (client fault)
83
+ * <p>You attempted to create more than the allowed number of tags.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>An exception for missing or invalid input fields.</p>
87
+ *
88
+ * @throws {@link OSISServiceException}
89
+ * <p>Base exception class for all service exceptions from OSIS service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class ListPipelineEndpointsCommand extends ListPipelineEndpointsCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: ListPipelineEndpointsRequest;
99
+ output: ListPipelineEndpointsResponse;
100
+ };
101
+ sdk: {
102
+ input: ListPipelineEndpointsCommandInput;
103
+ output: ListPipelineEndpointsCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -27,8 +27,9 @@ declare const ListPipelinesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists all OpenSearch Ingestion pipelines in the current Amazon Web Services account and Region. For
31
- * more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/list-pipeline.html">Viewing Amazon OpenSearch Ingestion pipelines</a>.</p>
30
+ * <p>Lists all OpenSearch Ingestion pipelines in the current Amazon Web Services account and Region.
31
+ * For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/list-pipeline.html">Viewing Amazon OpenSearch
32
+ * Ingestion pipelines</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