import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateRecommenderConfigurationRequest, UpdateRecommenderConfigurationResponse } from "../models/models_1"; import type { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateRecommenderConfigurationCommand}. */ export interface UpdateRecommenderConfigurationCommandInput extends UpdateRecommenderConfigurationRequest { } /** * @public * * The output of {@link UpdateRecommenderConfigurationCommand}. */ export interface UpdateRecommenderConfigurationCommandOutput extends UpdateRecommenderConfigurationResponse, __MetadataBearer { } declare const UpdateRecommenderConfigurationCommand_base: { new (input: UpdateRecommenderConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateRecommenderConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates an Amazon Pinpoint configuration for a recommender model.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PinpointClient, UpdateRecommenderConfigurationCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import * // const { PinpointClient, UpdateRecommenderConfigurationCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import * // import type { PinpointClientConfig } from "@aws-sdk/client-pinpoint"; * const config = {}; // type is PinpointClientConfig * const client = new PinpointClient(config); * const input = { // UpdateRecommenderConfigurationRequest * RecommenderId: "STRING_VALUE", // required * UpdateRecommenderConfiguration: { // UpdateRecommenderConfigurationShape * Attributes: { // MapOf__string * "": "STRING_VALUE", * }, * Description: "STRING_VALUE", * Name: "STRING_VALUE", * RecommendationProviderIdType: "STRING_VALUE", * RecommendationProviderRoleArn: "STRING_VALUE", // required * RecommendationProviderUri: "STRING_VALUE", // required * RecommendationTransformerUri: "STRING_VALUE", * RecommendationsDisplayName: "STRING_VALUE", * RecommendationsPerMessage: Number("int"), * }, * }; * const command = new UpdateRecommenderConfigurationCommand(input); * const response = await client.send(command); * // { // UpdateRecommenderConfigurationResponse * // RecommenderConfigurationResponse: { // RecommenderConfigurationResponse * // Attributes: { // MapOf__string * // "": "STRING_VALUE", * // }, * // CreationDate: "STRING_VALUE", // required * // Description: "STRING_VALUE", * // Id: "STRING_VALUE", // required * // LastModifiedDate: "STRING_VALUE", // required * // Name: "STRING_VALUE", * // RecommendationProviderIdType: "STRING_VALUE", * // RecommendationProviderRoleArn: "STRING_VALUE", // required * // RecommendationProviderUri: "STRING_VALUE", // required * // RecommendationTransformerUri: "STRING_VALUE", * // RecommendationsDisplayName: "STRING_VALUE", * // RecommendationsPerMessage: Number("int"), * // }, * // }; * * ``` * * @param UpdateRecommenderConfigurationCommandInput - {@link UpdateRecommenderConfigurationCommandInput} * @returns {@link UpdateRecommenderConfigurationCommandOutput} * @see {@link UpdateRecommenderConfigurationCommandInput} for command's `input` shape. * @see {@link UpdateRecommenderConfigurationCommandOutput} for command's `response` shape. * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

* * @throws {@link PinpointServiceException} *

Base exception class for all service exceptions from Pinpoint service.

* * * @public */ export declare class UpdateRecommenderConfigurationCommand extends UpdateRecommenderConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateRecommenderConfigurationRequest; output: UpdateRecommenderConfigurationResponse; }; sdk: { input: UpdateRecommenderConfigurationCommandInput; output: UpdateRecommenderConfigurationCommandOutput; }; }; }