Copyright | (c) 2013-2018 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
- The ID of the subscription definition.
data GetSubscriptionDefinition Source #
See: getSubscriptionDefinition
smart constructor.
Request Lenses
gsdSubscriptionDefinitionId :: Lens' GetSubscriptionDefinition Text Source #
The ID of the subscription definition.
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
- The ARN of the latest version of the definition.gsdrsARN
- The ARN of the definition.gsdrsName
- The name of the definition.gsdrsCreationTimestamp
- The time, in milliseconds since the epoch, when the definition was created.gsdrsId
- The ID of the definition.gsdrsLatestVersion
- The latest version of the definition.gsdrsLastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last updated.gsdrsResponseStatus
- -- | The response status code.
data GetSubscriptionDefinitionResponse Source #
See: getSubscriptionDefinitionResponse
smart constructor.
Response Lenses
gsdrsLatestVersionARN :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The ARN of the latest version of the definition.
gsdrsName :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The name of the definition.
gsdrsCreationTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
gsdrsLatestVersion :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The latest version of the definition.
gsdrsLastUpdatedTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
gsdrsResponseStatus :: Lens' GetSubscriptionDefinitionResponse Int Source #
- - | The response status code.