diff --git a/clients/client-opensearch/README.md b/clients/client-opensearch/README.md index 809e5c45993d8..164e1dda2b2f6 100644 --- a/clients/client-opensearch/README.md +++ b/clients/client-opensearch/README.md @@ -14,7 +14,7 @@ endpoints.

## Installing -To install the this package, simply type add or install @aws-sdk/client-opensearch +To install this package, simply type add or install @aws-sdk/client-opensearch using your favorite package manager: - `npm install @aws-sdk/client-opensearch` diff --git a/clients/client-opensearch/src/commands/CreateDomainCommand.ts b/clients/client-opensearch/src/commands/CreateDomainCommand.ts index f48fb341e128f..f890498ccef83 100644 --- a/clients/client-opensearch/src/commands/CreateDomainCommand.ts +++ b/clients/client-opensearch/src/commands/CreateDomainCommand.ts @@ -55,6 +55,16 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad * Enabled: true || false, // required * }, * MultiAZWithStandbyEnabled: true || false, + * NodeOptions: [ // NodeOptionsList + * { // NodeOption + * NodeType: "coordinator", + * NodeConfig: { // NodeConfig + * Enabled: true || false, + * Type: "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" || "or1.medium.search" || "or1.large.search" || "or1.xlarge.search" || "or1.2xlarge.search" || "or1.4xlarge.search" || "or1.8xlarge.search" || "or1.12xlarge.search" || "or1.16xlarge.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", + * Count: Number("int"), + * }, + * }, + * ], * }, * EBSOptions: { // EBSOptions * EBSEnabled: true || false, @@ -206,6 +216,16 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad * // Enabled: true || false, // required * // }, * // MultiAZWithStandbyEnabled: true || false, + * // NodeOptions: [ // NodeOptionsList + * // { // NodeOption + * // NodeType: "coordinator", + * // NodeConfig: { // NodeConfig + * // Enabled: true || false, + * // Type: "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" || "or1.medium.search" || "or1.large.search" || "or1.xlarge.search" || "or1.2xlarge.search" || "or1.4xlarge.search" || "or1.8xlarge.search" || "or1.12xlarge.search" || "or1.16xlarge.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", + * // Count: Number("int"), + * // }, + * // }, + * // ], * // }, * // EBSOptions: { // EBSOptions * // EBSEnabled: true || false, diff --git a/clients/client-opensearch/src/commands/DeleteDomainCommand.ts b/clients/client-opensearch/src/commands/DeleteDomainCommand.ts index 2c384f0933178..e06f734fce336 100644 --- a/clients/client-opensearch/src/commands/DeleteDomainCommand.ts +++ b/clients/client-opensearch/src/commands/DeleteDomainCommand.ts @@ -74,6 +74,16 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad * // Enabled: true || false, // required * // }, * // MultiAZWithStandbyEnabled: true || false, + * // NodeOptions: [ // NodeOptionsList + * // { // NodeOption + * // NodeType: "coordinator", + * // NodeConfig: { // NodeConfig + * // Enabled: true || false, + * // Type: "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" || "or1.medium.search" || "or1.large.search" || "or1.xlarge.search" || "or1.2xlarge.search" || "or1.4xlarge.search" || "or1.8xlarge.search" || "or1.12xlarge.search" || "or1.16xlarge.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", + * // Count: Number("int"), + * // }, + * // }, + * // ], * // }, * // EBSOptions: { // EBSOptions * // EBSEnabled: true || false, diff --git a/clients/client-opensearch/src/commands/DescribeDomainCommand.ts b/clients/client-opensearch/src/commands/DescribeDomainCommand.ts index 94a04e74f876c..c9aa42bf730e3 100644 --- a/clients/client-opensearch/src/commands/DescribeDomainCommand.ts +++ b/clients/client-opensearch/src/commands/DescribeDomainCommand.ts @@ -74,6 +74,16 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M * // Enabled: true || false, // required * // }, * // MultiAZWithStandbyEnabled: true || false, + * // NodeOptions: [ // NodeOptionsList + * // { // NodeOption + * // NodeType: "coordinator", + * // NodeConfig: { // NodeConfig + * // Enabled: true || false, + * // Type: "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" || "or1.medium.search" || "or1.large.search" || "or1.xlarge.search" || "or1.2xlarge.search" || "or1.4xlarge.search" || "or1.8xlarge.search" || "or1.12xlarge.search" || "or1.16xlarge.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", + * // Count: Number("int"), + * // }, + * // }, + * // ], * // }, * // EBSOptions: { // EBSOptions * // EBSEnabled: true || false, diff --git a/clients/client-opensearch/src/commands/DescribeDomainConfigCommand.ts b/clients/client-opensearch/src/commands/DescribeDomainConfigCommand.ts index 4382bc56cb9f5..32160cbfaf838 100644 --- a/clients/client-opensearch/src/commands/DescribeDomainConfigCommand.ts +++ b/clients/client-opensearch/src/commands/DescribeDomainConfigCommand.ts @@ -70,6 +70,16 @@ export interface DescribeDomainConfigCommandOutput extends DescribeDomainConfigR * // Enabled: true || false, // required * // }, * // MultiAZWithStandbyEnabled: true || false, + * // NodeOptions: [ // NodeOptionsList + * // { // NodeOption + * // NodeType: "coordinator", + * // NodeConfig: { // NodeConfig + * // Enabled: true || false, + * // Type: "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" || "or1.medium.search" || "or1.large.search" || "or1.xlarge.search" || "or1.2xlarge.search" || "or1.4xlarge.search" || "or1.8xlarge.search" || "or1.12xlarge.search" || "or1.16xlarge.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", + * // Count: Number("int"), + * // }, + * // }, + * // ], * // }, * // Status: { * // CreationDate: new Date("TIMESTAMP"), // required diff --git a/clients/client-opensearch/src/commands/DescribeDomainsCommand.ts b/clients/client-opensearch/src/commands/DescribeDomainsCommand.ts index e73a531ed17be..1153e65105998 100644 --- a/clients/client-opensearch/src/commands/DescribeDomainsCommand.ts +++ b/clients/client-opensearch/src/commands/DescribeDomainsCommand.ts @@ -77,6 +77,16 @@ export interface DescribeDomainsCommandOutput extends DescribeDomainsResponse, _ * // Enabled: true || false, // required * // }, * // MultiAZWithStandbyEnabled: true || false, + * // NodeOptions: [ // NodeOptionsList + * // { // NodeOption + * // NodeType: "coordinator", + * // NodeConfig: { // NodeConfig + * // Enabled: true || false, + * // Type: "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" || "or1.medium.search" || "or1.large.search" || "or1.xlarge.search" || "or1.2xlarge.search" || "or1.4xlarge.search" || "or1.8xlarge.search" || "or1.12xlarge.search" || "or1.16xlarge.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", + * // Count: Number("int"), + * // }, + * // }, + * // ], * // }, * // EBSOptions: { // EBSOptions * // EBSEnabled: true || false, diff --git a/clients/client-opensearch/src/commands/DescribeDryRunProgressCommand.ts b/clients/client-opensearch/src/commands/DescribeDryRunProgressCommand.ts index 31e83abe69676..d8493c8599fa8 100644 --- a/clients/client-opensearch/src/commands/DescribeDryRunProgressCommand.ts +++ b/clients/client-opensearch/src/commands/DescribeDryRunProgressCommand.ts @@ -88,6 +88,16 @@ export interface DescribeDryRunProgressCommandOutput extends DescribeDryRunProgr * // Enabled: true || false, // required * // }, * // MultiAZWithStandbyEnabled: true || false, + * // NodeOptions: [ // NodeOptionsList + * // { // NodeOption + * // NodeType: "coordinator", + * // NodeConfig: { // NodeConfig + * // Enabled: true || false, + * // Type: "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" || "or1.medium.search" || "or1.large.search" || "or1.xlarge.search" || "or1.2xlarge.search" || "or1.4xlarge.search" || "or1.8xlarge.search" || "or1.12xlarge.search" || "or1.16xlarge.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", + * // Count: Number("int"), + * // }, + * // }, + * // ], * // }, * // EBSOptions: { // EBSOptions * // EBSEnabled: true || false, diff --git a/clients/client-opensearch/src/commands/UpdateDomainConfigCommand.ts b/clients/client-opensearch/src/commands/UpdateDomainConfigCommand.ts index 9dc76be4e4395..e05c534f984b0 100644 --- a/clients/client-opensearch/src/commands/UpdateDomainConfigCommand.ts +++ b/clients/client-opensearch/src/commands/UpdateDomainConfigCommand.ts @@ -59,6 +59,16 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo * Enabled: true || false, // required * }, * MultiAZWithStandbyEnabled: true || false, + * NodeOptions: [ // NodeOptionsList + * { // NodeOption + * NodeType: "coordinator", + * NodeConfig: { // NodeConfig + * Enabled: true || false, + * Type: "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" || "or1.medium.search" || "or1.large.search" || "or1.xlarge.search" || "or1.2xlarge.search" || "or1.4xlarge.search" || "or1.8xlarge.search" || "or1.12xlarge.search" || "or1.16xlarge.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", + * Count: Number("int"), + * }, + * }, + * ], * }, * EBSOptions: { // EBSOptions * EBSEnabled: true || false, @@ -204,6 +214,16 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo * // Enabled: true || false, // required * // }, * // MultiAZWithStandbyEnabled: true || false, + * // NodeOptions: [ // NodeOptionsList + * // { // NodeOption + * // NodeType: "coordinator", + * // NodeConfig: { // NodeConfig + * // Enabled: true || false, + * // Type: "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" || "or1.medium.search" || "or1.large.search" || "or1.xlarge.search" || "or1.2xlarge.search" || "or1.4xlarge.search" || "or1.8xlarge.search" || "or1.12xlarge.search" || "or1.16xlarge.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", + * // Count: Number("int"), + * // }, + * // }, + * // ], * // }, * // Status: { * // CreationDate: new Date("TIMESTAMP"), // required diff --git a/clients/client-opensearch/src/commands/UpgradeDomainCommand.ts b/clients/client-opensearch/src/commands/UpgradeDomainCommand.ts index 56a46630461b3..fe42078301ebb 100644 --- a/clients/client-opensearch/src/commands/UpgradeDomainCommand.ts +++ b/clients/client-opensearch/src/commands/UpgradeDomainCommand.ts @@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; -import { UpgradeDomainRequest, UpgradeDomainResponse } from "../models/models_0"; +import { UpgradeDomainRequest, UpgradeDomainResponse } from "../models/models_1"; import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient"; import { de_UpgradeDomainCommand, se_UpgradeDomainCommand } from "../protocols/Aws_restJson1"; diff --git a/clients/client-opensearch/src/models/index.ts b/clients/client-opensearch/src/models/index.ts index 9eaceb12865f8..1657800f73ce5 100644 --- a/clients/client-opensearch/src/models/index.ts +++ b/clients/client-opensearch/src/models/index.ts @@ -1,2 +1,3 @@ // smithy-typescript generated code export * from "./models_0"; +export * from "./models_1"; diff --git a/clients/client-opensearch/src/models/models_0.ts b/clients/client-opensearch/src/models/models_0.ts index fb85e0354274e..38b725c045f0e 100644 --- a/clients/client-opensearch/src/models/models_0.ts +++ b/clients/client-opensearch/src/models/models_0.ts @@ -1723,6 +1723,61 @@ export const OpenSearchPartitionInstanceType = { export type OpenSearchPartitionInstanceType = (typeof OpenSearchPartitionInstanceType)[keyof typeof OpenSearchPartitionInstanceType]; +/** + *

