public Optional<ActionResources> getResources() {
        return Optional.ofNullable(resources);
    }
Gets the resources an IAM action can be authorized against.

@return Returns the action's resources.
smithy-aws-iam-traits/src/main/java/software/amazon/smithy/aws/iam/traits/IamActionTrait.java