aws-sdk-opensearch 1.112.0

AWS SDK for Amazon OpenSearch Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn type_erase_result<O, E>(
    result: ::std::result::Result<O, E>,
) -> ::std::result::Result<
    ::aws_smithy_runtime_api::client::interceptors::context::Output,
    ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError<::aws_smithy_runtime_api::client::interceptors::context::Error>,
>
where
    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
    E: ::std::error::Error + std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
{
    result
        .map(|output| ::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
        .map_err(|error| ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(error))
        .map_err(::std::convert::Into::into)
}

pub fn parse_http_error_metadata(
    _response_status: u16,
    response_headers: &::aws_smithy_runtime_api::http::Headers,
    response_body: &[u8],
) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_json::deserialize::error::DeserializeError> {
    crate::json_errors::parse_error_metadata(response_body, response_headers)
}

pub(crate) mod shape_accept_inbound_connection;

pub(crate) mod shape_add_data_source;

pub(crate) mod shape_add_direct_query_data_source;

pub(crate) mod shape_add_tags;

pub(crate) mod shape_associate_package;

pub(crate) mod shape_associate_packages;

pub(crate) mod shape_authorize_vpc_endpoint_access;

pub(crate) mod shape_cancel_domain_config_change;

pub(crate) mod shape_cancel_service_software_update;

pub(crate) mod shape_create_application;

pub(crate) mod shape_create_domain;

pub(crate) mod shape_create_index;

pub(crate) mod shape_create_outbound_connection;

pub(crate) mod shape_create_package;

pub(crate) mod shape_create_vpc_endpoint;

pub(crate) mod shape_delete_application;

pub(crate) mod shape_delete_data_source;

pub(crate) mod shape_delete_direct_query_data_source;

pub(crate) mod shape_delete_domain;

pub(crate) mod shape_delete_inbound_connection;

pub(crate) mod shape_delete_index;

pub(crate) mod shape_delete_outbound_connection;

pub(crate) mod shape_delete_package;

pub(crate) mod shape_delete_vpc_endpoint;

pub(crate) mod shape_describe_domain;

pub(crate) mod shape_describe_domain_auto_tunes;

pub(crate) mod shape_describe_domain_change_progress;

pub(crate) mod shape_describe_domain_config;

pub(crate) mod shape_describe_domain_health;

pub(crate) mod shape_describe_domain_nodes;

pub(crate) mod shape_describe_domains;

pub(crate) mod shape_describe_dry_run_progress;

pub(crate) mod shape_describe_inbound_connections;

pub(crate) mod shape_describe_instance_type_limits;

pub(crate) mod shape_describe_outbound_connections;

pub(crate) mod shape_describe_packages;

pub(crate) mod shape_describe_reserved_instance_offerings;

pub(crate) mod shape_describe_reserved_instances;

pub(crate) mod shape_describe_vpc_endpoints;

pub(crate) mod shape_dissociate_package;

pub(crate) mod shape_dissociate_packages;

pub(crate) mod shape_get_application;

pub(crate) mod shape_get_compatible_versions;

pub(crate) mod shape_get_data_source;

pub(crate) mod shape_get_default_application_setting;

pub(crate) mod shape_get_direct_query_data_source;

pub(crate) mod shape_get_domain_maintenance_status;

pub(crate) mod shape_get_index;

pub(crate) mod shape_get_package_version_history;

pub(crate) mod shape_get_upgrade_history;

pub(crate) mod shape_get_upgrade_status;

pub(crate) mod shape_list_applications;

pub(crate) mod shape_list_data_sources;

pub(crate) mod shape_list_direct_query_data_sources;

pub(crate) mod shape_list_domain_maintenances;

pub(crate) mod shape_list_domain_names;

pub(crate) mod shape_list_domains_for_package;

pub(crate) mod shape_list_instance_type_details;

pub(crate) mod shape_list_packages_for_domain;

pub(crate) mod shape_list_scheduled_actions;

pub(crate) mod shape_list_tags;

pub(crate) mod shape_list_versions;

pub(crate) mod shape_list_vpc_endpoint_access;

pub(crate) mod shape_list_vpc_endpoints;

pub(crate) mod shape_list_vpc_endpoints_for_domain;

pub(crate) mod shape_purchase_reserved_instance_offering;

pub(crate) mod shape_put_default_application_setting;

pub(crate) mod shape_reject_inbound_connection;

pub(crate) mod shape_remove_tags;

pub(crate) mod shape_revoke_vpc_endpoint_access;

pub(crate) mod shape_start_domain_maintenance;

pub(crate) mod shape_start_service_software_update;

pub(crate) mod shape_update_application;

pub(crate) mod shape_update_data_source;

pub(crate) mod shape_update_direct_query_data_source;

pub(crate) mod shape_update_domain_config;

pub(crate) mod shape_update_index;

pub(crate) mod shape_update_package;

pub(crate) mod shape_update_package_scope;

pub(crate) mod shape_update_scheduled_action;

pub(crate) mod shape_update_vpc_endpoint;

pub(crate) mod shape_upgrade_domain;

pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
    if data.is_empty() {
        b"{}"
    } else {
        data
    }
}

