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 |
Creates an authentication profile with the specified parameters.
Synopsis
- data CreateAuthenticationProfile = CreateAuthenticationProfile' {}
- newCreateAuthenticationProfile :: Text -> Text -> CreateAuthenticationProfile
- createAuthenticationProfile_authenticationProfileName :: Lens' CreateAuthenticationProfile Text
- createAuthenticationProfile_authenticationProfileContent :: Lens' CreateAuthenticationProfile Text
- data CreateAuthenticationProfileResponse = CreateAuthenticationProfileResponse' {}
- newCreateAuthenticationProfileResponse :: Int -> CreateAuthenticationProfileResponse
- createAuthenticationProfileResponse_authenticationProfileName :: Lens' CreateAuthenticationProfileResponse (Maybe Text)
- createAuthenticationProfileResponse_authenticationProfileContent :: Lens' CreateAuthenticationProfileResponse (Maybe Text)
- createAuthenticationProfileResponse_httpStatus :: Lens' CreateAuthenticationProfileResponse Int
Creating a Request
data CreateAuthenticationProfile Source #
See: newCreateAuthenticationProfile
smart constructor.
CreateAuthenticationProfile' | |
|
Instances
newCreateAuthenticationProfile Source #
:: Text | |
-> Text |
|
-> CreateAuthenticationProfile |
Create a value of CreateAuthenticationProfile
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:CreateAuthenticationProfile'
, createAuthenticationProfile_authenticationProfileName
- The name of the authentication profile to be created.
$sel:authenticationProfileContent:CreateAuthenticationProfile'
, createAuthenticationProfile_authenticationProfileContent
- The 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
createAuthenticationProfile_authenticationProfileName :: Lens' CreateAuthenticationProfile Text Source #
The name of the authentication profile to be created.
createAuthenticationProfile_authenticationProfileContent :: Lens' CreateAuthenticationProfile Text Source #
The 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 CreateAuthenticationProfileResponse Source #
See: newCreateAuthenticationProfileResponse
smart constructor.
CreateAuthenticationProfileResponse' | |
|
Instances
newCreateAuthenticationProfileResponse Source #
Create a value of CreateAuthenticationProfileResponse
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:CreateAuthenticationProfile'
, createAuthenticationProfileResponse_authenticationProfileName
- The name of the authentication profile that was created.
$sel:authenticationProfileContent:CreateAuthenticationProfile'
, createAuthenticationProfileResponse_authenticationProfileContent
- The content of the authentication profile in JSON format.
$sel:httpStatus:CreateAuthenticationProfileResponse'
, createAuthenticationProfileResponse_httpStatus
- The response's http status code.
Response Lenses
createAuthenticationProfileResponse_authenticationProfileName :: Lens' CreateAuthenticationProfileResponse (Maybe Text) Source #
The name of the authentication profile that was created.
createAuthenticationProfileResponse_authenticationProfileContent :: Lens' CreateAuthenticationProfileResponse (Maybe Text) Source #
The content of the authentication profile in JSON format.
createAuthenticationProfileResponse_httpStatus :: Lens' CreateAuthenticationProfileResponse Int Source #
The response's http status code.