Skip to content

Commit ef64589

Browse files
author
awstools
committed
feat(client-osis): SDK changes for self-managed vpc endpoint to OpenSearch ingestion pipelines.
1 parent c7523db commit ef64589

File tree

8 files changed

+67
-0
lines changed

8 files changed

+67
-0
lines changed

clients/client-osis/src/commands/CreatePipelineCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export interface CreatePipelineCommandOutput extends CreatePipelineResponse, __M
5757
* AttachToVpc: true || false, // required
5858
* CidrBlock: "STRING_VALUE",
5959
* },
60+
* VpcEndpointManagement: "CUSTOMER" || "SERVICE",
6061
* },
6162
* BufferOptions: { // BufferOptions
6263
* PersistentBufferEnabled: true || false, // required
@@ -110,6 +111,7 @@ export interface CreatePipelineCommandOutput extends CreatePipelineResponse, __M
110111
* // AttachToVpc: true || false, // required
111112
* // CidrBlock: "STRING_VALUE",
112113
* // },
114+
* // VpcEndpointManagement: "CUSTOMER" || "SERVICE",
113115
* // },
114116
* // },
115117
* // ],
@@ -119,6 +121,7 @@ export interface CreatePipelineCommandOutput extends CreatePipelineResponse, __M
119121
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
120122
* // KmsKeyArn: "STRING_VALUE", // required
121123
* // },
124+
* // VpcEndpointService: "STRING_VALUE",
122125
* // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList
123126
* // { // ServiceVpcEndpoint
124127
* // ServiceName: "OPENSEARCH_SERVERLESS",

clients/client-osis/src/commands/GetPipelineCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export interface GetPipelineCommandOutput extends GetPipelineResponse, __Metadat
7777
* // AttachToVpc: true || false, // required
7878
* // CidrBlock: "STRING_VALUE",
7979
* // },
80+
* // VpcEndpointManagement: "CUSTOMER" || "SERVICE",
8081
* // },
8182
* // },
8283
* // ],
@@ -86,6 +87,7 @@ export interface GetPipelineCommandOutput extends GetPipelineResponse, __Metadat
8687
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
8788
* // KmsKeyArn: "STRING_VALUE", // required
8889
* // },
90+
* // VpcEndpointService: "STRING_VALUE",
8991
* // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList
9092
* // { // ServiceVpcEndpoint
9193
* // ServiceName: "OPENSEARCH_SERVERLESS",

clients/client-osis/src/commands/StartPipelineCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export interface StartPipelineCommandOutput extends StartPipelineResponse, __Met
7777
* // AttachToVpc: true || false, // required
7878
* // CidrBlock: "STRING_VALUE",
7979
* // },
80+
* // VpcEndpointManagement: "CUSTOMER" || "SERVICE",
8081
* // },
8182
* // },
8283
* // ],
@@ -86,6 +87,7 @@ export interface StartPipelineCommandOutput extends StartPipelineResponse, __Met
8687
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
8788
* // KmsKeyArn: "STRING_VALUE", // required
8889
* // },
90+
* // VpcEndpointService: "STRING_VALUE",
8991
* // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList
9092
* // { // ServiceVpcEndpoint
9193
* // ServiceName: "OPENSEARCH_SERVERLESS",

clients/client-osis/src/commands/StopPipelineCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export interface StopPipelineCommandOutput extends StopPipelineResponse, __Metad
7777
* // AttachToVpc: true || false, // required
7878
* // CidrBlock: "STRING_VALUE",
7979
* // },
80+
* // VpcEndpointManagement: "CUSTOMER" || "SERVICE",
8081
* // },
8182
* // },
8283
* // ],
@@ -86,6 +87,7 @@ export interface StopPipelineCommandOutput extends StopPipelineResponse, __Metad
8687
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
8788
* // KmsKeyArn: "STRING_VALUE", // required
8889
* // },
90+
* // VpcEndpointService: "STRING_VALUE",
8991
* // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList
9092
* // { // ServiceVpcEndpoint
9193
* // ServiceName: "OPENSEARCH_SERVERLESS",

clients/client-osis/src/commands/UpdatePipelineCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineResponse, __M
9292
* // AttachToVpc: true || false, // required
9393
* // CidrBlock: "STRING_VALUE",
9494
* // },
95+
* // VpcEndpointManagement: "CUSTOMER" || "SERVICE",
9596
* // },
9697
* // },
9798
* // ],
@@ -101,6 +102,7 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineResponse, __M
101102
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
102103
* // KmsKeyArn: "STRING_VALUE", // required
103104
* // },
105+
* // VpcEndpointService: "STRING_VALUE",
104106
* // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList
105107
* // { // ServiceVpcEndpoint
106108
* // ServiceName: "OPENSEARCH_SERVERLESS",

clients/client-osis/src/models/models_0.ts

+26
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,20 @@ export interface VpcAttachmentOptions {
123123
CidrBlock?: string;
124124
}
125125

126+
/**
127+
* @public
128+
* @enum
129+
*/
130+
export const VpcEndpointManagement = {
131+
CUSTOMER: "CUSTOMER",
132+
SERVICE: "SERVICE",
133+
} as const;
134+
135+
/**
136+
* @public
137+
*/
138+
export type VpcEndpointManagement = (typeof VpcEndpointManagement)[keyof typeof VpcEndpointManagement];
139+
126140
/**
127141
* <p>Options that specify the subnets and security groups for an OpenSearch Ingestion
128142
* VPC endpoint.</p>
@@ -146,6 +160,12 @@ export interface VpcOptions {
146160
* @public
147161
*/
148162
VpcAttachmentOptions?: VpcAttachmentOptions;
163+
164+
/**
165+
* <p>Defines whether you or Amazon OpenSearch Ingestion service create and manage the VPC endpoint configured for the pipeline.</p>
166+
* @public
167+
*/
168+
VpcEndpointManagement?: VpcEndpointManagement;
149169
}
150170

