@aws-sdk/client-opensearch 3.1003.0 → 3.1005.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.
@@ -284,6 +284,7 @@ const _DRR = "DryRunResults";
284
284
  const _DRS = "DryRunStatus";
285
285
  const _DS = "DesiredState";
286
286
  const _DSA = "DataSourceArn";
287
+ const _DSAP = "DataSourceAccessPolicy";
287
288
  const _DSD = "DataSourceDetails";
288
289
  const _DSL = "DomainStatusList";
289
290
  const _DSLa = "DataSourceList";
@@ -765,6 +766,7 @@ const _i = "id";
765
766
  const _iICAA = "iamIdentityCenterApplicationArn";
766
767
  const _iICIA = "iamIdentityCenterInstanceArn";
767
768
  const _iICO = "iamIdentityCenterOptions";
769
+ const _iRFDSA = "iamRoleForDataSourceArn";
768
770
  const _iRFICAA = "iamRoleForIdentityCenterApplicationArn";
769
771
  const _iT = "instanceType";
770
772
  const _k = "key";
@@ -913,8 +915,8 @@ exports.AddDataSourceResponse$ = [3, n0, _ADSRd,
913
915
  ];
914
916
  exports.AddDirectQueryDataSourceRequest$ = [3, n0, _ADQDSR,
915
917
  0,
916
- [_DSN, _DST, _OSA, _D, _TL],
917
- [0, () => exports.DirectQueryDataSourceType$, 64 | 0, 0, () => TagList], 3
918
+ [_DSN, _DST, _OSA, _D, _DSAP, _TL],
919
+ [0, () => exports.DirectQueryDataSourceType$, 64 | 0, 0, 0, () => TagList], 3
918
920
  ];
