import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeSecurityPolicyRequest, DescribeSecurityPolicyResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeSecurityPolicyCommand}. */ export interface DescribeSecurityPolicyCommandInput extends DescribeSecurityPolicyRequest { } /** * @public * * The output of {@link DescribeSecurityPolicyCommand}. */ export interface DescribeSecurityPolicyCommandOutput extends DescribeSecurityPolicyResponse, __MetadataBearer { } declare const DescribeSecurityPolicyCommand_base: { new (input: DescribeSecurityPolicyCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeSecurityPolicyCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes the security policy that is attached to your server or SFTP connector. The response contains a description of the security policy's properties. For more information about security policies, see Working with security policies for servers or Working with security policies for SFTP connectors.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TransferClient, DescribeSecurityPolicyCommand } from "@aws-sdk/client-transfer"; // ES Modules import * // const { TransferClient, DescribeSecurityPolicyCommand } = require("@aws-sdk/client-transfer"); // CommonJS import * // import type { TransferClientConfig } from "@aws-sdk/client-transfer"; * const config = {}; // type is TransferClientConfig * const client = new TransferClient(config); * const input = { // DescribeSecurityPolicyRequest * SecurityPolicyName: "STRING_VALUE", // required * }; * const command = new DescribeSecurityPolicyCommand(input); * const response = await client.send(command); * // { // DescribeSecurityPolicyResponse * // SecurityPolicy: { // DescribedSecurityPolicy * // Fips: true || false, * // SecurityPolicyName: "STRING_VALUE", // required * // SshCiphers: [ // SecurityPolicyOptions * // "STRING_VALUE", * // ], * // SshKexs: [ * // "STRING_VALUE", * // ], * // SshMacs: [ * // "STRING_VALUE", * // ], * // TlsCiphers: [ * // "STRING_VALUE", * // ], * // SshHostKeyAlgorithms: [ * // "STRING_VALUE", * // ], * // Type: "SERVER" || "CONNECTOR", * // Protocols: [ // SecurityPolicyProtocols * // "SFTP" || "FTPS", * // ], * // }, * // }; * * ``` * * @param DescribeSecurityPolicyCommandInput - {@link DescribeSecurityPolicyCommandInput} * @returns {@link DescribeSecurityPolicyCommandOutput} * @see {@link DescribeSecurityPolicyCommandInput} for command's `input` shape. * @see {@link DescribeSecurityPolicyCommandOutput} for command's `response` shape. * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape. * * @throws {@link InternalServiceError} (server fault) *

This exception is thrown when an error occurs in the Transfer Family service.

* * @throws {@link InvalidRequestException} (client fault) *

This exception is thrown when the client submits a malformed request.

* * @throws {@link ResourceNotFoundException} (client fault) *

This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.

* * @throws {@link ServiceUnavailableException} (server fault) *

The request has failed because the Amazon Web ServicesTransfer Family service is not available.

* * @throws {@link TransferServiceException} *

Base exception class for all service exceptions from Transfer service.

* * * @public */ export declare class DescribeSecurityPolicyCommand extends DescribeSecurityPolicyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeSecurityPolicyRequest; output: DescribeSecurityPolicyResponse; }; sdk: { input: DescribeSecurityPolicyCommandInput; output: DescribeSecurityPolicyCommandOutput; }; }; }