libZSservicesZSamazonka-transferZSamazonka-transfer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Transfer.Types.SshPublicKey

Description

 
Synopsis

Documentation

data SshPublicKey Source #

Provides information about the public Secure Shell (SSH) key that is associated with a user account for the specific file transfer protocol-enabled server (as identified by ServerId). The information returned includes the date the key was imported, the public key contents, and the public key ID. A user can store more than one SSH public key associated with their user name on a specific server.

See: newSshPublicKey smart constructor.

Constructors

SshPublicKey' 

Fields

  • dateImported :: POSIX

    Specifies the date that the public key was added to the user account.

  • sshPublicKeyBody :: Text

    Specifies the content of the SSH public key as specified by the PublicKeyId.

  • sshPublicKeyId :: Text

    Specifies the SshPublicKeyId parameter contains the identifier of the public key.

Instances

Instances details
Eq SshPublicKey Source # 
Instance details

Defined in Amazonka.Transfer.Types.SshPublicKey

Read SshPublicKey Source # 
Instance details

Defined in Amazonka.Transfer.Types.SshPublicKey

Show SshPublicKey Source # 
Instance details

Defined in Amazonka.Transfer.Types.SshPublicKey

Generic SshPublicKey Source # 
Instance details

Defined in Amazonka.Transfer.Types.SshPublicKey

Associated Types

type Rep SshPublicKey :: Type -> Type #

NFData SshPublicKey Source # 
Instance details

Defined in Amazonka.Transfer.Types.SshPublicKey

Methods

rnf :: SshPublicKey -> () #

Hashable SshPublicKey Source # 
Instance details

Defined in Amazonka.Transfer.Types.SshPublicKey

FromJSON SshPublicKey Source # 
Instance details

Defined in Amazonka.Transfer.Types.SshPublicKey

type Rep SshPublicKey Source # 
Instance details

Defined in Amazonka.Transfer.Types.SshPublicKey

type Rep SshPublicKey = D1 ('MetaData "SshPublicKey" "Amazonka.Transfer.Types.SshPublicKey" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "SshPublicKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dateImported") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "sshPublicKeyBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sshPublicKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSshPublicKey Source #

Create a value of SshPublicKey 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:dateImported:SshPublicKey', sshPublicKey_dateImported - Specifies the date that the public key was added to the user account.

$sel:sshPublicKeyBody:SshPublicKey', sshPublicKey_sshPublicKeyBody - Specifies the content of the SSH public key as specified by the PublicKeyId.

$sel:sshPublicKeyId:SshPublicKey', sshPublicKey_sshPublicKeyId - Specifies the SshPublicKeyId parameter contains the identifier of the public key.

sshPublicKey_dateImported :: Lens' SshPublicKey UTCTime Source #

Specifies the date that the public key was added to the user account.

sshPublicKey_sshPublicKeyBody :: Lens' SshPublicKey Text Source #

Specifies the content of the SSH public key as specified by the PublicKeyId.

sshPublicKey_sshPublicKeyId :: Lens' SshPublicKey Text Source #

Specifies the SshPublicKeyId parameter contains the identifier of the public key.