@aws-sdk/client-opensearch 3.576.0 → 3.582.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
@@ -45,6 +45,7 @@ __export(src_exports, {
45
45
  CreateOutboundConnectionCommand: () => CreateOutboundConnectionCommand,
46
46
  CreatePackageCommand: () => CreatePackageCommand,
47
47
  CreateVpcEndpointCommand: () => CreateVpcEndpointCommand,
48
+ DataSourceStatus: () => DataSourceStatus,
48
49
  DataSourceType: () => DataSourceType,
49
50
  DeleteDataSourceCommand: () => DeleteDataSourceCommand,
50
51
  DeleteDomainCommand: () => DeleteDomainCommand,
@@ -898,6 +899,10 @@ var VpcEndpointErrorCode = {
898
899
  ENDPOINT_NOT_FOUND: "ENDPOINT_NOT_FOUND",
899
900
  SERVER_ERROR: "SERVER_ERROR"
900
901
  };
902
+ var DataSourceStatus = {
903
+ ACTIVE: "ACTIVE",
904
+ DISABLED: "DISABLED"
905
+ };
901
906
  var MaintenanceType = {
902
907
  REBOOT_NODE: "REBOOT_NODE",
903
908
  RESTART_DASHBOARD: "RESTART_DASHBOARD",
@@ -1754,7 +1759,8 @@ var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
1754
1759
  body = JSON.stringify(
1755
1760
  (0, import_smithy_client.take)(input, {
1756
1761
  DataSourceType: (_) => (0, import_smithy_client._json)(_),
1757
- Description: []
1762
+ Description: [],
1763
+ Status: []
1758
1764
  })
1759
1765
  );
1760
1766
  b.m("PUT").h(headers).b(body);
@@ -2376,7 +2382,8 @@ var de_GetDataSourceCommand = /* @__PURE__ */ __name(async (output, context) =>
2376
2382
  const doc = (0, import_smithy_client.take)(data, {
2377
2383
  DataSourceType: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
2378
2384
  Description: import_smithy_client.expectString,
2379
- Name: import_smithy_client.expectString
2385
+ Name: import_smithy_client.expectString,
2386
+ Status: import_smithy_client.expectString
2380
2387
  });
2381
2388
  Object.assign(contents, doc);
2382
2389
  return contents;
@@ -4860,6 +4867,7 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
4860
4867
  DescribePackagesFilterName,
4861
4868
  ReservedInstancePaymentOption,
4862
4869
  VpcEndpointErrorCode,
4870
+ DataSourceStatus,
4863
4871
  MaintenanceType,
4864
4872
  MaintenanceStatus,
4865
4873
  UpgradeStep,
@@ -490,6 +490,10 @@ export const VpcEndpointErrorCode = {
490
490
  ENDPOINT_NOT_FOUND: "ENDPOINT_NOT_FOUND",
491
491
  SERVER_ERROR: "SERVER_ERROR",
492
492
  };
493
+ export const DataSourceStatus = {
494
+ ACTIVE: "ACTIVE",
495
+ DISABLED: "DISABLED",
496
+ };
493
497
  export const MaintenanceType = {
494
498
  REBOOT_NODE: "REBOOT_NODE",
495
499
  RESTART_DASHBOARD: "RESTART_DASHBOARD",
@@ -733,6 +733,7 @@ export const se_UpdateDataSourceCommand = async (input, context) => {
733
733
  body = JSON.stringify(take(input, {
734
734
  DataSourceType: (_) => _json(_),
735
735
  Description: [],
736
+ Status: [],
736
737
  }));
737
738
  b.m("PUT").h(headers).b(body);
738
739
  return b.build();
@@ -1344,6 +1345,7 @@ export const de_GetDataSourceCommand = async (output, context) => {
1344
1345
  DataSourceType: (_) => _json(__expectUnion(_)),
1345
1346
  Description: __expectString,
1346
1347
  Name: __expectString,
1348
+ Status: __expectString,
1347
1349
  });
1348
1350
  Object.assign(contents, doc);
1349
1351
  return contents;
@@ -47,6 +47,7 @@ declare const GetDataSourceCommand_base: {
47
47
  * // },
48
48
  * // Name: "STRING_VALUE",
49
49
  * // Description: "STRING_VALUE",
50
+ * // Status: "ACTIVE" || "DISABLED",
50
51
  * // };
51
52
  *
52
53
  * ```
@@ -50,6 +50,7 @@ declare const ListDataSourcesCommand_base: {
50
50
  * // },
51
51
  * // Name: "STRING_VALUE",
52
52
  * // Description: "STRING_VALUE",
53
+ * // Status: "ACTIVE" || "DISABLED",
53
54
  * // },
54
55
  * // ],
55
56
  * // };
@@ -43,6 +43,7 @@ declare const UpdateDataSourceCommand_base: {
43
43
  * },
44
44
  * },
45
45
  * Description: "STRING_VALUE",
46
+ * Status: "ACTIVE" || "DISABLED",
46
47
  * };
47
48
  * const command = new UpdateDataSourceCommand(input);
48
49
  * const response = await client.send(command);
@@ -2161,7 +2161,7 @@ export interface DomainStatus {
2161
2161
  */
2162
2162
  Endpoints?: Record<string, string>;
2163
2163
  /**
2164
- * <p>The DualStack Hosted Zone Id for the domain. </p>
2164
+ * <p>The dual stack hosted zone ID for the domain. </p>
2165
2165
  * @public
2166
2166
  */
2167
2167
  DomainEndpointV2HostedZoneId?: string;
@@ -4922,6 +4922,18 @@ export interface GetDataSourceRequest {
4922
4922
  */
4923
4923
  Name: string | undefined;
4924
4924
  }
4925
+ /**
4926
+ * @public
4927
+ * @enum
4928
+ */
4929
+ export declare const DataSourceStatus: {
4930
+ readonly ACTIVE: "ACTIVE";
4931
+ readonly DISABLED: "DISABLED";
4932
+ };
4933
+ /**
4934
+ * @public
4935
+ */
4936
+ export type DataSourceStatus = (typeof DataSourceStatus)[keyof typeof DataSourceStatus];
4925
4937
  /**
4926
4938
  * <p>The result of a <code>GetDataSource</code> operation.</p>
4927
4939
  * @public
@@ -4942,6 +4954,11 @@ export interface GetDataSourceResponse {
4942
4954
  * @public
4943
4955
  */
4944
4956
  Description?: string;
4957
+ /**
4958
+ * <p>The status of the data source response.</p>
4959
+ * @public
4960
+ */
4961
+ Status?: DataSourceStatus;
4945
4962
  }
4946
4963
  /**
4947
4964
  * <p>Container for the parameters to the <code>GetDomainMaintenanceStatus</code>
@@ -5325,6 +5342,11 @@ export interface DataSourceDetails {
5325
5342
  * @public
5326
5343
  */
5327
5344
  Description?: string;
5345
+ /**
5346
+ * <p>The status of the data source.</p>
5347
+ * @public
5348
+ */
5349
+ Status?: DataSourceStatus;
5328
5350
  }
5329
5351
  /**
5330
5352
  * <p>The result of a <code>ListDataSources</code> operation.</p>
@@ -6168,6 +6190,11 @@ export interface UpdateDataSourceRequest {
6168
6190
  * @public
6169
6191
  */
6170
6192
  Description?: string;
6193
+ /**
6194
+ * <p>The status of the data source update request.</p>
6195
+ * @public
6196
+ */
6197
+ Status?: DataSourceStatus;
6171
6198
  }
6172
6199
  /**
6173
6200
  * <p>The result of an <code>UpdateDataSource</code> operation.</p>
@@ -1339,10 +1339,17 @@ export interface GetDataSourceRequest {
1339
1339
  DomainName: string | undefined;
1340
1340
  Name: string | undefined;
1341
1341
  }
1342
+ export declare const DataSourceStatus: {
1343
+ readonly ACTIVE: "ACTIVE";
1344
+ readonly DISABLED: "DISABLED";
1345
+ };
1346
+ export type DataSourceStatus =
1347
+ (typeof DataSourceStatus)[keyof typeof DataSourceStatus];
1342
1348
  export interface GetDataSourceResponse {
1343
1349
  DataSourceType?: DataSourceType;
1344
1350
  Name?: string;
1345
1351
  Description?: string;
1352
+ Status?: DataSourceStatus;
1346
1353
  }
1347
1354
  export interface GetDomainMaintenanceStatusRequest {
1348
1355
  DomainName: string | undefined;
@@ -1437,6 +1444,7 @@ export interface DataSourceDetails {
1437
1444
  DataSourceType?: DataSourceType;
1438
1445
  Name?: string;
1439
1446
  Description?: string;
1447
+ Status?: DataSourceStatus;
1440
1448
  }
1441
1449
  export interface ListDataSourcesResponse {
1442
1450
  DataSources?: DataSourceDetails[];
@@ -1630,6 +1638,7 @@ export interface UpdateDataSourceRequest {
1630
1638
  Name: string | undefined;
1631
1639
  DataSourceType: DataSourceType | undefined;
1632
1640
  Description?: string;
1641
+ Status?: DataSourceStatus;
1633
1642
  }
1634
1643
  export interface UpdateDataSourceResponse {
1635
1644
  Message?: string;
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.576.0",
4
+ "version": "3.582.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",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.576.0",
24
- "@aws-sdk/client-sts": "3.576.0",
25
- "@aws-sdk/core": "3.576.0",
26
- "@aws-sdk/credential-provider-node": "3.576.0",
27
- "@aws-sdk/middleware-host-header": "3.575.0",
28
- "@aws-sdk/middleware-logger": "3.575.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.575.0",
30
- "@aws-sdk/middleware-user-agent": "3.575.0",
31
- "@aws-sdk/region-config-resolver": "3.575.0",
32
- "@aws-sdk/types": "3.575.0",
33
- "@aws-sdk/util-endpoints": "3.575.0",
34
- "@aws-sdk/util-user-agent-browser": "3.575.0",
35
- "@aws-sdk/util-user-agent-node": "3.575.0",
23
+ "@aws-sdk/client-sso-oidc": "3.582.0",
24
+ "@aws-sdk/client-sts": "3.582.0",
25
+ "@aws-sdk/core": "3.582.0",
26
+ "@aws-sdk/credential-provider-node": "3.582.0",
27
+ "@aws-sdk/middleware-host-header": "3.577.0",
28
+ "@aws-sdk/middleware-logger": "3.577.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.577.0",
31
+ "@aws-sdk/region-config-resolver": "3.577.0",
32
+ "@aws-sdk/types": "3.577.0",
33
+ "@aws-sdk/util-endpoints": "3.577.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.577.0",
35
+ "@aws-sdk/util-user-agent-node": "3.577.0",
36
36
  "@smithy/config-resolver": "^3.0.0",
37
- "@smithy/core": "^2.0.0",
38
- "@smithy/fetch-http-handler": "^3.0.0",
37
+ "@smithy/core": "^2.0.1",
38
+ "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",
41
41
  "@smithy/middleware-content-length": "^3.0.0",
42
42
  "@smithy/middleware-endpoint": "^3.0.0",
43
- "@smithy/middleware-retry": "^3.0.0",
43
+ "@smithy/middleware-retry": "^3.0.1",
44
44
  "@smithy/middleware-serde": "^3.0.0",
45
45
  "@smithy/middleware-stack": "^3.0.0",
46
46
  "@smithy/node-config-provider": "^3.0.0",
47
47
  "@smithy/node-http-handler": "^3.0.0",
48
48
  "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.0.0",
49
+ "@smithy/smithy-client": "^3.0.1",
50
50
  "@smithy/types": "^3.0.0",
51
51
  "@smithy/url-parser": "^3.0.0",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.0",
56
- "@smithy/util-defaults-mode-node": "^3.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.1",
56
+ "@smithy/util-defaults-mode-node": "^3.0.1",
57
57
  "@smithy/util-endpoints": "^2.0.0",
58
58
  "@smithy/util-middleware": "^3.0.0",
59
59
  "@smithy/util-retry": "^3.0.0",