import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GreengrassClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassClient"; import type { GetGroupCertificateAuthorityRequest, GetGroupCertificateAuthorityResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetGroupCertificateAuthorityCommand}. */ export interface GetGroupCertificateAuthorityCommandInput extends GetGroupCertificateAuthorityRequest { } /** * @public * * The output of {@link GetGroupCertificateAuthorityCommand}. */ export interface GetGroupCertificateAuthorityCommandOutput extends GetGroupCertificateAuthorityResponse, __MetadataBearer { } declare const GetGroupCertificateAuthorityCommand_base: { new (input: GetGroupCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetGroupCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Retreives the CA associated with a group. Returns the public key of the CA. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, GetGroupCertificateAuthorityCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, GetGroupCertificateAuthorityCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import * // import type { GreengrassClientConfig } from "@aws-sdk/client-greengrass"; * const config = {}; // type is GreengrassClientConfig * const client = new GreengrassClient(config); * const input = { // GetGroupCertificateAuthorityRequest * CertificateAuthorityId: "STRING_VALUE", // required * GroupId: "STRING_VALUE", // required * }; * const command = new GetGroupCertificateAuthorityCommand(input); * const response = await client.send(command); * // { // GetGroupCertificateAuthorityResponse * // GroupCertificateAuthorityArn: "STRING_VALUE", * // GroupCertificateAuthorityId: "STRING_VALUE", * // PemEncodedCertificate: "STRING_VALUE", * // }; * * ``` * * @param GetGroupCertificateAuthorityCommandInput - {@link GetGroupCertificateAuthorityCommandInput} * @returns {@link GetGroupCertificateAuthorityCommandOutput} * @see {@link GetGroupCertificateAuthorityCommandInput} for command's `input` shape. * @see {@link GetGroupCertificateAuthorityCommandOutput} for command's `response` shape. * @see {@link GreengrassClientResolvedConfig | config} for GreengrassClient's `config` shape. * * @throws {@link BadRequestException} (client fault) * General error information. * * @throws {@link InternalServerErrorException} (server fault) * General error information. * * @throws {@link GreengrassServiceException} *

Base exception class for all service exceptions from Greengrass service.

* * * @public */ export declare class GetGroupCertificateAuthorityCommand extends GetGroupCertificateAuthorityCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetGroupCertificateAuthorityRequest; output: GetGroupCertificateAuthorityResponse; }; sdk: { input: GetGroupCertificateAuthorityCommandInput; output: GetGroupCertificateAuthorityCommandOutput; }; }; }