import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateProfileInput, UpdateProfileOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateProfileCommand}. */ export interface UpdateProfileCommandInput extends UpdateProfileInput { } /** * @public * * The output of {@link UpdateProfileCommand}. */ export interface UpdateProfileCommandOutput extends UpdateProfileOutput, __MetadataBearer { } declare const UpdateProfileCommand_base: { new (input: UpdateProfileCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateProfileCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Update a profile.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WellArchitectedClient, UpdateProfileCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import * // const { WellArchitectedClient, UpdateProfileCommand } = 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 = { // UpdateProfileInput * ProfileArn: "STRING_VALUE", // required * ProfileDescription: "STRING_VALUE", * ProfileQuestions: [ // ProfileQuestionUpdates * { // ProfileQuestionUpdate * QuestionId: "STRING_VALUE", * SelectedChoiceIds: [ // SelectedProfileChoiceIds * "STRING_VALUE", * ], * }, * ], * }; * const command = new UpdateProfileCommand(input); * const response = await client.send(command); * // { // UpdateProfileOutput * // Profile: { // Profile * // ProfileArn: "STRING_VALUE", * // ProfileVersion: "STRING_VALUE", * // ProfileName: "STRING_VALUE", * // ProfileDescription: "STRING_VALUE", * // ProfileQuestions: [ // ProfileQuestions * // { // ProfileQuestion * // QuestionId: "STRING_VALUE", * // QuestionTitle: "STRING_VALUE", * // QuestionDescription: "STRING_VALUE", * // QuestionChoices: [ // ProfileQuestionChoices * // { // ProfileChoice * // ChoiceId: "STRING_VALUE", * // ChoiceTitle: "STRING_VALUE", * // ChoiceDescription: "STRING_VALUE", * // }, * // ], * // SelectedChoiceIds: [ // SelectedChoiceIds * // "STRING_VALUE", * // ], * // MinSelectedChoices: Number("int"), * // MaxSelectedChoices: Number("int"), * // }, * // ], * // Owner: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), * // UpdatedAt: new Date("TIMESTAMP"), * // ShareInvitationId: "STRING_VALUE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param UpdateProfileCommandInput - {@link UpdateProfileCommandInput} * @returns {@link UpdateProfileCommandOutput} * @see {@link UpdateProfileCommandInput} for command's `input` shape. * @see {@link UpdateProfileCommandOutput} 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 UpdateProfileCommand extends UpdateProfileCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateProfileInput; output: UpdateProfileOutput; }; sdk: { input: UpdateProfileCommandInput; output: UpdateProfileCommandOutput; }; }; }