update_elasticsearch_domain_config
async
¶
update_elasticsearch_domain_config(
domain_name: DomainName,
*,
config_overrides: Optional[AsyncElasticsearchServiceClientConfig] = None,
elasticsearch_cluster_config: Optional[ElasticsearchClusterConfig] = None,
ebs_options: Optional[EBSOptions] = None,
snapshot_options: Optional[SnapshotOptions] = None,
vpc_options: Optional[VPCOptions] = None,
cognito_options: Optional[CognitoOptions] = None,
advanced_options: Optional[AdvancedOptions] = None,
access_policies: Optional[PolicyDocument] = None,
log_publishing_options: Optional[LogPublishingOptions] = None,
catalog_options: Optional[CatalogOptions] = None,
domain_endpoint_options: Optional[DomainEndpointOptions] = None,
advanced_security_options: Optional[AdvancedSecurityOptionsInput] = None,
node_to_node_encryption_options: Optional[NodeToNodeEncryptionOptions] = None,
encryption_at_rest_options: Optional[EncryptionAtRestOptions] = None,
auto_tune_options: Optional[AutoTuneOptions] = None,
dry_run: Optional[DryRun] = None,
deployment_strategy_options: Optional[DeploymentStrategyOptions] = None,
automated_snapshot_pause_options: Optional[
AutomatedSnapshotPauseRequestOptions
] = None,
use_case: Optional[DomainUseCase] = None,
engine_mode: Optional[DomainEngineMode] = None,
) -> UpdateElasticsearchDomainConfigResponse
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
Parameters:
-
domain_name(DomainName) –The name of the Elasticsearch domain that you are updating.
-
elasticsearch_cluster_config(Optional[ElasticsearchClusterConfig], default:None) –The type and number of instances to instantiate for the domain cluster.
-
ebs_options(Optional[EBSOptions], default:None) –Specify the type and size of the EBS volume that you want to use.
-
snapshot_options(Optional[SnapshotOptions], default:None) –Option to set the time, in UTC format, for the daily automated snapshot. Default value is
0hours. -
vpc_options(Optional[VPCOptions], default:None) –Options to specify the subnets and security groups for VPC endpoint. For more information, see Creating a VPC in VPC Endpoints for Amazon Elasticsearch Service Domains
-
cognito_options(Optional[CognitoOptions], default:None) –Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.
-
advanced_options(Optional[AdvancedOptions], default:None) –Modifies the advanced option to allow references to indices in an HTTP request body. Must be
falsewhen configuring access to individual sub-resources. By default, the value istrue. See Configuration Advanced Options for more information. -
access_policies(Optional[PolicyDocument], default:None) –IAM access policy as a JSON-formatted string.
-
log_publishing_options(Optional[LogPublishingOptions], default:None) –Map of
LogTypeandLogPublishingOption, each containing options to publish a given type of Elasticsearch log. -
catalog_options(Optional[CatalogOptions], default:None) –Options for publishing the domain's data to a data catalog, such as a service-managed Amazon S3 Tables catalog.
-
domain_endpoint_options(Optional[DomainEndpointOptions], default:None) –Options to specify configuration that will be applied to the domain endpoint.
-
advanced_security_options(Optional[AdvancedSecurityOptionsInput], default:None) –Specifies advanced security options.
-
node_to_node_encryption_options(Optional[NodeToNodeEncryptionOptions], default:None) –Specifies the NodeToNodeEncryptionOptions.
-
encryption_at_rest_options(Optional[EncryptionAtRestOptions], default:None) –Specifies the Encryption At Rest Options.
-
auto_tune_options(Optional[AutoTuneOptions], default:None) –Specifies Auto-Tune options.
-
dry_run(Optional[DryRun], default:None) –This flag, when set to True, specifies whether the
UpdateElasticsearchDomainrequest should return the results of validation checks without actually applying the change. This flag, when set to True, specifies the deployment mechanism through which the update shall be applied on the domain. This will not actually perform the Update. -
deployment_strategy_options(Optional[DeploymentStrategyOptions], default:None) –Specifies the deployment strategy options.
-
automated_snapshot_pause_options(Optional[AutomatedSnapshotPauseRequestOptions], default:None) –Specifies the automated snapshot pause options for the domain.
Suspending snapshots reduces data protection. You cannot restore your domain to points in time when snapshots are suspended. Use this feature only for short-term operational needs such as migrations or maintenance windows.
Maximum suspension duration: 3 days.
-
use_case(Optional[DomainUseCase], default:None) –The primary use case for the domain. For valid values, see
DomainUseCase. -
engine_mode(Optional[DomainEngineMode], default:None) –The engine mode for the domain. For valid values and requirements, see
DomainEngineMode.
Raises:
-
BaseException–An error occurred while processing the request.
-
InternalException–The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.
-
InvalidTypeException–An exception for trying to create or access sub-resource that is either invalid or not supported. Gives http status code of 409.
-
LimitExceededException–An exception for trying to create more than allowed resources or sub-resources. Gives http status code of 409.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.
-
ValidationException–An exception for missing / invalid input fields. Gives http status code of 400.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_elasticsearch_service/_services/async_elasticsearch_service.py
3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 | |