Container for specifying configuration of any node type.

+ * @public + */ +export interface NodeConfig { + /** + *

A boolean that indicates whether a particular node type is enabled or not.

+ * @public + */ + Enabled?: boolean; + + /** + *

The instance type of a particular node type in the cluster.

+ * @public + */ + Type?: OpenSearchPartitionInstanceType; + + /** + *

The number of nodes of a particular node type in the cluster.

+ * @public + */ + Count?: number; +} + +/** + * @public + * @enum + */ +export const NodeOptionsNodeType = { + COORDINATOR: "coordinator", +} as const; + +/** + * @public + */ +export type NodeOptionsNodeType = (typeof NodeOptionsNodeType)[keyof typeof NodeOptionsNodeType]; + +/** + *

Container for specifying node type.

+ * @public + */ +export interface NodeOption { + /** + *

Container for node type like coordinating.

+ * @public + */ + NodeType?: NodeOptionsNodeType; + + /** + *

Container for specifying configuration of any node type.

+ * @public + */ + NodeConfig?: NodeConfig; +} + /** * @public * @enum @@ -1834,6 +1889,12 @@ export interface ClusterConfig { * @public */ MultiAZWithStandbyEnabled?: boolean; + + /** + *

List of node options for the domain.

+ * @public + */ + NodeOptions?: NodeOption[]; } /** @@ -7652,83 +7713,6 @@ export interface UpdateVpcEndpointResponse { VpcEndpoint: VpcEndpoint | undefined; } -/** - *

Container for the request parameters to the UpgradeDomain operation.

- * @public - */ -export interface UpgradeDomainRequest { - /** - *

Name of the OpenSearch Service domain that you want to upgrade.

- * @public - */ - DomainName: string | undefined; - - /** - *

OpenSearch or Elasticsearch version to which you want to upgrade, in the format - * Opensearch_X.Y or Elasticsearch_X.Y.

- * @public - */ - TargetVersion: string | undefined; - - /** - *

When true, indicates that an upgrade eligibility check needs to be performed. Does not - * actually perform the upgrade.

- * @public - */ - PerformCheckOnly?: boolean; - - /** - *

Only supports the override_main_response_version parameter and not other - * advanced options. You can only include this option when upgrading to an OpenSearch version. - * Specifies whether the domain reports its version as 7.10 so that it continues to work with - * Elasticsearch OSS clients and plugins.

- * @public - */ - AdvancedOptions?: Record; -} - -/** - *

Container for the response returned by UpgradeDomain operation.

- * @public - */ -export interface UpgradeDomainResponse { - /** - *

The unique identifier of the domain upgrade.

- * @public - */ - UpgradeId?: string; - - /** - *

The name of the domain that was upgraded.

- * @public - */ - DomainName?: string; - - /** - *

OpenSearch or Elasticsearch version that the domain was upgraded to.

- * @public - */ - TargetVersion?: string; - - /** - *

When true, indicates that an upgrade eligibility check was performed.

- * @public - */ - PerformCheckOnly?: boolean; - - /** - *

The advanced options configuration for the domain.

- * @public - */ - AdvancedOptions?: Record; - - /** - *

Container for information about a configuration change happening on a domain.

- * @public - */ - ChangeProgressDetails?: ChangeProgressDetails; -} - /** * @internal */ diff --git a/clients/client-opensearch/src/models/models_1.ts b/clients/client-opensearch/src/models/models_1.ts new file mode 100644 index 0000000000000..9e8c56a49eb3e --- /dev/null +++ b/clients/client-opensearch/src/models/models_1.ts @@ -0,0 +1,79 @@ +// smithy-typescript generated code +import { ChangeProgressDetails } from "./models_0"; + +/** + *

