update_kx_cluster_code_configuration
¶
update_kx_cluster_code_configuration(
environment_id: KxEnvironmentId,
cluster_name: KxClusterName,
code: CodeConfiguration,
*,
config_overrides: Optional[finspaceClientConfig] = None,
client_token: Optional[ClientTokenString] = None,
initialization_script: Optional[InitializationScriptFilePath] = None,
command_line_arguments: Optional[KxCommandLineArguments] = None,
deployment_configuration: Optional[KxClusterCodeDeploymentConfiguration] = None,
) -> UpdateKxClusterCodeConfigurationResponse
Allows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. The configuration that you want to update will override any existing configurations on the cluster.
Parameters:
-
environment_id(KxEnvironmentId) –A unique identifier of the kdb environment.
-
cluster_name(KxClusterName) –The name of the cluster.
-
client_token(Optional[ClientTokenString], default:None) –A token that ensures idempotency. This token expires in 10 minutes.
-
initialization_script(Optional[InitializationScriptFilePath], default:None) –Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example,
somedir/init.q.You cannot update this parameter for a
NO_RESTARTdeployment. -
command_line_arguments(Optional[KxCommandLineArguments], default:None) –Specifies the key-value pairs to make them available inside the cluster.
You cannot update this parameter for a
NO_RESTARTdeployment. -
deployment_configuration(Optional[KxClusterCodeDeploymentConfiguration], default:None) –The configuration that allows you to choose how you want to update the code on a cluster.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict with this action, and it could not be completed.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
LimitExceededException–A service limit or quota is exceeded.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_finspace/_services/finspace.py
3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 | |