@aws-sdk/client-opensearch 3.686.0 → 3.689.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 (50) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +186 -3
  3. package/dist-es/OpenSearch.js +6 -0
  4. package/dist-es/commands/AssociatePackagesCommand.js +22 -0
  5. package/dist-es/commands/DissociatePackagesCommand.js +22 -0
  6. package/dist-es/commands/UpdatePackageScopeCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +8 -0
  9. package/dist-es/models/models_1.js +5 -0
  10. package/dist-es/protocols/Aws_restJson1.js +108 -1
  11. package/dist-types/OpenSearch.d.ts +21 -0
  12. package/dist-types/OpenSearchClient.d.ts +5 -2
  13. package/dist-types/commands/AssociatePackageCommand.d.ts +19 -1
  14. package/dist-types/commands/AssociatePackagesCommand.d.ts +127 -0
  15. package/dist-types/commands/CreatePackageCommand.d.ts +33 -2
  16. package/dist-types/commands/DeletePackageCommand.d.ts +18 -1
  17. package/dist-types/commands/DescribePackagesCommand.d.ts +19 -2
  18. package/dist-types/commands/DissociatePackageCommand.d.ts +10 -1
  19. package/dist-types/commands/DissociatePackagesCommand.d.ts +116 -0
  20. package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +6 -0
  21. package/dist-types/commands/ListDomainsForPackageCommand.d.ts +10 -1
  22. package/dist-types/commands/ListPackagesForDomainCommand.d.ts +10 -1
  23. package/dist-types/commands/ListVersionsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
  25. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
  27. package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -1
  28. package/dist-types/commands/RejectInboundConnectionCommand.d.ts +1 -2
  29. package/dist-types/commands/UpdatePackageCommand.d.ts +28 -1
  30. package/dist-types/commands/UpdatePackageScopeCommand.d.ts +94 -0
  31. package/dist-types/commands/index.d.ts +3 -0
  32. package/dist-types/models/models_0.d.ts +242 -186
  33. package/dist-types/models/models_1.d.ts +250 -1
  34. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  35. package/dist-types/ts3.4/OpenSearch.d.ts +51 -0
  36. package/dist-types/ts3.4/OpenSearchClient.d.ts +18 -0
  37. package/dist-types/ts3.4/commands/AssociatePackagesCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/DissociatePackagesCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +4 -2
  45. package/dist-types/ts3.4/commands/UpdatePackageScopeCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +63 -43
  48. package/dist-types/ts3.4/models/models_1.d.ts +66 -0
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  50. package/package.json +6 -6
@@ -1,6 +1,192 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ActionType, AdvancedSecurityOptionsInput, AIMLOptionsInput, AppConfig, AutoTuneOptions, AWSServicePrincipal, ChangeProgressDetails, ClusterConfig, CognitoOptions, DataSource, DataSourceStatus, DataSourceType, DomainConfig, DomainEndpointOptions, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IamIdentityCenterOptions, IdentityCenterOptionsInput, InboundConnection, IPAddressType, LogPublishingOption, LogType, MaintenanceType, NodeToNodeEncryptionOptions, OffPeakWindowOptions, PackageDetails, PackageSource, ScheduledAction, ServiceSoftwareOptions, SnapshotOptions, SoftwareUpdateOptions, VpcEndpoint, VPCOptions } from "./models_0";
2
+ import { ActionType, AdvancedSecurityOptionsInput, AIMLOptionsInput, AppConfig, AuthorizedPrincipal, AutoTuneOptions, AWSServicePrincipal, ChangeProgressDetails, ClusterConfig, CognitoOptions, DataSource, DataSourceStatus, DataSourceType, DomainConfig, DomainEndpointOptions, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IamIdentityCenterOptions, IdentityCenterOptionsInput, InboundConnection, IPAddressType, LogPublishingOption, LogType, MaintenanceType, NodeToNodeEncryptionOptions, OffPeakWindowOptions, PackageConfiguration, PackageDetails, PackageEncryptionOptions, PackageSource, ScheduledAction, ServiceSoftwareOptions, SnapshotOptions, SoftwareUpdateOptions, VpcEndpoint, VpcEndpointSummary, VPCOptions } from "./models_0";
3
3
  import { OpenSearchServiceException as __BaseException } from "./OpenSearchServiceException";
