@aws-sdk/client-lambda
Version:
AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native
98 lines (97 loc) • 4.47 kB
TypeScript
import { Command as $Command } from "@smithy/smithy-client";
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import type { ListCodeSigningConfigsRequest, ListCodeSigningConfigsResponse } from "../models/models_0";
/**
* @public
*/
export type { __MetadataBearer };
export { $Command };
/**
* @public
*
* The input for {@link ListCodeSigningConfigsCommand}.
*/
export interface ListCodeSigningConfigsCommandInput extends ListCodeSigningConfigsRequest {
}
/**
* @public
*
* The output of {@link ListCodeSigningConfigsCommand}.
*/
export interface ListCodeSigningConfigsCommandOutput extends ListCodeSigningConfigsResponse, __MetadataBearer {
}
declare const ListCodeSigningConfigsCommand_base: {
new (input: ListCodeSigningConfigsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
new (...[input]: [] | [ListCodeSigningConfigsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
};
/**
* <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuring-codesigning.html">code signing configurations</a>. A request returns up to 10,000 configurations per call. You can use the <code>MaxItems</code> parameter to return fewer configurations per call. </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, ListCodeSigningConfigsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, ListCodeSigningConfigsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
* const config = {}; // type is LambdaClientConfig
* const client = new LambdaClient(config);
* const input = { // ListCodeSigningConfigsRequest
* Marker: "STRING_VALUE",
* MaxItems: Number("int"),
* };
* const command = new ListCodeSigningConfigsCommand(input);
* const response = await client.send(command);
* // { // ListCodeSigningConfigsResponse
* // NextMarker: "STRING_VALUE",
* // CodeSigningConfigs: [ // CodeSigningConfigList
* // { // CodeSigningConfig
* // CodeSigningConfigId: "STRING_VALUE", // required
* // CodeSigningConfigArn: "STRING_VALUE", // required
* // Description: "STRING_VALUE",
* // AllowedPublishers: { // AllowedPublishers
* // SigningProfileVersionArns: [ // SigningProfileVersionArns // required
* // "STRING_VALUE",
* // ],
* // },
* // CodeSigningPolicies: { // CodeSigningPolicies
* // UntrustedArtifactOnDeployment: "Warn" || "Enforce",
* // },
* // LastModified: "STRING_VALUE", // required
* // },
* // ],
* // };
*
* ```
*
* @param ListCodeSigningConfigsCommandInput - {@link ListCodeSigningConfigsCommandInput}
* @returns {@link ListCodeSigningConfigsCommandOutput}
* @see {@link ListCodeSigningConfigsCommandInput} for command's `input` shape.
* @see {@link ListCodeSigningConfigsCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*
* @public
*/
export declare class ListCodeSigningConfigsCommand extends ListCodeSigningConfigsCommand_base {
/** @internal type navigation helper, not in runtime. */
protected static __types: {
api: {
input: ListCodeSigningConfigsRequest;
output: ListCodeSigningConfigsResponse;
};
sdk: {
input: ListCodeSigningConfigsCommandInput;
output: ListCodeSigningConfigsCommandOutput;
};
};
}