Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class DescribeSecurityConfigurationCommandProtected

Provides the details of a security configuration by returning the configuration JSON.

Example

Use a bare-bones client and the command you need to make an API call.

import { EMRClient, DescribeSecurityConfigurationCommand } from "@aws-sdk/client-emr"; // ES Modules import
// const { EMRClient, DescribeSecurityConfigurationCommand } = require("@aws-sdk/client-emr"); // CommonJS import
const client = new EMRClient(config);
const input = { // DescribeSecurityConfigurationInput
Name: "STRING_VALUE", // required
};
const command = new DescribeSecurityConfigurationCommand(input);
const response = await client.send(command);
// { // DescribeSecurityConfigurationOutput
// Name: "STRING_VALUE",
// SecurityConfiguration: "STRING_VALUE",
// CreationDateTime: new Date("TIMESTAMP"),
// };

Param

DescribeSecurityConfigurationCommandInput

Returns

DescribeSecurityConfigurationCommandOutput

See

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.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods