@aws-sdk/client-ssm
Version:
AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native
82 lines (81 loc) • 3.48 kB
TypeScript
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { DeleteCloudConnectorRequest, DeleteCloudConnectorResult } from "../models/models_0";
/**
* @public
*/
export type { __MetadataBearer };
/**
* @public
*
* The input for {@link DeleteCloudConnectorCommand}.
*/
export interface DeleteCloudConnectorCommandInput extends DeleteCloudConnectorRequest {
}
/**
* @public
*
* The output of {@link DeleteCloudConnectorCommand}.
*/
export interface DeleteCloudConnectorCommandOutput extends DeleteCloudConnectorResult, __MetadataBearer {
}
declare const DeleteCloudConnectorCommand_base: {
new (input: DeleteCloudConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteCloudConnectorCommandInput, DeleteCloudConnectorCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
new (input: DeleteCloudConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteCloudConnectorCommandInput, DeleteCloudConnectorCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
};
/**
* <p>Deletes a cloud connector.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { SSMClient, DeleteCloudConnectorCommand } from "@aws-sdk/client-ssm"; // ES Modules import
* // const { SSMClient, DeleteCloudConnectorCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
* // import type { SSMClientConfig } from "@aws-sdk/client-ssm";
* const config = {}; // type is SSMClientConfig
* const client = new SSMClient(config);
* const input = { // DeleteCloudConnectorRequest
* CloudConnectorId: "STRING_VALUE", // required
* };
* const command = new DeleteCloudConnectorCommand(input);
* const response = await client.send(command);
* // { // DeleteCloudConnectorResult
* // CloudConnectorId: "STRING_VALUE",
* // };
*
* ```
*
* @param DeleteCloudConnectorCommandInput - {@link DeleteCloudConnectorCommandInput}
* @returns {@link DeleteCloudConnectorCommandOutput}
* @see {@link DeleteCloudConnectorCommandInput} for command's `input` shape.
* @see {@link DeleteCloudConnectorCommandOutput} for command's `response` shape.
* @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
*
* @throws {@link ConflictException} (client fault)
* <p>An error occurred because of a conflict with a concurrent request or the current state of
* the resource. Retry your request.</p>
*
* @throws {@link InternalServerError} (server fault)
* <p>An error occurred on the server side.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The specified parameter to be shared could not be found.</p>
*
* @throws {@link SSMServiceException}
* <p>Base exception class for all service exceptions from SSM service.</p>
*
*
* @public
*/
export declare class DeleteCloudConnectorCommand extends DeleteCloudConnectorCommand_base {
/** @internal type navigation helper, not in runtime. */
protected static __types: {
api: {
input: DeleteCloudConnectorRequest;
output: DeleteCloudConnectorResult;
};
sdk: {
input: DeleteCloudConnectorCommandInput;
output: DeleteCloudConnectorCommandOutput;
};
};
}