import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient"; import { ListConnectionGroupsRequest, ListConnectionGroupsResult } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListConnectionGroupsCommand}. */ export interface ListConnectionGroupsCommandInput extends ListConnectionGroupsRequest { } /** * @public * * The output of {@link ListConnectionGroupsCommand}. */ export interface ListConnectionGroupsCommandOutput extends ListConnectionGroupsResult, __MetadataBearer { } declare const ListConnectionGroupsCommand_base: { new (input: ListConnectionGroupsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListConnectionGroupsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists the connection groups in your Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, ListConnectionGroupsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, ListConnectionGroupsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // ListConnectionGroupsRequest * AssociationFilter: { // ConnectionGroupAssociationFilter * AnycastIpListId: "STRING_VALUE", * }, * Marker: "STRING_VALUE", * MaxItems: Number("int"), * }; * const command = new ListConnectionGroupsCommand(input); * const response = await client.send(command); * // { // ListConnectionGroupsResult * // NextMarker: "STRING_VALUE", * // ConnectionGroups: [ // ConnectionGroupSummaryList * // { // ConnectionGroupSummary * // Id: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // Arn: "STRING_VALUE", // required * // RoutingEndpoint: "STRING_VALUE", // required * // CreatedTime: new Date("TIMESTAMP"), // required * // LastModifiedTime: new Date("TIMESTAMP"), // required * // ETag: "STRING_VALUE", // required * // AnycastIpListId: "STRING_VALUE", * // Enabled: true || false, * // Status: "STRING_VALUE", * // IsDefault: true || false, * // }, * // ], * // }; * * ``` * * @param ListConnectionGroupsCommandInput - {@link ListConnectionGroupsCommandInput} * @returns {@link ListConnectionGroupsCommandOutput} * @see {@link ListConnectionGroupsCommandInput} for command's `input` shape. * @see {@link ListConnectionGroupsCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

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

The entity was not found.

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

An argument is invalid.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class ListConnectionGroupsCommand extends ListConnectionGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListConnectionGroupsRequest; output: ListConnectionGroupsResult; }; sdk: { input: ListConnectionGroupsCommandInput; output: ListConnectionGroupsCommandOutput; }; }; }