4
+ /**
5
+ * <p>Container for the request parameters to the <code>ListVersions</code> operation.</p>
6
+ * @public
7
+ */
8
+ export interface ListVersionsRequest {
9
+ /**
10
+ * <p>An optional parameter that specifies the maximum number of results to return. You can use
11
+ * <code>nextToken</code> to get the next page of results.</p>
12
+ * @public
13
+ */
14
+ MaxResults?: number;
15
+ /**
16
+ * <p>If your initial <code>ListVersions</code> operation returns a <code>nextToken</code>, you
17
+ * can include the returned <code>nextToken</code> in subsequent <code>ListVersions</code>
18
+ * operations, which returns results in the next page.</p>
19
+ * @public
20
+ */
21
+ NextToken?: string;
22
+ }
23
+ /**
24
+ * <p>Container for the parameters for response received from the <code>ListVersions</code>
25
+ * operation.</p>
26
+ * @public
27
+ */
28
+ export interface ListVersionsResponse {
29
+ /**
30
+ * <p>A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service
31
+ * supports.</p>
32
+ * @public
33
+ */
34
+ Versions?: string[];
35
+ /**
36
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value of
37
+ * <code>nextToken</code> is a unique pagination token for each page. Send the request again using the
38
+ * returned token to retrieve the next page.</p>
39
+ * @public
40
+ */
41
+ NextToken?: string;
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface ListVpcEndpointAccessRequest {
47
+ /**
48
+ * <p>The name of the OpenSearch Service domain to retrieve access information for.</p>
49
+ * @public
50
+ */
51
+ DomainName: string | undefined;
52
+ /**
53
+ * <p>If your initial <code>ListVpcEndpointAccess</code> operation returns a
54
+ * <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent
55
+ * <code>ListVpcEndpointAccess</code> operations, which returns results in the next page.</p>
56
+ * @public
57
+ */
58
+ NextToken?: string;
59
+ }
60
+ /**
61
+ * @public
62
+ */
63
+ export interface ListVpcEndpointAccessResponse {
64
+ /**
65
+ * <p>A list of <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html">IAM principals</a>
66
+ * that can currently access the domain.</p>
67
+ * @public
68
+ */
69
+ AuthorizedPrincipalList: AuthorizedPrincipal[] | undefined;
70
+ /**
71
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value of
72
+ * <code>nextToken</code> is a unique pagination token for each page. Send the request again using the
73
+ * returned token to retrieve the next page.</p>
74
+ * @public
75
+ */
76
+ NextToken: string | undefined;
77
+ }
78
+ /**
79
+ * @public
80
+ */
81
+ export interface ListVpcEndpointsRequest {
82
+ /**
83
+ * <p>If your initial <code>ListVpcEndpoints</code> operation returns a <code>nextToken</code>,
84
+ * you can include the returned <code>nextToken</code> in subsequent <code>ListVpcEndpoints</code>
85
+ * operations, which returns results in the next page.</p>
86
+ * @public
87
+ */
88
+ NextToken?: string;
89
+ }
90
+ /**
91
+ * @public
92
+ */
93
+ export interface ListVpcEndpointsResponse {
94
+ /**
95
+ * <p>Information about each endpoint.</p>
96
+ * @public
97
+ */
98
+ VpcEndpointSummaryList: VpcEndpointSummary[] | undefined;
99
+ /**
100
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value of
101
+ * <code>nextToken</code> is a unique pagination token for each page. Send the request again using the
102
+ * returned token to retrieve the next page.</p>
103
+ * @public
104
+ */
105
+ NextToken: string | undefined;
106
+ }
107
+ /**
108
+ * @public
109
+ */
110
+ export interface ListVpcEndpointsForDomainRequest {
111
+ /**
112
+ * <p>The name of the domain to list associated VPC endpoints for.</p>
113
+ * @public
114
+ */
115
+ DomainName: string | undefined;
116
+ /**
117
+ * <p>If your initial <code>ListEndpointsForDomain</code> operation returns a
118
+ * <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent
119
+ * <code>ListEndpointsForDomain</code> operations, which returns results in the next page.</p>
120
+ * @public
121
+ */
122
+ NextToken?: string;
123
+ }
124
+ /**
125
+ * @public
126
+ */
127
+ export interface ListVpcEndpointsForDomainResponse {
128
+ /**
129
+ * <p>Information about each endpoint associated with the domain.</p>
130
+ * @public
131
+ */
132
+ VpcEndpointSummaryList: VpcEndpointSummary[] | undefined;
133
+ /**
134
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value of
135
+ * <code>nextToken</code> is a unique pagination token for each page. Send the request again using the
136
+ * returned token to retrieve the next page.</p>
137
+ * @public
138
+ */
139
+ NextToken: string | undefined;
140
+ }
141
+ /**
142
+ * <p>Container for request parameters to the <code>PurchaseReservedInstanceOffering</code>
143
+ * operation.</p>
144
+ * @public
145
+ */
146
+ export interface PurchaseReservedInstanceOfferingRequest {
147
+ /**
148
+ * <p>The ID of the Reserved Instance offering to purchase.</p>
149
+ * @public
150
+ */
151
+ ReservedInstanceOfferingId: string | undefined;
152
+ /**
153
+ * <p>A customer-specified identifier to track this reservation.</p>
154
+ * @public
155
+ */
156
+ ReservationName: string | undefined;
157
+ /**
158
+ * <p>The number of OpenSearch instances to reserve.</p>
159
+ * @public
160
+ */
161
+ InstanceCount?: number;
162
+ }
163
+ /**
164
+ * <p>Represents the output of a <code>PurchaseReservedInstanceOffering</code> operation.</p>
165
+ * @public
166
+ */
167
+ export interface PurchaseReservedInstanceOfferingResponse {
168
+ /**
169
+ * <p>The ID of the Reserved Instance offering that was purchased.</p>
170
+ * @public
171
+ */
172
+ ReservedInstanceId?: string;
173
+ /**
174
+ * <p>The customer-specified identifier used to track this reservation.</p>
175
+ * @public
176
+ */
177
+ ReservationName?: string;
178
+ }
179
+ /**
180
+ * <p>Container for the request parameters to the <code>RejectInboundConnection</code> operation.</p>
181
+ * @public
182
+ */
183
+ export interface RejectInboundConnectionRequest {
184
+ /**
185
+ * <p>The unique identifier of the inbound connection to reject.</p>
186
+ * @public
187
+ */
188
+ ConnectionId: string | undefined;
189
+ }
4
190
  /**
5
191
  * <p>Represents the output of a <code>RejectInboundConnection</code> operation.</p>
6
192
  * @public
@@ -483,6 +669,16 @@ export interface UpdatePackageRequest {
483
669
  * @public
484
670
  */
485
671
  CommitMessage?: string;
672
+ /**
673
+ * <p>The updated configuration details for a package.</p>
674
+ * @public
675
+ */
676
+ PackageConfiguration?: PackageConfiguration;
677
+ /**
678
+ * <p>Encryption options for a package.</p>
679
+ * @public
680
+ */
681
+ PackageEncryptionOptions?: PackageEncryptionOptions;
486
682
  }
