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 Device Defender security profile.
Requires permission to access the DeleteSecurityProfile action.
Synopsis
- data DeleteSecurityProfile = DeleteSecurityProfile' {}
- newDeleteSecurityProfile :: Text -> DeleteSecurityProfile
- deleteSecurityProfile_expectedVersion :: Lens' DeleteSecurityProfile (Maybe Integer)
- deleteSecurityProfile_securityProfileName :: Lens' DeleteSecurityProfile Text
- data DeleteSecurityProfileResponse = DeleteSecurityProfileResponse' {
- httpStatus :: Int
- newDeleteSecurityProfileResponse :: Int -> DeleteSecurityProfileResponse
- deleteSecurityProfileResponse_httpStatus :: Lens' DeleteSecurityProfileResponse Int
Creating a Request
data DeleteSecurityProfile Source #
See: newDeleteSecurityProfile
smart constructor.
DeleteSecurityProfile' | |
|
Instances
newDeleteSecurityProfile Source #
Create a value of DeleteSecurityProfile
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:expectedVersion:DeleteSecurityProfile'
, deleteSecurityProfile_expectedVersion
- The expected version of the security profile. A new version is generated
whenever the security profile is updated. If you specify a value that is
different from the actual version, a VersionConflictException
is
thrown.
DeleteSecurityProfile
, deleteSecurityProfile_securityProfileName
- The name of the security profile to be deleted.
Request Lenses
deleteSecurityProfile_expectedVersion :: Lens' DeleteSecurityProfile (Maybe Integer) Source #
The expected version of the security profile. A new version is generated
whenever the security profile is updated. If you specify a value that is
different from the actual version, a VersionConflictException
is
thrown.
deleteSecurityProfile_securityProfileName :: Lens' DeleteSecurityProfile Text Source #
The name of the security profile to be deleted.
Destructuring the Response
data DeleteSecurityProfileResponse Source #
See: newDeleteSecurityProfileResponse
smart constructor.
DeleteSecurityProfileResponse' | |
|
Instances
newDeleteSecurityProfileResponse Source #
Create a value of DeleteSecurityProfileResponse
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:DeleteSecurityProfileResponse'
, deleteSecurityProfileResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSecurityProfileResponse_httpStatus :: Lens' DeleteSecurityProfileResponse Int Source #
The response's http status code.