Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Disassociates a Device Defender security profile from a thing group or from this account.
Requires permission to access the DetachSecurityProfile action.
Synopsis
- data DetachSecurityProfile = DetachSecurityProfile' {}
- newDetachSecurityProfile :: Text -> Text -> DetachSecurityProfile
- detachSecurityProfile_securityProfileName :: Lens' DetachSecurityProfile Text
- detachSecurityProfile_securityProfileTargetArn :: Lens' DetachSecurityProfile Text
- data DetachSecurityProfileResponse = DetachSecurityProfileResponse' {
- httpStatus :: Int
- newDetachSecurityProfileResponse :: Int -> DetachSecurityProfileResponse
- detachSecurityProfileResponse_httpStatus :: Lens' DetachSecurityProfileResponse Int
Creating a Request
data DetachSecurityProfile Source #
See: newDetachSecurityProfile
smart constructor.
DetachSecurityProfile' | |
|
Instances
newDetachSecurityProfile Source #
:: Text | |
-> Text | |
-> DetachSecurityProfile |
Create a value of DetachSecurityProfile
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:securityProfileName:DetachSecurityProfile'
, detachSecurityProfile_securityProfileName
- The security profile that is detached.
$sel:securityProfileTargetArn:DetachSecurityProfile'
, detachSecurityProfile_securityProfileTargetArn
- The ARN of the thing group from which the security profile is detached.
Request Lenses
detachSecurityProfile_securityProfileName :: Lens' DetachSecurityProfile Text Source #
The security profile that is detached.
detachSecurityProfile_securityProfileTargetArn :: Lens' DetachSecurityProfile Text Source #
The ARN of the thing group from which the security profile is detached.
Destructuring the Response
data DetachSecurityProfileResponse Source #
See: newDetachSecurityProfileResponse
smart constructor.
DetachSecurityProfileResponse' | |
|
Instances
newDetachSecurityProfileResponse Source #
Create a value of DetachSecurityProfileResponse
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:DetachSecurityProfileResponse'
, detachSecurityProfileResponse_httpStatus
- The response's http status code.
Response Lenses
detachSecurityProfileResponse_httpStatus :: Lens' DetachSecurityProfileResponse Int Source #
The response's http status code.