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 |
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.
DeleteRumMetricsDestination' | |
|
Instances
newDeleteRumMetricsDestination Source #
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.
DeleteRumMetricsDestinationResponse' | |
|
Instances
Generic DeleteRumMetricsDestinationResponse Source # | |
Read DeleteRumMetricsDestinationResponse Source # | |
Show DeleteRumMetricsDestinationResponse Source # | |
NFData DeleteRumMetricsDestinationResponse Source # | |
Defined in Amazonka.Rum.DeleteRumMetricsDestination rnf :: DeleteRumMetricsDestinationResponse -> () # | |
Eq DeleteRumMetricsDestinationResponse Source # | |
type Rep DeleteRumMetricsDestinationResponse Source # | |
Defined in Amazonka.Rum.DeleteRumMetricsDestination type Rep DeleteRumMetricsDestinationResponse = D1 ('MetaData "DeleteRumMetricsDestinationResponse" "Amazonka.Rum.DeleteRumMetricsDestination" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "DeleteRumMetricsDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteRumMetricsDestinationResponse Source #
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.