Smaws_Client_Lightsail.UpdateInstanceMetadataOptions
val request :
Smaws_Lib.Context.t ->
update_instance_metadata_options_request ->
(update_instance_metadata_options_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of access_denied_exception
| `AccountSetupInProgressException of account_setup_in_progress_exception
| `InvalidInputException of invalid_input_exception
| `NotFoundException of not_found_exception
| `OperationFailureException of operation_failure_exception
| `ServiceException of service_exception
| `UnauthenticatedException of unauthenticated_exception ])
Stdlib.result
Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance. When you modify the parameters on a running instance, the GetInstance
or GetInstances
API operation initially responds with a state of pending
. After the parameter modifications are successfully applied, the state changes to applied
in subsequent GetInstance
or GetInstances
API calls. For more information, see Use IMDSv2 with an Amazon Lightsail instance in the Amazon Lightsail Developer Guide.