libZSservicesZSamazonka-smsZSamazonka-sms
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.SMS.GetServers

Description

Describes the servers in your server catalog.

Before you can describe your servers, you must import them using ImportServerCatalog.

This operation returns paginated results.

Synopsis

Creating a Request

data GetServers Source #

See: newGetServers smart constructor.

Constructors

GetServers' 

Fields

Instances

Instances details
Eq GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Read GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Show GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Generic GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Associated Types

type Rep GetServers :: Type -> Type #

NFData GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Methods

rnf :: GetServers -> () #

Hashable GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

ToJSON GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

AWSPager GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

AWSRequest GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Associated Types

type AWSResponse GetServers #

ToHeaders GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Methods

toHeaders :: GetServers -> [Header] #

ToPath GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

ToQuery GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

type Rep GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

type Rep GetServers = D1 ('MetaData "GetServers" "Amazonka.SMS.GetServers" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "GetServers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "vmServerAddressList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VmServerAddress])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse GetServers Source # 
Instance details

Defined in Amazonka.SMS.GetServers

newGetServers :: GetServers Source #

Create a value of GetServers 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:vmServerAddressList:GetServers', getServers_vmServerAddressList - The server addresses.

$sel:nextToken:GetServers', getServers_nextToken - The token for the next set of results.

$sel:maxResults:GetServers', getServers_maxResults - The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.

Request Lenses

getServers_nextToken :: Lens' GetServers (Maybe Text) Source #

The token for the next set of results.

getServers_maxResults :: Lens' GetServers (Maybe Int) Source #

The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.

Destructuring the Response

data GetServersResponse Source #

See: newGetServersResponse smart constructor.

Constructors

GetServersResponse' 

Fields

Instances

Instances details
Eq GetServersResponse Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Read GetServersResponse Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Show GetServersResponse Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Generic GetServersResponse Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Associated Types

type Rep GetServersResponse :: Type -> Type #

NFData GetServersResponse Source # 
Instance details

Defined in Amazonka.SMS.GetServers

Methods

rnf :: GetServersResponse -> () #

type Rep GetServersResponse Source # 
Instance details

Defined in Amazonka.SMS.GetServers

type Rep GetServersResponse = D1 ('MetaData "GetServersResponse" "Amazonka.SMS.GetServers" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "GetServersResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "serverCatalogStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerCatalogStatus)) :*: S1 ('MetaSel ('Just "lastModifiedOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serverList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Server])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetServersResponse Source #

Create a value of GetServersResponse 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:serverCatalogStatus:GetServersResponse', getServersResponse_serverCatalogStatus - The status of the server catalog.

$sel:lastModifiedOn:GetServersResponse', getServersResponse_lastModifiedOn - The time when the server was last modified.

$sel:nextToken:GetServers', getServersResponse_nextToken - The token required to retrieve the next set of results. This value is null when there are no more results to return.

$sel:serverList:GetServersResponse', getServersResponse_serverList - Information about the servers.

$sel:httpStatus:GetServersResponse', getServersResponse_httpStatus - The response's http status code.

Response Lenses

getServersResponse_lastModifiedOn :: Lens' GetServersResponse (Maybe UTCTime) Source #

The time when the server was last modified.

getServersResponse_nextToken :: Lens' GetServersResponse (Maybe Text) Source #

The token required to retrieve the next set of results. This value is null when there are no more results to return.