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 security configuration, which is stored in the service and can be specified when a cluster is created.
Synopsis
- data CreateSecurityConfiguration = CreateSecurityConfiguration' {}
- newCreateSecurityConfiguration :: Text -> Text -> CreateSecurityConfiguration
- createSecurityConfiguration_name :: Lens' CreateSecurityConfiguration Text
- createSecurityConfiguration_securityConfiguration :: Lens' CreateSecurityConfiguration Text
- data CreateSecurityConfigurationResponse = CreateSecurityConfigurationResponse' {
- httpStatus :: Int
- name :: Text
- creationDateTime :: POSIX
- newCreateSecurityConfigurationResponse :: Int -> Text -> UTCTime -> CreateSecurityConfigurationResponse
- createSecurityConfigurationResponse_httpStatus :: Lens' CreateSecurityConfigurationResponse Int
- createSecurityConfigurationResponse_name :: Lens' CreateSecurityConfigurationResponse Text
- createSecurityConfigurationResponse_creationDateTime :: Lens' CreateSecurityConfigurationResponse UTCTime
Creating a Request
data CreateSecurityConfiguration Source #
See: newCreateSecurityConfiguration
smart constructor.
CreateSecurityConfiguration' | |
|
Instances
newCreateSecurityConfiguration Source #
:: Text | |
-> Text | |
-> 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:
$sel:name:CreateSecurityConfiguration'
, createSecurityConfiguration_name
- The name of the security configuration.
$sel:securityConfiguration:CreateSecurityConfiguration'
, createSecurityConfiguration_securityConfiguration
- The security configuration details in JSON format. For JSON parameters
and examples, see
Use Security Configurations to Set Up Cluster Security
in the Amazon EMR Management Guide.
Request Lenses
createSecurityConfiguration_name :: Lens' CreateSecurityConfiguration Text Source #
The name of the security configuration.
createSecurityConfiguration_securityConfiguration :: Lens' CreateSecurityConfiguration Text Source #
The security configuration details in JSON format. For JSON parameters and examples, see Use Security Configurations to Set Up Cluster Security in the Amazon EMR Management Guide.
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:httpStatus:CreateSecurityConfigurationResponse'
, createSecurityConfigurationResponse_httpStatus
- The response's http status code.
$sel:name:CreateSecurityConfiguration'
, createSecurityConfigurationResponse_name
- The name of the security configuration.
$sel:creationDateTime:CreateSecurityConfigurationResponse'
, createSecurityConfigurationResponse_creationDateTime
- The date and time the security configuration was created.
Response Lenses
createSecurityConfigurationResponse_httpStatus :: Lens' CreateSecurityConfigurationResponse Int Source #
The response's http status code.
createSecurityConfigurationResponse_name :: Lens' CreateSecurityConfigurationResponse Text Source #
The name of the security configuration.
createSecurityConfigurationResponse_creationDateTime :: Lens' CreateSecurityConfigurationResponse UTCTime Source #
The date and time the security configuration was created.