| 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.IoTWireless.UpdateDestination
Description
Updates properties of a destination.
Synopsis
- data UpdateDestination = UpdateDestination' {
- description :: Maybe Text
- expression :: Maybe Text
- expressionType :: Maybe ExpressionType
- roleArn :: Maybe Text
- name :: Text
- newUpdateDestination :: Text -> UpdateDestination
- updateDestination_description :: Lens' UpdateDestination (Maybe Text)
- updateDestination_expression :: Lens' UpdateDestination (Maybe Text)
- updateDestination_expressionType :: Lens' UpdateDestination (Maybe ExpressionType)
- updateDestination_roleArn :: Lens' UpdateDestination (Maybe Text)
- updateDestination_name :: Lens' UpdateDestination Text
- data UpdateDestinationResponse = UpdateDestinationResponse' {
- httpStatus :: Int
- newUpdateDestinationResponse :: Int -> UpdateDestinationResponse
- updateDestinationResponse_httpStatus :: Lens' UpdateDestinationResponse Int
Creating a Request
data UpdateDestination Source #
See: newUpdateDestination smart constructor.
Constructors
| UpdateDestination' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateDestination |
Create a value of UpdateDestination 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:
UpdateDestination, updateDestination_description - A new description of the resource.
UpdateDestination, updateDestination_expression - The new rule name or topic rule to send messages to.
UpdateDestination, updateDestination_expressionType - The type of value in Expression.
UpdateDestination, updateDestination_roleArn - The ARN of the IAM Role that authorizes the destination.
UpdateDestination, updateDestination_name - The new name of the resource.
Request Lenses
updateDestination_description :: Lens' UpdateDestination (Maybe Text) Source #
A new description of the resource.
updateDestination_expression :: Lens' UpdateDestination (Maybe Text) Source #
The new rule name or topic rule to send messages to.
updateDestination_expressionType :: Lens' UpdateDestination (Maybe ExpressionType) Source #
The type of value in Expression.
updateDestination_roleArn :: Lens' UpdateDestination (Maybe Text) Source #
The ARN of the IAM Role that authorizes the destination.
updateDestination_name :: Lens' UpdateDestination Text Source #
The new name of the resource.
Destructuring the Response
data UpdateDestinationResponse Source #
See: newUpdateDestinationResponse smart constructor.
Constructors
| UpdateDestinationResponse' | |
Fields
| |
Instances
newUpdateDestinationResponse Source #
Create a value of UpdateDestinationResponse 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:httpStatus:UpdateDestinationResponse', updateDestinationResponse_httpStatus - The response's http status code.
Response Lenses
updateDestinationResponse_httpStatus :: Lens' UpdateDestinationResponse Int Source #
The response's http status code.