amazonka-migrationhubstrategy-2.0: Amazon Migration Hub Strategy Recommendations SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MigrationHubStrategy.GetServerDetails

Description

Retrieves detailed information about a specified server.

This operation returns paginated results.

Synopsis

Creating a Request

data GetServerDetails Source #

See: newGetServerDetails smart constructor.

Constructors

GetServerDetails' 

Fields

  • maxResults :: Maybe Int

    The maximum number of items to include in the response. The maximum value is 100.

  • nextToken :: Maybe Text

    The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

  • serverId :: Text

    The ID of the server.

Instances

Instances details
ToHeaders GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

ToPath GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

ToQuery GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

AWSPager GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

AWSRequest GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

Associated Types

type AWSResponse GetServerDetails #

Generic GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

Associated Types

type Rep GetServerDetails :: Type -> Type #

Read GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

Show GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

NFData GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

Methods

rnf :: GetServerDetails -> () #

Eq GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

Hashable GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

type AWSResponse GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

type Rep GetServerDetails Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

type Rep GetServerDetails = D1 ('MetaData "GetServerDetails" "Amazonka.MigrationHubStrategy.GetServerDetails" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "GetServerDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serverId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetServerDetails Source #

Create a value of GetServerDetails 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:maxResults:GetServerDetails', getServerDetails_maxResults - The maximum number of items to include in the response. The maximum value is 100.

GetServerDetails, getServerDetails_nextToken - The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

$sel:serverId:GetServerDetails', getServerDetails_serverId - The ID of the server.

Request Lenses

getServerDetails_maxResults :: Lens' GetServerDetails (Maybe Int) Source #

The maximum number of items to include in the response. The maximum value is 100.

getServerDetails_nextToken :: Lens' GetServerDetails (Maybe Text) Source #

The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

Destructuring the Response

data GetServerDetailsResponse Source #

See: newGetServerDetailsResponse smart constructor.

Constructors

GetServerDetailsResponse' 

Fields

Instances

Instances details
Generic GetServerDetailsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

Associated Types

type Rep GetServerDetailsResponse :: Type -> Type #

Read GetServerDetailsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

Show GetServerDetailsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

NFData GetServerDetailsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

Eq GetServerDetailsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

type Rep GetServerDetailsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.GetServerDetails

type Rep GetServerDetailsResponse = D1 ('MetaData "GetServerDetailsResponse" "Amazonka.MigrationHubStrategy.GetServerDetails" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "GetServerDetailsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "associatedApplications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AssociatedApplication])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "serverDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetServerDetailsResponse Source #

Create a value of GetServerDetailsResponse 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:associatedApplications:GetServerDetailsResponse', getServerDetailsResponse_associatedApplications - The associated application group the server belongs to, as defined in AWS Application Discovery Service.

GetServerDetails, getServerDetailsResponse_nextToken - The token you use to retrieve the next set of results, or null if there are no more results.

$sel:serverDetail:GetServerDetailsResponse', getServerDetailsResponse_serverDetail - Detailed information about the server.

$sel:httpStatus:GetServerDetailsResponse', getServerDetailsResponse_httpStatus - The response's http status code.

Response Lenses

getServerDetailsResponse_associatedApplications :: Lens' GetServerDetailsResponse (Maybe [AssociatedApplication]) Source #

The associated application group the server belongs to, as defined in AWS Application Discovery Service.

getServerDetailsResponse_nextToken :: Lens' GetServerDetailsResponse (Maybe Text) Source #

The token you use to retrieve the next set of results, or null if there are no more results.