| 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.Glue.CreateSecurityConfiguration
Description
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' {
- createdTimestamp :: Maybe POSIX
- name :: Maybe Text
- httpStatus :: Int
- newCreateSecurityConfigurationResponse :: Int -> CreateSecurityConfigurationResponse
- createSecurityConfigurationResponse_createdTimestamp :: Lens' CreateSecurityConfigurationResponse (Maybe UTCTime)
- createSecurityConfigurationResponse_name :: Lens' CreateSecurityConfigurationResponse (Maybe Text)
- createSecurityConfigurationResponse_httpStatus :: Lens' CreateSecurityConfigurationResponse Int
Creating a Request
data CreateSecurityConfiguration Source #
See: newCreateSecurityConfiguration smart constructor.
Constructors
| CreateSecurityConfiguration' | |
Fields
| |
Instances
newCreateSecurityConfiguration Source #
Arguments
| :: Text | |
| -> EncryptionConfiguration | |
| -> CreateSecurityConfiguration |
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:
CreateSecurityConfiguration, createSecurityConfiguration_name - The name for the new security configuration.
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.
Constructors
| CreateSecurityConfigurationResponse' | |
Fields
| |
Instances
newCreateSecurityConfigurationResponse Source #
Arguments
| :: Int | |
| -> CreateSecurityConfigurationResponse |
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:
CreateSecurityConfigurationResponse, createSecurityConfigurationResponse_createdTimestamp - The time at which the new security configuration was created.
CreateSecurityConfiguration, createSecurityConfigurationResponse_name - The name assigned to the new security configuration.
$sel:httpStatus:CreateSecurityConfigurationResponse', createSecurityConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
createSecurityConfigurationResponse_createdTimestamp :: Lens' CreateSecurityConfigurationResponse (Maybe UTCTime) Source #
The time at which the new security configuration was created.
createSecurityConfigurationResponse_name :: Lens' CreateSecurityConfigurationResponse (Maybe Text) Source #
The name assigned to the new security configuration.
createSecurityConfigurationResponse_httpStatus :: Lens' CreateSecurityConfigurationResponse Int Source #
The response's http status code.