@aws-sdk/client-opensearch 3.948.0 → 3.949.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 CHANGED
@@ -1045,6 +1045,7 @@ const _iICO = "iamIdentityCenterOptions";
1045
1045
  const _iRFICAA = "iamRoleForIdentityCenterApplicationArn";
1046
1046
  const _iT = "instanceType";
1047
1047
  const _k = "key";
1048
+ const _kKA = "kmsKeyArn";
1048
1049
  const _lDRC = "loadDryRunConfig";
1049
1050
  const _lUA = "lastUpdatedAt";
1050
1051
  const _m = "message";
@@ -1326,16 +1327,16 @@ var CreateApplicationRequest = [
1326
1327
  n0,
1327
1328
  _CAR,
1328
1329
  0,
1329
- [_cT, _n, _dS, _iICO, _aC, _tL],
1330
- [[0, 4], 0, () => DataSources, () => IamIdentityCenterOptionsInput, () => AppConfigs, () => TagList],
1330
+ [_cT, _n, _dS, _iICO, _aC, _tL, _kKA],
1331
+ [[0, 4], 0, () => DataSources, () => IamIdentityCenterOptionsInput, () => AppConfigs, () => TagList, 0],
1331
1332
  ];
1332
1333
  var CreateApplicationResponse = [
1333
1334
  3,
1334
1335
  n0,
1335
1336
  _CARr,
1336
1337
  0,
1337
- [_i, _n, _a, _dS, _iICO, _aC, _tL, _cA],
1338
- [0, 0, 0, () => DataSources, () => IamIdentityCenterOptions, () => AppConfigs, () => TagList, 4],
1338
+ [_i, _n, _a, _dS, _iICO, _aC, _tL, _cA, _kKA],
1339
+ [0, 0, 0, () => DataSources, () => IamIdentityCenterOptions, () => AppConfigs, () => TagList, 4, 0],
1339
1340
  ];
