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 |
Updates properties of a destination.
Synopsis
- data UpdateDestination = UpdateDestination' {
- expressionType :: Maybe ExpressionType
- expression :: Maybe Text
- description :: Maybe Text
- roleArn :: Maybe Text
- name :: Text
- newUpdateDestination :: Text -> UpdateDestination
- updateDestination_expressionType :: Lens' UpdateDestination (Maybe ExpressionType)
- updateDestination_expression :: Lens' UpdateDestination (Maybe Text)
- updateDestination_description :: Lens' UpdateDestination (Maybe Text)
- 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.
UpdateDestination' | |
|
Instances
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:
$sel:expressionType:UpdateDestination'
, updateDestination_expressionType
- The type of value in Expression
.
$sel:expression:UpdateDestination'
, updateDestination_expression
- The new rule name or topic rule to send messages to.
$sel:description:UpdateDestination'
, updateDestination_description
- A new description of the resource.
$sel:roleArn:UpdateDestination'
, updateDestination_roleArn
- The ARN of the IAM Role that authorizes the destination.
$sel:name:UpdateDestination'
, updateDestination_name
- The new name of the resource.
Request Lenses
updateDestination_expressionType :: Lens' UpdateDestination (Maybe ExpressionType) Source #
The type of value in Expression
.
updateDestination_expression :: Lens' UpdateDestination (Maybe Text) Source #
The new rule name or topic rule to send messages to.
updateDestination_description :: Lens' UpdateDestination (Maybe Text) Source #
A new description of the resource.
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.
UpdateDestinationResponse' | |
|
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.