151171
/**
@@ -410,6 +430,12 @@ export interface Pipeline {
410430
*/
411431
EncryptionAtRestOptions?: EncryptionAtRestOptions;
412432

433+
/**
434+
* <p>The VPC endpoint service name for the pipeline.</p>
435+
* @public
436+
*/
437+
VpcEndpointService?: string;
438+
413439
/**
414440
* <p>A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.</p>
415441
* @public

clients/client-osis/src/protocols/Aws_restJson1.ts

+1
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,7 @@ const de_Pipeline = (output: any, context: __SerdeContext): Pipeline => {
964964
Status: __expectString,
965965
StatusReason: _json,
966966
Tags: _json,
967+
VpcEndpointService: __expectString,
967968
VpcEndpoints: _json,
968969
}) as any;
969970
};

codegen/sdk-codegen/aws-models/osis.json

+29
Original file line numberDiff line numberDiff line change
@@ -1773,6 +1773,12 @@
17731773
"EncryptionAtRestOptions": {
17741774
"target": "com.amazonaws.osis#EncryptionAtRestOptions"
17751775
},
1776+
"VpcEndpointService": {
1777+
"target": "com.amazonaws.osis#String",
1778+
"traits": {
1779+
"smithy.api#documentation": "<p>The VPC endpoint service name for the pipeline.</p>"
1780+
}
1781+
},
17761782
"ServiceVpcEndpoints": {
17771783
"target": "com.amazonaws.osis#ServiceVpcEndpointsList",
17781784
"traits": {
@@ -2761,6 +2767,23 @@
27612767
"smithy.api#documentation": "<p>An OpenSearch Ingestion-managed VPC endpoint that will access one or more\n pipelines.</p>"
27622768
}
27632769
},
2770+
"com.amazonaws.osis#VpcEndpointManagement": {
2771+
"type": "enum",
2772+
"members": {
2773+
"CUSTOMER": {
2774+
"target": "smithy.api#Unit",
2775+
"traits": {
2776+
"smithy.api#enumValue": "CUSTOMER"
2777+
}
2778+
},
2779+
"SERVICE": {
2780+
"target": "smithy.api#Unit",
2781+
"traits": {
2782+
"smithy.api#enumValue": "SERVICE"
2783+
}
2784+
}
2785+
}
2786+
},
27642787
"com.amazonaws.osis#VpcEndpointServiceName": {
27652788
"type": "enum",
27662789
"members": {
@@ -2799,6 +2822,12 @@
27992822
"traits": {
28002823
"smithy.api#documentation": "<p>Options for attaching a VPC to a pipeline.</p>"
28012824
}
2825+
},
2826+
"VpcEndpointManagement": {
2827+
"target": "com.amazonaws.osis#VpcEndpointManagement",
2828+
"traits": {
2829+
"smithy.api#documentation": "<p>Defines whether you or Amazon OpenSearch Ingestion service create and manage the VPC endpoint configured for the pipeline.</p>"
2830+
}
28022831
}
28032832
},
28042833
"traits": {

0 commit comments

Comments
 (0)