| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.EMR.CreateSecurityConfiguration
Description
Creates a security configuration, which is stored in the service and can be specified when a cluster is created.
Synopsis
- createSecurityConfiguration :: Text -> Text -> CreateSecurityConfiguration
- data CreateSecurityConfiguration
- cscName :: Lens' CreateSecurityConfiguration Text
- cscSecurityConfiguration :: Lens' CreateSecurityConfiguration Text
- createSecurityConfigurationResponse :: Int -> Text -> UTCTime -> CreateSecurityConfigurationResponse
- data CreateSecurityConfigurationResponse
- cscrsResponseStatus :: Lens' CreateSecurityConfigurationResponse Int
- cscrsName :: Lens' CreateSecurityConfigurationResponse Text
- cscrsCreationDateTime :: Lens' CreateSecurityConfigurationResponse UTCTime
Creating a Request
createSecurityConfiguration Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreateSecurityConfiguration |
Creates a value of CreateSecurityConfiguration with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cscName- The name of the security configuration.cscSecurityConfiguration- 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 .
data CreateSecurityConfiguration Source #
See: createSecurityConfiguration smart constructor.
Instances
Request Lenses
cscSecurityConfiguration :: 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
createSecurityConfigurationResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> UTCTime | |
| -> CreateSecurityConfigurationResponse |
Creates a value of CreateSecurityConfigurationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cscrsResponseStatus- -- | The response status code.cscrsName- The name of the security configuration.cscrsCreationDateTime- The date and time the security configuration was created.
data CreateSecurityConfigurationResponse Source #
See: createSecurityConfigurationResponse smart constructor.
Instances
Response Lenses
cscrsResponseStatus :: Lens' CreateSecurityConfigurationResponse Int Source #
- - | The response status code.
cscrsName :: Lens' CreateSecurityConfigurationResponse Text Source #
The name of the security configuration.
cscrsCreationDateTime :: Lens' CreateSecurityConfigurationResponse UTCTime Source #
The date and time the security configuration was created.