import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateWorkloadShareInput, UpdateWorkloadShareOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateWorkloadShareCommand}. */ export interface UpdateWorkloadShareCommandInput extends UpdateWorkloadShareInput { } /** * @public * * The output of {@link UpdateWorkloadShareCommand}. */ export interface UpdateWorkloadShareCommandOutput extends UpdateWorkloadShareOutput, __MetadataBearer { } declare const UpdateWorkloadShareCommand_base: { new (input: UpdateWorkloadShareCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateWorkloadShareCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Update a workload share.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WellArchitectedClient, UpdateWorkloadShareCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import * // const { WellArchitectedClient, UpdateWorkloadShareCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import * // import type { WellArchitectedClientConfig } from "@aws-sdk/client-wellarchitected"; * const config = {}; // type is WellArchitectedClientConfig * const client = new WellArchitectedClient(config); * const input = { // UpdateWorkloadShareInput * ShareId: "STRING_VALUE", // required * WorkloadId: "STRING_VALUE", // required * PermissionType: "READONLY" || "CONTRIBUTOR", // required * }; * const command = new UpdateWorkloadShareCommand(input); * const response = await client.send(command); * // { // UpdateWorkloadShareOutput * // WorkloadId: "STRING_VALUE", * // WorkloadShare: { // WorkloadShare * // ShareId: "STRING_VALUE", * // SharedBy: "STRING_VALUE", * // SharedWith: "STRING_VALUE", * // PermissionType: "READONLY" || "CONTRIBUTOR", * // Status: "ACCEPTED" || "REJECTED" || "PENDING" || "REVOKED" || "EXPIRED" || "ASSOCIATING" || "ASSOCIATED" || "FAILED", * // WorkloadName: "STRING_VALUE", * // WorkloadId: "STRING_VALUE", * // }, * // }; * * ``` * * @param UpdateWorkloadShareCommandInput - {@link UpdateWorkloadShareCommandInput} * @returns {@link UpdateWorkloadShareCommandOutput} * @see {@link UpdateWorkloadShareCommandInput} for command's `input` shape. * @see {@link UpdateWorkloadShareCommandOutput} for command's `response` shape. * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User does not have sufficient access to perform this action.

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

The resource has already been processed, was deleted, or is too large.

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

There is a problem with the Well-Architected Tool API service.

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

The requested resource was not found.

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

Request was denied due to request throttling.

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

The user input is not valid.

* * @throws {@link WellArchitectedServiceException} *

Base exception class for all service exceptions from WellArchitected service.

* * * @public */ export declare class UpdateWorkloadShareCommand extends UpdateWorkloadShareCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateWorkloadShareInput; output: UpdateWorkloadShareOutput; }; sdk: { input: UpdateWorkloadShareCommandInput; output: UpdateWorkloadShareCommandOutput; }; }; }