| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.GetSubscriptionDefinition
Description
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_arn :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_creationTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_id :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_lastUpdatedTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_latestVersion :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_latestVersionArn :: Lens' GetSubscriptionDefinitionResponse (Maybe Text)
- getSubscriptionDefinitionResponse_name :: 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.
Constructors
| GetSubscriptionDefinition' | |
Fields
| |
Instances
newGetSubscriptionDefinition Source #
Arguments
| :: Text | |
| -> GetSubscriptionDefinition |
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.
Constructors
| GetSubscriptionDefinitionResponse' | |
Fields
| |
Instances
newGetSubscriptionDefinitionResponse Source #
Arguments
| :: Int | |
| -> GetSubscriptionDefinitionResponse |
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:
GetSubscriptionDefinitionResponse, getSubscriptionDefinitionResponse_arn - The ARN of the definition.
GetSubscriptionDefinitionResponse, getSubscriptionDefinitionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the definition was
created.
GetSubscriptionDefinitionResponse, getSubscriptionDefinitionResponse_id - The ID of the definition.
GetSubscriptionDefinitionResponse, getSubscriptionDefinitionResponse_lastUpdatedTimestamp - The time, in milliseconds since the epoch, when the definition was last
updated.
GetSubscriptionDefinitionResponse, getSubscriptionDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.
GetSubscriptionDefinitionResponse, getSubscriptionDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.
GetSubscriptionDefinitionResponse, getSubscriptionDefinitionResponse_name - The name of the definition.
GetSubscriptionDefinitionResponse, getSubscriptionDefinitionResponse_tags - Tag(s) attached to the resource arn.
$sel:httpStatus:GetSubscriptionDefinitionResponse', getSubscriptionDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
getSubscriptionDefinitionResponse_arn :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The ARN 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_lastUpdatedTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
getSubscriptionDefinitionResponse_latestVersion :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getSubscriptionDefinitionResponse_latestVersionArn :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getSubscriptionDefinitionResponse_name :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #
The name of the definition.
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.