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
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 | |