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 a new security configuration. A security configuration is a set of security properties that can be used by Glue. You can use a security configuration to encrypt data at rest. For information about using security configurations in Glue, see Encrypting Data Written by Crawlers, Jobs, and Development Endpoints.
Synopsis
- data CreateSecurityConfiguration = CreateSecurityConfiguration' {}
- newCreateSecurityConfiguration :: Text -> EncryptionConfiguration -> CreateSecurityConfiguration
- createSecurityConfiguration_name :: Lens' CreateSecurityConfiguration Text
- createSecurityConfiguration_encryptionConfiguration :: Lens' CreateSecurityConfiguration EncryptionConfiguration
- data CreateSecurityConfigurationResponse = CreateSecurityConfigurationResponse' {
- name :: Maybe Text
- createdTimestamp :: Maybe POSIX
- httpStatus :: Int
- newCreateSecurityConfigurationResponse :: Int -> CreateSecurityConfigurationResponse
- createSecurityConfigurationResponse_name :: Lens' CreateSecurityConfigurationResponse (Maybe Text)
- createSecurityConfigurationResponse_createdTimestamp :: Lens' CreateSecurityConfigurationResponse (Maybe UTCTime)
- createSecurityConfigurationResponse_httpStatus :: Lens' CreateSecurityConfigurationResponse Int
Creating a Request
data CreateSecurityConfiguration Source #
See: newCreateSecurityConfiguration
smart constructor.
CreateSecurityConfiguration' | |
|
Instances
newCreateSecurityConfiguration Source #
Create a value of CreateSecurityConfiguration
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:name:CreateSecurityConfiguration'
, createSecurityConfiguration_name
- The name for the new security configuration.
$sel:encryptionConfiguration:CreateSecurityConfiguration'
, createSecurityConfiguration_encryptionConfiguration
- The encryption configuration for the new security configuration.
Request Lenses
createSecurityConfiguration_name :: Lens' CreateSecurityConfiguration Text Source #
The name for the new security configuration.
createSecurityConfiguration_encryptionConfiguration :: Lens' CreateSecurityConfiguration EncryptionConfiguration Source #
The encryption configuration for the new security configuration.
Destructuring the Response
data CreateSecurityConfigurationResponse Source #
See: newCreateSecurityConfigurationResponse
smart constructor.
CreateSecurityConfigurationResponse' | |
|
Instances
newCreateSecurityConfigurationResponse Source #
Create a value of CreateSecurityConfigurationResponse
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:name:CreateSecurityConfiguration'
, createSecurityConfigurationResponse_name
- The name assigned to the new security configuration.
$sel:createdTimestamp:CreateSecurityConfigurationResponse'
, createSecurityConfigurationResponse_createdTimestamp
- The time at which the new security configuration was created.
$sel:httpStatus:CreateSecurityConfigurationResponse'
, createSecurityConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
createSecurityConfigurationResponse_name :: Lens' CreateSecurityConfigurationResponse (Maybe Text) Source #
The name assigned to the new security configuration.
createSecurityConfigurationResponse_createdTimestamp :: Lens' CreateSecurityConfigurationResponse (Maybe UTCTime) Source #
The time at which the new security configuration was created.
createSecurityConfigurationResponse_httpStatus :: Lens' CreateSecurityConfigurationResponse Int Source #
The response's http status code.