Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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.
- 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
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.
data CreateSecurityConfiguration #
See: createSecurityConfiguration
smart constructor.
Instances
Request Lenses
cscName :: Lens' CreateSecurityConfiguration Text #
The name of the security configuration.
cscSecurityConfiguration :: Lens' CreateSecurityConfiguration Text #
The security configuration details in JSON format.
Destructuring the Response
createSecurityConfigurationResponse #
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 #
See: createSecurityConfigurationResponse
smart constructor.
Instances
Response Lenses
cscrsResponseStatus :: Lens' CreateSecurityConfigurationResponse Int #
- - | The response status code.
cscrsName :: Lens' CreateSecurityConfigurationResponse Text #
The name of the security configuration.
cscrsCreationDateTime :: Lens' CreateSecurityConfigurationResponse UTCTime #
The date and time the security configuration was created.