919
921
  exports.AddDirectQueryDataSourceResponse$ = [3, n0, _ADQDSRd,
920
922
  0,
@@ -1208,8 +1210,8 @@ exports.CrossClusterSearchConnectionProperties$ = [3, n0, _CCSCP,
1208
1210
  ];
1209
1211
  exports.DataSource$ = [3, n0, _DSa,
1210
1212
  0,
1211
- [_dSA, _dSD],
1212
- [0, 0]
1213
+ [_dSA, _dSD, _iRFDSA],
1214
+ [0, 0, 0]
1213
1215
  ];
1214
1216
  exports.DataSourceDetails$ = [3, n0, _DSD,
1215
1217
  0,
@@ -1633,8 +1635,8 @@ exports.GetDirectQueryDataSourceRequest$ = [3, n0, _GDQDSR,
1633
1635
  ];
1634
1636
  exports.GetDirectQueryDataSourceResponse$ = [3, n0, _GDQDSRe,
1635
1637
  0,
1636
- [_DSN, _DST, _D, _OSA, _DSA],
1637
- [0, () => exports.DirectQueryDataSourceType$, 0, 64 | 0, 0]
1638
+ [_DSN, _DST, _D, _OSA, _DSAP, _DSA],
1639
+ [0, () => exports.DirectQueryDataSourceType$, 0, 64 | 0, 0, 0]
1638
1640
  ];
1639
1641
  exports.GetDomainMaintenanceStatusRequest$ = [3, n0, _GDMSR,
1640
1642
  0,
@@ -2223,8 +2225,8 @@ exports.UpdateDataSourceResponse$ = [3, n0, _UDSRp,
2223
2225
  ];
2224
2226
  exports.UpdateDirectQueryDataSourceRequest$ = [3, n0, _UDQDSR,
2225
2227
  0,
2226
- [_DSN, _DST, _OSA, _D],
2227
- [[0, 1], () => exports.DirectQueryDataSourceType$, 64 | 0, 0], 3
2228
+ [_DSN, _DST, _OSA, _D, _DSAP],
2229
+ [[0, 1], () => exports.DirectQueryDataSourceType$, 64 | 0, 0, 0], 3
2228
2230
  ];
2229
2231
  exports.UpdateDirectQueryDataSourceResponse$ = [3, n0, _UDQDSRp,
2230
2232
  0,
@@ -274,6 +274,7 @@ const _DRR = "DryRunResults";
274
274
  const _DRS = "DryRunStatus";
275
275
  const _DS = "DesiredState";
276
276
  const _DSA = "DataSourceArn";
277
+ const _DSAP = "DataSourceAccessPolicy";
277
278
  const _DSD = "DataSourceDetails";
278
279
  const _DSL = "DomainStatusList";
279
280
  const _DSLa = "DataSourceList";
@@ -755,6 +756,7 @@ const _i = "id";
755
756
  const _iICAA = "iamIdentityCenterApplicationArn";
756
757
  const _iICIA = "iamIdentityCenterInstanceArn";
757
758
  const _iICO = "iamIdentityCenterOptions";
759
+ const _iRFDSA = "iamRoleForDataSourceArn";
758
760
  const _iRFICAA = "iamRoleForIdentityCenterApplicationArn";
759
761
  const _iT = "instanceType";
760
762
  const _k = "key";
@@ -903,8 +905,8 @@ export var AddDataSourceResponse$ = [3, n0, _ADSRd,
903
905
  ];
904
906
  export var AddDirectQueryDataSourceRequest$ = [3, n0, _ADQDSR,
905
907
  0,
906
- [_DSN, _DST, _OSA, _D, _TL],
907
- [0, () => DirectQueryDataSourceType$, 64 | 0, 0, () => TagList], 3
908
+ [_DSN, _DST, _OSA, _D, _DSAP, _TL],
909
+ [0, () => DirectQueryDataSourceType$, 64 | 0, 0, 0, () => TagList], 3
908
910
  ];
909
911
  export var AddDirectQueryDataSourceResponse$ = [3, n0, _ADQDSRd,
910
912
  0,
@@ -1198,8 +1200,8 @@ export var CrossClusterSearchConnectionProperties$ = [3, n0, _CCSCP,
1198
1200
  ];
1199
1201
  export var DataSource$ = [3, n0, _DSa,
1200
1202
  0,
1201
- [_dSA, _dSD],
1202
- [0, 0]
1203
+ [_dSA, _dSD, _iRFDSA],
1204
+ [0, 0, 0]
1203
1205
  ];
1204
1206
  export var DataSourceDetails$ = [3, n0, _DSD,
1205
1207
  0,
@@ -1623,8 +1625,8 @@ export var GetDirectQueryDataSourceRequest$ = [3, n0, _GDQDSR,
1623
1625
  ];
1624
1626
  export var GetDirectQueryDataSourceResponse$ = [3, n0, _GDQDSRe,
1625
1627
  0,
1626
- [_DSN, _DST, _D, _OSA, _DSA],
1627
- [0, () => DirectQueryDataSourceType$, 0, 64 | 0, 0]
1628
+ [_DSN, _DST, _D, _OSA, _DSAP, _DSA],
1629
+ [0, () => DirectQueryDataSourceType$, 0, 64 | 0, 0, 0]
1628
1630
  ];
1629
1631
  export var GetDomainMaintenanceStatusRequest$ = [3, n0, _GDMSR,
1630
1632
  0,
@@ -2213,8 +2215,8 @@ export var UpdateDataSourceResponse$ = [3, n0, _UDSRp,
2213
2215
  ];
2214
2216
  export var UpdateDirectQueryDataSourceRequest$ = [3, n0, _UDQDSR,
2215
2217
  0,
2216
- [_DSN, _DST, _OSA, _D],
2217
- [[0, 1], () => DirectQueryDataSourceType$, 64 | 0, 0], 3
2218
+ [_DSN, _DST, _OSA, _D, _DSAP],
2219
+ [[0, 1], () => DirectQueryDataSourceType$, 64 | 0, 0, 0], 3
2218
2220
  ];
2219
2221
  export var UpdateDirectQueryDataSourceResponse$ = [3, n0, _UDQDSRp,
2220
2222
  0,
@@ -51,6 +51,7 @@ declare const AddDirectQueryDataSourceCommand_base: {
51
51
  * OpenSearchArns: [ // DirectQueryOpenSearchARNList // required
52
52
  * "STRING_VALUE",
53
53
  * ],
54
+ * DataSourceAccessPolicy: "STRING_VALUE",
54
55
  * TagList: [ // TagList
55
56
  * { // Tag
56
57
  * Key: "STRING_VALUE", // required
@@ -43,6 +43,7 @@ declare const CreateApplicationCommand_base: {
43
43
  * { // DataSource
44
44
  * dataSourceArn: "STRING_VALUE",
45
45
  * dataSourceDescription: "STRING_VALUE",
46
+ * iamRoleForDataSourceArn: "STRING_VALUE",
46
47
  * },
47
48
  * ],
48
49
  * iamIdentityCenterOptions: { // IamIdentityCenterOptionsInput
@@ -74,6 +75,7 @@ declare const CreateApplicationCommand_base: {
74
75
  * // { // DataSource
75
76
  * // dataSourceArn: "STRING_VALUE",
76
77
  * // dataSourceDescription: "STRING_VALUE",
78
+ * // iamRoleForDataSourceArn: "STRING_VALUE",
77
79
  * // },
78
80
  * // ],
79
81
  * // iamIdentityCenterOptions: { // IamIdentityCenterOptions
@@ -57,6 +57,7 @@ declare const GetApplicationCommand_base: {
57
57
  * // { // DataSource
58
58
  * // dataSourceArn: "STRING_VALUE",
59
59
  * // dataSourceDescription: "STRING_VALUE",
60
+ * // iamRoleForDataSourceArn: "STRING_VALUE",
60
61
  * // },
61
62
  * // ],
62
63
  * // appConfigs: [ // AppConfigs
@@ -56,6 +56,7 @@ declare const GetDirectQueryDataSourceCommand_base: {
56
56
  * // OpenSearchArns: [ // DirectQueryOpenSearchARNList
57
57
  * // "STRING_VALUE",
58
58
  * // ],
59
+ * // DataSourceAccessPolicy: "STRING_VALUE",
59
60
  * // DataSourceArn: "STRING_VALUE",
60
61
  * // };
61
62
  *
@@ -42,6 +42,7 @@ declare const UpdateApplicationCommand_base: {
42
42
  * { // DataSource
43
43
  * dataSourceArn: "STRING_VALUE",
44
44
  * dataSourceDescription: "STRING_VALUE",
45
+ * iamRoleForDataSourceArn: "STRING_VALUE",
45
46
  * },
46
47
  * ],
47
48
  * appConfigs: [ // AppConfigs
@@ -61,6 +62,7 @@ declare const UpdateApplicationCommand_base: {
61
62
  * // { // DataSource
62
63
  * // dataSourceArn: "STRING_VALUE",
63
64
  * // dataSourceDescription: "STRING_VALUE",
65
+ * // iamRoleForDataSourceArn: "STRING_VALUE",
64
66
  * // },
65
67
  * // ],
66
68
  * // iamIdentityCenterOptions: { // IamIdentityCenterOptions
@@ -51,6 +51,7 @@ declare const UpdateDirectQueryDataSourceCommand_base: {
51
51
  * OpenSearchArns: [ // DirectQueryOpenSearchARNList // required
52
52
  * "STRING_VALUE",
53
53
  * ],
54
+ * DataSourceAccessPolicy: "STRING_VALUE",
54
55
  * };
55
56
  * const command = new UpdateDirectQueryDataSourceCommand(input);
56
57
  * const response = await client.send(command);
@@ -75,6 +76,9 @@ declare const UpdateDirectQueryDataSourceCommand_base: {
75
76
  * @throws {@link InternalException} (server fault)
76
77
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
77
78
  *
79
+ * @throws {@link LimitExceededException} (client fault)
80
+ * <p>An exception for trying to create more than the allowed number of resources or sub-resources.</p>
81
+ *
78
82
  * @throws {@link ResourceNotFoundException} (client fault)
79
83
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
80
84
  *
@@ -393,6 +393,12 @@ export interface AddDirectQueryDataSourceRequest {
393
393
  * @public
394
394
  */
395
395
  OpenSearchArns: string[] | undefined;
396
+ /**
397
+ * <p> An optional IAM access policy document that defines the permissions for accessing the data source.
398
+ * The policy document must be in valid JSON format and follow IAM policy syntax.</p>
399
+ * @public
400
+ */
401
+ DataSourceAccessPolicy?: string | undefined;
396
402
  /**
397
403
  * <p>A list of tags attached to a domain.</p>
398
404
  * @public
@@ -1365,6 +1371,11 @@ export interface DataSource {
1365
1371
  * @public
1366
1372
  */
1367
1373
  dataSourceDescription?: string | undefined;
1374
+ /**
1375
+ * <p>The ARN of the IAM role to be used for cross account/region data source association.</p>
1376
+ * @public
1377
+ */
1378
+ iamRoleForDataSourceArn?: string | undefined;
1368
1379
  }
1369
1380
  /**
1370
1381
  * <p>Configuration settings for enabling and managing IAM Identity Center.</p>
@@ -5435,6 +5446,11 @@ export interface GetDirectQueryDataSourceResponse {
5435
5446
  * @public
5436
5447
  */
5437
5448
  OpenSearchArns?: string[] | undefined;
5449
+ /**
5450
+ * <p> The IAM access policy document that defines the permissions for accessing the direct query data source. Returns the current policy configuration in JSON format, or null if no custom policy is configured. </p>
5451
+ * @public
5452
+ */
5453
+ DataSourceAccessPolicy?: string | undefined;
5438
5454
  /**
5439
5455
  * <p> The unique, system-generated identifier that represents the data source. </p>
5440
5456
  * @public
@@ -6942,6 +6958,12 @@ export interface UpdateDirectQueryDataSourceRequest {
6942
6958
  * @public
6943
6959
  */
6944
6960
  OpenSearchArns: string[] | undefined;
6961
+ /**
6962
+ * <p> An optional IAM access policy document that defines the updated permissions for accessing the direct query data source.
6963
+ * The policy document must be in valid JSON format and follow IAM policy syntax. If not specified, the existing access policy if present remains unchanged. </p>
6964
+ * @public
6965
+ */
6966
+ DataSourceAccessPolicy?: string | undefined;
6945
6967
  }
6946
6968
  /**
6947
6969
  * @public
@@ -169,6 +169,7 @@ export interface AddDirectQueryDataSourceRequest {
169
169
  DataSourceType: DirectQueryDataSourceType | undefined;
170
170
  Description?: string | undefined;
171
171
  OpenSearchArns: string[] | undefined;
172
+ DataSourceAccessPolicy?: string | undefined;
172
173
  TagList?: Tag[] | undefined;
173
174
  }
174
175
  export interface AddDirectQueryDataSourceResponse {
@@ -380,6 +381,7 @@ export interface AppConfig {
380
381
  export interface DataSource {
381
382
  dataSourceArn?: string | undefined;
382
383
  dataSourceDescription?: string | undefined;
384
+ iamRoleForDataSourceArn?: string | undefined;
383
385
  }
384
386
  export interface IamIdentityCenterOptionsInput {
385
387
  enabled?: boolean | undefined;
@@ -1213,6 +1215,7 @@ export interface GetDirectQueryDataSourceResponse {
1213
1215
  DataSourceType?: DirectQueryDataSourceType | undefined;
1214
1216
  Description?: string | undefined;
1215
1217
  OpenSearchArns?: string[] | undefined;
1218
+ DataSourceAccessPolicy?: string | undefined;
1216
1219
  DataSourceArn?: string | undefined;
1217
1220
  }
1218
1221
  export interface GetDomainMaintenanceStatusRequest {
@@ -1531,6 +1534,7 @@ export interface UpdateDirectQueryDataSourceRequest {
1531
1534
  DataSourceType: DirectQueryDataSourceType | undefined;
1532
1535
  Description?: string | undefined;
1533
1536
  OpenSearchArns: string[] | undefined;
1537
+ DataSourceAccessPolicy?: string | undefined;
1534
1538
  }
1535
1539
  export interface UpdateDirectQueryDataSourceResponse {
1536
1540
  DataSourceArn?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearch",
3
3
  "description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
4
- "version": "3.1003.0",
4
+ "version": "3.1005.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-opensearch",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.18",
25
- "@aws-sdk/credential-provider-node": "^3.972.17",
24
+ "@aws-sdk/core": "^3.973.19",
25
+ "@aws-sdk/credential-provider-node": "^3.972.19",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.7",
27
27
  "@aws-sdk/middleware-logger": "^3.972.7",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.7",
29
- "@aws-sdk/middleware-user-agent": "^3.972.18",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.20",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.7",
31
31
  "@aws-sdk/types": "^3.973.5",
32
32
  "@aws-sdk/util-endpoints": "^3.996.4",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.7",
34
- "@aws-sdk/util-user-agent-node": "^3.973.3",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.5",
35
35
  "@smithy/config-resolver": "^4.4.10",
36
- "@smithy/core": "^3.23.8",
36
+ "@smithy/core": "^3.23.9",
37
37
  "@smithy/fetch-http-handler": "^5.3.13",
38
38
  "@smithy/hash-node": "^4.2.11",
39
39
  "@smithy/invalid-dependency": "^4.2.11",
40
40
  "@smithy/middleware-content-length": "^4.2.11",
41
- "@smithy/middleware-endpoint": "^4.4.22",
42
- "@smithy/middleware-retry": "^4.4.39",
41
+ "@smithy/middleware-endpoint": "^4.4.23",
42
+ "@smithy/middleware-retry": "^4.4.40",
43
43
  "@smithy/middleware-serde": "^4.2.12",
44
44
  "@smithy/middleware-stack": "^4.2.11",
45
45
  "@smithy/node-config-provider": "^4.3.11",
46
46
  "@smithy/node-http-handler": "^4.4.14",
47
47
  "@smithy/protocol-http": "^5.3.11",
48
- "@smithy/smithy-client": "^4.12.2",
48
+ "@smithy/smithy-client": "^4.12.3",
49
49
  "@smithy/types": "^4.13.0",
50
50
  "@smithy/url-parser": "^4.2.11",
51
51
  "@smithy/util-base64": "^4.3.2",
52
52
  "@smithy/util-body-length-browser": "^4.2.2",
53
53
  "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.38",
55
- "@smithy/util-defaults-mode-node": "^4.2.41",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.39",
55
+ "@smithy/util-defaults-mode-node": "^4.2.42",
56
56
  "@smithy/util-endpoints": "^3.3.2",
57
57
  "@smithy/util-middleware": "^4.2.11",
58
58
  "@smithy/util-retry": "^4.2.11",