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 |
Documentation
Describes an action to publish data to an Amazon SQS queue.
See: newSqsAction
smart constructor.
Instances
FromJSON SqsAction Source # | |
ToJSON SqsAction Source # | |
Defined in Amazonka.IoT.Types.SqsAction | |
Generic SqsAction Source # | |
Read SqsAction Source # | |
Show SqsAction Source # | |
NFData SqsAction Source # | |
Defined in Amazonka.IoT.Types.SqsAction | |
Eq SqsAction Source # | |
Hashable SqsAction Source # | |
Defined in Amazonka.IoT.Types.SqsAction | |
type Rep SqsAction Source # | |
Defined in Amazonka.IoT.Types.SqsAction type Rep SqsAction = D1 ('MetaData "SqsAction" "Amazonka.IoT.Types.SqsAction" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "SqsAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "useBase64") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of SqsAction
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:useBase64:SqsAction'
, sqsAction_useBase64
- Specifies whether to use Base64 encoding.
$sel:roleArn:SqsAction'
, sqsAction_roleArn
- The ARN of the IAM role that grants access.
$sel:queueUrl:SqsAction'
, sqsAction_queueUrl
- The URL of the Amazon SQS queue.