Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
A reference to a unique stage identified in the format
{restApiId}/{stage}
.
See: newStageKey
smart constructor.
Instances
ToJSON StageKey Source # | |
Defined in Amazonka.APIGateway.Types.StageKey | |
Generic StageKey Source # | |
Read StageKey Source # | |
Show StageKey Source # | |
NFData StageKey Source # | |
Defined in Amazonka.APIGateway.Types.StageKey | |
Eq StageKey Source # | |
Hashable StageKey Source # | |
Defined in Amazonka.APIGateway.Types.StageKey | |
type Rep StageKey Source # | |
Defined in Amazonka.APIGateway.Types.StageKey type Rep StageKey = D1 ('MetaData "StageKey" "Amazonka.APIGateway.Types.StageKey" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" '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.