Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves information about a subscription definition.
- getSubscriptionDefinition :: Text -> GetSubscriptionDefinition
- data GetSubscriptionDefinition
- gsdSubscriptionDefinitionId :: Lens' GetSubscriptionDefinition Text
- getSubscriptionDefinitionResponse :: Int -> GetSubscriptionDefinitionResponse
- data GetSubscriptionDefinitionResponse
- gsdrsLatestVersionARN :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- gsdrsARN :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- gsdrsName :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- gsdrsCreationTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- gsdrsId :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- gsdrsLatestVersion :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- gsdrsLastUpdatedTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- gsdrsResponseStatus :: Lens' GetSubscriptionDefinitionResponse Int
Creating a Request
getSubscriptionDefinition Source #
Creates a value of GetSubscriptionDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsdSubscriptionDefinitionId
- subscription definition Id
data GetSubscriptionDefinition Source #
See: getSubscriptionDefinition
smart constructor.
Request Lenses
gsdSubscriptionDefinitionId :: Lens' GetSubscriptionDefinition Text Source #
subscription definition Id
Destructuring the Response
getSubscriptionDefinitionResponse Source #
Creates a value of GetSubscriptionDefinitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsdrsLatestVersionARN
- Latest version arn of the definition.gsdrsARN
- Arn of the definition.gsdrsName
- Name of the definition.gsdrsCreationTimestamp
- Timestamp of when the definition was created.gsdrsId
- Id of the definition.gsdrsLatestVersion
- Last version of the definition.gsdrsLastUpdatedTimestamp
- Last updated timestamp of the definition.gsdrsResponseStatus
- -- | The response status code.
data GetSubscriptionDefinitionResponse Source #
See: getSubscriptionDefinitionResponse
smart constructor.
Response Lenses
gsdrsLatestVersionARN :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
Latest version arn of the definition.
gsdrsCreationTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
Timestamp of when the definition was created.
gsdrsLatestVersion :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
Last version of the definition.
gsdrsLastUpdatedTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
Last updated timestamp of the definition.
gsdrsResponseStatus :: Lens' GetSubscriptionDefinitionResponse Int Source #
- - | The response status code.