import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient"; import type { DescribeGlobalReplicationGroupsMessage, DescribeGlobalReplicationGroupsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeGlobalReplicationGroupsCommand}. */ export interface DescribeGlobalReplicationGroupsCommandInput extends DescribeGlobalReplicationGroupsMessage { } /** * @public * * The output of {@link DescribeGlobalReplicationGroupsCommand}. */ export interface DescribeGlobalReplicationGroupsCommandOutput extends DescribeGlobalReplicationGroupsResult, __MetadataBearer { } declare const DescribeGlobalReplicationGroupsCommand_base: { new (input: DescribeGlobalReplicationGroupsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeGlobalReplicationGroupsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns information about a particular global replication group. If no identifier is * specified, returns information about all Global datastores.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElastiCacheClient, DescribeGlobalReplicationGroupsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import * // const { ElastiCacheClient, DescribeGlobalReplicationGroupsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import * // import type { ElastiCacheClientConfig } from "@aws-sdk/client-elasticache"; * const config = {}; // type is ElastiCacheClientConfig * const client = new ElastiCacheClient(config); * const input = { // DescribeGlobalReplicationGroupsMessage * GlobalReplicationGroupId: "STRING_VALUE", * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * ShowMemberInfo: true || false, * }; * const command = new DescribeGlobalReplicationGroupsCommand(input); * const response = await client.send(command); * // { // DescribeGlobalReplicationGroupsResult * // Marker: "STRING_VALUE", * // GlobalReplicationGroups: [ // GlobalReplicationGroupList * // { // GlobalReplicationGroup * // GlobalReplicationGroupId: "STRING_VALUE", * // GlobalReplicationGroupDescription: "STRING_VALUE", * // Status: "STRING_VALUE", * // CacheNodeType: "STRING_VALUE", * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // Members: [ // GlobalReplicationGroupMemberList * // { // GlobalReplicationGroupMember * // ReplicationGroupId: "STRING_VALUE", * // ReplicationGroupRegion: "STRING_VALUE", * // Role: "STRING_VALUE", * // AutomaticFailover: "enabled" || "disabled" || "enabling" || "disabling", * // Status: "STRING_VALUE", * // }, * // ], * // ClusterEnabled: true || false, * // GlobalNodeGroups: [ // GlobalNodeGroupList * // { // GlobalNodeGroup * // GlobalNodeGroupId: "STRING_VALUE", * // Slots: "STRING_VALUE", * // }, * // ], * // AuthTokenEnabled: true || false, * // TransitEncryptionEnabled: true || false, * // AtRestEncryptionEnabled: true || false, * // ARN: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeGlobalReplicationGroupsCommandInput - {@link DescribeGlobalReplicationGroupsCommandInput} * @returns {@link DescribeGlobalReplicationGroupsCommandOutput} * @see {@link DescribeGlobalReplicationGroupsCommandInput} for command's `input` shape. * @see {@link DescribeGlobalReplicationGroupsCommandOutput} for command's `response` shape. * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape. * * @throws {@link GlobalReplicationGroupNotFoundFault} (client fault) *

The Global datastore does not exist

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

Two or more incompatible parameters were specified.

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

The value for a parameter is invalid.

* * @throws {@link ElastiCacheServiceException} *

Base exception class for all service exceptions from ElastiCache service.

* * * @public */ export declare class DescribeGlobalReplicationGroupsCommand extends DescribeGlobalReplicationGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeGlobalReplicationGroupsMessage; output: DescribeGlobalReplicationGroupsResult; }; sdk: { input: DescribeGlobalReplicationGroupsCommandInput; output: DescribeGlobalReplicationGroupsCommandOutput; }; }; }