import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient"; import type { UpdateSecurityProfileRequest } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateSecurityProfileCommand}. */ export interface UpdateSecurityProfileCommandInput extends UpdateSecurityProfileRequest { } /** * @public * * The output of {@link UpdateSecurityProfileCommand}. */ export interface UpdateSecurityProfileCommandOutput extends __MetadataBearer { } declare const UpdateSecurityProfileCommand_base: { new (input: UpdateSecurityProfileCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateSecurityProfileCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates a security profile.

*

For information about security profiles, see Security Profiles in the Amazon Connect Administrator Guide. For a mapping of the API name and user interface name of the security * profile permissions, see List * of security profile permissions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectClient, UpdateSecurityProfileCommand } from "@aws-sdk/client-connect"; // ES Modules import * // const { ConnectClient, UpdateSecurityProfileCommand } = require("@aws-sdk/client-connect"); // CommonJS import * // import type { ConnectClientConfig } from "@aws-sdk/client-connect"; * const config = {}; // type is ConnectClientConfig * const client = new ConnectClient(config); * const input = { // UpdateSecurityProfileRequest * Description: "STRING_VALUE", * Permissions: [ // PermissionsList * "STRING_VALUE", * ], * SecurityProfileId: "STRING_VALUE", // required * InstanceId: "STRING_VALUE", // required * AllowedAccessControlTags: { // AllowedAccessControlTags * "": "STRING_VALUE", * }, * TagRestrictedResources: [ // TagRestrictedResourceList * "STRING_VALUE", * ], * Applications: [ // Applications * { // Application * Namespace: "STRING_VALUE", * ApplicationPermissions: [ // ApplicationPermissions * "STRING_VALUE", * ], * Type: "MCP" || "THIRD_PARTY_APPLICATION", * }, * ], * HierarchyRestrictedResources: [ // HierarchyRestrictedResourceList * "STRING_VALUE", * ], * AllowedAccessControlHierarchyGroupId: "STRING_VALUE", * AllowedFlowModules: [ // AllowedFlowModules * { // FlowModule * Type: "MCP", * FlowModuleId: "STRING_VALUE", * }, * ], * GranularAccessControlConfiguration: { // GranularAccessControlConfiguration * DataTableAccessControlConfiguration: { // DataTableAccessControlConfiguration * PrimaryAttributeAccessControlConfiguration: { // PrimaryAttributeAccessControlConfigurationItem * PrimaryAttributeValues: [ // PrimaryAttributeValuesSet * { // PrimaryAttributeValue * AccessType: "ALLOW", * AttributeName: "STRING_VALUE", * Values: [ // PrimaryValueList * "STRING_VALUE", * ], * }, * ], * }, * }, * }, * }; * const command = new UpdateSecurityProfileCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateSecurityProfileCommandInput - {@link UpdateSecurityProfileCommandInput} * @returns {@link UpdateSecurityProfileCommandOutput} * @see {@link UpdateSecurityProfileCommandInput} for command's `input` shape. * @see {@link UpdateSecurityProfileCommandOutput} for command's `response` shape. * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape. * * @throws {@link InternalServiceException} (server fault) *

Request processing failed because of an error or failure with the service.

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

One or more of the specified parameters are not valid.

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

The request is not valid.

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

The specified resource was not found.

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

The throttling limit has been exceeded.

* * @throws {@link ConnectServiceException} *

Base exception class for all service exceptions from Connect service.

* * * @public */ export declare class UpdateSecurityProfileCommand extends UpdateSecurityProfileCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateSecurityProfileRequest; output: {}; }; sdk: { input: UpdateSecurityProfileCommandInput; output: UpdateSecurityProfileCommandOutput; }; }; }