import * as HttpClient from "effect/unstable/http/HttpClient";
import * as S from "effect/Schema";
import * as stream from "effect/Stream";
import * as API from "../client/api.js";
import * as T from "../traits.js";
import * as C from "../category.js";
const svc = T.AwsApiService({
    sdkId: "SSM QuickSetup",
    serviceShapeName: "QuickSetup",
});
const auth = T.AwsAuthSigv4({ name: "ssm-quicksetup" });
const ver = T.ServiceVersion("2018-05-10");
const proto = T.AwsProtocolsRestJson1();
const rules = T.EndpointResolver((p, _) => {
    const { Region, UseDualStack = false, UseFIPS = false, Endpoint } = p;
    const e = (u, p = {}, h = {}) => ({
        type: "endpoint",
        endpoint: { url: u, properties: p, headers: h },
    });
    const err = (m) => ({
        type: "error",
        message: m,
    });
    if (Endpoint != null) {
        if (UseFIPS === true) {
            return err("Invalid Configuration: FIPS and custom endpoint are not supported");
        }
        if (UseDualStack === true) {
            return err("Invalid Configuration: Dualstack and custom endpoint are not supported");
        }
        return e(Endpoint);
    }
    if (Region != null) {
        {
            const PartitionResult = _.partition(Region);
            if (PartitionResult != null && PartitionResult !== false) {
                if (UseFIPS === true && UseDualStack === true) {
                    if (true === _.getAttr(PartitionResult, "supportsFIPS") &&
                        true === _.getAttr(PartitionResult, "supportsDualStack")) {
                        return e(`https://ssm-quicksetup-fips.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`);
                    }
                    return err("FIPS and DualStack are enabled, but this partition does not support one or both");
                }
                if (UseFIPS === true) {
                    if (_.getAttr(PartitionResult, "supportsFIPS") === true) {
                        return e(`https://ssm-quicksetup-fips.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`);
                    }
                    return err("FIPS is enabled but this partition does not support FIPS");
                }
                if (UseDualStack === true) {
                    if (true === _.getAttr(PartitionResult, "supportsDualStack")) {
                        return e(`https://ssm-quicksetup.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`);
                    }
                    return err("DualStack is enabled but this partition does not support DualStack");
                }
                return e(`https://ssm-quicksetup.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`);
            }
        }
    }
    return err("Invalid Configuration: Missing Region");
});
export const ConfigurationParametersMap = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, S.String.pipe(S.optional));
export const ConfigurationDefinitionInput = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    Type: S.String,
    Parameters: ConfigurationParametersMap,
    TypeVersion: S.optional(S.String),
    LocalDeploymentExecutionRoleName: S.optional(S.String),
    LocalDeploymentAdministrationRoleArn: S.optional(S.String),
})).annotate({
    identifier: "ConfigurationDefinitionInput",
});
export const ConfigurationDefinitionsInputList = 
/*@__PURE__*/ /*#__PURE__*/ S.Array(ConfigurationDefinitionInput);
export const TagsMap = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, S.String.pipe(S.optional));
export const CreateConfigurationManagerInput = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    Name: S.optional(S.String),
    Description: S.optional(S.String),
    ConfigurationDefinitions: ConfigurationDefinitionsInputList,
    Tags: S.optional(TagsMap),
}).pipe(T.all(T.Http({ method: "POST", uri: "/configurationManager" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "CreateConfigurationManagerInput",
});
export const CreateConfigurationManagerOutput = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ManagerArn: S.String })).annotate({
    identifier: "CreateConfigurationManagerOutput",
});
export const DeleteConfigurationManagerInput = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ManagerArn: S.String.pipe(T.HttpLabel("ManagerArn")) }).pipe(T.all(T.Http({ method: "DELETE", uri: "/configurationManager/{ManagerArn}" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "DeleteConfigurationManagerInput",
});
export const DeleteConfigurationManagerResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({
    identifier: "DeleteConfigurationManagerResponse",
});
export const GetConfigurationInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ConfigurationId: S.String.pipe(T.HttpLabel("ConfigurationId")),
}).pipe(T.all(T.Http({ method: "GET", uri: "/getConfiguration/{ConfigurationId}" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "GetConfigurationInput",
});
export const StatusType = /*@__PURE__*/ /*#__PURE__*/ S.String;
export const Status = /*@__PURE__*/ /*#__PURE__*/ S.String;
export const StatusDetails = /*@__PURE__*/ /*#__PURE__*/ S.Record(S.String, S.String.pipe(S.optional));
export const StatusSummary = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    StatusType: StatusType,
    Status: S.optional(Status),
    StatusMessage: S.optional(S.String),
    LastUpdatedAt: T.DateFromString.pipe(T.TimestampFormat("date-time")),
    StatusDetails: S.optional(StatusDetails),
})).annotate({ identifier: "StatusSummary" });
export const StatusSummariesList = 
/*@__PURE__*/ /*#__PURE__*/ S.Array(StatusSummary);
export const GetConfigurationOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    Id: S.optional(S.String),
    ManagerArn: S.optional(S.String),
    ConfigurationDefinitionId: S.optional(S.String),
    Type: S.optional(S.String),
    TypeVersion: S.optional(S.String),
    Account: S.optional(S.String),
    Region: S.optional(S.String),
    CreatedAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))),
    LastModifiedAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))),
    StatusSummaries: S.optional(StatusSummariesList),
    Parameters: S.optional(ConfigurationParametersMap),
})).annotate({
    identifier: "GetConfigurationOutput",
});
export const GetConfigurationManagerInput = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ManagerArn: S.String.pipe(T.HttpLabel("ManagerArn")) }).pipe(T.all(T.Http({ method: "GET", uri: "/configurationManager/{ManagerArn}" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "GetConfigurationManagerInput",
});
export const ConfigurationDefinition = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    Type: S.String,
    Parameters: ConfigurationParametersMap,
    TypeVersion: S.optional(S.String),
    LocalDeploymentExecutionRoleName: S.optional(S.String),
    LocalDeploymentAdministrationRoleArn: S.optional(S.String),
    Id: S.optional(S.String),
})).annotate({
    identifier: "ConfigurationDefinition",
});
export const ConfigurationDefinitionsList = /*@__PURE__*/ /*#__PURE__*/ S.Array(ConfigurationDefinition);
export const GetConfigurationManagerOutput = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ManagerArn: S.String,
    Description: S.optional(S.String),
    Name: S.optional(S.String),
    CreatedAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))),
    LastModifiedAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))),
    StatusSummaries: S.optional(StatusSummariesList),
    ConfigurationDefinitions: S.optional(ConfigurationDefinitionsList),
    Tags: S.optional(TagsMap),
})).annotate({
    identifier: "GetConfigurationManagerOutput",
});
export const GetServiceSettingsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "GetServiceSettingsRequest",
});
export const ServiceSettings = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ExplorerEnablingRoleArn: S.optional(S.String) })).annotate({
    identifier: "ServiceSettings",
});
export const GetServiceSettingsOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ServiceSettings: S.optional(ServiceSettings) })).annotate({
    identifier: "GetServiceSettingsOutput",
});
export const FilterValues = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String);
export const Filter = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Key: S.String, Values: FilterValues })).annotate({ identifier: "Filter" });
export const FiltersList = /*@__PURE__*/ /*#__PURE__*/ S.Array(Filter);
export const ListConfigurationManagersInput = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    StartingToken: S.optional(S.String),
    MaxItems: S.optional(S.Number),
    Filters: S.optional(FiltersList),
}).pipe(T.all(T.Http({ method: "POST", uri: "/listConfigurationManagers" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "ListConfigurationManagersInput",
});
export const ConfigurationDefinitionSummary = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    Id: S.optional(S.String),
    Type: S.optional(S.String),
    TypeVersion: S.optional(S.String),
    FirstClassParameters: S.optional(ConfigurationParametersMap),
})).annotate({
    identifier: "ConfigurationDefinitionSummary",
});
export const ConfigurationDefinitionSummariesList = 
/*@__PURE__*/ /*#__PURE__*/ S.Array(ConfigurationDefinitionSummary);
export const ConfigurationManagerSummary = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ManagerArn: S.String,
    Description: S.optional(S.String),
    Name: S.optional(S.String),
    StatusSummaries: S.optional(StatusSummariesList),
    ConfigurationDefinitionSummaries: S.optional(ConfigurationDefinitionSummariesList),
})).annotate({
    identifier: "ConfigurationManagerSummary",
});
export const ConfigurationManagerList = /*@__PURE__*/ /*#__PURE__*/ S.Array(ConfigurationManagerSummary);
export const ListConfigurationManagersOutput = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ConfigurationManagersList: S.optional(ConfigurationManagerList),
    NextToken: S.optional(S.String),
})).annotate({
    identifier: "ListConfigurationManagersOutput",
});
export const ListConfigurationsInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    StartingToken: S.optional(S.String),
    MaxItems: S.optional(S.Number),
    Filters: S.optional(FiltersList),
    ManagerArn: S.optional(S.String),
    ConfigurationDefinitionId: S.optional(S.String),
}).pipe(T.all(T.Http({ method: "POST", uri: "/listConfigurations" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "ListConfigurationsInput",
});
export const ConfigurationSummary = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    Id: S.optional(S.String),
    ManagerArn: S.optional(S.String),
    ConfigurationDefinitionId: S.optional(S.String),
    Type: S.optional(S.String),
    TypeVersion: S.optional(S.String),
    Region: S.optional(S.String),
    Account: S.optional(S.String),
    CreatedAt: S.optional(T.DateFromString.pipe(T.TimestampFormat("date-time"))),
    FirstClassParameters: S.optional(ConfigurationParametersMap),
    StatusSummaries: S.optional(StatusSummariesList),
})).annotate({
    identifier: "ConfigurationSummary",
});
export const ConfigurationsList = 
/*@__PURE__*/ /*#__PURE__*/ S.Array(ConfigurationSummary);
export const ListConfigurationsOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ConfigurationsList: S.optional(ConfigurationsList),
    NextToken: S.optional(S.String),
})).annotate({
    identifier: "ListConfigurationsOutput",
});
export const ListQuickSetupTypesRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "ListQuickSetupTypesRequest",
});
export const QuickSetupTypeOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Type: S.optional(S.String), LatestVersion: S.optional(S.String) })).annotate({
    identifier: "QuickSetupTypeOutput",
});
export const QuickSetupTypeList = 
/*@__PURE__*/ /*#__PURE__*/ S.Array(QuickSetupTypeOutput);
export const ListQuickSetupTypesOutput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ QuickSetupTypeList: S.optional(QuickSetupTypeList) })).annotate({
    identifier: "ListQuickSetupTypesOutput",
});
export const ListTagsForResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ResourceArn: S.String.pipe(T.HttpLabel("ResourceArn")) }).pipe(T.all(T.Http({ method: "GET", uri: "/tags/{ResourceArn}" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "ListTagsForResourceRequest",
});
export const TagEntry = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Key: S.optional(S.String), Value: S.optional(S.String) })).annotate({ identifier: "TagEntry" });
export const Tags = /*@__PURE__*/ /*#__PURE__*/ S.Array(TagEntry);
export const ListTagsForResourceResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Tags: S.optional(Tags) })).annotate({
    identifier: "ListTagsForResourceResponse",
});
export const TagResourceInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ResourceArn: S.String.pipe(T.HttpLabel("ResourceArn")),
    Tags: TagsMap,
}).pipe(T.all(T.Http({ method: "PUT", uri: "/tags/{ResourceArn}" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "TagResourceInput",
});
export const TagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({
    identifier: "TagResourceResponse",
});
export const TagKeys = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String);
export const UntagResourceInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ResourceArn: S.String.pipe(T.HttpLabel("ResourceArn")),
    TagKeys: TagKeys.pipe(T.HttpQuery("tagKeys")),
}).pipe(T.all(T.Http({ method: "DELETE", uri: "/tags/{ResourceArn}" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "UntagResourceInput",
});
export const UntagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({
    identifier: "UntagResourceResponse",
});
export const UpdateConfigurationDefinitionInput = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ManagerArn: S.String.pipe(T.HttpLabel("ManagerArn")),
    Id: S.String.pipe(T.HttpLabel("Id")),
    TypeVersion: S.optional(S.String),
    Parameters: S.optional(ConfigurationParametersMap),
    LocalDeploymentExecutionRoleName: S.optional(S.String),
    LocalDeploymentAdministrationRoleArn: S.optional(S.String),
}).pipe(T.all(T.Http({
    method: "PUT",
    uri: "/configurationDefinition/{ManagerArn}/{Id}",
}), svc, auth, proto, ver, rules))).annotate({
    identifier: "UpdateConfigurationDefinitionInput",
});
export const UpdateConfigurationDefinitionResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({
    identifier: "UpdateConfigurationDefinitionResponse",
});
export const UpdateConfigurationManagerInput = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ManagerArn: S.String.pipe(T.HttpLabel("ManagerArn")),
    Name: S.optional(S.String),
    Description: S.optional(S.String),
}).pipe(T.all(T.Http({ method: "PUT", uri: "/configurationManager/{ManagerArn}" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "UpdateConfigurationManagerInput",
});
export const UpdateConfigurationManagerResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({
    identifier: "UpdateConfigurationManagerResponse",
});
export const UpdateServiceSettingsInput = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ExplorerEnablingRoleArn: S.optional(S.String) }).pipe(T.all(T.Http({ method: "PUT", uri: "/serviceSettings" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "UpdateServiceSettingsInput",
});
export const UpdateServiceSettingsResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({
    identifier: "UpdateServiceSettingsResponse",
});
//# Errors
export class AccessDeniedException extends S.TaggedErrorClass()("AccessDeniedException", { Message: S.optional(S.String) }).pipe(C.withAuthError) {
}
export class ConflictException extends S.TaggedErrorClass()("ConflictException", { Message: S.optional(S.String) }).pipe(C.withConflictError) {
}
export class InternalServerException extends S.TaggedErrorClass()("InternalServerException", { Message: S.optional(S.String) }, T.Retryable()).pipe(C.withServerError, C.withRetryableError) {
}
export class ThrottlingException extends S.TaggedErrorClass()("ThrottlingException", { Message: S.String }, T.Retryable()).pipe(C.withThrottlingError, C.withRetryableError) {
}
export class ValidationException extends S.TaggedErrorClass()("ValidationException", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
}
export class ResourceNotFoundException extends S.TaggedErrorClass()("ResourceNotFoundException", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
}
/**
 * Creates a Quick Setup configuration manager resource. This object is a collection
 * of desired state configurations for multiple configuration definitions and
 * summaries describing the deployments of those definitions.
 */
export const createConfigurationManager = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: CreateConfigurationManagerInput,
    output: CreateConfigurationManagerOutput,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Deletes a configuration manager.
 */
export const deleteConfigurationManager = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DeleteConfigurationManagerInput,
    output: DeleteConfigurationManagerResponse,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Returns details about the specified configuration.
 */
export const getConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: GetConfigurationInput,
    output: GetConfigurationOutput,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Returns a configuration manager.
 */
export const getConfigurationManager = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: GetConfigurationManagerInput,
    output: GetConfigurationManagerOutput,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Returns settings configured for Quick Setup in the requesting Amazon Web Services account and Amazon Web Services Region.
 */
export const getServiceSettings = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: GetServiceSettingsRequest,
    output: GetServiceSettingsOutput,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ThrottlingException,
    ],
}));
/**
 * Returns Quick Setup configuration managers.
 */
