import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateAssessmentFrameworkShareRequest, UpdateAssessmentFrameworkShareResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateAssessmentFrameworkShareCommand}. */ export interface UpdateAssessmentFrameworkShareCommandInput extends UpdateAssessmentFrameworkShareRequest { } /** * @public * * The output of {@link UpdateAssessmentFrameworkShareCommand}. */ export interface UpdateAssessmentFrameworkShareCommandOutput extends UpdateAssessmentFrameworkShareResponse, __MetadataBearer { } declare const UpdateAssessmentFrameworkShareCommand_base: { new (input: UpdateAssessmentFrameworkShareCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateAssessmentFrameworkShareCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a share request for a custom framework in Audit Manager.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AuditManagerClient, UpdateAssessmentFrameworkShareCommand } from "@aws-sdk/client-auditmanager"; // ES Modules import * // const { AuditManagerClient, UpdateAssessmentFrameworkShareCommand } = require("@aws-sdk/client-auditmanager"); // CommonJS import * // import type { AuditManagerClientConfig } from "@aws-sdk/client-auditmanager"; * const config = {}; // type is AuditManagerClientConfig * const client = new AuditManagerClient(config); * const input = { // UpdateAssessmentFrameworkShareRequest * requestId: "STRING_VALUE", // required * requestType: "SENT" || "RECEIVED", // required * action: "ACCEPT" || "DECLINE" || "REVOKE", // required * }; * const command = new UpdateAssessmentFrameworkShareCommand(input); * const response = await client.send(command); * // { // UpdateAssessmentFrameworkShareResponse * // assessmentFrameworkShareRequest: { // AssessmentFrameworkShareRequest * // id: "STRING_VALUE", * // frameworkId: "STRING_VALUE", * // frameworkName: "STRING_VALUE", * // frameworkDescription: "STRING_VALUE", * // status: "ACTIVE" || "REPLICATING" || "SHARED" || "EXPIRING" || "FAILED" || "EXPIRED" || "DECLINED" || "REVOKED", * // sourceAccount: "STRING_VALUE", * // destinationAccount: "STRING_VALUE", * // destinationRegion: "STRING_VALUE", * // expirationTime: new Date("TIMESTAMP"), * // creationTime: new Date("TIMESTAMP"), * // lastUpdated: new Date("TIMESTAMP"), * // comment: "STRING_VALUE", * // standardControlsCount: Number("int"), * // customControlsCount: Number("int"), * // complianceType: "STRING_VALUE", * // }, * // }; * * ``` * * @param UpdateAssessmentFrameworkShareCommandInput - {@link UpdateAssessmentFrameworkShareCommandInput} * @returns {@link UpdateAssessmentFrameworkShareCommandOutput} * @see {@link UpdateAssessmentFrameworkShareCommandInput} for command's `input` shape. * @see {@link UpdateAssessmentFrameworkShareCommandOutput} for command's `response` shape. * @see {@link AuditManagerClientResolvedConfig | config} for AuditManagerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Your account isn't registered with Audit Manager. Check the delegated * administrator setup on the Audit Manager settings page, and try again.

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

An internal service error occurred during the processing of your request. Try again * later.

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

The resource that's specified in the request can't be found.

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

You've reached your account quota for this resource type. To perform the requested * action, delete some existing resources or request a quota increase from * the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and * restrictions for Audit Manager.

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

The request has invalid or missing parameters.

* * @throws {@link AuditManagerServiceException} *

Base exception class for all service exceptions from AuditManager service.

* * * @public */ export declare class UpdateAssessmentFrameworkShareCommand extends UpdateAssessmentFrameworkShareCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateAssessmentFrameworkShareRequest; output: UpdateAssessmentFrameworkShareResponse; }; sdk: { input: UpdateAssessmentFrameworkShareCommandInput; output: UpdateAssessmentFrameworkShareCommandOutput; }; }; }