libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.GetInstanceAccessDetails

Description

Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.

The get instance access details operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data GetInstanceAccessDetails Source #

See: newGetInstanceAccessDetails smart constructor.

Constructors

GetInstanceAccessDetails' 

Fields

Instances

Instances details
Eq GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

Read GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

Show GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

Generic GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

Associated Types

type Rep GetInstanceAccessDetails :: Type -> Type #

NFData GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

Hashable GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

ToJSON GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

AWSRequest GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

ToHeaders GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

ToPath GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

ToQuery GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

type Rep GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

type Rep GetInstanceAccessDetails = D1 ('MetaData "GetInstanceAccessDetails" "Amazonka.Lightsail.GetInstanceAccessDetails" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetInstanceAccessDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceAccessProtocol)) :*: S1 ('MetaSel ('Just "instanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetInstanceAccessDetails Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

newGetInstanceAccessDetails Source #

Create a value of GetInstanceAccessDetails 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:protocol:GetInstanceAccessDetails', getInstanceAccessDetails_protocol - The protocol to use to connect to your instance. Defaults to ssh.

$sel:instanceName:GetInstanceAccessDetails', getInstanceAccessDetails_instanceName - The name of the instance to access.

Request Lenses

getInstanceAccessDetails_protocol :: Lens' GetInstanceAccessDetails (Maybe InstanceAccessProtocol) Source #

The protocol to use to connect to your instance. Defaults to ssh.

Destructuring the Response

data GetInstanceAccessDetailsResponse Source #

See: newGetInstanceAccessDetailsResponse smart constructor.

Constructors

GetInstanceAccessDetailsResponse' 

Fields

Instances

Instances details
Eq GetInstanceAccessDetailsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

Read GetInstanceAccessDetailsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

Show GetInstanceAccessDetailsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

Generic GetInstanceAccessDetailsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

Associated Types

type Rep GetInstanceAccessDetailsResponse :: Type -> Type #

NFData GetInstanceAccessDetailsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

type Rep GetInstanceAccessDetailsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceAccessDetails

type Rep GetInstanceAccessDetailsResponse = D1 ('MetaData "GetInstanceAccessDetailsResponse" "Amazonka.Lightsail.GetInstanceAccessDetails" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetInstanceAccessDetailsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accessDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceAccessDetails)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetInstanceAccessDetailsResponse Source #

Create a value of GetInstanceAccessDetailsResponse 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:accessDetails:GetInstanceAccessDetailsResponse', getInstanceAccessDetailsResponse_accessDetails - An array of key-value pairs containing information about a get instance access request.

$sel:httpStatus:GetInstanceAccessDetailsResponse', getInstanceAccessDetailsResponse_httpStatus - The response's http status code.

Response Lenses

getInstanceAccessDetailsResponse_accessDetails :: Lens' GetInstanceAccessDetailsResponse (Maybe InstanceAccessDetails) Source #

An array of key-value pairs containing information about a get instance access request.