All Downloads are FREE. Search and download functionalities are using the official Maven repository.

macros.marshaller.rest.UriMemberMarshallerMacro.ftl Maven / Gradle / Ivy

<#macro content shape getterFunctionPrefix>

    <#local resourcePath = (shape.marshaller.requestUri)!""/>

    String uriResourcePath = "${resourcePath}";

    <#if resourcePath?contains("?")>
        uriResourcePath = com.amazonaws.util.UriResourcePathUtils.addStaticQueryParamtersToRequest(request, uriResourcePath);
    

    <#if shape.members?has_content>
        <#list shape.members as member>
        <#if member.http.isUri() >
            uriResourcePath = ${member.pathMarshaller}.marshall(uriResourcePath, "${member.http.marshallLocationName}",
                <@UriGetMemberMarshallerMacro.content getterFunctionPrefix, member/>);
        
        
     
     request.setResourcePath(uriResourcePath);





© 2015 - 2025 Weber Informatics LLC | Privacy Policy