Smaws_Client_Lightsail.UpdateInstanceMetadataOptions
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.
val request :
Smaws_Lib.Context.t ->
Types.update_instance_metadata_options_request ->
(Types.update_instance_metadata_options_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AccountSetupInProgressException of
Types.account_setup_in_progress_exception
| `InvalidInputException of Types.invalid_input_exception
| `NotFoundException of Types.not_found_exception
| `OperationFailureException of Types.operation_failure_exception
| `ServiceException of Types.service_exception
| `UnauthenticatedException of Types.unauthenticated_exception ])
Stdlib.result