487
683
  /**
488
684
  * <p>Container for the response returned by the <code>UpdatePackage</code> operation.</p>
@@ -495,6 +691,59 @@ export interface UpdatePackageResponse {
495
691
  */
496
692
  PackageDetails?: PackageDetails;
497
693
  }
694
+ /**
695
+ * @public
696
+ * @enum
697
+ */
698
+ export declare const PackageScopeOperationEnum: {
699
+ readonly ADD: "ADD";
700
+ readonly OVERRIDE: "OVERRIDE";
701
+ readonly REMOVE: "REMOVE";
702
+ };
703
+ /**
704
+ * @public
705
+ */
706
+ export type PackageScopeOperationEnum = (typeof PackageScopeOperationEnum)[keyof typeof PackageScopeOperationEnum];
707
+ /**
708
+ * @public
709
+ */
710
+ export interface UpdatePackageScopeRequest {
711
+ /**
712
+ * <p>ID of the package whose scope is being updated.</p>
713
+ * @public
714
+ */
715
+ PackageID: string | undefined;
716
+ /**
717
+ * <p> The operation to perform on the package scope (e.g., add/remove/override users).</p>
718
+ * @public
719
+ */
720
+ Operation: PackageScopeOperationEnum | undefined;
721
+ /**
722
+ * <p> List of users to be added or removed from the package scope.</p>
723
+ * @public
724
+ */
725
+ PackageUserList: string[] | undefined;
726
+ }
727
+ /**
728
+ * @public
729
+ */
730
+ export interface UpdatePackageScopeResponse {
731
+ /**
732
+ * <p> ID of the package whose scope was updated.</p>
733
+ * @public
734
+ */
735
+ PackageID?: string;
736
+ /**
737
+ * <p>The operation that was performed on the package scope.</p>
738
+ * @public
739
+ */
740
+ Operation?: PackageScopeOperationEnum;
741
+ /**
742
+ * <p> List of users who have access to the package after the scope update.</p>
743
+ * @public
744
+ */
745
+ PackageUserList?: string[];
746
+ }
498
747
  /**
499
748
  * <p>An exception for attempting to schedule a domain action during an unavailable time slot.</p>
500
749
  * @public
@@ -4,6 +4,7 @@ import { AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutp
4
4
  import { AddDataSourceCommandInput, AddDataSourceCommandOutput } from "../commands/AddDataSourceCommand";
5
5
  import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
6
6
  import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "../commands/AssociatePackageCommand";
7
+ import { AssociatePackagesCommandInput, AssociatePackagesCommandOutput } from "../commands/AssociatePackagesCommand";
7
8
  import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "../commands/AuthorizeVpcEndpointAccessCommand";
8
9
  import { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "../commands/CancelDomainConfigChangeCommand";
9
10
  import { CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput } from "../commands/CancelServiceSoftwareUpdateCommand";
@@ -35,6 +36,7 @@ import { DescribeReservedInstanceOfferingsCommandInput, DescribeReservedInstance
35
36
  import { DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommandOutput } from "../commands/DescribeReservedInstancesCommand";
36
37
  import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "../commands/DescribeVpcEndpointsCommand";
37
38
  import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "../commands/DissociatePackageCommand";
39
+ import { DissociatePackagesCommandInput, DissociatePackagesCommandOutput } from "../commands/DissociatePackagesCommand";
38
40
  import { GetApplicationCommandInput, GetApplicationCommandOutput } from "../commands/GetApplicationCommand";
39
41
  import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "../commands/GetCompatibleVersionsCommand";
40
42
  import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "../commands/GetDataSourceCommand";
@@ -65,6 +67,7 @@ import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from ".
65
67
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "../commands/UpdateDataSourceCommand";
66
68
  import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "../commands/UpdateDomainConfigCommand";
67
69
  import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "../commands/UpdatePackageCommand";
70
+ import { UpdatePackageScopeCommandInput, UpdatePackageScopeCommandOutput } from "../commands/UpdatePackageScopeCommand";
68
71
  import { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "../commands/UpdateScheduledActionCommand";
69
72
  import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "../commands/UpdateVpcEndpointCommand";
70
73
  import { UpgradeDomainCommandInput, UpgradeDomainCommandOutput } from "../commands/UpgradeDomainCommand";
@@ -84,6 +87,10 @@ export declare const se_AddTagsCommand: (input: AddTagsCommandInput, context: __
84
87
  * serializeAws_restJson1AssociatePackageCommand
85
88
  */
