fix last_used template

This commit is contained in:
zscholl 2020-04-24 13:16:13 -05:00
parent 1abff57275
commit 48304f81b1

View File

@ -1779,12 +1779,12 @@ GET_ACCESS_KEY_LAST_USED_TEMPLATE = """
<GetAccessKeyLastUsedResult> <GetAccessKeyLastUsedResult>
<UserName>{{ user_name }}</UserName> <UserName>{{ user_name }}</UserName>
<AccessKeyLastUsed> <AccessKeyLastUsed>
{{% if last_used % }} {% if last_used is defined %}
<LastUsedDate>{{ last_used }}</LastUsedDate> <LastUsedDate>{{ last_used }}</LastUsedDate>
{{% else % }} {% else %}
<ServiceName>N/A</ServiceName> <ServiceName>N/A</ServiceName>
<Region>N/A</Region> <Region>N/A</Region>
{{% endif %}} {% endif %}
</AccessKeyLastUsed> </AccessKeyLastUsed>
</GetAccessKeyLastUsedResult> </GetAccessKeyLastUsedResult>
</GetAccessKeyLastUsedResponse> </GetAccessKeyLastUsedResponse>