update_package
¶
update_package(
package_id: PackageID,
package_source: PackageSource,
*,
config_overrides: Optional[ElasticsearchServiceClientConfig] = None,
package_description: Optional[PackageDescription] = None,
commit_message: Optional[CommitMessage] = None,
) -> UpdatePackageResponse
Updates a package for use with Amazon ES domains.
Parameters:
-
package_id(PackageID) –Unique identifier for the package.
-
package_description(Optional[PackageDescription], default:None) –New description of the package.
-
commit_message(Optional[CommitMessage], default:None) –An info message for the new version which will be shown as part of
GetPackageVersionHistoryResponse.
Raises:
-
AccessDeniedException–An error occurred because user does not have permissions to access the resource. Returns HTTP status code 403.
-
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.
-
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/elasticsearch_service.py
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 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 | |