export const listConfigurationManagers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: ListConfigurationManagersInput,
    output: ListConfigurationManagersOutput,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ThrottlingException,
        ValidationException,
    ],
    pagination: {
        inputToken: "StartingToken",
        outputToken: "NextToken",
        items: "ConfigurationManagersList",
        pageSize: "MaxItems",
    },
}));
/**
 * Returns configurations deployed by Quick Setup in the requesting Amazon Web Services account and Amazon Web Services Region.
 */
export const listConfigurations = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: ListConfigurationsInput,
    output: ListConfigurationsOutput,
    errors: [
        AccessDeniedException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
    pagination: {
        inputToken: "StartingToken",
        outputToken: "NextToken",
        items: "ConfigurationsList",
        pageSize: "MaxItems",
    },
}));
/**
 * Returns the available Quick Setup types.
 */
export const listQuickSetupTypes = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: ListQuickSetupTypesRequest,
    output: ListQuickSetupTypesOutput,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ThrottlingException,
    ],
}));
/**
 * Returns tags assigned to the resource.
 */
export const listTagsForResource = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: ListTagsForResourceRequest,
    output: ListTagsForResourceResponse,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Assigns key-value pairs of metadata to Amazon Web Services resources.
 */
export const tagResource = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: TagResourceInput,
    output: TagResourceResponse,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Removes tags from the specified resource.
 */
export const untagResource = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: UntagResourceInput,
    output: UntagResourceResponse,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Updates a Quick Setup configuration definition.
 */
export const updateConfigurationDefinition = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: UpdateConfigurationDefinitionInput,
    output: UpdateConfigurationDefinitionResponse,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Updates a Quick Setup configuration manager.
 */
export const updateConfigurationManager = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: UpdateConfigurationManagerInput,
    output: UpdateConfigurationManagerResponse,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Updates settings configured for Quick Setup.
 */
export const updateServiceSettings = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: UpdateServiceSettingsInput,
    output: UpdateServiceSettingsResponse,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ThrottlingException,
        ValidationException,
    ],
}));
//# sourceMappingURL=ssm-quicksetup.js.map