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 |
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_authenticationProfileName :: Lens' ModifyAuthenticationProfileResponse (Maybe Text)
- modifyAuthenticationProfileResponse_authenticationProfileContent :: Lens' ModifyAuthenticationProfileResponse (Maybe Text)
- modifyAuthenticationProfileResponse_httpStatus :: Lens' ModifyAuthenticationProfileResponse Int
Creating a Request
data ModifyAuthenticationProfile Source #
See: newModifyAuthenticationProfile
smart constructor.
ModifyAuthenticationProfile' | |
|
Instances
newModifyAuthenticationProfile Source #
:: Text | |
-> Text |
|
-> ModifyAuthenticationProfile |
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:
$sel:authenticationProfileName:ModifyAuthenticationProfile'
, modifyAuthenticationProfile_authenticationProfileName
- The name of the authentication profile to replace.
$sel:authenticationProfileContent: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:
$sel:authenticationProfileName:ModifyAuthenticationProfile'
, modifyAuthenticationProfileResponse_authenticationProfileName
- The name of the authentication profile that was replaced.
$sel:authenticationProfileContent:ModifyAuthenticationProfile'
, modifyAuthenticationProfileResponse_authenticationProfileContent
- The updated content of the authentication profile in JSON format.
$sel:httpStatus:ModifyAuthenticationProfileResponse'
, modifyAuthenticationProfileResponse_httpStatus
- The response's http status code.
Response Lenses
modifyAuthenticationProfileResponse_authenticationProfileName :: Lens' ModifyAuthenticationProfileResponse (Maybe Text) Source #
The name of the authentication profile that was replaced.
modifyAuthenticationProfileResponse_authenticationProfileContent :: Lens' ModifyAuthenticationProfileResponse (Maybe Text) Source #
The updated content of the authentication profile in JSON format.
modifyAuthenticationProfileResponse_httpStatus :: Lens' ModifyAuthenticationProfileResponse Int Source #
The response's http status code.