| 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 |
Amazonka.IoT.DetachSecurityProfile
Description
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.
Constructors
| DetachSecurityProfile' | |
Fields
| |
Instances
newDetachSecurityProfile Source #
Arguments
| :: 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:
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.
Constructors
| DetachSecurityProfileResponse' | |
Fields
| |
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.