Container for the request parameters to the UpgradeDomain operation.

+ * @public + */ +export interface UpgradeDomainRequest { + /** + *

Name of the OpenSearch Service domain that you want to upgrade.

+ * @public + */ + DomainName: string | undefined; + + /** + *

OpenSearch or Elasticsearch version to which you want to upgrade, in the format + * Opensearch_X.Y or Elasticsearch_X.Y.

+ * @public + */ + TargetVersion: string | undefined; + + /** + *

When true, indicates that an upgrade eligibility check needs to be performed. Does not + * actually perform the upgrade.

+ * @public + */ + PerformCheckOnly?: boolean; + + /** + *

Only supports the override_main_response_version parameter and not other + * advanced options. You can only include this option when upgrading to an OpenSearch version. + * Specifies whether the domain reports its version as 7.10 so that it continues to work with + * Elasticsearch OSS clients and plugins.

+ * @public + */ + AdvancedOptions?: Record; +} + +/** + *

Container for the response returned by UpgradeDomain operation.

+ * @public + */ +export interface UpgradeDomainResponse { + /** + *

The unique identifier of the domain upgrade.

+ * @public + */ + UpgradeId?: string; + + /** + *

The name of the domain that was upgraded.

+ * @public + */ + DomainName?: string; + + /** + *

OpenSearch or Elasticsearch version that the domain was upgraded to.

+ * @public + */ + TargetVersion?: string; + + /** + *

When true, indicates that an upgrade eligibility check was performed.

+ * @public + */ + PerformCheckOnly?: boolean; + + /** + *

The advanced options configuration for the domain.

+ * @public + */ + AdvancedOptions?: Record; + + /** + *

Container for information about a configuration change happening on a domain.

+ * @public + */ + ChangeProgressDetails?: ChangeProgressDetails; +} diff --git a/clients/client-opensearch/src/protocols/Aws_restJson1.ts b/clients/client-opensearch/src/protocols/Aws_restJson1.ts index b1a48fe56b85b..b114960ae93d1 100644 --- a/clients/client-opensearch/src/protocols/Aws_restJson1.ts +++ b/clients/client-opensearch/src/protocols/Aws_restJson1.ts @@ -257,6 +257,8 @@ import { LogType, MasterUserOptions, NaturalLanguageQueryGenerationOptionsInput, + NodeConfig, + NodeOption, NodeToNodeEncryptionOptions, NodeToNodeEncryptionOptionsStatus, OffPeakWindow, @@ -3393,6 +3395,12 @@ const se_AutoTuneOptionsInput = (input: AutoTuneOptionsInput, context: __SerdeCo // se_NaturalLanguageQueryGenerationOptionsInput omitted. +// se_NodeConfig omitted. + +// se_NodeOption omitted. + +// se_NodeOptionsList omitted. + // se_NodeToNodeEncryptionOptions omitted. // se_OffPeakWindow omitted. @@ -3949,6 +3957,12 @@ const de_LogPublishingOptionsStatus = (output: any, context: __SerdeContext): Lo // de_NaturalLanguageQueryGenerationOptionsOutput omitted. +// de_NodeConfig omitted. + +// de_NodeOption omitted. + +// de_NodeOptionsList omitted. + // de_NodeToNodeEncryptionOptions omitted. /** diff --git a/codegen/sdk-codegen/aws-models/opensearch.json b/codegen/sdk-codegen/aws-models/opensearch.json index 1c78832dfc6b5..0156aa05122b6 100644 --- a/codegen/sdk-codegen/aws-models/opensearch.json +++ b/codegen/sdk-codegen/aws-models/opensearch.json @@ -2942,6 +2942,12 @@ "traits": { "smithy.api#documentation": "

A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.

" } + }, + "NodeOptions": { + "target": "com.amazonaws.opensearch#NodeOptionsList", + "traits": { + "smithy.api#documentation": "

List of node options for the domain.

" + } } }, "traits": { @@ -9203,6 +9209,32 @@ "smithy.api#documentation": "

When nextToken is returned, there are more results available. The value of\n nextToken is a unique pagination token for each page. Send the request again using the\n returned token to retrieve the next page.

" } }, + "com.amazonaws.opensearch#NodeConfig": { + "type": "structure", + "members": { + "Enabled": { + "target": "com.amazonaws.opensearch#Boolean", + "traits": { + "smithy.api#documentation": "

A boolean that indicates whether a particular node type is enabled or not.

" + } + }, + "Type": { + "target": "com.amazonaws.opensearch#OpenSearchPartitionInstanceType", + "traits": { + "smithy.api#documentation": "

The instance type of a particular node type in the cluster.

" + } + }, + "Count": { + "target": "com.amazonaws.opensearch#IntegerClass", + "traits": { + "smithy.api#documentation": "

The number of nodes of a particular node type in the cluster.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Container for specifying configuration of any node type.

" + } + }, "com.amazonaws.opensearch#NodeId": { "type": "string", "traits": { @@ -9212,6 +9244,43 @@ } } }, + "com.amazonaws.opensearch#NodeOption": { + "type": "structure", + "members": { + "NodeType": { + "target": "com.amazonaws.opensearch#NodeOptionsNodeType", + "traits": { + "smithy.api#documentation": "

Container for node type like coordinating.

" + } + }, + "NodeConfig": { + "target": "com.amazonaws.opensearch#NodeConfig", + "traits": { + "smithy.api#documentation": "

Container for specifying configuration of any node type.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Container for specifying node type.

" + } + }, + "com.amazonaws.opensearch#NodeOptionsList": { + "type": "list", + "member": { + "target": "com.amazonaws.opensearch#NodeOption" + } + }, + "com.amazonaws.opensearch#NodeOptionsNodeType": { + "type": "enum", + "members": { + "COORDINATOR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "coordinator" + } + } + } + }, "com.amazonaws.opensearch#NodeStatus": { "type": "enum", "members": {