import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetSecurityConfigRequest, GetSecurityConfigResponse } from "../models/models_0"; import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetSecurityConfigCommand}. */ export interface GetSecurityConfigCommandInput extends GetSecurityConfigRequest { } /** * @public * * The output of {@link GetSecurityConfigCommand}. */ export interface GetSecurityConfigCommandOutput extends GetSecurityConfigResponse, __MetadataBearer { } declare const GetSecurityConfigCommand_base: { new (input: GetSecurityConfigCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetSecurityConfigCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns information about an OpenSearch Serverless security configuration. For more information, see SAML authentication for Amazon OpenSearch Serverless.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchServerlessClient, GetSecurityConfigCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import * // const { OpenSearchServerlessClient, GetSecurityConfigCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import * // import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless"; * const config = {}; // type is OpenSearchServerlessClientConfig * const client = new OpenSearchServerlessClient(config); * const input = { // GetSecurityConfigRequest * id: "STRING_VALUE", // required * }; * const command = new GetSecurityConfigCommand(input); * const response = await client.send(command); * // { // GetSecurityConfigResponse * // securityConfigDetail: { // SecurityConfigDetail * // id: "STRING_VALUE", * // type: "STRING_VALUE", * // configVersion: "STRING_VALUE", * // description: "STRING_VALUE", * // samlOptions: { // SamlConfigOptions * // metadata: "STRING_VALUE", // required * // userAttribute: "STRING_VALUE", * // groupAttribute: "STRING_VALUE", * // openSearchServerlessEntityId: "STRING_VALUE", * // sessionTimeout: Number("int"), * // }, * // iamIdentityCenterOptions: { // IamIdentityCenterConfigOptions * // instanceArn: "STRING_VALUE", * // applicationArn: "STRING_VALUE", * // applicationName: "STRING_VALUE", * // applicationDescription: "STRING_VALUE", * // userAttribute: "STRING_VALUE", * // groupAttribute: "STRING_VALUE", * // }, * // iamFederationOptions: { // IamFederationConfigOptions * // groupAttribute: "STRING_VALUE", * // userAttribute: "STRING_VALUE", * // }, * // createdDate: Number("long"), * // lastModifiedDate: Number("long"), * // }, * // }; * * ``` * * @param GetSecurityConfigCommandInput - {@link GetSecurityConfigCommandInput} * @returns {@link GetSecurityConfigCommandOutput} * @see {@link GetSecurityConfigCommandInput} for command's `input` shape. * @see {@link GetSecurityConfigCommandOutput} for command's `response` shape. * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

Thrown when an error internal to the service occurs while processing a request.

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

Thrown when accessing or deleting a resource that does not exist.

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

Thrown when the HTTP request contains invalid input or is missing required input.

* * @throws {@link OpenSearchServerlessServiceException} *

Base exception class for all service exceptions from OpenSearchServerless service.

* * * @public */ export declare class GetSecurityConfigCommand extends GetSecurityConfigCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSecurityConfigRequest; output: GetSecurityConfigResponse; }; sdk: { input: GetSecurityConfigCommandInput; output: GetSecurityConfigCommandOutput; }; }; }