libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
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.APIGateway.Types.StageKey

Description

 
Synopsis

Documentation

data StageKey Source #

A reference to a unique stage identified in the format {restApiId}/{stage}.

See: newStageKey smart constructor.

Constructors

StageKey' 

Fields

Instances

Instances details
Eq StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Read StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Show StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Generic StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Associated Types

type Rep StageKey :: Type -> Type #

Methods

from :: StageKey -> Rep StageKey x #

to :: Rep StageKey x -> StageKey #

NFData StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Methods

rnf :: StageKey -> () #

Hashable StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Methods

hashWithSalt :: Int -> StageKey -> Int #

hash :: StageKey -> Int #

ToJSON StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

type Rep StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

type Rep StageKey = D1 ('MetaData "StageKey" "Amazonka.APIGateway.Types.StageKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "StageKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newStageKey :: StageKey Source #

Create a value of StageKey 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:restApiId:StageKey', stageKey_restApiId - The string identifier of the associated RestApi.

$sel:stageName:StageKey', stageKey_stageName - The stage name associated with the stage key.

stageKey_restApiId :: Lens' StageKey (Maybe Text) Source #

The string identifier of the associated RestApi.

stageKey_stageName :: Lens' StageKey (Maybe Text) Source #

The stage name associated with the stage key.