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 sink. If the sink has a unique writer_identity, then that service account is also deleted.
See: Stackdriver Logging API Reference for logging.organizations.sinks.delete
.
Synopsis
- type OrganizationsSinksDeleteResource = "v2" :> (Capture "sinkName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- organizationsSinksDelete :: Text -> OrganizationsSinksDelete
- data OrganizationsSinksDelete
- osdXgafv :: Lens' OrganizationsSinksDelete (Maybe Xgafv)
- osdUploadProtocol :: Lens' OrganizationsSinksDelete (Maybe Text)
- osdAccessToken :: Lens' OrganizationsSinksDelete (Maybe Text)
- osdUploadType :: Lens' OrganizationsSinksDelete (Maybe Text)
- osdSinkName :: Lens' OrganizationsSinksDelete Text
- osdCallback :: Lens' OrganizationsSinksDelete (Maybe Text)
REST Resource
type OrganizationsSinksDeleteResource = "v2" :> (Capture "sinkName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #
A resource alias for logging.organizations.sinks.delete
method which the
OrganizationsSinksDelete
request conforms to.
Creating a Request
organizationsSinksDelete Source #
Creates a value of OrganizationsSinksDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSinksDelete Source #
Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
See: organizationsSinksDelete
smart constructor.
Instances
Request Lenses
osdUploadProtocol :: Lens' OrganizationsSinksDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
osdAccessToken :: Lens' OrganizationsSinksDelete (Maybe Text) Source #
OAuth access token.
osdUploadType :: Lens' OrganizationsSinksDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
osdSinkName :: Lens' OrganizationsSinksDelete Text Source #
Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks/my-sink-id".
osdCallback :: Lens' OrganizationsSinksDelete (Maybe Text) Source #
JSONP