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 |
Modifies an authentication profile.
Synopsis
- data ModifyAuthenticationProfile = ModifyAuthenticationProfile' {}
- newModifyAuthenticationProfile :: Text -> Text -> ModifyAuthenticationProfile
- modifyAuthenticationProfile_authenticationProfileName :: Lens' ModifyAuthenticationProfile Text
- modifyAuthenticationProfile_authenticationProfileContent :: Lens' ModifyAuthenticationProfile Text
- data ModifyAuthenticationProfileResponse = ModifyAuthenticationProfileResponse' {}
- newModifyAuthenticationProfileResponse :: Int -> ModifyAuthenticationProfileResponse
- modifyAuthenticationProfileResponse_authenticationProfileContent :: Lens' ModifyAuthenticationProfileResponse (Maybe Text)
- modifyAuthenticationProfileResponse_authenticationProfileName :: Lens' ModifyAuthenticationProfileResponse (Maybe Text)
- modifyAuthenticationProfileResponse_httpStatus :: Lens' ModifyAuthenticationProfileResponse Int
Creating a Request
data ModifyAuthenticationProfile Source #
See: newModifyAuthenticationProfile
smart constructor.
ModifyAuthenticationProfile' | |
|
Instances
newModifyAuthenticationProfile Source #
Create a value of ModifyAuthenticationProfile
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:
ModifyAuthenticationProfile
, modifyAuthenticationProfile_authenticationProfileName
- The name of the authentication profile to replace.
ModifyAuthenticationProfile
, modifyAuthenticationProfile_authenticationProfileContent
- The new content of the authentication profile in JSON format. The
maximum length of the JSON string is determined by a quota for your
account.
Request Lenses
modifyAuthenticationProfile_authenticationProfileName :: Lens' ModifyAuthenticationProfile Text Source #
The name of the authentication profile to replace.
modifyAuthenticationProfile_authenticationProfileContent :: Lens' ModifyAuthenticationProfile Text Source #
The new content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.
Destructuring the Response
data ModifyAuthenticationProfileResponse Source #
See: newModifyAuthenticationProfileResponse
smart constructor.
ModifyAuthenticationProfileResponse' | |
|
Instances
newModifyAuthenticationProfileResponse Source #
Create a value of ModifyAuthenticationProfileResponse
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:
ModifyAuthenticationProfile
, modifyAuthenticationProfileResponse_authenticationProfileContent
- The updated content of the authentication profile in JSON format.
ModifyAuthenticationProfile
, modifyAuthenticationProfileResponse_authenticationProfileName
- The name of the authentication profile that was replaced.
$sel:httpStatus:ModifyAuthenticationProfileResponse'
, modifyAuthenticationProfileResponse_httpStatus
- The response's http status code.
Response Lenses
modifyAuthenticationProfileResponse_authenticationProfileContent :: Lens' ModifyAuthenticationProfileResponse (Maybe Text) Source #
The updated content of the authentication profile in JSON format.
modifyAuthenticationProfileResponse_authenticationProfileName :: Lens' ModifyAuthenticationProfileResponse (Maybe Text) Source #
The name of the authentication profile that was replaced.
modifyAuthenticationProfileResponse_httpStatus :: Lens' ModifyAuthenticationProfileResponse Int Source #
The response's http status code.