@aws-sdk/client-opensearch 3.299.0 → 3.300.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-types/commands/AcceptInboundConnectionCommand.d.ts +3 -0
- package/dist-types/commands/AddTagsCommand.d.ts +9 -0
- package/dist-types/commands/AssociatePackageCommand.d.ts +4 -0
- package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +4 -0
- package/dist-types/commands/CancelServiceSoftwareUpdateCommand.d.ts +3 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +123 -0
- package/dist-types/commands/CreateOutboundConnectionCommand.d.ts +18 -0
- package/dist-types/commands/CreatePackageCommand.d.ts +9 -0
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +12 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInboundConnectionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOutboundConnectionCommand.d.ts +3 -0
- package/dist-types/commands/DeletePackageCommand.d.ts +3 -0
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDomainConfigCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +5 -0
- package/dist-types/commands/DescribeInboundConnectionsCommand.d.ts +12 -0
- package/dist-types/commands/DescribeInstanceTypeLimitsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeOutboundConnectionsCommand.d.ts +12 -0
- package/dist-types/commands/DescribePackagesCommand.d.ts +12 -0
- package/dist-types/commands/DescribeReservedInstanceOfferingsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +5 -0
- package/dist-types/commands/DissociatePackageCommand.d.ts +4 -0
- package/dist-types/commands/GetCompatibleVersionsCommand.d.ts +3 -0
- package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +5 -0
- package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +5 -0
- package/dist-types/commands/GetUpgradeStatusCommand.d.ts +3 -0
- package/dist-types/commands/ListDomainNamesCommand.d.ts +3 -0
- package/dist-types/commands/ListDomainsForPackageCommand.d.ts +5 -0
- package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +6 -0
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +5 -0
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsCommand.d.ts +3 -0
- package/dist-types/commands/ListVersionsCommand.d.ts +4 -0
- package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +4 -0
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +3 -0
- package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +4 -0
- package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +5 -0
- package/dist-types/commands/RejectInboundConnectionCommand.d.ts +3 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +6 -0
- package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +4 -0
- package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +5 -0
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +119 -0
- package/dist-types/commands/UpdatePackageCommand.d.ts +9 -0
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +7 -0
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +11 -0
- package/dist-types/commands/UpgradeDomainCommand.d.ts +8 -0
- package/package.json +8 -8
|
@@ -28,6 +28,9 @@ export interface AcceptInboundConnectionCommandOutput extends AcceptInboundConne
|
|
|
28
28
|
* import { OpenSearchClient, AcceptInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, AcceptInboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ConnectionId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new AcceptInboundConnectionCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface AddTagsCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { OpenSearchClient, AddTagsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, AddTagsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ARN: "STRING_VALUE", // required
|
|
33
|
+
* TagList: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* Key: "STRING_VALUE", // required
|
|
36
|
+
* Value: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
31
40
|
* const command = new AddTagsCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface AssociatePackageCommandOutput extends AssociatePackageResponse,
|
|
|
28
28
|
* import { OpenSearchClient, AssociatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, AssociatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* PackageID: "STRING_VALUE", // required
|
|
33
|
+
* DomainName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new AssociatePackageCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface AuthorizeVpcEndpointAccessCommandOutput extends AuthorizeVpcEnd
|
|
|
27
27
|
* import { OpenSearchClient, AuthorizeVpcEndpointAccessCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, AuthorizeVpcEndpointAccessCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* Account: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new AuthorizeVpcEndpointAccessCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface CancelServiceSoftwareUpdateCommandOutput extends CancelServiceS
|
|
|
28
28
|
* import { OpenSearchClient, CancelServiceSoftwareUpdateCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, CancelServiceSoftwareUpdateCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* DomainName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new CancelServiceSoftwareUpdateCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -26,6 +26,129 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
26
26
|
* import { OpenSearchClient, CreateDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
27
27
|
* // const { OpenSearchClient, CreateDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
28
28
|
* const client = new OpenSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* EngineVersion: "STRING_VALUE",
|
|
32
|
+
* ClusterConfig: {
|
|
33
|
+
* InstanceType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
34
|
+
* InstanceCount: Number("int"),
|
|
35
|
+
* DedicatedMasterEnabled: true || false,
|
|
36
|
+
* ZoneAwarenessEnabled: true || false,
|
|
37
|
+
* ZoneAwarenessConfig: {
|
|
38
|
+
* AvailabilityZoneCount: Number("int"),
|
|
39
|
+
* },
|
|
40
|
+
* DedicatedMasterType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
41
|
+
* DedicatedMasterCount: Number("int"),
|
|
42
|
+
* WarmEnabled: true || false,
|
|
43
|
+
* WarmType: "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search",
|
|
44
|
+
* WarmCount: Number("int"),
|
|
45
|
+
* ColdStorageOptions: {
|
|
46
|
+
* Enabled: true || false, // required
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* EBSOptions: {
|
|
50
|
+
* EBSEnabled: true || false,
|
|
51
|
+
* VolumeType: "standard" || "gp2" || "io1" || "gp3",
|
|
52
|
+
* VolumeSize: Number("int"),
|
|
53
|
+
* Iops: Number("int"),
|
|
54
|
+
* Throughput: Number("int"),
|
|
55
|
+
* },
|
|
56
|
+
* AccessPolicies: "STRING_VALUE",
|
|
57
|
+
* SnapshotOptions: {
|
|
58
|
+
* AutomatedSnapshotStartHour: Number("int"),
|
|
59
|
+
* },
|
|
60
|
+
* VPCOptions: {
|
|
61
|
+
* SubnetIds: [
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* SecurityGroupIds: [
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* CognitoOptions: {
|
|
69
|
+
* Enabled: true || false,
|
|
70
|
+
* UserPoolId: "STRING_VALUE",
|
|
71
|
+
* IdentityPoolId: "STRING_VALUE",
|
|
72
|
+
* RoleArn: "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* EncryptionAtRestOptions: {
|
|
75
|
+
* Enabled: true || false,
|
|
76
|
+
* KmsKeyId: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* NodeToNodeEncryptionOptions: {
|
|
79
|
+
* Enabled: true || false,
|
|
80
|
+
* },
|
|
81
|
+
* AdvancedOptions: {
|
|
82
|
+
* "<keys>": "STRING_VALUE",
|
|
83
|
+
* },
|
|
84
|
+
* LogPublishingOptions: {
|
|
85
|
+
* "<keys>": {
|
|
86
|
+
* CloudWatchLogsLogGroupArn: "STRING_VALUE",
|
|
87
|
+
* Enabled: true || false,
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* DomainEndpointOptions: {
|
|
91
|
+
* EnforceHTTPS: true || false,
|
|
92
|
+
* TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07",
|
|
93
|
+
* CustomEndpointEnabled: true || false,
|
|
94
|
+
* CustomEndpoint: "STRING_VALUE",
|
|
95
|
+
* CustomEndpointCertificateArn: "STRING_VALUE",
|
|
96
|
+
* },
|
|
97
|
+
* AdvancedSecurityOptions: {
|
|
98
|
+
* Enabled: true || false,
|
|
99
|
+
* InternalUserDatabaseEnabled: true || false,
|
|
100
|
+
* MasterUserOptions: {
|
|
101
|
+
* MasterUserARN: "STRING_VALUE",
|
|
102
|
+
* MasterUserName: "STRING_VALUE",
|
|
103
|
+
* MasterUserPassword: "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* SAMLOptions: {
|
|
106
|
+
* Enabled: true || false,
|
|
107
|
+
* Idp: {
|
|
108
|
+
* MetadataContent: "STRING_VALUE", // required
|
|
109
|
+
* EntityId: "STRING_VALUE", // required
|
|
110
|
+
* },
|
|
111
|
+
* MasterUserName: "STRING_VALUE",
|
|
112
|
+
* MasterBackendRole: "STRING_VALUE",
|
|
113
|
+
* SubjectKey: "STRING_VALUE",
|
|
114
|
+
* RolesKey: "STRING_VALUE",
|
|
115
|
+
* SessionTimeoutMinutes: Number("int"),
|
|
116
|
+
* },
|
|
117
|
+
* AnonymousAuthEnabled: true || false,
|
|
118
|
+
* },
|
|
119
|
+
* TagList: [
|
|
120
|
+
* {
|
|
121
|
+
* Key: "STRING_VALUE", // required
|
|
122
|
+
* Value: "STRING_VALUE", // required
|
|
123
|
+
* },
|
|
124
|
+
* ],
|
|
125
|
+
* AutoTuneOptions: {
|
|
126
|
+
* DesiredState: "ENABLED" || "DISABLED",
|
|
127
|
+
* MaintenanceSchedules: [
|
|
128
|
+
* {
|
|
129
|
+
* StartAt: new Date("TIMESTAMP"),
|
|
130
|
+
* Duration: {
|
|
131
|
+
* Value: Number("long"),
|
|
132
|
+
* Unit: "HOURS",
|
|
133
|
+
* },
|
|
134
|
+
* CronExpressionForRecurrence: "STRING_VALUE",
|
|
135
|
+
* },
|
|
136
|
+
* ],
|
|
137
|
+
* UseOffPeakWindow: true || false,
|
|
138
|
+
* },
|
|
139
|
+
* OffPeakWindowOptions: {
|
|
140
|
+
* Enabled: true || false,
|
|
141
|
+
* OffPeakWindow: {
|
|
142
|
+
* WindowStartTime: {
|
|
143
|
+
* Hours: Number("long"), // required
|
|
144
|
+
* Minutes: Number("long"), // required
|
|
145
|
+
* },
|
|
146
|
+
* },
|
|
147
|
+
* },
|
|
148
|
+
* SoftwareUpdateOptions: {
|
|
149
|
+
* AutoSoftwareUpdateEnabled: true || false,
|
|
150
|
+
* },
|
|
151
|
+
* };
|
|
29
152
|
* const command = new CreateDomainCommand(input);
|
|
30
153
|
* const response = await client.send(command);
|
|
31
154
|
* ```
|
|
@@ -28,6 +28,24 @@ export interface CreateOutboundConnectionCommandOutput extends CreateOutboundCon
|
|
|
28
28
|
* import { OpenSearchClient, CreateOutboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, CreateOutboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* LocalDomainInfo: {
|
|
33
|
+
* AWSDomainInformation: {
|
|
34
|
+
* OwnerId: "STRING_VALUE",
|
|
35
|
+
* DomainName: "STRING_VALUE", // required
|
|
36
|
+
* Region: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
39
|
+
* RemoteDomainInfo: {
|
|
40
|
+
* AWSDomainInformation: {
|
|
41
|
+
* OwnerId: "STRING_VALUE",
|
|
42
|
+
* DomainName: "STRING_VALUE", // required
|
|
43
|
+
* Region: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* ConnectionAlias: "STRING_VALUE", // required
|
|
47
|
+
* ConnectionMode: "DIRECT" || "VPC_ENDPOINT",
|
|
48
|
+
* };
|
|
31
49
|
* const command = new CreateOutboundConnectionCommand(input);
|
|
32
50
|
* const response = await client.send(command);
|
|
33
51
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface CreatePackageCommandOutput extends CreatePackageResponse, __Met
|
|
|
27
27
|
* import { OpenSearchClient, CreatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, CreatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* PackageName: "STRING_VALUE", // required
|
|
32
|
+
* PackageType: "TXT-DICTIONARY", // required
|
|
33
|
+
* PackageDescription: "STRING_VALUE",
|
|
34
|
+
* PackageSource: {
|
|
35
|
+
* S3BucketName: "STRING_VALUE",
|
|
36
|
+
* S3Key: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
30
39
|
* const command = new CreatePackageCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointRespons
|
|
|
26
26
|
* import { OpenSearchClient, CreateVpcEndpointCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
27
27
|
* // const { OpenSearchClient, CreateVpcEndpointCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
28
28
|
* const client = new OpenSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainArn: "STRING_VALUE", // required
|
|
31
|
+
* VpcOptions: {
|
|
32
|
+
* SubnetIds: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* SecurityGroupIds: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* ClientToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
29
41
|
* const command = new CreateVpcEndpointCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad
|
|
|
27
27
|
* import { OpenSearchClient, DeleteDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, DeleteDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteDomainCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteInboundConnectionCommandOutput extends DeleteInboundConne
|
|
|
28
28
|
* import { OpenSearchClient, DeleteInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, DeleteInboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ConnectionId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteInboundConnectionCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteOutboundConnectionCommandOutput extends DeleteOutboundCon
|
|
|
28
28
|
* import { OpenSearchClient, DeleteOutboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, DeleteOutboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ConnectionId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteOutboundConnectionCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeletePackageCommandOutput extends DeletePackageResponse, __Met
|
|
|
27
27
|
* import { OpenSearchClient, DeletePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, DeletePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* PackageID: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeletePackageCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteVpcEndpointCommandOutput extends DeleteVpcEndpointRespons
|
|
|
26
26
|
* import { OpenSearchClient, DeleteVpcEndpointCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
27
27
|
* // const { OpenSearchClient, DeleteVpcEndpointCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
28
28
|
* const client = new OpenSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* VpcEndpointId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteVpcEndpointCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeDomainAutoTunesCommandOutput extends DescribeDomainAuto
|
|
|
28
28
|
* import { OpenSearchClient, DescribeDomainAutoTunesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, DescribeDomainAutoTunesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* DomainName: "STRING_VALUE", // required
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeDomainAutoTunesCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DescribeDomainChangeProgressCommandOutput extends DescribeDomai
|
|
|
27
27
|
* import { OpenSearchClient, DescribeDomainChangeProgressCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, DescribeDomainChangeProgressCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* ChangeId: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DescribeDomainChangeProgressCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
|
|
|
27
27
|
* import { OpenSearchClient, DescribeDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, DescribeDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeDomainCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeDomainConfigCommandOutput extends DescribeDomainConfigR
|
|
|
26
26
|
* import { OpenSearchClient, DescribeDomainConfigCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
27
27
|
* // const { OpenSearchClient, DescribeDomainConfigCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
28
28
|
* const client = new OpenSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeDomainConfigCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface DescribeDomainsCommandOutput extends DescribeDomainsResponse, _
|
|
|
27
27
|
* import { OpenSearchClient, DescribeDomainsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, DescribeDomainsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainNames: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
30
35
|
* const command = new DescribeDomainsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface DescribeDryRunProgressCommandOutput extends DescribeDryRunProgr
|
|
|
27
27
|
* import { OpenSearchClient, DescribeDryRunProgressCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, DescribeDryRunProgressCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* DryRunId: "STRING_VALUE",
|
|
33
|
+
* LoadDryRunConfig: true || false,
|
|
34
|
+
* };
|
|
30
35
|
* const command = new DescribeDryRunProgressCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,18 @@ export interface DescribeInboundConnectionsCommandOutput extends DescribeInbound
|
|
|
28
28
|
* import { OpenSearchClient, DescribeInboundConnectionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, DescribeInboundConnectionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Filters: [
|
|
33
|
+
* {
|
|
34
|
+
* Name: "STRING_VALUE",
|
|
35
|
+
* Values: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
31
43
|
* const command = new DescribeInboundConnectionsCommand(input);
|
|
32
44
|
* const response = await client.send(command);
|
|
33
45
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface DescribeInstanceTypeLimitsCommandOutput extends DescribeInstanc
|
|
|
27
27
|
* import { OpenSearchClient, DescribeInstanceTypeLimitsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, DescribeInstanceTypeLimitsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE",
|
|
32
|
+
* InstanceType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search", // required
|
|
33
|
+
* EngineVersion: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new DescribeInstanceTypeLimitsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,18 @@ export interface DescribeOutboundConnectionsCommandOutput extends DescribeOutbou
|
|
|
28
28
|
* import { OpenSearchClient, DescribeOutboundConnectionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, DescribeOutboundConnectionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Filters: [
|
|
33
|
+
* {
|
|
34
|
+
* Name: "STRING_VALUE",
|
|
35
|
+
* Values: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
31
43
|
* const command = new DescribeOutboundConnectionsCommand(input);
|
|
32
44
|
* const response = await client.send(command);
|
|
33
45
|
* ```
|
|
@@ -27,6 +27,18 @@ export interface DescribePackagesCommandOutput extends DescribePackagesResponse,
|
|
|
27
27
|
* import { OpenSearchClient, DescribePackagesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, DescribePackagesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Filters: [
|
|
32
|
+
* {
|
|
33
|
+
* Name: "PackageID" || "PackageName" || "PackageStatus",
|
|
34
|
+
* Value: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
30
42
|
* const command = new DescribePackagesCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface DescribeReservedInstanceOfferingsCommandOutput extends Describe
|
|
|
27
27
|
* import { OpenSearchClient, DescribeReservedInstanceOfferingsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, DescribeReservedInstanceOfferingsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ReservedInstanceOfferingId: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new DescribeReservedInstanceOfferingsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DescribeReservedInstancesCommandOutput extends DescribeReserved
|
|
|
28
28
|
* import { OpenSearchClient, DescribeReservedInstancesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, DescribeReservedInstancesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ReservedInstanceId: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DescribeReservedInstancesCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DescribeVpcEndpointsCommandOutput extends DescribeVpcEndpointsR
|
|
|
26
26
|
* import { OpenSearchClient, DescribeVpcEndpointsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
27
27
|
* // const { OpenSearchClient, DescribeVpcEndpointsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
28
28
|
* const client = new OpenSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* VpcEndpointIds: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeVpcEndpointsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DissociatePackageCommandOutput extends DissociatePackageRespons
|
|
|
29
29
|
* import { OpenSearchClient, DissociatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
30
30
|
* // const { OpenSearchClient, DissociatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
31
31
|
* const client = new OpenSearchClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* PackageID: "STRING_VALUE", // required
|
|
34
|
+
* DomainName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DissociatePackageCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetCompatibleVersionsCommandOutput extends GetCompatibleVersion
|
|
|
27
27
|
* import { OpenSearchClient, GetCompatibleVersionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, GetCompatibleVersionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE",
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetCompatibleVersionsCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface GetPackageVersionHistoryCommandOutput extends GetPackageVersion
|
|
|
28
28
|
* import { OpenSearchClient, GetPackageVersionHistoryCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, GetPackageVersionHistoryCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* PackageID: "STRING_VALUE", // required
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new GetPackageVersionHistoryCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface GetUpgradeHistoryCommandOutput extends GetUpgradeHistoryRespons
|
|
|
27
27
|
* import { OpenSearchClient, GetUpgradeHistoryCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, GetUpgradeHistoryCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new GetUpgradeHistoryCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetUpgradeStatusCommandOutput extends GetUpgradeStatusResponse,
|
|
|
27
27
|
* import { OpenSearchClient, GetUpgradeStatusCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, GetUpgradeStatusCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetUpgradeStatusCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, _
|
|
|
27
27
|
* import { OpenSearchClient, ListDomainNamesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, ListDomainNamesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* EngineType: "OpenSearch" || "Elasticsearch",
|
|
32
|
+
* };
|
|
30
33
|
* const command = new ListDomainNamesCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListDomainsForPackageCommandOutput extends ListDomainsForPackag
|
|
|
28
28
|
* import { OpenSearchClient, ListDomainsForPackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, ListDomainsForPackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* PackageID: "STRING_VALUE", // required
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListDomainsForPackageCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListInstanceTypeDetailsCommandOutput extends ListInstanceTypeDe
|
|
|
27
27
|
* import { OpenSearchClient, ListInstanceTypeDetailsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, ListInstanceTypeDetailsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* EngineVersion: "STRING_VALUE", // required
|
|
32
|
+
* DomainName: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListInstanceTypeDetailsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListPackagesForDomainCommandOutput extends ListPackagesForDomai
|
|
|
28
28
|
* import { OpenSearchClient, ListPackagesForDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, ListPackagesForDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* DomainName: "STRING_VALUE", // required
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListPackagesForDomainCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListScheduledActionsCommandOutput extends ListScheduledActionsR
|
|
|
29
29
|
* import { OpenSearchClient, ListScheduledActionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
30
30
|
* // const { OpenSearchClient, ListScheduledActionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
31
31
|
* const client = new OpenSearchClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* DomainName: "STRING_VALUE", // required
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListScheduledActionsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
|
|
|
27
27
|
* import { OpenSearchClient, ListTagsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, ListTagsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ARN: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new ListTagsCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListVersionsCommandOutput extends ListVersionsResponse, __Metad
|
|
|
27
27
|
* import { OpenSearchClient, ListVersionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, ListVersionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListVersionsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListVpcEndpointAccessCommandOutput extends ListVpcEndpointAcces
|
|
|
27
27
|
* import { OpenSearchClient, ListVpcEndpointAccessCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, ListVpcEndpointAccessCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListVpcEndpointAccessCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListVpcEndpointsCommandOutput extends ListVpcEndpointsResponse,
|
|
|
26
26
|
* import { OpenSearchClient, ListVpcEndpointsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
27
27
|
* // const { OpenSearchClient, ListVpcEndpointsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
28
28
|
* const client = new OpenSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListVpcEndpointsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListVpcEndpointsForDomainCommandOutput extends ListVpcEndpoints
|
|
|
27
27
|
* import { OpenSearchClient, ListVpcEndpointsForDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, ListVpcEndpointsForDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListVpcEndpointsForDomainCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface PurchaseReservedInstanceOfferingCommandOutput extends PurchaseR
|
|
|
26
26
|
* import { OpenSearchClient, PurchaseReservedInstanceOfferingCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
27
27
|
* // const { OpenSearchClient, PurchaseReservedInstanceOfferingCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
28
28
|
* const client = new OpenSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ReservedInstanceOfferingId: "STRING_VALUE", // required
|
|
31
|
+
* ReservationName: "STRING_VALUE", // required
|
|
32
|
+
* InstanceCount: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new PurchaseReservedInstanceOfferingCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface RejectInboundConnectionCommandOutput extends RejectInboundConne
|
|
|
27
27
|
* import { OpenSearchClient, RejectInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, RejectInboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ConnectionId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new RejectInboundConnectionCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface RemoveTagsCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { OpenSearchClient, RemoveTagsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, RemoveTagsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ARN: "STRING_VALUE", // required
|
|
32
|
+
* TagKeys: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
30
36
|
* const command = new RemoveTagsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface RevokeVpcEndpointAccessCommandOutput extends RevokeVpcEndpointA
|
|
|
27
27
|
* import { OpenSearchClient, RevokeVpcEndpointAccessCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, RevokeVpcEndpointAccessCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* Account: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new RevokeVpcEndpointAccessCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface StartServiceSoftwareUpdateCommandOutput extends StartServiceSof
|
|
|
28
28
|
* import { OpenSearchClient, StartServiceSoftwareUpdateCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
29
29
|
* // const { OpenSearchClient, StartServiceSoftwareUpdateCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
30
30
|
* const client = new OpenSearchClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* DomainName: "STRING_VALUE", // required
|
|
33
|
+
* ScheduleAt: "NOW" || "TIMESTAMP" || "OFF_PEAK_WINDOW",
|
|
34
|
+
* DesiredStartTime: Number("long"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new StartServiceSoftwareUpdateCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,125 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
|
|
|
26
26
|
* import { OpenSearchClient, UpdateDomainConfigCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
27
27
|
* // const { OpenSearchClient, UpdateDomainConfigCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
28
28
|
* const client = new OpenSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DomainName: "STRING_VALUE", // required
|
|
31
|
+
* ClusterConfig: {
|
|
32
|
+
* InstanceType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
33
|
+
* InstanceCount: Number("int"),
|
|
34
|
+
* DedicatedMasterEnabled: true || false,
|
|
35
|
+
* ZoneAwarenessEnabled: true || false,
|
|
36
|
+
* ZoneAwarenessConfig: {
|
|
37
|
+
* AvailabilityZoneCount: Number("int"),
|
|
38
|
+
* },
|
|
39
|
+
* DedicatedMasterType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
|
|
40
|
+
* DedicatedMasterCount: Number("int"),
|
|
41
|
+
* WarmEnabled: true || false,
|
|
42
|
+
* WarmType: "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search",
|
|
43
|
+
* WarmCount: Number("int"),
|
|
44
|
+
* ColdStorageOptions: {
|
|
45
|
+
* Enabled: true || false, // required
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* EBSOptions: {
|
|
49
|
+
* EBSEnabled: true || false,
|
|
50
|
+
* VolumeType: "standard" || "gp2" || "io1" || "gp3",
|
|
51
|
+
* VolumeSize: Number("int"),
|
|
52
|
+
* Iops: Number("int"),
|
|
53
|
+
* Throughput: Number("int"),
|
|
54
|
+
* },
|
|
55
|
+
* SnapshotOptions: {
|
|
56
|
+
* AutomatedSnapshotStartHour: Number("int"),
|
|
57
|
+
* },
|
|
58
|
+
* VPCOptions: {
|
|
59
|
+
* SubnetIds: [
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* SecurityGroupIds: [
|
|
63
|
+
* "STRING_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* CognitoOptions: {
|
|
67
|
+
* Enabled: true || false,
|
|
68
|
+
* UserPoolId: "STRING_VALUE",
|
|
69
|
+
* IdentityPoolId: "STRING_VALUE",
|
|
70
|
+
* RoleArn: "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* AdvancedOptions: {
|
|
73
|
+
* "<keys>": "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* AccessPolicies: "STRING_VALUE",
|
|
76
|
+
* LogPublishingOptions: {
|
|
77
|
+
* "<keys>": {
|
|
78
|
+
* CloudWatchLogsLogGroupArn: "STRING_VALUE",
|
|
79
|
+
* Enabled: true || false,
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* EncryptionAtRestOptions: {
|
|
83
|
+
* Enabled: true || false,
|
|
84
|
+
* KmsKeyId: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* DomainEndpointOptions: {
|
|
87
|
+
* EnforceHTTPS: true || false,
|
|
88
|
+
* TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07",
|
|
89
|
+
* CustomEndpointEnabled: true || false,
|
|
90
|
+
* CustomEndpoint: "STRING_VALUE",
|
|
91
|
+
* CustomEndpointCertificateArn: "STRING_VALUE",
|
|
92
|
+
* },
|
|
93
|
+
* NodeToNodeEncryptionOptions: {
|
|
94
|
+
* Enabled: true || false,
|
|
95
|
+
* },
|
|
96
|
+
* AdvancedSecurityOptions: {
|
|
97
|
+
* Enabled: true || false,
|
|
98
|
+
* InternalUserDatabaseEnabled: true || false,
|
|
99
|
+
* MasterUserOptions: {
|
|
100
|
+
* MasterUserARN: "STRING_VALUE",
|
|
101
|
+
* MasterUserName: "STRING_VALUE",
|
|
102
|
+
* MasterUserPassword: "STRING_VALUE",
|
|
103
|
+
* },
|
|
104
|
+
* SAMLOptions: {
|
|
105
|
+
* Enabled: true || false,
|
|
106
|
+
* Idp: {
|
|
107
|
+
* MetadataContent: "STRING_VALUE", // required
|
|
108
|
+
* EntityId: "STRING_VALUE", // required
|
|
109
|
+
* },
|
|
110
|
+
* MasterUserName: "STRING_VALUE",
|
|
111
|
+
* MasterBackendRole: "STRING_VALUE",
|
|
112
|
+
* SubjectKey: "STRING_VALUE",
|
|
113
|
+
* RolesKey: "STRING_VALUE",
|
|
114
|
+
* SessionTimeoutMinutes: Number("int"),
|
|
115
|
+
* },
|
|
116
|
+
* AnonymousAuthEnabled: true || false,
|
|
117
|
+
* },
|
|
118
|
+
* AutoTuneOptions: {
|
|
119
|
+
* DesiredState: "ENABLED" || "DISABLED",
|
|
120
|
+
* RollbackOnDisable: "NO_ROLLBACK" || "DEFAULT_ROLLBACK",
|
|
121
|
+
* MaintenanceSchedules: [
|
|
122
|
+
* {
|
|
123
|
+
* StartAt: new Date("TIMESTAMP"),
|
|
124
|
+
* Duration: {
|
|
125
|
+
* Value: Number("long"),
|
|
126
|
+
* Unit: "HOURS",
|
|
127
|
+
* },
|
|
128
|
+
* CronExpressionForRecurrence: "STRING_VALUE",
|
|
129
|
+
* },
|
|
130
|
+
* ],
|
|
131
|
+
* UseOffPeakWindow: true || false,
|
|
132
|
+
* },
|
|
133
|
+
* DryRun: true || false,
|
|
134
|
+
* DryRunMode: "Basic" || "Verbose",
|
|
135
|
+
* OffPeakWindowOptions: {
|
|
136
|
+
* Enabled: true || false,
|
|
137
|
+
* OffPeakWindow: {
|
|
138
|
+
* WindowStartTime: {
|
|
139
|
+
* Hours: Number("long"), // required
|
|
140
|
+
* Minutes: Number("long"), // required
|
|
141
|
+
* },
|
|
142
|
+
* },
|
|
143
|
+
* },
|
|
144
|
+
* SoftwareUpdateOptions: {
|
|
145
|
+
* AutoSoftwareUpdateEnabled: true || false,
|
|
146
|
+
* },
|
|
147
|
+
* };
|
|
29
148
|
* const command = new UpdateDomainConfigCommand(input);
|
|
30
149
|
* const response = await client.send(command);
|
|
31
150
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface UpdatePackageCommandOutput extends UpdatePackageResponse, __Met
|
|
|
27
27
|
* import { OpenSearchClient, UpdatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, UpdatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* PackageID: "STRING_VALUE", // required
|
|
32
|
+
* PackageSource: {
|
|
33
|
+
* S3BucketName: "STRING_VALUE",
|
|
34
|
+
* S3Key: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* PackageDescription: "STRING_VALUE",
|
|
37
|
+
* CommitMessage: "STRING_VALUE",
|
|
38
|
+
* };
|
|
30
39
|
* const command = new UpdatePackageCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -29,6 +29,13 @@ export interface UpdateScheduledActionCommandOutput extends UpdateScheduledActio
|
|
|
29
29
|
* import { OpenSearchClient, UpdateScheduledActionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
30
30
|
* // const { OpenSearchClient, UpdateScheduledActionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
31
31
|
* const client = new OpenSearchClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* DomainName: "STRING_VALUE", // required
|
|
34
|
+
* ActionID: "STRING_VALUE", // required
|
|
35
|
+
* ActionType: "SERVICE_SOFTWARE_UPDATE" || "JVM_HEAP_SIZE_TUNING" || "JVM_YOUNG_GEN_TUNING", // required
|
|
36
|
+
* ScheduleAt: "NOW" || "TIMESTAMP" || "OFF_PEAK_WINDOW", // required
|
|
37
|
+
* DesiredStartTime: Number("long"),
|
|
38
|
+
* };
|
|
32
39
|
* const command = new UpdateScheduledActionCommand(input);
|
|
33
40
|
* const response = await client.send(command);
|
|
34
41
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointRespons
|
|
|
26
26
|
* import { OpenSearchClient, UpdateVpcEndpointCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
27
27
|
* // const { OpenSearchClient, UpdateVpcEndpointCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
28
28
|
* const client = new OpenSearchClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* VpcEndpointId: "STRING_VALUE", // required
|
|
31
|
+
* VpcOptions: {
|
|
32
|
+
* SubnetIds: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* SecurityGroupIds: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
29
40
|
* const command = new UpdateVpcEndpointCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface UpgradeDomainCommandOutput extends UpgradeDomainResponse, __Met
|
|
|
27
27
|
* import { OpenSearchClient, UpgradeDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
28
28
|
* // const { OpenSearchClient, UpgradeDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
29
29
|
* const client = new OpenSearchClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* DomainName: "STRING_VALUE", // required
|
|
32
|
+
* TargetVersion: "STRING_VALUE", // required
|
|
33
|
+
* PerformCheckOnly: true || false,
|
|
34
|
+
* AdvancedOptions: {
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
30
38
|
* const command = new UpgradeDomainCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
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.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|