1340
1341
  var CreateDomainRequest = [
1341
1342
  3,
@@ -1929,8 +1930,8 @@ var GetApplicationResponse = [
1929
1930
  n0,
1930
1931
  _GARe,
1931
1932
  0,
1932
- [_i, _a, _n, _en, _s, _iICO, _dS, _aC, _cA, _lUA],
1933
- [0, 0, 0, 0, 0, () => IamIdentityCenterOptions, () => DataSources, () => AppConfigs, 4, 4],
1933
+ [_i, _a, _n, _en, _s, _iICO, _dS, _aC, _cA, _lUA, _kKA],
1934
+ [0, 0, 0, 0, 0, () => IamIdentityCenterOptions, () => DataSources, () => AppConfigs, 4, 4, 0],
1934
1935
  ];
1935
1936
  var GetCompatibleVersionsRequest = [3, n0, _GCVR, 0, [_DN], [[0, { [_hQ]: _dN }]]];
1936
1937
  var GetCompatibleVersionsResponse = [
@@ -755,6 +755,7 @@ const _iICO = "iamIdentityCenterOptions";
755
755
  const _iRFICAA = "iamRoleForIdentityCenterApplicationArn";
756
756
  const _iT = "instanceType";
757
757
  const _k = "key";
758
+ const _kKA = "kmsKeyArn";
758
759
  const _lDRC = "loadDryRunConfig";
759
760
  const _lUA = "lastUpdatedAt";
760
761
  const _m = "message";
@@ -1039,16 +1040,16 @@ export var CreateApplicationRequest = [
1039
1040
  n0,
1040
1041
  _CAR,
1041
1042
  0,
1042
- [_cT, _n, _dS, _iICO, _aC, _tL],
1043
- [[0, 4], 0, () => DataSources, () => IamIdentityCenterOptionsInput, () => AppConfigs, () => TagList],
1043
+ [_cT, _n, _dS, _iICO, _aC, _tL, _kKA],
1044
+ [[0, 4], 0, () => DataSources, () => IamIdentityCenterOptionsInput, () => AppConfigs, () => TagList, 0],
1044
1045
  ];
1045
1046
  export var CreateApplicationResponse = [
1046
1047
  3,
1047
1048
  n0,
1048
1049
  _CARr,
1049
1050
  0,
1050
- [_i, _n, _a, _dS, _iICO, _aC, _tL, _cA],
1051
- [0, 0, 0, () => DataSources, () => IamIdentityCenterOptions, () => AppConfigs, () => TagList, 4],
1051
+ [_i, _n, _a, _dS, _iICO, _aC, _tL, _cA, _kKA],
1052
+ [0, 0, 0, () => DataSources, () => IamIdentityCenterOptions, () => AppConfigs, () => TagList, 4, 0],
1052
1053
  ];
1053
1054
  export var CreateDomainRequest = [
1054
1055
  3,
@@ -1642,8 +1643,8 @@ export var GetApplicationResponse = [
1642
1643
  n0,
1643
1644
  _GARe,
1644
1645
  0,
1645
- [_i, _a, _n, _en, _s, _iICO, _dS, _aC, _cA, _lUA],
1646
- [0, 0, 0, 0, 0, () => IamIdentityCenterOptions, () => DataSources, () => AppConfigs, 4, 4],
1646
+ [_i, _a, _n, _en, _s, _iICO, _dS, _aC, _cA, _lUA, _kKA],
1647
+ [0, 0, 0, 0, 0, () => IamIdentityCenterOptions, () => DataSources, () => AppConfigs, 4, 4, 0],
1647
1648
  ];
1648
1649
  export var GetCompatibleVersionsRequest = [3, n0, _GCVR, 0, [_DN], [[0, { [_hQ]: _dN }]]];
1649
1650
  export var GetCompatibleVersionsResponse = [
@@ -62,6 +62,7 @@ declare const CreateApplicationCommand_base: {
62
62
  * Value: "STRING_VALUE", // required
63
63
  * },
64
64
  * ],
65
+ * kmsKeyArn: "STRING_VALUE",
65
66
  * };
66
67
  * const command = new CreateApplicationCommand(input);
67
68
  * const response = await client.send(command);
@@ -94,6 +95,7 @@ declare const CreateApplicationCommand_base: {
94
95
  * // },
95
96
  * // ],
96
97
  * // createdAt: new Date("TIMESTAMP"),
98
+ * // kmsKeyArn: "STRING_VALUE",
97
99
  * // };
98
100
  *
99
101
  * ```
@@ -67,6 +67,7 @@ declare const GetApplicationCommand_base: {
67
67
  * // ],
68
68
  * // createdAt: new Date("TIMESTAMP"),
69
69
  * // lastUpdatedAt: new Date("TIMESTAMP"),
70
+ * // kmsKeyArn: "STRING_VALUE",
70
71
  * // };
71
72
  *
72
73
  * ```
@@ -1425,6 +1425,13 @@ export interface CreateApplicationRequest {
1425
1425
  * @public
1426
1426
  */
1427
1427
  tagList?: Tag[] | undefined;
1428
+ /**
1429
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the application's data at rest.
1430
+ * If provided, the application uses your customer-managed key for encryption. If omitted, the application
1431
+ * uses an AWS-managed key. The KMS key must be in the same region as the application.</p>
1432
+ * @public
1433
+ */
1434
+ kmsKeyArn?: string | undefined;
1428
1435
  }
1429
1436
  /**
1430
1437
  * <p>Configuration settings for IAM Identity Center in an OpenSearch application.</p>
@@ -1504,6 +1511,11 @@ export interface CreateApplicationResponse {
1504
1511
  * @public
1505
1512
  */
1506
1513
  createdAt?: Date | undefined;
1514
+ /**
1515
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the application's data at rest.</p>
1516
+ * @public
1517
+ */
1518
+ kmsKeyArn?: string | undefined;
1507
1519
  }
1508
1520
  /**
1509
1521
  * <p>The duration of a maintenance schedule. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html">Auto-Tune for Amazon OpenSearch Service</a>.</p>
@@ -5236,6 +5248,11 @@ export interface GetApplicationResponse {
5236
5248
  * @public
5237
5249
  */
5238
5250
  lastUpdatedAt?: Date | undefined;
5251
+ /**
5252
+ * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the application's data at rest.</p>
5253
+ * @public
5254
+ */
5255
+ kmsKeyArn?: string | undefined;
5239
5256
  }
5240
5257
  /**
5241
5258
  * <p>Container for the request parameters to <code>GetCompatibleVersions</code> operation.</p>
@@ -392,6 +392,7 @@ export interface CreateApplicationRequest {
392
392
  iamIdentityCenterOptions?: IamIdentityCenterOptionsInput | undefined;
393
393
  appConfigs?: AppConfig[] | undefined;
394
394
  tagList?: Tag[] | undefined;
395
+ kmsKeyArn?: string | undefined;
395
396
  }
396
397
  export interface IamIdentityCenterOptions {
397
398
  enabled?: boolean | undefined;
@@ -408,6 +409,7 @@ export interface CreateApplicationResponse {
408
409
  appConfigs?: AppConfig[] | undefined;
409
410
  tagList?: Tag[] | undefined;
410
411
  createdAt?: Date | undefined;
412
+ kmsKeyArn?: string | undefined;
411
413
  }
412
414
  export interface Duration {
413
415
  Value?: number | undefined;
@@ -1166,6 +1168,7 @@ export interface GetApplicationResponse {
1166
1168
  appConfigs?: AppConfig[] | undefined;
1167
1169
  createdAt?: Date | undefined;
1168
1170
  lastUpdatedAt?: Date | undefined;
1171
+ kmsKeyArn?: string | undefined;
1169
1172
  }
1170
1173
  export interface GetCompatibleVersionsRequest {
1171
1174
  DomainName?: 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.948.0",
4
+ "version": "3.949.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-opensearch",