Skip to content

Commit 97a7b55

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 472756a commit 97a7b55

5 files changed

Lines changed: 648 additions & 13 deletions

File tree

codegen/sdk-codegen/aws-models/elasticsearch-service.json

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3098,6 +3098,18 @@
30983098
"traits": {
30993099
"smithy.api#documentation": "<p>Specifies the automated snapshot pause options for the domain.</p>\n <important>\n <p>Suspending snapshots reduces data protection. You cannot restore your domain to\n points in time when snapshots are suspended. Use this feature only for short-term\n operational needs such as migrations or maintenance windows.</p>\n </important>\n <p>Maximum suspension duration: 3 days.</p>"
31003100
}
3101+
},
3102+
"UseCase": {
3103+
"target": "com.amazonaws.elasticsearchservice#DomainUseCase",
3104+
"traits": {
3105+
"smithy.api#documentation": "<p>The primary use case for the domain. For valid values, see <code>DomainUseCase</code>.</p>"
3106+
}
3107+
},
3108+
"EngineMode": {
3109+
"target": "com.amazonaws.elasticsearchservice#DomainEngineMode",
3110+
"traits": {
3111+
"smithy.api#documentation": "<p>The engine mode for the domain. For valid values and requirements, see <code>DomainEngineMode</code>.</p>"
3112+
}
31013113
}
31023114
},
31033115
"traits": {
@@ -4998,6 +5010,26 @@
49985010
"smithy.api#documentation": "<p>The configured endpoint options for the domain and their current status.</p>"
49995011
}
50005012
},
5013+
"com.amazonaws.elasticsearchservice#DomainEngineMode": {
5014+
"type": "enum",
5015+
"members": {
5016+
"GENERAL": {
5017+
"target": "smithy.api#Unit",
5018+
"traits": {
5019+
"smithy.api#enumValue": "GENERAL"
5020+
}
5021+
},
5022+
"OPTIMIZED": {
5023+
"target": "smithy.api#Unit",
5024+
"traits": {
5025+
"smithy.api#enumValue": "OPTIMIZED"
5026+
}
5027+
}
5028+
},
5029+
"traits": {
5030+
"smithy.api#documentation": "<p>The engine mode for the domain. Valid values are <code>GENERAL</code> (the standard\n Elasticsearch/OpenSearch engine) and <code>OPTIMIZED</code> (the cost- and\n performance-optimized engine for observability and log-analytics workloads). If you don't\n specify an engine mode, <code>GENERAL</code> is used. <code>OPTIMIZED</code> requires\n OpenSearch 3.5 or later, OpenSearch Optimized instance types (OR1, OR2, OM2, or OI2) for the\n data tier, and encryption at rest, and is available only for the <code>OBSERVABILITY</code>\n and <code>MIXED</code> use cases. The engine mode can't be changed after the domain is\n created.</p>"
5031+
}
5032+
},
50015033
"com.amazonaws.elasticsearchservice#DomainId": {
50025034
"type": "string",
50035035
"traits": {
@@ -5228,6 +5260,38 @@
52285260
}
52295261
}
52305262
},
5263+
"com.amazonaws.elasticsearchservice#DomainUseCase": {
5264+
"type": "enum",
5265+
"members": {
5266+
"SEARCH": {
5267+
"target": "smithy.api#Unit",
5268+
"traits": {
5269+
"smithy.api#enumValue": "SEARCH"
5270+
}
5271+
},
5272+
"VECTOR": {
5273+
"target": "smithy.api#Unit",
5274+
"traits": {
5275+
"smithy.api#enumValue": "VECTOR"
5276+
}
5277+
},
5278+
"OBSERVABILITY": {
5279+
"target": "smithy.api#Unit",
5280+
"traits": {
5281+
"smithy.api#enumValue": "OBSERVABILITY"
5282+
}
5283+
},
5284+
"MIXED": {
5285+
"target": "smithy.api#Unit",
5286+
"traits": {
5287+
"smithy.api#enumValue": "MIXED"
5288+
}
5289+
}
5290+
},
5291+
"traits": {
5292+
"smithy.api#documentation": "<p>The primary use case for the domain, which determines the default configuration and the\n engine modes that are available. Valid values are <code>SEARCH</code> (full-text search,\n e-commerce, content discovery, and hybrid and semantic search), <code>VECTOR</code> (k-NN\n and semantic search, and retrieval-augmented generation), <code>OBSERVABILITY</code> (logs,\n metrics, traces, and dashboards), and <code>MIXED</code> (a combination of search and\n analytics). If you don't specify a use case, <code>MIXED</code> is used.</p>"
5293+
}
5294+
},
52315295
"com.amazonaws.elasticsearchservice#Double": {
52325296
"type": "double"
52335297
},
@@ -5917,6 +5981,18 @@
59175981
"traits": {
59185982
"smithy.api#documentation": "<p>Specifies <code>AutomatedSnapshotPauseOptions</code> for the domain. </p>"
59195983
}
5984+
},
5985+
"UseCase": {
5986+
"target": "com.amazonaws.elasticsearchservice#UseCaseStatus",
5987+
"traits": {
5988+
"smithy.api#documentation": "<p>The use case configured for the domain.</p>"
5989+
}
5990+
},
5991+
"EngineMode": {
5992+
"target": "com.amazonaws.elasticsearchservice#EngineModeStatus",
5993+
"traits": {
5994+
"smithy.api#documentation": "<p>The engine mode configured for the domain.</p>"
5995+
}
59205996
}
59215997
},
59225998
"traits": {
@@ -6100,6 +6176,18 @@
61006176
"traits": {
61016177
"smithy.api#documentation": "<p>The current status of the Elasticsearch domain's automated snapshot pause options.</p>"
61026178
}
6179+
},
6180+
"UseCase": {
6181+
"target": "com.amazonaws.elasticsearchservice#DomainUseCase",
6182+
"traits": {
6183+
"smithy.api#documentation": "<p>The primary use case for the domain.</p>"
6184+
}
6185+
},
6186+
"EngineMode": {
6187+
"target": "com.amazonaws.elasticsearchservice#DomainEngineMode",
6188+
"traits": {
6189+
"smithy.api#documentation": "<p>The engine mode for the domain.</p>"
6190+
}
61036191
}
61046192
},
61056193
"traits": {
@@ -6218,6 +6306,28 @@
62186306
"target": "com.amazonaws.elasticsearchservice#ServiceUrl"
62196307
}
62206308
},
6309+
"com.amazonaws.elasticsearchservice#EngineModeStatus": {
6310+
"type": "structure",
6311+
"members": {
6312+
"Options": {
6313+
"target": "com.amazonaws.elasticsearchservice#DomainEngineMode",
6314+
"traits": {
6315+
"smithy.api#documentation": "<p>The engine mode configured for the domain.</p>",
6316+
"smithy.api#required": {}
6317+
}
6318+
},
6319+
"Status": {
6320+
"target": "com.amazonaws.elasticsearchservice#OptionStatus",
6321+
"traits": {
6322+
"smithy.api#documentation": "<p>The current status of the engine mode for the domain.</p>",
6323+
"smithy.api#required": {}
6324+
}
6325+
}
6326+
},
6327+
"traits": {
6328+
"smithy.api#documentation": "<p>The status of the engine mode for the domain.</p>"
6329+
}
6330+
},
62216331
"com.amazonaws.elasticsearchservice#EngineType": {
62226332
"type": "enum",
62236333
"members": {
@@ -9627,6 +9737,18 @@
96279737
"traits": {
96289738
"smithy.api#documentation": "<p>Specifies the automated snapshot pause options for the domain.</p>\n <important>\n <p>Suspending snapshots reduces data protection. You cannot restore your domain to\n points in time when snapshots are suspended. Use this feature only for short-term\n operational needs such as migrations or maintenance windows.</p>\n </important>\n <p>Maximum suspension duration: 3 days.</p>"
96299739
}
9740+
},
9741+
"UseCase": {
9742+
"target": "com.amazonaws.elasticsearchservice#DomainUseCase",
9743+
"traits": {
9744+
"smithy.api#documentation": "<p>The primary use case for the domain. For valid values, see <code>DomainUseCase</code>.</p>"
9745+
}
9746+
},
9747+
"EngineMode": {
9748+
"target": "com.amazonaws.elasticsearchservice#DomainEngineMode",
9749+
"traits": {
9750+
"smithy.api#documentation": "<p>The engine mode for the domain. For valid values and requirements, see <code>DomainEngineMode</code>.</p>"
9751+
}
96309752
}
96319753
},
96329754
"traits": {
@@ -10044,6 +10166,28 @@
1004410166
"target": "com.amazonaws.elasticsearchservice#UpgradeStepItem"
1004510167
}
1004610168
},
10169+
"com.amazonaws.elasticsearchservice#UseCaseStatus": {
10170+
"type": "structure",
10171+
"members": {
10172+
"Options": {
10173+
"target": "com.amazonaws.elasticsearchservice#DomainUseCase",
10174+
"traits": {
10175+
"smithy.api#documentation": "<p>The use case configured for the domain.</p>",
10176+
"smithy.api#required": {}
10177+
}
10178+
},
10179+
"Status": {
10180+
"target": "com.amazonaws.elasticsearchservice#OptionStatus",
10181+
"traits": {
10182+
"smithy.api#documentation": "<p>The current status of the use case for the domain.</p>",
10183+
"smithy.api#required": {}
10184+
}
10185+
}
10186+
},
10187+
"traits": {
10188+
"smithy.api#documentation": "<p>The status of the use case for the domain.</p>"
10189+
}
10190+
},
1004710191
"com.amazonaws.elasticsearchservice#UserPoolId": {
1004810192
"type": "string",
1004910193
"traits": {

0 commit comments

Comments
 (0)