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 |
Synopsis
- data ApiStage = ApiStage' {}
- newApiStage :: ApiStage
- apiStage_apiId :: Lens' ApiStage (Maybe Text)
- apiStage_stage :: Lens' ApiStage (Maybe Text)
- apiStage_throttle :: Lens' ApiStage (Maybe (HashMap Text ThrottleSettings))
Documentation
API stage name of the associated API stage in a usage plan.
See: newApiStage
smart constructor.
Instances
FromJSON ApiStage Source # | |
ToJSON ApiStage Source # | |
Defined in Amazonka.APIGateway.Types.ApiStage | |
Generic ApiStage Source # | |
Read ApiStage Source # | |
Show ApiStage Source # | |
NFData ApiStage Source # | |
Defined in Amazonka.APIGateway.Types.ApiStage | |
Eq ApiStage Source # | |
Hashable ApiStage Source # | |
Defined in Amazonka.APIGateway.Types.ApiStage | |
type Rep ApiStage Source # | |
Defined in Amazonka.APIGateway.Types.ApiStage type Rep ApiStage = D1 ('MetaData "ApiStage" "Amazonka.APIGateway.Types.ApiStage" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "ApiStage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "throttle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ThrottleSettings)))))) |
newApiStage :: ApiStage Source #
Create a value of ApiStage
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:apiId:ApiStage'
, apiStage_apiId
- API Id of the associated API stage in a usage plan.
$sel:stage:ApiStage'
, apiStage_stage
- API stage name of the associated API stage in a usage plan.
$sel:throttle:ApiStage'
, apiStage_throttle
- Map containing method level throttling information for API stage in a
usage plan.
apiStage_apiId :: Lens' ApiStage (Maybe Text) Source #
API Id of the associated API stage in a usage plan.
apiStage_stage :: Lens' ApiStage (Maybe Text) Source #
API stage name of the associated API stage in a usage plan.
apiStage_throttle :: Lens' ApiStage (Maybe (HashMap Text ThrottleSettings)) Source #
Map containing method level throttling information for API stage in a usage plan.