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 |
Updates the state of a finding.
See: Cloud Security Command Center API Reference for securitycenter.organizations.sources.findings.setState
.
Synopsis
- type OrganizationsSourcesFindingsSetStateResource = "v1" :> (CaptureMode "name" "setState" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetFindingStateRequest :> Post '[JSON] Finding))))))))
- organizationsSourcesFindingsSetState :: SetFindingStateRequest -> Text -> OrganizationsSourcesFindingsSetState
- data OrganizationsSourcesFindingsSetState
- osfssXgafv :: Lens' OrganizationsSourcesFindingsSetState (Maybe Xgafv)
- osfssUploadProtocol :: Lens' OrganizationsSourcesFindingsSetState (Maybe Text)
- osfssAccessToken :: Lens' OrganizationsSourcesFindingsSetState (Maybe Text)
- osfssUploadType :: Lens' OrganizationsSourcesFindingsSetState (Maybe Text)
- osfssPayload :: Lens' OrganizationsSourcesFindingsSetState SetFindingStateRequest
- osfssName :: Lens' OrganizationsSourcesFindingsSetState Text
- osfssCallback :: Lens' OrganizationsSourcesFindingsSetState (Maybe Text)
REST Resource
type OrganizationsSourcesFindingsSetStateResource = "v1" :> (CaptureMode "name" "setState" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetFindingStateRequest :> Post '[JSON] Finding)))))))) Source #
A resource alias for securitycenter.organizations.sources.findings.setState
method which the
OrganizationsSourcesFindingsSetState
request conforms to.
Creating a Request
organizationsSourcesFindingsSetState Source #
Creates a value of OrganizationsSourcesFindingsSetState
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSourcesFindingsSetState Source #
Updates the state of a finding.
See: organizationsSourcesFindingsSetState
smart constructor.
Instances
Request Lenses
osfssXgafv :: Lens' OrganizationsSourcesFindingsSetState (Maybe Xgafv) Source #
V1 error format.
osfssUploadProtocol :: Lens' OrganizationsSourcesFindingsSetState (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
osfssAccessToken :: Lens' OrganizationsSourcesFindingsSetState (Maybe Text) Source #
OAuth access token.
osfssUploadType :: Lens' OrganizationsSourcesFindingsSetState (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
osfssPayload :: Lens' OrganizationsSourcesFindingsSetState SetFindingStateRequest Source #
Multipart request metadata.