- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
GetSecurityConfigurationCommand
Retrieves a specified security configuration.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { GlueClient, GetSecurityConfigurationCommand } from "@aws-sdk/client-glue"; // ES Modules import
// const { GlueClient, GetSecurityConfigurationCommand } = require("@aws-sdk/client-glue"); // CommonJS import
const client = new GlueClient(config);
const input = { // GetSecurityConfigurationRequest
Name: "STRING_VALUE", // required
};
const command = new GetSecurityConfigurationCommand(input);
const response = await client.send(command);
// { // GetSecurityConfigurationResponse
// SecurityConfiguration: { // SecurityConfiguration
// Name: "STRING_VALUE",
// CreatedTimeStamp: new Date("TIMESTAMP"),
// EncryptionConfiguration: { // EncryptionConfiguration
// S3Encryption: [ // S3EncryptionList
// { // S3Encryption
// S3EncryptionMode: "DISABLED" || "SSE-KMS" || "SSE-S3",
// KmsKeyArn: "STRING_VALUE",
// },
// ],
// CloudWatchEncryption: { // CloudWatchEncryption
// CloudWatchEncryptionMode: "DISABLED" || "SSE-KMS",
// KmsKeyArn: "STRING_VALUE",
// },
// JobBookmarksEncryption: { // JobBookmarksEncryption
// JobBookmarksEncryptionMode: "DISABLED" || "CSE-KMS",
// KmsKeyArn: "STRING_VALUE",
// },
// DataQualityEncryption: { // DataQualityEncryption
// DataQualityEncryptionMode: "DISABLED" || "SSE-KMS",
// KmsKeyArn: "STRING_VALUE",
// },
// },
// },
// };
GetSecurityConfigurationCommand Input
See GetSecurityConfigurationCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
Name Required | string | undefined | The name of the security configuration to retrieve. |
GetSecurityConfigurationCommand Output
See GetSecurityConfigurationCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
SecurityConfiguration | SecurityConfiguration | undefined | The requested security configuration. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
EntityNotFoundException | client | A specified entity does not exist |
InternalServiceException | server | An internal service error occurred. |
InvalidInputException | client | The input provided was not valid. |
OperationTimeoutException | client | The operation timed out. |
GlueServiceException | Base exception class for all service exceptions from Glue service. |