@aws-sdk/client-opensearch 3.1072.0 → 3.1073.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.
Files changed (44) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +63 -1
  3. package/dist-cjs/schemas/schemas_0.js +101 -6
  4. package/dist-es/OpenSearch.js +8 -0
  5. package/dist-es/commands/AttachDataSourceCommand.js +16 -0
  6. package/dist-es/commands/DescribeDataSourceAttachmentCommand.js +16 -0
  7. package/dist-es/commands/DetachDataSourceCommand.js +16 -0
  8. package/dist-es/commands/ListDataSourceAttachmentsCommand.js +16 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/models/enums.js +5 -0
  11. package/dist-es/schemas/schemas_0.js +91 -6
  12. package/dist-types/OpenSearch.d.ts +28 -0
  13. package/dist-types/OpenSearchClient.d.ts +6 -2
  14. package/dist-types/commands/AttachDataSourceCommand.d.ts +105 -0
  15. package/dist-types/commands/DescribeDataSourceAttachmentCommand.d.ts +96 -0
  16. package/dist-types/commands/DetachDataSourceCommand.d.ts +97 -0
  17. package/dist-types/commands/ListDataSourceAttachmentsCommand.d.ts +100 -0
  18. package/dist-types/commands/RegisterCapabilityCommand.d.ts +2 -1
  19. package/dist-types/commands/RejectInboundConnectionCommand.d.ts +1 -1
  20. package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
  21. package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
  22. package/dist-types/commands/RollbackServiceSoftwareUpdateCommand.d.ts +1 -1
  23. package/dist-types/commands/index.d.ts +4 -0
  24. package/dist-types/models/enums.d.ts +13 -0
  25. package/dist-types/models/models_0.d.ts +233 -180
  26. package/dist-types/models/models_1.d.ts +181 -2
  27. package/dist-types/schemas/schemas_0.d.ts +14 -0
  28. package/dist-types/ts3.4/OpenSearch.d.ts +68 -0
  29. package/dist-types/ts3.4/OpenSearchClient.d.ts +24 -0
  30. package/dist-types/ts3.4/commands/AttachDataSourceCommand.d.ts +52 -0
  31. package/dist-types/ts3.4/commands/DescribeDataSourceAttachmentCommand.d.ts +53 -0
  32. package/dist-types/ts3.4/commands/DetachDataSourceCommand.d.ts +52 -0
  33. package/dist-types/ts3.4/commands/ListDataSourceAttachmentsCommand.d.ts +53 -0
  34. package/dist-types/ts3.4/commands/RegisterCapabilityCommand.d.ts +2 -4
  35. package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/RollbackServiceSoftwareUpdateCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  40. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  41. package/dist-types/ts3.4/models/models_0.d.ts +53 -52
  42. package/dist-types/ts3.4/models/models_1.d.ts +57 -0
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
  44. package/package.json +1 -1
@@ -13,6 +13,7 @@ import {
13
13
  CapabilityStatus,
14
14
  ConfigChangeStatus,
15
15
  ConnectionMode,
16
+ DataSourceAttachmentStatus,
16
17
  DataSourceStatus,
17
18
  DeploymentStatus,
18
19
  DeploymentStrategy,
@@ -356,6 +357,24 @@ export interface AssociatePackagesRequest {
356
357
  export interface AssociatePackagesResponse {
357
358
  DomainPackageDetailsList?: DomainPackageDetails[] | undefined;
358
359
  }
360
+ export interface WorkspaceConfigurationInput {
361
+ name: string | undefined;
362
+ workspaceType: string | undefined;
363
+ }
364
+ export interface AttachDataSourceRequest {
365
+ id: string | undefined;
366
+ dataSourceArn: string | undefined;
367
+ workspaceId?: string | undefined;
368
+ workspaceConfiguration?: WorkspaceConfigurationInput | undefined;
369
+ clientToken?: string | undefined;
370
+ }
371
+ export interface AttachDataSourceResponse {
372
+ attachmentId?: string | undefined;
373
+ id?: string | undefined;
374
+ arn?: string | undefined;
375
+ dataSourceArn?: string | undefined;
376
+ status?: DataSourceAttachmentStatus | undefined;
377
+ }
359
378
  export interface ServiceOptions {
360
379
  SupportedRegions?: string[] | undefined;
361
380
  }
@@ -848,6 +867,17 @@ export interface DeregisterCapabilityRequest {
848
867
  export interface DeregisterCapabilityResponse {
849
868
  status?: CapabilityStatus | undefined;
850
869
  }
870
+ export interface DescribeDataSourceAttachmentRequest {
871
+ id: string | undefined;
872
+ dataSourceArn: string | undefined;
873
+ }
874
+ export interface DescribeDataSourceAttachmentResponse {
875
+ attachmentId?: string | undefined;
876
+ id?: string | undefined;
877
+ arn?: string | undefined;
878
+ dataSourceArn?: string | undefined;
879
+ status?: DataSourceAttachmentStatus | undefined;
880
+ }
851
881
  export interface DescribeDomainRequest {
852
882
  DomainName: string | undefined;
853
883
  }
@@ -1233,6 +1263,15 @@ export interface DescribeVpcEndpointsResponse {
1233
1263
  VpcEndpoints: VpcEndpoint[] | undefined;
1234
1264
  VpcEndpointErrors: VpcEndpointError[] | undefined;
1235
1265
  }
1266
+ export interface DetachDataSourceRequest {
1267
+ id: string | undefined;
1268
+ dataSourceArn: string | undefined;
1269
+ }
1270
+ export interface DetachDataSourceResponse {
1271
+ id?: string | undefined;
1272
+ arn?: string | undefined;
1273
+ dataSourceArn?: string | undefined;
1274
+ }
1236
1275
  export interface DissociatePackageRequest {
1237
1276
  PackageID: string | undefined;
1238
1277
  DomainName: string | undefined;
@@ -1413,6 +1452,20 @@ export interface ListApplicationsResponse {
1413
1452
  ApplicationSummaries?: ApplicationSummary[] | undefined;
1414
1453
  nextToken?: string | undefined;
1415
1454
  }
1455
+ export interface ListDataSourceAttachmentsRequest {
1456
+ id: string | undefined;
1457
+ nextToken?: string | undefined;
1458
+ maxResults?: number | undefined;
1459
+ }
1460
+ export interface DataSourceAttachmentSummary {
1461
+ attachmentId?: string | undefined;
1462
+ dataSourceArn?: string | undefined;
1463
+ status?: DataSourceAttachmentStatus | undefined;
1464
+ }
1465
+ export interface ListDataSourceAttachmentsResponse {
1466
+ attachments?: DataSourceAttachmentSummary[] | undefined;
1467
+ nextToken?: string | undefined;
1468
+ }
1416
1469
  export interface ListDataSourcesRequest {
1417
1470
  DomainName: string | undefined;
1418
1471
  }
@@ -1631,55 +1684,3 @@ export interface RegisterCapabilityRequest {
1631
1684
  capabilityName: string | undefined;
1632
1685
  capabilityConfig: CapabilityBaseRequestConfig | undefined;
1633
1686
  }
1634
- export type CapabilityBaseResponseConfig =
1635
- | CapabilityBaseResponseConfig.AiConfigMember
1636
- | CapabilityBaseResponseConfig.$UnknownMember;
1637
- export declare namespace CapabilityBaseResponseConfig {
1638
- interface AiConfigMember {
1639
- aiConfig: AIConfig;
1640
- $unknown?: never;
1641
- }
1642
- interface $UnknownMember {
1643
- aiConfig?: never;
1644
- $unknown: [string, any];
1645
- }
1646
- interface Visitor<T> {
1647
- aiConfig: (value: AIConfig) => T;
1648
- _: (name: string, value: any) => T;
1649
- }
1650
- }
1651
- export interface RegisterCapabilityResponse {
1652
- capabilityName?: string | undefined;
1653
- applicationId?: string | undefined;
1654
- status?: CapabilityStatus | undefined;
1655
- capabilityConfig?: CapabilityBaseResponseConfig | undefined;
1656
- }
1657
- export interface RejectInboundConnectionRequest {
1658
- ConnectionId: string | undefined;
1659
- }
1660
- export interface RejectInboundConnectionResponse {
1661
- Connection?: InboundConnection | undefined;
1662
- }
1663
- export interface RemoveTagsRequest {
1664
- ARN: string | undefined;
1665
- TagKeys: string[] | undefined;
1666
- }
1667
- export interface RevokeVpcEndpointAccessRequest {
1668
- DomainName: string | undefined;
1669
- Account?: string | undefined;
1670
- Service?: AWSServicePrincipal | undefined;
1671
- ServiceOptions?: ServiceOptions | undefined;
1672
- }
1673
- export interface RevokeVpcEndpointAccessResponse {}
1674
- export interface RollbackServiceSoftwareUpdateRequest {
1675
- DomainName: string | undefined;
1676
- }
1677
- export interface RollbackServiceSoftwareOptions {
1678
- CurrentVersion?: string | undefined;
1679
- NewVersion?: string | undefined;
1680
- RollbackAvailable?: boolean | undefined;
1681
- Description?: string | undefined;
1682
- }
1683
- export interface RollbackServiceSoftwareUpdateResponse {
1684
- RollbackServiceSoftwareOptions?: RollbackServiceSoftwareOptions | undefined;
1685
- }
@@ -1,6 +1,8 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
2
  import {
3
3
  ActionType,
4
+ AWSServicePrincipal,
5
+ CapabilityStatus,
4
6
  DataSourceStatus,
5
7
  DryRunMode,
6
8
  IndexStatus,
@@ -12,6 +14,7 @@ import {
12
14
  } from "./enums";
13
15
  import {
14
16
  AdvancedSecurityOptionsInput,
17
+ AIConfig,
15
18
  AIMLOptionsInput,
16
19
  AppConfig,
17
20
  AutomatedSnapshotPauseRequestOptions,
@@ -32,6 +35,7 @@ import {
32
35
  IamIdentityCenterOptions,
33
36
  IamIdentityCenterOptionsInput,
34
37
  IdentityCenterOptionsInput,
38
+ InboundConnection,
35
39
  LogPublishingOption,
36
40
  NodeToNodeEncryptionOptions,
37
41
  OffPeakWindowOptions,
@@ -40,12 +44,65 @@ import {
40
44
  PackageEncryptionOptions,
41
45
  PackageSource,
42
46
  ScheduledAction,
47
+ ServiceOptions,
43
48
  ServiceSoftwareOptions,
44
49
  SnapshotOptions,
45
50
  SoftwareUpdateOptions,
46
51
  VpcEndpoint,
47
52
  VPCOptions,
48
53
  } from "./models_0";
54
+ export type CapabilityBaseResponseConfig =
55
+ | CapabilityBaseResponseConfig.AiConfigMember
56
+ | CapabilityBaseResponseConfig.$UnknownMember;
57
+ export declare namespace CapabilityBaseResponseConfig {
58
+ interface AiConfigMember {
59
+ aiConfig: AIConfig;
60
+ $unknown?: never;
61
+ }
62
+ interface $UnknownMember {
63
+ aiConfig?: never;
64
+ $unknown: [string, any];
65
+ }
66
+ interface Visitor<T> {
67
+ aiConfig: (value: AIConfig) => T;
68
+ _: (name: string, value: any) => T;
69
+ }
70
+ }
71
+ export interface RegisterCapabilityResponse {
72
+ capabilityName?: string | undefined;
73
+ applicationId?: string | undefined;
74
+ status?: CapabilityStatus | undefined;
75
+ capabilityConfig?: CapabilityBaseResponseConfig | undefined;
76
+ }
77
+ export interface RejectInboundConnectionRequest {
78
+ ConnectionId: string | undefined;
79
+ }
80
+ export interface RejectInboundConnectionResponse {
81
+ Connection?: InboundConnection | undefined;
82
+ }
83
+ export interface RemoveTagsRequest {
84
+ ARN: string | undefined;
85
+ TagKeys: string[] | undefined;
86
+ }
87
+ export interface RevokeVpcEndpointAccessRequest {
88
+ DomainName: string | undefined;
89
+ Account?: string | undefined;
90
+ Service?: AWSServicePrincipal | undefined;
91
+ ServiceOptions?: ServiceOptions | undefined;
92
+ }
93
+ export interface RevokeVpcEndpointAccessResponse {}
94
+ export interface RollbackServiceSoftwareUpdateRequest {
95
+ DomainName: string | undefined;
96
+ }
97
+ export interface RollbackServiceSoftwareOptions {
98
+ CurrentVersion?: string | undefined;
99
+ NewVersion?: string | undefined;
100
+ RollbackAvailable?: boolean | undefined;
101
+ Description?: string | undefined;
102
+ }
103
+ export interface RollbackServiceSoftwareUpdateResponse {
104
+ RollbackServiceSoftwareOptions?: RollbackServiceSoftwareOptions | undefined;
105
+ }
49
106
  export interface StartDomainMaintenanceRequest {
50
107
  DomainName: string | undefined;
51
108
  Action: MaintenanceType | undefined;
@@ -45,6 +45,8 @@ export declare var AssociatePackageRequest$: StaticStructureSchema;
45
45
  export declare var AssociatePackageResponse$: StaticStructureSchema;
46
46
  export declare var AssociatePackagesRequest$: StaticStructureSchema;
47
47
  export declare var AssociatePackagesResponse$: StaticStructureSchema;
48
+ export declare var AttachDataSourceRequest$: StaticStructureSchema;
49
+ export declare var AttachDataSourceResponse$: StaticStructureSchema;
48
50
  export declare var AuthorizedPrincipal$: StaticStructureSchema;
49
51
  export declare var AuthorizeVpcEndpointAccessRequest$: StaticStructureSchema;
50
52
  export declare var AuthorizeVpcEndpointAccessResponse$: StaticStructureSchema;
@@ -92,6 +94,7 @@ export declare var CreateVpcEndpointRequest$: StaticStructureSchema;
92
94
  export declare var CreateVpcEndpointResponse$: StaticStructureSchema;
93
95
  export declare var CrossClusterSearchConnectionProperties$: StaticStructureSchema;
94
96
  export declare var DataSource$: StaticStructureSchema;
97
+ export declare var DataSourceAttachmentSummary$: StaticStructureSchema;
95
98
  export declare var DataSourceDetails$: StaticStructureSchema;
96
99
  export declare var DeleteApplicationRequest$: StaticStructureSchema;
97
100
  export declare var DeleteApplicationResponse$: StaticStructureSchema;
@@ -114,6 +117,8 @@ export declare var DeploymentStrategyOptions$: StaticStructureSchema;
114
117
  export declare var DeploymentStrategyOptionsStatus$: StaticStructureSchema;
115
118
  export declare var DeregisterCapabilityRequest$: StaticStructureSchema;
116
119
  export declare var DeregisterCapabilityResponse$: StaticStructureSchema;
120
+ export declare var DescribeDataSourceAttachmentRequest$: StaticStructureSchema;
121
+ export declare var DescribeDataSourceAttachmentResponse$: StaticStructureSchema;
117
122
  export declare var DescribeDomainAutoTunesRequest$: StaticStructureSchema;
118
123
  export declare var DescribeDomainAutoTunesResponse$: StaticStructureSchema;
119
124
  export declare var DescribeDomainChangeProgressRequest$: StaticStructureSchema;
@@ -147,6 +152,8 @@ export declare var DescribeReservedInstancesRequest$: StaticStructureSchema;
147
152
  export declare var DescribeReservedInstancesResponse$: StaticStructureSchema;
148
153
  export declare var DescribeVpcEndpointsRequest$: StaticStructureSchema;
149
154
  export declare var DescribeVpcEndpointsResponse$: StaticStructureSchema;
155
+ export declare var DetachDataSourceRequest$: StaticStructureSchema;
156
+ export declare var DetachDataSourceResponse$: StaticStructureSchema;
150
157
  export declare var DirectQueryDataSource$: StaticStructureSchema;
151
158
  export declare var DissociatePackageRequest$: StaticStructureSchema;
152
159
  export declare var DissociatePackageResponse$: StaticStructureSchema;
@@ -216,6 +223,8 @@ export declare var KeyStoreAccessOption$: StaticStructureSchema;
216
223
  export declare var Limits$: StaticStructureSchema;
217
224
  export declare var ListApplicationsRequest$: StaticStructureSchema;
218
225
  export declare var ListApplicationsResponse$: StaticStructureSchema;
226
+ export declare var ListDataSourceAttachmentsRequest$: StaticStructureSchema;
227
+ export declare var ListDataSourceAttachmentsResponse$: StaticStructureSchema;
219
228
  export declare var ListDataSourcesRequest$: StaticStructureSchema;
220
229
  export declare var ListDataSourcesResponse$: StaticStructureSchema;
221
230
  export declare var ListDirectQueryDataSourcesRequest$: StaticStructureSchema;
@@ -340,6 +349,7 @@ export declare var VpcEndpointError$: StaticStructureSchema;
340
349
  export declare var VpcEndpointSummary$: StaticStructureSchema;
341
350
  export declare var VPCOptions$: StaticStructureSchema;
342
351
  export declare var WindowStartTime$: StaticStructureSchema;
352
+ export declare var WorkspaceConfigurationInput$: StaticStructureSchema;
343
353
  export declare var ZoneAwarenessConfig$: StaticStructureSchema;
344
354
  export declare var CapabilityBaseRequestConfig$: StaticUnionSchema;
345
355
  export declare var CapabilityBaseResponseConfig$: StaticUnionSchema;
@@ -352,6 +362,7 @@ export declare var AddDirectQueryDataSource$: StaticOperationSchema;
352
362
  export declare var AddTags$: StaticOperationSchema;
353
363
  export declare var AssociatePackage$: StaticOperationSchema;
354
364
  export declare var AssociatePackages$: StaticOperationSchema;
365
+ export declare var AttachDataSource$: StaticOperationSchema;
355
366
  export declare var AuthorizeVpcEndpointAccess$: StaticOperationSchema;
356
367
  export declare var CancelDomainConfigChange$: StaticOperationSchema;
357
368
  export declare var CancelServiceSoftwareUpdate$: StaticOperationSchema;
@@ -371,6 +382,7 @@ export declare var DeleteOutboundConnection$: StaticOperationSchema;
371
382
  export declare var DeletePackage$: StaticOperationSchema;
372
383
  export declare var DeleteVpcEndpoint$: StaticOperationSchema;
373
384
  export declare var DeregisterCapability$: StaticOperationSchema;
385
+ export declare var DescribeDataSourceAttachment$: StaticOperationSchema;
374
386
  export declare var DescribeDomain$: StaticOperationSchema;
375
387
  export declare var DescribeDomainAutoTunes$: StaticOperationSchema;
376
388
  export declare var DescribeDomainChangeProgress$: StaticOperationSchema;
@@ -387,6 +399,7 @@ export declare var DescribePackages$: StaticOperationSchema;
387
399
  export declare var DescribeReservedInstanceOfferings$: StaticOperationSchema;
388
400
  export declare var DescribeReservedInstances$: StaticOperationSchema;
389
401
  export declare var DescribeVpcEndpoints$: StaticOperationSchema;
402
+ export declare var DetachDataSource$: StaticOperationSchema;
390
403
  export declare var DissociatePackage$: StaticOperationSchema;
391
404
  export declare var DissociatePackages$: StaticOperationSchema;
392
405
  export declare var GetApplication$: StaticOperationSchema;
@@ -401,6 +414,7 @@ export declare var GetPackageVersionHistory$: StaticOperationSchema;
401
414
  export declare var GetUpgradeHistory$: StaticOperationSchema;
402
415
  export declare var GetUpgradeStatus$: StaticOperationSchema;
403
416
  export declare var ListApplications$: StaticOperationSchema;
417
+ export declare var ListDataSourceAttachments$: StaticOperationSchema;
404
418
  export declare var ListDataSources$: StaticOperationSchema;
405
419
  export declare var ListDirectQueryDataSources$: StaticOperationSchema;
406
420
  export declare var ListDomainMaintenances$: StaticOperationSchema;
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.1072.0",
4
+ "version": "3.1073.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",