pub(crate) mod shape_access_denied_exception;

pub(crate) mod shape_add_data_source_input;

pub(crate) mod shape_add_direct_query_data_source_input;

pub(crate) mod shape_add_tags_input;

pub(crate) mod shape_associate_package_input;

pub(crate) mod shape_associate_packages_input;

pub(crate) mod shape_authorize_vpc_endpoint_access_input;

pub(crate) mod shape_base_exception;

pub(crate) mod shape_cancel_domain_config_change_input;

pub(crate) mod shape_cancel_service_software_update_input;

pub(crate) mod shape_conflict_exception;

pub(crate) mod shape_create_application_input;

pub(crate) mod shape_create_domain_input;

pub(crate) mod shape_create_index_input;

pub(crate) mod shape_create_outbound_connection_input;

pub(crate) mod shape_create_package_input;

pub(crate) mod shape_create_vpc_endpoint_input;

pub(crate) mod shape_dependency_failure_exception;

pub(crate) mod shape_describe_domain_auto_tunes_input;

pub(crate) mod shape_describe_domains_input;

pub(crate) mod shape_describe_inbound_connections_input;

pub(crate) mod shape_describe_outbound_connections_input;

pub(crate) mod shape_describe_packages_input;

pub(crate) mod shape_describe_vpc_endpoints_input;

pub(crate) mod shape_disabled_operation_exception;

pub(crate) mod shape_dissociate_packages_input;

pub(crate) mod shape_internal_exception;

pub(crate) mod shape_invalid_pagination_token_exception;

pub(crate) mod shape_invalid_type_exception;

pub(crate) mod shape_limit_exceeded_exception;

pub(crate) mod shape_purchase_reserved_instance_offering_input;

pub(crate) mod shape_put_default_application_setting_input;

pub(crate) mod shape_remove_tags_input;

pub(crate) mod shape_resource_already_exists_exception;

pub(crate) mod shape_resource_not_found_exception;

pub(crate) mod shape_revoke_vpc_endpoint_access_input;

pub(crate) mod shape_slot_not_available_exception;

pub(crate) mod shape_start_domain_maintenance_input;

pub(crate) mod shape_start_service_software_update_input;

pub(crate) mod shape_throttling_exception;

pub(crate) mod shape_update_application_input;

pub(crate) mod shape_update_data_source_input;

pub(crate) mod shape_update_direct_query_data_source_input;

pub(crate) mod shape_update_domain_config_input;

pub(crate) mod shape_update_index_input;

pub(crate) mod shape_update_package_input;

pub(crate) mod shape_update_package_scope_input;

pub(crate) mod shape_update_scheduled_action_input;

pub(crate) mod shape_update_vpc_endpoint_input;

pub(crate) mod shape_upgrade_domain_input;

pub(crate) mod shape_validation_exception;

pub(crate) mod shape_advanced_options;

pub(crate) mod shape_advanced_security_options_input;

pub(crate) mod shape_aiml_options_input;

pub(crate) mod shape_app_config;

pub(crate) mod shape_app_configs;

pub(crate) mod shape_application_summaries;

pub(crate) mod shape_authorized_principal;

pub(crate) mod shape_authorized_principal_list;

pub(crate) mod shape_auto_tune_list;

pub(crate) mod shape_auto_tune_options;

pub(crate) mod shape_auto_tune_options_input;

pub(crate) mod shape_cancelled_change_property_list;

pub(crate) mod shape_change_progress_details;

pub(crate) mod shape_change_progress_status_details;

pub(crate) mod shape_cluster_config;

pub(crate) mod shape_cognito_options;

