| 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.Types.Subscription
Description
Synopsis
Documentation
data Subscription Source #
Information about a subscription.
See: newSubscription smart constructor.
Constructors
| Subscription' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> Subscription |
Create a value of Subscription 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:target:Subscription', subscription_target - Where the message is sent to. Can be a thing ARN, a Lambda function ARN,
a connector ARN, 'cloud' (which represents the AWS IoT cloud), or
'GGShadowService'.
$sel:id:Subscription', subscription_id - A descriptive or arbitrary ID for the subscription. This value must be
unique within the subscription definition version. Max length is 128
characters with pattern ''[a-zA-Z0-9:_-]+''.
$sel:subject:Subscription', subscription_subject - The MQTT topic used to route the message.
$sel:source:Subscription', subscription_source - The source of the subscription. Can be a thing ARN, a Lambda function
ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or
'GGShadowService'.
subscription_target :: Lens' Subscription Text Source #
Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.
subscription_id :: Lens' Subscription Text Source #
A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
subscription_subject :: Lens' Subscription Text Source #
The MQTT topic used to route the message.
subscription_source :: Lens' Subscription Text Source #
The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.