Smaws_Client_SSM.GetParameterGet information about a single parameter by specifying the parameter name.
Parameter names can't contain spaces. The service removes any spaces specified for the beginning or end of a parameter name. If the specified name for a parameter contains spaces between characters, the request fails with a ValidationException error.
To get information about more than one parameter at a time, use the GetParameters operation.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidKeyId of Types.invalid_key_id
| `ParameterNotFound of Types.parameter_not_found
| `ParameterVersionNotFound of Types.parameter_version_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_parameter_request ->
(Types.get_parameter_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidKeyId of Types.invalid_key_id
| `ParameterNotFound of Types.parameter_not_found
| `ParameterVersionNotFound of Types.parameter_version_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_parameter_request ->
(Types.get_parameter_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidKeyId of Types.invalid_key_id
| `ParameterNotFound of Types.parameter_not_found
| `ParameterVersionNotFound of Types.parameter_version_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result