cdk-iot-greengrass-fleet-provisioning
Version:
CDK Construct for AWS IoT Greengrass Fleet Provisioning (with AWS IoT Certificates)
9 lines (8 loc) • 786 B
TypeScript
import { IoTClient, DeleteCertificateCommandInput, DeleteCertificateCommandOutput, CreateKeysAndCertificateCommandOutput, DescribeEndpointCommandInput, DescribeEndpointCommandOutput, UpdateCertificateCommandInput, UpdateCertificateCommandOutput } from '@aws-sdk/client-iot';
export interface IoTClientPort {
createKeysAndCertificate: () => Promise<CreateKeysAndCertificateCommandOutput>;
deleteCertificate: (input: DeleteCertificateCommandInput) => Promise<DeleteCertificateCommandOutput>;
describeEndpoint: (input: DescribeEndpointCommandInput) => Promise<DescribeEndpointCommandOutput>;
updateCertificate: (input: UpdateCertificateCommandInput) => Promise<UpdateCertificateCommandOutput>;
}
export declare const IoTClientAdapter: (client: IoTClient) => IoTClientPort;