@aws-sdk/client-osis 3.848.0 → 3.855.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.
- package/dist-cjs/index.js +4 -1
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreatePipelineCommand.d.ts +2 -0
- package/dist-types/commands/GetPipelineCommand.d.ts +1 -0
- package/dist-types/commands/StartPipelineCommand.d.ts +1 -0
- package/dist-types/commands/StopPipelineCommand.d.ts +1 -0
- package/dist-types/commands/UpdatePipelineCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -438,6 +438,7 @@ var se_CreatePipelineCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
438
438
|
MinUnits: [],
|
|
439
439
|
PipelineConfigurationBody: [],
|
|
440
440
|
PipelineName: [],
|
|
441
|
+
PipelineRoleArn: [],
|
|
441
442
|
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
|
|
442
443
|
VpcOptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VpcOptions")
|
|
443
444
|
})
|
|
@@ -584,7 +585,8 @@ var se_UpdatePipelineCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
584
585
|
LogPublishingOptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LogPublishingOptions"),
|
|
585
586
|
MaxUnits: [],
|
|
586
587
|
MinUnits: [],
|
|
587
|
-
PipelineConfigurationBody: []
|
|
588
|
+
PipelineConfigurationBody: [],
|
|
589
|
+
PipelineRoleArn: []
|
|
588
590
|
})
|
|
589
591
|
);
|
|
590
592
|
b.m("PUT").h(headers).b(body);
|
|
@@ -995,6 +997,7 @@ var de_Pipeline = /* @__PURE__ */ __name((output, context) => {
|
|
|
995
997
|
PipelineArn: import_smithy_client.expectString,
|
|
996
998
|
PipelineConfigurationBody: import_smithy_client.expectString,
|
|
997
999
|
PipelineName: import_smithy_client.expectString,
|
|
1000
|
+
PipelineRoleArn: import_smithy_client.expectString,
|
|
998
1001
|
ServiceVpcEndpoints: import_smithy_client._json,
|
|
999
1002
|
Status: import_smithy_client.expectString,
|
|
1000
1003
|
StatusReason: import_smithy_client._json,
|
|
@@ -18,6 +18,7 @@ export const se_CreatePipelineCommand = async (input, context) => {
|
|
|
18
18
|
MinUnits: [],
|
|
19
19
|
PipelineConfigurationBody: [],
|
|
20
20
|
PipelineName: [],
|
|
21
|
+
PipelineRoleArn: [],
|
|
21
22
|
Tags: (_) => _json(_),
|
|
22
23
|
VpcOptions: (_) => _json(_),
|
|
23
24
|
}));
|
|
@@ -159,6 +160,7 @@ export const se_UpdatePipelineCommand = async (input, context) => {
|
|
|
159
160
|
MaxUnits: [],
|
|
160
161
|
MinUnits: [],
|
|
161
162
|
PipelineConfigurationBody: [],
|
|
163
|
+
PipelineRoleArn: [],
|
|
162
164
|
}));
|
|
163
165
|
b.m("PUT").h(headers).b(body);
|
|
164
166
|
return b.build();
|
|
@@ -570,6 +572,7 @@ const de_Pipeline = (output, context) => {
|
|
|
570
572
|
PipelineArn: __expectString,
|
|
571
573
|
PipelineConfigurationBody: __expectString,
|
|
572
574
|
PipelineName: __expectString,
|
|
575
|
+
PipelineRoleArn: __expectString,
|
|
573
576
|
ServiceVpcEndpoints: _json,
|
|
574
577
|
Status: __expectString,
|
|
575
578
|
StatusReason: _json,
|
|
@@ -70,6 +70,7 @@ declare const CreatePipelineCommand_base: {
|
|
|
70
70
|
* Value: "STRING_VALUE", // required
|
|
71
71
|
* },
|
|
72
72
|
* ],
|
|
73
|
+
* PipelineRoleArn: "STRING_VALUE",
|
|
73
74
|
* };
|
|
74
75
|
* const command = new CreatePipelineCommand(input);
|
|
75
76
|
* const response = await client.send(command);
|
|
@@ -139,6 +140,7 @@ declare const CreatePipelineCommand_base: {
|
|
|
139
140
|
* // Value: "STRING_VALUE", // required
|
|
140
141
|
* // },
|
|
141
142
|
* // ],
|
|
143
|
+
* // PipelineRoleArn: "STRING_VALUE",
|
|
142
144
|
* // },
|
|
143
145
|
* // };
|
|
144
146
|
*
|
|
@@ -51,6 +51,7 @@ declare const UpdatePipelineCommand_base: {
|
|
|
51
51
|
* EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
52
52
|
* KmsKeyArn: "STRING_VALUE", // required
|
|
53
53
|
* },
|
|
54
|
+
* PipelineRoleArn: "STRING_VALUE",
|
|
54
55
|
* };
|
|
55
56
|
* const command = new UpdatePipelineCommand(input);
|
|
56
57
|
* const response = await client.send(command);
|
|
@@ -120,6 +121,7 @@ declare const UpdatePipelineCommand_base: {
|
|
|
120
121
|
* // Value: "STRING_VALUE", // required
|
|
121
122
|
* // },
|
|
122
123
|
* // ],
|
|
124
|
+
* // PipelineRoleArn: "STRING_VALUE",
|
|
123
125
|
* // },
|
|
124
126
|
* // };
|
|
125
127
|
*
|
|
@@ -195,6 +195,13 @@ export interface CreatePipelineRequest {
|
|
|
195
195
|
* @public
|
|
196
196
|
*/
|
|
197
197
|
Tags?: Tag[] | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that provides
|
|
200
|
+
* the required permissions for a pipeline to read from the source and write to the sink.
|
|
201
|
+
* For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/pipeline-security-overview.html">Setting up roles and users in Amazon OpenSearch Ingestion</a>.</p>
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
PipelineRoleArn?: string | undefined;
|
|
198
205
|
}
|
|
199
206
|
/**
|
|
200
207
|
* <p>An object representing the destination of a pipeline.</p>
|
|
@@ -389,6 +396,12 @@ export interface Pipeline {
|
|
|
389
396
|
* @public
|
|
390
397
|
*/
|
|
391
398
|
Tags?: Tag[] | undefined;
|
|
399
|
+
/**
|
|
400
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that provides
|
|
401
|
+
* the required permissions for a pipeline to read from the source and write to the sink.</p>
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
PipelineRoleArn?: string | undefined;
|
|
392
405
|
}
|
|
393
406
|
/**
|
|
394
407
|
* @public
|
|
@@ -976,6 +989,13 @@ export interface UpdatePipelineRequest {
|
|
|
976
989
|
* @public
|
|
977
990
|
*/
|
|
978
991
|
EncryptionAtRestOptions?: EncryptionAtRestOptions | undefined;
|
|
992
|
+
/**
|
|
993
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that provides
|
|
994
|
+
* the required permissions for a pipeline to read from the source and write to the sink.
|
|
995
|
+
* For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/pipeline-security-overview.html">Setting up roles and users in Amazon OpenSearch Ingestion</a>.</p>
|
|
996
|
+
* @public
|
|
997
|
+
*/
|
|
998
|
+
PipelineRoleArn?: string | undefined;
|
|
979
999
|
}
|
|
980
1000
|
/**
|
|
981
1001
|
* @public
|
|
@@ -50,6 +50,7 @@ export interface CreatePipelineRequest {
|
|
|
50
50
|
BufferOptions?: BufferOptions | undefined;
|
|
51
51
|
EncryptionAtRestOptions?: EncryptionAtRestOptions | undefined;
|
|
52
52
|
Tags?: Tag[] | undefined;
|
|
53
|
+
PipelineRoleArn?: string | undefined;
|
|
53
54
|
}
|
|
54
55
|
export interface PipelineDestination {
|
|
55
56
|
ServiceName?: string | undefined;
|
|
@@ -105,6 +106,7 @@ export interface Pipeline {
|
|
|
105
106
|
ServiceVpcEndpoints?: ServiceVpcEndpoint[] | undefined;
|
|
106
107
|
Destinations?: PipelineDestination[] | undefined;
|
|
107
108
|
Tags?: Tag[] | undefined;
|
|
109
|
+
PipelineRoleArn?: string | undefined;
|
|
108
110
|
}
|
|
109
111
|
export interface CreatePipelineResponse {
|
|
110
112
|
Pipeline?: Pipeline | undefined;
|
|
@@ -291,6 +293,7 @@ export interface UpdatePipelineRequest {
|
|
|
291
293
|
LogPublishingOptions?: LogPublishingOptions | undefined;
|
|
292
294
|
BufferOptions?: BufferOptions | undefined;
|
|
293
295
|
EncryptionAtRestOptions?: EncryptionAtRestOptions | undefined;
|
|
296
|
+
PipelineRoleArn?: string | undefined;
|
|
294
297
|
}
|
|
295
298
|
export interface UpdatePipelineResponse {
|
|
296
299
|
Pipeline?: Pipeline | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-osis",
|
|
3
3
|
"description": "AWS SDK for JavaScript Osis Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.855.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-osis",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.855.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.855.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.840.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.855.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
30
30
|
"@aws-sdk/types": "3.840.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.848.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.855.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.7.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.1.0",
|