| 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.Rum.DeleteRumMetricsDestination
Description
Deletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops sending extended metrics to that destination.
Synopsis
- data DeleteRumMetricsDestination = DeleteRumMetricsDestination' {}
- newDeleteRumMetricsDestination :: Text -> MetricDestination -> DeleteRumMetricsDestination
- deleteRumMetricsDestination_destinationArn :: Lens' DeleteRumMetricsDestination (Maybe Text)
- deleteRumMetricsDestination_appMonitorName :: Lens' DeleteRumMetricsDestination Text
- deleteRumMetricsDestination_destination :: Lens' DeleteRumMetricsDestination MetricDestination
- data DeleteRumMetricsDestinationResponse = DeleteRumMetricsDestinationResponse' {
- httpStatus :: Int
- newDeleteRumMetricsDestinationResponse :: Int -> DeleteRumMetricsDestinationResponse
- deleteRumMetricsDestinationResponse_httpStatus :: Lens' DeleteRumMetricsDestinationResponse Int
Creating a Request
data DeleteRumMetricsDestination Source #
See: newDeleteRumMetricsDestination smart constructor.
Constructors
| DeleteRumMetricsDestination' | |
Fields
| |
Instances
newDeleteRumMetricsDestination Source #
Arguments
| :: Text | |
| -> MetricDestination | |
| -> DeleteRumMetricsDestination |
Create a value of DeleteRumMetricsDestination 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:
DeleteRumMetricsDestination, deleteRumMetricsDestination_destinationArn - This parameter is required if Destination is Evidently. If
Destination is CloudWatch, do not use this parameter. This parameter
specifies the ARN of the Evidently experiment that corresponds to the
destination to delete.
$sel:appMonitorName:DeleteRumMetricsDestination', deleteRumMetricsDestination_appMonitorName - The name of the app monitor that is sending metrics to the destination
that you want to delete.
DeleteRumMetricsDestination, deleteRumMetricsDestination_destination - The type of destination to delete. Valid values are CloudWatch and
Evidently.
Request Lenses
deleteRumMetricsDestination_destinationArn :: Lens' DeleteRumMetricsDestination (Maybe Text) Source #
This parameter is required if Destination is Evidently. If
Destination is CloudWatch, do not use this parameter. This parameter
specifies the ARN of the Evidently experiment that corresponds to the
destination to delete.
deleteRumMetricsDestination_appMonitorName :: Lens' DeleteRumMetricsDestination Text Source #
The name of the app monitor that is sending metrics to the destination that you want to delete.
deleteRumMetricsDestination_destination :: Lens' DeleteRumMetricsDestination MetricDestination Source #
The type of destination to delete. Valid values are CloudWatch and
Evidently.
Destructuring the Response
data DeleteRumMetricsDestinationResponse Source #
See: newDeleteRumMetricsDestinationResponse smart constructor.
Constructors
| DeleteRumMetricsDestinationResponse' | |
Fields
| |
Instances
newDeleteRumMetricsDestinationResponse Source #
Arguments
| :: Int | |
| -> DeleteRumMetricsDestinationResponse |
Create a value of DeleteRumMetricsDestinationResponse 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:DeleteRumMetricsDestinationResponse', deleteRumMetricsDestinationResponse_httpStatus - The response's http status code.
Response Lenses
deleteRumMetricsDestinationResponse_httpStatus :: Lens' DeleteRumMetricsDestinationResponse Int Source #
The response's http status code.