pub(crate) mod shape_compatible_versions_list;

pub(crate) mod shape_connection_properties;

pub(crate) mod shape_data_source;

pub(crate) mod shape_data_source_list;

pub(crate) mod shape_data_source_type;

pub(crate) mod shape_data_sources;

pub(crate) mod shape_describe_packages_filter;

pub(crate) mod shape_direct_query_data_source_list;

pub(crate) mod shape_direct_query_data_source_type;

pub(crate) mod shape_direct_query_open_search_arn_list;

pub(crate) mod shape_domain_config;

pub(crate) mod shape_domain_endpoint_options;

pub(crate) mod shape_domain_info_list;

pub(crate) mod shape_domain_information_container;

pub(crate) mod shape_domain_maintenance_list;

pub(crate) mod shape_domain_nodes_status_list;

pub(crate) mod shape_domain_package_details;

pub(crate) mod shape_domain_package_details_list;

pub(crate) mod shape_domain_status;

pub(crate) mod shape_domain_status_list;

pub(crate) mod shape_dry_run_progress_status;

pub(crate) mod shape_dry_run_results;

pub(crate) mod shape_ebs_options;

pub(crate) mod shape_encryption_at_rest_options;

pub(crate) mod shape_environment_info_list;

pub(crate) mod shape_filter;

pub(crate) mod shape_guid_list;

pub(crate) mod shape_iam_identity_center_options;

pub(crate) mod shape_iam_identity_center_options_input;

pub(crate) mod shape_identity_center_options_input;

pub(crate) mod shape_inbound_connection;

pub(crate) mod shape_inbound_connections;

pub(crate) mod shape_instance_type_details_list;

pub(crate) mod shape_limits_by_role;

pub(crate) mod shape_log_publishing_option;

pub(crate) mod shape_node_to_node_encryption_options;

pub(crate) mod shape_off_peak_window_options;

pub(crate) mod shape_outbound_connection;

pub(crate) mod shape_outbound_connection_status;

pub(crate) mod shape_outbound_connections;

pub(crate) mod shape_package_association_configuration;

pub(crate) mod shape_package_configuration;

pub(crate) mod shape_package_details;

pub(crate) mod shape_package_details_for_association;

pub(crate) mod shape_package_details_list;

pub(crate) mod shape_package_encryption_options;

pub(crate) mod shape_package_source;

pub(crate) mod shape_package_user_list;

pub(crate) mod shape_package_vending_options;

pub(crate) mod shape_package_version_history_list;

pub(crate) mod shape_reserved_instance_list;

pub(crate) mod shape_reserved_instance_offering_list;

pub(crate) mod shape_scheduled_action;

pub(crate) mod shape_scheduled_actions_list;

pub(crate) mod shape_service_software_options;

pub(crate) mod shape_slot_list;

pub(crate) mod shape_snapshot_options;

pub(crate) mod shape_software_update_options;

pub(crate) mod shape_tag;

pub(crate) mod shape_tag_list;

pub(crate) mod shape_upgrade_history_list;

pub(crate) mod shape_version_list;

pub(crate) mod shape_vpc_endpoint;

pub(crate) mod shape_vpc_endpoint_error_list;

pub(crate) mod shape_vpc_endpoint_summary;

pub(crate) mod shape_vpc_endpoint_summary_list;

pub(crate) mod shape_vpc_endpoints;

pub(crate) mod shape_vpc_options;

pub(crate) mod shape_access_policies_status;

pub(crate) mod shape_advanced_options_status;

pub(crate) mod shape_advanced_security_options;

pub(crate) mod shape_advanced_security_options_status;

pub(crate) mod shape_aiml_options_output;

pub(crate) mod shape_aiml_options_status;

pub(crate) mod shape_application_summary;

pub(crate) mod shape_auto_tune;

pub(crate) mod shape_auto_tune_maintenance_schedule;

pub(crate) mod shape_auto_tune_options_output;

pub(crate) mod shape_auto_tune_options_status;

pub(crate) mod shape_aws_domain_information;

pub(crate) mod shape_cancelled_change_property;

pub(crate) mod shape_change_progress_stage_list;

pub(crate) mod shape_cloud_watch_direct_query_data_source;

pub(crate) mod shape_cluster_config_status;

pub(crate) mod shape_cognito_options_status;

pub(crate) mod shape_cold_storage_options;

