"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RunScheduledInstancesRequestFilterSensitiveLog = exports.ScheduledInstancesLaunchSpecificationFilterSensitiveLog = exports.RunInstancesRequestFilterSensitiveLog = exports.RequestSpotInstancesResultFilterSensitiveLog = exports.RequestSpotInstancesRequestFilterSensitiveLog = exports.RequestSpotLaunchSpecificationFilterSensitiveLog = exports.MembershipType = exports.ResetImageAttributeName = exports.ResetFpgaImageAttributeName = void 0;
const smithy_client_1 = require("@smithy/smithy-client");
const models_4_1 = require("./models_4");
exports.ResetFpgaImageAttributeName = {
    loadPermission: "loadPermission",
};
exports.ResetImageAttributeName = {
    launchPermission: "launchPermission",
};
exports.MembershipType = {
    igmp: "igmp",
    static: "static",
};
const RequestSpotLaunchSpecificationFilterSensitiveLog = (obj) => ({
    ...obj,
    ...(obj.UserData && { UserData: smithy_client_1.SENSITIVE_STRING }),
});
exports.RequestSpotLaunchSpecificationFilterSensitiveLog = RequestSpotLaunchSpecificationFilterSensitiveLog;
const RequestSpotInstancesRequestFilterSensitiveLog = (obj) => ({
    ...obj,
    ...(obj.LaunchSpecification && {
        LaunchSpecification: (0, exports.RequestSpotLaunchSpecificationFilterSensitiveLog)(obj.LaunchSpecification),
    }),
});
exports.RequestSpotInstancesRequestFilterSensitiveLog = RequestSpotInstancesRequestFilterSensitiveLog;
const RequestSpotInstancesResultFilterSensitiveLog = (obj) => ({
    ...obj,
    ...(obj.SpotInstanceRequests && {
        SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => (0, models_4_1.SpotInstanceRequestFilterSensitiveLog)(item)),
    }),
});
exports.RequestSpotInstancesResultFilterSensitiveLog = RequestSpotInstancesResultFilterSensitiveLog;
const RunInstancesRequestFilterSensitiveLog = (obj) => ({
    ...obj,
    ...(obj.UserData && { UserData: smithy_client_1.SENSITIVE_STRING }),
});
exports.RunInstancesRequestFilterSensitiveLog = RunInstancesRequestFilterSensitiveLog;
const ScheduledInstancesLaunchSpecificationFilterSensitiveLog = (obj) => ({
    ...obj,
});
exports.ScheduledInstancesLaunchSpecificationFilterSensitiveLog = ScheduledInstancesLaunchSpecificationFilterSensitiveLog;
const RunScheduledInstancesRequestFilterSensitiveLog = (obj) => ({
    ...obj,
    ...(obj.LaunchSpecification && { LaunchSpecification: smithy_client_1.SENSITIVE_STRING }),
});
exports.RunScheduledInstancesRequestFilterSensitiveLog = RunScheduledInstancesRequestFilterSensitiveLog;
