libZSservicesZSamazonka-gameliftZSamazonka-gamelift
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.GameLift.DescribeScript

Description

Retrieves properties for a Realtime script.

To request a script record, specify the script ID. If successful, an object containing the script properties is returned.

Learn more

Amazon GameLift Realtime Servers

Related actions

CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript | All APIs by task

Synopsis

Creating a Request

data DescribeScript Source #

See: newDescribeScript smart constructor.

Constructors

DescribeScript' 

Fields

  • scriptId :: Text

    A unique identifier for the Realtime script to retrieve properties for. You can use either the script ID or ARN value.

Instances

Instances details
Eq DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Read DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Show DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Generic DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Associated Types

type Rep DescribeScript :: Type -> Type #

NFData DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Methods

rnf :: DescribeScript -> () #

Hashable DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

ToJSON DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

AWSRequest DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Associated Types

type AWSResponse DescribeScript #

ToHeaders DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

ToPath DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

ToQuery DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

type Rep DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

type Rep DescribeScript = D1 ('MetaData "DescribeScript" "Amazonka.GameLift.DescribeScript" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "DescribeScript'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scriptId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeScript Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

newDescribeScript Source #

Create a value of DescribeScript 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:scriptId:DescribeScript', describeScript_scriptId - A unique identifier for the Realtime script to retrieve properties for. You can use either the script ID or ARN value.

Request Lenses

describeScript_scriptId :: Lens' DescribeScript Text Source #

A unique identifier for the Realtime script to retrieve properties for. You can use either the script ID or ARN value.

Destructuring the Response

data DescribeScriptResponse Source #

See: newDescribeScriptResponse smart constructor.

Constructors

DescribeScriptResponse' 

Fields

Instances

Instances details
Eq DescribeScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Read DescribeScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Show DescribeScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Generic DescribeScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Associated Types

type Rep DescribeScriptResponse :: Type -> Type #

NFData DescribeScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

Methods

rnf :: DescribeScriptResponse -> () #

type Rep DescribeScriptResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeScript

type Rep DescribeScriptResponse = D1 ('MetaData "DescribeScriptResponse" "Amazonka.GameLift.DescribeScript" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "DescribeScriptResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "script") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Script)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeScriptResponse Source #

Create a value of DescribeScriptResponse 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:script:DescribeScriptResponse', describeScriptResponse_script - A set of properties describing the requested script.

$sel:httpStatus:DescribeScriptResponse', describeScriptResponse_httpStatus - The response's http status code.

Response Lenses

describeScriptResponse_script :: Lens' DescribeScriptResponse (Maybe Script) Source #

A set of properties describing the requested script.