| 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.GetDestination
Description
Gets information about a destination.
Synopsis
- data GetDestination = GetDestination' {}
- newGetDestination :: Text -> GetDestination
- getDestination_name :: Lens' GetDestination Text
- data GetDestinationResponse = GetDestinationResponse' {
- arn :: Maybe Text
- description :: Maybe Text
- expression :: Maybe Text
- expressionType :: Maybe ExpressionType
- name :: Maybe Text
- roleArn :: Maybe Text
- httpStatus :: Int
- newGetDestinationResponse :: Int -> GetDestinationResponse
- getDestinationResponse_arn :: Lens' GetDestinationResponse (Maybe Text)
- getDestinationResponse_description :: Lens' GetDestinationResponse (Maybe Text)
- getDestinationResponse_expression :: Lens' GetDestinationResponse (Maybe Text)
- getDestinationResponse_expressionType :: Lens' GetDestinationResponse (Maybe ExpressionType)
- getDestinationResponse_name :: Lens' GetDestinationResponse (Maybe Text)
- getDestinationResponse_roleArn :: Lens' GetDestinationResponse (Maybe Text)
- getDestinationResponse_httpStatus :: Lens' GetDestinationResponse Int
Creating a Request
data GetDestination Source #
See: newGetDestination smart constructor.
Constructors
| GetDestination' | |
Instances
Arguments
| :: Text | |
| -> GetDestination |
Create a value of GetDestination 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:
GetDestination, getDestination_name - The name of the resource to get.
Request Lenses
getDestination_name :: Lens' GetDestination Text Source #
The name of the resource to get.
Destructuring the Response
data GetDestinationResponse Source #
See: newGetDestinationResponse smart constructor.
Constructors
| GetDestinationResponse' | |
Fields
| |
Instances
newGetDestinationResponse Source #
Create a value of GetDestinationResponse 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:
GetDestinationResponse, getDestinationResponse_arn - The Amazon Resource Name of the resource.
GetDestinationResponse, getDestinationResponse_description - The description of the resource.
GetDestinationResponse, getDestinationResponse_expression - The rule name or topic rule to send messages to.
GetDestinationResponse, getDestinationResponse_expressionType - The type of value in Expression.
GetDestination, getDestinationResponse_name - The name of the resource.
GetDestinationResponse, getDestinationResponse_roleArn - The ARN of the IAM Role that authorizes the destination.
$sel:httpStatus:GetDestinationResponse', getDestinationResponse_httpStatus - The response's http status code.
Response Lenses
getDestinationResponse_arn :: Lens' GetDestinationResponse (Maybe Text) Source #
The Amazon Resource Name of the resource.
getDestinationResponse_description :: Lens' GetDestinationResponse (Maybe Text) Source #
The description of the resource.
getDestinationResponse_expression :: Lens' GetDestinationResponse (Maybe Text) Source #
The rule name or topic rule to send messages to.
getDestinationResponse_expressionType :: Lens' GetDestinationResponse (Maybe ExpressionType) Source #
The type of value in Expression.
getDestinationResponse_name :: Lens' GetDestinationResponse (Maybe Text) Source #
The name of the resource.
getDestinationResponse_roleArn :: Lens' GetDestinationResponse (Maybe Text) Source #
The ARN of the IAM Role that authorizes the destination.
getDestinationResponse_httpStatus :: Lens' GetDestinationResponse Int Source #
The response's http status code.