Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Changes information about a Stage resource.
See: AWS API Reference for UpdateStage.
- updateStage :: Text -> Text -> UpdateStage
- data UpdateStage
- usPatchOperations :: Lens' UpdateStage [PatchOperation]
- usRestAPIId :: Lens' UpdateStage Text
- usStageName :: Lens' UpdateStage Text
- stage :: Stage
- data Stage
- sDeploymentId :: Lens' Stage (Maybe Text)
- sVariables :: Lens' Stage (HashMap Text Text)
- sClientCertificateId :: Lens' Stage (Maybe Text)
- sCreatedDate :: Lens' Stage (Maybe UTCTime)
- sCacheClusterStatus :: Lens' Stage (Maybe CacheClusterStatus)
- sMethodSettings :: Lens' Stage (HashMap Text MethodSetting)
- sLastUpdatedDate :: Lens' Stage (Maybe UTCTime)
- sCacheClusterSize :: Lens' Stage (Maybe CacheClusterSize)
- sCacheClusterEnabled :: Lens' Stage (Maybe Bool)
- sStageName :: Lens' Stage (Maybe Text)
- sDescription :: Lens' Stage (Maybe Text)
Creating a Request
Creates a value of UpdateStage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateStage Source
Requests Amazon API Gateway to change information about a Stage resource.
See: updateStage
smart constructor.
Request Lenses
usPatchOperations :: Lens' UpdateStage [PatchOperation] Source
A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
usRestAPIId :: Lens' UpdateStage Text Source
The identifier of the RestApi resource for the Stage resource to change information about.
usStageName :: Lens' UpdateStage Text Source
The name of the Stage resource to change information about.
Destructuring the Response
Creates a value of Stage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Represents a unique identifier for a version of a deployed RestApi that is callable by users.
See: stage
smart constructor.
Response Lenses
sDeploymentId :: Lens' Stage (Maybe Text) Source
The identifier of the Deployment that the stage points to.
sVariables :: Lens' Stage (HashMap Text Text) Source
A map that defines the stage variables for a Stage resource. Variable names can have alphabetic characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
sCreatedDate :: Lens' Stage (Maybe UTCTime) Source
The date and time that the stage was created, in ISO 8601 format.
sCacheClusterStatus :: Lens' Stage (Maybe CacheClusterStatus) Source
The status of the cache cluster for the stage, if enabled.
sMethodSettings :: Lens' Stage (HashMap Text MethodSetting) Source
A map that defines the method settings for a Stage resource. Keys are
defined as '{resource_path}/{http_method}' for an individual method
override, or \\*\/\\*
for the settings applied to all methods in the
stage.
sLastUpdatedDate :: Lens' Stage (Maybe UTCTime) Source
The date and time that information about the stage was last updated, in ISO 8601 format.
sCacheClusterSize :: Lens' Stage (Maybe CacheClusterSize) Source
The size of the cache cluster for the stage, if enabled.
sCacheClusterEnabled :: Lens' Stage (Maybe Bool) Source
Specifies whether a cache cluster is enabled for the stage.