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 version.
Synopsis
- data GetSubscriptionDefinitionVersion = GetSubscriptionDefinitionVersion' {}
- newGetSubscriptionDefinitionVersion :: Text -> Text -> GetSubscriptionDefinitionVersion
- getSubscriptionDefinitionVersion_nextToken :: Lens' GetSubscriptionDefinitionVersion (Maybe Text)
- getSubscriptionDefinitionVersion_subscriptionDefinitionId :: Lens' GetSubscriptionDefinitionVersion Text
- getSubscriptionDefinitionVersion_subscriptionDefinitionVersionId :: Lens' GetSubscriptionDefinitionVersion Text
- data GetSubscriptionDefinitionVersionResponse = GetSubscriptionDefinitionVersionResponse' {}
- newGetSubscriptionDefinitionVersionResponse :: Int -> GetSubscriptionDefinitionVersionResponse
- getSubscriptionDefinitionVersionResponse_definition :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe SubscriptionDefinitionVersion)
- getSubscriptionDefinitionVersionResponse_arn :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text)
- getSubscriptionDefinitionVersionResponse_nextToken :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text)
- getSubscriptionDefinitionVersionResponse_creationTimestamp :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text)
- getSubscriptionDefinitionVersionResponse_version :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text)
- getSubscriptionDefinitionVersionResponse_id :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text)
- getSubscriptionDefinitionVersionResponse_httpStatus :: Lens' GetSubscriptionDefinitionVersionResponse Int
Creating a Request
data GetSubscriptionDefinitionVersion Source #
See: newGetSubscriptionDefinitionVersion
smart constructor.
GetSubscriptionDefinitionVersion' | |
|
Instances
newGetSubscriptionDefinitionVersion Source #
:: Text |
|
-> Text |
|
-> GetSubscriptionDefinitionVersion |
Create a value of GetSubscriptionDefinitionVersion
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:nextToken:GetSubscriptionDefinitionVersion'
, getSubscriptionDefinitionVersion_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:subscriptionDefinitionId:GetSubscriptionDefinitionVersion'
, getSubscriptionDefinitionVersion_subscriptionDefinitionId
- The ID of the subscription definition.
$sel:subscriptionDefinitionVersionId:GetSubscriptionDefinitionVersion'
, getSubscriptionDefinitionVersion_subscriptionDefinitionVersionId
- The ID of the subscription definition version. This value maps to the
''Version'' property of the corresponding ''VersionInformation''
object, which is returned by ''ListSubscriptionDefinitionVersions''
requests. If the version is the last one that was associated with a
subscription definition, the value also maps to the
''LatestVersion'' property of the corresponding
''DefinitionInformation'' object.
Request Lenses
getSubscriptionDefinitionVersion_nextToken :: Lens' GetSubscriptionDefinitionVersion (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
getSubscriptionDefinitionVersion_subscriptionDefinitionId :: Lens' GetSubscriptionDefinitionVersion Text Source #
The ID of the subscription definition.
getSubscriptionDefinitionVersion_subscriptionDefinitionVersionId :: Lens' GetSubscriptionDefinitionVersion Text Source #
The ID of the subscription definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListSubscriptionDefinitionVersions'' requests. If the version is the last one that was associated with a subscription definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.
Destructuring the Response
data GetSubscriptionDefinitionVersionResponse Source #
See: newGetSubscriptionDefinitionVersionResponse
smart constructor.
GetSubscriptionDefinitionVersionResponse' | |
|
Instances
newGetSubscriptionDefinitionVersionResponse Source #
Create a value of GetSubscriptionDefinitionVersionResponse
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:definition:GetSubscriptionDefinitionVersionResponse'
, getSubscriptionDefinitionVersionResponse_definition
- Information about the subscription definition version.
$sel:arn:GetSubscriptionDefinitionVersionResponse'
, getSubscriptionDefinitionVersionResponse_arn
- The ARN of the subscription definition version.
$sel:nextToken:GetSubscriptionDefinitionVersion'
, getSubscriptionDefinitionVersionResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:creationTimestamp:GetSubscriptionDefinitionVersionResponse'
, getSubscriptionDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the subscription
definition version was created.
$sel:version:GetSubscriptionDefinitionVersionResponse'
, getSubscriptionDefinitionVersionResponse_version
- The version of the subscription definition version.
$sel:id:GetSubscriptionDefinitionVersionResponse'
, getSubscriptionDefinitionVersionResponse_id
- The ID of the subscription definition version.
$sel:httpStatus:GetSubscriptionDefinitionVersionResponse'
, getSubscriptionDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getSubscriptionDefinitionVersionResponse_definition :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe SubscriptionDefinitionVersion) Source #
Information about the subscription definition version.
getSubscriptionDefinitionVersionResponse_arn :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text) Source #
The ARN of the subscription definition version.
getSubscriptionDefinitionVersionResponse_nextToken :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
getSubscriptionDefinitionVersionResponse_creationTimestamp :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the subscription definition version was created.
getSubscriptionDefinitionVersionResponse_version :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text) Source #
The version of the subscription definition version.
getSubscriptionDefinitionVersionResponse_id :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text) Source #
The ID of the subscription definition version.
getSubscriptionDefinitionVersionResponse_httpStatus :: Lens' GetSubscriptionDefinitionVersionResponse Int Source #
The response's http status code.