Amplify Toolbox
    Preparing search index...

    Type Alias ClientConfigVersionTemplateType<T>

    ClientConfigVersionTemplateType: T extends "1.4"
        ? clientConfigTypesV1_4.AWSAmplifyBackendOutputs
        : T extends "1.3"
            ? clientConfigTypesV1_3.AWSAmplifyBackendOutputs
            : T extends "1.2"
                ? clientConfigTypesV1_2.AWSAmplifyBackendOutputs
                : T extends "1.1"
                    ? clientConfigTypesV1_1.AWSAmplifyBackendOutputs
                    : T extends "1" ? clientConfigTypesV1.AWSAmplifyBackendOutputs : never

    Return type of getClientConfig. This types narrow the returned client config version if the caller specified a static version, e.g. generateClientConfig(_, _, ClientConfigVersions.V1)

    Add new supported version here such as export type ClientConfigVersionType = T extends '1.1' ? clientConfigTypesV1.AWSAmplifyBackendOutputs : T extends '2' ? clientConfigTypesV2.AWSAmplifyBackendOutputs : never;

    Type Parameters

    • T