Module Values.CreateKeyPairResultSource

Creates a custom SSH key pair that you can use with an Amazon Lightsail instance. Use the DownloadDefaultKeyPair action to create a Lightsail default key pair in an Amazon Web Services Region where a default key pair does not currently exist. The create key pair operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

Sourcetype nonrec t = {
  1. keyPair : KeyPair.t option;
    (*

    An array of key-value pairs containing information about the new key pair you just created.

    *)
  2. publicKeyBase64 : Base64.t option;
    (*

    A base64-encoded public key of the ssh-rsa type.

    *)
  3. privateKeyBase64 : Base64.t option;
    (*

    A base64-encoded RSA private key.

    *)
  4. operation : Operation.t option;
    (*

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `AccountSetupInProgressException of AccountSetupInProgressException.t
  3. | `InvalidInputException of InvalidInputException.t
  4. | `NotFoundException of NotFoundException.t
  5. | `OperationFailureException of OperationFailureException.t
  6. | `RegionSetupInProgressException of RegionSetupInProgressException.t
  7. | `ServiceException of ServiceException.t
  8. | `UnauthenticatedException of UnauthenticatedException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?keyPair:??? -> ?publicKeyBase64:??? -> ?privateKeyBase64:??? -> ?operation:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `AccountSetupInProgressException of AccountSetupInProgressException.t | `InvalidInputException of InvalidInputException.t | `NotFoundException of NotFoundException.t | `OperationFailureException of OperationFailureException.t | `RegionSetupInProgressException of RegionSetupInProgressException.t | `ServiceException of ServiceException.t | `UnauthenticatedException of UnauthenticatedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `AccountSetupInProgressException of AccountSetupInProgressException.t | `InvalidInputException of InvalidInputException.t | `NotFoundException of NotFoundException.t | `OperationFailureException of OperationFailureException.t | `RegionSetupInProgressException of RegionSetupInProgressException.t | `ServiceException of ServiceException.t | `UnauthenticatedException of UnauthenticatedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Base64.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of ResourceName.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of IsoDate.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t