Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data KeyPair = KeyPair' {
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- fingerprint :: Maybe Text
- location :: Maybe ResourceLocation
- name :: Maybe Text
- resourceType :: Maybe ResourceType
- supportCode :: Maybe Text
- tags :: Maybe [Tag]
- newKeyPair :: KeyPair
- keyPair_arn :: Lens' KeyPair (Maybe Text)
- keyPair_createdAt :: Lens' KeyPair (Maybe UTCTime)
- keyPair_fingerprint :: Lens' KeyPair (Maybe Text)
- keyPair_location :: Lens' KeyPair (Maybe ResourceLocation)
- keyPair_name :: Lens' KeyPair (Maybe Text)
- keyPair_resourceType :: Lens' KeyPair (Maybe ResourceType)
- keyPair_supportCode :: Lens' KeyPair (Maybe Text)
- keyPair_tags :: Lens' KeyPair (Maybe [Tag])
Documentation
Describes an SSH key pair.
See: newKeyPair
smart constructor.
KeyPair' | |
|
Instances
newKeyPair :: KeyPair Source #
Create a value of KeyPair
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:KeyPair'
, keyPair_arn
- The Amazon Resource Name (ARN) of the key pair (e.g.,
arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE
).
$sel:createdAt:KeyPair'
, keyPair_createdAt
- The timestamp when the key pair was created (e.g., 1479816991.349
).
$sel:fingerprint:KeyPair'
, keyPair_fingerprint
- The RSA fingerprint of the key pair.
$sel:location:KeyPair'
, keyPair_location
- The region name and Availability Zone where the key pair was created.
$sel:name:KeyPair'
, keyPair_name
- The friendly name of the SSH key pair.
$sel:resourceType:KeyPair'
, keyPair_resourceType
- The resource type (usually KeyPair
).
$sel:supportCode:KeyPair'
, keyPair_supportCode
- The support code. Include this code in your email to support when you
have questions about an instance or another resource in Lightsail. This
code enables our support team to look up your Lightsail information more
easily.
$sel:tags:KeyPair'
, keyPair_tags
- The tag keys and optional values for the resource. For more information
about tags in Lightsail, see the
Amazon Lightsail Developer Guide.
keyPair_arn :: Lens' KeyPair (Maybe Text) Source #
The Amazon Resource Name (ARN) of the key pair (e.g.,
arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE
).
keyPair_createdAt :: Lens' KeyPair (Maybe UTCTime) Source #
The timestamp when the key pair was created (e.g., 1479816991.349
).
keyPair_location :: Lens' KeyPair (Maybe ResourceLocation) Source #
The region name and Availability Zone where the key pair was created.
keyPair_resourceType :: Lens' KeyPair (Maybe ResourceType) Source #
The resource type (usually KeyPair
).
keyPair_supportCode :: Lens' KeyPair (Maybe Text) Source #
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
keyPair_tags :: Lens' KeyPair (Maybe [Tag]) Source #
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.