import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient"; import type { UpdateActionTypeInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateActionTypeCommand}. */ export interface UpdateActionTypeCommandInput extends UpdateActionTypeInput { } /** * @public * * The output of {@link UpdateActionTypeCommand}. */ export interface UpdateActionTypeCommandOutput extends __MetadataBearer { } declare const UpdateActionTypeCommand_base: { new (input: UpdateActionTypeCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateActionTypeCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates an action type that was created with any supported integration model, where * the action type is to be used by customers of the action type provider. Use a JSON file * with the action definition and UpdateActionType to provide the full * structure.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodePipelineClient, UpdateActionTypeCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import * // const { CodePipelineClient, UpdateActionTypeCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import * // import type { CodePipelineClientConfig } from "@aws-sdk/client-codepipeline"; * const config = {}; // type is CodePipelineClientConfig * const client = new CodePipelineClient(config); * const input = { // UpdateActionTypeInput * actionType: { // ActionTypeDeclaration * description: "STRING_VALUE", * executor: { // ActionTypeExecutor * configuration: { // ExecutorConfiguration * lambdaExecutorConfiguration: { // LambdaExecutorConfiguration * lambdaFunctionArn: "STRING_VALUE", // required * }, * jobWorkerExecutorConfiguration: { // JobWorkerExecutorConfiguration * pollingAccounts: [ // PollingAccountList * "STRING_VALUE", * ], * pollingServicePrincipals: [ // PollingServicePrincipalList * "STRING_VALUE", * ], * }, * }, * type: "JobWorker" || "Lambda", // required * policyStatementsTemplate: "STRING_VALUE", * jobTimeout: Number("int"), * }, * id: { // ActionTypeIdentifier * category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval" || "Compute", // required * owner: "STRING_VALUE", // required * provider: "STRING_VALUE", // required * version: "STRING_VALUE", // required * }, * inputArtifactDetails: { // ActionTypeArtifactDetails * minimumCount: Number("int"), // required * maximumCount: Number("int"), // required * }, * outputArtifactDetails: { * minimumCount: Number("int"), // required * maximumCount: Number("int"), // required * }, * permissions: { // ActionTypePermissions * allowedAccounts: [ // AllowedAccounts // required * "STRING_VALUE", * ], * }, * properties: [ // ActionTypeProperties * { // ActionTypeProperty * name: "STRING_VALUE", // required * optional: true || false, // required * key: true || false, // required * noEcho: true || false, // required * queryable: true || false, * description: "STRING_VALUE", * }, * ], * urls: { // ActionTypeUrls * configurationUrl: "STRING_VALUE", * entityUrlTemplate: "STRING_VALUE", * executionUrlTemplate: "STRING_VALUE", * revisionUrlTemplate: "STRING_VALUE", * }, * }, * }; * const command = new UpdateActionTypeCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateActionTypeCommandInput - {@link UpdateActionTypeCommandInput} * @returns {@link UpdateActionTypeCommandOutput} * @see {@link UpdateActionTypeCommandInput} for command's `input` shape. * @see {@link UpdateActionTypeCommandOutput} for command's `response` shape. * @see {@link CodePipelineClientResolvedConfig | config} for CodePipelineClient's `config` shape. * * @throws {@link ActionTypeNotFoundException} (client fault) *

The specified action type cannot be found.

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

The request failed because of an unknown error, exception, or failure.

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

The validation was specified in an invalid format.

* * @throws {@link CodePipelineServiceException} *

Base exception class for all service exceptions from CodePipeline service.

* * * @public */ export declare class UpdateActionTypeCommand extends UpdateActionTypeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateActionTypeInput; output: {}; }; sdk: { input: UpdateActionTypeCommandInput; output: UpdateActionTypeCommandOutput; }; }; }