Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a notification channel.
See: Stackdriver Monitoring API Reference for monitoring.projects.notificationChannels.delete
.
Synopsis
- type ProjectsNotificationChannelsDeleteResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "force" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))
- projectsNotificationChannelsDelete :: Text -> ProjectsNotificationChannelsDelete
- data ProjectsNotificationChannelsDelete
- pncdXgafv :: Lens' ProjectsNotificationChannelsDelete (Maybe Xgafv)
- pncdUploadProtocol :: Lens' ProjectsNotificationChannelsDelete (Maybe Text)
- pncdForce :: Lens' ProjectsNotificationChannelsDelete (Maybe Bool)
- pncdAccessToken :: Lens' ProjectsNotificationChannelsDelete (Maybe Text)
- pncdUploadType :: Lens' ProjectsNotificationChannelsDelete (Maybe Text)
- pncdName :: Lens' ProjectsNotificationChannelsDelete Text
- pncdCallback :: Lens' ProjectsNotificationChannelsDelete (Maybe Text)
REST Resource
type ProjectsNotificationChannelsDeleteResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "force" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))) Source #
A resource alias for monitoring.projects.notificationChannels.delete
method which the
ProjectsNotificationChannelsDelete
request conforms to.
Creating a Request
projectsNotificationChannelsDelete Source #
Creates a value of ProjectsNotificationChannelsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotificationChannelsDelete Source #
Deletes a notification channel.
See: projectsNotificationChannelsDelete
smart constructor.
Instances
Request Lenses
pncdUploadProtocol :: Lens' ProjectsNotificationChannelsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pncdForce :: Lens' ProjectsNotificationChannelsDelete (Maybe Bool) Source #
If true, the notification channel will be deleted regardless of its use in alert policies (the policies will be updated to remove the channel). If false, channels that are still referenced by an existing alerting policy will fail to be deleted in a delete operation.
pncdAccessToken :: Lens' ProjectsNotificationChannelsDelete (Maybe Text) Source #
OAuth access token.
pncdUploadType :: Lens' ProjectsNotificationChannelsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").