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 |
Gets information about a Deployment resource.
See: AWS API Reference for GetDeployment.
- getDeployment :: Text -> Text -> GetDeployment
- data GetDeployment
- gRestAPIId :: Lens' GetDeployment Text
- gDeploymentId :: Lens' GetDeployment Text
- deployment :: Deployment
- data Deployment
- dApiSummary :: Lens' Deployment (HashMap Text (HashMap Text MethodSnapshot))
- dCreatedDate :: Lens' Deployment (Maybe UTCTime)
- dId :: Lens' Deployment (Maybe Text)
- dDescription :: Lens' Deployment (Maybe Text)
Creating a Request
Creates a value of GetDeployment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetDeployment Source
Requests Amazon API Gateway to get information about a Deployment resource.
See: getDeployment
smart constructor.
Request Lenses
gRestAPIId :: Lens' GetDeployment Text Source
The identifier of the RestApi resource for the Deployment resource to get information about.
gDeploymentId :: Lens' GetDeployment Text Source
The identifier of the Deployment resource to get information about.
Destructuring the Response
deployment :: Deployment Source
Creates a value of Deployment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data Deployment Source
An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.
See: deployment
smart constructor.
Response Lenses
dApiSummary :: Lens' Deployment (HashMap Text (HashMap Text MethodSnapshot)) Source
Gets a summary of the RestApi at the date and time that the deployment resource was created.
dCreatedDate :: Lens' Deployment (Maybe UTCTime) Source
The date and time that the deployment resource was created.
dDescription :: Lens' Deployment (Maybe Text) Source
The description for the deployment resource.