import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateResourceShareRequest, UpdateResourceShareResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateResourceShareCommand}. */ export interface UpdateResourceShareCommandInput extends UpdateResourceShareRequest { } /** * @public * * The output of {@link UpdateResourceShareCommand}. */ export interface UpdateResourceShareCommandOutput extends UpdateResourceShareResponse, __MetadataBearer { } declare const UpdateResourceShareCommand_base: { new (input: UpdateResourceShareCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateResourceShareCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Modifies some of the properties of the specified resource share.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RAMClient, UpdateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import * // const { RAMClient, UpdateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import * // import type { RAMClientConfig } from "@aws-sdk/client-ram"; * const config = {}; // type is RAMClientConfig * const client = new RAMClient(config); * const input = { // UpdateResourceShareRequest * resourceShareArn: "STRING_VALUE", // required * name: "STRING_VALUE", * allowExternalPrincipals: true || false, * clientToken: "STRING_VALUE", * }; * const command = new UpdateResourceShareCommand(input); * const response = await client.send(command); * // { // UpdateResourceShareResponse * // resourceShare: { // ResourceShare * // resourceShareArn: "STRING_VALUE", * // name: "STRING_VALUE", * // owningAccountId: "STRING_VALUE", * // allowExternalPrincipals: true || false, * // status: "PENDING" || "ACTIVE" || "FAILED" || "DELETING" || "DELETED", * // statusMessage: "STRING_VALUE", * // tags: [ // TagList * // { // Tag * // key: "STRING_VALUE", * // value: "STRING_VALUE", * // }, * // ], * // creationTime: new Date("TIMESTAMP"), * // lastUpdatedTime: new Date("TIMESTAMP"), * // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD", * // resourceShareConfiguration: { // ResourceShareConfiguration * // retainSharingOnAccountLeaveOrganization: true || false, * // }, * // }, * // clientToken: "STRING_VALUE", * // }; * * ``` * * @param UpdateResourceShareCommandInput - {@link UpdateResourceShareCommandInput} * @returns {@link UpdateResourceShareCommandOutput} * @see {@link UpdateResourceShareCommandInput} for command's `input` shape. * @see {@link UpdateResourceShareCommandOutput} for command's `response` shape. * @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape. * * @throws {@link IdempotentParameterMismatchException} (client fault) *

The operation failed because the client token input parameter matched one that was * used with a previous call to the operation, but at least one of the other input * parameters is different from the previous call.

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

The operation failed because the specified client token isn't valid.

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

The operation failed because a parameter you specified isn't valid.

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

The operation failed because the specified Amazon Resource Name (ARN) has a format that isn't * valid.

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

The operation failed because a required input parameter is missing.

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

The operation failed because the requested operation isn't permitted.

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

The operation failed because the service could not respond to the request due to an * internal problem. Try again later.

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

The operation failed because the service isn't available. Try again later.

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

The operation failed because a specified resource couldn't be found.

* * @throws {@link RAMServiceException} *

Base exception class for all service exceptions from RAM service.

* * * @public */ export declare class UpdateResourceShareCommand extends UpdateResourceShareCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateResourceShareRequest; output: UpdateResourceShareResponse; }; sdk: { input: UpdateResourceShareCommandInput; output: UpdateResourceShareCommandOutput; }; }; }