{"size": 2246, "ext": "js", "max_stars_repo_path": "node_modules/@aws-sdk/client-codepipeline/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js", "max_stars_repo_name": "snowiow/aws-codepipeline-trigger", "max_stars_repo_stars_event_min_datetime": "2021-07-28T07:54:54.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-28T07:54:54.000Z", "max_issues_repo_path": "node_modules/@aws-sdk/client-codepipeline/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js", "max_issues_repo_name": "snowiow/aws-codepipeline-trigger", "max_issues_repo_issues_event_min_datetime": "2021-07-28T13:39:39.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-09T14:22:38.000Z", "max_forks_repo_path": "node_modules/@aws-sdk/client-codepipeline/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js", "max_forks_repo_name": "snowiow/aws-codepipeline-trigger", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 21, "max_forks_count": null, "avg_line_length": 56.15, "max_line_length": 165, "alphanum_fraction": 0.7533392698}
import { __extends } from "tslib";
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import { Command as $Command } from "@aws-sdk/smithy-client";
import { DeregisterWebhookWithThirdPartyInput, DeregisterWebhookWithThirdPartyOutput } from "../models/models_0";
import { deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand, serializeAws_json1_1DeregisterWebhookWithThirdPartyCommand, } from "../protocols/Aws_json1_1";
var DeregisterWebhookWithThirdPartyCommand = (function (_super) {
    __extends(DeregisterWebhookWithThirdPartyCommand, _super);
    function DeregisterWebhookWithThirdPartyCommand(input) {
        var _this = _super.call(this) || this;
        _this.input = input;
        return _this;
    }
    DeregisterWebhookWithThirdPartyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
        this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
        var stack = clientStack.concat(this.middlewareStack);
        var logger = configuration.logger;
        var clientName = "CodePipelineClient";
        var commandName = "DeregisterWebhookWithThirdPartyCommand";
        var handlerExecutionContext = {
            logger: logger,
            clientName: clientName,
            commandName: commandName,
            inputFilterSensitiveLog: DeregisterWebhookWithThirdPartyInput.filterSensitiveLog,
            outputFilterSensitiveLog: DeregisterWebhookWithThirdPartyOutput.filterSensitiveLog,
        };
        var requestHandler = configuration.requestHandler;
        return stack.resolve(function (request) {
            return requestHandler.handle(request.request, options || {});
        }, handlerExecutionContext);
    };
    DeregisterWebhookWithThirdPartyCommand.prototype.serialize = function (input, context) {
        return serializeAws_json1_1DeregisterWebhookWithThirdPartyCommand(input, context);
    };
    DeregisterWebhookWithThirdPartyCommand.prototype.deserialize = function (output, context) {
        return deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand(output, context);
    };
    return DeregisterWebhookWithThirdPartyCommand;
}($Command));
export { DeregisterWebhookWithThirdPartyCommand };
