Values.CreateKeyPairResultSourceCreates 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.
type nonrec t = {keyPair : KeyPair.t option;An array of key-value pairs containing information about the new key pair you just created.
*)publicKeyBase64 : Base64.t option;A base64-encoded public key of the ssh-rsa type.
*)privateKeyBase64 : Base64.t option;A base64-encoded RSA private key.
*)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.
*)}type nonrec error = [ | `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 ]val 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 ]val 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 ]val 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 ]