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

templates.common.auth-policy-action-class.ftl Maven / Gradle / Ivy

${fileHeader}
package com.amazonaws.auth.policy.actions;

import javax.annotation.Generated;

import com.amazonaws.auth.policy.Action;

<#assign serviceAbbreviation = (metadata.serviceAbbreviation)!metadata.serviceFullName/>

/**
 * The available AWS access control policy actions for ${serviceAbbreviation}.
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
 public enum ${serviceName}Actions implements Action {

    /** Represents any action executed on ${serviceAbbreviation}. */
    All${serviceName}Actions("${actionPrefix}:*"),

    <#list operations as operation>
        /** Action for the ${operation} operation. */
        ${operation}("${actionPrefix}:${operation}"),
    
    <#list additionalOperations as operation>
        ${operation}("${actionPrefix}:${operation}"),
    

    ;

    private final String action;

    private ${serviceName}Actions(String action) {
        this.action = action;
    }

    public String getActionName() {
        return this.action;
    }

    public boolean isNotType() {
        return false;
    }
 }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy