Copyright | (c) 2013-2021 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 |
Retrieves information about a subscription definition.
Synopsis
- data GetSubscriptionDefinition = GetSubscriptionDefinition' {}
- newGetSubscriptionDefinition :: Text -> GetSubscriptionDefinition
- getSubscriptionDefinition_subscriptionDefinitionId :: Lens' GetSubscriptionDefinition Text
- data GetSubscriptionDefinitionResponse = GetSubscriptionDefinitionResponse' {}
- newGetSubscriptionDefinitionResponse :: Int -> GetSubscriptionDefinitionResponse
- getSubscriptionDefinitionResponse_latestVersionArn :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_arn :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_name :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_creationTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_id :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_latestVersion :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_lastUpdatedTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_tags :: Lens' GetSubscriptionDefinitionResponse (Maybe (HashMap Text Text))
- getSubscriptionDefinitionResponse_httpStatus :: Lens' GetSubscriptionDefinitionResponse Int
Creating a Request
data GetSubscriptionDefinition Source #
See: newGetSubscriptionDefinition
smart constructor.
GetSubscriptionDefinition' | |
|
Instances
newGetSubscriptionDefinition Source #
Create a value of GetSubscriptionDefinition
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:subscriptionDefinitionId:GetSubscriptionDefinition'
, getSubscriptionDefinition_subscriptionDefinitionId
- The ID of the subscription definition.
Request Lenses
getSubscriptionDefinition_subscriptionDefinitionId :: Lens' GetSubscriptionDefinition Text Source #
The ID of the subscription definition.
Destructuring the Response
data GetSubscriptionDefinitionResponse Source #
See: newGetSubscriptionDefinitionResponse
smart constructor.
GetSubscriptionDefinitionResponse' | |
|
Instances
newGetSubscriptionDefinitionResponse Source #
Create a value of GetSubscriptionDefinitionResponse
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:latestVersionArn:GetSubscriptionDefinitionResponse'
, getSubscriptionDefinitionResponse_latestVersionArn
- The ARN of the latest version associated with the definition.
$sel:arn:GetSubscriptionDefinitionResponse'
, getSubscriptionDefinitionResponse_arn
- The ARN of the definition.
$sel:name:GetSubscriptionDefinitionResponse'
, getSubscriptionDefinitionResponse_name
- The name of the definition.
$sel:creationTimestamp:GetSubscriptionDefinitionResponse'
, getSubscriptionDefinitionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the definition was
created.
$sel:id:GetSubscriptionDefinitionResponse'
, getSubscriptionDefinitionResponse_id
- The ID of the definition.
$sel:latestVersion:GetSubscriptionDefinitionResponse'
, getSubscriptionDefinitionResponse_latestVersion
- The ID of the latest version associated with the definition.
$sel:lastUpdatedTimestamp:GetSubscriptionDefinitionResponse'
, getSubscriptionDefinitionResponse_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last
updated.
$sel:tags:GetSubscriptionDefinitionResponse'
, getSubscriptionDefinitionResponse_tags
- Tag(s) attached to the resource arn.
$sel:httpStatus:GetSubscriptionDefinitionResponse'
, getSubscriptionDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
getSubscriptionDefinitionResponse_latestVersionArn :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getSubscriptionDefinitionResponse_arn :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The ARN of the definition.
getSubscriptionDefinitionResponse_name :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The name of the definition.
getSubscriptionDefinitionResponse_creationTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
getSubscriptionDefinitionResponse_id :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The ID of the definition.
getSubscriptionDefinitionResponse_latestVersion :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getSubscriptionDefinitionResponse_lastUpdatedTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
getSubscriptionDefinitionResponse_tags :: Lens' GetSubscriptionDefinitionResponse (Maybe (HashMap Text Text)) Source #
Tag(s) attached to the resource arn.
getSubscriptionDefinitionResponse_httpStatus :: Lens' GetSubscriptionDefinitionResponse Int Source #
The response's http status code.