We are excited to announce our new API Documentation.
Protected
Creates a security configuration, which is stored in the service and can be specified when a cluster is created.
Use a bare-bones client and the command you need to make an API call.
import { EMRClient, CreateSecurityConfigurationCommand } from "@aws-sdk/client-emr"; // ES Modules import// const { EMRClient, CreateSecurityConfigurationCommand } = require("@aws-sdk/client-emr"); // CommonJS importconst client = new EMRClient(config);const input = { // CreateSecurityConfigurationInput Name: "STRING_VALUE", // required SecurityConfiguration: "STRING_VALUE", // required};const command = new CreateSecurityConfigurationCommand(input);const response = await client.send(command);// { // CreateSecurityConfigurationOutput// Name: "STRING_VALUE", // required// CreationDateTime: new Date("TIMESTAMP"), // required// };
CreateSecurityConfigurationCommandInput
CreateSecurityConfigurationCommandOutput
input
response
config
InternalServerException (server fault)
This exception occurs when there is an internal failure in the Amazon EMR service.
InvalidRequestException (client fault)
This exception occurs when there is something wrong with user input.
EMRServiceException
Base exception class for all service exceptions from EMR service.
Readonly
Static
Creates a security configuration, which is stored in the service and can be specified when a cluster is created.
Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateSecurityConfigurationCommandInput
Returns
CreateSecurityConfigurationCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerException (server fault)
This exception occurs when there is an internal failure in the Amazon EMR service.
Throws
InvalidRequestException (client fault)
This exception occurs when there is something wrong with user input.
Throws
EMRServiceException
Base exception class for all service exceptions from EMR service.