Files
personal_site/frontend/node_modules/@aws-sdk/client-ec2/dist-es/commands/CopySnapshotCommand.js
T

21 lines
749 B
JavaScript

import { getCopySnapshotPresignedUrlPlugin } from "@aws-sdk/middleware-sdk-ec2";
import { Command as $Command } from "@smithy/core/client";
import { getEndpointPlugin } from "@smithy/core/endpoints";
import { commonParams } from "../endpoint/EndpointParameters";
import { CopySnapshot$ } from "../schemas/schemas_0";
export { $Command };
export class CopySnapshotCommand extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getCopySnapshotPresignedUrlPlugin(config),
];
})
.s("AmazonEC2", "CopySnapshot", {})
.n("EC2Client", "CopySnapshotCommand")
.sc(CopySnapshot$)
.build() {
}