86
89
  export declare const se_AssociatePackageCommand: (input: AssociatePackageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
+ /**
91
+ * serializeAws_restJson1AssociatePackagesCommand
92
+ */
93
+ export declare const se_AssociatePackagesCommand: (input: AssociatePackagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
94
  /**
88
95
  * serializeAws_restJson1AuthorizeVpcEndpointAccessCommand
89
96
  */
@@ -208,6 +215,10 @@ export declare const se_DescribeVpcEndpointsCommand: (input: DescribeVpcEndpoint
208
215
  * serializeAws_restJson1DissociatePackageCommand
209
216
  */
210
217
  export declare const se_DissociatePackageCommand: (input: DissociatePackageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
218
+ /**
219
+ * serializeAws_restJson1DissociatePackagesCommand
220
+ */
221
+ export declare const se_DissociatePackagesCommand: (input: DissociatePackagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
211
222
  /**
212
223
  * serializeAws_restJson1GetApplicationCommand
213
224
  */
@@ -328,6 +339,10 @@ export declare const se_UpdateDomainConfigCommand: (input: UpdateDomainConfigCom
328
339
  * serializeAws_restJson1UpdatePackageCommand
329
340
  */
330
341
  export declare const se_UpdatePackageCommand: (input: UpdatePackageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
342
+ /**
343
+ * serializeAws_restJson1UpdatePackageScopeCommand
344
+ */
345
+ export declare const se_UpdatePackageScopeCommand: (input: UpdatePackageScopeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
331
346
  /**
332
347
  * serializeAws_restJson1UpdateScheduledActionCommand
333
348
  */
@@ -356,6 +371,10 @@ export declare const de_AddTagsCommand: (output: __HttpResponse, context: __Serd
356
371
  * deserializeAws_restJson1AssociatePackageCommand
357
372
  */
358
373
  export declare const de_AssociatePackageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociatePackageCommandOutput>;
374
+ /**
375
+ * deserializeAws_restJson1AssociatePackagesCommand
376
+ */
377
+ export declare const de_AssociatePackagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociatePackagesCommandOutput>;
359
378
  /**
360
379
  * deserializeAws_restJson1AuthorizeVpcEndpointAccessCommand
361
380
  */
@@ -480,6 +499,10 @@ export declare const de_DescribeVpcEndpointsCommand: (output: __HttpResponse, co
480
499
  * deserializeAws_restJson1DissociatePackageCommand
481
500
  */
482
501
  export declare const de_DissociatePackageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DissociatePackageCommandOutput>;
502
+ /**
503
+ * deserializeAws_restJson1DissociatePackagesCommand
504
+ */
505
+ export declare const de_DissociatePackagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DissociatePackagesCommandOutput>;
483
506
  /**
484
507
  * deserializeAws_restJson1GetApplicationCommand
485
508
  */
@@ -600,6 +623,10 @@ export declare const de_UpdateDomainConfigCommand: (output: __HttpResponse, cont
600
623
  * deserializeAws_restJson1UpdatePackageCommand
601
624
  */
602
625
  export declare const de_UpdatePackageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePackageCommandOutput>;
626
+ /**
627
+ * deserializeAws_restJson1UpdatePackageScopeCommand
628
+ */
629
+ export declare const de_UpdatePackageScopeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePackageScopeCommandOutput>;
603
630
  /**
604
631
  * deserializeAws_restJson1UpdateScheduledActionCommand
605
632
  */
@@ -15,6 +15,10 @@ import {
15
15
  AssociatePackageCommandInput,
16
16
  AssociatePackageCommandOutput,
17
17
  } from "./commands/AssociatePackageCommand";
18
+ import {
19
+ AssociatePackagesCommandInput,
20
+ AssociatePackagesCommandOutput,
21
+ } from "./commands/AssociatePackagesCommand";
18
22
  import {
19
23
  AuthorizeVpcEndpointAccessCommandInput,
20
24
  AuthorizeVpcEndpointAccessCommandOutput,
@@ -139,6 +143,10 @@ import {
139
143
  DissociatePackageCommandInput,
140
144
  DissociatePackageCommandOutput,
141
145
  } from "./commands/DissociatePackageCommand";
146
+ import {
147
+ DissociatePackagesCommandInput,
148
+ DissociatePackagesCommandOutput,
149
+ } from "./commands/DissociatePackagesCommand";
142
150
  import {
143
151
  GetApplicationCommandInput,
144
152
  GetApplicationCommandOutput,
@@ -259,6 +267,10 @@ import {
259
267
  UpdatePackageCommandInput,
260
268
  UpdatePackageCommandOutput,
261
269
  } from "./commands/UpdatePackageCommand";
270
+ import {
271
+ UpdatePackageScopeCommandInput,
272
+ UpdatePackageScopeCommandOutput,
273
+ } from "./commands/UpdatePackageScopeCommand";
262
274
  import {
263
275
  UpdateScheduledActionCommandInput,
264
276
  UpdateScheduledActionCommandOutput,
@@ -325,6 +337,19 @@ export interface OpenSearch {
325
337
  options: __HttpHandlerOptions,
326
338
  cb: (err: any, data?: AssociatePackageCommandOutput) => void
327
339
  ): void;
340
+ associatePackages(
341
+ args: AssociatePackagesCommandInput,
342
+ options?: __HttpHandlerOptions
343
+ ): Promise<AssociatePackagesCommandOutput>;
344
+ associatePackages(
345
+ args: AssociatePackagesCommandInput,
346
+ cb: (err: any, data?: AssociatePackagesCommandOutput) => void
347
+ ): void;
348
+ associatePackages(
349
+ args: AssociatePackagesCommandInput,
350
+ options: __HttpHandlerOptions,
351
+ cb: (err: any, data?: AssociatePackagesCommandOutput) => void
352
+ ): void;
328
353
  authorizeVpcEndpointAccess(
329
354
  args: AuthorizeVpcEndpointAccessCommandInput,
330
355
  options?: __HttpHandlerOptions
@@ -739,6 +764,19 @@ export interface OpenSearch {
739
764
  options: __HttpHandlerOptions,
740
765
  cb: (err: any, data?: DissociatePackageCommandOutput) => void
741
766
  ): void;
767
+ dissociatePackages(
768
+ args: DissociatePackagesCommandInput,
769
+ options?: __HttpHandlerOptions
770
+ ): Promise<DissociatePackagesCommandOutput>;
771
+ dissociatePackages(
772
+ args: DissociatePackagesCommandInput,
773
+ cb: (err: any, data?: DissociatePackagesCommandOutput) => void
774
+ ): void;
775
+ dissociatePackages(
776
+ args: DissociatePackagesCommandInput,
777
+ options: __HttpHandlerOptions,
778
+ cb: (err: any, data?: DissociatePackagesCommandOutput) => void
779
+ ): void;
742
780
  getApplication(
743
781
  args: GetApplicationCommandInput,
744
782
  options?: __HttpHandlerOptions
@@ -1134,6 +1172,19 @@ export interface OpenSearch {
1134
1172
  options: __HttpHandlerOptions,
1135
1173
  cb: (err: any, data?: UpdatePackageCommandOutput) => void
1136
1174
  ): void;
1175
+ updatePackageScope(
1176
+ args: UpdatePackageScopeCommandInput,
1177
+ options?: __HttpHandlerOptions
1178
+ ): Promise<UpdatePackageScopeCommandOutput>;
1179
+ updatePackageScope(
1180
+ args: UpdatePackageScopeCommandInput,
1181
+ cb: (err: any, data?: UpdatePackageScopeCommandOutput) => void
1182
+ ): void;
1183
+ updatePackageScope(
1184
+ args: UpdatePackageScopeCommandInput,
1185
+ options: __HttpHandlerOptions,
1186
+ cb: (err: any, data?: UpdatePackageScopeCommandOutput) => void
1187
+ ): void;
1137
1188
  updateScheduledAction(
1138
1189
  args: UpdateScheduledActionCommandInput,
1139
1190
  options?: __HttpHandlerOptions
@@ -61,6 +61,10 @@ import {
61
61
  AssociatePackageCommandInput,
62
62
  AssociatePackageCommandOutput,
63
63
  } from "./commands/AssociatePackageCommand";
64
+ import {
65
+ AssociatePackagesCommandInput,
66
+ AssociatePackagesCommandOutput,
67
+ } from "./commands/AssociatePackagesCommand";
64
68
  import {
65
69
  AuthorizeVpcEndpointAccessCommandInput,
66
70
  AuthorizeVpcEndpointAccessCommandOutput,
@@ -185,6 +189,10 @@ import {
185
189
  DissociatePackageCommandInput,
186
190
  DissociatePackageCommandOutput,
187
191
  } from "./commands/DissociatePackageCommand";
192
+ import {
193
+ DissociatePackagesCommandInput,
194
+ DissociatePackagesCommandOutput,
195
+ } from "./commands/DissociatePackagesCommand";
188
196
  import {
189
197
  GetApplicationCommandInput,
190
198
  GetApplicationCommandOutput,
@@ -305,6 +313,10 @@ import {
305
313
  UpdatePackageCommandInput,
306
314
  UpdatePackageCommandOutput,
307
315
  } from "./commands/UpdatePackageCommand";
316
+ import {
317
+ UpdatePackageScopeCommandInput,
318
+ UpdatePackageScopeCommandOutput,
319
+ } from "./commands/UpdatePackageScopeCommand";
308
320
  import {
309
321
  UpdateScheduledActionCommandInput,
310
322
  UpdateScheduledActionCommandOutput,
@@ -329,6 +341,7 @@ export type ServiceInputTypes =
329
341
  | AddDataSourceCommandInput
330
342
  | AddTagsCommandInput
331
343
  | AssociatePackageCommandInput
344
+ | AssociatePackagesCommandInput
332
345
  | AuthorizeVpcEndpointAccessCommandInput
333
346
  | CancelDomainConfigChangeCommandInput
334
347
  | CancelServiceSoftwareUpdateCommandInput
@@ -360,6 +373,7 @@ export type ServiceInputTypes =
360
373
  | DescribeReservedInstancesCommandInput
361
374
  | DescribeVpcEndpointsCommandInput
362
375
  | DissociatePackageCommandInput
376
+ | DissociatePackagesCommandInput
363
377
  | GetApplicationCommandInput
364
378
  | GetCompatibleVersionsCommandInput
365
379
  | GetDataSourceCommandInput
@@ -390,6 +404,7 @@ export type ServiceInputTypes =
390
404
  | UpdateDataSourceCommandInput
391
405
  | UpdateDomainConfigCommandInput
392
406
  | UpdatePackageCommandInput
407
+ | UpdatePackageScopeCommandInput
393
408
  | UpdateScheduledActionCommandInput
394
409
  | UpdateVpcEndpointCommandInput
395
410
  | UpgradeDomainCommandInput;
@@ -398,6 +413,7 @@ export type ServiceOutputTypes =
398
413
  | AddDataSourceCommandOutput
399
414
  | AddTagsCommandOutput
400
415
  | AssociatePackageCommandOutput
416
+ | AssociatePackagesCommandOutput
401
417
  | AuthorizeVpcEndpointAccessCommandOutput
402
418
  | CancelDomainConfigChangeCommandOutput
403
419
  | CancelServiceSoftwareUpdateCommandOutput
@@ -429,6 +445,7 @@ export type ServiceOutputTypes =
429
445
  | DescribeReservedInstancesCommandOutput
430
446
  | DescribeVpcEndpointsCommandOutput
431
447
  | DissociatePackageCommandOutput
448
+ | DissociatePackagesCommandOutput
432
449
  | GetApplicationCommandOutput
433
450
  | GetCompatibleVersionsCommandOutput
434
451
  | GetDataSourceCommandOutput
@@ -459,6 +476,7 @@ export type ServiceOutputTypes =
459
476
  | UpdateDataSourceCommandOutput
460
477
  | UpdateDomainConfigCommandOutput
461
478
  | UpdatePackageCommandOutput
479
+ | UpdatePackageScopeCommandOutput
462
480
  | UpdateScheduledActionCommandOutput
463
481
  | UpdateVpcEndpointCommandOutput
464
482
  | UpgradeDomainCommandOutput;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AssociatePackagesRequest,
5
+ AssociatePackagesResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ OpenSearchClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OpenSearchClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface AssociatePackagesCommandInput
15
+ extends AssociatePackagesRequest {}
16
+ export interface AssociatePackagesCommandOutput
17
+ extends AssociatePackagesResponse,
18
+ __MetadataBearer {}
19
+ declare const AssociatePackagesCommand_base: {
20
+ new (
21
+ input: AssociatePackagesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ AssociatePackagesCommandInput,
24
+ AssociatePackagesCommandOutput,
25
+ OpenSearchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: AssociatePackagesCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ AssociatePackagesCommandInput,
33
+ AssociatePackagesCommandOutput,
34
+ OpenSearchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class AssociatePackagesCommand extends AssociatePackagesCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AssociatePackagesRequest;
44
+ output: AssociatePackagesResponse;
45
+ };
46
+ sdk: {
47
+ input: AssociatePackagesCommandInput;
48
+ output: AssociatePackagesCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DissociatePackagesRequest,
5
+ DissociatePackagesResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ OpenSearchClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OpenSearchClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DissociatePackagesCommandInput
15
+ extends DissociatePackagesRequest {}
16
+ export interface DissociatePackagesCommandOutput
17
+ extends DissociatePackagesResponse,
18
+ __MetadataBearer {}
19
+ declare const DissociatePackagesCommand_base: {
20
+ new (
21
+ input: DissociatePackagesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DissociatePackagesCommandInput,
24
+ DissociatePackagesCommandOutput,
25
+ OpenSearchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DissociatePackagesCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DissociatePackagesCommandInput,
33
+ DissociatePackagesCommandOutput,
34
+ OpenSearchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DissociatePackagesCommand extends DissociatePackagesCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DissociatePackagesRequest;
44
+ output: DissociatePackagesResponse;
45
+ };
46
+ sdk: {
47
+ input: DissociatePackagesCommandInput;
48
+ output: DissociatePackagesCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListVersionsRequest, ListVersionsResponse } from "../models/models_0";
3
+ import { ListVersionsRequest, ListVersionsResponse } from "../models/models_1";
4
4
  import {
5
5
  OpenSearchClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListVpcEndpointAccessRequest,
5
5
  ListVpcEndpointAccessResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListVpcEndpointsRequest,
5
5
  ListVpcEndpointsResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListVpcEndpointsForDomainRequest,
5
5
  ListVpcEndpointsForDomainResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  PurchaseReservedInstanceOfferingRequest,
5
5
  PurchaseReservedInstanceOfferingResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,