pub(crate) mod shape_compatible_versions_map;

pub(crate) mod shape_cross_cluster_search_connection_properties;

pub(crate) mod shape_data_source_details;

pub(crate) mod shape_direct_query_data_source;

pub(crate) mod shape_domain_endpoint_options_status;

pub(crate) mod shape_domain_info;

pub(crate) mod shape_domain_maintenance_details;

pub(crate) mod shape_domain_nodes_status;

pub(crate) mod shape_ebs_options_status;

pub(crate) mod shape_encryption_at_rest_options_status;

pub(crate) mod shape_endpoints_map;

pub(crate) mod shape_environment_info;

pub(crate) mod shape_error_details;

pub(crate) mod shape_iam_federation_options_input;

pub(crate) mod shape_identity_center_options;

pub(crate) mod shape_identity_center_options_status;

pub(crate) mod shape_inbound_connection_status;

pub(crate) mod shape_instance_type_details;

pub(crate) mod shape_ip_address_type_status;

pub(crate) mod shape_jwt_options_input;

pub(crate) mod shape_key_store_access_option;

pub(crate) mod shape_limits;

pub(crate) mod shape_log_publishing_options;

pub(crate) mod shape_log_publishing_options_status;

pub(crate) mod shape_master_user_options;

pub(crate) mod shape_modifying_properties_list;

pub(crate) mod shape_natural_language_query_generation_options_input;

pub(crate) mod shape_node_option;

pub(crate) mod shape_node_to_node_encryption_options_status;

pub(crate) mod shape_off_peak_window;

pub(crate) mod shape_off_peak_window_options_status;

pub(crate) mod shape_package_id_list;

pub(crate) mod shape_package_version_history;

pub(crate) mod shape_plugin_properties;

pub(crate) mod shape_reserved_instance;

pub(crate) mod shape_reserved_instance_offering;

pub(crate) mod shape_s3_glue_data_catalog;

pub(crate) mod shape_s3_vectors_engine;

pub(crate) mod shape_saml_options_input;

pub(crate) mod shape_security_lake_direct_query_data_source;

pub(crate) mod shape_serverless_vector_acceleration;

pub(crate) mod shape_snapshot_options_status;

pub(crate) mod shape_software_update_options_status;

pub(crate) mod shape_string_list;

pub(crate) mod shape_upgrade_history;

pub(crate) mod shape_validation_failures;

pub(crate) mod shape_version_status;

pub(crate) mod shape_vpc_derived_info;

pub(crate) mod shape_vpc_derived_info_status;

pub(crate) mod shape_vpc_endpoint_error;

pub(crate) mod shape_zone_awareness_config;

pub(crate) mod shape_additional_limit_list;

pub(crate) mod shape_auto_tune_details;

pub(crate) mod shape_auto_tune_status;

pub(crate) mod shape_availability_zone_info_list;

pub(crate) mod shape_availability_zone_list;

pub(crate) mod shape_change_progress_stage;

pub(crate) mod shape_duration;

pub(crate) mod shape_iam_federation_options_output;

pub(crate) mod shape_instance_limits;

pub(crate) mod shape_instance_role_list;

pub(crate) mod shape_jwt_options_output;

pub(crate) mod shape_modifying_properties;

pub(crate) mod shape_natural_language_query_generation_options_output;

pub(crate) mod shape_node_config;

pub(crate) mod shape_node_options_list;

pub(crate) mod shape_option_status;

pub(crate) mod shape_recurring_charge_list;

pub(crate) mod shape_saml_idp;

pub(crate) mod shape_saml_options_output;

pub(crate) mod shape_storage_type_list;

pub(crate) mod shape_upgrade_steps_list;

pub(crate) mod shape_validation_failure;

pub(crate) mod shape_window_start_time;

pub(crate) mod shape_additional_limit;

pub(crate) mod shape_auto_tune_maintenance_schedule_list;

pub(crate) mod shape_availability_zone_info;

pub(crate) mod shape_instance_count_limits;

pub(crate) mod shape_recurring_charge;

pub(crate) mod shape_scheduled_auto_tune_details;

pub(crate) mod shape_storage_type;

pub(crate) mod shape_upgrade_step_item;

pub(crate) mod shape_issues;

pub(crate) mod shape_limit_value_list;

pub(crate) mod shape_storage_type_limit_list;

pub(crate) mod shape_storage_type_limit;