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 { DisassociateServiceRoleFromAccountRequest, DisassociateServiceRoleFromAccountResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DisassociateServiceRoleFromAccountCommand}. */ export interface DisassociateServiceRoleFromAccountCommandInput extends DisassociateServiceRoleFromAccountRequest { } /** * @public * * The output of {@link DisassociateServiceRoleFromAccountCommand}. */ export interface DisassociateServiceRoleFromAccountCommandOutput extends DisassociateServiceRoleFromAccountResponse, __MetadataBearer { } declare const DisassociateServiceRoleFromAccountCommand_base: { new (input: DisassociateServiceRoleFromAccountCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DisassociateServiceRoleFromAccountCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Disassociates the service role from your account. Without a service role, deployments will not work. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, DisassociateServiceRoleFromAccountCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, DisassociateServiceRoleFromAccountCommand } = 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 = {}; * const command = new DisassociateServiceRoleFromAccountCommand(input); * const response = await client.send(command); * // { // DisassociateServiceRoleFromAccountResponse * // DisassociatedAt: "STRING_VALUE", * // }; * * ``` * * @param DisassociateServiceRoleFromAccountCommandInput - {@link DisassociateServiceRoleFromAccountCommandInput} * @returns {@link DisassociateServiceRoleFromAccountCommandOutput} * @see {@link DisassociateServiceRoleFromAccountCommandInput} for command's `input` shape. * @see {@link DisassociateServiceRoleFromAccountCommandOutput} for command's `response` shape. * @see {@link GreengrassClientResolvedConfig | config} for GreengrassClient's `config` shape. * * @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 DisassociateServiceRoleFromAccountCommand extends DisassociateServiceRoleFromAccountCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: DisassociateServiceRoleFromAccountResponse; }; sdk: { input: DisassociateServiceRoleFromAccountCommandInput; output: DisassociateServiceRoleFromAccountCommandOutput; }; }; }