| 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.Redshift.CreateAuthenticationProfile
Description
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_authenticationProfileContent :: Lens' CreateAuthenticationProfileResponse (Maybe Text)
- createAuthenticationProfileResponse_authenticationProfileName :: Lens' CreateAuthenticationProfileResponse (Maybe Text)
- createAuthenticationProfileResponse_httpStatus :: Lens' CreateAuthenticationProfileResponse Int
Creating a Request
data CreateAuthenticationProfile Source #
See: newCreateAuthenticationProfile smart constructor.
Constructors
| CreateAuthenticationProfile' | |
Fields
| |
Instances
newCreateAuthenticationProfile Source #
Arguments
| :: 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:
CreateAuthenticationProfile, createAuthenticationProfile_authenticationProfileName - The name of the authentication profile to be created.
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.
Constructors
| CreateAuthenticationProfileResponse' | |
Fields
| |
Instances
newCreateAuthenticationProfileResponse Source #
Arguments
| :: Int | |
| -> CreateAuthenticationProfileResponse |
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:
CreateAuthenticationProfile, createAuthenticationProfileResponse_authenticationProfileContent - The content of the authentication profile in JSON format.
CreateAuthenticationProfile, createAuthenticationProfileResponse_authenticationProfileName - The name of the authentication profile that was created.
$sel:httpStatus:CreateAuthenticationProfileResponse', createAuthenticationProfileResponse_httpStatus - The response's http status code.
Response Lenses
createAuthenticationProfileResponse_authenticationProfileContent :: Lens' CreateAuthenticationProfileResponse (Maybe Text) Source #
The content of the authentication profile in JSON format.
createAuthenticationProfileResponse_authenticationProfileName :: Lens' CreateAuthenticationProfileResponse (Maybe Text) Source #
The name of the authentication profile that was created.
createAuthenticationProfileResponse_httpStatus :: Lens' CreateAuthenticationProfileResponse Int Source #
The response's http status code.